1. 11 Jul, 2018 1 commit
  2. 31 May, 2015 1 commit
  3. 11 Nov, 2012 1 commit
  4. 10 Sep, 2012 1 commit
  5. 15 Sep, 2010 1 commit
  6. 07 Jul, 2010 1 commit
  7. 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
  8. 25 Jul, 2007 1 commit
    • Sven Neumann's avatar
      added new procedure gimp-progress-end. · 7e4e9191
      Sven Neumann authored
      2007-07-25  Sven Neumann  <sven@gimp.org>
      
      	* tools/pdbgen/pdb/progress.pdb: added new procedure gimp-progress-end.
      
      	* app/pdb/progress_cmds.c
      	* app/pdb/internal_procs.c
      	* libgimp/gimpprogress_pdb.[ch]: regenerated.
      
      	* plug-ins/print/print.[ch]
      	* plug-ins/print/print-settings.[ch]: end the progress and save
      	the settings from the "end-print" handler. The plug-in then
      	appears finished but keeps running in the background until it has
      	finished the print operation.
      
      svn path=/trunk/; revision=22994
      7e4e9191
  9. 09 Jan, 2007 1 commit
    • Sven Neumann's avatar
      HACKING tools/pdbgen/lib.pl fixed spelling of "auto-generated". · dcc6ebd1
      Sven Neumann authored
      2007-01-09  Sven Neumann  <sven@gimp.org>
      
      	* HACKING
      	* tools/pdbgen/lib.pl
      	* tools/pdbgen/app.pl: fixed spelling of "auto-generated".
      
      	* tools/pdbgen/pdb/color.pdb
      	* tools/pdbgen/pdb/brush_select.pdb
      	* tools/pdbgen/pdb/palette_select.pdb
      	* tools/pdbgen/pdb/font_select.pdb
      	* tools/pdbgen/pdb/procedural_db.pdb
      	* tools/pdbgen/pdb/pattern_select.pdb
      	* tools/pdbgen/pdb/drawable.pdb
      	* tools/pdbgen/pdb/gradient_select.pdb: improved wording and fixed
      	spelling errors.
      	
      	* libgimp/gimp.c: fixed spelling errors.
      
      	* app/pdb/*.h: 
      	* libgimp/gimp*_pdb.[ch]: regenerated.
      
      
      svn path=/trunk/; revision=21676
      dcc6ebd1
  10. 12 Apr, 2006 1 commit
  11. 26 Mar, 2006 1 commit
    • Michael Natterer's avatar
      removed support for arg->implicit_fill. · f1f24289
      Michael Natterer authored
      2006-03-26  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/lib.pl: removed support for arg->implicit_fill.
      
      	* tools/pdbgen/pdb/progress.pdb (progress_init): remove it without
      	replacement, the generated function on the libgimp side is
      	internal anyway.
      
      	* libgimp/gimpprogress_pdb.[ch] (_gimp_progress_init): rgenerated
      	with a display_ID parameter.
      
      	* libgimp/gimpprogress.c (gimp_progress_init): pass
      	gimp_default_display() to _gimp_progress_init().
      f1f24289
  12. 23 Mar, 2006 1 commit
    • Michael Natterer's avatar
      app/core/gimp-gui.[ch] app/gui/gui-vtable.c pass displays around as · acdae9b3
      Michael Natterer authored
      2006-03-23  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimp-gui.[ch]
      	* app/gui/gui-vtable.c
      	* app/plug-in/plug-in-progress.[ch]: pass displays around as
      	GimpObject, not as integer IDs.
      
      	* tools/pdbgen/pdb/progress.pdb: changed accordingly.
      
      	* app/pdb/progress_cmds.c
      	* libgimp/gimpprogress_pdb.c: regenerated.
      acdae9b3
  13. 20 Feb, 2006 1 commit
    • Sven Neumann's avatar
      tools/pdbgen/pdb/progress.pdb applied slightly modified patch from · 37fdbeac
      Sven Neumann authored
      2006-02-20  Sven Neumann  <sven@gimp.org>
      
      	* tools/pdbgen/pdb/progress.pdb
      	* libgimp/gimpprogress.[ch]: applied slightly modified patch from
      	Stephane Chauveau.  Wraps the gimp_progress_update() PDB call so
      	that redundant progress updates are suppressed in libgimp.  This
      	gives a noticeable speedup for all plug-ins that update the
      	progress too often (bug #331470).
      
      	* libgimp/gimpprogress_pdb.[ch]: regenerated.
      37fdbeac
  14. 29 Sep, 2005 1 commit
    • Michael Natterer's avatar
      removed the "wrap" from gimp_progress_set_text() so it shows up as libgimp · e3da6be9
      Michael Natterer authored
      2005-09-29  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/pdb/progress.pdb: removed the "wrap" from
      	gimp_progress_set_text() so it shows up as libgimp function again.
      
      	* libgimp/gimpprogress_pdb.[ch]: regenerated.
      
      	* libgimp/gimpprogress.[ch]: changed the old
      	gimp_progress_set_text() to gimp_progress_set_text_printf() and
      	added gimp_progress_init_printf(). (did this because the method of
      	calling init(NULL) followed by set_text("foo") caused popup
      	progress windows to be resized after they were shown).
      
      	* libgimp/gimp.def: changed accordingly.
      
      	* plug-ins/*/*.c: use gimp_progress_init_printf() instead of
      	init(NULL) plus set_text(foo) and changed users of set_text() to
      	use set_text_printf().
      e3da6be9
  15. 09 Sep, 2005 1 commit
    • Michael Natterer's avatar
      Added parent window API to the GimpProgress interface and to the libgimp · b10adabb
      Michael Natterer authored
      2005-09-09  Michael Natterer  <mitch@gimp.org>
      
      	Added parent window API to the GimpProgress interface and to
      	the libgimp progress stuff. Might look strange, but does
      	the right thing in almost all cases (image window, file dialog,
      	script-fu dialog etc). Fixes bug #62988.
      
      	* app/core/gimpprogress.[ch]: added GimpProgress::get_window()
      	which should return a toplevel window ID if the progress is in a
      	window that wants to be the transient parent of plug-in dialogs.
      
      	* app/widgets/gimpwidgets-utils.[ch] (gimp_window_get_native): new
      	function which returns the window handle of a GtkWindow's GdkWindow.
      
      	* app/widgets/gimpfiledialog.c: implement ::get_window().
      
      	* app/display/gimpdisplay.[ch]: ditto. Removed window handle API.
      
      	* app/gui/gui-vtable.c: changed accordingly.
      
      	* libgimpbase/gimpbaseenums.[ch] (enum GimpProgressCommand):
      	added GIMP_PROGRESS_COMMAND_GET_WINDOW.
      
      	* app/plug-in/plug-in-progress.[ch] (plug_in_progress_get_window):
      	new function. Also renamed some functions to match the
      	GimpProgress interface, and not the legacy PDB procedure names.
      
      	* tools/pdbgen/pdb/progress.pdb
      	* app/core/gimppdbprogress.c: implement get_window() on both
      	sides of the wire, keeping backward compatibility (hopefully).
      
      	* libgimp/gimpprogress.[ch]: deprecated gimp_progress_install()
      	and added gimp_progress_install_vtable() which takes a vtable with
      	padding to be extensible. Added get_window() vtable entry and
      	dispatch it accordingly. Also added pulse() which was implemented
      	in a hackish way before. Everything is of course backward
      	compatible.
      
      	* libgimp/gimpprogressbar.c: inmplement the get_window() stuff
      	so a plug-in dialog containing a progress can be the transient
      	parent of another dialog in another plug-in.
      
      	* libgimp/gimpui.[ch] (gimp_ui_get_progress_window): new function
      	which returns a foreign GdkWindow of this plug-ins progress
      	window.
      
      	Renamed gimp_window_set_transient_for_default_display() to
      	gimp_window_set_transient() and make it use the progress' window
      	handle instead of the display's (which is the right thing to do in
      	almost all cases).
      
      	* libgimp/gimp.def
      	* libgimp/gimpui.def: add the new functions.
      
      	* tools/pdbgen/enums.pl
      	* app/pdb/internal_procs.c
      	* app/pdb/progress_cmds.c
      	* libgimp/gimpprogress_pdb.[ch]: regenerated.
      
      	* libgimp/gimpexport.c
      	* plug-ins/*/*.c: follow API change.
      b10adabb
  16. 02 Aug, 2005 1 commit
    • Michael Natterer's avatar
      Changed naming scheme for PDB procedure names from · 853f04d5
      Michael Natterer authored
      2005-08-03  Michael Natterer  <mitch@gimp.org>
      
      	Changed naming scheme for PDB procedure names from
      	random_crap_that_traditionally_has_underscores to
      	enforced-canonical-identifiers. I'm pretty sure some things are
      	broken after this commit. More changes to come...
      
      	* libgimpbase/gimpbase.def
      	* libgimpbase/gimputils.[ch]: added gimp_canonicalize_identifier().
      
      	* app/pdb/procedural_db.[ch] (struct ProcRecord): added
      	"gchar *original_name" to keep a procedure's original name as
      	reigstered by plug-ins (compat cruft).
      
      	(procedural_db_init_procs): canonicalized list of deprecated
      	procedures.
      
      	* app/plug-in/plug-in-proc-def.c (plug_in_proc_def_free): free
      	original_name.
      
      	* app/plug-in/plug-in-message.c: canonicalize procedure names
      	which are received over the wire.
      
      	* app/plug-in/plug-in-rc.c: serialize the original_name and create
      	the canonicalized name on-the-fly when deserializing.
      
      	* app/plug-in/plug-in-run.c: pass the original_name to plug-ins
      	when running them because they strcmp() the passed procedure name.
      
      	* app/plug-in/plug-ins.c (plug_ins_add_to_db): pass
      	canonical procedure names to procedural_db_execute().
      
      	(plug_ins_file_proc_compare): special-case "gimp-xcf", not "gimp_xcf".
      
      	* app/xcf/xcf.c: changed static XCF procedures accordingly.
      
      	* tools/pdbgen/app.pl
      	* tools/pdbgen/lib.pl: do some trivial substitutions to generate
      	canonicalized names in app/, and C identifiers with underscores in
      	libgimp/.
      
      	* tools/pdbgen/pdb/brushes.pdb
      	* tools/pdbgen/pdb/fileops.pdb
      	* tools/pdbgen/pdb/gradients.pdb
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/palettes.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/transform_tools.pdb: canonicaloized procedure
      	names in calls to std_pdb_deprecated() and in procedure names in
      	generated C code.
      
      	* app/pdb/*_cmds.c
      	* libgimp/*_pdb.c: regenerated.
      853f04d5
  17. 13 Feb, 2005 1 commit
    • Sven Neumann's avatar
      accept an empty string. · 4cf9d0e4
      Sven Neumann authored
      2005-02-13  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpprogress.c (gimp_progress_start): accept an empty
      	string.
      
      	* app/plug-in/plug-in-progress.c: if NULL is passed as message to
      	plug_in_progress_start(), set an empty string on the progress.
      
      	* tools/pdbgen/pdb/progress.pdb:
      	* libgimp/gimpprogress.[ch]: wrap the new gimp_progress_set_text()
      	PDP function with a function that accepts printf-like arguments.
      
      	* libgimp/gimpprogress_pdb.[ch]: regenerated.
      
      	* lots of plug-ins, most of them file plug-ins:
      	use gimp_progress_init(NULL) followed by gimp_progress_set_text()
      	to initialize the progress using the new API instead of constructing
      	a temporary string.
      4cf9d0e4
  18. 12 Feb, 2005 2 commits
    • Sven Neumann's avatar
      app/plug-in/plug-in-progress.[ch] added new PDB function · 996d24a3
      Sven Neumann authored
      2005-02-12  Sven Neumann  <sven@gimp.org>
      
      	* app/plug-in/plug-in-progress.[ch]
      	* tools/pdbgen/pdb/progress.pdb: added new PDB function
      	gimp_progress_set_text().
      
      	* app/pdb/internal_procs.c
      	* app/pdb/progress_cmds.c
      	* libgimp/gimpprogress_pdb.[ch]: regenerated.
      
      	* libgimp/gimp.def: updated.
      996d24a3
    • Sven Neumann's avatar
      added GimpProgress::pulse. · 7c19953c
      Sven Neumann authored
      2005-02-12  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpprogress.[ch]: added GimpProgress::pulse.
      
      	* app/display/gimpdisplay.c
      	* app/display/gimpstatusbar.c
      	* app/widgets/gimpfiledialog.c
      	* app/widgets/gimpprogressbox.c
      	* app/widgets/gimpprogressdialog.c
      	* app/widgets/gimpthumbbox.c: implement it in the classes that
      	implement the GimpProgress interface.
      
      	* app/plug-in/plug-in-progress.[ch]: allow plug-ins to pulse their
      	progress.
      
      	* tools/pdbgen/pdb/progress.pdb: added a procedure for the new
      	functionality.
      
      	* app/pdb/internal_procs.c
      	* app/pdb/progress_cmds.c
      	* libgimp/gimpprogress_pdb.[ch]: regenerated.
      
      	* libgimp/gimp.def: updated.
      7c19953c
  19. 29 Aug, 2004 1 commit
    • Michael Natterer's avatar
      Added an API to allow plug-ins to embed the progress for the actions they · 065db21d
      Michael Natterer authored
      2004-08-29  Michael Natterer  <mitch@gimp.org>
      
      	Added an API to allow plug-ins to embed the progress for the
      	actions they trigger into their own GUI (attention: half-done and
      	broken code ahead...)
      
      	* app/core/Makefile.am
      	* app/core/core-types.h
      	* app/core/gimppdbprogress.[ch]: new object implementing dispatching
      	progress calls to a temporary PDB procedure in a plug-in.
      
      	* app/Makefile.am: force to link gimppdbprogress.o, bah!
      
      	* app/plug-in/plug-in-progress.[ch]: added API to install,
      	uninstall and cancel a PDB progress for this plug-in, but disabled
      	the implementation because it doesn't work yet.
      
      	* tools/pdbgen/pdb/progress.pdb: added pdb wrappers for the new
      	install, uninstall and cancel functions.
      
      	* libgimp/Makefile.am
      	* libgimp/gimp.h
      	* libgimp/gimpprogress.[ch]: added an API around the PDB progress
      	stuff.
      
      	* app/pdb/internal_procs.c
      	* app/pdb/progress_cmds.c
      	* libgimp/gimpprogress_pdb.[ch]: regenerated.
      
      	* plug-ins/script-fu/script-fu-scripts.c: use the new API to show
      	the progress in the script-fu dialog.
      065db21d
  20. 27 Aug, 2004 1 commit
    • Michael Natterer's avatar
      Moved the gimp_progress_init() and gimp_progress_update() PDB functions to · d7f73e6f
      Michael Natterer authored
      2004-08-27  Michael Natterer  <mitch@gimp.org>
      
      	Moved the gimp_progress_init() and gimp_progress_update() PDB
      	functions to their own group because they don't belong to the
      	"Plug-In" namespace and will soon get more functions.
      
      	* tools/pdbgen/pdb/plug_in.pdb: removed the progress stuff...
      
      	* tools/pdbgen/pdb/progress.pdb: ...and added it here.
      
      	* tools/pdbgen/Makefile.am
      	* tools/pdbgen/groups.pl
      	* app/pdb/Makefile.am
      	* libgimp/Makefile.am: changed accordingly.
      
      	* libgimp/gimpprogress_pdb.[ch]: new generated files.
      
      	* app/pdb/internal_procs.c
      	* app/pdb/plug_in_cmds.c
      	* libgimp/gimp_pdb.h
      	* libgimp/gimpplugin_pdb.[ch]: regenerated.
      d7f73e6f
  21. 08 Dec, 2003 1 commit
    • Michael Natterer's avatar
      tools/pdbgen/pdb/brushes.pdb tools/pdbgen/pdb/fonts.pdb · 95c13dad
      Michael Natterer authored
      2003-12-08  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/pdb/brushes.pdb
      	* tools/pdbgen/pdb/fonts.pdb
      	* tools/pdbgen/pdb/gradients.pdb
      	* tools/pdbgen/pdb/palettes.pdb
      	* tools/pdbgen/pdb/patterns.pdb: removed comments that
      	gimp_data_factory_data_init() should return a boolean indicating
      	success, since it is highly unclear when to return FALSE. This
      	function just always succeeds. Changed docs accordingly. Cleanup.
      
      	* 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: minor cleanups.
      
      	* app/pdb/brush_select_cmds.c
      	* app/pdb/brushes_cmds.c
      	* app/pdb/font_select_cmds.c
      	* app/pdb/fonts_cmds.c
      	* app/pdb/gradient_select_cmds.c
      	* app/pdb/gradients_cmds.c
      	* app/pdb/palette_select_cmds.c
      	* app/pdb/palettes_cmds.c
      	* app/pdb/pattern_select_cmds.c
      	* app/pdb/patterns_cmds.c
      	* libgimp/gimpbrushes_pdb.c
      	* libgimp/gimpfonts_pdb.c
      	* libgimp/gimpgradients_pdb.c
      	* libgimp/gimppalettes_pdb.c
      	* libgimp/gimppatterns_pdb.c: regenerated.
      95c13dad
  22. 04 Sep, 2003 2 commits
    • Sven Neumann's avatar
      app/core/Makefile.am app/core/core-types.h added filter functionality for · 85adefe7
      Sven Neumann authored
      2003-09-04  Sven Neumann  <sven@gimp.org>
      
      	* app/core/Makefile.am
      	* app/core/core-types.h
      	* app/core/gimpcontainer-filter.[ch]: added filter functionality
      	for GimpContainers.
      
      	* tools/pdbgen/pdb/brushes.pdb
      	* tools/pdbgen/pdb/fonts.pdb
      	* tools/pdbgen/pdb/gradients.pdb
      	* tools/pdbgen/pdb/palettes.pdb
      	* tools/pdbgen/pdb/patterns.pdb: made the gimp_foo_get_list()
      	PDB function somewhat useful by adding a filter parameter that
      	allows to specify a regular expression to be used on the list.
      
      	* app/pdb/Makefile.am: had to uglify the ugly hack even more :(
      
      	* app/pdb/brushes_cmds.c
      	* app/pdb/fonts_cmds.c
      	* app/pdb/gradients_cmds.c
      	* app/pdb/palettes_cmds.c
      	* app/pdb/patterns_cmds.c
      	* libgimp/gimpbrushes_pdb.[ch]
      	* libgimp/gimpfonts_pdb.[ch]
      	* libgimp/gimpgradients_pdb.[ch]
      	* libgimp/gimppalettes_pdb.[ch]
      	* libgimp/gimppatterns_pdb.[ch]: regenerated.
      
      	* plug-ins/gflare/gflare.c
      	* plug-ins/pygimp/gimpmodule.c: changed accordingly.
      
      	* plug-ins/script-fu/scripts/font-map.scm: replaced the font list
      	parameter with a more useful regexp filter on the available fonts.
      85adefe7
    • Sven Neumann's avatar
      added new function gimp_container_get_name_array(). · 0acc96d9
      Sven Neumann authored
      2003-09-04  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpcontainer.[ch]: added new function
      	gimp_container_get_name_array().
      
      	* tools/pdbgen/pdb/brushes.pdb
      	* tools/pdbgen/pdb/gradients.pdb
      	* tools/pdbgen/pdb/palettes.pdb
      	* tools/pdbgen/pdb/paths.pdb
      	* tools/pdbgen/pdb/patterns.pdb: use the new GimpContainer function
      	instead of duplicating this code over and over again.
      
      	* app/pdb/brushes_cmds.c
      	* app/pdb/gradients_cmds.c
      	* app/pdb/palettes_cmds.c
      	* app/pdb/paths_cmds.c
      	* app/pdb/patterns_cmds.c
      	* libgimp/gimpgradients_pdb.c: regenerated.
      
      	* tools/pdbgen/Makefile.am
      	* tools/pdbgen/pdb/fonts.pdb: added new file that defines a simple
      	PDB API for fonts.
      
      	* tools/pdbgen/groups.pl
      	* app/pdb/Makefile.am
      	* app/pdb/fonts_cmds.c
      	* app/pdb/internal_procs.c
      	* libgimp/gimp_pdb.h
      	* libgimp/gimpfonts_pdb.[ch]: (re)generated.
      0acc96d9
  23. 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
  24. 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
  25. 24 Aug, 2000 1 commit
  26. 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
  27. 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
  28. 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
  29. 31 May, 2000 3 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
    • Michael Natterer's avatar
      Sven Neumann <sven@gimp.org> · 053af2f1
      Michael Natterer authored
      2000-05-31  Michael Natterer  <mitch@gimp.org>
      	    Sven Neumann  <sven@gimp.org>
      
      	* libgimp/Makefile.am
      	* libgimp/gimpchannel_pdb.h
      	* libgimp/gimpdisplay_pdb.h
      	* libgimp/gimpdrawable_pdb.h
      	* libgimp/gimpgradient_pdb.h
      	* libgimp/gimphelp_pdb.h
      	* libgimp/gimpimage_pdb.h
      	* libgimp/gimplayer_pdb.h
      	* libgimp/gimpparasite_pdb.h
      	* libgimp/gimpselection_pdb.h
      	* libgimp/gimpunit_pdb.h
      	* libgimp/gimpdrawable.[ch]
      	* libgimp/gimphelp.c
      	* libgimp/gimppixelrgn.h
      	* libgimp/gimptile.h: new files
      
      	* libgimp/gimp.[ch]
      	* libgimp/gimpchannel_pdb.c
      	* libgimp/gimpdrawable_pdb.c
      	* libgimp/gimpgradient_pdb.c
      	* libgimp/gimppalette_pdb.c
      	* libgimp/gimpselection_pdb.c
      	* libgimp/gimphelp_pdb.c
      	* libgimp/gimpimage_pdb.c
      	* libgimp/gimplayer_pdb.c
      	* libgimp/gimpgradientmenu.c
      	* libgimp/gimpbrushmenu.c
      	* libgimp/gimpmenu.[ch]
      	* libgimp/gimppatternmenu.c
      	* libgimp/gimppixelrgn.c
      	* libgimp/gimptile.c: part III of the (final) libgimp cleanup
      
      	Split gimp.h into a bunch of headers. More or less finished the
      	task of moving PDB wrappers into separate files in preparation
      	of the upcoming autogen-it-all-attack.
      
      	* libgimp/gimpcompat.h: declared the following functions obsolete:
      	gimp_[channel|layer]_[width|height]
      	gimp_layer_[bpp|type]
      	gimp_channel_get_[image|layer]_ID
      
      	* libgimp/gimptypes.h: new file:
      	GPlugInInfo
      	GTile
      	GDrawable
      	GPixelRgn
      	GParamColor
      	GParamRegion
      	GParamData
      	GParamDef
      	GParam: s/G/Gimp/
      
      	* app/gimphelp_cmds.c
      	* app/plug_in_cmds.c
      	* tools/pdbgen/pdb/gimphelp.pdb
      	* tools/pdbgen/pdb/plug_in.pdb: changed help texts.
      053af2f1
  30. 30 May, 2000 1 commit
  31. 27 May, 2000 1 commit
    • Michael Natterer's avatar
      Libgimp cleanup part II (with a little help from Yosh who moved the CVS · 6fa33d68
      Michael Natterer authored
      2000-05-27  Michael Natterer  <mitch@gimp.org>
      
      	Libgimp cleanup part II (with a little help from Yosh
      	who moved the CVS files).
      
      	* libgimp/Makefile.am
      	* libgimp/gimpchannel_pdb.c
      	* libgimp/gimpdisplay_pdb.c
      	* libgimp/gimpdrawable_pdb.c
      	* libgimp/gimpgradient_pdb.c
      	* libgimp/gimphelp_pdb.c
      	* libgimp/gimpimage_pdb.c
      	* libgimp/gimplayer_pdb.c
      	* libgimp/gimppalette_pdb.c
      	* libgimp/gimpparasite_pdb.c
      	* libgimp/gimpselection_pdb.c
      	* libgimp/gimpunit_pdb.c: new names of all files which contain
      	PDB wrappers.
      
      	* modules/Makefile.am
      	* libgimp/gimpcolordisplay.h
      	* libgimp/gimpcolorselector.h
      	* modules/gimpmodregister.[ch]: renamed.
      
      	* libgimp/gimpparasiteF.h
      	* libgimp/gimpparasiteP.h: removed because gimp.h had to include
      	the private header anyway.
      
      	* app/color_notebook.c
      	* app/color_select.c
      	* app/gdisplay_color.[ch]
      	* app/gdisplay_color_ui.c
      	* app/gimpbrushpipe.c
      	* app/gimpdrawable.[ch]
      	* app/gimpimage.c
      	* app/gimpimage.h
      	* app/gimpparasite.[ch]
      	* app/gimprc.c
      	* app/image_new.c
      	* app/layer.c
      	* app/parasite_cmds.c
      	* app/parasitelist.[ch]
      	* app/plug_in.c
      	* app/procedural_db.c
      	* app/undo.c
      	* app/xcf.c
      	* libgimp/gimp.[ch]
      	* libgimp/gimpcolordisplay.h
      	* libgimp/gimpparasite.[ch]
      	* modules/cdisplay_gamma.c
      	* modules/cdisplay_highcontrast.c
      	* modules/colorsel_gtk.c
      	* modules/colorsel_triangle.c
      	* modules/colorsel_water.c
      	* plug-ins/FractalExplorer/Dialogs.c
      	* plug-ins/FractalExplorer/Events.c
      	* plug-ins/Lighting/lighting_apply.c
      	* plug-ins/Lighting/lighting_shade.c
      	* plug-ins/MapObject/mapobject_image.c
      	* plug-ins/common/gpb.c
      	* plug-ins/common/psp.c
      	* plug-ins/sel2path/sel2path.c
      	* po-libgimp/POTFILES.in
      	* tools/pdbgen/pdb.pl
      	* tools/pdbgen/pdb/parasite.pdb: changed includes accordingly.
      6fa33d68
  32. 19 Apr, 2000 1 commit
    • Michael Natterer's avatar
      app/bucket_fill.c app/by_color_select.c app/fuzzy_select.c made the · 236e4856
      Michael Natterer authored
      2000-04-19  Michael Natterer  <mitch@gimp.org>
      
      	* app/bucket_fill.c
      	* app/by_color_select.c
      	* app/fuzzy_select.c
      	* app/preferences_dialog.c: made the "default_threshold" gimprc
      	variable work as advertized:
      
      	- initialize the thresholds with it.
      	- use it for "Reset".
      	- added a widget to the "Tool Options" preferences page.
      	- noticed that the "Reset" button of "By Color Select" doesn't
      	  behave like all the other "Reset" buttons and changed it to
      	  reset the ui, not the selection.
      	  (There is now a "None" button and because it was so trivial, I
      	  couldn't resist to add "All" and "Invert" buttons, too)
      
      	* libgimp/Makefile.am
      	* libgimp/gimpui.c: new file.
      	* libgimp/gimpui.h: new function gimp_ui_init() which will be
      	called by all plugins which have a ui (not only by those with a
      	preview because plugins should always follow gimp's colormap
      	installation policy).
      
      	Could someone please check if the FIXME stuff in the function
      	is the right thing to do (TM). Does GdkRGB allocate the correct
      	colors for the widgets in all cases or do we have to find another
      	way to ensure this across processes (gtk instances)?
      236e4856
  33. 26 Feb, 2000 1 commit
  34. 18 Feb, 2000 1 commit
    • Michael Natterer's avatar
      libgimp/Makefile.am simple widget which creates a pixmap from XPM data · f9f4411f
      Michael Natterer authored
      2000-02-18  Michael Natterer  <mitch@gimp.org>
      
      	* libgimp/Makefile.am
      	* libgimp/gimppixmap.[ch]: simple widget which creates a pixmap
      	from XPM data without the need to worry about it's parent's
      	"realized" state and other stuff.
      
      	* libgimp/gimpcolorbutton.c: removed a gtk-doc comment from an
      	internal function.
      
      	* libgimp/gimpwidgets.[ch]: new function gimp_pixmap_button_new().
      
      	* app/gimpui.h
      	* libgimp/gimpui.h: include gimppixmap.h.
      
      	* app/gradient.c
      	* app/nav_window.c
      	* app/palette.c
      	* libgimp/gimpfileselection.[ch]
      	* libgimp/gimppatheditor.c
      	* libgimp/gimpquerybox.c
      	* plug-ins/FractalExplorer/FractalExplorer.c: use GimpPixmaps.
      
      	* plug-ins/Lighting/*
      	* plug-ins/MapObject/*: some more cleanups: reduced # of includes,
      	made private functions static, use GimpPixmaps.
      
      	* plug-ins/libgck/Makefile.am
      	* plug-ins/libgck/NEWS
      	* plug-ins/libgck/README
      	* plug-ins/libgck/TODO
      	* plug-ins/libgck/docs/html/gck.html
      	* plug-ins/libgck/docs/html/gck_application_window.html
      	* plug-ins/libgck/docs/html/gck_dialog_window.html
      	* plug-ins/libgck/docs/html/gckmath.html
      	* plug-ins/libgck/docs/html/gckui.html
      	* plug-ins/libgck/docs/html/gckvector.html: removed because they
      	documented files which don't exist any more.
      f9f4411f
  35. 10 Feb, 2000 1 commit
    • Michael Natterer's avatar
      removed the query boxes. · 9ffed655
      Michael Natterer authored
      2000-02-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/gimpui.[ch]: removed the query boxes.
      
      	* po-libgimp/POTFILES.in
      	* libgimp/Makefile.am
      	* libgimp/gimpui.h
      	* libgimp/gimpquerybox.[ch]: new files. Added a boolean query box
      	to get rid of all those handmade "yes/no" query dialogs. Changed
      	the query box callback prototypes to return the entered value
      	instead of a pointer to it.
      
      	* app/commands.c
      	* app/display_ops.c
      	* app/gradient.c
      	* app/palette.c
      	* app/paths_dialog.c: correctly call the new query box functions
      	and use the boolean query box instead of inventing this wheel over
      	and over again.
      
      	* app/global_edit.[ch]: same as above and cleaned up the public
      	interface.
      9ffed655
  36. 13 Jan, 2000 1 commit
    • Michael Natterer's avatar
      app/gimpui.[ch] removed & renamed some functions from gimpui.[ch] (see · c55bbde0
      Michael Natterer authored
      2000-01-13  Michael Natterer  <mitch@gimp.org>
      
      	* app/gimpui.[ch]
      	* app/preferences_dialog.c: removed & renamed some functions from
      	gimpui.[ch] (see below).
      
      	* libgimp/Makefile.am
      	* libgimp/gimpwidgets.[ch]; new files. Functions moved from
      	app/gimpui.[ch]. Added a constructor for the label + hscale +
      	entry combination used in many plugins (now hscale + spinbutton).
      
      	* libgimp/gimpui.h: include gimpwidgets.h
      
      	* plug-ins/megawidget/megawidget.[ch]: removed all functions
      	except the preview stuff (I'm not yet sure how to implement this
      	in libgimp because the libgimp preview should be general enough to
      	replace all the other plugin previews, too).
      
      	* plug-ins/borderaverage/Makefile.am
      	* plug-ins/borderaverage/borderaverage.c
      	* plug-ins/common/plugin-defs.pl
      	* plug-ins/common/Makefile.am
      	* plug-ins/common/aa.c
      	* plug-ins/common/align_layers.c
      	* plug-ins/common/animationplay.c
      	* plug-ins/common/apply_lens.c
      	* plug-ins/common/blinds.c
      	* plug-ins/common/bumpmap.c
      	* plug-ins/common/checkerboard.c
      	* plug-ins/common/colorify.c
      	* plug-ins/common/convmatrix.c
      	* plug-ins/common/cubism.c
      	* plug-ins/common/curve_bend.c
      	* plug-ins/common/deinterlace.c
      	* plug-ins/common/despeckle.c
      	* plug-ins/common/destripe.c
      	* plug-ins/common/displace.c
      	* plug-ins/common/edge.c
      	* plug-ins/common/emboss.c
      	* plug-ins/common/hot.c
      	* plug-ins/common/nlfilt.c
      	* plug-ins/common/pixelize.c
      	* plug-ins/common/waves.c
      	* plug-ins/sgi/sgi.c
      	* plug-ins/sinus/sinus.c: ui updates like removing megawidget,
      	using the dialog constructor, I18N fixes, indentation, ...
      c55bbde0