1. 12 Nov, 2002 1 commit
    • Manish Singh's avatar
      don't say "Now type 'make'" if configure failed. · 2eef2afb
      Manish Singh authored
      2002-11-11  Manish Singh  <yosh@gimp.org>
      
              * autogen.sh: don't say "Now type 'make'" if configure failed.
      
              * app/core/Makefile.am
              * app/core/core-types.h
              * app/core/gimpenvirontable.[ch]: Implemented GimpEnvironTable,
              keeps an envp array built from system environment and *.env files.
      
              * app/core/gimp.[ch]: keep a GimpEnvironTable around.
      
              * app/gimprc.c
              * app/config/gimpcoreconfig.[ch]
              * app/core/gimpcoreconfig.h
              * app/gui/preferences-dialog.c
              * app/gui/user-install-dialog.c: environ-path config stuff
      
              * themes/Default/images/preferences/Makefile.am
              * themes/Default/images/preferences/folder-environ.png: just copied
              folder.png here, need a better one.
      
              * app/plug-in/plug-in.c: quick hack to use the envp in the
              GimpEnvironTable. Only on unix now, should really port the
              code to use g_spawn_*.
      
              * data/misc/user_install
              * etc/gimprc.in: add environ-path stuff
      
              * data/environ/Makefile: creates system environ directory.
      
              * data/environ/default.env: sample env file info.
      
              * data/Makefile.am
              * configure.in: added data/environ dir
      
              * plug-ins/pygimp/Makefile.am: python module files get put in
              $(gimpplugindir)/python now, install pygimp.env to point to it.
      
              * plug-ins/pygimp/doc/Makefile.am: minor clean up.
      2eef2afb
  2. 02 Jun, 2002 1 commit
    • Michael Natterer's avatar
      parse sessionrc using GScanner. · 110efe52
      Michael Natterer authored
      2002-06-02  Michael Natterer  <mitch@gimp.org>
      
      	* app/gui/session.c: parse sessionrc using GScanner.
      
      	* app/config/gimpscanner.[ch]: added utility function
      	gimp_scanner_parse_string_list(). Fixed the color parser's parse
      	error detection.
      
      	* app/gimprc.c: removed the sessionrc parsing stuff.
      
      	* app/config/gimpconfig-params.c (gimp_param_spec_color): no need
      	to set the param_spec's value_type, it already gets set by it's
      	base class' instance_init() function.
      110efe52
  3. 28 May, 2002 1 commit
    • Michael Natterer's avatar
      override GObjectClass->constructor() and do the setup stuff there, not in · b7e3c716
      Michael Natterer authored
      2002-05-28  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpcontext.c: override GObjectClass->constructor() and
      	do the setup stuff there, not in gimp_context_new(). This way we
      	can create properly initialized contexts with g_object_new().
      
      	* app/widgets/gimpdeviceinfo.c: Removed the "gimp" property
      	again. Added a constructor() implementation and moved stuff there
      	from gimp_device_info_set_property(PROP_GIMP).
      
      	* app/config/gimpconfig-deserialize.c: made deserialization of
      	value arrays work by actually using the array any not just leaking
      	it ;)
      
      	* app/core/gimpcontainer.c: removed debugging output. Call
      	config_iface->deserialize(child, ...) again instead of calling
      	gimp_config_deserialize_properties() directly.
      
      	* app/widgets/gimpdevices.c: switch to using the new stuff for
      	devicerc.
      
      	* app/widgets/gimpdeviceinfo.[ch]
      	* app/widgets/gimpdevices.[ch]
      	* app/gimprc.c: removed all old gimprc-style devicerc stuff.
      
      	* app/gui/menus.c
      	* app/gui/test-commands.[ch]: removed devicerc testing entries
      	and callbacks.
      b7e3c716
  4. 21 May, 2002 1 commit
  5. 13 May, 2002 1 commit
  6. 07 May, 2002 1 commit
    • Michael Natterer's avatar
      app/Makefile.am removed. · b6c56ff9
      Michael Natterer authored
      2002-05-07  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/nav_window.[ch]: removed.
      
      	* app/display/Makefile.am
      	* app/display/display-types.h
      	* app/display/gimpnavigationview.[ch]: new widget partially based
      	on the removed nav_window.
      
      	* libgimpproxy/gimpproxytypes.h: regnenerated.
      
      	* app/display/gimpdisplay-foreach.[ch]: removed
      	gdisplays_nav_preview_resized(). The new config system will allow
      	us to get notified of changes.
      
      	* app/display/gimpdisplayshell.[ch]: added "scaled" and "scrolled"
      	signals.
      
      	* app/display/gimpdisplayshell-scale.c
      	* app/display/gimpdisplayshell-scroll.c: emit "scaled" and
      	"scrolled" appropriately. Removed nav_window stuff.
      
      	* app/display/gimpdisplay.c
      	* app/display/gimpdisplayshell-callbacks.c: changed accordingly.
      
      	* app/gui/dialogs-constructors.[ch]
      	* app/gui/dialogs.c
      	* app/gui/menus.c: made the navigation dialog dockable.
      
      	* app/gui/view-commands.c: changed the nav_dialog callback accordingly.
      
      	* app/gui/preferences-dialog.c
      	* app/gimprc.[ch]
      	* app/config/gimpguiconfig.[ch]: removed "nav_window_per_display"
      	as it's now a dockable and it's state is saved in sessionrc.
      
      	* app/widgets/gimpnavigationpreview.[ch]: added context sensitive
      	mouse cursors.
      
      	* app/widgets/gimpimagedock.c: made it capable of holding
      	display-related dialogs (like GimpNavigationView) by connecting
      	to the context's "display_changed" signal.
      
      	* app/widgets/widgets-types.h: removed inclusion of
      	"display/display-types.h".
      
      	* app/widgets/gimpbufferview.c
      	* app/widgets/gimpchannellistview.c
      	* app/widgets/gimpcolormapeditor.c
      	* app/widgets/gimpcomponentlistitem.c
      	* app/widgets/gimpdocumentview.c
      	* app/widgets/gimpdrawablelistitem.c
      	* app/widgets/gimpdrawablelistview.c
      	* app/widgets/gimpitemlistitem.c
      	* app/widgets/gimpitemlistview.c
      	* app/widgets/gimplayerlistitem.c
      	* app/widgets/gimplayerlistview.c
      	* app/widgets/gimppreview.c
      	* app/widgets/gimpvectorslistview.c: warn about inclusion of
      	"display/display-types.h".
      b6c56ff9
  7. 05 May, 2002 1 commit
    • Michael Natterer's avatar
      app/Makefile.am removed... · c86ca2da
      Michael Natterer authored
      2002-05-05  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/gimphelp.[ch]: removed...
      
      	* app/widgets/Makefile.am
      	* app/widgets/gimphelp.[ch]: ...and added here.
      
      	* app/widgets/widgets-enums.[ch]: added GimpHelpBrowserType here
      	as registered enum. Added an evil hack with GimpCursorType so
      	app/config/gimpguiconfig.h can include this file.
      
      	* app/widgets/gimpcursor.c: added an assertion because of the
      	changed GimpCursorType.
      
      	* app/config/gimpguiconfig.[ch]: added a property for the help
      	browser type.
      
      	* app/gimprc.c
      	* app/libgimp_glue.c
      	* app/gui/preferences-dialog.c
      	* tools/pdbgen/pdb/help.pdb
      
      	* app/pdb/help_cmds.c: regenerated.
      
      	Some nav_window cleanup before chopping:
      
      	* app/nav_window.[ch]: removed the old preview code and use
      	GimpNavigationPreviews only. Namespaceified all functions. Speak
      	in terms of GimpDisplayShell, not GimpDisplay. Lots of internal
      	cleanup.
      
      	* app/gui/gui-types.h: removed NadiagtionDialog here...
      
      	* app/display/display-types.h: ...and added it here.
      
      	* app/display/gimpdisplayshell-callbacks.[ch]: added a callback
      	for the navigation button and call nav_window_show_popup() from there.
      
      	* app/display/gimpdisplayshell.c: free shell->nav_dialog
      	unconditionally, connect to the new callback.
      
      	* app/display/gimpdisplayshell-scale.c
      	* app/display/gimpdisplayshell-scroll.c
      	* app/gui/view-commands.c: changed accordingly.
      
      	* app/widgets/gimppreview.c (gimp_preview_set_viewable): the
      	assertion introduced recently was too tight, breaking
      	GimpNavigationPreview. Changed it to do an "is a" check, not exact
      	preview type matching.
      
      	* app/widgets/gimpimagepreview.c: added quick-hack support for
      	xres != yres.
      
      	* app/widgets/gimpnavigationpreview.[ch]: made
      	gimp_navigation_preview_grab_pointer() public so the nav_window
      	can call it.
      
      	Unrelated:
      
      	* app/display/gimpdisplay.c: removed the gui/ dependency from this
      	file by removing info_window stuff.
      
      	* app/display/gimpdisplayshell.c (gimp_display_shell_flush): update
      	the info_window here.
      
      	* app/gui/dialogs-constructors.c (dialogs_indexed_palette_new): call
      	gimp_dockable_set_context() like all other constructors.
      
      	* app/undo.c
      	* app/paint/gimppaintcore.h: some more include cleanup.
      c86ca2da
  8. 29 Apr, 2002 1 commit
    • Sven Neumann's avatar
      added new enum GimpThumbnailSize. · 9b6cde9d
      Sven Neumann authored
      2002-04-29  Sven Neumann  <sven@gimp.org>
      
      	* app/core/core-enums.[ch]: added new enum GimpThumbnailSize.
      
      	* app/gimprc.c
      	* app/config/gimpcoreconfig.[ch]
      	* app/core/gimpcoreconfig.[ch]: replaced old gimprc value
      	write_thumbnails with thumbnail_size.
      
      	* app/core/gimpimagefile.[ch]: allow to specify a thumbnail size.
      
      	* app/core/gimpdocuments.c
      	* app/file/file-open.c
      	* app/file/file-save.c
      	* app/gui/preferences-dialog.c
      	* app/widgets/gimpdocumentview.c: changed accordingly.
      
      	* app/gui/file-open-dialog.c: create the preview according to the
      	users choice of thumbnail size. Doesn't update on changes yet.
      9b6cde9d
  9. 29 Mar, 2002 1 commit
  10. 27 Mar, 2002 1 commit
    • Michael Natterer's avatar
      app/config/Makefile.am new files containing a convenience constructor for · 75c63ee3
      Michael Natterer authored
      2002-03-28  Michael Natterer  <mitch@gimp.org>
      
      	* app/config/Makefile.am
      	* app/config/gimpscanner.[ch]: new files containing a convenience
      	constructor for GScanner and some parse utility functions, mostly
      	cut out of app/plug-in/plug-in-rc.c
      
      	* app/plug-in/plug-in-rc.c: removed the stuff here, added scopes
      	to the scanner symbols.
      
      	* app/core/Makefile.am
      	* app/core/gimpunits.[ch]: moved the user_unit list handling and
      	unitrc stuff to this file. Parse unitrc here, using the new
      	utility functions instead of using gimprc.
      
      	* app/core/gimpunit.[ch]: removed here.
      
      	* app/core/gimpdocuments.c: same here: added a scanner for the
      	document history instead of using gimprc.
      
      	* app/gimprc.c: removed unitrc and document history parsing stuff
      	along with some old unused cruft.
      
      	* app/app_procs.c
      	* app/core/gimp.c
      	* app/gui/user-install-dialog.c: #include "core/gimpunits.h".
      
      	* app/core/gimpdrawable-bucket-fill.c: don't include "gimprc.h".
      75c63ee3
  11. 12 Mar, 2002 1 commit
    • Michael Natterer's avatar
      app/gimprc.[ch] app/gui/preferences-dialog.c · 17d655c1
      Michael Natterer authored
      2002-03-12  Michael Natterer  <mitch@gimp.org>
      
      	* app/gimprc.[ch]
      	* app/gui/preferences-dialog.c
      	* app/paint/gimppaintoptions.[ch]
      	* app/tools/paint_options.[ch]
      	* app/tools/tool_manager.[ch]: removed the "global_paint_options"
      	gimprc option because it doesn't quite fit the new dockable dialog
      	architecture.
      
      	* app/gui/brush-select.[ch]
      	* app/gui/gradient-select.[ch]
      	* app/gui/palette-select.[ch]
      	* app/gui/pattern-select.[ch]: removed the "Global Brush/Pattern/...
      	Selection" part of them. They are now only used for temp popup
      	selections and the PDB. *Lots* of cleanup.
      
      	* app/gui/convert-dialog.c
      	* app/gui/dialogs-constructors.[ch]
      	* app/gui/dialogs.c
      	* app/gui/gui.c
      	* app/gui/menus.c
      	* app/gui/palette-import-dialog.c
      	* app/plug-in/plug-in.c: changed accordingly.
      
      	Cleaned up the palette and other data PDB stuff:
      
      	* tools/pdbgen/Makefile.am
      	* tools/pdbgen/groups.pl: added "palette_select" and "palettes".
      
      	* tools/pdbgen/pdb/palette_select.pdb: new file. Makes the palette
      	selection PDB controllable.
      
      	* tools/pdbgen/pdb/palettes.pdb: new file cut out of palette.pdb
      	because of API symmetry with brushes, patterns, ...
      
      	* tools/pdbgen/pdb/palette.pdb: removed from here.
      
      	* tools/pdbgen/pdb/brush_select.pdb
      	* tools/pdbgen/pdb/brushes.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: lots of cleanup.
      
      	Autogenerated stuff:
      
      	* app/pdb/Makefile.am
      	* app/pdb/palette_select_cmds.c
      	* app/pdb/palettes_cmds.c: new files.
      
      	* app/pdb/brush_select_cmds.c
      	* app/pdb/brushes_cmds.c
      	* app/pdb/gradient_select_cmds.c
      	* app/pdb/gradients_cmds.c
      	* app/pdb/internal_procs.c
      	* app/pdb/palette_cmds.c
      	* app/pdb/pattern_select_cmds.c
      	* app/pdb/patterns_cmds.c: regenerated.
      
      	* libgimp/Makefile.am
      	* libgimp/gimp_pdb.h
      	* libgimp/gimppalettes_pdb.[ch]
      	* libgimp/gimppaletteselect_pdb.[ch]: new files.
      
      	* libgimp/gimpgradientselect_pdb.[ch]
      	* libgimp/gimppalette_pdb.[ch]
      	* libgimp/gimppatterns_pdb.c: regenerated.
      
      	* devel-docs/libgimp/tmpl/gimpgradients.sgml
      	* devel-docs/libgimp/tmpl/gimppalette.sgml: regenerated.
      17d655c1
  12. 03 Mar, 2002 1 commit
    • Michael Natterer's avatar
      Use gdouble in a [0.0..1.0] range for opacity values in the whole core's · ce643d27
      Michael Natterer authored
      2002-03-03  Michael Natterer  <mitch@gimp.org>
      
      	Use gdouble in a [0.0..1.0] range for opacity values in the whole
      	core's API. Convert them using (opacity * 255.999) when passing
      	them to base/ and paint-funcs/
      
      	Affected functions:
      
      	* app/core/gimpchannel.[ch]: gimp_channel_[set|get]_opacity()
      	* app/core/gimpimage.[ch]: gimp_image_[apply|replace]_image()
      	* app/paint/gimppaintcore.[ch]: gimp_paint_core_[paste|replace]_canvas()
      
      	* app/core/core-types.h: added defines GIMP_OPACITY_TRANSPARENT
      	and GIMP_OPACITY_OPAQUE, just like the ones from
      	paint-funcs/paint-funcs-types.h
      
      	* app/gimprc.c
      	* app/image_map.c
      	* app/core/gimpcontext.c
      	* app/core/gimpdrawable-blend.c
      	* app/core/gimpdrawable-bucket-fill.c
      	* app/core/gimpdrawable.c
      	* app/core/gimpedit.c
      	* app/core/gimplayer.c
      	* app/core/gimplayer-floating-sel.c
      	* app/core/gimppalette.c
      	* app/paint/gimpairbrush.c
      	* app/paint/gimpclone.c
      	* app/paint/gimpconvolve.c
      	* app/paint/gimpdodgeburn.c
      	* app/paint/gimperaser.c
      	* app/paint/gimppaintbrush.c
      	* app/paint/gimpsmudge.c
      	* app/tools/gimpinktool.c
      	* app/widgets/gimpcolorpanel.c
      	* app/widgets/gimplayerlistitem.c
      	* app/widgets/gimppreview.c
      	* app/xcf/xcf-load.c: changed accordingly, use the new constants.
      ce643d27
  13. 28 Feb, 2002 1 commit
    • Michael Natterer's avatar
      app/gimprc.[ch] app/config/gimpguiconfig.[ch] removed the · 83e49555
      Michael Natterer authored
      2002-02-28  Michael Natterer  <mitch@gimp.org>
      
      	* app/gimprc.[ch]
      	* app/config/gimpguiconfig.[ch]
      	* app/gui/toolbox.c: removed the "show_indicators" gimprc option.
      	The toolbox layout will change and thus obsolete it anyway.
      
      	* app/gui/Makefile.am
      	* app/gui/input-dialog.[ch]: removed.
      
      	* app/gui/dialogs-constructors.[ch]
      	* app/gui/dialogs.c
      	* app/gui/menus.c: changed accordingly.
      
      	* app/gui/preferences-dialog.c: Added an "Input Devices" page and
      	embed the input_dialog stuff there. Put "Display" and "Monitor"
      	under "Interface". Removed the "Session" page. Lots of cleanup and
      	reordering of options.  Please comment...
      
      	* themes/Default/images/preferences/Makefile.am
      	* themes/Default/images/preferences/input-devices.png: new icon.
      	* themes/Default/images/preferences/session.png: removed.
      83e49555
  14. 12 Feb, 2002 2 commits
    • Sven Neumann's avatar
      renamed GimpInterpolationType values to something sane and unexported it · 04c995fb
      Sven Neumann authored
      2002-02-12  Sven Neumann  <sven@gimp.org>
      
      	* app/base/base-enums.h: renamed GimpInterpolationType values to
      	something sane and unexported it from the PDB since it was never
      	used in any PDB calls.
      
      	* app/gimprc.c
      	* app/config/gimpcoreconfig.c
      	* app/core/gimpcoreconfig.c
      	* app/core/gimpdrawable-transform.c
      	* app/core/gimplayer.c
      	* app/gui/preferences-dialog.c
      	* app/gui/resize-dialog.c
      	* app/paint-funcs/paint-funcs.c
      	* app/pdb/transform_tools_cmds.c
      	* app/tools/transform_options.c
      	* tools/pdbgen/pdb/transform_tools.pdb: changed accordingly.
      
      	* libgimp/gimpenums.h
      	* plug-ins/script-fu/script-fu-constants.c
      	* tools/pdbgen/enums.pl: regenerated.
      04c995fb
    • Michael Natterer's avatar
      Made the interpolation type configurable in the scale and transform · 733d6335
      Michael Natterer authored
      2002-02-12  Michael Natterer  <mitch@gimp.org>
      
      	Made the interpolation type configurable in the scale and
      	transform options dialogs (#69251):
      
      	* app/base/base-config.[ch]
      	* app/config/gimpbaseconfig.[ch]: removed interpolation_type here...
      
      	* app/core/gimpcoreconfig.[ch]
      	* app/config/gimpcoreconfig.[ch]: ...and added it here.
      
      	* app/gimprc.c
      	* app/gui/preferences-dialog.c: changed accordingly.
      
      	* app/paint-funcs/paint-funcs.[ch]: scale_region: take an
      	interpolation_type parameter.
      
      	* app/core/gimpchannel.[ch]
      	* app/core/gimpdrawable-transform.[ch]
      	* app/core/gimpimage-scale.[ch]
      	* app/core/gimplayer.[ch]: pass interpolation_type parameters to all
      	scale and transform functions.
      
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/layer.pdb
      	* tools/pdbgen/pdb/transform_tools.pdb: changed accordingly.
      
      	* app/gui/resize-dialog.[ch]
      	* app/tools/transform_options.[ch]: added an interpolation_type menu.
      
      	* app/gui/image-commands.c
      	* app/gui/layers-commands.c
      	* app/tools/gimptransformtool.c: changed accordingly.
      
      	* app/pdb/image_cmds.c
      	* app/pdb/layer_cmds.c
      	* app/pdb/transform_tools_cmds.c: regenerated.
      733d6335
  15. 11 Feb, 2002 1 commit
    • Michael Natterer's avatar
      app/gimprc.[ch] app/config/gimpdisplayconfig.[ch] made the string which · 9e2f662a
      Michael Natterer authored
      2002-02-11  Michael Natterer  <mitch@gimp.org>
      
      	* app/gimprc.[ch]
      	* app/config/gimpdisplayconfig.[ch]
      	* app/gui/preferences-dialog.c: made the string which appears in
      	the display's statusbar configurable separately from the title
      	string. They still both have the same default value.
      
      	* app/display/gimpdisplayshell.c: changed accordingly.
      
      	Also added lots of new % expansions which implement all stuff
      	mentioned in #5843. Didn't apply the original patch because it is
      	overly complicated (the same can be acheived using %D and %C).
      	Instead, applied a changed version of gimp-quinet-000618-0.patch.
      	Added %Cx, which expands to 'x' if the image is clean.
      
      	* docs/gimprc-1.3.5.in
      	* etc/gimprc.in
      	* etc/gimprc.win32: added documentation for the new stuff.
      9e2f662a
  16. 08 Feb, 2002 1 commit
  17. 27 Dec, 2001 2 commits
    • Sven Neumann's avatar
      app/plug-in/Makefile.am new files that parse pluginrc using a GScanner. · 97824930
      Sven Neumann authored
      2001-12-28  Sven Neumann  <sven@gimp.org>
      
      	* app/plug-in/Makefile.am
      	* app/plug-in/plug-in-rc.[ch]: new files that parse pluginrc using a
      	GScanner.
      
      	* app/plug-in/plug-in.[ch]: made PlugInDef public again so we can use
      	it from the pluginrc parser.
      
      	* tools/pdbgen/pdb/procedural_db.pdb: made regex string matching
      	robust against NULL pointers.
      
      	* app/pdb/procedural_db_cmds.c: regenerated.
      
      	* app/gimprc.c: removed old pluginrc parser.
      97824930
    • Sven Neumann's avatar
      INSTALL NEWS require latest versions of glib, gtk+ and friends. Bumped our · 7e309cc1
      Sven Neumann authored
      2001-12-27  Sven Neumann  <sven@gimp.org>
      
      	* INSTALL
      	* NEWS
      	* configure.in: require latest versions of glib, gtk+ and friends.
      	Bumped our version number to 1.3.2.
      
      	* app/plug-in/plug-in.c (plug_in_params_destroy, plug_in_args_destroy):
      	moved condition out of the switch statement, simplified code.
      
      	* app/plug-in/plug-in-proc.[ch]: moved plug_in_proc_def_destroy() here.
      
      	* app/gimprc.c: use plug_in_proc_def_destroy().
      
      	* app/pdb/procedural_db.c: use g_string_hash() instead of our own hash
      	function.
      
      	* app/xcf/xcf.c: initialize all fields of the PlugInProcDef struct.
      7e309cc1
  18. 18 Dec, 2001 1 commit
    • Sven Neumann's avatar
      app/display/Makefile.am new file with GimpCursorMode enum. · 39ab860e
      Sven Neumann authored
      2001-12-18  Sven Neumann  <sven@gimp.org>
      
      	* app/display/Makefile.am
      	* app/display/display-enums.h: new file with GimpCursorMode enum.
      
      	* app/display/display-types.h: removed CursorMode enum here, include
      	display-enums.h.
      
      	* app/gimprc.c
      	* app/display/gimpdisplayshell.c
      	* app/gui/preferences-dialog.c: changed accordingly.
      
      	* app/config/Makefile.am
      	* app/config/gimpbaseconfig.[ch]
      	* app/config/gimpcoreconfig.[ch]
      	* app/config/gimpdisplayconfig.[ch]
      	* app/config/gimpguiconfig.[ch]: implemented the remaining properties.
      39ab860e
  19. 16 Dec, 2001 1 commit
    • Sven Neumann's avatar
      changed thumbnail_mode to boolean write_thumbnails. thumbnail_mode used to · 45874f1b
      Sven Neumann authored
      2001-12-16  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpcoreconfig.[ch]: changed thumbnail_mode to boolean
      	write_thumbnails. thumbnail_mode used to have only two defined
      	values; if we need more later, we can change that easily when the
      	new GimpConfig system is in place.
      
      	* app/gimprc.c
      	* app/file/file-save.c
      	* app/gui/file-open-dialog.c
      	* app/gui/preferences-dialog.c: changed accordingly.
      
      	* app/config/gimpcoreconfig.[ch]: finished GimpCoreConfig class.
      45874f1b
  20. 11 Dec, 2001 1 commit
    • Sven Neumann's avatar
      removed GimpImageBaseType enum ... · a611f063
      Sven Neumann authored
      2001-12-11  Sven Neumann  <sven@gimp.org>
      
      	* app/core/core-types.h: removed GimpImageBaseType enum ...
      
      	* app/core/core-enums.h: and added it here with proper namespace
      	(enum values prefixed with GIMP_).
      
      	* app/gimprc.c
      	* app/core/gimpcoreconfig.c
      	* app/core/gimpdrawable-bucket-fill.c
      	* app/core/gimpdrawable-preview.c
      	* app/core/gimpdrawable.c
      	* app/core/gimpedit.c
      	* app/core/gimpimage-convert.c
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage-mask.c
      	* app/core/gimpimage-merge.c
      	* app/core/gimpimage-new.c
      	* app/core/gimpimage-projection.c
      	* app/core/gimpimage.c
      	* app/core/gimplayer.c
      	* app/core/gimppalette-import.c
      	* app/display/gimpdisplay-handlers.c
      	* app/display/gimpdisplayshell-dnd.c
      	* app/display/gimpdisplayshell.c
      	* app/file/file-utils.c
      	* app/gui/colormap-dialog.c
      	* app/gui/convert-dialog.c
      	* app/gui/info-window.c
      	* app/gui/layers-commands.c
      	* app/gui/palette-import-dialog.c
      	* app/gui/preferences-dialog.c
      	* app/gui/toolbox.c
      	* app/tools/gimpclonetool.c
      	* app/tools/gimppainttool.c
      	* app/widgets/gimpchannellistview.c
      	* tools/pdbgen/Makefile.am
      	* tools/pdbgen/pdb/convert.pdb
      	* tools/pdbgen/pdb/image.pdb: changed accordingly.
      
      	* tools/pdbgen/enums.pl
      	* app/pdb/convert_cmds.c
      	* app/pdb/image_cmds.c
      	* libgimp/gimpconvert_pdb.c
      	* libgimp/gimpimage_pdb.c: regenerated.
      
      	* app/config/Makefile.am
      	* app/config/gimpconfig-params.h
      	* app/config/gimpconfig-serialize.c
      	* app/config/gimpcoreconfig.[ch]: added more stuff to GimpCoreConfig.
      a611f063
  21. 08 Dec, 2001 1 commit
    • Sven Neumann's avatar
      app/core/Makefile.am new file that holds enums that are registered with · a65e1a39
      Sven Neumann authored
      2001-12-08  Sven Neumann  <sven@gimp.org>
      
      	* app/core/Makefile.am
      	* app/core/core-enums.h: new file that holds enums that are registered
      	with the type system and is used to generate core-enums.c.
      
      	* app/core/core-types.h: include core-enums.h
      
      	* app/base/base-types.h: namespace cleanup. Prefix all enumeration
      	types with Gimp and their values with GIMP. Moved GimpLayerModeEffects
      	enum ...
      
      	* app/base/base-enums.h: ... here.
      
      	* app/image_map.c
      	* app/base/temp-buf.c
      	* app/core/gimpcontext.[ch]
      	* app/core/gimpdrawable-transform.c
      	* app/core/gimpdrawable.c
      	* app/core/gimpedit.c
      	* app/core/gimpimage-mask.c
      	* app/core/gimpimage-merge.c
      	* app/core/gimpimage-new.c
      	* app/core/gimpimage-projection.c
      	* app/core/gimpimage.[ch]
      	* app/core/gimplayer.[ch]
      	* app/display/gimpdisplayshell-dnd.c
      	* app/display/gimpdisplayshell-render.c
      	* app/gui/brush-select.c
      	* app/gui/layers-commands.c
      	* app/gui/preferences-dialog.c
      	* app/gui/toolbox.c
      	* app/paint-funcs/paint-funcs.[ch]
      	* app/tools/gimpconvolvetool.c
      	* app/tools/gimperasertool.c
      	* app/tools/gimpiscissorstool.c
      	* app/tools/gimppainttool.[ch]
      	* app/tools/gimptexttool.c
      	* app/tools/paint_options.c
      	* app/widgets/gimplayerlistview.c
      	* app/widgets/gimpwidgets-constructors.[ch]
      	* app/xcf/xcf-load.c
      	* tools/pdbgen/pdb/brush_select.pdb
      	* tools/pdbgen/pdb/brushes.pdb
      	* tools/pdbgen/pdb/color.pdb
      	* tools/pdbgen/pdb/layer.pdb
      	* tools/pdbgen/pdb/tools.pdb: changed accordingly.
      
      	* libgimpbase/gimpbasetypes.h: no need to chop GIMP prefix off the
      	enums any longer.
      
      	* app/pdb/brush_select_cmds.c
      	* app/pdb/brushes_cmds.c
      	* app/pdb/color_cmds.c
      	* app/pdb/layer_cmds.c
      	* app/pdb/message_cmds.c
      	* app/pdb/procedural_db_cmds.c
      	* app/pdb/tools_cmds.c
      	* libgimp/gimpenums.h
      	* plug-ins/script-fu/script-fu-constants.c
      	* tools/pdbgen/enums.pl: regenerated.
      
      	* app/gimprc.c: removed code to parse for "plug_in" keyword which was
      	left over from some very early gimp days.
      
      	* app/plug-in/plug-in.[ch]: removed now unused function plug_in_add().
      a65e1a39
  22. 07 Dec, 2001 2 commits
    • Michael Natterer's avatar
      app/Makefile.am removed, chopped... · bcd208d9
      Michael Natterer authored
      2001-12-07  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/devices.[ch]: removed, chopped...
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/gui/Makefile.am
      
      	* app/widgets/gimpdeviceinfo.[ch]
      	* app/widgets/gimpdevices.[ch]
      	* app/gui/device-status-dialog.[ch]
      	* app/gui/input-dialog.[ch]: ...and added here.
      
      	Made GimpToolInfo a GimpContext subclass. Create a GimpDeviceManager
      	struct in gimpdevices.c and attach it to the Gimp instance.
      
      	* app/core/gimp.[ch]: removed gimp_create_context(). It was a bad
      	idea in the first place beause it prevented GimpContext subclasses
      	from being be properly registered with their Gimp instance.
      
      	* app/core/gimpcontext.c: moved the stuff which used to be in
      	gimp_create_context() back here. Added a "gimp" property which
      	must be set on construction. Added a "dispose" implementation
      	which removes the context from it's Gimp's context_list.
      
      	* app/gimprc.c
      	* app/core/gimptoolinfo.[ch]
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/gui/brush-select.c
      	* app/gui/dialogs-constructors.c
      	* app/gui/gradient-editor.c
      	* app/gui/gradient-select.c
      	* app/gui/gui.c
      	* app/gui/menus.c
      	* app/gui/palette-editor.c
      	* app/gui/palette-select.c
      	* app/gui/pattern-select.c
      	* app/gui/toolbox.c
      	* app/tools/gimppainttool.c
      	* app/tools/tool_manager.c
      	* app/widgets/gimpimagedock.c: changed accordingly.
      
      	* app/gui/tools-commands.[ch]: made all callback signatures
      	the same.
      
      	* app/gui/preferences-dialog.c: cleaned up the
      	display_format_string GtkCombo code.
      bcd208d9
    • Sven Neumann's avatar
      removed from CVS, they are generated. · d4829df4
      Sven Neumann authored
      2001-12-07  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpmarshal.[ch]: removed from CVS, they are generated.
      
      	* app/base/Makefile.am
      	* app/base/base-enums.h: new file defining enums that are to be
      	registered. Used to build app/base/base-enums.c.
      
      	* app/base/base-types.h: include base-enums.h.
      
      	* tools/pdbgen/Makefile.am
      	* tools/pdbgen/enumcode.pl
      	* tools/pdbgen/enums.pl: parse the new base-enums.h file and modified
      	the perl voodoo so it doesn't prefix enums with GIMP_ that are already
      	properly namespaced.
      
      	* app/core/core-types.h: don't need to chop GIMP from enum.
      
      	* app/pdb/color_cmds.c
      	* app/pdb/tools_cmds.c
      	* libgimp/gimpenums.h
      	* plug-ins/script-fu/script-fu-constants.c: regenerated.
      
      	* app/config/gimpconfig-deserialize.[ch]
      	* app/config/gimpconfig-serialize.[ch]
      	* app/config/gimpconfig.[ch]: made GimpConfig an interface including
      	a reasonable default implementation that works on object properties.
      
      	* app/config/Makefile.am
      	* app/config/gimpbaseconfig.[ch]: new GimpBaseConfig using the
      	GimpConfig interface. Yet only used for testing from app/main.c.
      
      	* app/main.c: test the new GimpBaseConfig object.
      
      	* app/gimprc.c
      	* app/base/base-config.h
      	* app/base/*.c
      	* app/core/gimpdatafiles.c
      	* app/core/gimpdrawable-transform.c
      	* app/core/gimppreviewcache.c
      	* app/gui/preferences-dialog.c
      	* app/paint-funcs/paint-funcs.c
      	* app/xcf/xcf-seek.c: need to include glib-object.h since base-config
      	contains registered enums now. Follow name change of InterpolationType
      	to GimpInterpolationType.
      d4829df4
  23. 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
  24. 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
  25. 01 Dec, 2001 2 commits
    • Michael Natterer's avatar
      app/main.c moved "message_handler" from here... · f77c7ade
      Michael Natterer authored
      2001-12-01  Michael Natterer  <mitch@gimp.org>
      
      	* app/main.c
      	* app/appenv.h: moved "message_handler" from here...
      
      	* app/core/gimp.[ch]: ...to here. Added gimp_message() and a
      	"gui_message_func" pointer...
      
      	* app/gui/gui.c: ...which gets set here to gui_message().
      
      	* app/errors.c: don't include any gui stuff but simply call
      	gimp_message().
      
      	* app/app_procs.c: don't set "message_handler" here, it's done in
      	gui.c now.
      
      	* app/gui/error-console-dialog.[ch]: use gimp->message_handler.
      
      	* app/gui/dialogs-constructors.c: pass a Gimp pointer to
      	error_console_create().
      
      	* app/widgets/gimpwidgets-utils.[ch]: made the "message" parameter
      	of gimp_message_box() a const gchar*, not just gchar*.
      
      	* tools/pdbgen/pdb/message.pdb: use gimp->message_handler, don't
      	include "appenv.h".
      
      	* app/pdb/message_cmds.c: regenerated.
      
      	* app/devices.[ch]: cleanup before chopping: removed global
      	variable "current_device", added devices_get_current(), pass lots
      	of Gimp pointers around.
      
      	* app/gimprc.c: pass a Gimp pointer to devices_rc_update().
      
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/gui/toolbox.c
      	* app/tools/gimppainttool.c: use devices_get_current(), pass Gimp
      	pointers to all devices_foo() functions.
      
      	* app/core/gimpimage-mask.c: no need to include "pdb/pdb-types.h".
      f77c7ade
    • Michael Natterer's avatar
      app/Makefile.am removed... · 77863d88
      Michael Natterer authored
      2001-11-30  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/plug_in.[ch]: removed...
      
      	* app/plug-in/Makefile.am
      	* app/plug-in/plug-in-types.h
      	* app/plug-in/plug-in.[ch]: ...and added here.
      
      	* app/appenv.h: removed StackTraceMode and MessageHandlerType...
      
      	* libgimpbase/gimpbasetypes.h: ...and added them here.
      
      	* tools/pdbgen/Makefile.am: don't scan "app/apptypes.h" for enums.
      
      	* tools/pdbgen/enumcode.pl: added a general check to prevent
      	enums which are defined in libgimp* from being written to
      	"libgimp/gimpenums.c".
      
      	* libgimp/gimpenums.h
      	* plug-ins/script-fu/script-fu-constants.c
      	* tools/pdbgen/enums.pl: regenerated.
      
      	* app/core/core-types.h: include "pdb/pdb-types.h" so including
      	"core/core-types.h" gets the whole core type space.
      
      	* app/core/gimp.[ch]: added a "stack_trace_mode" parameter to the
      	constructor and store it in the Gimp struct because the value is
      	also passed to plug-ins and nobody should include "appenv.h".
      
      	* app/gimprc.[ch]: pass the alternate_system_gimprc and
      	alternate_gimprc filenames from the command line to gimprc_prase()
      	so we don't need to include "appenv.h".
      
      	* app/batch.[ch]: pass the "batch_cmds" as parameter, don't
      	include "append.h".
      
      	* app/app_procs.c: pass more parameters around.
      
      	* app/devices.c
      	* app/errors.c
      	* app/gimphelp.c
      	* app/main.c
      	* app/core/gimpgradient.c
      	* app/display/gimpdisplay.c
      	* app/display/gimpdisplayshell.c
      	* app/file/file-open.c
      	* app/file/file-save.c
      	* app/file/file-utils.c
      	* app/gui/commands.c
      	* app/gui/error-console-dialog.c
      	* app/gui/file-dialog-utils.c
      	* app/gui/file-open-dialog.c
      	* app/gui/file-save-dialog.c
      	* app/gui/paths-dialog.c
      	* app/gui/user-install-dialog.c
      	* app/tools/gimpbezierselecttool.c
      	* app/tools/xinput_airbrush.c
      	* app/xcf/xcf.c
      	* tools/pdbgen/pdb/fileops.pdb
      	* tools/pdbgen/pdb/help.pdb
      	* tools/pdbgen/pdb/message.pdb
      	* tools/pdbgen/pdb/plug_in.pdb: changed accordingly:
      
      	- changed "plug-in.h" include where needed.
      	- don't call gimp_fatal_error() directly, it's called via the log
      	  handler when calling g_error().
      	- don't incude "errors.h" except from main.c.
      	- changed stack_trace and message_handler enum names.
      	- get "stack_trace_mode" from Gimp.
      	- removed many inclusions of "appenv.h".
      
      	* app/pdb/fileops_cmds.c
      	* app/pdb/help_cmds.c
      	* app/pdb/message_cmds.c
      	* app/pdb/plug_in_cmds.c
      	* app/pdb/procedural_db.c: regenerated.
      77863d88
  26. 29 Nov, 2001 1 commit
  27. 26 Nov, 2001 1 commit
    • Michael Natterer's avatar
      added Rebecca Walter (bex). · 54c1b2d1
      Michael Natterer authored
      2001-11-26  Michael Natterer  <mitch@gimp.org>
      
      	* tools/authorsgen/contributors: added Rebecca Walter (bex).
      
      	* AUTHORS
      	* app/gui/authors.h: regenerated.
      
      	* app/widgets/widgets-types.h: added GimpPreviewSize enum.
      
      	* app/gimprc.c
      	* app/gui/menus.c
      	* app/gui/preferences-dialog.c
      	* app/widgets/gimpdockbook.c: use the new enum.
      
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimpconvolvetool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpdodgeburntool.c
      	* app/tools/gimperasertool.c
      	* app/tools/gimpfliptool.c
      	* app/tools/gimpmagnifytool.c: added "(<Ctrl>)" and "(<Alt>)" to
      	some tool options strings.
      
      	* app/tools/gimpmovetool.c: some more widgets for hidden tool
      	options (#51108).
      
      	* app/tools/transform_options.c: renamed to "Tool Paradigm" stuff
      	to something more understandable.
      
      	* app/widgets/gimpdock.c: added a style property for the height
      	of the separator.
      
      	* themes/Default/gtkrc: show how to use the new property.
      
      	* app/widgets/gimpcontainerview.c
      	* app/widgets/gimpdockable.c
      	* app/widgets/gimplayerlistview.c: waste less lines when calling
      	gtk_widget_style_get().
      54c1b2d1
  28. 24 Nov, 2001 1 commit
  29. 23 Nov, 2001 1 commit
    • Sven Neumann's avatar
      don't include gimputils.h, it's gone. · d07558e6
      Sven Neumann authored
      2001-11-23  Sven Neumann  <sven@gimp.org>
      
      	* app/gimprc.c: don't include gimputils.h, it's gone.
      
      	* libgimpbase/Makefile.am: removed stale reference to gimputils.h.
      
      	* libgimpwidgets/gimpcolorbutton.h: wanted to type G_END_DECLS here.
      d07558e6
  30. 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
  31. 16 Nov, 2001 1 commit
    • Michael Natterer's avatar
      Wishlist item #57669: · 4403d58a
      Michael Natterer authored
      2001-11-16  Michael Natterer  <mitch@gimp.org>
      
      	Wishlist item #57669:
      
      	* app/gimprc.[ch]: replaced gimprc option "allow-resize-windows"
      	by "resize-windows-on-zoom" and "resize-windows-on-resize".
      
      	* app/gui/preferences-dialog.c: added a toggle for
      	"resize-windows-on-resize".
      
      	* app/display/gimpdisplayshell-handlers.c
      	* app/display/gimpdisplayshell-scale.c
      	* app/tools/gimpmagnifytool.c
      	* docs/gimprc.5.in
      	* etc/gimprc.in
      	* etc/gimprc.win32: changed accordingly.
      
      	* app/display/gimpdisplay-area.[ch]: added gimp_area_new().
      
      	* app/display/gimpdisplay.c: cleanup usage of GimpArea.
      
      	* app/display/gimpdisplayshell.[ch]: added configurable canvas
      	padding color and a small color_panel to change it in the upper
      	right corner of the window.
      
      	* app/display/gimpdisplayshell-callbacks.[ch]: added a callback
      	for the color_panel, initialize the color in the "realize"
      	callback.
      
      	Wishlist item #51548.
      
      	* app/display/gimpdisplayshell-selection.[ch]
      	* app/gui/menus.c
      	* app/gui/view-commands.[ch]: made the layer boundary toggleable
      	separately from the selection.
      
      	* app/gui/color-notebook.c: #if 0'ed a debugging g_print().
      4403d58a
  32. 29 Oct, 2001 1 commit
    • Sven Neumann's avatar
      rewrote so gcc-3.0 doesn't complain. · de5af18f
      Sven Neumann authored
      2001-10-29  Sven Neumann  <sven@gimp.org>
      
      	* app/base/temp-buf.c (temp_buf_to_gray): rewrote so gcc-3.0 doesn't
      	complain.
      
      	* app/widgets/gimpfontselection-dialog.c: use g_ascii_strcasecmp().
      
      	* libgimp/gimpintl.h
      	* libgimp/stdplugins-intl.h
      	* plug-ins/script-fu/script-fu-intl.h: don't call gtk_set_locale()
      	since gtk_init() does it for us now. Don't set LC_NUMERIC to "C".
      	INIT_I18N_UI() is the same as INIT_I18N_UI() now.
      
      	* app/devices.c
      	* app/gimprc.c
      	* app/core/gimpbrushgenerated.c
      	* app/core/gimpgradient.c
      	* app/gui/color-notebook.c
      	* app/gui/gradients-commands.c
      	* plug-ins/gfig/gfig.c
      	* plug-ins/gflare/gflare.c
      	* plug-ins/gimpressionist/presets.c
      	* plug-ins/ifscompose/ifscompose_storage.c: use g_ascii_formatd() and
      	g_ascii_strtod() to serialize and deserialize floats. These functions
      	are locale-independent. There are probably more places that need to be
      	fixed in this fashion.
      
      	* plug-ins/script-fu/script-fu-console.c
      	* plug-ins/script-fu/script-fu-scripts.c
      	* plug-ins/script-fu/script-fu-server.c
      	* plug-ins/script-fu/script-fu.c: s/INIT_I18N_UI/INIT_I18N/
      
      	* tools/gimp-remote.c
      	* app/widgets/gimpwidgets-utils.c
      	* app/core/gimpimage-contiguous-region.c
      	* app/paint-funcs/paint-funcs-indexeda.c
      	* app/paint-funcs/paint-funcs.c
      	* app/tools/gimppathtool.c
      	* app/tools/path_tool.c
      	* modules/colorsel_triangle.c
      	* plug-ins/common/mpeg.c
      	* plug-ins/imagemap/imap_csim_parse.c: cleanups
      de5af18f
  33. 24 Oct, 2001 1 commit
    • Michael Natterer's avatar
      app/file-open.c app/file-utils.c app/gimprc.c app/plug_in.c · 840a9700
      Michael Natterer authored
      2001-10-24  Michael Natterer  <mitch@gimp.org>
      
      	* app/file-open.c
      	* app/file-utils.c
      	* app/gimprc.c
      	* app/plug_in.c
      	* app/user_install.c
      	* app/base/base.c
      	* app/base/temp-buf.c
      	* app/core/gimpdata.c
      	* app/core/gimpdatafiles.c
      	* app/core/gimpimagefile.c
      	* app/gui/about-dialog.c
      	* app/gui/file-open-dialog.c
      	* app/gui/file-save-dialog.c
      	* app/gui/gui.c
      	* app/gui/menus.c
      	* app/gui/splash.c
      	* app/gui/tips-dialog.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimplevelstool.c
      	* libgimpbase/gimpenv.c
      	* plug-ins/FractalExplorer/FractalExplorer.c
      	* plug-ins/gfig/gfig.c
      	* plug-ins/gflare/gflare.c
      	* tools/pdbgen/pdb/fileops.pdb: use g_build_filename() all over
      	the place instead of g_strconcat() and friends together with
      	G_DIR_SEPARATOR_S. Also removed all attempts to manually detect
      	double dir separators. LibGimpBase's searchpath utility functions
      	don't append a G_DIR_SEPARATOR_S to all paths any more.
      
      	* app/pdb/fileops_cmds.c: regenerated.
      840a9700
  34. 25 Sep, 2001 1 commit
    • Michael Natterer's avatar
      app/Makefile.am app/disp_callbacks.[ch] app/gdisplay.[ch] · f235eabb
      Michael Natterer authored
      2001-09-26  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/disp_callbacks.[ch]
      	* app/gdisplay.[ch]
      	* app/gdisplay_ops.[ch]
      	* app/gximage.[ch]
      	* app/image_render.[ch]
      	* app/interface.[ch]
      	* app/marching_ants.h
      	* app/scale.[ch]
      	* app/scroll.[ch]
      	* app/selection.[ch]: removed.
      
      	* app/display/Makefile.am
      	* app/display/display-types.h
      	* app/display/gimpdisplay-callbacks.[ch]
      	* app/display/gimpdisplay-marching-ants.h
      	* app/display/gimpdisplay-ops.[ch]
      	* app/display/gimpdisplay-render.[ch]
      	* app/display/gimpdisplay-scale.[ch]
      	* app/display/gimpdisplay-scroll.[ch]
      	* app/display/gimpdisplay-selection.[ch]
      	* app/display/gimpdisplay.[ch]
      	* app/display/gimpdisplayshell.[ch]
      	* app/display/gximage.[ch]: added here.
      
      	* app/[many files]
      	* app/gui/[many files]
      	* app/tools/*
      	* app/widgets/[many files]: changed accordingly. Still very
      	incomplete separation of the display stuff but it at least
      	compiles.
      
      	* tools/pdbgen/pdb.pl:
      	* tools/pdbgen/pdb/display.pdb: s/GDisplay/GimpDisplay/,
      	s/"gdisplay.h"/"display/gimpdisplay.h"/.
      
      	* app/pdb/display_cmds.c: regenerated.
      f235eabb
  35. 17 Sep, 2001 1 commit
    • Sven Neumann's avatar
      fixed a typo spotted by Ed Halley <ed@halley.cc>. · 525b013c
      Sven Neumann authored
      2001-09-17  Sven Neumann  <sven@gimp.org>
      
      	* app/gimprc.c (gimprc_init):
      	fixed a typo spotted by Ed Halley <ed@halley.cc>.
      
      	* app/pdb/gimprc_cmds.c
      	* app/pdb/internal_procs.c
      	* libgimp/gimpgimprc_pdb.[ch]: added new PDB function
      	gimp_get_default_comment() that allows to access the default image
      	comment as set in the preferences.
      
      	* plug-ins/common/csource.c
      	* plug-ins/common/gif.c
      	* plug-ins/common/jpeg.c
      	* plug-ins/common/tiff.c: use gimp_get_default_comment() instead of
      	a hardcoded string.
      
      	* plug-ins/common/uniteditor.c: replaced deprecated GDK function
      	gdk_color_alloc().
      525b013c
  36. 29 Aug, 2001 1 commit
    • Michael Natterer's avatar
      added -DG_DISABLE_DEPRECATED and -DGDK_DISABLE_COMPAT_H. · 98410c35
      Michael Natterer authored
      2001-08-29  Michael Natterer  <mitch@gimp.org>
      
      	* configure.in: added -DG_DISABLE_DEPRECATED and
      	-DGDK_DISABLE_COMPAT_H.
      
      	* app/batch.c
      	* app/file-utils.c
      	* app/gdisplay.c
      	* app/gdisplay_ops.c
      	* app/gimprc.[ch]
      	* app/module_db.c
      	* app/nav_window.c
      	* app/undo_history.c
      	* app/core/gimpgradient.c
      	* app/core/gimpimagefile.c
      	* app/core/gimppalette.c
      	* app/gui/color-notebook.c
      	* app/gui/convert-dialog.c
      	* app/gui/error-console-dialog.c
      	* app/gui/file-commands.c
      	* app/gui/file-open-dialog.c
      	* app/gui/file-save-dialog.c
      	* app/gui/gradient-editor.c
      	* app/gui/info-window.c
      	* app/gui/menus.c
      	* app/gui/palette-import-dialog.c
      	* app/tools/gimpbycolorselecttool.c
      	* app/widgets/gimpcontainerview-utils.c
      	* app/widgets/gimpdatafactoryview.c
      	* libgimp/gimpmenu.c
      	* plug-ins/common/bz2.c
      	* plug-ins/common/compose.c
      	* plug-ins/common/csource.c
      	* plug-ins/common/decompose.c
      	* plug-ins/common/gz.c
      	* plug-ins/common/uniteditor.c
      	* plug-ins/common/wmf.c
      	* plug-ins/common/xbm.c
      	* plug-ins/rcm/rcm_dialog.c
      	* plug-ins/script-fu/interp_slib.c
      	* plug-ins/script-fu/script-fu-console.c
      	* plug-ins/script-fu/script-fu-scripts.c
      	* tools/pdbgen/pdb/fileops.pdb
      	* tools/pdbgen/pdb/gimprc.pdb
      	* app/pdb/fileops_cmds.c
      	* app/pdb/gimprc_cmds.c: removed deprecated stuff like
      	g_basename(), g_dirname(), g_strup() and friends. Added some
      	"const gchar *" declarations while I was on it. Added some
      	G_N_ELEMENTS() macros instead of declaring a useless variable
      	for the number of items.
      
      	* app/widgets/gtkhwrapbox.[ch]
      	* app/widgets/gtkvwrapbox.[ch]
      	* app/widgets/gtkwrapbox.[ch]: replaced with the latest versions
      	from GLE, ported by the master himself.
      
      	* app/gui/toolbox.c: changed accordingly.
      
      	* app/plug_in.c
      	* libgimp/gimp.c
      	* libgimpbase/gimpwire.[ch]: use evil hacks to get binary mode
      	from the new GIOChannel implementation (upstream bugreport already
      	posted).
      98410c35