1. 02 Mar, 2005 1 commit
  2. 28 Dec, 2004 1 commit
    • Sven Neumann's avatar
      renamed menu_path parameter to menu_label and added a pointer to · 4d27239a
      Sven Neumann authored
      2004-12-28  Sven Neumann  <sven@gimp.org>
      
      	* libgimp/gimp.[ch] (gimp_install_procedure, gimp_install_temp_proc):
      	renamed menu_path parameter to menu_label and added a pointer to
      	gimp_plugin_menu_register()
      
      	* app/widgets/gimpsizebox.c (gimp_size_box_constructor): removed
      	unused variables.
      4d27239a
  3. 04 Oct, 2004 1 commit
    • Sven Neumann's avatar
      app/config/gimpguiconfig.[ch] added gimprc option "show-help-button". · 62b5c77c
      Sven Neumann authored
      2004-10-04  Sven Neumann  <sven@gimp.org>
      
              * app/config/gimpguiconfig.[ch]
              * app/config/gimprc-blurbs.h: added gimprc option "show-help-button".
      
              * app/dialogs/preferences-dialog.c: added a GUI for it.
      
              * app/dialogs/file-save-dialog.c
              * app/dialogs/image-new-dialog.c
              * app/dialogs/quit-dialog.c
              * app/display/gimpdisplayshell-close.c
              * app/widgets/gimphelp-ids.h: don't set help-ids on confirmation
              dialogs.
      
              * libgimpbase/gimpprotocol.[ch]
              * libgimp/gimp.[ch]: added boolean "show_help_button" to the
              config message.
      
              * app/plug-in/plug-in-run.c: pass the new preference to the plug-in.
      
              * libgimpwidgets/gimpdialog.[ch]: added new function that allows to
              set whether new dialogs should get a help button added.
      
              * app/gui/gui.c
              * libgimp/gimpui.c: call gimp_dialogs_show_help_button() according
              to the gimprc settings.
      62b5c77c
  4. 23 Sep, 2004 1 commit
    • Michael Natterer's avatar
      tools/pdbgen/pdb/brushes.pdb tools/pdbgen/pdb/gradients.pdb · 46989bc7
      Michael Natterer authored
      2004-09-23  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/pdb/brushes.pdb
      	* tools/pdbgen/pdb/gradients.pdb
      	* tools/pdbgen/pdb/palettes.pdb
      	* tools/pdbgen/pdb/patterns.pdb: removed the foos_set_foo()
      	procedures and marked the foos_set_foo() ones as deprecated. For
      	brushes, patterns and palettes, added foos_get_foo_info()
      	procedures which work like foos_get_foo_data() but return just the
      	properties, not the actual data. Allow NULL or "" to be passed
      	as name to all functions (use the current brush, pattern etc.
      	in this case).
      
      	* tools/pdbgen/pdb/fonts.pdb: cleanup.
      
      	* app/pdb/procedural_db.c: added the removed ones to the compat
      	hash table.
      
      	* libgimp/Makefile.am
      	* libgimp/gimpbrushes.[ch]
      	* libgimp/gimpgradients.[ch]
      	* libgimp/gimppalettes.[ch]
      	* libgimp/gimppatterns.[ch]: new files with compat functions
      	wich call the resp. gimp_context_*() functions.
      
      	* libgimp/gimp.h: changed accordingly.
      
      	* app/pdb/brushes_cmds.c
      	* app/pdb/gradients_cmds.c
      	* app/pdb/internal_procs.c
      	* app/pdb/palettes_cmds.c
      	* app/pdb/patterns_cmds.c
      	* libgimp/gimpbrushes_pdb.[ch]
      	* libgimp/gimpgradients_pdb.[ch]
      	* libgimp/gimppalettes_pdb.[ch]
      	* libgimp/gimppatterns_pdb.[ch]: regenerated.
      
      	* plug-ins/FractalExplorer/Dialogs.c
      	* plug-ins/gfig/gfig-dialog.c
      	* plug-ins/gfig/gfig-style.[ch]
      	* plug-ins/gflare/gflare.c: changed accordingly.
      46989bc7
  5. 22 Sep, 2004 2 commits
    • Michael Natterer's avatar
      removed the opacity and paint_mode functions... · 81256e00
      Michael Natterer authored
      2004-09-22  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/pdb/brushes.pdb: removed the opacity and paint_mode
      	functions...
      
      	* tools/pdbgen/pdb/context.pdb: ...and added them here.
      
      	* app/pdb/procedural_db.c: added them to the pdb_compat hash table.
      
      	* libgimp/Makefile.am
      	* libgimp/gimpbrushes.[ch]: new files with compat functions
      	which call the gimp_context_*() functions.
      
      	* libgimp/gimp.h: changed accordingly.
      
      	* app/pdb/brushes_cmds.c
      	* app/pdb/context_cmds.c
      	* app/pdb/internal_procs.c
      	* libgimp/gimpbrushes_pdb.[ch]
      	* libgimp/gimpcontext_pdb.[ch]: regenerated.
      81256e00
    • Michael Natterer's avatar
      tools/pdbgen/Makefile.am tools/pdbgen/groups.pl removed the "Palette" pdb · 35b372ea
      Michael Natterer authored
      2004-09-22  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/Makefile.am
      	* tools/pdbgen/groups.pl
      	* tools/pdbgen/pdb/palette.pdb: removed the "Palette" pdb group...
      
      	* tools/pdbgen/pdb/context.pdb: and added its functions to the
      	"Context" namespace instead.
      
      	* app/pdb/Makefile.am
      	* app/pdb/palette_cmds.c: removed.
      
      	* app/pdb/procedural_db.c: added them to the pdb_compat hash table.
      
      	* libgimp/Makefile.am
      	* libgimp/gimppalette_pdb.[ch]: removed.
      
      	* libgimp/gimppalette.[ch]: new files holding compat functions
      	which call gimp_context_*() functions.
      
      	* libgimp/gimp.h
      	* libgimp/gimpui.c: changed accordingly.
      
      	* app/pdb/context_cmds.c
      	* app/pdb/internal_procs.c
      	* libgimp/gimp_pdb.h
      	* libgimp/gimpcontext_pdb.[ch]: regenerated.
      
      	* plug-ins/MapObject/mapobject_image.c
      	* plug-ins/MapObject/mapobject_preview.c
      	* plug-ins/common/apply_lens.c
      	* plug-ins/common/blinds.c
      	* plug-ins/common/borderaverage.c
      	* plug-ins/common/checkerboard.c
      	* plug-ins/common/colortoalpha.c
      	* plug-ins/common/cubism.c
      	* plug-ins/common/exchange.c
      	* plug-ins/common/film.c
      	* plug-ins/common/gif.c
      	* plug-ins/common/grid.c
      	* plug-ins/common/mapcolor.c
      	* plug-ins/common/mblur.c
      	* plug-ins/common/mng.c
      	* plug-ins/common/mosaic.c
      	* plug-ins/common/papertile.c
      	* plug-ins/common/png.c
      	* plug-ins/common/polar.c
      	* plug-ins/common/semiflatten.c
      	* plug-ins/common/sinus.c
      	* plug-ins/common/sparkle.c
      	* plug-ins/common/vpropagate.c
      	* plug-ins/common/warp.c
      	* plug-ins/common/whirlpinch.c
      	* plug-ins/gfig/gfig-style.c
      	* plug-ins/gfli/gfli.c
      	* plug-ins/ifscompose/ifscompose.c
      	* plug-ins/maze/handy.c
      	* plug-ins/pagecurl/pagecurl.c
      	* plug-ins/pygimp/gimpmodule.c
      	* plug-ins/script-fu/scripts/*.scm: changed accordingly.
      35b372ea
  6. 03 Sep, 2004 1 commit
    • Michael Natterer's avatar
      replaced the never used "gdouble gamma" with 8 reserved gint8 and stuffed · 4085b1fe
      Michael Natterer authored
      2004-09-03  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpbase/gimpprotocol.h (struct _GPConfig): replaced the
      	never used "gdouble gamma" with 8 reserved gint8 and stuffed two
      	gint8 behind "gint8 show_tool_tips" where they fit in in a binary
      	compatible way due to 32bit aligning of the following "gint32
      	min_colors". Use the latter ones for "check_size" and
      	"check_type".
      
      	* libgimpbase/gimpprotocol.c (_gp_config_read,write): changed
      	accordingly to pass the new stuff over the wire.
      
      	* app/plug-in/plug-in-run.c: ditto. Pass the transpareny values
      	from GimpDisplayConfig to plug-ins.
      
      	* libgimp/gimp.[ch] (gimp_config): remember the new config values.
      	(gimp_check_size,type): new functions returning the new config values.
      
      	* libgimp/gimpdrawablepreview.c (gimp_drawable_preview_init):
      	use the new values to configure preview->area accordingly.
      4085b1fe
  7. 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
  8. 27 Jul, 2004 1 commit
    • Michael Natterer's avatar
      libgimp/Makefile.am libgimp/gimp.h libgimp/gimpui.h · 820b4d24
      Michael Natterer authored
      2004-07-27  Michael Natterer  <mitch@gimp.org>
      
      	* libgimp/Makefile.am
      	* libgimp/gimp.h
      	* libgimp/gimpui.h
      	* libgimp/gimppalettemenu.[ch]
      	* libgimp/gimppaletteselect.[ch]: added palette select wrapper and
      	widget (straight copy & string replace of the font select stuff).
      	Fixes bug #136130.
      
      	* plug-ins/script-fu/script-fu-enums.h
      	* plug-ins/script-fu/script-fu-scripts.c
      	* plug-ins/script-fu/siod-wrapper.c: added SF_PALETTE so it can
      	be used in scripts.
      
      	* plug-ins/script-fu/scripts/test-sphere.scm: added a palette
      	parameter to the test script.
      820b4d24
  9. 26 Jul, 2004 1 commit
    • Sven Neumann's avatar
      register GimpRGB as a boxed type. · c03a5b83
      Sven Neumann authored
      2004-07-26  Sven Neumann  <sven@gimp.org>
      
      	* libgimpcolor/gimprgb.[ch]: register GimpRGB as a boxed type.
      
      	* libgimpcolor/gimpadaptivesupersample.c
      	* libgimpcolor/gimpcolorspace.c
      	* libgimpcolor/gimprgb-parse.c
      	* libgimp/gimp.h: include <glib-object.h> instead of <glib.h>.
      c03a5b83
  10. 18 May, 2004 1 commit
    • 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
  11. 17 Feb, 2004 1 commit
    • Sven Neumann's avatar
      changed wm_name to app_name in the GimpConfig struct; increased · 3fb6adbc
      Sven Neumann authored
      2004-02-17  Sven Neumann  <sven@gimp.org>
      
      	* libgimpbase/gimpprotocol.[ch]: changed wm_name to app_name in
      	the GimpConfig struct; increased GIMP_PROTOCOL_VERSION.
      
      	* app/plug-in/plug-in-run.c (plug_in_run): pass the return value
      	of g_get_application_name() to the plug-ins.
      
      	* libgimp/gimp.[ch]: removed function gimp_wm_name(). Set the
      	plug-in's application name if an app_name is passed in the config
      	message.
      
      	* libgimp/gimpui.c: removed usage of gimp_wm_name(); it was wrong
      	to do it this way and caused all plug-ins claim to be the gimp-1.3
      	executable in their error messages.
      
      	* libgimp/gimp.def: removed symbol gimp_wm_name.
      
      	* configure.in: reset gimp_binary_age and gimp_interface_age.
      
      	* app/core/gimpimage.c (gimp_image_name_changed): removed unused
      	variable.
      3fb6adbc
  12. 12 Jan, 2004 1 commit
  13. 05 Dec, 2003 1 commit
    • Michael Natterer's avatar
      libgimp/gimp.h libgimp/gimpbrushmenu.h libgimp/gimpbrushselect.[ch] · 7efa81d1
      Michael Natterer authored
      2003-12-05  Michael Natterer  <mitch@gimp.org>
      
      	* libgimp/gimp.h
      	* libgimp/gimpbrushmenu.h
      	* libgimp/gimpbrushselect.[ch]
      	* libgimp/gimpfontmenu.[ch]
      	* libgimp/gimpfontselect.[ch]
      	* libgimp/gimpgradientmenu.h
      	* libgimp/gimpgradientselect.[ch]
      	* libgimp/gimpmenu.h
      	* libgimp/gimpmisc.[ch]
      	* libgimp/gimpmiscui.[ch]
      	* libgimp/gimppatternmenu.h
      	* libgimp/gimppatternselect.[ch]
      	* libgimp/gimppixelrgn.[ch]
      	* libgimp/gimpproceduraldb.c
      	* libgimp/gimpselection.c
      	* libgimp/gimptile.h
      	* libgimp/gimptypes.h
      	* libgimp/gimpui.h
      	* libgimp/gimpuitypes.h
      	* libgimp/libgimp-intl.h
      	* libgimp/stdplugins-intl.h
      	* libgimpbase/gimpbase.h
      	* libgimpbase/gimpdatafiles.c
      	* libgimpbase/gimpenv.c
      	* libgimpbase/gimpparasite.[ch]
      	* libgimpbase/gimpparasiteio.[ch]
      	* libgimpbase/gimpsignal.[ch]
      	* libgimpbase/gimputils.c
      	* libgimpcolor/gimpadaptivesupersample.[ch]
      	* libgimpcolor/gimpbilinear.[ch]
      	* libgimpmath/gimpmath.h
      	* libgimpmath/gimpmathtypes.h
      	* libgimpwidgets/gimpbutton.[ch]
      	* libgimpwidgets/gimpchainbutton.h
      	* libgimpwidgets/gimpcolorarea.[ch]
      	* libgimpwidgets/gimpcolornotebook.h
      	* libgimpwidgets/gimpcolorscale.[ch]
      	* libgimpwidgets/gimpcolorscales.h
      	* libgimpwidgets/gimpcolorselect.h
      	* libgimpwidgets/gimpoffsetarea.h
      	* libgimpwidgets/gimppixmap.[ch]: removed trailing whitespace.
      7efa81d1
  14. 17 Nov, 2003 1 commit
    • Sven Neumann's avatar
      unref the gimp object after dumping the configuration as a test for · 921f00c1
      Sven Neumann authored
      2003-11-17  Sven Neumann  <sven@gimp.org>
      
      	* app/main.c: unref the gimp object after dumping the
      	configuration as a test for Gimp::finalize.
      
      	* app/base/base.[ch]: keep a reference on the config object.
      	Renamed parameter "use_mmx" to "use_cpu_accel".
      
      	* app/core/gimp.[ch]: call base_init() and base_exit() from
      	app_procs.c, not from the Gimp object.
      
      	* app/app_procs.[ch]: renamed app_init() to app_run() since here's
      	where the main loop is run. Actually quit the main loop in
      	app_exit_after_callback() instead of just calling exit().
      
      	* app/errors.[ch]: declared fatal error handlers as G_GNUC_NORETURN.
      
      	* libgimp/gimp.h: fixed usage of G_GNUC_NORETURN.
      921f00c1
  15. 07 Nov, 2003 1 commit
    • Michael Natterer's avatar
      added "wm_name", "wm_class", "display_name" and "monitor_number" to the · efd9a3e1
      Michael Natterer authored
      2003-11-07  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpbase/gimpprotocol.[ch]: added "wm_name", "wm_class",
      	"display_name" and "monitor_number" to the GPConfig message.
      	Increased protocol version number.
      
      	* libgimp/gimp.[ch] (gimp_config): read them from the GPConfig
      	message and remember them.
      	Added public accessors for the new config values.
      
      	* libgimp/gimpui.c (gimp_ui_init): pass wm_name and wm_class to
      	gtk_init() and export the display/screen to use to the
      	environment.
      
      	* app/core/gimp.[ch]: added vtable entries to get the values
      	from the GUI.
      
      	* app/gui/gui-vtable.c: implement the vtable entries.
      
      	* app/plug-in/plug-in-run.c: fill in the GPConfig values using
      	the new Gimp vtable functions.
      
      	* app/display/gimpdisplayshell-layer-select.c
      	* app/display/gimpdisplayshell.c
      	* app/gui/about-dialog.c
      	* app/gui/channels-commands.c
      	* app/gui/color-notebook.c
      	* app/gui/convert-dialog.c
      	* app/gui/file-dialog-utils.[ch]
      	* app/gui/file-new-dialog.c
      	* app/gui/file-open-dialog.c
      	* app/gui/file-save-dialog.c
      	* app/gui/gradient-editor-commands.c
      	* app/gui/gradients-commands.c
      	* app/gui/grid-dialog.c
      	* app/gui/image-commands.c
      	* app/gui/info-dialog.[ch]
      	* app/gui/info-window.c
      	* app/gui/layers-commands.c
      	* app/gui/module-browser.c
      	* app/gui/offset-dialog.c
      	* app/gui/palette-import-dialog.c
      	* app/gui/qmask-commands.c
      	* app/gui/resize-dialog.c
      	* app/gui/splash.c
      	* app/gui/stroke-dialog.c
      	* app/gui/templates-commands.c
      	* app/gui/tips-dialog.c
      	* app/gui/vectors-commands.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimplevelstool.c
      	* app/widgets/gimpdock.c
      	* app/widgets/gimperrorconsole.c
      	* app/widgets/gimptexteditor.c
      	* app/widgets/gimptoolbox.c
      	* app/widgets/gimpviewabledialog.[ch]
      	* libgimpwidgets/gimpfileselection.c
      	* libgimpwidgets/gimpquerybox.c
      	* libgimpwidgets/gimpunitmenu.c
      	* plug-ins/helpbrowser/dialog.c
      	* plug-ins/ifscompose/ifscompose.c: replaced all calls to
      	gtk_window_set_wmclass() by gtk_window_set_role() and all
      	"const gchar *wmclass_name" parameters by "const gchar *role".
      	Cleaned up the window role strings.
      efd9a3e1
  16. 01 Jul, 2003 2 commits
    • Sven Neumann's avatar
      libgimp/gimp.[ch] libgimp/gimpchannel.[ch] libgimp/gimpdrawable.[ch] · 4d61cc56
      Sven Neumann authored
      2003-07-01  Sven Neumann  <sven@gimp.org>
      
      	* libgimp/gimp.[ch]
      	* libgimp/gimpchannel.[ch]
      	* libgimp/gimpdrawable.[ch]
      	* libgimp/gimpimage.[ch]
      	* libgimp/gimplayer.[ch]
      	* libgimp/gimpmisc.[ch]
      	* libgimp/gimpmiscui.[ch]
      	* libgimp/gimppixelrgn.[ch]
      	* libgimp/gimpproceduraldb.[ch]: added const qualifiers to the
      	libgimp API. Will cause lots of compiler warnings until the
      	generated PDB code has been constified as well.
      
      	* libgimpbase/gimpparasite.[ch]: use gconstpointer, not const
      	gpointer.
      4d61cc56
    • Michael Natterer's avatar
      removed all brush, font, gradient and pattern related code. · 92297ab6
      Michael Natterer authored
      2003-07-01  Michael Natterer  <mitch@gimp.org>
      
      	* libgimp/gimpmenu.[ch]: removed all brush, font, gradient
      	and pattern related code.
      
      	* libgimp/gimpbrushselect.[ch]
      	* libgimp/gimpfontselect.[ch]
      	* libgimp/gimpgradientselect.[ch]
      	* libgimp/gimppatternselect.[ch]: new files containing the
      	wrappers around their resp. _pdb.[ch] files. Changed function
      	names to gimp_*_select_new(). Added gimp_*_select_destroy()
      	functions so we're not forced to leak all wrappers. Cleanup.
      
      	* libgimp/gimpbrushmenu.h
      	* libgimp/gimpfontmenu.h
      	* libgimp/gimpgradientmenu.h
      	* libgimp/gimppatternmenu.h: new files. Changed function names
      	here too.
      
      	* libgimp/gimpbrushmenu.c
      	* libgimp/gimpfontmenu.c
      	* libgimp/gimpgradientmenu.c
      	* libgimp/gimppatternmenu.c: changed accordingly. Free the
      	foo_select wrappers when they are no longer needed (generally,
      	free everthing instead of leaking everything). Lots of cleanup.
      
      	* libgimp/Makefile.am
      	* libgimp/gimp.def
      	* libgimp/gimpui.def: changed accordingly.
      
      	* libgimp/gimp.h
      	* libgimp/gimpui.h: include the new headers.
      
      	* libgimp/gimpcompat.h: added the old function names here.
      
      	* plug-ins/FractalExplorer/Dialogs.c
      	* plug-ins/common/film.c
      	* plug-ins/gfig/gfig.c
      	* plug-ins/script-fu/script-fu-scripts.c: changed accordingly.
      
      2003-07-01  Michael Natterer  <mitch@gimp.org>
      
      	* libgimp/libgimp-docs.sgml
      	* libgimp/libgimp-sections.txt: follow libgimp cleanup, moved the
      	brush, font, gradient and pattern selection stuff to their own
      	sections.
      
      	* libgimp/tmpl/gimpfonts.sgml: removed.
      
      	* libgimp/tmpl/gimpbrushmenu.sgml
      	* libgimp/tmpl/gimpbrushselect.sgml
      	* libgimp/tmpl/gimpfontmenu.sgml
      	* libgimp/tmpl/gimpfontselect.sgml
      	* libgimp/tmpl/gimpgradientmenu.sgml
      	* libgimp/tmpl/gimpgradientselect.sgml
      	* libgimp/tmpl/gimppatternmenu.sgml
      	* libgimp/tmpl/gimppatternselect.sgml: new files.
      
      	* libgimp/tmpl/gimpbrushes.sgml
      	* libgimp/tmpl/gimpgradients.sgml
      	* libgimp/tmpl/gimpmenu.sgml
      	* libgimp/tmpl/gimppatterns.sgml: regenerated.
      92297ab6
  17. 19 Jun, 2003 2 commits
    • Sven Neumann's avatar
      documentation fixes. · 9ab621e7
      Sven Neumann authored
      2003-06-19  Sven Neumann  <sven@gimp.org>
      
      	* libgimp/gimp.[ch]: documentation fixes.
      9ab621e7
    • Michael Natterer's avatar
      Changed the semantics of GIMP_EXTENSION and (to some extent) of · ecb0b584
      Michael Natterer authored
      2003-06-19  Michael Natterer  <mitch@gimp.org>
      
      	Changed the semantics of GIMP_EXTENSION and (to some extent)
      	of GIMP_PLUGIN:
      
      	The old meaning of EXTENSION was "I live in the toolbox" and
      	PLUGIN meant "I take RUN-MODE,IMAGE,DRAWABLE args (but only if I
      	am invoked interactively)". This is completely useless, since
      	living in the toolbox means having "<Toolbox>" in the menu_path
      	and taking RUN-MODE,IMAGE,DRAWABLE means just that, regardless of
      	what type of procedure we are.
      
      	The new meaning of GIMP_PLUGIN is just "I am an ordinary procedure,
      	I am invoked, do my job and finish", while GIMP_EXTENSION means
      	"I will install temporary procedures and I will keep running to
      	keep them available".
      
      	(A GIMP_EXTENSION *must* call gimp_extension_ack() now to tell the
      	core that it's ready to run, or the core will block waiting for
      	the message !!!).
      
      	* configure.in: bumped version number to 1.3.16.
      
      	* libgimpbase/gimpprotocol.h: increased protocol version number so
      	old extensions will refuse to load.
      
      	* app/gui/plug-in-commands.c (plug_in_run_cmd_callback): don't
      	blindly pass RUN-MODE,IMAGE,DRAWABLE to GIMP_PLUGIN procedures but
      	look at their parameters and pass them either RUN-MODE, or
      	RUN-MODE,IMAGE, or RUN-MODE,IMAGE,DRAWABLE.
      
      	* app/pdb/procedural_db.c: cleaned up, better error reporting,
      	replaced an impossible error message by g_return_if_fail()
      
      	* app/plug-in/plug-in-message.c (plug_in_handle_proc_install):
      	better error messages.
      
      	* app/plug-in/plug-in-params.c: allocate parameter arrays using
      	g_new0() so we don't have to worry about uninitialized stuff
      	later.
      
      	* app/plug-in/plug-in-run.c (plug_in_run): wait for
      	gimp_extension_ack() installation confirmation for ALL extensions,
      	not just for automatically started ones.
      
      	* app/plug-in/plug-ins.c: cleanup.
      
      	* libgimp/gimp.[ch]: cleaned up and API-documented massively. Made
      	all magic values given in the GPConfig message static and added
      	accessor functions for them. Added gimp_tile_width()/height().
      	Added new function gimp_extension_enable() which turns on
      	asynchronous processing of temp_proc run requests without having
      	to enter an endless gimp_extension_process() loop. Moved all
      	private functions to the end of the file. Added tons of
      	g_return_if_fail() all over the place.  Call gimp_run_procedure2()
      	from gimp_run_procedure() instead of duplicating the
      	code. Indentation, spacing, stuff...
      
      	* libgimp/gimptile.[ch]: removed gimp_tile_width()/height().
      
      	* libgimp/gimpdrawable.c
      	* libgimp/gimppixelrgn.c
      	* libgimp/gimptile.c: use the gimp_tile_width()/height() accessor
      	functions.
      
      	* libgimp/gimp.def: added gimp_extension_enable.
      
      	* libgimp/gimpmenu.c: removed evil code which connected to
      	_readchannel manually and use gimp_extension_enable() for watching
      	temp_procs.
      
      	* plug-ins/helpbrowser/helpbrowser.c: removed the same evil code
      	here and call gimp_extension_enable(). Call gimp_extension_ack()
      	to let the core know that the temp_proc is installed.
      
      	* plug-ins/script-fu/script-fu.c: made all procedures except the
      	permanently running "extension_script_fu" ordinary GIMP_PLUGIN
      	procedures.
      
      	* plug-ins/common/curve_bend.c
      	* plug-ins/common/plugindetails.c
      	* plug-ins/common/screenshot.c
      	* plug-ins/common/uniteditor.c
      	* plug-ins/common/winclipboard.c
      	* plug-ins/dbbrowser/dbbrowser.c
      	* plug-ins/gfli/gfli.c
      	* plug-ins/twain/twain.c
      	* plug-ins/webbrowser/webbrowser.c
      	* plug-ins/winsnap/winsnap.c: made them all ordinary GIMP_PLUGIN
      	procedures and renamed them from "extension_*" to "plug_in_*".
      	Random cleanups.
      
      	* app/widgets/gimphelp.c
      	* plug-ins/maze/maze_face.c: call "plug_in_web_browser" now.
      ecb0b584
  18. 23 May, 2003 1 commit
    • Manish Singh's avatar
      gimp_main now takes a GimpPlugInInfo *, and PLUG_IN_INFO is now a static · f6fb0fff
      Manish Singh authored
      2003-05-23  Manish Singh  <yosh@gimp.org>
      
              * libgimp/gimp.[ch]: gimp_main now takes a GimpPlugInInfo *,
              and PLUG_IN_INFO is now a static variable set from that. This
              removes all the special casing for the Win32 and OS/2 ports around
              this. Also added a debugging hook for quit procs.
      
              * plug-ins/common/mng.c: moved MAIN() to the end so PLUG_IN_INFO is
              declared.
      
              * plug-ins/gimpressionist/gimpressionist.c: pass &PLUG_IN_INFO
              to gimp_main.
      
              * plug-ins/pygimp/gimpmodule.c: Here too. Also add a message
              function.
      f6fb0fff
  19. 07 Jan, 2003 1 commit
    • Michael Natterer's avatar
      removed gimp_help_init() and gimp_help_free(). Added _gimp_help_init() · bbc13c51
      Michael Natterer authored
      2003-01-07  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/gimphelpui.[ch]: removed gimp_help_init() and
      	gimp_help_free(). Added _gimp_help_init() instead.
      
      	* libgimpwidgets/gimpwidgets.def: changed accordingly.
      
      	* libgimpwidgets/gimpwidgets.c (gimp_widgets_init): call
      	_gimp_help_init() so it doesn't need to be done in all plug-ins
      	manually.
      
      	* libgimp/gimpcompat.h: added gimp_help_init() and gimp_help_free()
      	here as COMPAT_CRUFT.
      
      	* app/gui/gui.c
      	* plug-ins/FractalExplorer/Dialogs.c
      	* plug-ins/Lighting/lighting_ui.c
      	* plug-ins/MapObject/mapobject_ui.c
      	* plug-ins/common/AlienMap.c
      	* plug-ins/common/AlienMap2.c
      	* plug-ins/common/CML_explorer.c
      	* plug-ins/common/blur.c
      	* plug-ins/common/curve_bend.c
      	* plug-ins/common/gtm.c
      	* plug-ins/common/illusion.c
      	* plug-ins/common/jigsaw.c
      	* plug-ins/common/plasma.c
      	* plug-ins/common/polar.c
      	* plug-ins/common/ps.c
      	* plug-ins/common/randomize.c
      	* plug-ins/common/sinus.c
      	* plug-ins/common/snoise.c
      	* plug-ins/common/sparkle.c
      	* plug-ins/common/uniteditor.c
      	* plug-ins/common/warp.c
      	* plug-ins/common/wind.c
      	* plug-ins/gap/gap_arr_dialog.c
      	* plug-ins/gap/gap_mov_dialog.c
      	* plug-ins/gap/gap_navigator_dialog.c
      	* plug-ins/gdyntext/gdyntext_ui.c
      	* plug-ins/gfig/gfig.c
      	* plug-ins/gflare/gflare.c
      	* plug-ins/gimpressionist/gimpressionist.c
      	* plug-ins/maze/maze_face.c
      	* plug-ins/print/gimp_main_window.c
      	* plug-ins/sel2path/sel2path.c: removed the calls to
      	gimp_help_init() and gimp_help_free().
      
      	Fixed bug #81017:
      
      	* libgimpbase/gimpprotocol.[ch]: added "guint8 show_tool_tips"
      	to the GPConfig message. Increased the protocol version number.
      
      	* app/plug-in/plug-in.c: pass the value of gui_config->show_tool_tips.
      
      	* libgimp/gimp.[ch]: added gimp_show_tool_tips() to get the value
      	which was passed in the GPConfig message.
      
      	* libgimp/gimpui.c (gimp_ui_init): disable the tooltips
      	if show_tool_tips is FALSE.
      
      	* plug-ins/MapObject/mapobject_main.[ch]
      	* plug-ins/MapObject/mapobject_ui.c
      	* plug-ins/common/jigsaw.c
      	* plug-ins/gap/gap_navigator_dialog.c
      	* plug-ins/gfig/gfig.c: removed all plug-in specific GUI for
      	enabling/disabling tooltips.
      bbc13c51
  20. 26 Dec, 2002 1 commit
    • Tor Lillqvist's avatar
      Drop makefile.mingw{,.in}. · 5c547107
      Tor Lillqvist authored
      2002-12-26  Tor Lillqvist  <tml@iki.fi>
      
      	* app/Makefile.am (EXTRA_DIST): Drop makefile.mingw{,.in}.
      
      	* libgimp/gimp.c: Define LIBGIMP_COMPILATION.
      	(gimp_main) [Win32] Use g_ascii_strcasecmp().
      
      	* libgimp/gimp.def: Add _readchannel (used by libgimpui).
      
      	* libgimp/gimp.h: Fix minor typo in comment.
      
      	* libgimp/Makefile.am: Similar additions for Win32 as in the other
      	libgimp*/Makefile.am files: Use -no-undefined. Conditionally link
      	to ../lib*/*.la as needed. Use the .def file. Produce MS style
      	import library if possible. Install and uninstall import
      	libraries. Don't distribute makefile.mingw{,.in}.
      5c547107
  21. 17 Dec, 2002 1 commit
  22. 20 Nov, 2002 1 commit
  23. 22 Nov, 2001 1 commit
    • Sven Neumann's avatar
      bumped version number to 1.3.1. Require Glib/GTK+-1.3.11 and Pango-0.22. · 757017a8
      Sven Neumann authored
      2001-11-23  Sven Neumann  <sven@gimp.org>
      
      	* configure.in: bumped version number to 1.3.1.
      	Require Glib/GTK+-1.3.11 and Pango-0.22. Removed GDK_DISABLE_COMPAT_H
      	and GTK_DISABLE_COMPAT_H from our default CFLAGS since they don't
      	exist any longer.
      
      	* RELEASE-TO-CVS.patch: removed since the glib/gtk+ API is supposed to
      	be frozen now.
      
      	* HACKING: removed reference to RELEASE-TO-CVS.patch
      
      	* app/gui/menus.c
      	* app/tools/gimptexttool.c: applied RELEASE-TO-CVS.patch to conform
      	to the new GTK+/Pango API.
      
      	* app/core/Makefile.am: generate marshallers with gimp_marshal prefix.
      
      	* app/core/gimpmarshal.list: added all marshallers we use.
      
      	* app/core/gimpmarshal.[ch]: regenerated.
      
      	* app/[lots of .c files]: use gimp_marshal_* for all marshallers.
      
      	* data/images/
      	* app/app_procs.c
      	* app/gui/splash.c:
      
      	* libgimpbase/Makefile.am
      	* libgimpbase/gimpbase.h
      	* libgimpbase/gimputils.[ch]: removed since they are no longer needed.
      
      	* app/gimprc.c
      	* plug-ins/common/ps.c
      	* plug-ins/gdyntext/gdyntext.c
      	* plug-ins/gdyntext/gdyntextcompat.c
      	* plug-ins/gfig/gfig.c
      	* plug-ins/gflare/gflare.c
      	* plug-ins/script-fu/script-fu-scripts.c: use glib functions instead
      	of gimp_strescape() and gimpstrcompress().
      
      	* cleaned up all header files: use G_BEGIN_DECLS/G_END_DECLS, declared
      	all _get_type function as G_GNUC_CONST.
      
      	* tools/pdbgen/enumcode.pl
      	* tools/pdbgen/lib.pl: make them generate header files using
      	G_BEGIN_DECLS/G_END_DECLS.
      
      	* pixmaps/Makefile.am
      	* pixmaps/wilber3.xpm: removed ...
      	* data/images/tips_wilber.png: ... and added here as PNG
      
      	* app/gui/tips-dialog.c: load the Wilber on demand using GdkPixbuf.
      
      	* data/images/gimp_splash.ppm: removed ...
      	* data/images/gimp_splash.png: ... and added as PNG
      
      	* app/app_procs.c
      	* app/gui/splash.[ch]: load the splash image using GdkPixbuf.
      
      	* app/gui/about-dialog.c: sink the GtkPreview.
      757017a8
  24. 25 Oct, 2001 1 commit
    • Michael Natterer's avatar
      removed gradients_get_gradient_data() here... · 552e2671
      Michael Natterer authored
      2001-10-26  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/pdb/gradient_select.pdb: removed
      	gradients_get_gradient_data() here...
      
      	* tools/pdbgen/pdb/gradients.pdb: ...and added it here.
      
      	* app/pdb/gradient_select_cmds.c
      	* app/pdb/gradients_cmds.c
      	* app/pdb/internal_procs.c
      	* libgimp/gimpgradients_pdb.[ch]
      	* libgimp/gimpgradientselect_pdb.[ch]: regenerated.
      
      	* app/core/gimpgradient.h: added GIMP_GRADIENT_DEFAULT_SAMPLE_SIZE
      	here...
      
      	* app/gui/gradient-select.h: ...removed it here.
      
      	* libgimp/Makefile.am
      	* libgimp/gimp.h
      	* libgimp/gimpgradientselect.[ch]: removed. We don't wrap
      	_gradients_get_gradient_data() with gradients_get_gradient_data()
      	any more but call the PDB wrapper directly.
      
      	API CHANGE: Arguments 2 and 3 are swapped now!
      
      	* plug-ins/FractalExplorer/Dialogs.c: changed accordingly.
      552e2671
  25. 19 Sep, 2001 1 commit
    • Sven Neumann's avatar
      require GTK+-1.3.8 and PangoFT2-0.19. · 334911e2
      Sven Neumann authored
      2001-09-19  Sven Neumann  <sven@gimp.org>
      
      	* configure.in: require GTK+-1.3.8 and PangoFT2-0.19.
      
      	* app/devices.c:
      	* app/tools/gimppainttool.c: removed intermediate hacks that are no
      	longer needed with the new GTK+ release.
      
      	* app/plug_in.c
      	* libgimp/gimp.[ch]
      	* libgimp/gimpui.c
      	* libgimpbase/gimpprotocol.[ch]: removed use_xshm and color_cube
      	variables and accessor functions.
      
      	* app/errors.c: use gtk_exit() instead of gdk_exit().
      
      	* app/gdisplay.c: use Pango API to determine cursor label width. This
      	does not work correctly, but at least it compiles...
      
      	* app/gui/splash.c: follow Pango API changes.
      
      	* app/tools/gimpcurvestool.[ch]: use PangoLayouts to draw text.
      
      	* app/tools/gimptexttool.c: follow Pango API changes.
      
      	* app/widgets/gimpfontselection-dialog.c
      	* app/widgets/gimpfontselection.c: mostly rewritten following the
      	changes in GtkFontSelection. This is unusable at the moment and
      	crashes, but at least it compiles again...
      
      	* plug-ins/Makefile.am: temporarily disabled build of ifscompose since
      	it does not compile any longer after the latest GDK cleanups.
      
      	* plug-ins/common/nlfilt.c: gimp_color_cube() is obsolete.
      334911e2
  26. 22 May, 2001 1 commit
    • Michael Natterer's avatar
      libgimp/.cvsignore libgimp/Makefile.am libgimp/gimp.h removed · 1cd6fcc1
      Michael Natterer authored
      2001-05-22  Michael Natterer  <mitch@gimp.org>
      
      	* libgimp/.cvsignore
      	* libgimp/Makefile.am
      	* libgimp/gimp.h
      	* libgimp/gimpfeatures.h.in: removed gimpfeatures.h
      
      	* libgimpbase/.cvsignore
      	* libgimpbase/Makefile.am
      	* libgimpbase/gimpbase.h
      	* libgimpbase/gimpbasetypes.h
      	* libgimpbase/gimpversion.h.in: and added it as gimpversion.h
      
      	* configure.in: changed accordingly.
      
      	* app/app_procs.c
      	* app/main.c
      	* app/gui/about-dialog.c
      	* app/gui/splash.c
      	* app/pdb/misc_cmds.c
      	* tools/pdbgen/pdb/misc.pdb: fixed includes.
      
      	* plug-ins/bmp/bmpread.c
      	* plug-ins/bmp/bmpwrite.c
      	* plug-ins/common/gif.c
      	* plug-ins/common/gifload.c
      	* plug-ins/common/jpeg.c
      	* plug-ins/common/newsprint.c
      	* plug-ins/common/ps.c
      	* plug-ins/common/tiff.c
      	* plug-ins/gdyntext/gdyntextcompat.h
      	* plug-ins/gimpressionist/gimpressionist.c
      	* plug-ins/perl/Gimp.xs
      	* plug-ins/perl/Gimp/Lib.xs
      	* plug-ins/pygimp/gimpmodule.c
      	* tools/gimp-remote.c: removed all #ifdef GIMP_HAVE_BLAH
      	conditionals as they are broken anyway since we changed all
      	plug-ins with perl scripts shortly before 1.2. Also, refering to
      	intermediate unstable releases is evil.
      1cd6fcc1
  27. 21 May, 2001 1 commit
    • Michael Natterer's avatar
      Makefile.am configure.in added new directory libgimpbase/ · 7d1375e9
      Michael Natterer authored
      2001-05-21  Michael Natterer  <mitch@gimp.org>
      
      	* Makefile.am
      	* configure.in
      	* gimptool-1.4.in: added new directory libgimpbase/
      
      	* app/Makefile.am: link against the new lib.
      
      	* app/appenums.h: removed the PDB enums which are in
      	libgimpbase/gimpbasetypes.h now. They are all "Gimp" prefixed.
      
      	* app/apptypes.h: #include "libgimpbase/gimpbasetypes.h"
      
      	* app/[lots]
      	* app/core/[of]
      	* app/gui/[files]
      	* app/tools/: changed includes and all PDB types.
      
      	* app/pdb/*: regenerated.
      
      	* libgimp/Makefile.am: don't build libgimpi.a uglyness any more.
      
      	* libgimp/gimpenv.[ch]
      	* libgimp/gimplimits.[hh]
      	* libgimp/gimpparasite.[ch]
      	* libgimp/gimpparasiteio.[ch]
      	* libgimp/gimpprotocol.[ch]
      	* libgimp/gimpsignal.[ch]
      	* libgimp/gimpunit.h
      	* libgimp/gimputils.[ch]
      	* libgimp/gimpwire.[ch]: removed...
      
      	* libgimpbase/*: ...and added here as new library.
      
      	* libgimp/gimp.[ch]
      	* libgimp/gimpdrawable.[ch]
      	* libgimp/gimpenums.h
      	* libgimp/gimpimage.[ch]
      	* libgimp/gimptile.c
      	* libgimp/gimptypes.h
      	* libgimp/gimpunit.c: changed accordingly. Added the
      	gimp_*_add_new_parasite to gimp.[ch], gimpdrawable.[ch] and
      	gimpimage.[ch].
      
      	* libgimpwidgets/gimppatheditor.c
      	* libgimpwidgets/gimpquerybox.c
      	* libgimpwidgets/gimpsizeentry.c
      	* libgimpwidgets/gimpunitmenu.c
      	* libgimpwidgets/gimpwidgets.c
      	* libgimpwidgets/gimpwidgetstypes.h: changed includes accordingly.
      
      	* plug-ins/*/Makefile.am
      	* plug-ins/common/mkgen.pl: link against libgimpbase.
      
      	* tools/pdbgen/Makefile.am: scan libgimpbase/gimpbasetypes.h, so
      	the enums are known to pdbgen...
      
      	* tools/pdbgen/enumcode.pl: ...but don't write them out to
      	libgimp/gimpenums.h
      
      	* tools/pdbgen/app.pl: include libgimp/gimpbase.h in all *_cmds.c
      	files. Added GIMP_ to the type names ganerated in app/.
      
      	* tools/pdbgen/enums.pl: regenerated.
      
      	* tools/pdbgen/pdb.pl
      	* tools/pdbgen/pdb/fileops.pdb
      	* tools/pdbgen/pdb/procedural_db.pdb
      	* tools/pdbgen/pdb/unit.pdb: changed includes.
      7d1375e9
  28. 09 May, 2001 1 commit
    • Michael Natterer's avatar
      app/Makefile.am removed. · d1022c34
      Michael Natterer authored
      2001-05-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/asupsample.[ch]: removed.
      
      	* app/core/Makefile.am
      	* app/core/core-types.h
      	* app/tools/Makefile.am
      	* app/tools/tools-types.h: new files.
      
      	* app/tools/gimptoolinfo.[ch]: removed.
      	* app/core/gimptoolinfo.[ch]: added here.
      
      	* libgimp/Makefile.am
      	* libgimp/gimp.h
      	* libgimp/gimpadaptivesupersample.[ch]
      	* libgimp/gimpbilinear.[ch]: removed here...
      
      	* libgimpcolor/Makefile.am
      	* libgimpcolor/gimpcolortypes.h
      	* libgimpcolor/gimpadaptivesupersample.[ch]
      	* libgimpcolor/gimpbilinear.[ch]: ..and added here.
      
      	* tools/pdbgen/app.pl
      	* tools/pdbgen/pdb/paths.pdb
      
      	* app/*.c: changed tons of #include's
      d1022c34
  29. 25 Jan, 2001 2 commits
    • Michael Natterer's avatar
      libgimp/Makefile.am libgimp/gimp.h removed. · 0790fdc7
      Michael Natterer authored
      2001-01-25  Michael Natterer  <mitch@gimp.org>
      
      	* libgimp/Makefile.am
      	* libgimp/gimp.h
      	* libgimp/gimpcompat.h: removed.
      
      	The GIMP 1.0 API is not supported any more !!!
      
      	* plug-ins/print/print-image-gimp.c
      	* plug-ins/print/print.c
      	* plug-ins/print/print_gimp.h: a quick fix for old compat cruft.
      	This is temporary and will be replaced by Gimp-Print's development
      	version.
      
      	* plug-ins/xjt/xjpeg.c: use GimpRGB.
      0790fdc7
    • Sven Neumann's avatar
      tools/pdbgen/lib.pl tools/pdbgen/pdb.pl tools/pdbgen/pdb/channel.pdb · 0d533abb
      Sven Neumann authored
      2001-01-25  Sven Neumann  <sven@gimp.org>
      
      	* tools/pdbgen/lib.pl
      	* tools/pdbgen/pdb.pl
      	* tools/pdbgen/pdb/channel.pdb
      	* tools/pdbgen/pdb/palette.pdb
      	* tools/pdbgen/pdb/tools.pdb: changed these with the help of
      	Yosh. PDB functions take GimpRGB as color type now.
      
      	* app/plug_in.c
      	* app/pdb/channel_cmds.c
      	* app/pdb/internal_procs.c
      	* app/pdb/palette_cmds.c
      	* app/pdb/procedural_db.[ch]
      	* app/pdb/tools_cmds.c
      	* libgimp/gimp.[ch]
      	* libgimp/gimpchannel.[ch]
      	* libgimp/gimpchannel_pdb.[ch]
      	* libgimp/gimppalette_pdb.[ch]
      	* libgimp/gimpprotocol.[ch]
      	* libgimp/gimptools_pdb.[ch]: incremented Gimp protocol version
      	and changed color type from array of chars to GimpRGB.
      
      	* libgimp/Makefile.am
      	* libgimp/gimppalette.[ch]: removed these files again
      
      	* app/libgimp_glue.[ch]
      	* libgimpwidgets/gimpcolorbutton.c
      	* plug-ins/Lighting/lighting_main.c
      	* plug-ins/Lighting/lighting_preview.c
      	* plug-ins/MapObject/mapobject_image.c
      	* plug-ins/MapObject/mapobject_main.c
      	* plug-ins/MapObject/mapobject_preview.c
      	* plug-ins/common/apply_lens.c
      	* plug-ins/common/blinds.c
      	* plug-ins/common/borderaverage.c
      	* plug-ins/common/checkerboard.c
      	* plug-ins/common/colorify.c
      	* plug-ins/common/colortoalpha.c
      	* plug-ins/common/cubism.c
      	* plug-ins/common/exchange.c
      	* plug-ins/common/film.c
      	* plug-ins/common/gif.c
      	* plug-ins/common/grid.c
      	* plug-ins/common/mapcolor.c
      	* plug-ins/common/mblur.c
      	* plug-ins/common/nova.c
      	* plug-ins/common/papertile.c
      	* plug-ins/common/png.c
      	* plug-ins/common/polar.c
      	* plug-ins/common/psd.c
      	* plug-ins/common/semiflatten.c
      	* plug-ins/common/sinus.c
      	* plug-ins/common/sparkle.c
      	* plug-ins/common/tiff.c
      	* plug-ins/common/vpropagate.c
      	* plug-ins/common/warp.c
      	* plug-ins/common/whirlpinch.c
      	* plug-ins/gap/gap_filter_iterators.c
      	* plug-ins/gap/gap_mov_dialog.c
      	* plug-ins/gdyntext/gdyntext.c
      	* plug-ins/gfig/gfig.c
      	* plug-ins/gfli/gfli.c
      	* plug-ins/ifscompose/ifscompose.c
      	* plug-ins/maze/handy.c
      	* plug-ins/mosaic/mosaic.c
      	* plug-ins/pagecurl/pagecurl.c
      	* plug-ins/script-fu/script-fu-scripts.c
      	* plug-ins/script-fu/script-fu.c
      	* plug-ins/xjt/xjt.c: changed accordingly. A few plug-ins need
      	to be looked at more closely after this change. I tried to put
      	FIXME comments into those.
      0d533abb
  30. 23 Jan, 2001 4 commits
    • Michael Natterer's avatar
      Makefile.am configure.in added stuff for the new library below. · cb166972
      Michael Natterer authored
      2001-01-24  Michael Natterer  <mitch@gimp.org>
      
      	* Makefile.am
      	* configure.in
      	* gimptool.in: added stuff for the new library below.
      
      	* libgimpmath/.cvsignore
      	* libgimpmath/Makefile.am
      	* libgimpmath/gimpmath.def
      	* libgimpmath/gimpmath.h
      	* libgimpmath/gimpmathtypes.h
      	* libgimpmath/gimpmatrix.c
      	* libgimpmath/gimpmatrix.h
      	* libgimpmath/gimpvector.c
      	* libgimpmath/gimpvector.h
      	* libgimpmath/makefile.mingw.in
      	* libgimpmath/makefile.msc: new shared library. Depends on glib only.
      
      	* libgimp/Makefile.am
      	* libgimp/gimp.def
      	* libgimp/gimp.h: removed the math stuff.
      
      	* libgimp/gimpmath.h
      	* libgimp/gimpmatrix.[ch]
      	* libgimp/gimpvector.[ch]: removed.
      
      	* app/Makefile.am
      	* plug-ins/Lighting/Makefile.am
      	* plug-ins/MapObject/Makefile.am
      	* plug-ins/pagecurl/Makefile.am: link against libgimpmath.la
      
      	* app/[many files]
      	* libgimpcolor/gimpcolorspace.c
      	* libgimpcolor/gimprgb.c
      	* libgimp/gimpadaptivesupersample.c
      	* libgimp/gimpbilinear.c
      	* libgimp/gimpwidgets.c
      	* modules/colorsel_gtk.c
      	* modules/colorsel_triangle.c
      	* modules/colorsel_water.c
      	* plug-ins/libgck/gck/gckcolor.c
      	* tools/pdbgen/pdb/channel.pdb
      	* tools/pdbgen/pdb/image.pdb: include "libgimpmath/gimpmath.h",
      	removed the remaining includes of the old color stuff.
      cb166972
    • Michael Natterer's avatar
      Makefile.am configure.in added stuff for the new library below. · e803bedd
      Michael Natterer authored
      2001-01-23  Michael Natterer  <mitch@gimp.org>
      
      	* Makefile.am
      	* configure.in
      	* gimptool.in: added stuff for the new library below.
      
      	* libgimpcolor/.cvsignore
      	* libgimpcolor/Makefile.am
      	* libgimpcolor/gimpcolor.h
      	* libgimpcolor/gimpcolorspace.c
      	* libgimpcolor/gimpcolorspace.h
      	* libgimpcolor/gimpcolortypes.h
      	* libgimpcolor/gimphsv.c
      	* libgimpcolor/gimphsv.h
      	* libgimpcolor/gimprgb.c
      	* libgimpcolor/gimprgb.h: new shared library which both the app
      	and plug-ins link against. The library depends only on glib.
      
      	* libgimpcolor/gimpcolor.def
      	* libgimpcolor/makefile.mingw.in
      	* libgimpcolor/makefile.msc: added Win32 build files which
      	definitely don't work.
      
      	* libgimp/Makefile.am
      	* libgimp/gimpcolor.[ch]
      	* libgimp/gimpcolorspace.[ch]: removed.
      
      	* libgimp/gimp.h
      	* libgimp/gimpadaptivesupersample.c
      	* libgimp/gimpbilinear.c
      	* libgimp/gimppalette.c
      	* libgimp/gimptypes.h: include the stuff from libgimpcolor.
      
      	Plug-Ins don't need to include <libgimpcolor/gimpcolor.h>
      	explicitely. LibGimp depends on libgimpcolor and thus also includes
      	it's headers.
      
      	* libgimp/gimp.def
      	* libgimp/makefile.mingw.in: fiddled around with Win32 stuff...
      
      	* app/Makefile.am: link against libgimpcolor.la
      
      	* app/apptypes.h: include "libgimpcolor/gimpcolortypes.h"
      
      	* app/asupsample.c
      	* app/channels_dialog.c
      	* app/colormap_dialog.c
      	* app/commands.c
      	* app/convert.c
      	* app/devices.c
      	* app/disp_callbacks.c
      	* app/drawable.c
      	* app/gimpcontext.c
      	* app/gimpdnd.c
      	* app/gimpimage.c
      	* app/gimppalette.c
      	* app/gimprc.c
      	* app/gradient.c
      	* app/libgimp_glue.c
      	* app/palette.c
      	* app/palette_import.c
      	* app/qmask.c
      	* app/xcf.c
      	* app/tools/paint_core.c
      	* app/tools/paintbrush.c
      	* app/tools/pencil.c: include "libgimpcolor/gimpcolor.h" before all
      	gimp includes because it's a standalone library.
      
      	* plug-ins/FractalExplorer/Makefile.am
      	* plug-ins/Lighting/Makefile.am
      	* plug-ins/MapObject/Makefile.am
      	* plug-ins/bmp/Makefile.am
      	* plug-ins/common/Makefile.am
      	* plug-ins/common/mkgen.pl
      	* plug-ins/dbbrowser/Makefile.am
      	* plug-ins/faxg3/Makefile.am
      	* plug-ins/fits/Makefile.am
      	* plug-ins/flame/Makefile.am
      	* plug-ins/fp/Makefile.am
      	* plug-ins/gap/Makefile.am
      	* plug-ins/gdyntext/Makefile.am
      	* plug-ins/gfig/Makefile.am
      	* plug-ins/gflare/Makefile.am
      	* plug-ins/gfli/Makefile.am
      	* plug-ins/gimpressionist/Makefile.am
      	* plug-ins/helpbrowser/Makefile.am
      	* plug-ins/ifscompose/Makefile.am
      	* plug-ins/imagemap/Makefile.am
      	* plug-ins/maze/Makefile.am
      	* plug-ins/mosaic/Makefile.am
      	* plug-ins/pagecurl/Makefile.am
      	* plug-ins/print/Makefile.am
      	* plug-ins/rcm/Makefile.am
      	* plug-ins/script-fu/Makefile.am
      	* plug-ins/sel2path/Makefile.am
      	* plug-ins/sgi/Makefile.am
      	* plug-ins/webbrowser/Makefile.am
      	* plug-ins/xjt/Makefile.am: add libgimpcolor.la to LDADD.
      
      	* INSTALL: don't recommend to --disable-shared for development.
      
      	* TODO.xml: increased some percentages, added plug-in help stuff.
      e803bedd
    • Michael Natterer's avatar
      app/Makefile.am new files containing stuff needed for linking libgimp · b346ba96
      Michael Natterer authored
      2001-01-23  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/libgimp_glue.[ch]: new files containing stuff needed for
      	linking libgimp stuff against the app. This file is not needed
      	at all for the app itself and should never be included.
      
      	* app/gimpcontext.[ch]: removed from here.
      
      	* libgimp/Makefile.am
      	* libgimp/gimp.h
      	* libgimp/gimppalette.[ch]: new files for the PDB wrapping
      	gimp_palette_*_rgb() stuff.
      
      	* libgimp/gimpcolor.[ch]: removed the PDB dependency from here.
      b346ba96
    • Michael Natterer's avatar
      libgimp/Makefile.am libgimp/gimp.h libgimp/gimpadaptivesupersample.[ch] · 75760de9
      Michael Natterer authored
      2001-01-23  Michael Natterer  <mitch@gimp.org>
      
      	* libgimp/Makefile.am
      	* libgimp/gimp.h
      	* libgimp/gimpadaptivesupersample.[ch]
      	* libgimp/gimpbilinear.[ch]: new files cut out of LibGCK.
      
      	* plug-ins/libgck/gck/gck.h
      	* plug-ins/libgck/gck/gckcolor.c: removed the bilinear and
      	supersample code.
      
      	* app/apptypes.h
      	* app/asupsample.[ch]
      	* app/tools/blend.c: made the adaptive_supersample interface the
      	same as in libgimp but don't use the libgimp function yet.
      
      	The libgimp function takes total transparancy into account when
      	weighting the 4 resulting RGBA values, the app function always
      	weights them equally. Please have a look at the code.
      
      	* plug-ins/Lighting/lighting_image.c
      	* plug-ins/MapObject/mapobject_apply.c
      	* plug-ins/MapObject/mapobject_image.[ch]: changed accordingly.
      
      	* app/disp_callbacks.c: paranoia cleanups.
      75760de9
  31. 01 Jan, 2001 1 commit
    • Michael Natterer's avatar
      plug-ins/libgck/gck/gck.h removed the GckRGB color type and all it's · 4245ab65
      Michael Natterer authored
      2001-01-01  Michael Natterer  <mitch@gimp.org>
      
      	* plug-ins/libgck/gck/gck.h
      	* plug-ins/libgck/gck/gckcolor.c: removed the GckRGB color type
      	and all it's functions.
      
      	* libgimp/Makefile.am
      	* libgimp/gimpcolor.[ch]: new files containing the new GimpRGB color
      	type and assorted functions.
      
      	* libgimp/gimpcolorspace.[ch]: colorspace conversion routines for
      	the new GimpRGB type. Also taken from LibGCK.
      
      	* libgimp/gimp.h
      	* libgimp/gimptypes.h: #include "gimpcolor.h". It's ugly to include
      	it in both files but unavoidable to follow our new "*.c" file include
      	policy. This will go away as libgimp will be chopped up into pieces
      	anyway.
      
      	* app/apptypes.h
      	* app/asupsample.[ch]
      	* app/blend.c
      	* app/color_transfer.h
      	* app/gradient_header.h: removed "color_t" and use GimpRGB instead.
      
      	* plug-ins/Lighting/lighting_apply.c
      	* plug-ins/Lighting/lighting_image.c
      	* plug-ins/Lighting/lighting_image.h
      	* plug-ins/Lighting/lighting_main.c
      	* plug-ins/Lighting/lighting_main.h
      	* plug-ins/Lighting/lighting_preview.c
      	* plug-ins/Lighting/lighting_shade.c
      	* plug-ins/Lighting/lighting_shade.h
      	* plug-ins/MapObject/mapobject_apply.c
      	* plug-ins/MapObject/mapobject_image.c
      	* plug-ins/MapObject/mapobject_image.h
      	* plug-ins/MapObject/mapobject_main.c
      	* plug-ins/MapObject/mapobject_main.h
      	* plug-ins/MapObject/mapobject_preview.c
      	* plug-ins/MapObject/mapobject_shade.c
      	* plug-ins/MapObject/mapobject_shade.h
      	* modules/colorsel_triangle.c: s/GckRGB/GimpRGB/g
      
      	* plug-ins/gdyntext/gdyntextcompat.h: check also for GIMP's minor
      	version when deciding if to add a missing PDB wrapper.
      	(All this compat cruft including libgimp/gimpcompat.h should go
      	away ASAP)
      4245ab65
  32. 27 Aug, 2000 1 commit
  33. 07 Aug, 2000 1 commit
    • Michael Natterer's avatar
      forgot to commit this last weekend :) · 95ccd16f
      Michael Natterer authored
      2000-08-04  Michael Natterer  <mitch@gimp.org>
      	    Sven Neumann  <sven@gimp.org>
      
      	* libgimp/gimp.h
      	* libgimp/gimpcompat.h
      	* plug-ins/common/curve_bend.c
      	* plug-ins/common/plugindetails.c
      	* plug-ins/dbbrowser/dbbrowser_utils.c
      	* plug-ins/gap/gap_dbbrowser_utils.c
      	* plug-ins/gap/gap_filter_codegen.c
      	* plug-ins/gap/gap_filter_pdb.c
      	* plug-ins/gap/gap_pdb_calls.c
      	* plug-ins/maze/maze_face.c
      	* plug-ins/pygimp/gimpmodule.c
      	* plug-ins/script-fu/script-fu-scripts.c
      	* plug-ins/script-fu/script-fu.c
      	* plug-ins/xjt/xpdb_calls.c: removed COMPAT_CRUFT
      95ccd16f