1. 10 Jul, 2005 1 commit
    • Michael Natterer's avatar
      app/actions/layers-actions.c app/actions/layers-commands.[ch] · 20b4769c
      Michael Natterer authored
      2005-07-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/layers-actions.c
      	* app/actions/layers-commands.[ch]
      	* app/core/core-enums.[ch]
      	* app/core/gimpimage-undo-push.[ch]
      	* app/core/gimplayer-floating-sel.c
      	* app/core/gimplayer.[ch]
      	* app/text/gimptextlayer-xcf.c
      	* app/widgets/gimphelp-ids.h
      	* app/widgets/gimplayertreeview.[ch]
      	* app/xcf/xcf-load.c
      	* app/xcf/xcf-private.h
      	* app/xcf/xcf-save.c
      	* tools/pdbgen/pdb/layer.pdb
      	* menus/image-menu.xml.in
      	* libgimp/gimp.def: did a global s/preserve_trans/lock_alpha/ in
      	preparation for more layer locking flags.
      
      	* app/pdb/procedural_db.c
      	* libgimp/gimplayer.[ch]: added compat stuff for preserve_trans.
      
      	* app/pdb/layer_cmds.c
      	* libgimp/gimplayer_pdb.[ch]: regenerated.
      
      	* plug-ins/common/colortoalpha.c
      	* plug-ins/common/iwarp.c
      	* plug-ins/common/psd.c
      	* plug-ins/common/psd_save.c
      	* plug-ins/common/psp.c
      	* plug-ins/common/rotate.c
      	* plug-ins/common/threshold_alpha.c
      	* plug-ins/common/vpropagate.c
      	* plug-ins/script-fu/scripts/3d-outline.scm
      	* plug-ins/script-fu/scripts/alien-glow-bar.scm
      	* plug-ins/script-fu/scripts/alien-glow-bullet.scm
      	* plug-ins/script-fu/scripts/alien-glow-logo.scm
      	* plug-ins/script-fu/scripts/basic1-logo.scm
      	* plug-ins/script-fu/scripts/basic2-logo.scm
      	* plug-ins/script-fu/scripts/beveled-pattern-button.scm
      	* plug-ins/script-fu/scripts/blend-anim.scm
      	* plug-ins/script-fu/scripts/blended-logo.scm
      	* plug-ins/script-fu/scripts/bovinated-logo.scm
      	* plug-ins/script-fu/scripts/burn-in-anim.scm
      	* plug-ins/script-fu/scripts/carved-logo.scm
      	* plug-ins/script-fu/scripts/chalk.scm
      	* plug-ins/script-fu/scripts/chip-away.scm
      	* plug-ins/script-fu/scripts/comic-logo.scm
      	* plug-ins/script-fu/scripts/coolmetal-logo.scm
      	* plug-ins/script-fu/scripts/crystal-logo.scm
      	* plug-ins/script-fu/scripts/drop-shadow.scm
      	* plug-ins/script-fu/scripts/gimp-headers.scm
      	* plug-ins/script-fu/scripts/gimp-labels.scm
      	* plug-ins/script-fu/scripts/glowing-logo.scm
      	* plug-ins/script-fu/scripts/gradient-bevel-logo.scm
      	* plug-ins/script-fu/scripts/image-structure.scm
      	* plug-ins/script-fu/scripts/neon-logo.scm
      	* plug-ins/script-fu/scripts/perspective-shadow.scm
      	* plug-ins/script-fu/scripts/starburst-logo.scm
      	* plug-ins/script-fu/scripts/starscape-logo.scm
      	* plug-ins/script-fu/scripts/textured-logo.scm
      	* plug-ins/script-fu/scripts/title-header.scm
      	* plug-ins/script-fu/scripts/waves-anim.scm
      	* plug-ins/xjt/xjt.c: changed accordingly.
      20b4769c
  2. 05 Mar, 2005 1 commit
    • Manish Singh's avatar
      fix documentation of edit_mask accessors. · 838cf193
      Manish Singh authored
      2005-03-04  Manish Singh  <yosh@gimp.org>
      
              * tools/pdbgen/pdb/layer.pdb: fix documentation of edit_mask
              accessors.
      
              * libgimp/gimplayer_pdb.c
              * app/pdb/layer_cmds.c: regenerated.
      838cf193
  3. 16 Nov, 2004 1 commit
    • Michael Natterer's avatar
      app/core/gimpchannel-select.c app/core/gimpchannel.c · 0d5df419
      Michael Natterer authored
      2004-11-16  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpchannel-select.c
      	* app/core/gimpchannel.c
      	* app/core/gimpdrawable-desaturate.c
      	* app/core/gimpdrawable-equalize.c
      	* app/core/gimpdrawable-histogram.c
      	* app/core/gimpdrawable-invert.c
      	* app/core/gimpdrawable-levels.c
      	* app/core/gimpdrawable-offset.c
      	* app/core/gimpdrawable-stroke.c
      	* app/core/gimpdrawable-transform.c
      	* app/core/gimpdrawable.c
      	* app/core/gimpitem-linked.c
      	* app/core/gimpitem.c
      	* app/core/gimplayer.c
      	* app/core/gimpselection.c
      	* app/paint/gimppaintcore-stroke.c
      	* app/text/gimptextlayer.c: in all functions which somehow
      	(explicitely or implicitely) touch undo, either g_return_if_fail()
      	on gimp_item_is_attached() or simply don't push an undo step if
      	feasible (e.g. for simple stuff like layer opacity).
      
      	* tools/pdbgen/pdb/color.pdb
      	* tools/pdbgen/pdb/drawable.pdb
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/layer.pdb
      	* tools/pdbgen/pdb/paint_tools.pdb: let PDB wrappers fail
      	accordingly so they don't run into the assertions added above.
      
      	* app/pdb/color_cmds.c
      	* app/pdb/drawable_cmds.c
      	* app/pdb/image_cmds.c
      	* app/pdb/layer_cmds.c
      	* app/pdb/paint_tools_cmds.c: regenerated.
      0d5df419
  4. 08 Nov, 2004 1 commit
    • Michael Natterer's avatar
      applied modified patch from Geert Jordaens which adds the missing · b6881325
      Michael Natterer authored
      2004-11-08  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/pdb/layer.pdb: applied modified patch from Geert
      	Jordaens which adds the missing gimp_layer_from_mask() API.
      	Addresses bug #138662.
      
      	* app/pdb/internal_procs.c
      	* app/pdb/layer_cmds.c
      	* libgimp/gimplayer_pdb.[ch]. regenerated.
      
      	* libgimp/gimp.def: changed accordingly.
      b6881325
  5. 15 Oct, 2004 1 commit
  6. 06 Oct, 2004 2 commits
    • Michael Natterer's avatar
      changed new member "deprecated" from "gboolean" to a "gchar*" which holds · 6f42c42d
      Michael Natterer authored
      2004-10-06  Michael Natterer  <mitch@gimp.org>
      
      	* app/pdb/procedural_db.h (struct ProcRecord): changed new member
      	"deprecated" from "gboolean" to a "gchar*" which holds the name of
      	the replacement procedure.
      
      	* tools/pdbgen/app.pl: changed accordingly.
      
      	* app/plug-in/plug-in-message.c (plug_in_handle_proc_run): show
      	the name of the replacement procedure in the warning message.
      
      	* tools/pdbgen/stddefs.pdb: added utility function
      	std_pdb_deprecated() which takes the name of the replacement
      	procedure and fills the blurb, help, author, copyright, date and
      	deprecated fields of the procedure definition.
      
      	* tools/pdbgen/pdb/brushes.pdb
      	* tools/pdbgen/pdb/gradients.pdb
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/palettes.pdb
      	* tools/pdbgen/pdb/patterns.pdb
      	* tools/pdbgen/pdb/text_tool.pdb: use it instead of duplicating
      	the same code and strings for all deprecated procedures.
      
      	* app/pdb/*_cmds.c: regenerated.
      6f42c42d
    • Michael Natterer's avatar
      return the mask's bpp and the brush's pixmap data if it has one. · 7ed9a288
      Michael Natterer authored
      2004-10-06  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/pdb/brush.pdb: return the mask's bpp and the
      	brush's pixmap data if it has one.
      
      	* tools/pdbgen/pdb/pattern.pdb: cleaned up.
      
      	* tools/pdbgen/pdb/image.pdb: added $deprecated = 1 to deprecated
      	functions even if they are not exported to libgimp any more.
      
      	* app/pdb/procedural_db.h (struct ProcRecord): added member
      	"gboolean deprecated".
      
      	* tools/pdbgen/app.pl
      	* app/xcf/xcf.c: fill it accordingly.
      
      	* app/plug-in/plug-in-message.c (plug_in_handle_proc_run): warn
      	not only for deprecated procedured which are in the compat hach
      	table, but also for procedures with deprecated flag set to TRUE.
      
      	* app/pdb/*_cmds.c
      	* libgimp/gimpbrush_pdb.[ch]
      	* libgimp/gimppattern_pdb.[ch]: regenerated.
      
      	* libgimp/gimpbrushmenu.c
      	* plug-ins/gfig/gfig-style.c: changed accordingly.
      7ed9a288
  7. 10 Aug, 2004 1 commit
    • Michael Natterer's avatar
      Redid the whole internal progress stuff: don't pass around · 02d2b990
      Michael Natterer authored
      2004-08-10  Michael Natterer  <mitch@gimp.org>
      
      	Redid the whole internal progress stuff: don't pass around
      	progress_callback and progress_data; instead, provide a
      	pointer to a GimpProgressInterface which can be implemented
      	by a variety of backends.
      
      	Addresses (but not yet fixes) bugs #6010, #97266 and #135185.
      
      	* app/display/Makefile.am
      	* app/display/gimpprogress.[ch]: removed the old progress hack.
      
      	* app/core/Makefile.am
      	* app/core/core-types.h
      	* app/core/gimpprogress.[ch]: implement GimpProgressInterface.
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimpprogressdialog.[ch]: the standalone progress
      	dialog as widget implementing GimpProgressInterface.
      
      	* app/display/gimpdisplay.c
      	* app/display/gimpstatusbar.[ch]
      	* app/widgets/gimpfiledialog.[ch]
      	* app/widgets/gimpthumbbox.[ch]: added GimpProgressInterface
      	implementation to these classes.
      
      	* app/core/gimp-gui.[ch]
      	* app/gui/gui-vtable.c: replaced the old progress vtable entries
      	by two new to create and destroy a GimpProgressDialog in case
      	no other progress is available.
      
      	* app/pdb/procedural_db.[ch]
      	* app/plug-in/plug-in-run.[ch]
      	* tools/pdbgen/app.pl: pass a GimpProgress to all PDB wrappers and
      	all plug-ins.
      
      	* app/plug-in/plug-in.[ch]
      	* app/plug-in/plug-ins.c
      	* app/plug-in/plug-in-message.c
      	* app/plug-in/plug-in-progress.c: handle the case there the
      	plug-in was crated with a progress as well as the case where it
      	wasn't.
      
      	* app/app_procs.c
      	* app/batch.c
      	* app/xcf/xcf.c
      	* app/file/file-open.[ch]
      	* app/file/file-save.[ch]
      	* app/widgets/gimphelp.c
      	* app/widgets/gimpbrushselect.c
      	* app/widgets/gimpfontselect.c
      	* app/widgets/gimpgradientselect.c
      	* app/widgets/gimppaletteselect.c
      	* app/widgets/gimppatternselect.c: changed accordingly.
      
      	* app/core/gimpimagefile.[ch]
      	* app/display/gimpdisplayshell-dnd.c
      	* app/gui/file-open-dialog.c
      	* app/gui/file-open-location-dialog.c
      	* app/gui/file-save-dialog.c
      	* app/widgets/gimplayertreeview.c
      	* app/widgets/gimptoolbox-dnd.c: pass a GimpProgress to all file
      	related functions. Embed the progress in the file dialog where
      	possible.
      
      	* app/core/gimpdrawable-blend.[ch]
      	* app/core/gimpdrawable-transform.[ch]
      	* app/core/gimpimage-convert.[ch]
      	* app/core/gimpimage-flip.[ch]
      	* app/core/gimpimage-resize.[ch]
      	* app/core/gimpimage-rotate.[ch]
      	* app/core/gimpimage-scale.[ch]
      	* app/core/gimpitem-linked.[ch]
      	* app/core/gimpitem.[ch]
      	* app/core/gimpchannel.c
      	* app/core/gimpdrawable.c
      	* app/core/gimplayer.c
      	* app/core/gimpselection.c
      	* app/vectors/gimpvectors.c: replaced callback/data by GimpProgress.
      
      	* app/tools/gimpblendtool.c
      	* app/tools/gimptransformtool.c
      	* app/gui/convert-dialog.c
      	* app/actions/documents-commands.c
      	* app/actions/file-commands.c
      	* app/actions/image-commands.c
      	* app/actions/layers-commands.c
      	* app/actions/plug-in-commands.c
      	* app/actions/vectors-commands.c
      	* tools/pdbgen/pdb/convert.pdb
      	* tools/pdbgen/pdb/edit.pdb
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/layer.pdb: changed callers accordingly.
      
      	* app/pdb/*_cmds.c: regenerated.
      02d2b990
  8. 16 Jul, 2004 1 commit
    • Michael Natterer's avatar
      include "libgimpbase/gimpbase.h" instead of "libgimpbase/gimpparasite.h" · a456ac9b
      Michael Natterer authored
      2004-07-16  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/pdb.pl: include "libgimpbase/gimpbase.h" instead of
      	"libgimpbase/gimpparasite.h" for getting the GimpParasite type.
      
      	* tools/pdbgen/app.pl
      	* tools/pdbgen/pdb/drawable.pdb
      	* tools/pdbgen/pdb/edit.pdb
      	* tools/pdbgen/pdb/gradients.pdb
      	* tools/pdbgen/pdb/guides.pdb
      	* tools/pdbgen/pdb/image.pdb: removed redundant #includes.
      
      	* tools/pdbgen/pdb/plug_in.pdb: standardized "success" logic.
      	Consistetly fail if there is no currently queried plugin.
      
      	* app/pdb/*.c: regenerated.
      a456ac9b
  9. 29 May, 2004 1 commit
    • Sven Neumann's avatar
      applied patch from Philip Lafleur that makes Autocrop register a new · 2626b090
      Sven Neumann authored
      2004-05-29  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/common/autocrop.c: applied patch from Philip Lafleur
      	that makes Autocrop register a new procedure that autocrops a
      	single layer as requested in bug #142618.
      
      	* tools/pdbgen/pdb/layer.pdb
      	* app/pdb/layer_cmds.c
      	* libgimp/gimplayer_pdb.c: fixed documentation for gimp_resize_layer.
      	Patch provided by Philip Lafleur (bug #142618).
      2626b090
  10. 14 Apr, 2004 1 commit
    • Michael Natterer's avatar
      Get rid of the "current_context" which was in fact just a bunch of global · 18d9161e
      Michael Natterer authored
      2004-04-15  Michael Natterer  <mitch@gimp.org>
      
      	Get rid of the "current_context" which was in fact just a bunch of
      	global variables. Instead, pass the needed context all the way
      	from the GUI and the PDB to the core. This is a prerequisite for
      	macro recording and generally helps separating the various
      	subsystems from each other. Work in progress...
      
      	* app/core/gimp.[ch]: removed member "current_context" and
      	gimp_[get|set]_current_context().
      
      	* app/core/gimp-edit.[ch]
      	* app/core/gimpdrawable-blend.[ch]
      	* app/core/gimpdrawable-bucket-fill.[ch]
      	* app/core/gimpdrawable-offset.[ch]
      	* app/core/gimpdrawable-transform.[ch]
      	* app/core/gimpimage-crop.[ch]
      	* app/core/gimpimage-flip.[ch]
      	* app/core/gimpimage-merge.[ch]
      	* app/core/gimpimage-resize.[ch]
      	* app/core/gimpimage-rotate.[ch]
      	* app/core/gimpimage.[ch]
      	* app/core/gimpimagefile.[ch]
      	* app/core/gimpitem-linked.[ch]
      	* app/core/gimpitem.[ch]
      	* app/core/gimplayer.[ch]
      	* app/core/gimpselection.[ch]
      	* app/core/gimptemplate.[ch]
      	* app/file/file-open.[ch]
      	* app/file/file-save.[ch]
      	* app/pdb/procedural_db.[ch]
      	* app/text/gimptext-compat.[ch]
      	* app/text/gimptextlayer-transform.[ch]
      	* app/gui/brush-select.[ch]
      	* app/gui/font-select.[ch]
      	* app/gui/gradient-select.[ch]
      	* app/gui/palette-select.[ch]
      	* app/gui/pattern-select.[ch]: added tons of "GimpContext *context"
      	parameters and use the passed context instead of
      	gimp_get_current_context().
      
      	* app/app_procs.c
      	* app/batch.c
      	* app/core/gimpchannel.c
      	* app/core/gimpdrawable.c
      	* app/paint/gimperaser.c
      	* app/paint/gimppaintbrush.c
      	* app/plug-in/plug-in-message.c
      	* app/plug-in/plug-ins.c
      	* app/text/gimptextlayer.c
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpfliptool.c
      	* app/tools/gimpinktool.c
      	* app/tools/gimptransformtool.c
      	* app/vectors/gimpvectors.c
      	* app/gui/convert-dialog.c
      	* app/gui/drawable-commands.c
      	* app/gui/edit-commands.c
      	* app/gui/file-commands.c
      	* app/gui/file-new-dialog.c
      	* app/gui/file-open-dialog.c
      	* app/gui/file-save-dialog.c
      	* app/gui/image-commands.c
      	* app/gui/layers-commands.c
      	* app/gui/offset-dialog.c
      	* app/gui/select-commands.c
      	* app/gui/vectors-commands.c
      	* app/widgets/gimpdnd.c
      	* app/widgets/gimpdocumentview.c
      	* app/widgets/gimphelp.c
      	* app/widgets/gimpthumbbox.c: pass gimp_get_user_context() or
      	GIMP_CONTEXT(tool_options) or whatever is the right context
      	to the changed core functions.
      
      	* tools/pdbgen/app.pl: pass "GimpContext *context" to all
      	generated PDB invokers.
      
      	* tools/pdbgen/pdb/brush_select.pdb
      	* tools/pdbgen/pdb/brushes.pdb
      	* tools/pdbgen/pdb/drawable.pdb
      	* tools/pdbgen/pdb/edit.pdb
      	* tools/pdbgen/pdb/font_select.pdb
      	* tools/pdbgen/pdb/gradient_select.pdb
      	* tools/pdbgen/pdb/gradients.pdb
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/layer.pdb
      	* tools/pdbgen/pdb/paint_tools.pdb
      	* tools/pdbgen/pdb/palette.pdb
      	* tools/pdbgen/pdb/palette_select.pdb
      	* tools/pdbgen/pdb/palettes.pdb
      	* tools/pdbgen/pdb/paths.pdb
      	* tools/pdbgen/pdb/pattern_select.pdb
      	* tools/pdbgen/pdb/patterns.pdb
      	* tools/pdbgen/pdb/selection.pdb
      	* tools/pdbgen/pdb/text_tool.pdb
      	* tools/pdbgen/pdb/transform_tools.pdb: pass the new context
      	parameter to the changed core functions.
      
      	* app/pdb/*_cmds.c: regenerated.
      18d9161e
  11. 13 Apr, 2004 2 commits
    • Michael Natterer's avatar
      Moved the calls to floating_sel_relax()/rigor() from various places to two · 2e61d12e
      Michael Natterer authored
      2004-04-13  Michael Natterer  <mitch@gimp.org>
      
      	Moved the calls to floating_sel_relax()/rigor() from various
      	places to two single spots in the core where they are actually
      	needed. Fixes bug #138356 (which was caused by the projection
      	being triggered in the middle of changing the floating selection's
      	size or the size of the drawable it is attached to). This commit
      	effectively removes floating selection fiddling from the core's
      	public API.
      
      	* app/core/gimpdrawable.[ch] (gimp_drawable_has_floating_sel): new
      	function which returns TRUE if there is a floating selection
      	attached to the drawable.
      
      	* app/core/gimpdrawable.c (gimp_drawable_translate)
      	(gimp_drawable_set_tiles_full): if the drawable *has* a floating
      	selection, relax/rigor it before/after modifying the drawable.
      
      	* app/core/gimplayer.c (gimp_layer_translate)
      	(gimp_layer_set_tiles): if the layer *is* the floating selection,
      	relax/rigor it before/after modifying it.
      
      	* app/core/gimpdrawable-transform.c
      	* app/core/gimpimage-convert.c
      	* app/core/gimpimage-crop.c
      	* app/core/gimpimage-flip.c
      	* app/core/gimpimage-resize.c
      	* app/core/gimpimage-rotate.c
      	* app/core/gimpimage-scale.c
      	* app/gui/layers-commands.c
      	* app/tools/gimpeditselectiontool.c
      	* tools/pdbgen/pdb/layer.pdb: removed calls to
      	floating_sel_rigor()/relax() all over the place. Also removed
      	lots of undo groups which are obsolete now.
      
      	* app/pdb/layer_cmds.c: regenerated.
      2e61d12e
    • Michael Natterer's avatar
      GimpItem undo group cleanup in preparation of fixing bug #138356: · 069489fb
      Michael Natterer authored
      2004-04-13  Michael Natterer  <mitch@gimp.org>
      
      	GimpItem undo group cleanup in preparation of fixing bug #138356:
      
      	* app/core/core-enums.[c]: renamed LAYER_SCALE and LAYER_RESIZE
      	undo groups to ITEM_SCALE and ITEM_RESIZE.
      
      	* app/core/gimpitem.[ch]: always push undo groups around
      	GimpItem::translate(), scale(), resize(), flip(), rotate() and
      	transform(). Added the resp. undo_desc strings to GimpItemClass.
      
      	* app/core/gimpchannel.[ch]
      	* app/core/gimpdrawable.[ch]
      	* app/core/gimplayer.c: removed all undo groups from
      	implementations of the above methods. Removed the undo_desc
      	strings which were moved to GimpItemClass.
      
      	* app/core/gimpimage-crop.c
      	* app/core/gimpselection.c
      	* app/gui/layers-commands.c
      	* app/vectors/gimpvectors.c
      	* tools/pdbgen/pdb/layer.pdb: changed accordingly.
      
      	* app/pdb/layer_cmds.c: regenerated.
      069489fb
  12. 28 Mar, 2004 1 commit
    • Michael Natterer's avatar
      added "gboolean removed" to the GimpItem struct. Defaults to FALSE. Set it · 77447984
      Michael Natterer authored
      2004-03-28  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpitem.[ch]: added "gboolean removed" to the GimpItem
      	struct. Defaults to FALSE. Set it to TRUE in gimp_item_removed().
      	Added public function gimp_item_is_removed().
      
      	* app/core/gimpimage-undo-push.c (undo_pop_layer)
      	(undo_pop_layer_mask) (undo_pop_channel) (undo_pop_vectors):
      	set it to FALSE manually when re-adding something from the
      	undo stack.
      
      	* tools/pdbgen/app.pl
      	* tools/pdbgen/pdb.pl: don't allow any operation on items which
      	are removed from the image (and exist on the undo stack only).
      	Fixes bug #138311.
      
      	* app/pdb/channel_cmds.c
      	* app/pdb/color_cmds.c
      	* app/pdb/drawable_cmds.c
      	* app/pdb/edit_cmds.c
      	* app/pdb/floating_sel_cmds.c
      	* app/pdb/image_cmds.c
      	* app/pdb/layer_cmds.c
      	* app/pdb/paint_tools_cmds.c
      	* app/pdb/parasite_cmds.c
      	* app/pdb/selection_cmds.c
      	* app/pdb/selection_tools_cmds.c
      	* app/pdb/transform_tools_cmds.c: regenerated.
      77447984
  13. 26 Mar, 2004 2 commits
    • Manish Singh's avatar
      don't generate code with tabs. · 83cae161
      Manish Singh authored
      2004-03-26  Manish Singh  <yosh@gimp.org>
      
              * tools/pdbgen/app.pl: don't generate code with tabs.
      
              * tools/pdbgen/pdb/procedural_db.pdb: convert tabs to spaces in
              helper function declaration.
      
              * app/pdb/procedural_db.c: convert tabs to spaces.
      
              * app/pdb/*.c: regenerated, no code changes, only tabs->spaces.
      83cae161
    • Manish Singh's avatar
      kill whitespace in blank lines. · 5c592d52
      Manish Singh authored
      2004-03-26  Manish Singh  <yosh@gimp.org>
      
              * tools/pdbgen/app.pl: kill whitespace in blank lines.
      
              * app/pdb/*.c: regenerated, no code changes, only whitespace.
      5c592d52
  14. 09 Feb, 2004 1 commit
    • Sven Neumann's avatar
      added progress callback pointers to gimp_item_scale() and its variants. · 1359960a
      Sven Neumann authored
      2004-02-09  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpitem.[ch]: added progress callback pointers to
      	gimp_item_scale() and its variants.
      
      	* app/core/gimpchannel.c
      	* app/core/gimpdrawable.c
      	* app/core/gimpimage-scale.c
      	* app/core/gimplayer.c
      	* app/core/gimpselection.c
      	* app/gui/layers-commands.c97999
      	* app/paint-funcs/paint-funcs.[ch]
      	* app/vectors/gimpvectors.c
      	* tools/pdbgen/pdb/layer.pdb: changed accordingly. Fixes bug #97999.
      
      	* app/pdb/layer_cmds.c: regenerated.
      1359960a
  15. 16 Dec, 2003 1 commit
    • Michael Natterer's avatar
      tools/pdbgen/pdb/image.pdb (image_add_layer_mask) don't unref the mask · 82373010
      Michael Natterer authored
      2003-12-16  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/pdb/image.pdb (image_add_layer_mask)
      	* tools/pdbgen/pdb/layer.pdb (layer_add_mask): don't unref the
      	mask after adding it because the layer now takes ownership using
      	g_object_ref()/gimp_item_sink().
      
      	* app/pdb/image_cmds.c
      	* app/pdb/layer_cmds.c: regenerated.
      82373010
  16. 09 Dec, 2003 1 commit
    • Michael Natterer's avatar
      Fixed memory management of layers and channels which were created using · 1cc434fa
      Michael Natterer authored
      2003-12-09  Michael Natterer  <mitch@gimp.org>
      
      	Fixed memory management of layers and channels which were created
      	using the PDB:
      
      	* app/core/gimpitem.[ch]: added "gboolean floating" flag to
      	GimpItem. Items are created with floating == TRUE. Added
      	gimp_item_sink() which resets the floating flag and unrefs the
      	item if it was TRUE.  Added gimp_item_is_floating() accessor.
      
      	* app/core/gimpimage.c (gimp_image_add_layer,channel,vectors):
      	g_object_ref()/gimp_item_sink() added items to take ownership of
      	them.
      
      	* app/core/gimplayer.c (gimp_layer_add_mask):
      	g_object_ref()/gimp_item_sink() the mask.
      
      	* app/gui/layers-commands.c
      	* app/xcf/xcf-load.c: don't unref layer masks after adding them to
      	the layer.
      
      	* tools/pdbgen/pdb/drawable.pdb (drawable_delete):
      	gimp_item_sink() the drawable if it's floating and fail if it's
      	not. Fixes bug #128881.
      
      	* tools/pdbgen/pdb/layer.pdb (layer_create_mask): fixed docs.
      
      	* app/pdb/drawable_cmds.c
      	* app/pdb/layer_cmds.c
      	* libgimp/gimplayer_pdb.c: regenerated.
      1cc434fa
  17. 08 Dec, 2003 2 commits
    • Michael Natterer's avatar
      marked gimp_image_add_layer_mask() and gimp_image_remove_layer_mask() as · c6de9711
      Michael Natterer authored
      2003-12-08  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/pdb/image.pdb: marked gimp_image_add_layer_mask()
      	and gimp_image_remove_layer_mask() as deprecated. Didnn't remove
      	them from the PDB because the new functions' signature differs and
      	they are used very often in scripts, but removed them from the
      	libgimp C wrappers.
      
      	* tools/pdbgen/pdb/layer.pdb: added gimp_layer_add_mask() and
      	gimp_layer_remove_mask().
      
      	* libgimp/gimpcompat.h: added compat cruft.
      
      	* app/pdb/image_cmds.c
      	* app/pdb/internal_procs.c
      	* app/pdb/layer_cmds.c
      	* libgimp/gimpimage_pdb.[ch]
      	* libgimp/gimplayer_pdb.[ch]: regenerated.
      
      	* libgimp/gimpexport.c
      	* plug-ins/common/curve_bend.c
      	* plug-ins/common/psd.c
      	* plug-ins/pygimp/pygimp-image.c
      	* plug-ins/script-fu/scripts/3d-outline.scm
      	* plug-ins/script-fu/scripts/alien-neon-logo.scm
      	* plug-ins/script-fu/scripts/blended-logo.scm
      	* plug-ins/script-fu/scripts/burn-in-anim.scm
      	* plug-ins/script-fu/scripts/carve-it.scm
      	* plug-ins/script-fu/scripts/carved-logo.scm
      	* plug-ins/script-fu/scripts/chrome-it.scm
      	* plug-ins/script-fu/scripts/chrome-logo.scm
      	* plug-ins/script-fu/scripts/coolmetal-logo.scm
      	* plug-ins/script-fu/scripts/crystal-logo.scm
      	* plug-ins/script-fu/scripts/fade-outline.scm
      	* plug-ins/script-fu/scripts/frosty-logo.scm
      	* plug-ins/script-fu/scripts/image-structure.scm
      	* plug-ins/script-fu/scripts/news-text.scm
      	* plug-ins/script-fu/scripts/rendermap.scm
      	* plug-ins/script-fu/scripts/slide.scm
      	* plug-ins/script-fu/scripts/sota-chrome-logo.scm
      	* plug-ins/script-fu/scripts/speed-text.scm
      	* plug-ins/script-fu/scripts/starburst-logo.scm
      	* plug-ins/script-fu/scripts/textured-logo.scm
      	* plug-ins/script-fu/scripts/weave.scm
      	* plug-ins/script-fu/scripts/xach-effect.scm
      	* plug-ins/xjt/xjt.c: changed accordingly.
      
      2003-12-08  Michael Natterer  <mitch@gimp.org>
      
      	* libgimp/libgimp-sections.txt
      	* libgimp/tmpl/gimpimage.sgml
      	* libgimp/tmpl/gimplayer.sgml: follow layer mask API change.
      c6de9711
    • Michael Natterer's avatar
      Some PDB fixes/cosmetics before doing real changes again: · ed6fe48b
      Michael Natterer authored
      2003-12-08  Michael Natterer  <mitch@gimp.org>
      
      	Some PDB fixes/cosmetics before doing real changes again:
      
      	* tools/pdbgen/pdb/drawable.pdb
      	* tools/pdbgen/pdb/layer.pdb: changed order of generated functions
      	to make more sense.
      
      	* tools/pdbgen/pdb/misc_tools.pdb: doc cosmetics, removed unused
      	subroutines.
      
      	* tools/pdbgen/pdb/image.pdb: reordered generated functions as
      	above, fixed resolution and unit accessors to use functions
      	instead of setting gimage->foo directly, use &image_accessors()
      	for the tattoo_state functions, cleanup.
      
      	* app/pdb/drawable_cmds.c
      	* app/pdb/image_cmds.c
      	* app/pdb/layer_cmds.c
      	* app/pdb/misc_tools_cmds.c
      	* libgimp/gimpdrawable_pdb.[ch]
      	* libgimp/gimpimage_pdb.[ch]
      	* libgimp/gimplayer_pdb.[ch]
      	* libgimp/gimpmisctools_pdb.c: regenerated.
      ed6fe48b
  18. 04 Dec, 2003 2 commits
    • Michael Natterer's avatar
      renamed gimp_layer_mask() to gimp_layer_get_mask(). · a90e63ca
      Michael Natterer authored
      2003-12-04  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/pdb/layer.pdb: renamed gimp_layer_mask() to
      	gimp_layer_get_mask().
      
      	* libgimp/gimplayer.h: removed gimp_layer_get_mask_id #define.
      
      	* libgimp/gimpcompat.h: added old stuff.
      
      	* app/pdb/layer_cmds.c
      	* libgimp/gimplayer_pdb.[ch]: regenerated.
      
      	* libgimp/gimpexport.c
      	* plug-ins/common/curve_bend.c
      	* plug-ins/pygimp/pygimp-drawable.c
      	* plug-ins/script-fu/scripts/image-structure.scm
      	* plug-ins/xjt/xjt.c: changed accordingly.
      
      2003-12-04  Michael Natterer  <mitch@gimp>
      
      	* libgimp/libgimp-sections.txt
      	* libgimp/tmpl/gimplayer.sgml: fllow gimp_layer_get_mask() change.
      a90e63ca
    • Michael Natterer's avatar
      removed "linked" API... ...and added it here. · 8589ff4d
      Michael Natterer authored
      2003-12-04  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/pdb/layer.pdb: removed "linked" API...
      	* tools/pdbgen/pdb/drawable.pdb: ...and added it here.
      
      	* app/pdb/drawable_cmds.c
      	* app/pdb/internal_procs.c
      	* app/pdb/layer_cmds.c
      	* libgimp/gimpdrawable_pdb.[ch]
      	* libgimp/gimplayer_pdb.[ch]: regenerated.
      
      	* libgimp/gimpcompat.h: added gimp_layer_*_linked compat #defines.
      
      	* plug-ins/xjt/xjt.c: changed accordingly.
      
      2003-12-04  Michael Natterer  <mitch@gimp.org>
      
      	* libgimp/libgimp-sections.txt
      	* libgimp/tmpl/gimpdrawable.sgml
      	* libgimp/tmpl/gimplayer.sgml: "linked" moved from layer to drawable.
      8589ff4d
  19. 03 Dec, 2003 2 commits
    • Michael Natterer's avatar
      tools/pdbgen/pdb/channel.pdb removed gimp_layer_delete() and · f2e227e2
      Michael Natterer authored
      2003-12-03  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/pdb/channel.pdb
      	* tools/pdbgen/pdb/layer.pdb: removed gimp_layer_delete() and
      	gimp_channel_delete() PDB wrappers...
      
      	* tools/pdbgen/pdb/drawable.pdb: ...added gimp_drawable_delete().
      
      	* libgimp/gimpdrawable.[ch]: removed gimp_drawable_delete()
      	(having this function work on the GimpDrawable wrapper and not on
      	the drawable_id was more than questionable anyway).
      
      	* libgimp/gimpcompat.h: added gimp_layer_delete and
      	gimp_channel_delete cruft #defines.
      
      	* app/pdb/channel_cmds.c
      	* app/pdb/drawable_cmds.c
      	* app/pdb/internal_procs.c
      	* app/pdb/layer_cmds.c
      	* libgimp/gimpchannel_pdb.[ch]
      	* libgimp/gimpdrawable_pdb.[ch]
      	* libgimp/gimplayer_pdb.[ch]: regenerated.
      
      	* plug-ins/script-fu/scripts/add-bevel.scm
      	* plug-ins/xjt/xjt.c: changed accordingly.
      
      	* plug-ins/imagemap/imap_main.c: just removed the call to
      	gimp_channel_delete(), it was wrong anyway.
      
      2003-12-03  Michael Natterer  <mitch@gimp.org>
      
      	* libgimp/libgimp-sections.txt
      	* libgimp/tmpl/gimpchannel.sgml
      	* libgimp/tmpl/gimpdrawable.sgml
      	* libgimp/tmpl/gimplayer.sgml: updated again.
      f2e227e2
    • Michael Natterer's avatar
      tools/pdbgen/pdb/channel.pdb removed duplicated APIs for "name", "visible" · a1f064c2
      Michael Natterer authored
      2003-12-03  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/pdb/channel.pdb
      	* tools/pdbgen/pdb/layer.pdb: removed duplicated APIs for "name",
      	"visible" and "tattoo"...
      
      	* tools/pdbgen/pdb/drawable.pdb: ...and added them as drawable APIs.
      
      	* libgimp/gimpdrawable.[ch]: removed faked layer/channel
      	polymorphisms, the functions are real drawable functions now.
      
      	* libgimp/gimpcompat.h: added the old cruft here.
      
      	* app/pdb/channel_cmds.c
      	* app/pdb/drawable_cmds.c
      	* app/pdb/internal_procs.c
      	* app/pdb/layer_cmds.c
      	* libgimp/gimpchannel_pdb.[ch]
      	* libgimp/gimpdrawable_pdb.[ch]
      	* libgimp/gimplayer_pdb.[ch]: regenerated.
      
      	* libgimp/gimpexport.c
      	* libgimp/gimpmenu.c
      	* plug-ins/common/align_layers.c
      	* plug-ins/common/animationplay.c
      	* plug-ins/common/animoptimize.c
      	* plug-ins/common/curve_bend.c
      	* plug-ins/common/gbr.c
      	* plug-ins/common/gif.c
      	* plug-ins/common/gih.c
      	* plug-ins/common/iwarp.c
      	* plug-ins/common/mng.c
      	* plug-ins/common/psd.c
      	* plug-ins/common/psd_save.c
      	* plug-ins/common/psp.c
      	* plug-ins/xjt/xjt.c
      	* plug-ins/gfig/gfig.c
      	* plug-ins/script-fu/scripts/*.scm: changed accordingly.
      
      2003-12-03  Michael Natterer  <mitch@gimp.org>
      
      	* libgimp/libgimp-sections.txt: updated.
      a1f064c2
  20. 26 Nov, 2003 2 commits
    • Michael Natterer's avatar
      eek, it should be GIMP_ADD_ALPHA_TRANSFER_MASK, not · c97d090d
      Michael Natterer authored
      2003-11-26  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/core-enums.[ch]: eek, it should be
      	GIMP_ADD_ALPHA_TRANSFER_MASK, not GIMP_ADD_ALPHA_MASK_TRANSFER.
      
      	* app/core/gimplayer.c (gimp_layer_create_mask): changed accordingly.
      
      	* app/pdb/layer_cmds.c
      	* libgimp/gimpenums.h
      	* plug-ins/pygimp/gimpenums.py
      	* plug-ins/script-fu/script-fu-constants.c
      	* tools/pdbgen/enums.pl: regenerated.
      c97d090d
    • Michael Natterer's avatar
      added enum values GIMP_ADD_ALPHA_MASK_TRANSFER and · e0e8a34f
      Michael Natterer authored
      2003-11-26  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/core-enums.[ch]: added enum values
      	GIMP_ADD_ALPHA_MASK_TRANSFER and GIMP_UNDO_GROUP_LAYER_ADD_MASK.
      
      	* app/core/gimplayer.c (gimp_layer_create_mask): applied patch
      	from Pedro Gimeno which implements the new ADD_MASK type and
      	added undo. Fixes bug #127930.
      
      	* app/gui/layers-commands.c: push an undo group around layer mask
      	creation & adding since the creation may change the layer now.
      
      	* app/pdb/layer_cmds.c
      	* libgimp/gimpenums.h
      	* plug-ins/pygimp/gimpenums.py
      	* plug-ins/script-fu/script-fu-constants.c
      	* tools/pdbgen/enums.pl: regenerated.
      e0e8a34f
  21. 06 Oct, 2003 1 commit
    • Manish Singh's avatar
      app/gui/image-menu.c app/gui/layers-menu.c "Imagesize" isn't a real word. · f64ad067
      Manish Singh authored
      2003-10-06  Manish Singh  <yosh@gimp.org>
      
              * app/gui/image-menu.c
              * app/gui/layers-menu.c
              * etc/ps-menurc: "Imagesize" isn't a real word. Fix to "Image Size".
      
              * app/paint/gimppaintcore.c: add declaration for rotate_pointers which
              was inadvertently took out.
      
              * tools/pdbgen/pdb/layer.pdb: add gimp_layer_resize_to_image_size.
              Fix failure reporting logic for gimp_layer_delete.
      
              * app/pdb/internal_procs.c
              * app/pdb/layer_cmds.c
              * libgimp/gimplayer_pdb.[ch]: regenerated.
      
              * plug-ins/common/tiff.c: always compare used unsigned chars for 7bit
              ASCII check.
      f64ad067
  22. 11 Sep, 2003 1 commit
    • Michael Natterer's avatar
      removed "visible" and all its API... · 7cf4eb46
      Michael Natterer authored
      2003-09-11  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpdrawable.[ch]: removed "visible" and all its API...
      
      	* app/core/gimpitem.[ch]: ...and added it here.
      
      	* app/core/core-enums.[ch]
      	* app/core/gimpimage-undo-push.[ch]: changed the drawable
      	visibility undo to be an item visibility undo.
      
      	* app/xcf/xcf-load.c
      	* app/xcf/xcf-save.c: save it in PROP_VECTORS and changed channel
      	and layer loading/saving accordingly.
      
      	* app/core/gimpimage-merge.c
      	* app/core/gimpimage-preview.c
      	* app/core/gimpimage-projection.c
      	* app/core/gimpimage.c
      	* app/core/gimplayer-floating-sel.c
      	* app/core/gimplayer.c
      	* app/core/gimpselection.c
      	* app/text/gimptextlayer.c
      	* app/gui/channels-commands.c
      	* tools/pdbgen/pdb/channel.pdb
      	* tools/pdbgen/pdb/layer.pdb: changed accordingly.
      
      	* app/pdb/channel_cmds.c
      	* app/pdb/layer_cmds.c: regenerated.
      
      	* app/widgets/gimpdrawabletreeview.[ch]: removed the eye icon...
      
      	* app/widgets/gimpitemtreeview.[ch]: ...and added it here.
      7cf4eb46
  23. 27 Aug, 2003 1 commit
    • Michael Natterer's avatar
      Enabled type-preserving DND of all kinds of items between different · c4dfccd8
      Michael Natterer authored
      2003-08-27  Michael Natterer  <mitch@gimp.org>
      
      	Enabled type-preserving DND of all kinds of items between
      	different images. Fixes bug #119983.
      
      	* app/core/gimpitem.[ch]: added new virtual function
      	GimpItem::convert() which duplicates an item for another image.
      
      	* app/core/gimplayer.[ch]: removed gimp_layer_new_from_drawable()
      	and made it a GimpItem::convert() implementation.
      
      	* app/vectors/gimpvectors.[ch]: removed gimp_vectors_convert() and
      	made it a GimpItem::convert() implementation.
      
      	* app/widgets/gimpitemtreeview.[ch]: removed GimpConvertItemFunc
      	typedef and function pointer in GimpItemTreeViewClass since
      	we can simply call gimp_item_convert() now.
      
      	* app/widgets/gimplayertreeview.c
      	* app/widgets/gimpvectorstreeview.c
      	* app/display/gimpdisplayshell-dnd.c
      	* tools/pdbgen/pdb/layer.pdb: changed accordingly.
      
      	* app/pdb/layer_cmds.c: regenerated.
      c4dfccd8
  24. 19 Aug, 2003 1 commit
    • Manish Singh's avatar
      Default all strings to validate UTF-8, use no_validate to disable. Also · 78071018
      Manish Singh authored
      2003-08-18  Manish Singh  <yosh@gimp.org>
      
              * tools/pdbgen/app.pl: Default all strings to validate UTF-8, use
              no_validate to disable. Also added a null_ok parameter which does
              validate UTF-8, but allows NULL.
      
              * tools/pdbgen/pdb/brush_select.pdb
              * tools/pdbgen/pdb/brushes.pdb
              * tools/pdbgen/pdb/channel.pdb
              * tools/pdbgen/pdb/convert.pdb
              * tools/pdbgen/pdb/fileops.pdb
              * tools/pdbgen/pdb/font_select.pdb
              * tools/pdbgen/pdb/gimprc.pdb
              * tools/pdbgen/pdb/gradient_select.pdb
              * tools/pdbgen/pdb/gradients.pdb
              * tools/pdbgen/pdb/help.pdb
              * tools/pdbgen/pdb/image.pdb
              * tools/pdbgen/pdb/layer.pdb
              * tools/pdbgen/pdb/message.pdb
              * tools/pdbgen/pdb/palette_select.pdb
              * tools/pdbgen/pdb/palettes.pdb
              * tools/pdbgen/pdb/parasite.pdb
              * tools/pdbgen/pdb/paths.pdb
              * tools/pdbgen/pdb/pattern_select.pdb
              * tools/pdbgen/pdb/patterns.pdb
              * tools/pdbgen/pdb/plug_in.pdb
              * tools/pdbgen/pdb/procedural_db.pdb
              * tools/pdbgen/pdb/text_tool.pdb
              * tools/pdbgen/pdb/unit.pdb: removed utf8, added no_validate and
              null_ok where appropriate.
      
              * app/pdb/brush_select_cmds.c
              * app/pdb/font_select_cmds.c
              * app/pdb/gradient_select_cmds.c
              * app/pdb/layer_cmds.c
              * app/pdb/palette_select_cmds.c
              * app/pdb/pattern_select_cmds.c
              * app/pdb/plug_in_cmds.c: regenerated.
      78071018
  25. 18 Aug, 2003 1 commit
    • Michael Natterer's avatar
      tools/pdbgen/pdb/brush_select.pdb tools/pdbgen/pdb/brushes.pdb · db2db08f
      Michael Natterer authored
      2003-08-18  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/pdb/brush_select.pdb
      	* tools/pdbgen/pdb/brushes.pdb
      	* tools/pdbgen/pdb/channel.pdb
      	* tools/pdbgen/pdb/convert.pdb
      	* tools/pdbgen/pdb/drawable.pdb
      	* tools/pdbgen/pdb/fileops.pdb
      	* tools/pdbgen/pdb/font_select.pdb
      	* tools/pdbgen/pdb/gimprc.pdb
      	* tools/pdbgen/pdb/gradient_select.pdb
      	* tools/pdbgen/pdb/gradients.pdb
      	* tools/pdbgen/pdb/layer.pdb
      	* tools/pdbgen/pdb/message.pdb
      	* tools/pdbgen/pdb/palette.pdb
      	* tools/pdbgen/pdb/palette_select.pdb
      	* tools/pdbgen/pdb/palettes.pdb
      	* tools/pdbgen/pdb/paths.pdb
      	* tools/pdbgen/pdb/pattern_select.pdb
      	* tools/pdbgen/pdb/patterns.pdb
      	* tools/pdbgen/pdb/plug_in.pdb
      	* tools/pdbgen/pdb/procedural_db.pdb
      	* tools/pdbgen/pdb/text_tool.pdb
      	* tools/pdbgen/pdb/unit.pdb: UTF-8 validate all strings except
      	filenames. Does not work yet for string params which may be NULL.
      	They currently don't get checked because I still don't understand
      	pdbgen enough :)
      
      	* app/pdb/brush_select_cmds.c
      	* app/pdb/brushes_cmds.c
      	* app/pdb/channel_cmds.c
      	* app/pdb/convert_cmds.c
      	* app/pdb/drawable_cmds.c
      	* app/pdb/fileops_cmds.c
      	* app/pdb/font_select_cmds.c
      	* app/pdb/gimprc_cmds.c
      	* app/pdb/gradient_select_cmds.c
      	* app/pdb/gradients_cmds.c
      	* app/pdb/message_cmds.c
      	* app/pdb/palette_select_cmds.c
      	* app/pdb/palettes_cmds.c
      	* app/pdb/paths_cmds.c
      	* app/pdb/pattern_select_cmds.c
      	* app/pdb/patterns_cmds.c
      	* app/pdb/plug_in_cmds.c
      	* app/pdb/procedural_db_cmds.c
      	* app/pdb/text_tool_cmds.c
      	* app/pdb/unit_cmds.c: regenerated.
      db2db08f
  26. 03 Jul, 2003 1 commit
    • Manish Singh's avatar
      fix spelling of "quality" in comment · 122c0065
      Manish Singh authored
      2003-07-03  Manish Singh  <yosh@gimp.org>
      
              * plug-ins/common/jpeg.c: fix spelling of "quality" in comment
      
              * tools/pdbgen/*.pl: update copyright strings to 2003
      
              * libgimp/gimpenums.h
              * libgimp/*_pdb.[ch]
              * app/pdb/*_cmds.[ch]
              * app/pdb/internal_procs.[ch]
              * plug-ins/pygimp/gimpenums.py
              * plug-ins/script-fu/script-fu-constants.c: regenerated
      122c0065
  27. 15 May, 2003 1 commit
    • Michael Natterer's avatar
      removed generation of includes for enums since including "pdb-types.h" is · a05d2c63
      Michael Natterer authored
      2003-05-15  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/app.pl (declare_args): removed generation of
      	includes for enums since including "pdb-types.h" is sufficient
      	now.
      
      	* app/pdb/brush_select_cmds.c
      	* app/pdb/brushes_cmds.c
      	* app/pdb/channel_cmds.c
      	* app/pdb/color_cmds.c
      	* app/pdb/convert_cmds.c
      	* app/pdb/drawable_cmds.c
      	* app/pdb/edit_cmds.c
      	* app/pdb/guides_cmds.c
      	* app/pdb/image_cmds.c
      	* app/pdb/layer_cmds.c
      	* app/pdb/message_cmds.c
      	* app/pdb/misc_tools_cmds.c
      	* app/pdb/paint_tools_cmds.c
      	* app/pdb/procedural_db_cmds.c
      	* app/pdb/selection_cmds.c
      	* app/pdb/selection_tools_cmds.c
      	* app/pdb/text_tool_cmds.c
      	* app/pdb/transform_tools_cmds.c: regenerated.
      a05d2c63
  28. 12 May, 2003 1 commit
    • Michael Natterer's avatar
      Added support for transforming linked layers, channels and vectors. Fixes · 45334e63
      Michael Natterer authored
      2003-05-12  Michael Natterer  <mitch@gimp.org>
      
      	Added support for transforming linked layers, channels
      	and vectors. Fixes bug #86277.
      
      	* app/core/gimpdrawable-transform.[ch]
      	(gimp_drawable_transform_tiles_flip): added "gdouble axis" and
      	calculate the resulting drawable offset.
      	(gimp_drawable_transform_flip): calculate the axis and pass it to
      	the function above.
      	(gimp_drawable_transform_[tiles_]affine): reordered parameters.
      
      	* app/core/gimpitem.[ch]: added virtual functions GimpItem::flip()
      	and GimpItem::transform().
      
      	* app/core/gimpchannel.c
      	* app/core/gimplayer.c
      	* app/vectors/gimpvectors.c: implement flip() and transform().
      	Note that all functions always transform the whole item,
      	regardless of a present selection.
      
      	* app/core/Makefile.am
      	* app/core/gimpitem-linked.[ch]: new files containing utility
      	functions which translate, flip and transform all linked items.
      
      	* app/tools/gimpfliptool.c
      	* app/tools/gimptransformtool.c
      	* tools/pdbgen/pdb/layer.pdb: use the new gimp_item_linked_*()
      	functions to translate, flip and transform all linked items.
      
      	* tools/pdbgen/pdb/transform_tools.pdb: follow
      	gimp_drawable_transform_affine() API change.
      
      	* app/pdb/layer_cmds.c
      	* app/pdb/transform_tools_cmds.c: regenerated.
      45334e63
  29. 09 May, 2003 1 commit
    • Michael Natterer's avatar
      added "gboolean push_undo" to GimpItem::translate() and don't push and · 45736814
      Michael Natterer authored
      2003-05-09  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpitem.[ch]: added "gboolean push_undo" to
      	GimpItem::translate() and don't push and undo in
      	gimp_item_translate().
      
      	* app/core/gimpchannel.[ch]: removed public function
      	gimp_channel_translate() and implement GimpItem::translate().
      
      	* app/core/gimpimage-mask.c
      	* app/core/gimplayer.c: changed accordingly.
      
      	* app/vectors/gimpvectors.c: actually translate the vectors
      	in translate().
      
      	* app/gui/channels-commands.c (channels_new_channel_query): removed
      	useless call to gimp_channel_translate().
      
      	* app/tools/gimpeditselectiontool.c
      	* tools/pdbgen/pdb/layer.pdb: when translating a linked layer,
      	also translate all linked channels and vectors. Cleanup.
      
      	Note that the "linked" behaviour has changed: before this change,
      	moving a layer moved all linked layers unconditionally. Now,
      	linked layers/channels/vectors are moved *only* if the moved layer
      	is also linked (the linked items behave as a group now and moving
      	something not in the group does not affect the group).
      
      	* app/pdb/layer_cmds.c: regenerated.
      45736814
  30. 08 May, 2003 4 commits
    • Michael Natterer's avatar
      removed "linked" member and API... · 33b7d779
      Michael Natterer authored
      2003-05-08  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimplayer.[ch]: removed "linked" member and API...
      
      	* app/core/gimpitem.[ch]: ...and added it here.
      
      	* app/core/core-enums.[ch]
      	* app/core/gimpimage-undo-push.[ch]: changed layer_linked undo
      	types and functions to be item_linked ones.
      
      	* app/tools/gimpeditselectiontool.c
      	* app/xcf/xcf-load.c
      	* app/xcf/xcf-save.c
      	* tools/pdbgen/pdb/layer.pdb: changed accordingly.
      
      	* app/pdb/layer_cmds.c: regenerated.
      
      	* app/widgets/gimplayertreeview.[ch]: removed "linked" icon and
      	functions...
      
      	* app/widgets/gimpitemtreeview.[ch]: and added them here. Setting
      	channels or vectors to "linked" does nothing yet.
      33b7d779
    • Michael Natterer's avatar
      added gimp_item_translate() and virtual function GimpItem::translate(). · 129c78d2
      Michael Natterer authored
      2003-05-08  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpitem.[ch]: added gimp_item_translate() and
      	virtual function GimpItem::translate().
      
      	* app/core/gimplayer.[ch]: removed public function
      	gimp_layer_translate() and implement GimpItem::translate()
      	instead.
      
      	* app/core/core-enums.[ch]
      	* app/core/gimpimage-undo-push.[ch]: changed layer_displace undo
      	types and functions to be item_displace ones.
      
      	* app/core/gimpimage-crop.c
      	* app/core/gimpimage-resize.c
      	* app/display/gimpdisplayshell-dnd.c
      	* app/gui/layers-commands.c
      	* app/tools/gimpeditselectiontool.c
      	* app/widgets/gimptoolbox.c
      	* tools/pdbgen/pdb/layer.pdb: changed accordingly.
      
      	* app/pdb/layer_cmds.c: regenerated.
      129c78d2
    • Michael Natterer's avatar
      removed the remaining layer scale API. · ab0ac847
      Michael Natterer authored
      2003-05-08  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimplayer.[ch]: removed the remaining layer scale API.
      
      	* app/core/gimpitem.[ch]: added the same functions here.
      
      	* app/core/gimpimage-scale.c
      	* app/gui/layers-commands.c
      	* tools/pdbgen/pdb/layer.pdb: changed accordingly.
      
      	* app/pdb/layer_cmds.c: regenerated.
      ab0ac847
    • Michael Natterer's avatar
      More transform virtualization preparation: · 4136e61d
      Michael Natterer authored
      2003-05-08  Michael Natterer  <mitch@gimp.org>
      
      	More transform virtualization preparation:
      
      	* app/core/gimpdrawable.[ch]: removed "width", "height", "offset_x"
      	and "offset_y"...
      
      	* app/core/gimpitem.[ch]: ...and added them here.
      
      	* app/core/gimpchannel.c
      	* app/core/gimpdrawable-preview.c
      	* app/core/gimpdrawable-transform.c
      	* app/core/gimpedit.c
      	* app/core/gimpimage-convert.c
      	* app/core/gimpimage-mask.c
      	* app/core/gimpimage-merge.c
      	* app/core/gimpimage-qmask.c
      	* app/core/gimpimage-undo-push.c
      	* app/core/gimplayer-floating-sel.c
      	* app/core/gimplayer.c
      	* app/text/gimptext-compat.c
      	* app/text/gimptextlayer.c
      	* app/tools/gimptexttool.c
      	* app/tools/gimptransformtool.c
      	* app/widgets/gimppreviewrendererdrawable.c
      	* app/xcf/xcf-load.c
      	* app/xcf/xcf-save.c
      	* tools/pdbgen/pdb/layer.pdb: changed accordingly.
      
      	* app/pdb/layer_cmds.c: regenerated.
      4136e61d