1. 01 Dec, 2001 1 commit
    • Michael Natterer's avatar
      forgot a "return". · 6d0e5c34
      Michael Natterer authored
      2001-12-01  Michael Natterer  <mitch@gimp.org>
      
      	* app/errors.c: forgot a "return".
      
      	* app/gui/error-console-dialog.c: the menu item signals were
      	connected "swapped", which is wrong.
      
      	* app/tools/gimperasertool.c: added a cursor_update_func(), update
      	the "toggled" state there and chain up. Fixes wrong cursor
      	updating.
      
      	Made brush_pipe slection work again, removed the #warnings:
      
      	* app/core/gimpbrush.[ch]
      	* app/core/gimpbrushpipe.c: changed brush_class->select_brush()
      	and brush_class->want_null_motion() to be proper virtual
      	functions. Pass last_coords and cur_coords to them.
      
      	* app/tools/gimppainttool.c: call the functions again.
      6d0e5c34
  2. 15 Nov, 2001 1 commit
  3. 03 Sep, 2001 1 commit
    • Sven Neumann's avatar
      app/plug_in.c app/core/gimpbrush.c app/core/gimpbrushpipe.c · 083c7c91
      Sven Neumann authored
      2001-09-03  Sven Neumann  <sven@gimp.org>
      
      	* app/plug_in.c
      	* app/core/gimpbrush.c
      	* app/core/gimpbrushpipe.c
      	* app/core/gimpgradient.c
      	* app/core/gimppalette.c
      	* app/core/gimppattern.c: check strings from data files and plug-in
      	registration for UTF-8 validity. There are probably a lot more places
      	that need these checks.
      
      	* plug-ins/common/gqbist.c: converted PDB texts to UTF-8.
      083c7c91
  4. 14 Aug, 2001 1 commit
    • Michael Natterer's avatar
      an evil temp_hack which lets GimpContext managing the active display · e2daae31
      Michael Natterer authored
      2001-08-14  Michael Natterer  <mitch@gimp.org>
      
      	* app/gdisplay.h: an evil temp_hack which lets GimpContext managing
      	the active display withoug including "gdisplay.h". Will go away as
      	soon ad context properties are registered dynamically.
      
      	* app/module_db.c: cleaned up the object code in preparation of
      	moving it to core/.
      
      	* app/path.c: connect to GimpImage's
      
      	* app/core/gimpobject.[ch]: derive it from GObject, not from
      	GtkObject any more (yeah :-)
      
      	* app/core/*.c: #include <glib-object.h> instead of <gtk/gtk.h>,
      	removed some remaining GtkObject-isms.
      
      	(left in a few #include <gtk/gtk.h> where bigger changes are needed
      	to get rid of the UI dependency).
      
      	* app/core/core-types.h: #include <gdk-pixbuf/gdk-pixbuf.h> here
      	temporarily.
      
      	* app/core/gimp.c (gimp_create_display): unref the image after
      	creating it's first display.
      
      	* app/core/gimpbrush.[ch]: disabled the parts of the code which
      	depend on GimpPaintTool.
      
      	* app/core/gimpbrushgenerated.c
      	* app/core/gimpbrushpipe.c: changed accordingly.
      
      	* app/core/gimpcontext.[ch]: evil hack (see above) to manage the
      	active display without including "gdisplay.h"
      
      	* app/core/gimpimage-mask.[ch]: pass a context to
      	gimage_mask_stroke() and get the current tool's PDB string from
      	there.
      
      	* app/core/gimpedit.c: changed accordingly.
      
      	* app/core/gimpimage.c: use gimp_image_update() instead of
      	gdisplays_update_full().
      
      	* app/gui/color-area.c
      	* app/gui/colormap-dialog.c
      	* app/gui/dialogs-constructors.c
      	* app/gui/edit-commands.c
      	* app/gui/image-commands.c
      	* app/gui/toolbox.c: changed accordingly (don't use Gtk methods on
      	GObjects).
      
      	* app/gui/menus.c: fix some const warnings by explicit casting.
      
      	* app/tools/*.[ch]: ported all tools to GObject, some minor
      	cleanup while i was on it.
      
      	* app/widgets/gimpdialogfactory.[ch]: ported to GObject.
      
      	* app/widgets/gimplayerlistview.h: added FOO_GET_CLASS() macro.
      
      	* tools/pdbgen/app.pl: added a "widgets_eek" hack like "tools_eek"
      	which inserts #include "widgets/widgets-types.h" before ordinary
      	includes.
      
      	* tools/pdbgen/pdb/brush_select.pdb
      	* tools/pdbgen/pdb/edit.pdb
      	* app/pdb/brush_select_cmds.c
      	* app/pdb/edit_cmds.c: changed according to the stuff above.
      e2daae31
  5. 12 Aug, 2001 1 commit
    • Michael Natterer's avatar
      Switched to GObject reference counting: · 79faae01
      Michael Natterer authored
      2001-08-12  Michael Natterer  <mitch@gimp.org>
      
      	Switched to GObject reference counting:
      
      	* app/core/gimpcontainer.c: only ref(), not ref()/sink() children
      	of strong containers. Reordered gimp_container_remove() so we
      	don't need to ref the object while removing it.
      
      	* app/core/gimpcontext.c: misc fixes. Needs to be badly tortured...
      
      	* app/app_procs.c
      	* app/gdisplay.c
      	* app/gimprc.c
      	* app/core/gimp.c
      	* app/core/gimpbrush.c
      	* app/core/gimpbrushpipe.c
      	* app/core/gimpdatafactory.c
      	* app/core/gimpdocuments.c
      	* app/core/gimpgradient.c
      	* app/core/gimpimage.c
      	* app/core/gimplayer.c
      	* app/core/gimplist.c
      	* app/core/gimpobject.c
      	* app/core/gimpparasite.c
      	* app/core/gimppattern.c
      	* app/core/gimpundostack.c
      	* app/gui/dialogs.c
      	* app/tools/gimpbezierselecttool.c
      	* app/tools/gimpfuzzyselecttool.c: changed accordingly: don't
      	ref()/sink() any more, unref all (??) objects after adding them to
      	strong containers, misc. minor fixes.
      
      	* app/gui/dialogs-constructors.c
      	* app/widgets/gimpwidgets.c: use g_object_add_weak_pointer()
      	instead of simply crashing because g_object_weak_ref() was used
      	with gtk_widget_destroyed, brrr.
      
      	* app/widgets/gimpdnd.c: removed unneeded g_return_if_fail()'s.
      79faae01
  6. 11 Aug, 2001 1 commit
    • Michael Natterer's avatar
      added a TODO entry about additional image/file info. · 357f463d
      Michael Natterer authored
      2001-08-11  Michael Natterer  <mitch@gimp.org>
      
      	* TODO.xml: added a TODO entry about additional image/file info.
      
      	* app/file-save.c: #include "core/gimpdocuments.h"
      
      	* app/core/gimpcontainer.[ch]: made virtual functions out of some
      	signals.
      
      	* app/core/*.[ch]: more GObject stuff: ported all
      	gimp_foo_get_type() functions and replaced almost all "destroy"
      	implementations with either "finalize" or "dispose" functions.
      357f463d
  7. 10 Aug, 2001 1 commit
    • Michael Natterer's avatar
      fix compiler warning. · 2353c5d3
      Michael Natterer authored
      2001-08-10  Michael Natterer  <mitch@convergence.de>
      
      	* app/nav_window.c: fix compiler warning.
      
      	* app/core/gimp.[ch]: added gimp->documents which will be an MRU
      	list of GimpImagefile objects.
      
      	* app/core/gimpcontainer.c: added some g_return_if_fail().
      
      	* app/gui/palette-editor.c: use GtkImage instead of GtkPixmap,
      	s/gtk_signal_*/g_signal_*/.
      
      	* app/widgets/gimppreview.c: render the checkerboard only for
      	channel == -1. In particular, don't render it for channel
      	previews.
      
      	* app/module_db.c
      	* app/core/*.c
      	* app/gui/colormap-dialog.c
      	* app/tools/gimpairbrushtool.c
      	* app/tools/gimpdodgeburntool.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimperasertool.c
      	* app/tools/gimppaintbrushtool.c
      	* app/tools/gimppenciltool.c
      	* app/tools/gimpsmudgetool.c
      	* app/tools/tool_manager.c
      	* app/widgets/*.c
      	* libgimpwidgets/*.c: s/gtk_type_new/g_object_new/
      2353c5d3
  8. 27 Jul, 2001 1 commit
    • Sven Neumann's avatar
      defined convenience macro g_signal_handlers_disconnect_by_data(). Will try · 2671ae15
      Sven Neumann authored
      2001-07-27  Sven Neumann  <sven@gimp.org>
      
      	* app/core/core-types.h:
      	defined convenience macro g_signal_handlers_disconnect_by_data().
      	Will try to persuade Tim to accept it for GLib.
      
      	* app/module_db.c
      	* app/undo_history.c
      	* app/core/gimp.c
      	* app/core/gimpbrush.c
      	* app/core/gimpbrushpipe.c
      	* app/core/gimpcontainer.c
      	* app/core/gimpcontext.c
      	* app/core/gimpdatafactory.c
      	* app/core/gimpparasite.c
      	* app/gui/brush-editor.c
      	* app/gui/brush-select.c
      	* app/gui/dialogs.c
      	* app/gui/file-open-dialog.c
      	* app/gui/gradient-select.c
      	* app/gui/gradients-commands.c
      	* app/gui/menus.c
      	* app/gui/pattern-select.c: GObject porting.
      	Replaced all gtk_object_[unref|ref] calls by their g_object_
      	counterparts, expect refs that are used with gtk_object_sink().
      2671ae15
  9. 24 Jul, 2001 1 commit
    • Michael Natterer's avatar
      Port to glib/gtk+ 2.0 episode I (every segfault has it's beginning) · 06b16890
      Michael Natterer authored
      2001-07-24  Michael Natterer  <mitch@gimp.org>
      
      	Port to glib/gtk+ 2.0 episode I (every segfault has it's beginning)
      
      	* configure.in: require glib/gtk+ >= 1.3.7, commented out the
      	gtkxmhtml stuff.
      
      	From now on, you will need glib, pango, atk and gtk+ HEAD from CVS
      	to hack or use GIMP HEAD.
      
      	Beware, it crashes randomly :)
      
      	* app/core/Makefile.am
      	* app/core/gimpmarshal.list: new file plus rules to generate
      	gimpmarshal.[ch] from it.
      
      	* app/core/*
      	* app/tools/*
      	* app/widgets/*
      	* libgimpwidgets/*: started to use the glib object system. All
      	core/ objects are still gtk objects however. All signals are
      	created using g_signal_new(). There are many gtk+ artefacts left.
      	Finally, we will _not_ use the gtk_signal_foo() wrappers and
      	friends any more.
      
      	* app/colormaps.c
      	* app/devices.[ch]
      	* app/disp_callbacks.c
      	* app/errorconsole.c
      	* app/file-save.[ch]
      	* app/interface.c
      	* app/module_db.c
      	* app/nav_window.c
      	* app/ops_buttons.c
      	* app/scroll.c
      	* app/user_install.c
      	* app/gui/about-dialog.c
      	* app/gui/brush-editor.c
      	* app/gui/brushes-commands.c
      	* app/gui/color-notebook.c
      	* app/gui/colormap-dialog.c
      	* app/gui/dialogs-commands.c
      	* app/gui/dialogs-constructors.c
      	* app/gui/file-commands.c
      	* app/gui/file-dialog-utils.c
      	* app/gui/file-new-dialog.c
      	* app/gui/file-open-dialog.[ch]
      	* app/gui/file-save-dialog.c
      	* app/gui/gradient-editor.c
      	* app/gui/gradients-commands.c
      	* app/gui/image-commands.c
      	* app/gui/info-dialog.[ch]
      	* app/gui/layer-select.c
      	* app/gui/layers-commands.c
      	* app/gui/menus.c
      	* app/gui/offset-dialog.c
      	* app/gui/palette-editor.c
      	* app/gui/palettes-commands.c
      	* app/gui/patterns-commands.c
      	* app/gui/preferences-dialog.c
      	* app/gui/resize-dialog.[ch]
      	* app/gui/splash.c
      	* app/gui/tips-dialog.c
      	* app/gui/tool-options-dialog.c
      	* app/gui/toolbox.c
      	* app/gui/tools-commands.c
      	* libgimp/gimpbrushmenu.c
      	* libgimp/gimpmenu.c
      	* libgimp/gimppatternmenu.c
      	* libgimp/gimpui.c
      	* libgimpbase/gimpenv.c: tons and tons of changes like "const
      	gchar*", switch from GdkDeviceInfo to GdkDevice (very incomplete
      	and currently disables), lots of s/gtk_signal/g_signal/,
      	removal/replacement of deprecated stuff,
      	s/GtkSignalFunc/GCallback/ and lots of small changes and fixes
      	while I was on it, zillions of warnings left...
      
      	* modules/Makefile.am: disabled the water color selector
      	temporarily (XInput issues).
      
      	* plug-ins/Makefile.am
      	* plug-ins/common/.cvsignore
      	* plug-ins/common/Makefile.am
      	* plug-ins/common/plugin-defs.pl: simply excluded all plug-ins
      	which did not build (including Script-Fu). They are trivial to
      	fix.
      06b16890
  10. 07 Jul, 2001 1 commit
    • Michael Natterer's avatar
      app/Makefile.am removed. · 1bcd3e18
      Michael Natterer authored
      2001-07-07  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/context_manager.[ch]: removed.
      
      	* app/app_procs.c: call tool_mananger instead of context_manager
      	functions, pass "the_gimp" to some more functions.
      
      	* app/drawable.[ch]: pass a GimpContext to drawable_fill().
      
      	* app/errors.c: behave according to "stack_trace_mode" when using
      	the debugging signal handler.
      
      	* app/gimprc.[ch]: removed the core/ config variables.
      
      	* app/selection.c: set the selection's state to INVISIBLE in
      	selection_pause().
      
      	* app/core/Makefile.am
      	* app/core/gimpcoreconfig.[ch]: new files (the configuration
      	variables used by core/).
      
      	* app/core/gimpcontext.[ch]: removed the global contexts (user,
      	default, ...) and their functions. It's no longer possible to pass
      	NULL to the context functions to manipulate the current context
      	(gimpcontext.c doesn't know the current context any more).
      
      	* app/core/gimp.[ch]: added them here. The functions are now called
      	gimp_[set|get]_*_context(). Added gimp_create_context() which is
      	the only function to create contexts now.
      
      	* app/gui/dialogs.[ch]
      	* app/gui/gui.[ch]: pass "gimp" to all functions.
      
      	* app/tools/tool_manager.[ch]
      	* app/tools/tools.[ch]: pass "gimp" to lots of functions. Added
      	the "global_tool_context" logic and the global/non-global paint
      	options switching from the context_manager. Pass "gimp" to all
      	tools' "register" functions.
      
      	* app/tools/*: changed accordingly.
      
      	* app/devices.c
      	* app/disp_callbacks.c
      	* app/file-open.[ch]
      	* app/file-save.c
      	* app/gdisplay.c
      	* app/gimage.c
      	* app/libgimp_glue.c
      	* app/module_db.c
      	* app/nav_window.c
      	* app/plug_in.c
      	* app/qmask.c
      	* app/undo.c
      	* app/base/base-config.c
      	* app/core/gimpbrushpipe.c
      	* app/core/gimpdrawable-offset.c
      	* app/core/gimpgradient.c
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage-mask.c
      	* app/core/gimpimage-new.c
      	* app/core/gimpimage.c
      	* app/core/gimppalette.c
      	* app/core/gimptoolinfo.[ch]
      	* app/core/gimpundo.c
      	* app/gui/brush-select.c
      	* app/gui/channels-commands.c
      	* app/gui/color-area.c
      	* app/gui/dialogs-constructors.c
      	* app/gui/file-new-dialog.c
      	* app/gui/file-open-dialog.c
      	* app/gui/gradient-editor.c
      	* app/gui/gradient-select.c
      	* app/gui/info-window.c
      	* app/gui/layers-commands.c
      	* app/gui/menus.c
      	* app/gui/palette-editor.c
      	* app/gui/palette-import-dialog.c
      	* app/gui/palette-select.c
      	* app/gui/paths-dialog.c
      	* app/gui/pattern-select.c
      	* app/gui/preferences-dialog.c
      	* app/gui/resize-dialog.c
      	* app/gui/test-commands.c
      	* app/gui/tool-options-dialog.c
      	* app/gui/toolbox.c
      	* app/gui/tools-commands.c
      	* app/xcf/xcf-load.c
      	* app/xcf/xcf-save.c
      	* app/widgets/gimpchannellistview.c
      	* app/widgets/gimpdnd.c
      	* app/widgets/gimpdrawablelistview.[ch]
      	* app/widgets/gimpimagedock.c
      	* app/widgets/gimplayerlistview.c
      	* app/pdb/brushes_cmds.c
      	* app/pdb/drawable_cmds.c
      	* app/pdb/gradient_select_cmds.c
      	* app/pdb/gradients_cmds.c
      	* app/pdb/palette_cmds.c
      	* app/pdb/patterns_cmds.c
      	* app/pdb/procedural_db.c
      	* tools/pdbgen/pdb/brushes.pdb
      	* tools/pdbgen/pdb/drawable.pdb
      	* tools/pdbgen/pdb/gradient_select.pdb
      	* tools/pdbgen/pdb/gradients.pdb
      	* tools/pdbgen/pdb/palette.pdb
      	* tools/pdbgen/pdb/patterns.pdb: changed accordingly: remove usage
      	of gimp_context_[get|set]_*(NULL), create contexts with
      	gimp_create_context(). Get the user/current context with
      	gimp_get_[user|current]_context(). Added/removed access to the
      	global "the_gimp" variable in some places. Get the core's config
      	variables from "core_config".
      1bcd3e18
  11. 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
  12. 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
  13. 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
  14. 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
  15. 27 Feb, 2001 1 commit
  16. 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
  17. 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
  18. 07 Feb, 2001 1 commit
  19. 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
  20. 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
  21. 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
  22. 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
  23. 19 Dec, 2000 1 commit
  24. 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
  25. 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
  26. 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
  27. 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
  28. 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
  29. 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
  30. 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
  31. 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
  32. 01 Feb, 2000 2 commits
  33. 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
  34. 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
  35. 06 Dec, 1999 1 commit
  36. 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
  37. 04 Nov, 1999 1 commit
    • 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