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. · 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
  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
  5. 15 Jan, 2001 3 commits
    • Sven Neumann's avatar
      rewritten as proper widget derived from GimpColorButton · 94384767
      Sven Neumann authored
      2001-01-15  Sven Neumann  <sven@gimp.org>
      
      	* app/color_panel.[ch]: rewritten as proper widget derived from
      	GimpColorButton
      
      	* app/channels_dialog.c
      	* app/color_picker.c
      	* app/qmask.c: use new GimpColorPanel widget
      
      	* libgimp/gimpcolorarea.[ch]
      	* libgimp/gimpcolorbutton.[ch]: some changes needed to derive from
      	GimpColorButton
      
      	* plug-ins/Lighting/lighting_ui.c
      	* plug-ins/MapObject/mapobject_ui.c
      	* plug-ins/common/colorify.c
      	* plug-ins/common/colortoalpha.c
      	* plug-ins/common/exchange.c
      	* plug-ins/common/film.c
      	* plug-ins/common/grid.c
      	* plug-ins/common/mapcolor.c
      	* plug-ins/common/nova.c
      	* plug-ins/common/papertile.c
      	* plug-ins/common/sinus.c
      	* plug-ins/gdyntext/gdyntext_ui.c
      	* plug-ins/ifscompose/ifscompose.c
      	* plug-ins/script-fu/script-fu-scripts.c: follow API changes of
      	GimpColorButton and GimpColorArea
      94384767
    • Michael Natterer's avatar
      app/channel.[ch] app/gimpimage.[ch] use GimpRGB for the Channel's, the · d8228390
      Michael Natterer authored
      2001-01-15  Michael Natterer  <mitch@gimp.org>
      
      	* app/channel.[ch]
      	* app/gimpimage.[ch]
      	* app/layer.[ch]: use GimpRGB for the Channel's, the QuickMask's
      	and the LayerMask's color.
      
      	* app/channel_cmds.c
      	* app/channel_ops.c
      	* app/channels_dialog.c
      	* app/qmask.c
      	* app/xcf.c
      	* tools/pdbgen/pdb/channel.pdb: changed accordingly.
      d8228390
    • 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
  6. 10 Jan, 2001 1 commit
    • Michael Natterer's avatar
      removed the "name" parameter and use GimpObject's name instead. · 6642bc2c
      Michael Natterer authored
      2001-01-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/gimpdrawable.[ch]: removed the "name" parameter and use
      	GimpObject's name instead.
      
      	* app/channel.c
      	* app/channel_ops.c
      	* app/channels_dialog.c
      	* app/drawable.h
      	* app/gimpimage.c
      	* app/interface.c
      	* app/layer.c
      	* app/layer_select.c
      	* app/layers_dialog.c
      	* app/qmask.c
      	* app/undo.c
      	* app/xcf.c: changed accordingly, cleanup.
      6642bc2c
  7. 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
  8. 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
  9. 28 Dec, 2000 1 commit
    • Michael Natterer's avatar
      app/channel.[ch] app/drawable.h app/gimpdrawable.[ch] app/gimpdrawableP.h · 0d440e10
      Michael Natterer authored
      2000-12-28  Michael Natterer  <mitch@gimp.org>
      
      	* app/channel.[ch]
      	* app/drawable.h
      	* app/gimpdrawable.[ch]
      	* app/gimpdrawableP.h
      	* app/gimpimage.[ch]
      	* app/gimpimageP.h
      	* app/layer.[ch]
      	* app/layer_pvt.h: started a major cleanup of all image/drawable
      	files. Added tons of "const GimpImage *" declarations and properly
      	formated the headers.
      
      	* app/bezier_select.c
      	* app/channels_dialog.c
      	* app/crop.c
      	* app/fileops.[ch]
      	* app/fuzzy_select.c
      	* app/gdisplay.c
      	* app/layers_dialog.c
      	* app/move.c
      	* app/paint_funcs.[ch]
      	* app/qmask.c
      	* app/undo.c: changed accordingly plus the usual portion of coding
      	style paranoia. This is not finished but Sven promised to buy me
      	a beer if I commit now ;)
      0d440e10
  10. 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
  11. 07 Jun, 2000 1 commit
    • Sven Neumann's avatar
      call undo_push_qmask() before removing the channel since the callback will · fd4355bc
      Sven Neumann authored
      2000-06-08  Sven Neumann  <sven@gimp.org>
      
              * app/qmask.c: call undo_push_qmask() before removing the
              channel since the callback will set the qmask_state
              incorrectly otherwise. Fixes bug #13472.
      
              * app/undo.[ch]: code cleanup
      
              * plug-ins/common/gif.c: put save_comment into the values
              that are stored between calls to the GIF plug-in, so it
              remembers if the user wants to save the comment. Fixes
              bug #12755.
      fd4355bc
  12. 03 Apr, 2000 1 commit
    • Michael Natterer's avatar
      app/color_panel.[ch] app/color_picker.c removed the public function · 8ed5f8ce
      Michael Natterer authored
      2000-04-03  Michael Natterer  <mitch@gimp.org>
      
      	* app/color_panel.[ch]
      	* app/color_picker.c
      	* app/qmask.c: removed the public function color_panel_free() and
      	fake a real widget's behaviour by connecting to the panel widget's
      	"destroy" signal.
      
      	* app/channels_dialog.c
      	* app/layers_dialog.c: cleaned up and sync'ed the code where
      	possible (without changing the logic).
      8ed5f8ce
  13. 20 Jan, 2000 1 commit
  14. 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
  15. 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
  16. 01 Oct, 1999 1 commit
    • Austin Donnelly's avatar
      comment typo fix, plus add %D* to default image-title-format string, so · 11409e97
      Austin Donnelly authored
      Fri Oct  1 12:46:12 1999  Austin Donnelly  <austin@gimp.org>
      
      	* gimprc.in: comment typo fix, plus add %D* to default
      	    image-title-format string, so people get a '*' in the titlebar
      	    if their image is dirty.
      	* app/fileops.c: initialise filename before using it.
      	* app/gdisplay.c: empty parameter list () is K&R - should be
      	    stronger (void) in ANSI C.
      	* app/gimpdrawable.c: gimp_drawable_{dirty,clean} functions
      	    removed - no one uses them anyway.  Parasite undo type is
      	    proper parasite undo type, not MISC_UNDO.
      	* app/gimpdrawableP.h: drawable dirty bit removed.
      	* app/gimpimage.c: don't change the resolution if there's no
      	    difference from the old one.  Call gdisplay_shrink_wrap() to
      	    re-calculate scale factors and refresh the display on
      	    resolution change.  Layer undo doesn't have sub-types
      	    anymore, uses main UndoType instead.
      	* app/layer.h: Remove LayerUndoType
      	* app/qmask.c: fix qmask undo so it actually works.
      	* app/undo.h: new types for undo_push_layer{,_mask} and
      	    undo_push_qmask.
      	* app/undo.c: change way group boundaries are represented:
      	    each Undo has a group_boundary boolean set to TRUE if this is
      	    the start or the end of a group, and the type of the Undo is
      	    the group's type.  Within a group, each Undo keeps its own
      	    type.  This allows pop funcs and free funcs to do
      	    type-specific things (eg needed by layer and channel stuff).
      	    Don't maintain per-drawable dirty flags anymore.   Floating
      	    sel to layer and layer rename now uses meaningful undo types.
      	* app/undo_types.h: more specific undo types:
      	    LAYER_{ADD,REMOVE}_UNDO, LAYER_MASK_{ADD,REMOVE}_UNDO,
      	    LAYER_RENAME_UNDO, and PARASITE_{ATTACH,DETACH}_UNDO.
      	* app/undo_history.c: oops - undo stack was being placed into gtk
      	    list in wrong order.
      	* app/edit_selection.c: push more descriptive LAYER_DISPLACE_UNDO
      	    rather than MISC_UNDO.
      	* app/layers_dialog.c: better tagging of undo types
      11409e97
  17. 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
  18. 06 Sep, 1999 1 commit
  19. 07 Aug, 1999 1 commit
  20. 14 Jul, 1999 1 commit
    • Tor Lillqvist's avatar
      app/makefile.cygwin app/makefile.msc plug-ins/makefile.cygwin · fe1cc678
      Tor Lillqvist authored
      	* app/makefile.cygwin
      	* app/makefile.msc
      	* plug-ins/makefile.cygwin
      	* plug-ins/makefile.msc
      	* modules/makefile.cygwin
      	* modules/makefile.msc
      	* tools/gcg/makefile.cygwin: Various updates. GCC-compiled DLL
      	name change.
      
      	* app/context_manager.c: Include paint_options.h for prototype.
      
      	* app/gimpimage.c (gimp_image_initialize_projection): Break out of
       	loop as soon as possible.
      
      	* app/menus.c (menus_last_opened_cmd_callback): Check if referring
       	to entry not in list.
      
      	* app/module_db.c (valid_module_name): (Win32) Require module DLL
       	names to include name of compiler built with.
      
      	* app/paths_dialog.c (paths_draw_segment_points): No use to draw
       	lines if we have less that two points.
      
      	* app/qmask.c: Include stdio.h and floating_sel.h.
      
      	* libgimp/makefile.cygwin: New file.
      
      	* libgimp/Makefile.am:  Distribute above file.
      
      	* libgimp/gimp.def: Update.
      
      	* libgimp/gimpenv.c (gimp_directory): Don't warn about missing
       	home directory on Win32, it is perfectly natural.
      
      	* plug-ins/sel2path/global.h: Bypass unused declarations, some
      	of which clash with functions in MSVCRT.
      
      	* plug-ins/sel2path/math.c
      	* modules/colorsel_water.c: Define M_PI if necessary.
      
      	* plug-ins/sel2path/sel2path.c: Include config.h and
       	glib.h. Define rint() if needed.
      
      	* plug-ins/sel2path/vector.c: Include glib.h (for hypot() renaming
       	on Win32; In the MS C runtime, as hypot() is non-ANSI, it's called
       	_hypot(), sigh).
      
      	* plug-ins/sinus/sinus_logo.h: Use indexed format, it is easier on
       	some compilers than the huge string.
      fe1cc678
  21. 10 Jul, 1999 1 commit
  22. 07 Jul, 1999 1 commit
    • Seth Burgess's avatar
      Added Qmasks 7-6-99 <sjburges@gimp.org> · 7058d4c6
      Seth Burgess authored
       	* pixmaps/qmasknosel.xpm
              * pixmaps/qmasksel.xpm: Ugly pixmaps that tigert promised to replace
      
              * app/channel.[ch]
              * app/channel_cmds.c : made some of the private structures accessible
                through exported functions to keep things a bit clean
      
              * app/interface.c
              * app/gdisplay.[ch]
              * app/gimpimageP.h
              * app/gimpimage.[ch]
              * app/undo.[ch]: added qmasks
      
              * app/Makefile.am
              * app/qmask.[ch]: added new files for qmask support
      
              * tools/pdbgen/pdb/channel.pdb: changed some channel stuff to keep
                things a bit more private
      7058d4c6