1. 01 Sep, 2005 2 commits
    • Sven Neumann's avatar
      reverted, it duplicates existing functionality. · f4e2ea30
      Sven Neumann authored
      2005-09-01  Sven Neumann  <neumann@jpk.com>
      
      	* app/core/gimppalette.[ch]: reverted, it duplicates existing
      	functionality.
      
      	* app/core/gimppalette-import.c
      	(gimp_palette_import_from_indexed_image): name the colors using
      	their index in the colormap.
      f4e2ea30
    • Sven Neumann's avatar
      added gimp_palette_new_from_colormap(). · cf538a33
      Sven Neumann authored
      2005-09-01  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimppalette.[ch]: added gimp_palette_new_from_colormap().
      cf538a33
  2. 08 Jun, 2005 1 commit
    • Sven Neumann's avatar
      Removed "stingy-memory-use" all over the place. This feature was really · c1363db8
      Sven Neumann authored
      2005-06-08  Sven Neumann  <sven@gimp.org>
      
      	Removed "stingy-memory-use" all over the place. This feature was
      	really not that useful anymore. The GUI for the preference option
      	was already removed for GIMP 2.2.  Fixes bug #306617.
      
      	* app/config/gimpbaseconfig.[ch]: set IGNORE flag on
      	"stingy-memory-use".
      
      	* app/config/gimpcoreconfig.h: added a comment that the
      	font_path_writable variable is unused.
      
      	* app/base/temp-buf.[ch]: removed code that used to deal with
      	swapping temp-bufs to disk.
      
      	* app/base/base.c: made base_config a static variable.
      
      	* app/core/gimpdata.[ch]
      	* app/core/gimpdatafactory.[ch]: removed stingy_memory_use
      	parameter from data construction methods.
      
      	* app/core/gimp-gradients.c
      	* app/core/gimpbrush-load.[ch]
      	* app/core/gimpbrush.[ch]
      	* app/core/gimpbrushgenerated.[ch]
      	* app/core/gimpbrushpipe.[ch]
      	* app/core/gimpcontext.c
      	* app/core/gimpgradient-load.[ch]
      	* app/core/gimpgradient.[ch]
      	* app/core/gimppalette-import.c
      	* app/core/gimppalette.[ch]
      	* app/core/gimppattern.[ch]: changed accordingly.
      c1363db8
  3. 09 Mar, 2005 1 commit
    • Sven Neumann's avatar
      renamed again, to gimp_palette_[gs]et_columns this time. · 3285ee6e
      Sven Neumann authored
      2005-03-09  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimppalette.[ch]: renamed again, to
      	gimp_palette_[gs]et_columns this time.
      
      	* app/dialogs/palette-import-dialog.c
      	* app/widgets/gimppaletteeditor.c: changed accordingly.
      
      	* tools/pdbgen/pdb/palette.pdb: renamed newly added PDB function.
      	Also added a getter for the columns.
      
      	* app/pdb/internal_procs.c
      	* app/pdb/palette_cmds.c
      	* libgimp/gimppalette_pdb.[ch]: regenerated.
      
      	* libgimp/gimp.def: updated.
      3285ee6e
  4. 08 Mar, 2005 1 commit
    • Sven Neumann's avatar
      renamed gimp_palette_[gs]et_n_columns to · 243cdf53
      Sven Neumann authored
      2005-03-08  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimppalette.[ch]: renamed gimp_palette_[gs]et_n_columns
      	to gimp_palette_[gs]et_num_columns().
      
      	* app/dialogs/palette-import-dialog.c
      	* app/widgets/gimppaletteeditor.c: changed accordingly.
      
      	* tools/pdbgen/pdb/palette.pdb: added new PDB function to control
      	the number of columns used when displaying a palette (bug #169370).
      
      	* app/pdb/internal_procs.c
      	* app/pdb/palette_cmds.c
      	* libgimp/gimppalette_pdb.[ch]: regenerated.
      
      	* libgimp/gimp.def: updated.
      243cdf53
  5. 31 Dec, 2004 2 commits
    • Michael Natterer's avatar
      removed the just added gimp_palette_insert_entry() and added a "gint · e5feab65
      Michael Natterer authored
      2004-12-31  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimppalette.[ch]: removed the just added
      	gimp_palette_insert_entry() and added a "gint position" parameter
      	to gimp_palette_add_entry() instead (no need to have two almost
      	identical functions).
      
      	* app/actions/palette-editor-commands.c
      	* app/core/gimppalette-import.c
      	* app/widgets/gimppaletteeditor.c
      	* tools/pdbgen/pdb/palette.pdb: changed accordingly.
      
      	* app/pdb/palette_cmds.c: regenerated.
      e5feab65
    • Michael Natterer's avatar
      Applied modified patch from Ben Campbell which adds drop coordinates to · e0f25134
      Michael Natterer authored
      2004-12-31  Michael Natterer  <mitch@gimp.org>
      
      	Applied modified patch from Ben Campbell which adds drop
      	coordinates to the color drop callback and uses it to insert
      	colors in the palette editor. Extended the patch to add drop
      	coordinates to all drop callbacks.
      
      	* app/core/gimppalette.[ch]: added gimp_palette_insert_entry().
      
      	* app/display/gimpdisplayshell-dnd.[ch]: added drop coordinates
      	to all drop callbacks.
      
      	* app/dialogs/palette-import-dialog.c
      	* app/widgets/gimpcolormapeditor.c
      	* app/widgets/gimpcontainerview.c
      	* app/widgets/gimpdnd.[ch]
      	* app/widgets/gimpdrawabletreeview.c
      	* app/widgets/gimpfgbgeditor.c
      	* app/widgets/gimpgradienteditor.c
      	* app/widgets/gimpitemtreeview.c
      	* app/widgets/gimppaletteeditor.c
      	* app/widgets/gimppropwidgets.c
      	* app/widgets/gimpselectioneditor.c
      	* app/widgets/gimptoolbox-dnd.c
      	* app/widgets/gimptoolbox-image-area.c
      	* app/widgets/gimptoolbox-indicator-area.c
      	* app/widgets/gimptooloptionseditor.c
      	* libgimpwidgets/gimpcolorselect.c: changed accordingly. The passed
      	drop coordiantes are so far unused.
      
      	* app/widgets/gimppaletteeditor.c: use the drop coordinates to
      	insert the new color into the palette at the right place instead
      	of always appending. Fixes bug #150030.
      e0f25134
  6. 26 Jul, 2004 1 commit
    • Michael Natterer's avatar
      added "gboolean writable" to the GimpDataFactoryLoaderEntry struct. Return · 638f2b3a
      Michael Natterer authored
      2004-07-26  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpdatafactory.h: added "gboolean writable" to the
      	GimpDataFactoryLoaderEntry struct. Return a GList* instead of
      	GimpData* from GimpDataLoadFunc so it's possible to load more than
      	one data object from one file.
      
      	* app/core/gimpdatafactory.c (gimp_data_factory_load_data):
      	changed accordingly: add all items of the returned lists to the
      	data factory. Make the data object writable only if it's in the
      	writable path *and* its loader entry says it's a writable format
      	*and* the returned list contains exactly one element.
      
      	* app/core/gimp.c (gimp_real_initialize): declare all loader
      	entries as writable where we have code to read and write exactly
      	one object per file; all others are not writable.
      
      	* app/core/gimpbrush.[ch]
      	* app/core/gimpbrushgenerated.[ch]
      	* app/core/gimpbrushpipe.[ch]
      	* app/core/gimpgradient-load.[ch]
      	* app/core/gimppalette.[ch]
      	* app/core/gimppattern.[ch] (all load functions): return a list
      	containing the loaded object instead of the object itself.
      638f2b3a
  7. 30 Jun, 2004 1 commit
  8. 10 Mar, 2003 1 commit
    • Michael Natterer's avatar
      added GimpData::duplicate() implementation so read-only palettes can be · a00a565c
      Michael Natterer authored
      2003-03-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimppalette.[ch]: added GimpData::duplicate()
      	implementation so read-only palettes can be edited again by
      	duplicating them first.
      
      	* app/gui/dialogs-constructors.c: pass the <Palettes>, not the
      	<Gradients> menu identifier to the palette grid and tree view
      	constructors (spotted by Tigert).
      a00a565c
  9. 02 Dec, 2002 1 commit
    • Michael Natterer's avatar
      use GError for reporting load/save errors. Added gimp_data_error_quark() · 4ccd0f0a
      Michael Natterer authored
      2002-12-02  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpdata.[ch]: use GError for reporting load/save
      	errors. Added gimp_data_error_quark() and a GimpDataError enum.
      	Made simple virtual functions out of save(), get_extension()
      	and duplicate() because they don't need to be signals.
      
      	* app/core/gimpbrush.[ch]
      	* app/core/gimpbrushgenerated.[ch]
      	* app/core/gimpbrushpipe.[ch]
      	* app/core/gimpgradient.[ch]
      	* app/core/gimppalette.[ch]
      	* app/core/gimppattern.[ch]: changed accordingly. Set data->dirty
      	to FALSE in each _load() function.
      
      	* app/core/gimpdatafactory.[ch]: report GError messages here.
      	Changed the ugly factory->path pointer location hack to
      	factory->path_property_name and get the path from
      	factory->gimp->config. Added gimp_data_factory_data_duplicate()
      	implementation which was already declared in the header.
      
      	* app/core/gimp.c: pass the path property name to
      	gimp_data_factory_new().
      
      	* app/widgets/gimpdatafactoryview.c: removed the duplicate
      	implementation and call gimp_data_factory_data_duplicate().
      
      	* app/core/gimpgradient.[ch]: added gimp_gradient_save_as_pov().
      
      	* app/gui/gradients-commands.c: removed save_as_pov implementation
      	and call gimp_gradient_save_as_pov().
      4ccd0f0a
  10. 30 Nov, 2002 1 commit
    • Michael Natterer's avatar
      removed the global "base_config" variable. · 5c86e639
      Michael Natterer authored
      2002-11-30  Michael Natterer  <mitch@gimp.org>
      
      	* app/base/base-types.h: removed the global "base_config" variable.
      
      	* app/base/base.[ch]: added "gboolean use_mmx" to base_init().
      	Don't #include "appenv.h". Pass around more parameters to reduce
      	the usage of the global "paint_options" pointer.
      
      	* app/app_procs.c: pass "use_mmx" to base_init().
      
      	* app/base/temp-buf.c: pass "temp_path" around internally. Declare
      	"base_config" extern and added a #warning.
      
      	* app/core/gimpdata.[ch]
      	* app/core/gimpbrush.[ch]
      	* app/core/gimpbrushgenerated.[ch]
      	* app/core/gimpbrushpipe.[ch]
      	* app/core/gimpgradient.[ch]
      	* app/core/gimppalette.[ch]
      	* app/core/gimppattern.[ch]: added "gboolean stingy_memory_use"
      	parameters to all _new(), _load() and _duplicate() functions.
      
      	* app/core/gimpmarshal.list: GimpData::duplicate needs an
      	OBJECT__BOOLEAN marshaller now.
      
      	* app/core/gimpdatafactory.[ch]: added a "Gimp" pointer so the
      	factory can find the config. Pass base_config->stingy_memory_use
      	to the GimpData functions changed above.
      
      	* app/core/gimp-gradients.c
      	* app/core/gimp.c
      	* app/core/gimppalette-import.c
      	* app/gui/palettes-commands.c
      	* app/widgets/gimpdatafactoryview.c: changed accordingly.
      
      	* app/core/gimpcontext.c: get "stingy_memory_use" from
      	context->gimp->config.
      5c86e639
  11. 08 Mar, 2002 2 commits
    • Michael Natterer's avatar
      changed gimp_channel_get_color() to not return the color but take a second · 5437f54a
      Michael Natterer authored
      
      
      2002-03-08  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpchannel.[ch]: changed gimp_channel_get_color() to
      	not return the color but take a second GimpRGB* parameter like all
      	other _get_color() functions. Reordered some functions to make
      	more sense, added some g_return_if_fail().
      
      	* app/core/gimppalette.[ch]: added gimp_palette_[set|get]_n_columns()
      
      	* app/gui/menus.c: added a "<PaletteEditor>" item factory.
      
      	* app/gui/Makefile.am
      	* app/gui/palette-editor-commands.[ch]: callbacks for the factory.
      
      	* app/widgets/gimppaletteeditor.[ch]: removed the menu stuff here,
      	added a spinbutton to adjust the number of columns.
      
      	* app/gui/gradient-editor-commands.c: removed usage of "the_gimp".
      
      	* app/widgets/gimpgradienteditor.c: minor cleanup.
      
      	* app/widgets/gimpbrusheditor.h
      	* app/widgets/gimpgradienteditor.h
      	* app/widgets/gimppaletteeditor.h: forgot to declare the _get_type()
      	functions publically.
      5437f54a
    • Michael Natterer's avatar
      added GimpPaletteEntry typedef. · b0e05cda
      Michael Natterer authored
      2002-03-08  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/core-types.h: added GimpPaletteEntry typedef.
      
      	* app/core/gimppalette.h: removed it here.
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimpeditor.[ch]: new widget which is the base class
      	for everything which is a vbox and has a button area at the
      	bottom.
      
      	* app/widgets/gimpcontainerview.[ch]: derived from GimpEditor now.
      
      	* app/widgets/gimpdataeditor.[ch]: a GimpEditor subclass which is
      	the base class for the new data editors below.
      
      	* app/widgets/gimpbrushfactoryview.c
      	* app/widgets/gimpbufferview.c
      	* app/widgets/gimpchannellistview.c
      	* app/widgets/gimpdatafactoryview.c
      	* app/widgets/gimpdocumentview.c
      	* app/widgets/gimpitemlistview.c
      	* app/widgets/gimplayerlistview.c
      	* app/widgets/gimpvectorslistview.c
      	* themes/Default/gtkrc: chagec accordingly.
      
      	* app/gui/Makefile.am
      	* app/gui/brush-editor.[ch]
      	* app/gui/gradient-editor.[ch]
      	* app/gui/palette-editor.[ch]: removed...
      
      	* app/widgets/gimpbrusheditor.[ch]
      	* app/widgets/gimpgradienteditor.[ch]
      	* app/widgets/gimppaletteeditor.[ch]: ...and added back as
      	GimpDataEditor subclasses. Lots of cleanup and stuff...
      
      	* app/gui/dialogs-constructors.[ch]
      	* app/gui/dialogs.c
      	* app/gui/gradient-editor-commands.c
      	* app/gui/gui-types.h
      	* app/gui/palette-select.c
      	* app/tools/gimpcolorpickertool.c: changed accordingly.
      b0e05cda
  12. 03 Dec, 2001 1 commit
    • Sven Neumann's avatar
      Michael Natterer <mitch@gimp.org> · 4ba6db4e
      Sven Neumann authored
      2001-12-03  Sven Neumann  <sven@gimp.org>
      	    Michael Natterer <mitch@gimp.org>
      
      	* app/paint-funcs/paint-funcs-mmx.h: removed redefiniton of HAS_ALPHA
      	macro.
      
      	* app/core/gimp.c: reverted Daniel's change; it doesn't make the code
      	simpler, only more error-prone.
      
      	* app/gui/info-dialog.h
      	* app/gui/resize-dialog.h
      	* app/core/gimp.h
      	* app/core/gimpbrushgenerated.h
      	* app/core/gimpbrushpipe.h
      	* app/core/gimpchannel.[ch]
      	* app/core/gimpcontainer.h
      	* app/core/gimpcoreconfig.h
      	* app/core/gimpdata.h
      	* app/core/gimpdatafactory.[ch]
      	* app/core/gimpdrawable-blend.c
      	* app/core/gimpdrawable.[ch]
      	* app/core/gimpimage.h
      	* app/core/gimpimagefile.h
      	* app/core/gimplayer.h
      	* app/core/gimplayermask.h
      	* app/core/gimpmoduleinfo.h
      	* app/core/gimppalette.h
      	* app/core/gimpundo.h
      	* app/widgets/gimpbrushfactoryview.h
      	* app/widgets/gimpconstrainedhwrapbox.h
      	* app/widgets/gimpcontainermenu.h
      	* app/widgets/gimpcontainerview.h
      	* app/widgets/gimpdialogfactory.h
      	* app/widgets/gimpimagedock.h
      	* app/widgets/gimplistitem.h
      	* app/widgets/gimpmenuitem.h
      	* app/widgets/gimpnavigationpreview.h
      	* app/widgets/gimppreview.h
      	* app/gimprc.h
      	* app/pathP.h
      	* app/tools/gimpbezierselecttool.h
      	* app/tools/gimpcolorbalancetool.h
      	* app/tools/gimpcurvestool.h
      	* app/tools/gimpdodgeburntool.c
      	* app/tools/gimpfreeselecttool.h
      	* app/tools/gimphuesaturationtool.h
      	* app/tools/gimpinktool-blob.h
      	* app/tools/gimpinktool.h
      	* app/tools/gimpiscissorstool.h
      	* app/tools/gimpmagnifytool.h
      	* app/tools/gimpmeasuretool.h
      	* app/tools/gimppainttool.h
      	* app/tools/gimppathtool.h
      	* app/tools/gimprectselecttool.h
      	* app/tools/gimpthresholdtool.h
      	* app/tools/gimptool.h
      	* app/tools/gimptransformtool.h
      	* app/base/base-config.h
      	* app/base/gimplut.[ch]
      	* app/base/pixel-region.h
      	* app/base/pixel-surround.[ch]
      	* app/base/temp-buf.[ch]
      	* app/base/tile-manager-private.h
      	* app/base/tile-manager.[ch]
      	* app/base/tile-private.h
      	* app/base/tile.[ch]
      	* app/display/gimpdisplay.h
      	* app/display/gimpdisplayshell-selection.h
      	* app/display/gimpdisplayshell.h
      	* app/gui/brush-select.h
      	* app/gui/gradient-editor.h
      	* app/gui/gradient-select.h: reverted most of Daniel's changes.
      
      	There's no reason to use unsigned integers here and in lots of places
      	it is even wrong.
      
      	Then it's way too early to convert gbooleans into bitfields. This
      	change may make sense in a few places but can happen later when the
      	API has settled and the code is more stable.
      
      	* app/gimprc.c: reverted Daniel's change. This is a GCC-ism and this
      	code is about to die soon anyway.
      4ba6db4e
  13. 02 Dec, 2001 1 commit
    • Daniel Egger's avatar
      Convert ugly comments into named structure fields. Much cleaner and less · 1ed91801
      Daniel Egger authored
      2001-12-02  Daniel Egger  <degger@fhm.edu>
      
      	* app/gimprc.c: Convert ugly comments into named structure fields.
      	Much cleaner and less errorprone though may cause troubles on
      	older compilers and then needs to be reverted. Please report!
      
      	* app/base/base-types.h: Add FIXME reminder.
      
      	* app/base/gimplut.c: Use CLAMP macro instead of if-cascade.
      
      	* app/base/temp-buf.c: Remove duplicated calculations and simplify
      	checks.
      
      	* app/base/tile-manager.c:
      	- (tile_manager_get_tile_num): Return success and take an additional
      	  pointer for the tilenumber.
      	- Simplify logic in the rest of the file as a result.
      	- Remove rotten debugging cruft.
      
      	* app/core/gimpbrushgenerated.c: Fix two stylistic nits.
      
      	* app/app_procs.c: Include <stdlib.h> for exit () prototype.
      
      	* app/core/gimpdrawable-blend.c: Include <stdlib.h> for abs ()
      	prototype.
      
      	* app/display/gimpdisplay.c: Include <string.h> for memcpy ()
      	prototype.
      
      	* app/core/gimpimage-convert.c: (HIST_RGB): First parameter is
      	not const. Fixes a gcc warning for a wrong return value.
      
      	* libgimpwidgets/gimpunitmenu.c
      	* app/core/gimpunit.c: Add suggested (by gcc 3.1 cvs) parentheses
      	to group correct logic tests together.
      
      	* app/paint-funcs/paint-funcs-generic.h: Fix my HAS_ALPHA macro
      	to avoid gcc 3.1 cvs warning.
      
      	* app/gimprc.h
      	* pathP.h
      	* base-config.h
      	* app/base/boundary.h
      	* app/base/gimplut.[ch]
      	* app/base/pixel-region.h
      	* app/base/pixel-surround.[ch]
      	* app/base/temp-buf.[ch]
      	* app/base/tile-manager-private.h
      	* app/base/tile-manager.c
      	* app/base/tile-private.h
      	* app/base/tile.[ch]
      	* app/core/gimp.h
      	* app/core/gimpbrushgenerated.h
      	* app/core/gimpbrushpipe.h
      	* app/core/gimpchannel.[ch]
      	* app/core/gimpcontainer.h
      	* app/core/gimpcoreconfig.h
      	* app/core/gimpdata.h
      	* app/core/gimpdatafactory.[ch]
      	* app/core/gimpdrawable-blend.c
      	* app/core/gimpdrawable.[ch]
      	* app/core/gimpimage.h
      	* app/core/gimpimagefile.h
      	* app/core/gimplayer.h
      	* app/core/gimplayermask.h
      	* app/core/gimpmoduleinfo.h
      	* app/core/gimppalette.h
      	* app/core/gimpundo.h
      	* app/display/gimpdisplay.h
      	* app/display/gimpdisplayshell-selection.h
      	* app/display/gimpdisplayshell.h
      	* app/gui/brush-select.h
      	* app/gui/gradient-editor.h
      	* app/gui/gradient-select.h
      	* app/gui/info-dialog.h
      	* app/gui/resize-dialog.h
      	* app/tools/gimpbezierselecttool.h
      	* app/tools/gimpcolorbalancetool.h
      	* app/tools/gimpcolorpickertool.h
      	* app/tools/gimpcurvestool.h
      	* app/tools/gimpdodgeburntool.c
      	* app/tools/gimpfreeselecttool.h
      	* app/tools/gimpfuzzyselecttool.h
      	* app/tools/gimphuesaturationtool.h
      	* app/tools/gimpinktool-blob.h
      	* app/tools/gimpinktool.h
      	* app/tools/gimpiscissorstool.h
      	* app/tools/gimpmagnifytool.h
      	* app/tools/gimpmeasuretool.h
      	* app/tools/gimppainttool.h
      	* app/tools/gimppathtool.h
      	* app/tools/gimprectselecttool.h
      	* app/tools/gimpthresholdtool.h
      	* app/tools/gimptool.h
      	* app/tools/gimptransformtool.h
      	* app/tools/path_toolP.h
      	* app/widgets/gimpbrushfactoryview.h
      	* app/widgets/gimpconstrainedhwrapbox.h
      	* app/widgets/gimpcontainermenu.h
      	* app/widgets/gimpcontainerview.h
      	* app/widgets/gimpdialogfactory.h
      	* app/widgets/gimpimagedock.h
      	* app/widgets/gimplistitem.h
      	* app/widgets/gimpmenuitem.h
      	* app/widgets/gimpnavigationpreview.h
      	* app/widgets/gimppreview.h: Unsignify lots of variables and
      	parameters and use bitfields in structs where possible. First
      	part of a huge cleanup all over the code...
      1ed91801
  14. 22 Nov, 2001 1 commit
    • Sven Neumann's avatar
      bumped version number to 1.3.1. Require Glib/GTK+-1.3.11 and Pango-0.22. · 757017a8
      Sven Neumann authored
      2001-11-23  Sven Neumann  <sven@gimp.org>
      
      	* configure.in: bumped version number to 1.3.1.
      	Require Glib/GTK+-1.3.11 and Pango-0.22. Removed GDK_DISABLE_COMPAT_H
      	and GTK_DISABLE_COMPAT_H from our default CFLAGS since they don't
      	exist any longer.
      
      	* RELEASE-TO-CVS.patch: removed since the glib/gtk+ API is supposed to
      	be frozen now.
      
      	* HACKING: removed reference to RELEASE-TO-CVS.patch
      
      	* app/gui/menus.c
      	* app/tools/gimptexttool.c: applied RELEASE-TO-CVS.patch to conform
      	to the new GTK+/Pango API.
      
      	* app/core/Makefile.am: generate marshallers with gimp_marshal prefix.
      
      	* app/core/gimpmarshal.list: added all marshallers we use.
      
      	* app/core/gimpmarshal.[ch]: regenerated.
      
      	* app/[lots of .c files]: use gimp_marshal_* for all marshallers.
      
      	* data/images/
      	* app/app_procs.c
      	* app/gui/splash.c:
      
      	* libgimpbase/Makefile.am
      	* libgimpbase/gimpbase.h
      	* libgimpbase/gimputils.[ch]: removed since they are no longer needed.
      
      	* app/gimprc.c
      	* plug-ins/common/ps.c
      	* plug-ins/gdyntext/gdyntext.c
      	* plug-ins/gdyntext/gdyntextcompat.c
      	* plug-ins/gfig/gfig.c
      	* plug-ins/gflare/gflare.c
      	* plug-ins/script-fu/script-fu-scripts.c: use glib functions instead
      	of gimp_strescape() and gimpstrcompress().
      
      	* cleaned up all header files: use G_BEGIN_DECLS/G_END_DECLS, declared
      	all _get_type function as G_GNUC_CONST.
      
      	* tools/pdbgen/enumcode.pl
      	* tools/pdbgen/lib.pl: make them generate header files using
      	G_BEGIN_DECLS/G_END_DECLS.
      
      	* pixmaps/Makefile.am
      	* pixmaps/wilber3.xpm: removed ...
      	* data/images/tips_wilber.png: ... and added here as PNG
      
      	* app/gui/tips-dialog.c: load the Wilber on demand using GdkPixbuf.
      
      	* data/images/gimp_splash.ppm: removed ...
      	* data/images/gimp_splash.png: ... and added as PNG
      
      	* app/app_procs.c
      	* app/gui/splash.[ch]: load the splash image using GdkPixbuf.
      
      	* app/gui/about-dialog.c: sink the GtkPreview.
      757017a8
  15. 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
  16. 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
  17. 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
  18. 18 Feb, 2001 1 commit
    • Michael Natterer's avatar
      added DND source functions which work by GtkType. · a80dd4d0
      Michael Natterer authored
      2001-02-18  Michael Natterer  <mitch@gimp.org>
      
      	* app/gimpdnd.[ch]: added DND source functions which work by
      	GtkType.
      
      	* app/commands.c
      	* app/brush_select.c
      	* app/gradient_select.[ch]
      	* app/pattern_select.c: removed the DND code here because it's all
      	done by the GimpContainerView now.
      
      	* app/gimpbrushpreview.c
      	* app/gimpgradientpreview.c
      	* app/gimppalettepreview.c
      	* app/gimppatternpreview.c: use the DND by-type connect functions.
      
      	* app/gimpbrushgenerated.c: implemented "duplicate", cleanup.
      
      	* app/gimpcontainergridview.c
      	* app/gimpcontainerlistview.c
      	* app/gimpcontainerview.[ch]: added a "activate_item" signal
      	method which is emitted by the subclasses to indicate double click.
      
      	* app/gimpdatafactoryview.c: connect to "activate_item" and show
      	the editor.
      
      	* app/convert.c
      	* app/gimppalette.[ch]
      	* app/palette.c
      	* app/paletteP.h
      	* app/palette_import.c
      	* app/palette_select.[ch]: major cleanup: Behaves like the other
      	datatypes now: DND, context stuff, GimpContainerListViews in
      	the dialogs etc. Mostly just removal of code.
      
      	* app/gradient_editor.c: fixed signal blocking/unblocking.
      
      	* plug-ins/script-fu/scripts/Makefile.am: install the "Test Sphere"
      	script again.
      a80dd4d0
  19. 14 Feb, 2001 1 commit
    • 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
  20. 13 Feb, 2001 1 commit
    • Michael Natterer's avatar
      gimprc.in user_install user_install.bat app/gimprc.[ch] removed the · b5d8536f
      Michael Natterer authored
      2001-02-13  Michael Natterer  <mitch@gimp.org>
      
      	* gimprc.in
      	* user_install
      	* user_install.bat
      	* app/gimprc.[ch]
      	* app/preferences_dialog.c: removed the "brush_vbr_path" variable,
      	because all data types will be editable and saveable soon.
      
      	* app/Makefile.am
      	* app/apptypes.h
      	* app/gimpdatafactory.[ch]: new object which holds a data list and
      	knows how to create, edit, duplicate etc. the items in it. Will
      	completely replace the brushes.[ch], patterns.[ch], ... files soon.
      
      	* po/POTFILES.in
      	* app/gimpdatacontainerview.[ch]: removed.
      	* app/gimpdatafactoryview.[ch]: added.
      
      	A view on the GimpDataFactory with a GUI for creating, editing,
      	deleting etc. items (mostly unimplemented).
      
      	* app/context_manager.[ch]: replaced the global data lists by global
      	data factories.
      
      	* app/brush_select.c
      	* app/brushes.[ch]
      	* app/commands.c
      	* app/convert.c
      	* app/devices.c
      	* app/gimpbrush.[ch]
      	* app/gimpbrushgenerated.c
      	* app/gimpcontext.c
      	* app/gimpdata.[ch]
      	* app/gimpdatalist.[ch]
      	* app/gimpdnd.c
      	* app/gimpgradient.[ch]
      	* app/gimppalette.[ch]
      	* app/gimppattern.[ch]
      	* app/gradient_editor.c
      	* app/gradient_select.c
      	* app/gradients.[ch]
      	* app/indicator_area.c
      	* app/palette.c
      	* app/palette_import.c
      	* app/palette_select.c
      	* app/palettes.[ch]
      	* app/pattern_select.c
      	* app/patterns.[ch]
      	* 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/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/pattern_select.pdb
      	* tools/pdbgen/pdb/patterns.pdb: changed accordingly.
      b5d8536f
  21. 12 Feb, 2001 1 commit
    • Michael Natterer's avatar
      app/brush_select.[ch] removed almost all code by using the · 26789497
      Michael Natterer authored
      2001-02-12  Michael Natterer  <mitch@gimp.org>
      
      	* app/brush_select.[ch]
      	* app/pattern_select.[ch]: removed almost all code by using
      	the GimpContainerGridView.
      
      	* app/brushes.c
      	* app/patterns.c: brush|pattern_select_freeze|thaw_all() don't
      	exist any more.
      
      	* app/devices.c: made it work again.
      
      	* app/gimpgradientpreview.c: the gradient popup is 128 x 32 again.
      
      	* app/plug_in.c: follow the brush and pattern dialog function
      	renaming.
      
      	* app/gimppalette.[ch]
      	* app/gimppalettepreview.c: added a "Columns" attribute and show
      	the popups accordingly.
      
      	The palette file format has changed again. It now can have an
      	optional "Columns: <n>" line after the palette's name.
      
      	* data/palettes/Bgold.gpl
      	* data/palettes/Borders.gpl
      	* data/palettes/Cascade.gpl
      	* data/palettes/China.gpl
      	* data/palettes/Coldfire.gpl
      	* data/palettes/Dark_pastels.gpl
      	* data/palettes/Ega.gpl
      	* data/palettes/Gold.gpl
      	* data/palettes/Grayblue.gpl
      	* data/palettes/Hilite.gpl
      	* data/palettes/Kahki.gpl
      	* data/palettes/Named_Colors.gpl
      	* data/palettes/News3.gpl
      	* data/palettes/Op2.gpl
      	* data/palettes/Plasma.gpl
      	* data/palettes/Visibone.gpl
      	* data/palettes/Visibone_2.gpl
      	* data/palettes/Web.gpl: added the "Columns" parameter where it
      	makes sense and remove those ugly black colors which were hanging
      	around as first color of may palettes.
      26789497
  22. 11 Feb, 2001 1 commit
    • Michael Natterer's avatar
      Made a GimpContainer out of the palette list: · 68216c6f
      Michael Natterer authored
      2001-02-11  Michael Natterer  <mitch@gimp.org>
      
      	Made a GimpContainer out of the palette list:
      
      	* app/Makefile.am
      	* app/palettes.[ch]: new files for the global palette list.
      
      	* app/gimpgradientpreview.[ch]
      	* app/gimppalettepreview.[ch]: new widgets.
      
      	* app/gimppalette.[ch]: derive it from GimpData to get all the
      	preview etc. stuff.
      
      	* app/datafiles.[ch]: new function datafiles_check_extension(),
      	added a "loader_data" parameter to datafiles_read_directories()
      	and pass it to the loader function.
      
      	* app/gimpcontext.[ch]: added the palette (not really used yet
      	except by the test dialogs).
      
      	* app/gimpdatalist.[ch]: new function gimp_data_list_save_and_clear()
      	which does everything needed for patterns_free(), brushes_free() ...
      
      	* app/gimpdnd.c: added palette DND.
      
      	* app/app_procs.c
      	* app/brushes.c
      	* app/color_notebook.h
      	* app/commands.c
      	* app/convert.c
      	* app/gimpbrush.h
      	* app/gimpbrushpipe.h
      	* app/gimpgradient.c
      	* app/gimppattern.h
      	* app/gimppreview.c
      	* app/gradients.c
      	* app/module_db.c
      	* app/palette.[ch]
      	* app/paletteP.h
      	* app/palette_import.c
      	* app/palette_select.[ch]
      	* app/patterns.c
      	* app/plug_in.c
      	* app/pdb/convert_cmds.c
      	* app/pdb/palette_cmds.c
      	* tools/pdbgen/pdb/convert.pdb
      	* tools/pdbgen/pdb/palette.pdb: lotsa stuff: changed due to the above
      	API changes, #define the file extensions in the GimpData subclasses'
      	header files instead of hardcoding them in several places, ...
      
      	* data/palettes/*: The same file format change as for the gradient
      	files:
      
      	- Save the palette name in a parsable form (as part of the file
      	  format, not in a comment.
      	- Removed unserscores from the palette names.
      	- Added an extension (Gimp PaLettes are ".gpl" files now ;-)
      68216c6f
  23. 21 Jan, 2001 1 commit
    • Michael Natterer's avatar
      removed. new object derived from GimpObject. Just used as a container at · 776b3a61
      Michael Natterer authored
      2001-01-21  Michael Natterer  <mitch@gimp.org>
      
      	* app/palette_entries.h: removed.
      	* app/gimppalette.[ch]: new object derived from GimpObject. Just
      	used as a container at the moment (no signals or stuff used).
      
      	* app/palette.[ch]: changed almost every line except in the
      	import_dialog part.
      
      	* app/Makefile.am
      	* app/apptypes.h
      	* app/convert.[ch]
      	* app/gimpdnd.h
      	* app/paletteP.h
      	* app/palette_select.[ch]
      	* app/convert_cmds.c
      	* tools/pdbgen/pdb/convert.pdb: changed accordingly.
      
      	* app/gimpdrawable.c: set klass->removed to NULL.
      776b3a61