1. 02 Jun, 2004 1 commit
  2. 01 Jun, 2004 6 commits
    • Sven Neumann's avatar
      tools/pdbgen/pdb/gradient_edit.pdb mark new API as new using $since. · 133a7098
      Sven Neumann authored
      2004-06-02  Sven Neumann  <sven@gimp.org>
      
      	* tools/pdbgen/pdb/gradient_edit.pdb
      	* tools/pdbgen/pdb/gradients.pdb: mark new API as new using $since.
      
      	* libgimp/gimpgradientedit_pdb.c
      	* libgimp/gimpgradients_pdb.c: regenerated.
      133a7098
    • Michael Natterer's avatar
      forgot two more s/int32/enum/. · 1799caae
      Michael Natterer authored
      2004-06-02  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/pdb/gradient_edit.pdb: forgot two more s/int32/enum/.
      
      	* app/pdb/gradient_edit_cmds.c
      	* libgimp/gimpgradientedit_pdb.[ch]: regenerated.
      1799caae
    • Sven Neumann's avatar
      tools/pdbgen/pdb/image.pdb app/pdb/image_cmds.c reverted changes I did to · c509204b
      Sven Neumann authored
      2004-06-01  Sven Neumann  <sven@gimp.org>
      
      	* tools/pdbgen/pdb/image.pdb
      	* app/pdb/image_cmds.c
      	* app/core/gimpimage.[ch]: reverted changes I did to the image
      	unit earlier. As in 2.0, it will continue to not accept pixels.
      	This makes the PDB API and the XCF format compatible again and
      	fixes bug #142961 (and to some extent bug #137704).
      
      	* app/core/Makefile.am
      	* app/core/gimpimage-unit.[ch]: removed these files. The
      	convenience accessors defined here aren't commonly used any
      	longer.
      
      	* app/display/gimpdisplay.[ch]
      	* app/display/gimpdisplayshell.[ch]: added a unit parameter to
      	gimp_display_new(). Made "unit" and "scale" properties of
      	GimpDisplayShell.
      
      	* app/actions/image-commands.c
      	* app/actions/images-commands.c
      	* app/actions/layers-commands.c
      	* app/actions/select-commands.c
      	* app/actions/view-commands.c
      	* app/core/gimp-edit.c
      	* app/core/gimp.[ch]
      	* app/core/gimptemplate.c
      	* app/display/gimpdisplayshell-handlers.c
      	* app/display/gimpdisplayshell-scale.c
      	* app/display/gimpdisplayshell-title.c
      	* app/display/gimpstatusbar.c
      	* app/file/file-open.c
      	* app/gui/gui-vtable.c
      	* app/gui/info-window.c
      	* app/gui/offset-dialog.c
      	* app/gui/resize-dialog.[ch]
      	* app/pdb/display_cmds.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimppainttool.c
      	* app/tools/gimprectselecttool.c
      	* app/tools/gimprotatetool.c
      	* app/tools/gimpscaletool.c
      	* app/vectors/gimpvectors-export.c
      	* app/widgets/gimptoolbox-dnd.c
      	* tools/pdbgen/pdb/display.pdb: changed accordingly. Use the
      	display unit where the image unit was used before.
      c509204b
    • Michael Natterer's avatar
      use enums instead of integers, cleanup. · 20b16129
      Michael Natterer authored
      2004-06-01  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/pdb/gradient_edit.pdb: use enums instead of
      	integers, cleanup.
      
      	* app/pdb/gradient_edit_cmds.c
      	* libgimp/gimpgradientedit_pdb.[ch]: regenerated.
      20b16129
    • Michael Natterer's avatar
      added new function gimp_data_factory_data_delete(). · 149888b5
      Michael Natterer authored
      2004-06-01  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpdatafactory.[ch]: added new function
      	gimp_data_factory_data_delete().
      
      	* app/actions/data-commands.c (data_delete_callback): use it.
      
      	* tools/pdbgen/pdb/gradients.pdb: applied (slightly modified)
      	patch from Shlomi Fish which adds PDB wrappers to create, delete,
      	duplicate and rename gradients.
      
      	* app/pdb/gradients_cmds.c
      	* app/pdb/internal_procs.c
      	* libgimp/gimpgradients_pdb.[ch]: regenerated.
      149888b5
    • Michael Natterer's avatar
      renamed the values of the GimpGradientSegment* enums from GIMP_GRAD_* to · c399ae1f
      Michael Natterer authored
      2004-06-01  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/core-enums.h: renamed the values of the
      	GimpGradientSegment* enums from GIMP_GRAD_* to
      	GIMP_GRADIENT_SEGMENT_* because they are exported now.
      
      	* app/core/gimp-gradients.c
      	* app/core/gimpgradient.c
      	* app/actions/gradient-editor-actions.c: changed accordingly.
      
      	* libgimp/gimpenums.h
      	* plug-ins/pygimp/gimpenums.py
      	* plug-ins/script-fu/script-fu-constants.c
      	* tools/pdbgen/enums.pl: regenerated.
      c399ae1f
  3. 30 May, 2004 1 commit
    • Michael Natterer's avatar
      app/core/core-enums.h app/core/gimpgradient.[ch] app/pdb/Makefile.am · 421024cc
      Michael Natterer authored
      2004-05-31  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/core-enums.h
      	* app/core/gimpgradient.[ch]
      	* app/pdb/Makefile.am
      	* app/widgets/gimpgradienteditor.c
      	* tools/pdbgen/Makefile.am
      	* tools/pdbgen/groups.pl
      	* tools/pdbgen/pdb/gradient_edit.pdb: applied a patch from Shlomi
      	Fish that adds lots of gradient edit functions to
      	gimpgradient.[ch] and makes them available through the PDB.
      	Fixes bug #129675 and bug #129678.
      
      	Did some cleanups / enhancments to the patch:
      
      	* app/core/gimpgradient.[ch]: changed the naming scheme of the new
      	functions and changed old functions to match the new scheme.
      	Introduce a "freeze_count" and public freeze()/thaw() API which
      	enables subsequent gradient changes without "dirty" being emitted
      	all the time.  Added GimpGradient parameters to all functions
      	which modify the gradient.
      
      	* app/widgets/gimpgradienteditor.c: use the new freeze/thaw
      	stuff to keep the gradient from updating when not in
      	"Instant Update" mode.
      
      	* app/actions/gradient-editor-commands.c: removed all gradient
      	editing code and call the new core functions.
      
      	* libgimp/Makefile.am
      	* tools/pdbgen/pdb/gradient_edit.pdb: changed the namespace of all
      	added functions. Generate libgimp wrappers for them..
      
      	* app/pdb/gradient_edit_cmds.c
      	* app/pdb/internal_procs.c
      	* libgimp/gimp_pdb.h
      	* libgimp/gimpenums.h
      	* libgimp/gimpgradientedit_pdb.[ch]
      	* plug-ins/pygimp/gimpenums.py
      	* plug-ins/script-fu/script-fu-constants.c
      	* tools/pdbgen/enums.pl: (re)generated.
      421024cc
  4. 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
  5. 25 May, 2004 1 commit
    • Michael Natterer's avatar
      app/paint/Makefile.am app/paint/gimpbrushcore-kernels.h new GimpPaintCore · 9a41a73d
      Michael Natterer authored
      2004-05-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/paint/Makefile.am
      	* app/paint/gimpbrushcore-kernels.h
      	* app/paint/gimpbrushcore.[ch]: new GimpPaintCore subclass
      	containing all the brush painting specific stuff.
      
      	* app/paint/gimppaintcore-kernels.h: removed this file.
      
      	* app/paint/gimppaintcore.[ch]: removed all brush stuff.
      
      	* app/paint/gimpairbrush.c
      	* app/paint/gimpclone.[ch]
      	* app/paint/gimpconvolve.[ch]
      	* app/paint/gimpdodgeburn.[ch]
      	* app/paint/gimperaser.[ch]
      	* app/paint/gimppaintbrush.[ch]
      	* app/paint/gimppencil.c
      	* app/paint/gimpsmudge.[ch]: changed accordingly. Derive all
      	classes which used to derive directly from GimpPaintCore from
      	GimpBrushCore now. Lots of cleanup.
      
      	* app/paint/paint-types.h
      	* app/paint/gimp-paint.c
      	* app/paint/gimppaintcore-stroke.c
      	* app/tools/gimppainttool.c
      	* tools/kernelgen.c: changed accordingly.
      9a41a73d
  6. 20 May, 2004 1 commit
    • Manish Singh's avatar
      remove unnecessary G_OBJECT() casts. · f5fd7288
      Manish Singh authored
      2004-05-19  Manish Singh  <yosh@gimp.org>
      
              * app/actions/file-actions.c: remove unnecessary G_OBJECT() casts.
      
              * tools/pdbgen/pdb/help.pdb
              * tools/pdbgen/pdb/image.pdb
              * tools/pdbgen/pdb/paths.pdb
              * tools/pdbgen/pdb/plug_in.pdb: a bit of quoting clean up.
      
              * tools/pdbgen/pdb/plug_in.pdb: handle icon_data_length properly.
      
              * app/pdb/plug_in_cmds.c: regenerated.
      f5fd7288
  7. 18 May, 2004 2 commits
    • Michael Natterer's avatar
      made plugin_icon_register() an underscore-prefixed function which needs to · 540aa5ce
      Michael Natterer authored
      2004-05-19  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/pdb/plug_in.pdb: made plugin_icon_register() an
      	underscore-prefixed function which needs to be wrapped.
      
      	* libgimp/gimpplugin_pdb.[ch]: regenerated.
      
      	* libgimp/Makefile.am
      	* libgimp/gimp.h
      	* libgimp/gimpplugin.[ch]: new files containing
      	gimp_plugin_icon_register() which has no "icon_data_length"
      	parameter and determines it from the passed icon data.
      
      	* libgimp/gimp.def: added gimp_plugin_icon_register.
      
      	* plug-ins/common/plugindetails.c
      	* plug-ins/common/screenshot.c
      	* plug-ins/common/uniteditor.c
      	* plug-ins/print/print.c: don't pass the icon_data_length.
      540aa5ce
    • Michael Natterer's avatar
      Allow plug-ins to register menu icons. Fixes bug #120500. · 3fb934b2
      Michael Natterer authored
      2004-05-18  Michael Natterer  <mitch@gimp.org>
      
      	Allow plug-ins to register menu icons. Fixes bug #120500.
      
      	* app/core/core-enums.[ch]: added enum GimpIconType which can
      	be one of { STOCK_ID, IMAGE_FILE, INLINE_PIXBUF }.
      
      	* app/config/gimpconfigwriter.[ch] (gimp_config_writer_data)
      	* app/config/gimpscanner.[ch] (gimp_scanner_parse_data): new
      	functions which write/parse raw binary data. Needed for storing
      	inline pixbufs in pluginrc.
      
      	* app/config/gimpconfigwriter.[ch] (gimp_config_writer_identifier):
      	new function which writes out an unquoted and unescaped string.
      
      	* app/plug-in/plug-in-proc.[ch] (struct PlugInProcDef): added
      	new members "icon_type", "icon_data_length" and "icon_data".
      	Reordered members so file_proc specific stuff is at the end.
      
      	(plug_in_proc_def_get_stock_id)
      	(plug_in_proc_def_get_pixbuf): new functions to access the
      	procedure's icon.
      
      	* app/plug-in/plug-in-rc.c: save/restore the registered icons.
      
      	* app/actions/file-dialog-actions.c
      	* app/actions/plug-in-actions.c: set the action's stock ID from
      	the procedure's stock ID.
      
      	* app/widgets/gimppluginaction.c
      	(gimp_plug_in_action_connect_proxy): if the procedure provides a
      	pixbuf, set it as icon for the menu item.
      
      	* app/menus/file-dialog-menu.[ch]
      	* app/menus/file-open-menu.c
      	* app/menus/file-save-menu.c
      	* app/xcf/xcf.c: changed accordingly.
      
      	* tools/pdbgen/pdb/plug_in.pdb (plugin_icon_register): new PDB
      	function which can be called during query().
      
      	* tools/pdbgen/enums.pl
      	* app/pdb/internal_procs.c
      	* app/pdb/plug_in_cmds.c
      	* libgimp/gimpenums.h
      	* libgimp/gimpplugin_pdb.c
      	* libgimp/gimpplugin_pdb.h
      	* plug-ins/pygimp/gimpenums.py
      	* plug-ins/script-fu/script-fu-constants.c: regenerated.
      
      	* plug-ins/common/plugindetails.c
      	* plug-ins/common/uniteditor.c
      	* plug-ins/print/print.c: register stock_id icons.
      
      	* plug-ins/common/screenshot.c: register an inline_pixbuf icon for
      	testing purposes (used emblem-camera.png from gnome-icon-theme).
      
      	* app/actions/dialogs-actions.c
      	* app/actions/file-actions.c: unrelated: added some more icons
      	to menu items.
      3fb934b2
  8. 17 May, 2004 1 commit
    • Sven Neumann's avatar
      initialize the image unit to GIMP_UNIT_PIXEL. · d7c6becd
      Sven Neumann authored
      2004-05-17  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpimage.c (gimp_image_init): initialize the image
      	unit to GIMP_UNIT_PIXEL.
      
      	* app/pdb/image_cmds.c
      	* tools/pdbgen/pdb/image.pdb: allow GIMP_UNIT_PIXEL to be used
      	in the gimp_image_set_unit() PDB call.
      d7c6becd
  9. 14 May, 2004 1 commit
    • Sven Neumann's avatar
      added new PDB function gimp_register_file_handler_mime() that allows to · 97fe81b4
      Sven Neumann authored
      2004-05-14  Sven Neumann  <sven@gimp.org>
      
      	* tools/pdbgen/pdb/fileops.pdb: added new PDB function
      	gimp_register_file_handler_mime() that allows to associate a MIME
      	type with a file procecdurre.
      
      	* app/pdb/fileops_cmds.c
      	* app/pdb/internal_procs.c
      	* libgimp/gimpfileops_pdb.[ch]: regenerated.
      
      	* app/plug-in/plug-in-proc.[ch]
      	* app/plug-in/plug-in-rc.c
      	* app/plug-in/plug-ins.[ch]: store a mimetype with file procedures.
      
      	* app/actions/file-commands.c
      	* app/core/gimpdocumentlist.[ch]
      	* app/core/gimpimagefile.[ch]
      	* app/file/file-open.[ch]
      	* app/file/file-save.c: set the thumbnail's mimetype from the file
      	procedure used to load/save the image.
      
      	* app/xcf/xcf.c
      	* plug-ins/bmp/bmp.c
      	* plug-ins/common/csource.c
      	* plug-ins/common/dicom.c
      	* plug-ins/common/gif.c
      	* plug-ins/common/gifload.c
      	* plug-ins/common/jpeg.c
      	* plug-ins/common/mng.c
      	* plug-ins/common/png.c
      	* plug-ins/common/postscript.c
      	* plug-ins/common/psd.c
      	* plug-ins/common/psd_save.c
      	* plug-ins/common/sunras.c
      	* plug-ins/common/svg.c
      	* plug-ins/common/tga.c
      	* plug-ins/common/tiff.c
      	* plug-ins/common/wmf.c
      	* plug-ins/common/xbm.c
      	* plug-ins/common/xpm.c
      	* plug-ins/common/xwd.c
      	* plug-ins/faxg3/faxg3.c
      	* plug-ins/winicon/main.c: register a mimetype, set a translatable
      	action name (taken from shared-mime-info) and register to the <Load>
      	and <Save> menus using gimp_plugin_menu_register().
      97fe81b4
  10. 13 May, 2004 1 commit
    • Sven Neumann's avatar
      tools/pdbgen/lib.pl added new procedure variable 'since' that allows to · 373db07d
      Sven Neumann authored
      2004-05-13  Sven Neumann  <sven@gimp.org>
      
      	* tools/pdbgen/lib.pl
      	* tools/pdbgen/pdbgen.pl: added new procedure variable 'since'
      	that allows to specify when a new function was added. Use that
      	info to generate an appropriate gtk-doc comment.
      
      	* tools/pdbgen/pdb/plug_in.pdb: set since = '2.2' for the new
      	function gimp_plugin_menu_register().
      
      	* libgimp/gimpplugin_pdb.c: regenerated.
      373db07d
  11. 07 May, 2004 2 commits
    • Michael Natterer's avatar
      removed member "accelerator". It was never set and this is the · 9b7196a0
      Michael Natterer authored
      2004-05-07  Michael Natterer  <mitch@gimp.org>
      
      	* app/plug-in/plug-in-proc.[ch]: removed member "accelerator".
      	It was never set and this is the conceptually wrong place to store
      	it anyway.
      
      	* app/actions/file-dialog-actions.c
      	* app/actions/plug-in-actions.c
      	* app/plug-in/plug-in-message.c
      	* app/xcf/xcf.c: changed accordingly.
      
      	* tools/pdbgen/pdb/plug_in.pdb (plugins_query): always return NULL
      	as accelerator. Cleaned up the function a bit and made it aware of
      	proc_def->menu_label added below.
      
      	* app/pdb/plug_in_cmds.c: regenerated.
      9b7196a0
    • Michael Natterer's avatar
      Changed plug-in menu registration again to allow passing just the menu · ca179a77
      Michael Natterer authored
      2004-05-07  Michael Natterer  <mitch@gimp.org>
      
      	Changed plug-in menu registration again to allow passing just the
      	menu item's label (not the full path) in gimp_install_procedure()
      	and only the path (excluding the item's label) in
      	gimp_plugin_menu_register(). Matches the internal action system
      	better and makes translating the menu paths much easier.
      
      	(Of yourse it's still possible to use the old syntax for backward
      	compatibility).
      
      	* app/plug-in/plug-in-proc.[ch]: added "gchar *menu_label".
      
      	* app/plug-in/plug-in-params.[ch]: added new functions
      	plug_in_param_defs_check() and plug_in_proc_args_check() which
      	check if a procedure's parameters match its menu location
      	(e.g. <Image> needs RUN-MODE, IMAGE, DRAWABLE).
      
      	* app/plug-in/plug-in-message.c (plug_in_handle_proc_install): if
      	registering an old-style (full) menu_path, use
      	plug_in_param_defs_check(), set proc_def->menu_label otherwise.
      
      	* tools/pdbgen/pdb/plug_in.pdb (plugin_menu_register): use
      	plug_in_proc_args_check() on the passed menu_path and make sugre
      	old and new style menu registration are not mixed.
      
      	* app/pdb/plug_in_cmds.c: regenerated.
      
      	* app/plug-in/plug-in-rc.c: save/restore "menu_label".
      
      	* app/actions/file-dialog-actions.c
      	* app/actions/plug-in-actions.c
      	* app/menus/plug-in-menus.c: changed action/menu creation
      	accordingly. Some hacks needed to allow both old and new style
      	menu_label/menu_paths.
      
      	* app/plug-in/plug-in.c
      	* app/widgets/gimpfiledialog.c
      	* app/xcf/xcf.c: changed accordingly.
      
      	* plug-ins/common/align_layers.c
      	* plug-ins/common/animationplay.c
      	* plug-ins/common/animoptimize.c
      	* plug-ins/common/apply_lens.c
      	* plug-ins/common/autocrop.c
      	* plug-ins/common/autostretch_hsv.c
      	* plug-ins/common/blinds.c
      	* plug-ins/common/blur.c
      	* plug-ins/common/borderaverage.c
      	* plug-ins/common/bumpmap.c
      	* plug-ins/common/c_astretch.c
      	* plug-ins/common/ccanalyze.c
      	* plug-ins/common/channel_mixer.c
      	* plug-ins/common/checkerboard.c
      	* plug-ins/common/color_enhance.c
      	* plug-ins/common/colorify.c
      	* plug-ins/common/colortoalpha.c
      	* plug-ins/common/compose.c
      	* plug-ins/common/convmatrix.c
      	* plug-ins/common/cubism.c
      	* plug-ins/common/curve_bend.c
      	* plug-ins/common/decompose.c
      	* plug-ins/common/deinterlace.c
      	* plug-ins/common/depthmerge.c
      	* plug-ins/common/destripe.c
      	* plug-ins/common/diffraction.c
      	* plug-ins/common/displace.c
      	* plug-ins/common/edge.c
      	* plug-ins/common/emboss.c
      	* plug-ins/common/engrave.c
      	* plug-ins/common/exchange.c
      	* plug-ins/common/film.c
      	* plug-ins/common/flarefx.c
      	* plug-ins/common/fractaltrace.c
      	* plug-ins/common/screenshot.c: ported the first few plug-ins
      	to the new registration scheme.
      ca179a77
  12. 06 May, 2004 3 commits
    • Manish Singh's avatar
      make libgimp* headers always included before any app headers. · 61a3b048
      Manish Singh authored
      2004-05-06  Manish Singh  <yosh@gimp.org>
      
              * tools/pdbgen/pdb/app.pl: make libgimp* headers always included
              before any app headers.
      
              * tools/pdbgen/pdb/paint_tools.pdb: Fix silly "Dodgebure" typo.
      
              * app/pdb/*_cmds.c: regenerated.
      61a3b048
    • Michael Natterer's avatar
      renamed gimp_plugin_menu_add() to gimp_plugin_menu_register() for · de791034
      Michael Natterer authored
      2004-05-06  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/pdb/plug_in.pdb: renamed gimp_plugin_menu_add() to
      	gimp_plugin_menu_register() for consistency with other
      	gimp_plugin_foo_register() functions which can be called during
      	query().
      
      	* app/pdb/plug_in_cmds.c
      	* libgimp/gimpplugin_pdb.[ch]: regenerated.
      
      	* plug-ins/common/ccanalyze.c
      	* plug-ins/common/colortoalpha.c
      	* plug-ins/common/screenshot.c
      	* plug-ins/winsnap/winsnap.c: changed accordingly.
      de791034
    • Michael Natterer's avatar
      Enabled multiple menu entries per plug-in procedure: · 7b943b64
      Michael Natterer authored
      2004-05-06  Michael Natterer  <mitch@gimp.org>
      
      	Enabled multiple menu entries per plug-in procedure:
      
      	* app/plug-in/plug-in-proc.[ch]: changed "gchar *menu_path" to
      	"GList *menu_paths".
      
      	* app/plug-in/plug-in-message.c
      	* app/plug-in/plug-in-rc.c
      	* app/plug-in/plug-in.c
      	* app/plug-in/plug-ins.c
      	* app/menus/menus.c
      	* app/widgets/gimpfiledialog.c
      	* app/xcf/xcf.c: changed accordingly.
      
      	* app/actions/file-dialog-actions.c
      	* app/actions/plug-in-actions.c: create an action for the first
      	element of proc_def->menu_paths.
      
      	* app/gui/gui-vtable.c
      	* app/menus/plug-in-menus.[ch]: create proxy widgets for each
      	element of proc_def->menu_paths.
      
      	* tools/pdbgen/pdb/plug_in.pdb: added new function
      	gimp_plugin_menu_add() which can be called during query() and adds
      	a menu path to a procedure registered by the calling plugin.
      
      	* app/pdb/internal_procs.c
      	* app/pdb/plug_in_cmds.c
      	* libgimp/gimpplugin_pdb.[ch]: regenerated.
      
      	* menus/image-menu.xml.in
      	* menus/toolbox-menu.xml.in: added lots of <placeholder>s for
      	logical groups (like Image/Resize, Image/Scale, Image/Crop
      	etc.). Added empty placeholder File/Send for stuff like print and
      	mail. Added an "Acquire" menu under <Image>/File
      
      	* plug-ins/common/mail.c
      	* plug-ins/print/print.c
      	* plug-ins/common/winprint.c: register under File/Send.
      
      	* plug-ins/common/screenshot.c
      	* plug-ins/winsnap/winsnap.c: also register under
      	<Image>/File/Acquire.
      
      	* plug-ins/common/autocrop.c
      	* plug-ins/common/ccanalyze.c
      	* plug-ins/common/colortoalpha.c
      	* plug-ins/common/threshold_alpha.c
      	* plug-ins/common/zealouscrop.c: register additional menu entries
      	under placeholders in the "Image" and "Layer" menus. This is not
      	meant to be final but just a hint to keep in mind when
      	reorganizing the plug-in menus.
      7b943b64
  13. 05 May, 2004 1 commit
    • Michael Natterer's avatar
      reordered parameters so the first four are the same for all · a377cc7c
      Michael Natterer authored
      2004-05-05  Michael Natterer  <mitch@gimp.org>
      
      	* app/gui/brush-select.[ch] (brush_select_new): reordered parameters
      	so the first four are the same for all foo_select_new() functions.
      
      	* tools/pdbgen/pdb/brush_select.pdb: changed accordingly.
      
      	* app/pdb/brush_select_cmds.c: regenerated.
      
      	* app/gui/font-select.c (font_select_new): set the vbox'
      	border width to 6 to match the other foo_select dialogs.
      a377cc7c
  14. 20 Apr, 2004 1 commit
  15. 16 Apr, 2004 1 commit
    • Manish Singh's avatar
      tools/Makefile.am app/Makefile.am app, tools, and user dir bumped to · 361b1f56
      Manish Singh authored
      2004-04-15  Manish Singh  <yosh@gimp.org>
      
              * tools/Makefile.am
              * app/Makefile.am
              * configure.in: app, tools, and user dir bumped to version 2.1 names.
      
              * app/text/gimpfontlist.c: since we now depend on pango 1.4, we can
      	use pango_fc_font_description_from_pattern() instead of our
      	cut-n-paste function, gimp_font_list_font_desc_from_pattern().
      361b1f56
  16. 15 Apr, 2004 1 commit
    • Michael Natterer's avatar
      Context cleanup continued: · 837fa429
      Michael Natterer authored
      2004-04-15  Michael Natterer  <mitch@gimp.org>
      
      	Context cleanup continued:
      
      	* app/core/gimpitem.[ch]: added context parameter to
      	GimpItem::stroke().
      
      	* app/core/gimpchannel.c (gimp_channel_stroke)
      	* app/vectors/gimpvectors.c (gimp_vectors_stroke): use it to get
      	default values from instead of gimp_get_user_context().
      
      	* app/core/gimpselection.c
      	* app/gui/stroke-dialog.c
      	* tools/pdbgen/pdb/edit.pdb
      	* tools/pdbgen/pdb/paths.pdb: changed accordingly.
      
      	* app/pdb/edit_cmds.c
      	* app/pdb/paths_cmds.c: regenerated.
      
      	* app/plug-in/plug-in.[ch]: added GimpContext member to the PlugIn
      	struct. Added context parameter to plug_in_new(),
      	plug_in_call_query() and plug_in_call_init().
      
      	* app/plug-in/plug-in-run.[ch]: added context parameters to
      	plug_in_run() and plug_in_repeat().
      
      	* app/gui/plug-in-commands.c
      	* app/gui/vectors-commands.c
      	* app/pdb/procedural_db.c
      	* app/widgets/gimphelp.c: pass a context to plug_in_run() and
      	plug_in_repeat().
      
      	* app/plug-in/plug-in-message.c (plug_in_handle_proc_run): call
      	procedures with the plug-in's context.
      
      	* app/plug-in/plug-ins.c: use a temporary context for running the
      	plug-ins' query() and init() functions. Use the same context for
      	running automatic extensions. This temporarily separates the main
      	Script-Fu extension from the user context (i.e. scripts have no
      	way of setting/getting the global FG, BG, brush etc.).
      837fa429
  17. 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
  18. 13 Apr, 2004 3 commits
    • Sven Neumann's avatar
      reverted last change and go back to the solution using fork(). Hopefully · ffdf3a5b
      Sven Neumann authored
      2004-04-13  Sven Neumann  <sven@gimp.org>
      
      	* tools/gimp-remote.c: reverted last change and go back to the
      	solution using fork(). Hopefully fixes bug #139158 this time.
      ffdf3a5b
    • 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
  19. 10 Apr, 2004 1 commit
  20. 08 Apr, 2004 1 commit
  21. 01 Apr, 2004 1 commit
    • Sven Neumann's avatar
      updated a comment. · 890a7258
      Sven Neumann authored
      2004-04-01  Sven Neumann  <sven@gimp.org>
      
      	* tools/kernelgen.c: updated a comment.
      890a7258
  22. 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
  23. 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
  24. 22 Mar, 2004 1 commit
  25. 20 Mar, 2004 2 commits
    • Simon Budig's avatar
      app/.cvsignore docs/.cvsignore updated to ignore 2.0 stuff :-) · 62c63bf9
      Simon Budig authored
      2004-03-20  Simon Budig  <simon@gimp.org>
      
      	* app/.cvsignore
      	* docs/.cvsignore
      	* tools/.cvsignore: updated to ignore 2.0 stuff  :-)
      62c63bf9
    • Sven Neumann's avatar
      set version number to 2.0.0, version string to "2.0rc1". · f97ae7d7
      Sven Neumann authored
      2004-03-20  Sven Neumann  <sven@gimp.org>
      
      	* configure.in: set version number to 2.0.0, version string to
      	"2.0rc1".
      
      	* app/Makefile.am
      	* libgimp/Makefile.am
      	* libgimpbase/Makefile.am
      	* libgimpcolor/Makefile.am
      	* libgimpmath/Makefile.am
      	* libgimpmodule/Makefile.am
      	* libgimpthumb/Makefile.am
      	* libgimpwidgets/Makefile.am
      	* tools/Makefile.am: changed 1.3 to 2.0 all over the place.
      
      	* README
      	* NEWS: updated for the 2.0rc1 release.
      f97ae7d7
  26. 16 Mar, 2004 1 commit
    • Michael Natterer's avatar
      ref new tiles before unrefing the old ones. · 49238237
      Michael Natterer authored
      2004-03-16  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpdrawable.c (gimp_drawable_set_tiles): ref new
      	tiles before unrefing the old ones.
      
      	* app/core/gimpimage-undo-push.c: keep undo memsize exact by
      	adjusting undo->size when the stored data changes.
      
      	* app/core/gimpchannel.[ch] (gimp_channel_new_from_alpha)
      	* app/core/gimpchannel-select.[ch] (gimp_channel_select_alpha):
      	replaced "layer" parameter by "drawable".
      
      	* app/gui/layers-commands.c
      	* tools/pdbgen/pdb/selection.pdb: changed accordingly.
      
      	* app/pdb/selection_cmds.c: regenerated.
      
      	* app/core/gimpchannel.c
      	* app/core/gimplayer.c
      	* app/core/gimplayermask.[ch]
      	* app/core/gimpselection.c: remdom cleanup & code review.
      49238237
  27. 13 Mar, 2004 1 commit
    • Michael Natterer's avatar
      Completed the fix for bug #136702: · 2498c665
      Michael Natterer authored
      2004-03-13  Michael Natterer  <mitch@gimp.org>
      
      	Completed the fix for bug #136702:
      
      	* app/core/gimpitem.[ch]: added "gboolean supersample" and
      	"gint recursion_level" to GimpItem::transform().
      
      	* app/core/gimpitem-linked.[ch]	(gimp_item_linked_transform): ditto.
      
      	* app/core/gimpdrawable-transform.[ch]: added "recursion_level"
      	parameters and removed the RECURSION_LEVEL #define.
      
      	* app/core/gimpchannel.c
      	* app/core/gimpdrawable.c
      	* app/core/gimplayer.c
      	* app/vectors/gimpvectors.c: changed accordingly.
      
      	* app/tools/gimptransformoptions.[ch]: added new property
      	"recursion_level" which is not serializable and has no GUI. Pretty
      	useless, but it's IMHO better to hardcode the default value here
      	than in gimpdrawable-transform.c
      
      	* app/tools/gimptransformtool.c: changed accordingly.
      
      	* tools/pdbgen/pdb/transform_tools.pdb: hardcode "recursion_level"
      	to 3.
      
      	* app/pdb/transform_tools_cmds.c: regenerated.
      2498c665