1. 21 May, 2001 1 commit
    • Michael Natterer's avatar
      app/app_procs.c app/datafiles.c app/devices.c app/docindex.c · dd4b03ec
      Michael Natterer authored
      2001-05-21  Michael Natterer  <mitch@gimp.org>
      
      	* app/app_procs.c
      	* app/datafiles.c
      	* app/devices.c
      	* app/docindex.c
      	* app/gdisplay_color.c
      	* app/gdisplay_color_ui.c
      	* app/gimphelp.c
      	* app/main.c
      	* app/module_db.c
      	* app/plug_in.c
      	* app/resize.c
      	* app/resolution_calibrate.c
      	* app/undo_history.c
      	* app/user_install.c
      	* app/core/gimpbrushpipe.c
      	* app/core/gimpdata.c
      	* app/core/gimpgradient.c
      	* app/core/gimppalette.c
      	* app/gui/about-dialog.c
      	* app/gui/file-new-dialog.c
      	* app/gui/gradient-editor.c
      	* app/gui/layers-commands.c
      	* app/gui/menus.c
      	* app/gui/palette-editor.c
      	* app/gui/session.c
      	* app/gui/splash.c
      	* app/gui/tips-dialog.c
      	* app/pdb/image_cmds.c
      	* app/pdb/text_tool_cmds.c
      	* app/tools/curves.c
      	* app/tools/gimptexttool.c
      	* app/tools/levels.c
      	* app/widgets/gimpdnd.c
      	* app/widgets/gimppreview.c
      	* libgimp/gimpcolordisplay.h
      	* libgimpbase/gimpbase.h
      	* libgimpwidgets/gimpcolorarea.c
      	* libgimpwidgets/libgimp-glue.c
      	* plug-ins/common/gih.c
      	* plug-ins/common/psp.c
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/text_tool.pdb: last checkin didn't get all
      	#include "libgimp/i_dont_exist_any_more.h". This one should make
      	it compile again without old crap hanging around in <prefix>/include.
      dd4b03ec
  2. 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
  3. 24 Apr, 2001 1 commit
    • Michael Natterer's avatar
      : free all the pipe's brushes here. · 949af6c6
      Michael Natterer authored
      2001-04-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/gimpobject.c: : free all the pipe's brushes here.
      
      	* app/gimpparasite.c: gimp_personal_rc_file()'s return value has
      	to be g_free()'d.
      
      	* app/main.c: indentation.
      
      	Ported memleak fixes from 1.2:
      
      	* app/gimpbrush.c: don't leak all pixmaps.
      
      	* app/gimpbrushpipe.c: ported memleak fixes from 1.2
      949af6c6
  4. 19 Apr, 2001 1 commit
    • Michael Natterer's avatar
      app/Makefile.am app/brush_header.h app/pattern_header.h · 26dee230
      Michael Natterer authored
      2001-04-19  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/brush_header.h
      	* app/pattern_header.h
      	* app/desaturate.[ch]
      	* app/equalize.[ch]
      	* app/invert.[ch]: removed.
      
      	* app/gimpbrush-header.h
      	* app/gimppattern-header.h
      	* app/gimpdrawable-desaturate.[ch]
      	* app/gimpdrawable-equalize.[ch]
      	* app/gimpdrawable-invert.[ch]: new files.
      
      	* app/gui/commands.c: put some stuff from desaturate, equalize and
      	invert here. While it's ok to check the drawable type in the
      	callback, this is the wrong place for PDB wrappers.
      
      	* app/gimpbrush.c
      	* app/gimpbrushpipe.c
      	* app/gimplayer.c
      	* app/gimppattern.c
      	* app/pdb/color_cmds.c
      	* plug-ins/common/gbr.c
      	* plug-ins/common/gih.c
      	* plug-ins/common/pat.c
      	* po/POTFILES.in
      	* tools/pdbgen/pdb/color.pdb: changed accordingly.
      26dee230
  5. 27 Feb, 2001 1 commit
  6. 14 Feb, 2001 2 commits
    • Michael Natterer's avatar
      added a note about apptype.h and about not including headers in headers. · 22371de3
      Michael Natterer authored
      2001-02-14  Michael Natterer  <mitch@gimp.org>
      
      	* HACKING: added a note about apptype.h and about not including
      	headers in headers.
      
      	* app/apptypes.h: added GimpTool and BitmapCursor.
      
      	* app/cursorutil.h
      	* app/devices.h
      	* app/draw_core.h
      	* app/tools/color_picker.h
      	* app/tools/tool.h
      	* app/tools/tool_options.h
      	* app/gimpcontext.h: removed includes of "tools/tool.h"
      
      	* app/gimprc.[ch]: indentadion cleanup, added
      	"module_db_load_inhibit".
      
      	* app/module_db.c: removed the above variable here.
      
      	* app/gimpdata.[ch]: added a vitrual "duplicate" method.
      
      	* app/gimpbrush.[ch]
      	* app/gimpbrushgenerated.[ch]
      	* app/gimpbrushpipe.[ch]
      	* app/gimpgradient.[ch]
      	* app/gimppalette.[ch]
      	* app/gimppattern.[ch]: all "load", "new" and "get_standard"
      	functions return a GimpData pointer now.
      
      	* app/gimpdatafactory.[ch]: made some stuff const.
      
      	* app/gimpdatafactoryview.c: activate the "duplicate" button and
      	set the initial button sensitivity correctly.
      
      	* app/brush_select.c
      	* app/gradient_select.c
      	* app/pattern_select.c: use the new GimpDataFactoryView.
      
      	* libgimp/Makefile.am: grouped the file to sort out what _may_
      	go to subdirs or separate libs.
      
      	* libgimp/gimpenv.[ch]: added many "const".
      
      	* app/app_procs.c
      	* app/brush_edit.c
      	* app/gimpcontext.c
      	* app/gimpdnd.c
      	* app/gradient_editor.c
      	* app/palette.c
      	* app/palette_import.c
      	* app/user_install.c: many related changes.
      
      	* libgimpmath/gimpmathtypes.h
      	* libgimpmath/gimpvector.[ch]: minor cleanups.
      
      	* plug-ins/script-fu/script-fu.c: gimp_data_directory() is const now.
      22371de3
    • Michael Natterer's avatar
      app/Makefile.am po/POTFILES.in app/brushes.[ch] app/gradients.[ch] · a97e433b
      Michael Natterer authored
      2001-02-14  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* po/POTFILES.in
      	* app/brushes.[ch]
      	* app/gradients.[ch]
      	* app/palettes.[ch]
      	* app/patterns.[ch]: removed.
      
      	* app/gimpdatafactory.[ch]: completely manage the data lists,
      	including loading with different callbacks per extension.
      
      	* app/gimpdatafactoryview.[ch]: enabled "new", "edit", "delete"
      	and "refresh".
      
      	* app/context_manager.c: initisalize the data factories.
      
      	* app/gimpcontext.c: fixed some bad bugs introduced yesterday.
      
      	* app/gradient_editor.[ch]: removed the public "create" function
      	and create the editor implicitly on "set_gradient"
      
      	* app/app_procs.c
      	* app/apptypes.h
      	* app/brush_edit.h
      	* app/brush_select.c
      	* app/commands.c
      	* app/convert.c
      	* app/devices.c
      	* app/gimpbrushpipe.c
      	* app/gimpcontainerview.h
      	* app/gimpgradient.c
      	* app/gimppattern.c
      	* app/gradient_select.c
      	* app/palette.c
      	* app/pattern_select.c
      	* app/pdb/brush_select_cmds.c
      	* app/pdb/brushes_cmds.c
      	* app/pdb/convert_cmds.c
      	* app/pdb/gradient_select_cmds.c
      	* app/pdb/gradients_cmds.c
      	* app/pdb/palette_cmds.c
      	* app/pdb/pattern_select_cmds.c
      	* app/pdb/patterns_cmds.c
      	* tools/pdbgen/pdb/brush_select.pdb
      	* tools/pdbgen/pdb/brushes.pdb
      	* tools/pdbgen/pdb/convert.pdb
      	* tools/pdbgen/pdb/gradient_select.pdb
      	* tools/pdbgen/pdb/gradients.pdb
      	* tools/pdbgen/pdb/palette.pdb
      	* tools/pdbgen/pdb/pattern_select.pdb
      	* tools/pdbgen/pdb/patterns.pdb: um, much stuff, mostly "changed
      	accordingly" ;-)
      a97e433b
  7. 11 Feb, 2001 1 commit
    • Michael Natterer's avatar
      app/Makefile.am app/apptypes.h new abstract base class for everything · e4bb2f93
      Michael Natterer authored
      2001-02-11  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/apptypes.h
      	* app/gimpdata.[ch]: new abstract base class for everything
      	(except images) which has a filename and can become dirty and must
      	be saved.
      
      	* app/gimpbrush.[ch]
      	* app/gimpgradient.[ch]
      	* app/gimppattern.[ch]: all derived from GimpData now.
      
      	* app/gimpbrushgenerated.[ch]
      	* app/brush_select.c
      	* app/brushes.c
      	* app/gimpbrushpipe.c
      	* app/gradient_editor.c
      	* app/gradients.c
      	* app/patterns.c: removed lots of code duplication due to common
      	file save magic.
      
      	The gradient file format has changed: it now contains the
      	gradient's name (no more ugly underscores). The files have the
      	extension ".ggr".
      
      	* app/gimpgradient.[ch]: save new gradients, load new and old
      	gradients.
      
      	* data/gradients/*: removed all old gradients and added the new
      	ones.
      e4bb2f93
  8. 07 Feb, 2001 1 commit
  9. 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
  10. 22 Jan, 2001 1 commit
    • Sven Neumann's avatar
      configure.in app/Makefile.am moved all tool sources to app/tools · fafae590
      Sven Neumann authored
      2001-01-22  Sven Neumann  <sven@gimp.org>
      
              * configure.in
              * app/Makefile.am
              * app/tools/Makefile.am: moved all tool sources to app/tools
      
              * app/app_procs.c
              * app/brush_select.c
              * app/commands.c
              * app/context_manager.c
              * app/convert.c
              * app/cursorutil.c
              * app/devices.c
              * app/disp_callbacks.c
              * app/edit_selection.c
              * app/gdisplay.c
              * app/gimage.c
              * app/gimage_mask.c
              * app/gimpbrush.c
              * app/gimpbrushgenerated.c
              * app/gimpbrushpipe.c
              * app/gimpdnd.c
              * app/gimprc.c
              * app/global_edit.c
              * app/info_window.c
              * app/interface.c
              * app/menus.c
              * app/path.c
              * app/paths_dialog.c
              * app/paths_dialogP.h
              * app/scale.c
              * app/scroll.c
              * app/undo.c
              * app/pdb/color_cmds.c
              * app/pdb/text_tool_cmds.c
              * app/pdb/tools_cmds.c
              * po/POTFILES.in
              * tools/kernelgen.c
              * tools/pdbgen/Makefile.am
              * tools/pdbgen/enums.pl
              * tools/pdbgen/pdb/color.pdb
              * tools/pdbgen/pdb/text_tool.pdb
              * tools/pdbgen/pdb/tools.pdb: changed accordingly
      fafae590
  11. 14 Jan, 2001 1 commit
    • Michael Natterer's avatar
      app/apptypes.h app/brush_edit.c app/brush_select.c app/brushes_cmds.c · cac3f7cb
      Michael Natterer authored
      2001-01-14  Michael Natterer  <mitch@gimp.org>
      
      	* app/apptypes.h
      	* app/brush_edit.c
      	* app/brush_select.c
      	* app/brushes_cmds.c
      	* app/channel.h
      	* app/colormap_dialog.c
      	* app/datafiles.[ch]
      	* app/devices.c
      	* app/docindex.c
      	* app/fileops.c
      	* app/gdisplay.c
      	* app/gimage.c
      	* app/gimpbrush.[ch]
      	* app/gimpbrushgenerated.[ch]
      	* app/gimpbrushlist.[ch]
      	* app/gimpbrushpipe.[ch]
      	* app/gimpcontext.[ch]
      	* app/gimpcontextpreview.c
      	* app/gimpdnd.c
      	* app/gimpdrawable.h
      	* app/gimpimage.[ch]
      	* app/gimplist.h
      	* app/gimpobject.h
      	* app/gimpset.[ch]
      	* app/gradient.c
      	* app/info_window.c
      	* app/layer.[ch]
      	* app/module_db.c
      	* app/palette.[ch]
      	* app/patterns.[ch]
      	* app/plug_in.[ch]
      	* app/undo_history.c
      	* app/xcf.c
      	* tools/pdbgen/pdb/brushes.pdb
      
      	- Removed the "name" argument from all objects and use
      	  GimpObject's name.
      	- Use the same code in all "uniquefy name" functions (this
      	  functionality will be a method of the "GimpContainer" class).
      	- Renamed the parent instances of all objects to "parent instance".
      	- Added missing instance and class cast macros.
      	- Changed some "gchar *" to "const gchar *" parameters.
      cac3f7cb
  12. 10 Jan, 2001 1 commit
    • Michael Natterer's avatar
      app/Makefile.am removed. added. · 92c45a90
      Michael Natterer authored
      2001-01-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/gimpsignal.[ch]: removed.
      	* app/gimpmarshal.[ch]: added.
      
      	* app/channel.[ch]
      	* app/gimpbrush.[ch]
      	* app/gimpbrushgenerated.c
      	* app/gimpbrushlist.[ch]
      	* app/gimpbrushpipe.[ch]
      	* app/gimpcontext.c
      	* app/gimpdrawable.c
      	* app/gimpimage.c
      	* app/gimplist.[ch]
      	* app/gimpobject.[ch]
      	* app/gimpset.[ch]
      	* app/layer.c
      	* app/layers_dialog.c
      	* app/module_db.c
      	* app/parasitelist.[ch]: removed gimp_signal_new() and
      	GIMP_TYPE_INIT(). Fixed lots of object related uglyness.
      92c45a90
  13. 19 Dec, 2000 1 commit
  14. 18 Dec, 2000 1 commit
    • Sven Neumann's avatar
      Jens Lautenbacher <jtl@gimp.org> · 3cff8419
      Sven Neumann authored
      2000-12-18  Sven Neumann  <sven@gimp.org>
      	    Jens Lautenbacher <jtl@gimp.org>
      
      	* app/Makefile.am
      
      	* app/gimpbrushlistP.h
      	* app/gimpbrushpipeP.h
      	* app/gimpobjectP.h: removed these three files
      
      	* app/parasitelistP.h
      	* app/channels_dialog.c
      	* app/docindex.c
      	* app/gimpdrawable.c
      	* app/gimpdrawableP.h
      	* app/gimpimage.c
      	* app/gimpimageP.h
      	* app/gimplist.[ch]
      	* app/gimpobject.c
      	* app/gimpobject.h
      	* app/gimpsetP.h: changed according to header removal
      
      	* app/airbrush.c
      	* app/brush_select.[ch]
      	* app/brushes_cmds.c
      	* app/gimpbrush.[ch]
      	* app/gimpbrushgenerated.[ch]
      	* app/gimpbrushlist.[ch]
      	* app/gimpbrushpipe.[ch]
      	* app/gimpcontextpreview.c
      	* app/paint_core.c
      	* app/paintbrush.c
      	* app/pencil.c
      	* tools/pdbgen/pdb/brushes.pdb: Big Brushes Cleanup.
      
      	The GimpBrush* object hierarchy and the file formats were broken by
      	"design". This made it overly difficult to read and write pixmap
      	brushes and brush pipes, leading to the situation that The GIMP was
      	not able to read it's very own file formats. Since the GimpBrush
      	format did support arbitrary color depths, the introduction of a
      	file format for pixmap brushes was unnecessary.
      
      	The GimpBrushPixmap object is dead. GimpBrush has an additional
      	pixmap temp_buf and handles pixmap brushes transparently. The file
      	format of pixmap brushes is not any longer a grayscale brush plus
      	a pattern, but a simple brush with RGBA data. The old brushes can
      	still be loaded, but the .gpb format is deprecated.
      
      	GimpBrushPipe derives from GimpBrush. The fileformat is still a text
      	header, followed by a number of brushes, but those brushes are stored
      	in the new GimpBrush format (no pattern anymore). The pipe does not
      	care about the depth of the contained GimpBrushes, so we get
      	grayscale BrushPipes for free. Since the brush loader still loads the
      	old format, old .gih files can also still be loaded.
      
      	Since the brushes in the GimpBrushPipe do not any longer contain a
      	pointer to the pipe object, we do only temporarily switch brushes
      	in the paint_core routines. This is not very elegant, but the best
      	we can do without a major redesign.
      
      	* app/patterns.[ch]: changed the loader to work with a filedescriptor
      	instead of a filehandle to make it work with the new brush loading
      	code.
      
      	* plug-ins/common/.cvsignore
      	* plug-ins/common/Makefile.am
      	* plug-ins/common/plugin-defs.pl
      	* plug-ins/common/gih.c: new plug-in that saves GIH files in the
      	new format (loader will follow soon)
      
      	* plug-ins/common/gpb.c: removed since Pixmap Brushes are no longer
      	supported as a special file format.
      
      	* plug-ins/common/gbr.c: load and save brushes in the new brush format
      	which allows RGBA brushes too.
      
      	* plug-ins/common/pat.c: load and save grayscale patterns too
      3cff8419
  15. 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
  16. 11 Nov, 2000 1 commit
    • Garry R. Osgood's avatar
      2000-11-11 Garry R. Osgood <gosgood>@idt.net * · c24b37e5
      Garry R. Osgood authored
      app/gimpbrushpipe.c
      Double frees due to dangling pointers [gimpbrushpipe.c
      CVS-1.27 Lines 396 ff]. Upon failure to load an n-th
      pixmap, a GPattern holding the dangling pointers would
      be released first, also releasing n-1 pixmap's name and
      RGB mask. These would again be freed in pipe and GTK
      deconstruction.
      c24b37e5
  17. 01 Oct, 2000 1 commit
    • Michael Natterer's avatar
      app/gimpbrush.c app/gimpbrushpipe.c app/pattern_header.h fixed #8150. · 4eeb8759
      Michael Natterer authored
      2000-10-01  Michael Natterer  <mitch@gimp.org>
      
      	* app/gimpbrush.c
      	* app/gimpbrushpipe.c
      	* app/pattern_header.h
      	* app/patterns.c: (Hopefully) fixed #8150.
      
      	- If something goes wrong during loading, free the resp. object
      	  immediately and close it's FD.
      	- When destroying, check each pointer before freeing it.
      	- Never use if (!gimp_brush_load_brush() || !pattern_load())
      	  but check the return values of both calls separately.
      	  (the original code tried to free an already destroyed temp_buf).
      	- stuff like below (s/sz_PatternHeader/sizeof(PatternHeader)/g etc.)
      4eeb8759
  18. 29 Sep, 2000 1 commit
    • Michael Natterer's avatar
      app/brush_edit.[ch] app/brush_header.h app/gimpbrush.[ch] · f38cdf12
      Michael Natterer authored
      2000-09-29  Michael Natterer  <mitch@gimp.org>
      
      	* app/brush_edit.[ch]
      	* app/brush_header.h
      	* app/gimpbrush.[ch]
      	* app/gimpbrushgenerated.[ch]
      	* app/gimpbrushlist.[ch]
      	* app/gimpbrushpipe.[ch]
      	* app/gimpcontext.h
      	* app/gimplist.[ch]
      	* app/gimpobject.[ch]
      	* app/gimpset.[ch]
      	* app/gimpsignal.[ch]
      	* app/parasitelist.h: Lotsa fixes in the brush referencing code
      	and cleanups in many GtkObjects:
      
      	- Reference brushes correctly (call gtk_object_sink() after adding
      	  them to the brush list). Don't crash when renaming a brush
      	  multiple times.
      	- Replaced all gtk_object_destroy() with gtk_object_unref|sink().
      	- Removed the "Fake Gimp object system" (gimp_object_destroy() et.al.)
      	  all over the place (while it's a good idea to have a common Gimp
      	  base object, it's totally useless to try to imitate Gtk's object
      	  system).
      	- s/sz_BrushHeader/sizeof(BrushHeader)/g
      	- And of course various indentation and coding style paranoia changes
      	  in all files I visited.
      f38cdf12
  19. 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
  20. 26 May, 2000 1 commit
    • Michael Natterer's avatar
      Final (1.2) libgimp namespace cleanup part I: · 863f7e1c
      Michael Natterer authored
      2000-05-26  Michael Natterer  <mitch@gimp.org>
      
      	Final (1.2) libgimp namespace cleanup part I:
      
      	* app/gimpbrushpipe.c
      	* app/gimpdrawable.[ch]
      	* app/gimpimage.[ch]
      	* app/gimpparasite.[ch]
      	* app/gimprc.c
      	* app/image_new.c
      	* app/parasite_cmds.c
      	* app/parasitelist.[ch]
      	* app/parasitelistP.h
      	* app/plug_in.c
      	* app/undo.c
      	* app/xcf.c
      	* libgimp/color_display.h
      	* libgimp/gimp.[ch]
      	* libgimp/gimpdrawable.c
      	* libgimp/gimpimage.c
      	* libgimp/gimpparasite.c
      	* libgimp/gimpprotocol.c
      	* libgimp/parasite.[ch]
      	* libgimp/parasiteF.h
      	* libgimp/parasiteP.h
      	* libgimp/parasiteio.[ch]
      	* modules/cdisplay_gamma.c
      	* modules/cdisplay_highcontrast.c
      	* plug-ins/common/csource.c
      	* plug-ins/common/gif.c
      	* plug-ins/common/gpb.c
      	* plug-ins/common/jpeg.c
      	* plug-ins/common/psp.c
      	* plug-ins/common/tiff.c
      	* plug-ins/common/xbm.c
      	* plug-ins/gap/gap_exchange_image.c
      	* plug-ins/gdyntext/gdyntext.c
      	* plug-ins/ifscompose/ifscompose.c
      	* plug-ins/xjt/xjt.c: s/Parasite/GimpParasite/g,
      	                      s/parasite_*/gimp_parasite_*/g
      
      	* libgimp/gimpcompat.h: added the old names.
      
      	* tools/pdbgen/pdb.pl
      	* tools/pdbgen/pdb/parasite.pdb: dito and an ugly perl hack to work
      	around a substitution clash. Perl gurus, feel free to fix it.
      863f7e1c
  21. 24 Feb, 2000 2 commits
    • Michael Natterer's avatar
      app/gimpbrush.[ch] app/gimpbrushgenerated.[ch] app/gimpbrushlist.[ch] · 8f4adbad
      Michael Natterer authored
      2000-02-24  Michael Natterer  <mitch@gimp.org>
      
      	* app/gimpbrush.[ch]
      	* app/gimpbrushgenerated.[ch]
      	* app/gimpbrushlist.[ch]
      	* app/gimpbrushlistP.h
      	* app/gimpbrushpipe.[ch]
      	* app/gimpbrushpipeP.h: did a brushes code-review: indentation,
      	removed some includes, didn't find a bug :-)
      
      	* app/gradient.c
      	* app/palette.c: we were leaking all gradient and palette preview
      	pixmaps as well as all lists of palette colors on each refresh.
      
      	* libgimp/gimpenv.c: updated documentation.
      8f4adbad
    • Michael Natterer's avatar
      fixed a memleak. · 868888fe
      Michael Natterer authored
      2000-02-24  Michael Natterer  <mitch@gimp.org>
      
      	* app/datafiles.c: fixed a memleak.
      
      	* app/gimpbrushlist.c
      	* app/gradient.c
      	* app/palette.c: use the gimp_path_* functions, cleanups.
      
      	* app/gimpbrushpipe.c: call the "destroy" function of the parent
      	class, not of the object class. Fixes a huge memleak on each
      	"Refresh".
      
      	* app/gimpbrushpipeP.h
      	* app/gimplist.c
      	* app/gimpbrush.c: did some cleanups while searching the brush
      	memleak.
      
      	* libgimp/gimpenv.c: gimp_path_get_user_writable_dir(): return a
      	copy of the string.
      
      	* plug-ins/FractalExplorer/Dialogs.c
      	* plug-ins/gfig/gfig.c
      	* plug-ins/gflare/gflare.c: g_free() the string returned by
      	gimp_path_get_user_writable_dir().
      868888fe
  22. 01 Feb, 2000 2 commits
  23. 25 Jan, 2000 1 commit
    • Michael Natterer's avatar
      removed BOUNDS, MINIMUM and MAXIMUM. No need to include both <glib.h> and · 49230471
      Michael Natterer authored
      2000-01-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/appenv.h: removed BOUNDS, MINIMUM and MAXIMUM. No need to
      	include both <glib.h> and <gtk/gtk.h>.
      
      	* app/*
      	* tools/pdbgen/pdb/text_tool.pdb: s/BOUNDS/CLAMP/,
      	same for MIN and MAX.
      
      	* app/preferences_dialog.c: the "Check Size" widget was connected
      	to the transparency_type variable.
      
      	* plug-ins/common/sobel.c: removed definitions of MIN and ROUND.
      
      	* libgimp/gimp.h: #include "gimplimits.h" and "gimpcolorspace.h".
      
      	* plug-ins/*: don't include the two files.
      49230471
  24. 24 Jan, 2000 1 commit
    • Manish Singh's avatar
      acconfig.h configure.in libgimp/Makefile.am libgimp/gimpregex.h · 81c1e886
      Manish Singh authored
      * acconfig.h
      * configure.in
      * libgimp/Makefile.am
      * libgimp/gimpregex.h
      * libgimp/regex.c
      * app/Makefile.am
      * app/regex.[ch]
      * plug-ins/script-fu/Makefile.am
      * plug-ins/script-fu/regex.[ch]
      * plug-ins/script-fu/interp_regex.c
      * tools/pdbgen/pdb/plug_in.pdb
      * tools/pdbgen/pdb/procedural_db.pdb: reverted previous regex move
      patch. This does *not* belong in libgimp and is just bloat. We'll
      use the regex functionality in glib once it has it.
      
      * acinclude.m4
      * config.guess
      * config.sub
      * ltconfig
      * ltmain.sh: upgrade to libtool 1.3.4
      
      * app/convert.c
      * app/gimpbrushpipe.c: minor cleanups
      
      -Yosh
      81c1e886
  25. 06 Dec, 1999 1 commit
  26. 14 Nov, 1999 1 commit
    • Michael Natterer's avatar
      app/airbrush.c app/apptypes.h app/brushes_cmds.c · 0c922cd3
      Michael Natterer authored
      1999-11-14  Michael Natterer  <mitch@gimp.org>
      
      	* app/airbrush.c
      	* app/apptypes.h
      	* app/brushes_cmds.c
      	* tools/pdbgen/pdb/brushes.pdb
      	* app/bucket_fill.c
      	* app/clone.c
      	* app/gimpbrushpipe.c
      	* app/paint_core.c
      	* app/patterns.h
      	* app/patterns_cmds.c
      	* tools/pdbgen/pdb/patterns.pdb: removed the GimpBrushP and
      	GPatternP types and use ordinary pointers instead.
      
      	The following stuff makes the "no_data" behaviour consistent. As a
      	side-effect it should make the gimp work when there are _really_ no
      	brushes/patterns/gradients.
      
      	* app/brush_select.c
      	* app/pattern_select.c: set the initial brush/pattern name to "No
      	Brushes/Patterns available" instead of "Active".
      
      	* app/devices.c: set the device contexts' brush/pattern/gradient
      	names if we started with no_data, so we find them on refresh.
      
      	* app/gimpbrushlist.c: set the name of the standard_brush to
      	"Standard".
      
      	* app/gimpcontext.c: don't replace the current
      	brush/pattern/gradient's name if the new one to be set is the
      	standard one. Together with the change in devices.c, this ensures
      	that we get what is set in devicerc. Minor fixes.
      
      	* app/gradient.c: changed gradients_init() to work like the other
      	data init functions. Only insert a default gradient in the
      	gradients list when the editor is opened (this means that the
      	gradients now behave like brushes/patterns when we start with
      	"no_data").
      	New function gradient_update() avoids tons of useless redraws of
      	all clist gradient previews whenever the gradient editor wants to
      	update it's large preview.
      
      	* app/gradient_select.c: don't segfault when the user tries to
      	drag from an empty gradient list.
      
      	* app/patterns.c: set the index of the standard_pattern to -1 to
      	indicate that it's not part of the pattern list.
      0c922cd3
  27. 04 Nov, 1999 2 commits
    • Sven Neumann's avatar
      get rid of compiler warnings · 84984285
      Sven Neumann authored
              * app/channel.c: get rid of compiler warnings
      
              * app/histogram_tool.c
              * app/histogram_tool.h: added a gradient below the histogram so
              it looks more like the curves and levels tool
      
              * app/gimpbrushpipe.c
              * libgimp/parasiteio.c
              * libgimp/parasiteio.h: plugged another mem-leaks. At least
              The GIMP now starts without leaking memory...
      
      --Sven
      84984285
    • Sven Neumann's avatar
      Oh, how I love memprof !! · aa2358fb
      Sven Neumann authored
      
      --Sven
      aa2358fb
  28. 26 Oct, 1999 1 commit
  29. 29 Sep, 1999 1 commit
  30. 09 Sep, 1999 1 commit
  31. 02 Sep, 1999 1 commit
    • Tor Lillqvist's avatar
      New files. Types and functions related to "standard" parasite types. Used · 5475ff08
      Tor Lillqvist authored
      1999-09-02  Tor Lillqvist  <tml@iki.fi>
      
      * libgimp/parasiteio.[ch]: New files. Types and functions related
      to "standard" parasite types. Used for the
      gimp-brush-pipe-parameters parasite that the gpb and psp plug-ins
      handle, and the value of which is stored in gih files, from
      which gimpbrushpipe.c parses it.
      
      * libgimp/{Makefile.am,makefile.{cygwin,msc}}: Add new files.
      
      * libgimp/gimp.def: Add its entry points.
      
      * libgimp/gimp.h: Fix cosmetic argument name error.
      
      * app/gimpbrushpipe.c: Remove code that previously
      was copied here, use functions from parasiteio.c.
      
      * plug-ins/common/gpb.c: Ditto. Add brush cell width and height
      fields to the gih save dialog. Add cleverness to update rows and
      columns as cell size is changes. (Still too easy for the user to
      get confused, though.) Display corresponding guide grid on the
      image. Unfortunately updating the guidelines doesn't seem to work.
      
      * plug-ins/common/psp.c: Use functions from parasiteio.c.
      5475ff08
  32. 01 Sep, 1999 2 commits
    • Tor Lillqvist's avatar
      app/appenv.h New file. Includes <math.h>. Move G_PI, RINT(), ROUND() etc · 6ef23d98
      Tor Lillqvist authored
      1999-09-01  Tor Lillqvist  <tml@iki.fi>
      
      * app/appenv.h
      * libgimp/gimpmath.h: New file. Includes <math.h>. Move G_PI,
      RINT(), ROUND() etc from app/appenv.h here, so plug-ins can
      use them, too. Remove some commented-out old stuff in appenv.h.
      
      * libgimp/gimp.h: Include gimpmath.h.
      
      * libgimp/gimp.c (gimp_main): Win32: Don't install signal
      handlers, we can't do anything useful in the handler ourselves
      anyway (it would be nice to print out a backtrace, but that seems
      pretty hard to do, even if not impossible). Let Windows inform the
      user about the crash. If the plug-in was compiled with MSVC, and
      the user also has it, she is offered a chance to start the
      debugger automatically anyway.
      
      * app/*several*.c: Include gimpmath.h for G_PI etc. Don't include
      <math.h>, as gimpmath.h includes it.
      
      * plug-ins/*/*many*.c: Include config.h. Don't include <math.h>.
      Remove all the duplicated definitions of G_PI and rint(). Use
      RINT() instead of rint().
      
      * app/app_procs.[ch]: app_exit() takes a gboolean.
      
      * app/batch.c
      * app/commands.c
      * app/interface.c: Call app_exit() with FALSE or TRUE.
      
      * app/main.c (on_error): Call gimp_fatal_error. (main): Don't
      install any signal handler on Win32 here, either.
      
      * app/errors.c (gimp_fatal_error, gimp_terminate): Win32: Format
      the message and call MessageBox with it.  g_on_error_query doesn't
      do anything useful on Win32, and printf'ing a message to stdout or
      stderr doesn't do anything, either, in a windowing application.
      6ef23d98
    • EDT 1999 Adrian Likins's avatar
      app/gimpbrushpip.[ch] app/airbrush.c app/pencil.c fix pencil tool for use · 5e64804c
      EDT 1999 Adrian Likins authored
      Wed Sep  1 00:56:37 EDT 1999 Adrian Likins <adrian@gimp.org>
      
              * app/gimpbrushpip.[ch]
              * app/airbrush.c
              * app/pencil.c
              * app/paintbrush.c: fix pencil tool for use with
                 pixmaps again
      5e64804c
  33. 30 Aug, 1999 1 commit
    • Tor Lillqvist's avatar
      Add a new method, gboolean want_null_motion(), that tells if the brush · 26b70edd
      Tor Lillqvist authored
      1999-08-30  Tor Lillqvist  <tml@iki.fi>
      
      * app/gimpbrush.h (GimpBrushClass): Add a new method, gboolean
      want_null_motion(), that tells if the brush wants to be painted
      when we don't know the direction yet. This is needed (so far) by
      brush pipes that select the brush based on direction.
      
      * app/gimpbrush.c: Implement above method returning always TRUE.
      
      * app/gimpbrushpipe.c: Here, implement it returning FALSE or TRUE
      on whether the brush pipe has any angular (direction) dependent
      dimension or not.
      
      * app/paint_core.c (paint_core_button_press): Call the method
      if current point == last point.
      26b70edd
  34. 28 Aug, 1999 2 commits
    • Tor Lillqvist's avatar
      In the case of angular selection, offset angle with G_PI/2 to be · 34f76ba3
      Tor Lillqvist authored
      1999-08-28  Tor Lillqvist  <tml@iki.fi>
      
      * app/gimpbrushpipe.c (gimp_brush_pixmap_select_brush): In the
      case of angular selection, offset angle with G_PI/2 to be
      compatible with PSP tubes. Restrict the index of each dimension
      separately to the appropriate range.
      
      * plug-ins/common/gpb.c (gih_save_dialog): Must not free the combo
      box string list, the strings are not strdup'ed by the combo box.
      34f76ba3
    • Tor Lillqvist's avatar
      Implement the selection of brush based on cursor direction, pressure, · 70fca093
      Tor Lillqvist authored
      1999-08-28  Tor Lillqvist  <tml@iki.fi>
      
      * app/gimpbrushpipe.c: Implement the selection of brush based on
      cursor direction, pressure, tilt, or a random value. (Hmm, forgot
      velocity, later.) (In addition to just incrementally stepping.)
      Read the brush pipe parameters from the gih file's second line.
      There is no way to tune the parameters in the GIMP, they must
      currently be set when saving the gih file (in the gpb plug-in).
      
      * app/gimpbrushpipe.h
      * app/gimpbrushpipeP.h: Move the PipeSelectModes enum to the
      "private" header. Add a stride array to GimpBrushPipe to make
      indexing easier.
      
      * plug-ins/common/gpb.c: Add selection mode fields to the dialog.
      Attach the pipe parameters entered as a parasite, too.
      
      * docs/parasites.txt
      * plug-ins/common/psp.c: Use "placement", not "spacing" (which
      means another thing).
      70fca093