1. 22 Mar, 2009 1 commit
    • Michael Natterer's avatar
      app/widgets/gimpblobeditor.c app/widgets/gimpbrushselect.c · d85fb156
      Michael Natterer authored
      2009-03-22  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpblobeditor.c
      	* app/widgets/gimpbrushselect.c
      	* app/widgets/gimpcolorbar.c
      	* app/widgets/gimpcolordialog.c
      	* app/widgets/gimpcolorframe.c
      	* app/widgets/gimpcontainergridview.c
      	* app/widgets/gimpcontainerpopup.c
      	* app/widgets/gimpcontainertreeview.c
      	* app/widgets/gimpcontrollereditor.c
      	* app/widgets/gimpcontrollerlist.c
      	* app/widgets/gimpcursor.c
      	* app/widgets/gimpcurveview.c
      	* app/widgets/gimpdasheditor.c
      	* app/widgets/gimpdialogfactory.c
      	* app/widgets/gimpdnd-xds.c
      	* app/widgets/gimpdockable.c
      	* app/widgets/gimperrordialog.c
      	* app/widgets/gimpfgbgeditor.c
      	* app/widgets/gimpfgbgview.c
      	* app/widgets/gimpfiledialog.c
      	* app/widgets/gimpfontselect.c
      	* app/widgets/gimpgradienteditor.c
      	* app/widgets/gimpgradientselect.c
      	* app/widgets/gimphandlebar.c
      	* app/widgets/gimphistogrambox.c
      	* app/widgets/gimphistogramview.c
      	* app/widgets/gimpmessagedialog.c
      	* app/widgets/gimpnavigationview.c
      	* app/widgets/gimppaletteselect.c
      	* app/widgets/gimppaletteview.c
      	* app/widgets/gimppatternselect.c
      	* app/widgets/gimpprogressbox.c
      	* app/widgets/gimpprogressdialog.c
      	* app/widgets/gimpscalebutton.c
      	* app/widgets/gimpselectiondata.c
      	* app/widgets/gimpsessioninfo.c
      	* app/widgets/gimpsettingsbox.c
      	* app/widgets/gimpstrokeeditor.c
      	* app/widgets/gimptexteditor.c
      	* app/widgets/gimptoolbox.c
      	* app/widgets/gimpuimanager.c
      	* app/widgets/gimpview-popup.c
      	* app/widgets/gimpview.c
      	* app/widgets/gimpviewabledialog.c
      	* app/widgets/gimpwidgets-utils.c: use accessors for various
      	members of GTK+ structures that don't exist any longer when
      	GSEAL_ENABLE is defined.
      
      
      svn path=/trunk/; revision=28193
      d85fb156
  2. 17 Jan, 2009 1 commit
    • Michael Natterer's avatar
      Change licence to GPLv3 (and to LGPLv3 for libgimp). · d9b5207a
      Michael Natterer authored
      2009-01-17  Michael Natterer  <mitch@gimp.org>
      
      	* all files with a GPL header and all COPYING files:
      
      	Change licence to GPLv3 (and to LGPLv3 for libgimp).
      
      	Cleaned up some copyright headers and regenerated the parsers in
      	the ImageMap plugin.
      
      
      svn path=/trunk/; revision=27913
      d9b5207a
  3. 13 Dec, 2008 2 commits
    • Martin Nordholts's avatar
      Introduce temp_buf_get_data_size() and use it. · 4cb231f5
      Martin Nordholts authored
      * app/base/temp-buf.[ch]
      * app/widgets/gimpbrushselect.c
      * app/widgets/gimppatternselect.c
      
      svn path=/trunk/; revision=27783
      4cb231f5
    • Martin Nordholts's avatar
      s/temp_buf_data/temp_buf_get_data/ · ddaa0b48
      Martin Nordholts authored
      * app/base/pixel-region.c
      * app/base/temp-buf.c
      * app/base/temp-buf.h
      * app/core/gimpbrush-load.c
      * app/core/gimpbrush-scale.c
      * app/core/gimpbrush.c
      * app/core/gimpbrushgenerated.c
      * app/core/gimpgradient.c
      * app/core/gimpimage.c
      * app/core/gimppalette.c
      * app/core/gimppattern-load.c
      * app/core/gimppattern.c
      * app/core/gimppreviewcache.c
      * app/core/gimpviewable.c
      * app/paint-funcs/paint-funcs-generic.h
      * app/paint/gimpbrushcore.c
      * app/paint/gimpclone.c
      * app/paint/gimperaser.c
      * app/paint/gimpheal.c
      * app/paint/gimpink.c
      * app/paint/gimppaintbrush.c
      * app/pdb/brush-cmds.c
      * app/pdb/brushes-cmds.c
      * app/pdb/drawable-cmds.c
      * app/pdb/image-cmds.c
      * app/pdb/pattern-cmds.c
      * app/pdb/patterns-cmds.c
      * app/text/gimpfont.c
      * app/tools/gimpiscissorstool.c
      * app/vectors/gimpvectors-preview.c
      * app/widgets/gimpbrushselect.c
      * app/widgets/gimppatternselect.c
      * app/widgets/gimpviewrenderer.c
      
      svn path=/trunk/; revision=27782
      ddaa0b48
  4. 29 Jun, 2008 1 commit
    • Michael Natterer's avatar
      app/dialogs/channel-options-dialog.c app/dialogs/palette-import-dialog.c · 6aa62a90
      Michael Natterer authored
      2008-06-29  Michael Natterer  <mitch@gimp.org>
      
      	* app/dialogs/channel-options-dialog.c
      	* app/dialogs/palette-import-dialog.c
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/display/gimpnavigationeditor.c
      	* app/tools/gimpbrightnesscontrasttool.c
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpcolorizetool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimpposterizetool.c
      	* app/widgets/gimpbrusheditor.c
      	* app/widgets/gimpbrushfactoryview.c
      	* app/widgets/gimpbrushselect.c
      	* app/widgets/gimpcolormapeditor.c
      	* app/widgets/gimpcontainertreeview-dnd.c
      	* app/widgets/gimpgradienteditor.c
      	* app/widgets/gimphistogrambox.c
      	* app/widgets/gimppaletteeditor.c
      	* app/widgets/gimpscalebutton.c: replace adjustment->value by
      	gtk_adjustment_get_value (adjustment).
      
      
      svn path=/trunk/; revision=26019
      6aa62a90
  5. 28 Jun, 2008 1 commit
    • Michael Natterer's avatar
      app/widgets/gimpactionview.c app/widgets/gimpblobeditor.c · f53ed53c
      Michael Natterer authored
      2008-06-28  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpactionview.c
      	* app/widgets/gimpblobeditor.c
      	* app/widgets/gimpbrushfactoryview.c
      	* app/widgets/gimpbrushselect.c
      	* app/widgets/gimpcellrendererdashes.c
      	* app/widgets/gimpcellrendererviewable.c
      	* app/widgets/gimpcolorbar.c
      	* app/widgets/gimpcoloreditor.c
      	* app/widgets/gimpcolorframe.c
      	* app/widgets/gimpcomponenteditor.c
      	* app/widgets/gimpcontainerbox.c
      	* app/widgets/gimpcontainergridview.c
      	* app/widgets/gimpcontainerpopup.c
      	* app/widgets/gimpcontainertreeview.c
      	* app/widgets/gimpcurveview.c
      	* app/widgets/gimpdasheditor.c
      	* app/widgets/gimpdatafactoryview.c
      	* app/widgets/gimpdock.c
      	* app/widgets/gimpdockable.c
      	* app/widgets/gimpdockseparator.c
      	* app/widgets/gimpfgbgeditor.c
      	* app/widgets/gimpfgbgview.c
      	* app/widgets/gimpgradienteditor.c
      	* app/widgets/gimphandlebar.c
      	* app/widgets/gimphistogrambox.c
      	* app/widgets/gimphistogramview.c
      	* app/widgets/gimpitemtreeview.c
      	* app/widgets/gimpmenudock.c
      	* app/widgets/gimpmessagebox.c
      	* app/widgets/gimppaletteview.c
      	* app/widgets/gimpscalebutton.c
      	* app/widgets/gimpsessioninfo-book.c
      	* app/widgets/gimpsessioninfo-dock.c
      	* app/widgets/gimpsettingseditor.c
      	* app/widgets/gimpstrokeeditor.c
      	* app/widgets/gimptemplateeditor.c
      	* app/widgets/gimptemplateview.c
      	* app/widgets/gimpthumbbox.c
      	* app/widgets/gimptoolbox.c
      	* app/widgets/gimptooloptionseditor.c
      	* app/widgets/gimptoolview.c
      	* app/widgets/gimpuimanager.c
      	* app/widgets/gimpviewabledialog.c
      	* app/widgets/gimpviewrenderervectors.c
      	* app/widgets/gimpwidgets-utils.c: use accessors instead of
      	accessing members of GTK+ widgets directly.
      
      
      svn path=/trunk/; revision=26008
      f53ed53c
  6. 02 Dec, 2007 1 commit
    • Sven Neumann's avatar
      use GError for error reporting in PDB invoker methods. · 915ac64a
      Sven Neumann authored
      2007-12-02  Sven Neumann  <sven@gimp.org>
      
      	* tools/pdbgen/app.pl: use GError for error reporting in PDB
      	invoker methods.
      
      	* tools/pdbgen/pdb/vectors.pdb: use the GError for the 
      procedures
      	introduced for bug #497159.
      
      	* tools/pdbgen/pdb/fileops.pdb: use the GError from file-load 
      and
      	file-save procedures.
      
      	* app/pdb/*_cmds.c: regenerated.
      
      	* app/pdb/Makefile.am
      
      	* app/pdb/gimppdberror.[ch]: new file introducing the
      	GIMP_PDB_ERROR domain.
      
      	* app/actions/plug-in-commands.c
      	* app/actions/vectors-commands.c
      	* app/batch.c
      	* app/core/gimpimagefile.c
      	* app/core/gimppdbprogress.c
      	* app/file/file-open.[ch]
      	* app/file/file-save.c
      	* app/plug-in/gimpplugin-message.c
      	* app/plug-in/gimppluginmanager-restore.c
      	* app/plug-in/gimppluginprocedure.c
      	* app/plug-in/gimptemporaryprocedure.c
      	* app/plug-in/plug-in-icc-profile.c
      	* app/widgets/gimpbrushselect.c
      	* app/widgets/gimpfontselect.c
      	* app/widgets/gimpgradientselect.c
      	* app/widgets/gimphelp.c
      	* app/widgets/gimppaletteselect.c
      	* app/widgets/gimppatternselect.c
      	* app/widgets/gimppdbdialog.[ch]: changed accordingly.
      
      
      svn path=/trunk/; revision=24255
      915ac64a
  7. 09 Dec, 2006 1 commit
  8. 21 Oct, 2006 1 commit
    • Michael Natterer's avatar
      Added "Edit -> Fade" which allows to modify the paint mode and opacity of · e634d4d7
      Michael Natterer authored
      2006-10-21  Michael Natterer  <mitch@gimp.org>
      
      	Added "Edit -> Fade" which allows to modify the paint mode and
      	opacity of the last drawable operation (fill, plugins etc.).
      	Started from a patch by Bill Skaggs. Fixes bug #170707.
      
      	* app/base/base-enums.[ch] (enum GimpLayerModeEffects): register
      	the values REPLACE_MODE, ERASE_MODE and ANTI_ERASE_MODE with
      	the type system.
      
      	* app/widgets/gimppropwidgets.[ch]
      	* app/widgets/gimpwidgets-constructors.[ch]: added "gboolean
      	with_replace_modes" to the paint mode menu constructors.
      
      	* app/tools/gimppaintoptions-gui.c
      	* app/widgets/gimpbrushselect.c
      	* app/widgets/gimplayertreeview.c: pass with_replace_modes = FALSE.
      
      	* app/core/gimpdrawableundo.[ch]: added members which keep tiles,
      	paint mode and opacity of the pasted pixels.
      
      	* app/core/gimpimage-undo.[ch] (gimp_image_undo_get_fadeable):
      	returns a GimpUndo suitable for a fade operation, or NULL.
      
      	* app/core/gimp-edit.[ch] (gimp_edit_fade): implements the actual
      	fade by undoing the last operation and then re-applying the pixels
      	with different paint mode and opacity.
      
      	* app/core/gimpdrawable-combine.c: store the pasted pixels in
      	the GimpDrawableUndo.
      
      	* app/actions/edit-actions.c
      	* app/actions/edit-commands.[ch]: action and callback for fade.
      
      	* app/dialogs/Makefile.am
      	* app/dialogs/fade-dialog.[ch]: the fade dialog.
      
      	* app/widgets/gimphelp-ids.h: the fade help ID.
      
      	* menus/image-menu.xml.in: added a menu entry in "Edit".
      e634d4d7
  9. 15 May, 2006 1 commit
  10. 26 Apr, 2006 1 commit
    • Michael Natterer's avatar
      app/pdb/Makefile.am app/pdb/pdb-types.h new object GimpPDB which keeps all · f65bd53e
      Michael Natterer authored
      2006-04-26  Michael Natterer  <mitch@gimp.org>
      
      	* app/pdb/Makefile.am
      	* app/pdb/pdb-types.h
      	* app/pdb/gimppdb.[ch]: new object GimpPDB which keeps all
      	procedures and functions to register and run them. Renamed all
      	functions and did some cleanups.
      
      	* app/pdb/gimp-pdb.[ch]
      	* app/core/gimp.[ch]: removed the same stuff here.
      
      	* app/pdb/gimp-pdb-query.[ch]: removed these files...
      
      	* app/pdb/gimppdb-query.[ch]: ...added here as members of GimpPDB.
      
      	* app/pdb/gimp-pdb-compat.h: fix include guard.
      
      	* app/batch.c
      	* app/actions/vectors-commands.c
      	* app/dialogs/about-dialog.c
      	* app/file/file-open.c
      	* app/file/file-save.c
      	* app/plug-in/plug-in-message.c
      	* app/plug-in/plug-ins.c
      	* app/widgets/gimpfiledialog.c
      	* app/widgets/gimphelp.c
      	* app/xcf/xcf.c
      	* tools/pdbgen/pdb/brush_select.pdb
      	* tools/pdbgen/pdb/fileops.pdb
      	* tools/pdbgen/pdb/font_select.pdb
      	* tools/pdbgen/pdb/gradient_select.pdb
      	* tools/pdbgen/pdb/palette_select.pdb
      	* tools/pdbgen/pdb/pattern_select.pdb
      	* tools/pdbgen/pdb/procedural_db.pdb: changed includes and function
      	calls accordingly.
      
      	* tools/pdbgen/app.pl: pass around GimpPDB instead of Gimp
      	pointers to register the internal procedures with. Changed some
      	newlines in the generated code.
      
      	* app/pdb/*_cmds.c
      	* app/pdb/internal_procs.[ch]: regenerated.
      
      	* app/core/gimppdbprogress.[ch]
      	* app/widgets/gimppdbdialog.[ch]: added "pdb" CONSTRUCT_ONLY
      	properties.
      
      	* app/plug-in/plug-in-progress.c
      	* app/gui/gui-vtable.c: pass gimp->pdb when creating them.
      
      	* app/widgets/gimpbrushselect.c
      	* app/widgets/gimpfontselect.c
      	* app/widgets/gimpgradientselect.c
      	* app/widgets/gimppaletteselect.c
      	* app/widgets/gimppatternselect.c: use the new local pdb pointers
      	instead of some foo->bar->gimp->pdb overkill.
      f65bd53e
  11. 12 Apr, 2006 1 commit
  12. 04 Apr, 2006 2 commits
    • Michael Natterer's avatar
      app/pdb/Makefile.am app/pdb/procedural_db.[ch] removed... · a184c909
      Michael Natterer authored
      2006-04-04  Michael Natterer  <mitch@gimp.org>
      
      	* app/pdb/Makefile.am
      	* app/pdb/procedural_db.[ch]
      	* app/pdb/procedural-db-query.[ch]: removed...
      
      	* app/pdb/gimp-pdb.[ch]
      	* app/pdb/gimp-pdb-query.[ch]: ...and added namespacefied.
      
      	* app/batch.c
      	* app/actions/vectors-commands.c
      	* app/core/gimp.c
      	* app/core/gimppdbprogress.c
      	* app/dialogs/about-dialog.c
      	* app/file/file-open.c
      	* app/file/file-save.c
      	* app/file/file-utils.c
      	* app/plug-in/plug-in-message.c
      	* app/plug-in/plug-in-params.c
      	* app/plug-in/plug-in-proc-def.c
      	* app/plug-in/plug-in-progress.c
      	* app/plug-in/plug-ins-query.c
      	* app/plug-in/plug-ins.c
      	* app/widgets/gimpbrushselect.c
      	* app/widgets/gimpfiledialog.c
      	* app/widgets/gimpfontselect.c
      	* app/widgets/gimpgradientselect.c
      	* app/widgets/gimphelp.c
      	* app/widgets/gimppaletteselect.c
      	* app/widgets/gimppatternselect.c
      	* app/widgets/gimppdbdialog.c
      	* app/xcf/xcf.c
      	* tools/pdbgen/app.pl
      	* tools/pdbgen/pdb/brush_select.pdb
      	* tools/pdbgen/pdb/fileops.pdb
      	* tools/pdbgen/pdb/font_select.pdb
      	* tools/pdbgen/pdb/gradient_select.pdb
      	* tools/pdbgen/pdb/palette_select.pdb
      	* tools/pdbgen/pdb/pattern_select.pdb
      	* tools/pdbgen/pdb/procedural_db.pdb: changed accordingly.
      
      	* app/pdb/*_cmds.c: regenerated.
      a184c909
    • Michael Natterer's avatar
      app/pdb/pdb-types.h removed struct GimpArgument, struct GimpArgumentSpec, · 17aada11
      Michael Natterer authored
      2006-04-04  Michael Natterer  <mitch@gimp.org>
      
      	* app/pdb/pdb-types.h
      	* app/pdb/gimpargument.[ch]: removed struct GimpArgument, struct
      	GimpArgumentSpec, gimp_argument_init() and
      	gimp_arguments_destroy().
      
      	* app/pdb/gimpprocedure.h (struct GimpProcedure): use arrays of
      	GParamSpec* for kepping proc inargs/outargs.
      
      	* app/pdb/gimpprocedure.[ch]
      	* app/pdb/procedural_db.[ch]
      	* app/plug-in/plug-in-params.[ch]
      	* app/plug-in/plug-in-proc-frame.[ch]
      	* app/plug-in/plug-in-run.[ch]: use GValueArrays for procedure
      	arguments and return values. Removed all n_args and n_return_vals
      	parameters because GValueArrays know their length.
      
      	* app/batch.c
      	* app/actions/plug-in-commands.c
      	* app/actions/vectors-commands.c
      	* app/core/gimppdbprogress.c
      	* app/dialogs/about-dialog.c
      	* app/file/file-open.c
      	* app/file/file-save.c
      	* app/pdb/procedural-db-query.c
      	* app/plug-in/plug-in-message.c
      	* app/plug-in/plug-in-progress.c
      	* app/plug-in/plug-in-rc.c
      	* app/plug-in/plug-ins.c
      	* app/widgets/gimpbrushselect.c
      	* app/widgets/gimpfontselect.c
      	* app/widgets/gimpgradientselect.c
      	* app/widgets/gimphelp.c
      	* app/widgets/gimppaletteselect.c
      	* app/widgets/gimppatternselect.c
      	* app/widgets/gimppdbdialog.[ch]
      	* app/xcf/xcf.c
      	* tools/pdbgen/app.pl
      	* tools/pdbgen/pdb/fileops.pdb
      	* tools/pdbgen/pdb/procedural_db.pdb: changed accordingly. Also
      	removed #include "gimpargument.h" from most files.
      
      	* app/pdb/*_cmds.c: regenerated.
      17aada11
  13. 03 Apr, 2006 1 commit
    • Michael Natterer's avatar
      added a shitload of new GTypes and corresponding GParamSpecs to use them · 070a3625
      Michael Natterer authored
      2006-04-03  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpparamspecs.[ch]: added a shitload of new GTypes and
      	corresponding GParamSpecs to use them as PDB arguments.
      	Each GimpPDBArgType has one or more corresponding GTypes in the
      	core now.
      
      	* app/pdb/gimpargument.[ch] (struct GimpArgument)
      	(struct GimpArgumentSpec): removed "value" member because the
      	GValue's/GParamSpec's GType carries just as much information now.
      
      	(gimp_argument_type_to_pdb_arg_type): new function which maps
      	GTypes to GimpPDBArgType.
      
      	(gimp_pdb_arg_type_to_string): formerly known as
      	procedural_db_type_name().
      
      	* app/pdb/gimpprocedure.[ch]
      	* app/pdb/procedural_db.[ch]: completely switch to GValue. Use the
      	new GParamSpecs for procedure arguments. GimpPDBArgType is only
      	used for adding compat args/values of plug-in procedures.
      
      	(procedural_db_run_proc): the va_list expects a sequence of
      	(GType, value, GType, value, ..., G_TYPE_NONE) now.
      
      	* app/plug-in/plug-in-params.[ch]: changed accordingly.
      
      	(plug_in_param_defs_check): removed this function.
      
      	* app/plug-in/plug-in-message.c (plug_in_handle_proc_install): use
      	plug_in_proc_args_check() instead and initialize the GimpProcedure
      	before doing so.
      
      	* tools/pdbgen/app.pl
      	* tools/pdbgen/pdb.pl: use the new param spec types and their
      	utility functions. Changed argument/value registration
      	accordingly.
      
      	* app/pdb/procedural-db-query.c
      	* app/actions/plug-in-commands.c
      	* app/actions/vectors-commands.c
      	* app/core/gimppdbprogress.c
      	* app/dialogs/about-dialog.c
      	* app/file/file-open.c
      	* app/file/file-save.c
      	* app/plug-in/plug-in-progress.c
      	* app/plug-in/plug-in-rc.c
      	* app/plug-in/plug-ins.c
      	* app/widgets/gimpbrushselect.c
      	* app/widgets/gimpfontselect.c
      	* app/widgets/gimpgradientselect.c
      	* app/widgets/gimphelp.c
      	* app/widgets/gimppaletteselect.c
      	* app/widgets/gimppatternselect.c
      	* tools/pdbgen/pdb/fileops.pdb
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/procedural_db.pdb: changed accordingly.
      
      	* app/pdb/*_cmds.c: regenerated.
      070a3625
  14. 31 Mar, 2006 1 commit
    • Michael Natterer's avatar
      app/pdb/pdb-types.h renamed struct Argument to GimpArgument and struct · 03c28ec7
      Michael Natterer authored
      2006-03-31  Michael Natterer  <mitch@gimp.org>
      
      	* app/pdb/pdb-types.h
      	* app/pdb/gimpargument.h: renamed struct Argument to GimpArgument
      	and struct ProcArg to GimpArgumentSpec.
      
      	* app/batch.c
      	* app/actions/plug-in-commands.c
      	* app/actions/vectors-commands.c
      	* app/core/gimppdbprogress.c
      	* app/dialogs/about-dialog.c
      	* app/file/file-open.c
      	* app/file/file-save.c
      	* app/pdb/gimpargument.c
      	* app/pdb/gimpprocedure.[ch]
      	* app/pdb/procedural-db-query.c
      	* app/pdb/procedural_db.[ch]
      	* app/plug-in/plug-in-message.c
      	* app/plug-in/plug-in-params.[ch]
      	* app/plug-in/plug-in-proc-frame.h
      	* app/plug-in/plug-in-progress.c
      	* app/plug-in/plug-in-rc.c
      	* app/plug-in/plug-in-run.[ch]
      	* app/plug-in/plug-ins.c
      	* app/widgets/gimpbrushselect.c
      	* app/widgets/gimpfontselect.c
      	* app/widgets/gimpgradientselect.c
      	* app/widgets/gimphelp.c
      	* app/widgets/gimppaletteselect.c
      	* app/widgets/gimppatternselect.c
      	* app/widgets/gimppdbdialog.[ch]
      	* app/xcf/xcf.c
      	* tools/pdbgen/app.pl
      	* tools/pdbgen/pdb/fileops.pdb
      	* tools/pdbgen/pdb/procedural_db.pdb: changed accordingly.
      
      	* app/pdb/*_cmds.c: regenerated.
      03c28ec7
  15. 18 Jan, 2006 1 commit
    • Michael Natterer's avatar
      define GIMP_PARAM_STATIC_STRINGS which is G_PARAM_STATIC_NAME|NICK|BLURB. · e1ceed51
      Michael Natterer authored
      2006-01-18  Michael Natterer  <mitch@gimp.org>
      
      	* app/config/config-types.c: define GIMP_PARAM_STATIC_STRINGS
      	which is G_PARAM_STATIC_NAME|NICK|BLURB. Also define
      	GIMP_PARAM_READABLE, _WRITABLE and _READWRITE which include
      	GIMP_PARAM_STATIC_STRINGS.
      
      	* app/*/*.c: use them for all object properties so their
      	strings are not copied.
      e1ceed51
  16. 19 Dec, 2005 1 commit
  17. 27 May, 2005 1 commit
  18. 08 Feb, 2005 1 commit
    • Michael Natterer's avatar
      undeprecated the paint mode menu (ported to GimpEnumComboBox with · 86b62f7e
      Michael Natterer authored
      2005-02-08  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpwidgets-constructors.[ch]: undeprecated the
      	paint mode menu (ported to GimpEnumComboBox with separators).
      	The separator code is quite hackish and therefore still
      	implemented privately here.
      
      	* app/widgets/gimpbrushselect.c
      	* app/widgets/gimplayertreeview.c
      	* app/widgets/gimppropwidgets.c: changed accordingly.
      86b62f7e
  19. 13 Dec, 2004 1 commit
    • Michael Natterer's avatar
      don't forget the context we were created with but rmember it as · 91d07947
      Michael Natterer authored
      2004-12-13  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimppdbdialog.[ch]: don't forget the context we
      	were created with but rmember it as pdb_dialog->caller_context.
      
      	* app/widgets/gimpbrushselect.c
      	* app/widgets/gimpfontselect.c
      	* app/widgets/gimpgradientselect.c
      	* app/widgets/gimppaletteselect.c
      	* app/widgets/gimppatternselect.c: use the caller_context when
      	calling the temp_proc so the temp_proc's stack frame doesn't
      	contain the dialog's private context (which is just a scratch
      	model for the container views) but the plug-in's real context
      	which is fully initialized. Fixes bug #161114.
      91d07947
  20. 27 Sep, 2004 1 commit
    • Michael Natterer's avatar
      app/actions/brushes-actions.c app/actions/gradients-actions.c · 96a27b59
      Michael Natterer authored
      2004-09-27  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/brushes-actions.c
      	* app/actions/gradients-actions.c
      	* app/actions/palettes-actions.c
      	* app/actions/patterns-actions.c: made the "foo-edit" actions
      	GimpStringActions and pass the identifier of the editor dialog
      	to the callback.
      
      	* app/actions/data-commands.[ch] (data_edit_data_cmd_callback):
      	show the editor dialog here instead of calling view->edit_func().
      
      	* app/dialogs/dialogs-constructors.[ch]: removed the brush,
      	gradient and palette edit_funcs.
      
      	* app/widgets/widgets-types.h: removed typedef GimpDataEditFunc.
      
      	* app/widgets/gimpdatafactoryview.[ch]: removed the edit_func
      	member and parameters and create the edit button unconditionally.
      
      	* app/widgets/gimpbrushfactoryview.[ch]
      	* app/widgets/gimppatternfactoryview.[ch]: changed accordingly.
      
      	* app/widgets/Makefile.am
      	* app/widgets/gimpdataselect.[ch]: removed this class, it's not
      	needed any longer.
      
      	* app/widgets/gimpbrushselect.[ch]
      	* app/widgets/gimpgradientselect.[ch]
      	* app/widgets/gimppaletteselect.[ch]
      	* app/widgets/gimppatternselect.[ch]: derive them from GimpPdbDialog
      	and follow the edit_func removal.
      
      	* app/gui/gui-vtable.c (gui_pdb_dialog_new): removed edit_func
      	stuff.
      
      	* app/widgets/gimpcontainereditor.c: minor unrelated cleanup.
      96a27b59
  21. 29 Aug, 2004 1 commit
    • David Odin's avatar
      Renamed GimpPreviewSize to GimpViewSize. · b7f58e16
      David Odin authored
      * app/core/core-enums.h: Renamed GimpPreviewSize to GimpViewSize.
      
      * app/core/core-enums.c: Regenerated.
      
      * app/actions/dockable-actions.c
      
      * app/config/gimpcoreconfig.c
      * app/config/gimpcoreconfig.h
      * app/config/gimpdisplayconfig.c
      * app/config/gimpdisplayconfig.h
      
      * app/core/gimpundo.c
      
      * app/display/gimpnavigationeditor.c
      
      * app/gui/dialogs.c
      * app/gui/file-open-location-dialog.c
      
      * app/tools/gimppaintoptions-gui.c
      * app/tools/gimptextoptions.c
      
      * app/widgets/gimpbrushselect.c
      * app/widgets/gimpcontainerpopup.c
      * app/widgets/gimpcontainerview.c
      * app/widgets/gimpdialogfactory.c
      * app/widgets/gimpfontselect.c
      * app/widgets/gimpgradientselect.c
      * app/widgets/gimppaletteselect.c
      * app/widgets/gimppatternselect.c
      * app/widgets/gimpselectioneditor.c
      * app/widgets/gimpsessioninfo.c
      * app/widgets/gimptemplateeditor.c
      * app/widgets/gimpundoeditor.c
      * app/widgets/gimpundoeditor.h
      * app/widgets/gimpviewablebutton.c: Changed accordingly.
      b7f58e16
  22. 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
  23. 09 Jul, 2004 1 commit
    • Michael Natterer's avatar
      app/gui/Makefile.am app/gui/brush-select.[ch] app/gui/font-select.[ch] · 8d9e3622
      Michael Natterer authored
      2004-07-09  Michael Natterer  <mitch@gimp.org>
      
      	* app/gui/Makefile.am
      	* 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]: removed...
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimppdbdialog.[ch]
      	* app/widgets/gimpdataselect.[ch]
      	* app/widgets/gimpbrushselect.[ch]
      	* app/widgets/gimpgradientselect.[ch]
      	* app/widgets/gimppaletteselect.[ch]
      	* app/widgets/gimppatternselect.[ch]
      	* app/widgets/gimpfontselect.[ch]: ...and added here as a
      	hierarchy of widgets.
      
      	* app/widgets/gimpdatafactoryview.h: removed typdef
      	GimpDataEditFunc, it's in widgets-types.h now.
      
      	* app/gui/convert-dialog.c: changed accordingly.
      
      	* app/core/gimp.[ch]: added vtable entries for creating, closing
      	and setting PDB dialogs.
      
      	* app/gui/gui-vtable.c: implement the vtable entries using the new
      	widgets.
      
      	* tools/pdbgen/pdb/brush_select.pdb
      	* tools/pdbgen/pdb/font_select.pdb
      	* tools/pdbgen/pdb/gradient_select.pdb
      	* tools/pdbgen/pdb/palette_select.pdb
      	* tools/pdbgen/pdb/pattern_select.pdb: use the new functions of
      	the Gimp object to create / manage the selection dialogs. The
      	generated files don't depend on GUI stuff any longer.
      
      	* app/pdb/brush_select_cmds.c
      	* app/pdb/font_select_cmds.c
      	* app/pdb/gradient_select_cmds.c
      	* app/pdb/palette_select_cmds.c
      	* app/pdb/pattern_select_cmds.c: regenerated.
      8d9e3622