1. 11 Nov, 2003 1 commit
    • Michael Natterer's avatar
      added new API gimp_color_button_[get|set]_update() which configures the · e34358d8
      Michael Natterer authored
      2003-11-11  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/gimpcolorbutton.[ch]: added new API
      	gimp_color_button_[get|set]_update() which configures the button
      	to emit "color_changed" continuously while the color in the color
      	selection dialog is being changed. Fixes bug #90091.
      
      	Renamed GimpColorButton struct member
      	"GtkItemFactory *item_factory" to a /*< private >*/ member named
      	"gpointer popup_menu". This is ugly but fixes bug #125115,
      
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/display/gimpdisplayshell.c
      	* app/widgets/gimpcolorpanel.c: changed accordingly.
      
      	* libgimpwidgets/gimpcolorbutton.c: use a GimpColorSelection
      	with a handmade GimpDialog instead of GtkColorSelectionDialog.
      
      	Enabled module loading for plug-ins so the color selection
      	can show the color selectors which are implemented in modules:
      
      	* libgimpwidgets/gimpwidgets-private.[ch]: added
      	GimpEnsureModlesFunc which can be called by modules users.
      
      	* app/gui/gui.c (gui_libs_init): pass NULL as
      	GimpEnsureModulesFunc since the core loads the modules itself.
      
      	* libgimp/gimpui.c (gimp_ui_init): pass new private function
      	gimp_ensure_modules() which will load the modules upon first
      	invocation.
      
      	* libgimp/Makefile.am: link libgimpui against libgimpmodule.
      
      	* libgimpwidgets/gimpcolorselection.c: call
      	_gimp_ensure_modules_func() if it is non-NULL so color selector
      	modules are available for plug-ins.
      
      	* tools/pdbgen/pdb/gimprc.pdb: added new PDB wrapper
      	gimp_get_module_load_inhibit().
      
      	* app/pdb/gimprc_cmds.c
      	* app/pdb/internal_procs.c
      	* libgimp/gimpgimprc_pdb.[ch]: regenerated.
      e34358d8
  2. 10 Nov, 2003 1 commit
    • Michael Natterer's avatar
      Made plug-ins honor the current GIMP theme: · cd218fef
      Michael Natterer authored
      2003-11-10  Michael Natterer  <mitch@gimp.org>
      
      	Made plug-ins honor the current GIMP theme:
      
      	* app/core/gimp.[ch]: added GimpGetThemeDirFunc to the GUI vtable.
      
      	* app/gui/gui-vtable.c: implement it here.
      
      	* tools/pdbgen/pdb/gimprc.pdb: added new PDB function
      	gimp_get_theme_dir().
      
      	* libgimp/gimpui.c: use the new function and fall back to
      	gimp_gtkrc() if it returns NULL.
      
      	* app/pdb/gimprc_cmds.c
      	* app/pdb/internal_procs.c
      	* libgimp/gimpgimprc_pdb.[ch]: regenerated.
      
      	* app/gui/themes.c: unrelated cleanup.
      cd218fef
  3. 22 Sep, 2003 1 commit
    • Sven Neumann's avatar
      UTF-8 validate the value set using gimprc_set(); mention this in the · b58e0121
      Sven Neumann authored
      2003-09-22  Sven Neumann  <sven@gimp.org>
      
      	* tools/pdbgen/pdb/gimprc.pdb: UTF-8 validate the value set using
      	gimprc_set(); mention this in the documentation.
      
      	* app/pdb/gimprc_cmds.c
      	* libgimp/gimpgimprc_pdb.c: regenerated.
      
      	* app/config/gimpconfig-path.c (gimp_config_path_expand): added
      	inline docs since this function is really not self-explanatory.
      b58e0121
  4. 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
  5. 02 Jul, 2003 1 commit
  6. 06 Feb, 2003 1 commit
  7. 18 Nov, 2002 1 commit
    • Sven Neumann's avatar
      Finally landed the new GimpConfig based gimprc parser. It's not finished · 073e533a
      Sven Neumann authored
      2002-11-18  Sven Neumann  <sven@gimp.org>
      
      	Finally landed the new GimpConfig based gimprc parser. It's not
      	finished yet but we need to start somewhere. This release removes
      	the old gimprc.[ch] files. The gimprc format changes slightly, but
      	the changes are minimal. The Preferences dialog is temporarily
      	disabled since it still needs to be ported. If you are are afraid,
      	stay away from CVS for a few days ;-)
      
      	* app/Makefile.am
      	* app/gimprc.[ch]: removed the old gimprc system.
      
      	* app/base/Makefile.am
      	* app/base/base-config.[ch]: removed these files in favor of
      	config/gimpbaseconfig.[ch].
      
      	* app/core/Makefile.am
      	* app/core/gimpcoreconfig.[ch]: removed these files in favor of
      	config/gimpcoreconfig.[ch].
      
      	* app/config/Makefile.am
      	* app/config/config-types.h: moved typedefs into this new file.
      
      	* app/config/gimpbaseconfig.[ch]
      	* app/config/gimpcoreconfig.[ch]
      	* app/config/gimpdisplayconfig.[ch]
      	* app/config/gimpguiconfig.[ch]
      	* app/config/gimprc.[ch]
      	* app/config/test-config.c: brought into shape for real use.
      
      	* app/base/base-types.h: include config/config-types.h here. Added
      	a global GimpBaseConfig *base_config variable to ease migration.
      
      	* app/gui/Makefile.am: temporarily disabled the preferences dialog.
      
      	* app/app_procs.c
      	* app/undo.c
      	* app/undo_history.c
      	* app/base/base.[ch]
      	* app/base/gimphistogram.c
      	* app/base/pixel-processor.c
      	* app/base/temp-buf.c
      	* app/base/tile-cache.c
      	* app/core/core-types.h
      	* app/core/gimp-documents.c
      	* app/core/gimp.c
      	* app/core/gimpbrush.c
      	* app/core/gimpbrushgenerated.c
      	* app/core/gimpcontext.c
      	* app/core/gimpdrawable-transform.c
      	* app/core/gimpimage-new.c
      	* app/core/gimpimage.c
      	* app/core/gimpimagefile.c
      	* app/core/gimpmodules.c
      	* app/core/gimppattern.c
      	* app/display/Makefile.am
      	* app/display/gimpdisplay-handlers.c
      	* app/display/gimpdisplay.[ch]
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/display/gimpdisplayshell-handlers.c
      	* app/display/gimpdisplayshell-layer-select.c
      	* app/display/gimpdisplayshell-render.c
      	* app/display/gimpdisplayshell-scale.c
      	* app/display/gimpdisplayshell-scroll.c
      	* app/display/gimpdisplayshell-selection.c
      	* app/display/gimpdisplayshell.[ch]
      	* app/display/gimpnavigationview.c
      	* app/file/file-save.c
      	* app/gui/device-status-dialog.c
      	* app/gui/dialogs-constructors.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/gui.c
      	* app/gui/menus.c
      	* app/gui/paths-dialog.c
      	* app/gui/resize-dialog.c
      	* app/gui/session.c
      	* app/gui/test-commands.c
      	* app/gui/tips-dialog.c
      	* app/gui/tips-dialog.h
      	* app/gui/user-install-dialog.c
      	* app/gui/view-commands.c
      	* app/paint/gimppaintcore.c
      	* app/plug-in/plug-in.c
      	* app/plug-in/plug-ins.c
      	* app/tools/gimpbezierselecttool.c
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpfuzzyselecttool.c
      	* app/tools/gimpinktool.c
      	* app/tools/gimpmagnifytool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimppainttool.c
      	* app/tools/gimppathtool.c
      	* app/tools/gimptexttool.[ch]
      	* app/tools/selection_options.c
      	* app/tools/tools.c
      	* app/tools/transform_options.c
      	* app/widgets/gimphelp.c
      	* app/widgets/gimpitemfactory.c
      	* app/widgets/gimpselectioneditor.c
      	* app/xcf/xcf-load.c
      	* tools/pdbgen/pdb/fileops.pdb
      	* tools/pdbgen/pdb/gimprc.pdb
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/layer.pdb
      	* tools/pdbgen/pdb/transform_tools.pdb: use the new config system
      	instead of the old gimprc stuff.
      
      	* etc/gimprc.in
      	* etc/gimprc_user.in: adapted to the new gimprc format. Will update
      	the man-page later...
      
      	* app/pdb/fileops_cmds.c
      	* app/pdb/gimprc_cmds.c
      	* app/pdb/image_cmds.c
      	* app/pdb/layer_cmds.c
      	* app/pdb/transform_tools_cmds.c
      	* libgimp/gimpgimprc_pdb.c: regenerated.
      073e533a
  8. 13 May, 2002 1 commit
    • Sven Neumann's avatar
      removed FINITE() macro. · fe0bf162
      Sven Neumann authored
      2002-05-13  Sven Neumann  <sven@gimp.org>
      
      	* libgimpmath/gimpmath.h: removed FINITE() macro.
      
      	* tools/pdbgen/pdb/image.pdb
      	* app/pdb/image_cmds.c: define FINITE() here, where it is used.
      
      	* tools/pdbgen/pdb/lib.pl: add "config.h" to all generated libgimp
      	.c files.
      
      	* libgimp/gimp*_pdb.c: regenerated.
      
      	* libgimp/gimpbrushmenu.c
      	* libgimp/gimpchannel.c
      	* libgimp/gimpdrawable.c
      	* libgimp/gimpgradientmenu.c
      	* libgimp/gimphelp.c
      	* libgimp/gimpimage.c
      	* libgimp/gimplayer.c
      	* libgimp/gimppatternmenu.c
      	* libgimp/gimppixelrgn.c
      	* libgimp/gimpproceduraldb.c
      	* libgimp/gimpselection.c
      	* libgimp/gimptile.c
      	* libgimp/gimpui.c
      	* libgimpmath/gimpmatrix.c
      	* libgimpmath/gimpvector.c
      	* plug-ins/MapObject/arcball.c
      	* plug-ins/fp/fp_gdk.c
      	* plug-ins/fp/fp_misc.c
      	* plug-ins/ifscompose/ifscompose_storage.c
      	* plug-ins/ifscompose/ifscompose_utils.c
      	* plug-ins/maze/handy.c
      	* plug-ins/rcm/rcm_gdk.c
      	* plug-ins/sel2path/edge.c
      	* plug-ins/xjt/xjpeg.c
      	* plug-ins/xjt/xpdb_calls.c: include "config.h".
      fe0bf162
  9. 17 Sep, 2001 1 commit
    • Sven Neumann's avatar
      fixed a typo spotted by Ed Halley <ed@halley.cc>. · 525b013c
      Sven Neumann authored
      2001-09-17  Sven Neumann  <sven@gimp.org>
      
      	* app/gimprc.c (gimprc_init):
      	fixed a typo spotted by Ed Halley <ed@halley.cc>.
      
      	* app/pdb/gimprc_cmds.c
      	* app/pdb/internal_procs.c
      	* libgimp/gimpgimprc_pdb.[ch]: added new PDB function
      	gimp_get_default_comment() that allows to access the default image
      	comment as set in the preferences.
      
      	* plug-ins/common/csource.c
      	* plug-ins/common/gif.c
      	* plug-ins/common/jpeg.c
      	* plug-ins/common/tiff.c: use gimp_get_default_comment() instead of
      	a hardcoded string.
      
      	* plug-ins/common/uniteditor.c: replaced deprecated GDK function
      	gdk_color_alloc().
      525b013c
  10. 24 Aug, 2000 1 commit
  11. 23 Aug, 2000 1 commit
    • Manish Singh's avatar
      $srcdir != $builddir fix for GIMP_CONTRIBUTORS · 50e478ef
      Manish Singh authored
      * configure.in: $srcdir != $builddir fix for GIMP_CONTRIBUTORS
      
      * plug-ins/common/plugin-defs.pl: More tidying up after Daniel Egger
      
      * tools/pdbgen/Makefile.am: parse pdb defs only once for app and lib
      
      * tools/pdbgen/lib.pl
      * tools/pdbgen/pdb/procedural_db.pdb: all void rets now return a
      boolean for success/failure
      
      -Yosh
      50e478ef
  12. 03 Aug, 2000 1 commit
    • Michael Natterer's avatar
      Sven Neumann <sven@gimp.org> · deb5760b
      Michael Natterer authored
      2000-08-03  Michael Natterer  <mitch@gimp.org>
      	    Sven Neumann  <sven@gimp.org>
      
      	* libgimp/*_pdb.c
      	* libgimp/gimpmenu.c
      	* DrMartin.Weber: removed COMPAT_CRUFT
      deb5760b
  13. 22 Jun, 2000 1 commit
    • Manish Singh's avatar
      tools/pdbgen/lib.pl libgimp/gimpchannel_pdb.c libgimp/gimpcolor_pdb.[ch] · e79d0af8
      Manish Singh authored
      * tools/pdbgen/lib.pl
      * libgimp/gimpchannel_pdb.c
      * libgimp/gimpcolor_pdb.[ch]
      * libgimp/gimpdrawable_pdb.[ch]
      * libgimp/gimpgimprc_pdb.[ch]
      * libgimp/gimpgradientselect_pdb.c
      * libgimp/gimpimage_pdb.c
      * libgimp/gimppaths_pdb.[ch]
      * libgimp/gimpselection_pdb.[ch]
      * libgimp/gimptexttool_pdb.c
      * libgimp/gimptools_pdb.c: landed the genned files from the changes
      below. Minimal code changes (some failure case return values changed,
      hopefully this won't break anything)
      
      -Yosh
      e79d0af8
  14. 01 Jun, 2000 1 commit
    • Michael Natterer's avatar
      Sven Neumann <sven@gimp.org> · 6be23f70
      Michael Natterer authored
      2000-06-01  Michael Natterer  <mitch@gimp.org>
      	    Sven Neumann  <sven@gimp.org>
      
      	Completed the new file structure. Yet only few of the _pdb.[ch]
      	files are based upon generated code and nothing is really
      	autogenerated...
      
      	* app/Makefile.am
      	* app/gdisplay_cmds.c      -> app/display_cmds.c
      	* app/gimage_cmds.c        -> app/image_cmds.c
      	* app/gimage_mask_cmds.c   -> app/selection_cmds.c
      	* app/internal_procs.c: related change
      
      	* libgimp/Makefile.am
      	* libgimp/gimp.h
      	* libgimp/gimp_pdb.h
      	* libgimp/gimpdisplay_pdb.[ch]
      	* libgimp/gimpimage_pdb.[ch]
      	* libgimp/gimpselection_pdb.[ch]: replaced with code based on files
      	generated using pdbgen
      
      	* libgimp/gimpchannelops_pdb.[ch]
      	* libgimp/gimpcolor_pdb.[ch]
      	* libgimp/gimpedit_pdb.[ch]
      	* libgimp/gimpfloatingsel_pdb.[ch]
      	* libgimp/gimpgimprc_pdb.[ch]
      	* libgimp/gimptexttool_pdb.[ch]
      	* libgimp/gimptools_pdb.[ch]
      	* libgimp/gimpundo_pdb.[ch]: new files based on generated code
      
      	* libgimp/gimpgradientselect.[ch]
      	* libgimp/gimpimage.[ch]
      	* libgimp/gimpselection.[ch]: new files wrapping around the
      	autogenerated PDB wrappers as found in *_pdb.[ch]. This is necessary
      	since the number of parameters or their order is different from the
      	PDP calls.
      
      	* plug-ins/common/CEL.c: plugged memleak
      
      	* plug-ins/common/aa.c: removed compiler warning
      
      	* tools/pdbgen/Makefile.am
      	* tools/pdbgen/groups.pl
      	* tools/pdbgen/pdb/gdisplay.pdb     -> display.pdb
      	* tools/pdbgen/pdb/gimage.pdb       -> image.pdb
      	* tools/pdbgen/pdb/gimage_mask.pdb  -> selection.pdb
      
      	* tools/pdbgen/pdb/channel_ops.pdb
      	* tools/pdbgen/pdb/color.pdb
      	* tools/pdbgen/pdb/edit.pdb
      	* tools/pdbgen/pdb/floating_sel.pdb
      	* tools/pdbgen/pdb/gimprc.pdb
      	* tools/pdbgen/pdb/text_tool.pdb
      	* tools/pdbgen/pdb/tools.pdb
      	* tools/pdbgen/pdb/undo.pdb: made them create libgimp code
      6be23f70
  15. 31 May, 2000 2 commits
    • Michael Natterer's avatar
      Sven Neumann <sven@gimp.org> · 21651c25
      Michael Natterer authored
      2000-05-31  Michael Natterer  <mitch@gimp.org>
      	    Sven Neumann  <sven@gimp.org>
      
      	Coming closer to our goal of autogenerating the
      	libgimp PDB wrappers...
      
      	* app/internal_procs.c
      	* app/parasite_cmds.c
      	* tools/pdbgen/pdb/parasite.pdb: removed parasite_new PDB call.
      
      	* libgimp/gimp.h
      	* libgimp/gimp_pdb.h
      	* libgimp/gimpbrushmenu.c
      	* libgimp/gimpcompat.h
      	* libgimp/gimpdrawable_pdb.[ch]
      	* libgimp/gimpexport.c
      	* libgimp/gimpgradientmenu.c
      	* libgimp/gimpimage_pdb.[ch]
      	* libgimp/gimpmenu.[ch]
      	* libgimp/gimpparasite.[ch]
      	* libgimp/gimpparasite_pdb.[ch]
      	* libgimp/gimppatternmenu.c
      	* libgimp/gimpproceduraldb_pdb.[ch]: changes to incorporate the new
      	files listed below
      
      	* libgimp/Makefile.am
      	* libgimp/gimpbrushes_pdb.[ch]
      	* libgimp/gimpbrushselect_pdb.[ch]
      	* libgimp/gimpconvert_pdb.[ch]
      	* libgimp/gimpgradientselect_pdb.[ch]
      	* libgimp/gimppatterns_pdb.[ch]
      	* libgimp/gimppatternselect_pdb.[ch]: new files partly generated
      	using pdbgen
      
      	* tools/pdbgen/lib.pl: some adjustments and fixes to the libgimp
      	pdbgen code
      
      	* tools/pdbgen/pdb/help.pdb
      	* tools/pdbgen/pdb/pattern_select.pdb: make them generate PDB
      	wrappers for libgimp too.
      21651c25
    • Michael Natterer's avatar
      Sven Neumann <sven@gimp.org> · ba9ec2a2
      Michael Natterer authored
      2000-05-31  Michael Natterer  <mitch@gimp.org>
      	    Sven Neumann  <sven@gimp.org>
      
      	Episode IV...
      
      	* app/Makefile.am
      
      	* app/message_cmds.c: new name
      	* app/interface_cmds.c: removed
      
      	* app/help_cmds.c: new name
      	* app/gimphelp_cmds.c: removed
      
      	* app/internal_procs.c
      	* app/gimphelp_cmds.c
      	* app/plug_in_cmds.c: moved gimp_plugin_help_register to
      	plug_in_cmds.c, s/gimp_plugin_domain_add/gimp_plugin_domain_register/
      
      	* libgimp/Makefile.am
      	* libgimp/gimp_pdb.h
      	* libgimp/gimpfileops_pdb.[ch]
      	* libgimp/gimpguides_pdb.[ch]
      	* libgimp/gimpmessage_pdb.[ch]
      	* libgimp/gimpprocedural_db_pdb.[ch]
      	* libgimp/gimpplugin_pdb.[ch]: new files containing PDB wrappers
      	moved out of libgimp/gimp.[ch]
      
      	* libgimp/gimpchannel_pdb.c
      	* libgimp/gimpdisplay_pdb.[ch]
      	* libgimp/gimpdrawable_pdb.[ch]
      	* libgimp/gimphelp_pdb.[ch]
      	* libgimp/gimpimage_pdb.[ch]
      	* libgimp/gimplayer_pdb.c
      	* libgimp/gimpparasite_pdb.c
      	* libgimp/gimpselection_pdb.c: various changes.
      
      	* libgimp/gimpunit.c: new file
      	* libgimp/gimpunit_pdb.[ch]: contains only PDB wrappers prefixed
      	with "_" which are called from libgimp/gimpunit.c only.
      
      	* libgimp/gimpunit.h: minor stuff
      
      	* libgimp/gimpcompat.h: declared the following functions obsolete:
      	 gimp_query_database
      	 gimp_query_images
      
      	* libgimp/gimp.[ch]: removed all PDB wrappers.
      
      	* tools/pdbgen/Makefile.am
      	* tools/pdbgen/groups.pl: changed
      
      	* tools/pdbgen/lib.pl: tried to fix libgimp autogeneration and
      	fixed just a few comments.
      
      	* tools/pdbgen/pdb/interface.pdb
      	* tools/pdbgen/pdb/gimphelp.pdb: removed
      
      	* tools/pdbgen/pdb/help.pdb
      	* tools/pdbgen/pdb/message.pdb: new names
      
      	* plug-ins/script-fu/script-fu.c
      	* plug-ins/perl/Gimp/Lib.xs:
      	s/gimp_plugin_domain_add/gimp_plugin_domain_register/
      
      2000-05-31  Michael Natterer  <mitch@gimp.org>
      
      	* POTFILES.in: s/gimpunit_pdb/gimpunit/
      ba9ec2a2