1. 24 Jan, 2001 1 commit
    • Michael Natterer's avatar
      Makefile.am configure.in added the new library below. · 7a4260da
      Michael Natterer authored
      2001-01-24  Michael Natterer  <mitch@gimp.org>
      
      	* Makefile.am
      	* configure.in
      	* gimptool.in: added the new library below.
      
      	* libgimpwidgets/Makefile.am
      	* libgimpwidgets/gimpchainbutton.[ch]
      	* libgimpwidgets/gimpcolorarea.[ch]
      	* libgimpwidgets/gimpcolorbutton.[ch]
      	* libgimpwidgets/gimpdialog.[ch]
      	* libgimpwidgets/gimpfileselection.[ch]
      	* libgimpwidgets/gimphelpui.[ch]
      	* libgimpwidgets/gimppatheditor.[ch]
      	* libgimpwidgets/gimppixmap.[ch]
      	* libgimpwidgets/gimpquerybox.[ch]
      	* libgimpwidgets/gimpsizeentry.[ch]
      	* libgimpwidgets/gimpunitmenu.[ch]
      	* libgimpwidgets/gimpwidgets.[ch]
      	* libgimpwidgets/gimpwidgets.def
      	* libgimpwidgets/gimpwidgetstypes.h: new shared library.
      
      	Currently there are some ugly dependencies into libgimp. These
      	will be removed and go to a "libgimpglue" library which will be
      	a library for functions which share a common interface between
      	plug-ins and the app but have different implementations.
      
      	Include "libgimp/gimpunit.h" from "libgimpwidgets/gimpwidgetstypes.h"
      	to simulate this upcoming separation.
      
      	* libgimp/Makefile.am
      	* libgimp/gimpchainbutton.[ch]
      	* libgimp/gimpcolorarea.[ch]
      	* libgimp/gimpcolorbutton.[ch]
      	* libgimp/gimpdialog.[ch]
      	* libgimp/gimpfileselection.[ch]
      	* libgimp/gimphelpui.[ch]
      	* libgimp/gimppatheditor.[ch]
      	* libgimp/gimppixmap.[ch]
      	* libgimp/gimpquerybox.[ch]
      	* libgimp/gimpsizeentry.[ch]
      	* libgimp/gimpunitmenu.[ch]
      	* libgimp/gimpwidgets.[ch]: removed from here.
      
      	* libgimp/gimpui.h
      	* libgimp/gimpuitypes.h
      	* libgimp/makefile.mingw.in
      	* libgimp/makefile.msc: changed accordingly.
      
      	* app/[all ui files]
      	* app/pdb/palette_cmds.c
      	* app/pdb/tools_cmds.c
      	* tools/pdbgen/pdb/palette.pdb
      	* tools/pdbgen/pdb/tools.pdb: #include "libgimpwidgets/gimpwidgets.h"
      	and removed useless includes.
      
      	* app/apptypes.h: #include "libgimpwidgets/gimpwidgetstypes.h"
      
      	* app/Makefile.am
      	* plug-ins/[all makefiles which link against libgimpui]:
      	link against libgimpwidgets.la
      
      	* po-libgimp/POTFILES.in: changed file locations.
      7a4260da
  2. 23 Jan, 2001 1 commit
    • 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
  3. 21 Jan, 2001 1 commit
    • Michael Natterer's avatar
      added a "title" parameter to the constructor. Pass a pointer to the · f96d3776
      Michael Natterer authored
      2001-01-21  Michael Natterer  <mitch@gimp.org>
      
      	* app/color_notebook.[ch]: added a "title" parameter to the
      	constructor. Pass a pointer to the ColorNotebook to the callback.
      	Added a _get_color() function.
      
      	* app/color_panel.[ch]: added a "title" parameter which is used
      	for the notebook.
      
      	* app/channels_dialog.c
      	* app/color_area.c
      	* app/colormap_dialog.c
      	* app/convert.c
      	* app/palette_select.c
      	* app/qmask.c: changed the calls to color_notebook_new(),
      	color_panel_new() and the ColorNotebook callbacks.
      
      	* app/gradient.c: use a ColorNotebook instead of GtkColorSelection.
      
      	* app/palette.c
      	* app/palette_entries.h: use GimpRGB to store the color in the
      	PaletteEntry.
      
      	* po/POTFILES.in: added app/color_area.c
      f96d3776
  4. 20 Jan, 2001 1 commit
    • Michael Natterer's avatar
      app/color_notebook.[ch] app/gimpcontext.[ch] made the _set_color() and · 8571f45c
      Michael Natterer authored
      2001-01-20  Michael Natterer  <mitch@gimp.org>
      
      	* app/color_notebook.[ch]
      	* app/gimpcontext.[ch]
      	* app/gimpdnd.h: made the _set_color() and _drop_color() functions
      	take a "const GimpRGB *" parameter.
      
      	* app/by_color_select.c
      	* app/channels_dialog.c
      	* app/color_area.c
      	* app/color_panel.c
      	* app/color_picker.c
      	* app/color_select.c
      	* app/colormap_dialog.c
      	* app/disp_callbacks.[ch]
      	* app/gimpimage.h
      	* app/palette.c: changed accordingly.
      
      	* app/gradient.c
      	* app/gradientP.h
      	* app/gradient_header.h: use GimpRGB internally.
      8571f45c
  5. 17 Jan, 2001 1 commit
  6. 16 Jan, 2001 4 commits
    • Sven Neumann's avatar
      fixed my last change · 9d1a945a
      Sven Neumann authored
      2001-01-16  Sven Neumann  <sven@gimp.org>
      
      	* app/color_notebook.c: fixed my last change
      
      	* libgimp/gimpcolorarea.c: swapped opaque and transparent areas
      9d1a945a
    • Sven Neumann's avatar
      fixed RGB to HSV routine · e4a16ae6
      Sven Neumann authored
      2001-01-16  Sven Neumann  <sven@gimp.org>
      
      	* libgimp/gimpcolorspace.c: fixed RGB to HSV routine
      
      	* app/color_notebook.c: tweaked dialog layout a little, disabled
      	toggle_buttons if the colorselector does not implement the set_channel
      	method.
      
      	* modules/colorsel_gtk.c
      	* modules/colorsel_triangle.c
      	* modules/colorsel_water.c: removed empty set_channel methods
      e4a16ae6
    • Michael Natterer's avatar
      app/color_area.c app/color_notebook.[ch] app/color_panel.c app/gimprc.c · 650e7703
      Michael Natterer authored
      2001-01-16  Michael Natterer  <mitch@gimp.org>
      
      	* app/color_area.c
      	* app/color_notebook.[ch]
      	* app/color_panel.c
      	* app/gimprc.c
      	* app/session.c: store the color history in sessionrc.
      
      	* app/channels_dialog.c: tweaked the "new channel" and "channel
      	atributes" dialogs a bit.
      650e7703
    • Michael Natterer's avatar
      added a global color history of 16 colors. The "Add" button uses neither · 5042a630
      Michael Natterer authored
      2001-01-16  Michael Natterer  <mitch@gimp.org>
      
      	* app/color_notebook.c: added a global color history of 16 colors.
      	The "Add" button uses neither LRU nor pure right-shift order but
      	something in between. The history is scheduled to go to sessionrc.
      5042a630
  7. 15 Jan, 2001 4 commits
    • Sven Neumann's avatar
      make use of GimpColorAreas. Added two buttons to set the color to black or · e1cb5869
      Sven Neumann authored
      2001-01-15  Sven Neumann  <sven@gimp.org>
      
      	* app/color_notebook.c: make use of GimpColorAreas. Added two
      	buttons to set the color to black or white.
      e1cb5869
    • Michael Natterer's avatar
      app/color_notebook.c modules/colorsel_gtk.c tweaked dialog layout a bit. · ebaa274c
      Michael Natterer authored
      2001-01-15  Michael Natterer  <mitch@gimp.org>
      
      	* app/color_notebook.c
      	* modules/colorsel_gtk.c
      	* modules/colorsel_triangle.c: tweaked dialog layout a bit.
      
      	* modules/colorsel_water.c: removed all widgets except the color
      	selector itself (the history and the "Reset" button will go
      	to the ColorNotebook).
      ebaa274c
    • Michael Natterer's avatar
      app/color_notebook.[ch] app/color_select.c libgimp/gimpcolorselector.h · 368d0efe
      Michael Natterer authored
      2001-01-15  Michael Natterer  <mitch@gimp.org>
      
      	* app/color_notebook.[ch]
      	* app/color_select.c
      	* libgimp/gimpcolorselector.h
      	* modules/colorsel_gtk.c
      	* modules/colorsel_triangle.c
      	* modules/colorsel_water.c: use GimpRGB and GimpHSV.
      
      	* libgimp/gimpcolor.c
      	* libgimp/gimpcolorspace.[ch]: All rgb_to_hsv functions:
      
      	if r == g == b the difference between the max and min value
      	is 0 and we should avoid to divide by it ;-)
      368d0efe
    • Michael Natterer's avatar
      app/color_notebook.[ch] app/color_panel.[ch] app/gimpcontext.[ch] use · dc9cf1a2
      Michael Natterer authored
      2001-01-15  Michael Natterer  <mitch@gimp.org>
      
      	* app/color_notebook.[ch]
      	* app/color_panel.[ch]
      	* app/gimpcontext.[ch]
      	* app/gimpdnd.[ch]: use GimpRGB instead of a random selection out of
      	guchar, gint, guchar[], blah...
      
      	* app/blend.c
      	* app/by_color_select.c
      	* app/channel_ops.c
      	* app/channels_dialog.c
      	* app/color_area.c
      	* app/color_picker.c
      	* app/color_select.c
      	* app/colormap_dialog.c
      	* app/commands.c
      	* app/devices.[ch]
      	* app/disp_callbacks.[ch]
      	* app/drawable.c
      	* app/gimpimage.c
      	* app/gimprc.c
      	* app/gradient.c
      	* app/paint_core.c
      	* app/palette.c
      	* app/palette_cmds.c
      	* app/qmask.c
      	* tools/pdbgen/pdb/palette.pdb: changed accordingly.
      dc9cf1a2
  8. 09 Jan, 2001 2 commits
    • Michael Natterer's avatar
      Show the "Alpha" scale only when needed. · e8f7363b
      Michael Natterer authored
      2001-01-09  Michael Natterer  <mitch@gimp.org>
      
      	* app/color_notebook.c: Show the "Alpha" scale only when needed.
      
      	* libgimp/gimpcolorarea.[ch]: fixed typos.
      e8f7363b
    • Michael Natterer's avatar
      app/color_notebook.[ch] moved the scales and the toggle butttons out of · 37fe1a88
      Michael Natterer authored
      2001-01-09  Michael Natterer  <mitch@gimp.org>
      
      	* app/color_notebook.[ch]
      	* app/color_select.c: moved the scales and the toggle butttons out
      	of the notebook. Added an "Aplha" scale (the opacity is not yet
      	shown in the color area). Removed the ColorNotebook structure from
      	the header.
      
      	* app/color_area.c: the ColorNotebook struct is no longer public.
      
      	* libgimp/gimpcolorselector.h
      	* modules/colorsel_gtk.c
      	* modules/colorsel_triangle.c
      	* modules/colorsel_water.c: changed the ColorSelector module
      	interface again: Pass H, S, V, R, G, B and A in all functions
      	and callbacks. Added a "set_channel" method because the channel
      	toggles are outside the notebook now. This needs more work...
      37fe1a88
  9. 08 Jan, 2001 2 commits
    • Michael Natterer's avatar
      app/color_notebook.[ch] moved the "old" and "new" color areas from the · fbd8ec67
      Michael Natterer authored
      2001-01-08  Michael Natterer  <mitch@gimp.org>
      
      	* app/color_notebook.[ch]
      	* app/color_select.c: moved the "old" and "new" color areas from the
      	notebook to the action_area.
      
      	* TODO.xml: updated.
      
      	* app/color_area.c
      	* app/color_panel.c
      	* app/colormap_dialog.c
      	* app/palette.c
      	* libgimp/gimpcolorselector.h
      	* modules/colorsel_gtk.c
      	* modules/colorsel_triangle.c
      	* modules/colorsel_water.c: removed the "set_current" parameter all
      	over the place because it was always TRUE and not used in the modules
      	at all.
      fbd8ec67
    • Michael Natterer's avatar
      app/color_notebook.c app/color_select.c more cleanup before chopping it · 3c0283b7
      Michael Natterer authored
      2001-01-08  Michael Natterer  <mitch@gimp.org>
      
      	* app/color_notebook.c
      	* app/color_select.c
      	* libgimp/gimpcolorselector.h: more cleanup before chopping it up.
      3c0283b7
  10. 07 Jan, 2001 1 commit
    • Michael Natterer's avatar
      app/by_color_select.c app/channels_dialog.c app/color_area.c · ab014f8b
      Michael Natterer authored
      2001-01-07  Michael Natterer  <mitch@gimp.org>
      
      	* app/by_color_select.c
      	* app/channels_dialog.c
      	* app/color_area.c
      	* app/color_notebook.[ch]
      	* app/color_panel.[ch]
      	* app/color_picker.c
      	* app/color_select.c
      	* app/colormap_dialog.i.c
      	* app/devices.c
      	* app/disp_callbacks.[ch]
      	* app/gimpdnd.[ch]
      	* app/palette.c
      	* app/qmask.c
      
      	* libgimp/gimpcolorselector.h
      
      	* modules/colorsel_gtk.c
      	* modules/colorsel_triangle.c
      	* modules/colorsel_water.c: made the color_notebook, the color_area
      	and DND speak in terms of RGBA instead of GRB. The alpha value is
      	not used yet, only the API changed. Everything should work exactly
      	as before.
      ab014f8b
  11. 29 Dec, 2000 1 commit
    • Michael Natterer's avatar
      app/Makefile.am app/channel_pvt.h app/drawable_pvt.h app/gdisplayF.h · 8d6c335f
      Michael Natterer authored
      2000-12-29  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/channel_pvt.h
      	* app/drawable_pvt.h
      	* app/gdisplayF.h
      	* app/gimpdrawableP.h
      	* app/gimpimageP.h
      	* app/layer_pvt.h
      	* app/toolsF.h: removed these files.
      
      	* app/apptypes.h
      	* tools/pdbgen/enums.pl: added tons of opaque typedefs and enums.
      
      	* tools/pdbgen/pdb/brush_select.pdb
      	* tools/pdbgen/pdb/brushes.pdb
      	* tools/pdbgen/pdb/channel.pdb
      	* tools/pdbgen/pdb/color.pdb
      	* tools/pdbgen/pdb/convert.pdb
      	* tools/pdbgen/pdb/display.pdb
      	* tools/pdbgen/pdb/drawable.pdb
      	* tools/pdbgen/pdb/fileops.pdb
      	* tools/pdbgen/pdb/gradient_select.pdb
      	* tools/pdbgen/pdb/gradients.pdb
      	* tools/pdbgen/pdb/help.pdb
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/layer.pdb
      	* tools/pdbgen/pdb/pattern_select.pdb
      	* tools/pdbgen/pdb/patterns.pdb
      	* tools/pdbgen/pdb/selection.pdb
      	* tools/pdbgen/pdb/tools.pdb
      	* app/*: chainsaw #include cleanup:
      
      	- Never (never!!) include stuff in header files except where we
      	  need access to structures' contents (like derived objects).
      	- Added prototypes and proper formating in many files.
      	- The #include order in *all* *.c files is as follows:
      
      	#include "config.h"
      
      	#include <system stuff>
      
      	#include <gtk/gtk.h>
      
      	#include "apptypes.h"
      
      	#include "gimp stuff"
      
      	#include "libgimp stuff"
      
      	#include "libgimp/gimpintl.h"
      
      	By following this scheme we can easily see a file's dependencies
      	from it's #include's and can grep for the inclusion to find out
      	where a file is used.
      
      	* tools/pdbgen/app.pl: changed to follow the include scheme above.
      
      	* libgimp/Makefile.am
      	* libgimp/gimpuitypes.h: new file, included from libgimp/gimpui.h
      	and from app/apptypes.h.
      
      	* libgimp/gimpcolorbutton.[ch]
      	* libgimp/gimpdialog.[ch]
      	* libgimp/gimphelpui.[ch]
      	* libgimp/gimpparasite.[ch]
      	* libgimp/gimppatheditor.[ch]
      	* libgimp/gimpprotocol.c
      	* libgimp/gimpquerybox.[ch]
      	* libgimp/gimpsizeentry.[ch]
      	* libgimp/gimptypes.h
      	* libgimp/gimpui.h
      	* libgimp/gimpunit.h
      	* libgimp/gimpunitmenu.[ch]
      	* libgimp/gimpwidgets.[ch]: changed accordingly.
      
      	* plug-ins/FractalExplorer/Dialogs.c
      	* plug-ins/gdyntext/message_window.c
      	* plug-ins/imagemap/imap_default_dialog.c
      	* plug-ins/imagemap/imap_file.c: these files used to include
      	"libgimp/gimpui.h" without including "libgimp/gimp.h". This is
      	no longer possible because the libgimpui headers don't inlcude
      	"libgimp/gimpunit.h" any more.
      8d6c335f
  12. 16 Dec, 2000 1 commit
    • Sven Neumann's avatar
      Last-minute cleanup: · dfa2bed5
      Sven Neumann authored
      2000-12-16  Sven Neumann  <sven@gimp.org>
      
      	Last-minute cleanup:
      
      	* app/gimpdrawableF.h
      	* app/gimphistogramF.h
      	* app/gimpimageF.h
      	* app/gimplistF.h
      	* app/gimplutF.h
      	* app/gimpobjectF.h
      	* app/gimpsetF.h
      	* app/layerF.h
      	* app/parasitelistF.h: removed these files
      
      	* app/Makefile.am
      	* tools/pdbgen/Makefile.am: changed accordingly
      
      	* app/[almost every file]: include cleanup
      dfa2bed5
  13. 18 Nov, 2000 1 commit
    • Michael Natterer's avatar
      app/fileops.c Make sure that we don't try to destroy query_boxes twice or · cdd0a514
      Michael Natterer authored
      2000-11-18  Michael Natterer  <mitch@gimp.org>
      
      	* app/fileops.c
      	* libgimp/gimpquerybox.[ch]: Make sure that we don't try to destroy
      	query_boxes twice or try to disconnect not-any-more connected
      	handlers.
      
      	* app/color_notebook.c
      	* app/gimpcontext.[ch]
      	* app/gimphelp.[ch]
      	* app/lc_dialog.[ch]
      	* app/menus.h
      	* app/preferences_dialog.c
      	* app/tools.[ch]
      	* libgimp/gimpcolorbutton.[ch]
      	* libgimp/gimpdialog.[ch]
      	* libgimp/gimpexport.[ch]
      	* libgimp/gimpfileselection.[ch]
      	* libgimp/gimphelpui.[ch]
      	* libgimp/gimppatheditor.[ch]
      	* libgimp/gimppixmap.[ch]
      	* libgimp/gimpsizeentry.[ch]
      	* libgimp/gimpui.[ch]
      	* libgimp/gimpunitmenu.[ch]
      	* libgimp/gimpwidgets.[ch]: in a coding attack, changed help_data
      	and many other strings passed to UI functions to (const gchar *).
      	As a consequence, I had to fix lots of warnings ;)
      
      	* plug-ins/common/tga.c
      	* plug-ins/imagemap/imap_main.c: fixed warnings.
      
      	Code cleanup and indentation all over the place.
      cdd0a514
  14. 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
  15. 21 May, 2000 1 commit
    • Michael Natterer's avatar
      These changes enable help support for 3rd party plug-ins which install · 9c6b0b0c
      Michael Natterer authored
      2000-05-21  Michael Natterer  <mitch@gimp.org>
      
      	These changes enable help support for 3rd party plug-ins which
      	install their help files outside GIMP's main help dir.
      
      	Instead of calling gimp_help(), gimp_plugin_help_func() etc.,
      	all help callbacks now have to call gimp_standard_help_func()
      	which has different implementations in the app and in libgimp.
      
      	There is a new function gimp_plugin_help_register() which can
      	be called during plug-in query. plug_in.c keeps a list of
      	executable_name/help_path pairs. Plug-ins have to pass their
      	exec. name to gimp_help() which uses the list to find the plug-in's
      	help directory.
      
      	* app/gimphelp.[ch]: gimp_help() now takes a help_path parameter.
      	help_path == NULL means the standard help directory. Various
      	changes to pass the help_path to the help browser.
      
      	* app/gimprc.c: save the plug-in's help_path in the pluginrc file.
      
      	* app/menus.c: ugly hack to enable help_paths in the "F1" callback.
      
      	* app/plug_in.[ch]: many help_path related changes. Use g_basename()
      	instead of strrchr(str,G_DIR_SEPARATOR), cosmetic cleanups.
      
      	* app/internal_procs.c
      	* app/gimphelp_cmds.c
      	* tools/pdbgen/pdb/gimphelp.pdb: new procedure
      	gimp_plugin_help_register(). gimp_help() takes a second parameter
      	which is the executable name (not the help_path).
      
      	* app/color_notebook.c
      	* app/commands.c
      	* app/lc_dialog.c
      	* app/preferences_dialog.c
      	* app/tools.c: call gimp_standard_help_func() instead of gimp_help().
      
      	* libgimp/gimp.c: new function gimp_get_progname() which returns
      	the full path of the plug-in's executable.
      
      	* libgimp/gimp.h: export the new function,
      	removed gimp_plugin_help_func(), gimp_help() takes the executable
      	name as second parameter.
      
      	* libgimp/gimpcompat.h: added gimp_plugin_help_func().
      
      	* libgimp/gimphelp.c: a wrapper for gimp_plugin_help_register(),
      	changed the calls to gimp_help.
      
      	* libgimp/gimphelpui.[ch]: call gimp_standard_help_func() instead
      	of gimp_help().
      
      	* plug-ins/helpbrowser/helpbrowser.c: now called with an additional
      	help_path parameter. Various changes to enable
      	help_path != gimp_standard_help_path.
      
      	Unrelated stuff:
      
      	* app/batch.h: added missing GPL header.
      
      	* app/gimpunit.c: had a LGPL header, merged some fprintf's into
      	one call.
      
      	* app/procedural_db.[ch]: cosmetic: g* types, s/g_malloc/g_new/,
      	prototypes, indentation.
      
      	* app/resize.c: use less packing widgets. didn't find the "offset"
      	redraw bug :(
      9c6b0b0c
  16. 12 Mar, 2000 1 commit
  17. 13 Feb, 2000 1 commit
  18. 06 Jan, 2000 1 commit
    • Michael Natterer's avatar
      app/[all files using the dialog or action area constructors] added a · 884f2235
      Michael Natterer authored
      2000-01-06  Michael Natterer  <mitch@gimp.org>
      
      	* app/[all files using the dialog or action area constructors]
      	* libgimp/gimpdialog.[ch]: added a "slot_object" agrument to the
      	constructors' va_args lists to allow the action area buttons to be
      	connected wich gtk_signal_connect_object().
      
      	* libgimp/gimphelp.c: show the correct help page for plugins.
      
      	* plug-ins/common/CEL.c
      	* plug-ins/common/CML_explorer.c
      	* 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/blur.c
      	* plug-ins/common/bumpmap.c
      	* plug-ins/common/checkerboard.c
      	* plug-ins/common/colorify.c
      	* plug-ins/common/colortoalpha.c
      	* plug-ins/common/compose.c
      	* plug-ins/common/convmatrix.c
      	* plug-ins/common/csource.c
      	* plug-ins/common/cubism.c
      	* plug-ins/common/curve_bend.c
      	* plug-ins/common/decompose.c
      	* plug-ins/common/deinterlace.c
      	* plug-ins/common/depthmerge.c
      	* plug-ins/common/despeckle.c
      	* plug-ins/common/destripe.c
      	* plug-ins/common/diffraction.c
      	* plug-ins/common/displace.c
      	* plug-ins/common/grid.c
      	* plug-ins/helpbrowser/Makefile.am
      	* plug-ins/helpbrowser/helpbrowser.c: use the dialog constructor
      	and enable the "F1" help key.
      884f2235
  19. 22 Nov, 1999 1 commit
    • Michael Natterer's avatar
      app/brightness_contrast.[ch] app/by_color_select.[ch] · 3711f558
      Michael Natterer authored
      1999-11-22  Michael Natterer  <mitschel@cs.tu-berlin.de>
      
      	* app/brightness_contrast.[ch]
      	* app/by_color_select.[ch]
      	* app/color_balance.[ch]
      	* app/curves.[ch]
      	* app/histogram_tool.[ch]
      	* app/hue_saturation.[ch]
      	* app/levels.[ch]
      	* app/posterize.[ch]
      	* app/threshold.[ch]: spinbuttons and cleaned up ui for all
      	dialog-tools. Added a "Reset" button to all dialogs.
      
      	* app/color_notebook.c: fixed a compiler warning.
      
      	* app/gimpui.[ch]: made gimp_radio_group_new() more general.
      
      	* app/menus.c: removed the <Toolbox>/File/Help submenu.
      
      	* app/tools.c: restored the old behaviour of "tools_initialize()"
      	(force the emission of the "tool_changed" signal)
      3711f558
  20. 03 Oct, 1999 1 commit
    • Michael Natterer's avatar
      The GIMP Help System part II: press "F1" while browsing a menu to show the · a11f3334
      Michael Natterer authored
      1999-10-03  Michael Natterer  <mitch@gimp.org>
      
      	The GIMP Help System part II: press "F1" while browsing a menu
      	to show the help page for the menu entry you're currently over
      	with the mouse.
      
      	* app/color_notebook.c: all color selectors have to register with
      	a help page now.
      
      	* app/color_select.[ch]: register with a help string. Removed
      	the dialog part of the files because it's use was deprecated
      	anyway (use color notebooks instead).
      
      	* app/colormap_dialog.i.c
      	* app/colormap_dialog.p.h
      	* app/palette.c
      	* app/palette_select.c: use a color notebook instead of a color
      	selector.
      
      	* app/gimphelp.c
      	* app/gimpui.c: minor changes.
      
      	* app/gimprc.c: "use help" defaults to TRUE now.
      
      	* app/lc_dialog.c
      	* app/lc_dialogP.h: a special help function which shows the help
      	for the currently selected notebook page.
      
      	* app/menus.c: some weird code which catches "key_press_event"
      	in all menu shells and pops up the corresp. help page for the
      	selected item. Embedded the GtkItemFactoryEntry in a new
      	GimpItemFactoryEntry to allow a help path to be stored.
      	Will be partially exported and moved to gimphelp.[ch] later to
      	catch key_press for plug-in menu items (don't try this now ;-)
      
      	* app/app_procs.c
      	* app/brush_edit.c
      	* app/brush_select.c
      	* app/channel_ops.c
      	* app/channels_dialog.c
      	* app/commands.c
      	* app/convert.c
      	* app/devices.c
      	* app/file_new_dialog.c
      	* app/fileops.c
      	* app/gdisplay.c
      	* app/gdisplay_color.c
      	* app/gdisplay_color_ui.c
      	* app/gdisplay_ops.c
      	* app/global_edit.c
      	* app/gradient.c
      	* app/gradient_select.c
      	* app/interface.c
      	* app/layers_dialog.c
      	* app/module_db.c
      	* app/paths_dialog.c
      	* app/pattern_select.c
      	* app/preferences_dialog.c
      	* app/qmask.c
      	* app/resize.c
      	* app/undo_history.c: changed all dialog constructors to point
      	to the right place in the new help file structure.
      
      	* configure.in
      	* help/*: the basic new help file structure.
      
      	* modules/colorsel_gtk.c
      	* modules/colorsel_triangle.c
      	* modules/colorsel_water.c: register a help page.
      
      	* plug-ins/helpbrowser/helpbrowser.c: load the help files
      	according to the new help file structure.
      a11f3334
  21. 27 Sep, 1999 1 commit
    • Michael Natterer's avatar
      app/Makefile.am app/gimphelp.[ch] new files · 002aa905
      Michael Natterer authored
      1999-09-27  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/gimphelp.[ch]
      	* app/gimpui.[ch]: new files
      
      	* app/interface.[ch]
      	* app/preferences_dialog.[ch]
      
      	The GIMP Help System part 1: Press "F1" in any dialog to pop up
      	the help page for this dialog.
      
      	Moved the widget constructors from preferences_dialog.[ch] and the
      	query boxes from interface.[ch] to gimpui.[ch].
      
      	The dialog constructors take a help_func and a help_data
      	parameter and install the "F1" accelerator which emits the new
      	"help" signal.
      
      	The "help" signal callback calls help_func(help_data) which finally
      	has to call gimp_help() which in turn invokes the help browser.
      
      	Still have to find a proper way to (1) prevent "F1" being assigned
      	to some menu item and (2) to catch "F1" while browsing the menu
      	trees in order to pop up the help for the selected item.
      
      	* app/menus.c: a <Toolbox>/File/Help... menu item.
      	* app/commands.[ch]: a command callback for the "Help..." menu item.
      
      	* app/gimprc.[ch]: new boolean gimprc variable "use_help".
      
      	* app/info_dialog.[ch]: pass a help function and data to the info
      	dialog constructor.
      
      	* app/tools.[ch]: store the tools help page names in the tool info
      	structure. Export a special tools_help_func() which shows the help
      	page for the active tool.
      
      	* app/[all files calling a dialog constructor]: pass the dialog's
      	help page to the constructor.
      
      	Most dialogs are now created by gimp_dialog_new() which also sets
      	up the action_area and the WM delete event callback, so I removed
      	the resp. code from these files.
      
      	Fixed some minor bugs and did some other stuff but didn't change
      	any logic except dialog creation.
      
      	* plug-ins/helpbrowser/helpbrowser.c: don't try to call a running
      	help browser and don't install any menu path (all done in
      	app/gimphelp.[ch] now).
      002aa905
  22. 04 Jul, 1999 1 commit
    • Tor Lillqvist's avatar
      Don't warn about missing home directory on Win32, it is perfectly natural. · b8e1ca28
      Tor Lillqvist authored
      	* libgimp/gimpenv.c (gimp_directory): Don't warn about missing
       	home directory on Win32, it is perfectly natural.
      
      	* app/color_notebook.c
      	* libgimp/color_selector.h: Bypass the declaration of the exported
       	functions in the header. (Caused different linkage error with MSC,
       	as they are declared dllexport in the source, but naturally not in
       	the header.)
      b8e1ca28
  23. 03 Jul, 1999 2 commits
  24. 06 Jun, 1999 1 commit
    • Tomas Ogren's avatar
      Misc l10n fixes · 79be4895
      Tomas Ogren authored
      1999-06-06  Tomas Ogren  <stric@ing.umu.se>
      
      * app/{color_notebook.c,color_select.c,lc_dialog.c,temp_buf.c,tool_options.c,tools.c}:
        Misc l10n fixes
      79be4895
  25. 07 Mar, 1999 1 commit
  26. 19 Jan, 1999 1 commit
    • Austin Donnelly's avatar
      iMon Jan 18 23:36:57 1999 Austin Donnelly <austin@gimp.org> · 43639fa0
      Austin Donnelly authored
      	* app/menus.c: include module browser, plus re-instate the 'swap
      	     colors' and other options that got killed by mistake.  Clean
      	     up the odd extra separator too.
      
      	* app/color_notebook.c: hide newly created colour selectors so we
      	     know the GIMP one will be the default page.
      
      	* app/module_db.[ch]: NEW FILEs: module database / browser.
      	* app/Makefile.am: add module_db.[ch] stuff
      	* app/app_procs.c: initialise the module_db
      	* app/commands.[ch]: callback to create a module browser.
      	* app/plug_in.c: move module loading out to module_db.c
      	* libgimp/gimpmodule.h: API change: module_init() should return
      	     additonal info (author, purpose, date, etc.)   Also optional
      	     module_unload() function.
      	* modules/colorsel_gtk.c: add module info, plus an unload function
      
      	* modules/Makefile.am: build triangle colour selector module
      	* modules/colorsel_triangle.c: NEW FILE: colour selector from
      	     Simon Budig <Simon.Budig@unix-ag.org>.
      
      	* MAINTAINERS: changed my email address
      43639fa0
  27. 11 Jan, 1999 1 commit
    • GMT 1999  Austin Donnelly's avatar
      Bit of a large checkin this - it's basically three things: 1 - GimpModules · d8be79f0
      GMT 1999 Austin Donnelly authored
      Sun Jan 11 00:24:21 GMT 1999  Austin Donnelly  <austin@greenend.org.uk>
      
      	Bit of a large checkin this - it's basically three things:
      	  1 - GimpModules using gmodules to dynamically load and
      	       initialise modules at gimp start of day.
      	  2 - Color selectors now register themselves with a color
      	       notebook.
      	  3 - progress bars have been cleaned up a bit, so now have
      	       progress indictations on all transform tool and gradient
      	       fill operations.  Not done bucket fill, but that seems to
      	       be the next candidate.
      
      	New directories:
      	* modules/: new directory for dynamically loadable modules.
      
      	New files:
      	* modules/.cvsignore
      	* modules/Makefile.am
      	* modules/colorsel_gtk.c: GTK color selector wrapped up as a
      	    color selector the gimp can use.
      
      	* app/gimpprogress.[ch]: progress bars within gimp core, either as
      	    popups, or in the status bar.  This is mainly code moved out
      	    of plug-in.c
      
      	* app/color_notebook.[ch]: color selector notebook, implementing
      	    very similar interface to color_select.h so it can be used as
      	    a drop-in replacement for it.
      
      	* libgimp/color_selector.h: API color selectors need to implement
      	    to become a page in the color_notebook.
      
      	* libgimp/gimpmodule.h: API gimp modules need to implement to be
      	    initialised by gimp at start of day.
      
      	Modified files:
      	* Makefile.am: add modules/ to SUBDIRS
      	* libgimp/Makefile.am: install gimpmodule.h and color_selector.h
      	* app/gimprc.[ch]: recognise module-path variable.
      	* gimprc.in: set module-path variable to something sensible
      	    (currently "${gimp_dir}/modules:${gimp_plugin_dir}/modules").
      	* app/Makefile.am: build color notebook and gimpprogress
      	* app/app_procs.c: register internal GIMP color selector with
      	    color notebook.
      	* app/asupsample.c: call progress function less frequently for
      	    better performance.
      	* app/asupsample.h: progress_func_t typedef moved to gimpprogress.h
      	* app/blend.c: make callbacks to a progress function
      	* app/color_area.c: use a color notebook rather than a color selector
      	* app/color_panel.c: ditto
      	* app/color_select.c: export color selector interface for notebook
      	* app/color_select.h: color_select_init() prototype
      	* app/flip_tool.c: flip the image every time, rather than every
      	    second click.
      	* app/interface.c: move progress bar stuff out to
      	    gimpprogress.c.  Make the code actually work while we're at it.
      	* app/interface.h: move prototypes for progress functions out to
      	    gimpprogress.h
      	* app/plug_in.c: load and initialise modules (if possible). Move
      	    progress bar handling code out to gimpprogress.c
      	* app/plug_in.h: keep only a gimp_progress * for each plugin, not
      	    a whole bunch of GtkWidgets.
      	* app/scale_tool.c
      	* app/rotate_tool.c
      	* app/shear_tool.c
      	* app/perspective_tool.c: progress bar during operation.
      	    De-sensitise the dialog to discourage the user from running
      	    two transforms in parallel.
      	* app/transform_core.c: recalculate grid coords when bounding box
      	    changes.  Only initialise the action area of the dialog once,
      	    to avoid multiple "ok" / "reset" buttons appearing.  Undraw
      	    transform tool with correct matrix to get rid of handle
      	    remains on screen.  Call a progress function as we apply the
      	    transform matrix.  A few new i18n markups.  Invalidate
      	    floating selection marching ants after applying matrix.
      	* app/transform_core.h: transform_core_do() takes an optional
      	    progress callback argument (and data).
      	* plug-ins/oilify/oilify.c: send progress bar updates after every
      	    pixel region, not only if they processed a multiple of 5
      	    pixels (which was quite unlikely, and therefore gave a jerky
      	    progress indication).
      d8be79f0