1. 01 Jan, 2003 1 commit
    • Hans Breuer's avatar
      when checking for 'excecutable' make sure it is a regular file too (on · 8364722f
      Hans Breuer authored
      2003-01-01  Hans Breuer  <hans@breuer.org>
      
      	* libgimpbase/gimpdatafiles.c : when checking for
      	'excecutable' make sure it is a regular file too
      	(on win32 even directories carry the IXUSR flag)
      
      	* app/app_procs.h : there is still no #warning with
      	msvc, special case to make it build with non GCC
      
      	* makefile.msc */makefile.msc */*/makefile.msc : updated
      
      	* app/gui/user-install-dialog.c : get prototype for mkdir
      
      	* libgimpwidgets/libgimp-glue.c : make it compile without
      	LT_RELEASE being defined
      
      	* modules/module.def : removed
      	  modules/Makefile.am : no export file needed when
      	functions get exported by G_MODULE_EXPORT
      8364722f
  2. 30 Dec, 2002 2 commits
    • Sven Neumann's avatar
      use proper defines to specify the permissions when calling mkdir(). · 42b01c52
      Sven Neumann authored
      2002-12-30  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpimagefile.c (gimp_imagefile_png_thumb_path): use
      	proper defines to specify the permissions when calling mkdir().
      
      	* app/file/file-utils.c: removed redeclaration of mkdir() for
      	Win32 since we don't call mkdir() here.
      
      	* app/gui/user-install-dialog.c (user_install_run): rewrote
      	copy_file() to use GError for error reporting. Use the same code
      	for the user installation on all platforms. Also fixes bug #102015.
      
      	* data/misc/Makefile.am
      	* data/misc/user_install
      	* data/misc/user_install.bat: removed obsoleted scripts.
      42b01c52
    • Sven Neumann's avatar
      app/app_procs.c app/core/gimp.c app/gui/gui.c removed debugging output. · 1f47a470
      Sven Neumann authored
      2002-12-30  Sven Neumann  <sven@gimp.org>
      
      	* app/app_procs.c
      	* app/core/gimp.c
      	* app/gui/gui.c
      	* app/widgets/gimpitemfactory.c: removed debugging output.
      
      	* app/plug-in/plug-ins.c: need to expand the plug_in_path before
      	using it.
      
      	* app/gui/plug-in-menus.c (plug_in_menus_init): removed an
      	unneeded assertion.
      
      	* plug-ins/imagemap/Makefile.am (EXTRA_DIST): removed references
      	to files that were removed some time ago.
      1f47a470
  3. 29 Dec, 2002 2 commits
    • Sven Neumann's avatar
      another fix for #102016. · 75353108
      Sven Neumann authored
      2002-12-29  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpimagefile.c: another fix for #102016.
      75353108
    • Sven Neumann's avatar
      configure.in etc/Makefile.am etc/gimprc.in removed templates for gimprc · 023c7697
      Sven Neumann authored
      2002-12-29  Sven Neumann  <sven@gimp.org>
      
      	* configure.in
      	* etc/Makefile.am
      	* etc/gimprc.in
      	* etc/gimprc_user.in: removed templates for gimprc files.
      
      	* etc/gimprc: added this file as generated by gimp-config-dump.
      
      	* app/gui/user-install-dialog.c
      	* data/misc/user_install: don't install an empty user gimprc.
      
      	* app/config/Makefile.am
      	* app/config/gimpconfig-substitute.[ch]: removed these files.
      	* app/config/gimpconfig-path.[ch]: and added them again with
      	reduced functionality. Paths found in config files are now
      	basically handled like standard strings by the config system.
      	Users of the GimpConfig path variables need to expand the path
      	themselves.
      
      	* app/config/gimpbaseconfig.c
      	* app/config/gimpconfig-deserialize.c
      	* app/config/gimpconfig-dump.c
      	* app/config/gimpconfig-utils.c
      	* app/config/gimpconfig.c
      	* app/config/gimpcoreconfig.c
      	* app/config/gimprc.c:
      	* app/base/base.c
      	* app/base/temp-buf.c
      	* app/core/gimp.c
      	* app/core/gimpdatafactory.c
      	* app/core/gimpmodules.c
      	* app/gui/user-install-dialog.c
      	* app/plug-in/plug-in.c
      	* app/tools/tools.c
      	* app/widgets/gimppropwidgets.c: changed accordingly.
      023c7697
  4. 28 Dec, 2002 1 commit
    • Simon Budig's avatar
      app/core/gimpimage-mask-select.c app/paint/gimppaintcore-stroke.c · d3e9fc64
      Simon Budig authored
      2002-12-29  Simon Budig  <simon@gimp.org>
      
              * app/core/gimpimage-mask-select.c
              * app/paint/gimppaintcore-stroke.c
              * app/tools/gimpvectortool.c
              * app/vectors/gimpbezierstroke.[ch]
              * app/vectors/gimpstroke.[ch]
              * app/vectors/gimpvectors-preview.c: some more stuff for the
              vectors tool: bezier interpolation is available, we have preview
              generation. Usage is still weird.
      d3e9fc64
  5. 18 Dec, 2002 1 commit
    • Manish Singh's avatar
      added some rudimentary support to prepend values to existing environment · 2bb5acc2
      Manish Singh authored
      2002-12-17  Manish Singh  <yosh@gimp.org>
      
              * app/core/gimpenvirontable.[ch]: added some rudimentary support
              to prepend values to existing environment variables. You can do
              "separator name=value" now. API change to gimp_environ_table_add
              for it too. Also added some error checking.
      
              * app/gui/gui.c: change to new above API
      
              * plug-ins/pygimp/Makefile.am: write ": PYTHONPATH=" out to env
              file
      
              * po/POTFILES.in: add gimpenvirontable.c
      2bb5acc2
  6. 14 Dec, 2002 1 commit
    • Michael Natterer's avatar
      Changed menubar showing/hiding to work like rulers and statusbar: · f03b6b6d
      Michael Natterer authored
      2002-12-14  Michael Natterer  <mitch@gimp.org>
      
      	Changed menubar showing/hiding to work like rulers and statusbar:
      
      	* app/config/gimpconfig-blurbs.h
      	* app/config/gimpdisplayconfig.[ch]: renamed "menu_bar_per_display"
      	to "show_menubar". Removed GIMP_PARAM_RESTART flag.
      
      	* app/display/gimpdisplayshell.[ch]: chaged shell->item_factory to
      	shell->menubar_factory plus shell->popup_factory and always create
      	both of them. Added "gboolean update_popup" to
      	gimp_display_shell_set_menu_sensitivity() and call it recursively
      	with update_popup == TRUE if the display it is called for is the
      	active one.
      
      	* app/display/gimpdisplay.c
      	* app/display/gimpdisplayshell-callbacks.c: changed accordinly.
      
      	* app/gui/gui.c: ditto. Set the menu sensitivity of new displays.
      
      	* app/gui/menus.c: added "<Image>/View/Toggle Menubar" menu item.
      	Moved some factory initialization code from gimpdisplayshell.c
      	here.
      
      	* app/gui/view-commands.[ch]: added
      	view_toggle_menubar_cmd_callback(). Update the menu sensitivity
      	manually in all callbacks which don't call gimp_image_flush().
      
      	* app/gui/preferences-dialog.c (prefs_dialog_new): moved the "Show
      	Menubar" toggle to the "Appearance" frame of the "Image Windows"
      	page. Added an own frame for the display zoom/scaling settings.
      
      	(preferences_dialog_create): Attach config_copy and config_orig
      	using g_object_set_data_full() instead of just g_object_set_data()
      	plus a g_object_weak_ref().
      
      	(prefs_default_resolution_callback): set the resolution for both
      	fields of the "size_sizeentry" instead of setting it for "x"
      	twice.
      f03b6b6d
  7. 05 Dec, 2002 2 commits
    • Michael Natterer's avatar
      Cleaned up the exit process: · b2c3f018
      Michael Natterer authored
      2002-12-05  Michael Natterer  <mitch@gimp.org>
      
      	Cleaned up the exit process:
      
      	* app/core/gimp.[ch]: added an "exit" signal which carries a
      	"gboolean kill_it" parameter and has a boolean return value.
      	Added gimp_boolean_handled_accumulator() so the emission of "exit"
      	can be stopped by returning TRUE from a callback.  Removed
      	gimp_shutdown() from the public API and made it "exit"'s default
      	implementation. Addec gimp_exit() to emit the signal.
      
      	* app/core/gimpmarshal.list: added BOOLEAN__BOOLEAN marshaller.
      
      	* app/gui/gui.[ch]: Replaced public functions gui_shutdown() and
      	gui_exit() by "exit" callbacks. g_signal_connect_after() the
      	latter so the shutdown order is correct.
      
      	* app/app_procs.[ch]: removed app_exit() and connect to "exit".
      	Split the exit stuff into normal and connect_after callbacks as
      	above.
      
      	* app/batch.c
      	* app/gui/file-commands.c
      	* tools/pdbgen/pdb/misc.pdb
      	* app/widgets/gimptoolbox.c: call gimp_exit() instead of
      	app_exit(). Don't #include "app_procs.h".
      
      	* app/pdb/misc_cmds.c: regenerated.
      b2c3f018
    • Sven Neumann's avatar
      use the same string as in gimpbrushpipe.c to reduce the number of · bb7ff29e
      Sven Neumann authored
      2002-12-05  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpbrushpipe.c: use the same string as in
      	gimpbrushpipe.c to reduce the number of translatable strings.
      bb7ff29e
  8. 02 Dec, 2002 2 commits
    • Sven Neumann's avatar
      don't check filename for internal GimpData objects because they are never · cdeba56b
      Sven Neumann authored
      2002-12-02  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpdata.c (gimp_data_save): don't check filename for
      	internal GimpData objects because they are never saved.
      
      	* app/config/gimprc.c: made verbose an object property so that its
      	value is copied by gimp_config_duplicate().
      cdeba56b
    • 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
  9. 01 Dec, 2002 3 commits
    • Sven Neumann's avatar
      prefix PIXELS and POINTS with GIMP instead of SIZE so we don't break the · c838165e
      Sven Neumann authored
      2002-12-01  Sven Neumann  <sven@gimp.org>
      
      	* app/core/core-types.h: prefix PIXELS and POINTS with GIMP
      	instead of SIZE so we don't break the libgimp API without a good
      	reason.
      
      	* app/pdb/text_tool_cmds.c
      	* tools/pdbgen/enums.pl: regenerated.
      
      	* libgimp/gimpmisc.[ch]: removed gimp_timer functions since the
      	GTimer API is simple enough and doesn't need to be wrapped.
      
      	* plug-ins/common/newsprint.c
      	* plug-ins/common/unsharp.c: use GTimer.
      c838165e
    • Hans Breuer's avatar
      updated · 7c7ff46c
      Hans Breuer authored
      2002-11-30  Hans Breuer  <hans@breuer.org>
      
      	* */makefile.msc */*/makefile.msc : updated
      
      	* themes/Default/images/makefile.msc : new file
      	* themes/Default/makefile.msc : removed
      
      	* libgimpwidgets/gimpwidgets.def : updated
      
      	* app/core/core-types.h : renamed PIXELS and POINTS
      	to SIZE_* to avoid clashes with system headers
      	* app/pdb/text_tool_cmds.c : updated ...
      	* tools/pdbgen/enums.py : ... by renaming here too.
      
      	* app/widgets/gimphistogrambox.c : <string.h> for memcpy()
      	* app/widgets/gimppropwidgets.c : <string.h> for strlen()
      
      	* app/config/gimpconfig.c : on win32 rename always fails
      	if the destination file exists. Delete it first.
      
      	* libgimp/gimp.def : removed all '_'-prefixed exports
      	* plug-ins/common/iwarp.c : replace _gimp_layer_copy()
      	with gimp_layer_copy(), gimp_layer_add_alpha()
      
      	* libgimp/gimpmisc.c : ported gimp_timer funcs to use
      	g_timer to be more portable
      
      	* libgimpbase/gimpdatafiles.c : there are no symlinks on
      	win32, inverted to #ifndef G_OS_WIN32 as it was meant.
      
      	* libgimpbase/gimpbase.def libgimpmodule/gimpmodule.def
      	  libgimpwidgets/gimpwidgets.def : updated externals
      
      	* plug-ins/common/randomize.c plug-ins/common/sinus.c :
      	don't initialize more than the defined struct size
      
      	* plug-ins/common/warp.c : removed unneeded unistd.h and
      	signal.h include
      
      	* regexrepl/regexrepl.def : (new file) needed to build
      	as DLL
      7c7ff46c
    • Michael Natterer's avatar
      added "gboolean use_shm" to the Gimp struct and to gimp_new(). · 319173b1
      Michael Natterer authored
      2002-12-01  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimp.[ch]: added "gboolean use_shm" to the Gimp struct
      	and to gimp_new().
      
      	* app/app_procs.c: pass "use_shm" to gimp_new().
      
      	* app/plug-in/plug-in.c (plug_in_init): get "use_shm" from the
      	passed "gimp".  Don't include "appenv.h" and "app_procs.h".
      319173b1
  10. 30 Nov, 2002 2 commits
    • 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
    • Michael Natterer's avatar
      added gimp->edit_config which is a copy of gimp->config except for · 64eb7d74
      Michael Natterer authored
      2002-11-30  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimp.[ch]: added gimp->edit_config which is a copy of
      	gimp->config except for GIMP_PARAM_RESTRT options. Create it in
      	gimp_set_config() which must be called before anything else after
      	gimp_new(). Install "notify" handlers between the both to keep
      	them up-to-date. Enable auto saving for the edit_config.
      
      	* app/app_procs.c: call gimp_set_config().
      
      	* tools/pdbgen/pdb/gimprc.pdb: use gimp->edit_config here so we
      	don't accidentially change GIMP_PARAM_RESTART values from the PDB.
      
      	* app/pdb/gimprc_cmds.c: regenerated.
      
      	* app/gui/preferences-dialog.c: use gimp->edit_config as the base
      	for all prefs operations. Disable auto saving while the prefs
      	dialog is open. No need any more to parse the saved gimprc to get
      	GIMP_PARAM_RESTART values. Removed GIMP_PARAM_RESTART special
      	hacks because edit_config handles them transparently for us.
      
      	Unrelated:
      
      	* app/core/gimpimage.c (gimp_image_init): initialize active_vectors.
      
      	* app/gui/gui.c (gui_image_disconect): when the last image
      	disappears, show the toolbox only if the image had a display.
      64eb7d74
  11. 28 Nov, 2002 1 commit
    • Sven Neumann's avatar
      app/config/Makefile.am removed ... ... and readded under this name. · b92d38ce
      Sven Neumann authored
      2002-11-28  Sven Neumann  <sven@gimp.org>
      
      	* app/config/Makefile.am
      	* app/config/gimpconfig-params-blurbs.h: removed ...
      	* app/config/gimpconfig-blurbs.h: ... and readded under this name.
      	Defined all missing blurb definitions to NULL.
      
      	* app/config/gimpconfig-params.h: added a blurb parameter to all
      	GIMP_CONFIG_INSTALL_PROP_* macros.
      
      	* app/config/gimpbaseconfig.c
      	* app/config/gimpcoreconfig.c
      	* app/config/gimpdisplayconfig.c
      	* app/config/gimpguiconfig.c: register blurbs with the GimpRc
      	properties.
      
      	* app/config/gimpconfig-serialize.c: do proper line-breaking for
      	comments.
      
      	* app/core/gimpcontext.c
      	* app/widgets/gimpdeviceinfo.c: register NULL blurbs here.
      b92d38ce
  12. 27 Nov, 2002 1 commit
    • Sven Neumann's avatar
      added (yet unused) autosave feature. · cfd1c729
      Sven Neumann authored
      2002-11-27  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimprc.[ch]: added (yet unused) autosave feature.
      
      	* app/core/gimpbrush.c
      	* app/core/gimpbrushpipe.c: simplified user-visible messages.
      cfd1c729
  13. 25 Nov, 2002 1 commit
    • Manish Singh's avatar
      moved FINITE definition to $extra code. Changed to use #elif, much · 2b16283b
      Manish Singh authored
      2002-11-24  Manish Singh <yosh@gimp.org>
      
              * tools/pdbgen/pdb/image.pdb: moved FINITE definition to $extra
              code. Changed to use #elif, much cleaner.
      
              * app/pdb/image_cmds.c: regenerated
      
              * app/core/gimpenvirontable.[ch]: added support for app internal
              environment variable settings. These override any *.env files if
              there are collisions. Not sure on that policy. Also, envp is now
              generated on the first get_envp call.
      
              * app/gui/gui.[ch]: added gui_environ_init, which uses
              gimp_environ_table_add. Moved the setting of DISPLAY to here.
              Added setting of GDK_DISPLAY instead for the fb backends. Hm,
              perhaps GDK should do this itself...
      
              * app_procs.c: call gui_environ_init.
      
              * libgimpwidgets/gimpcolorscale.c
              * libgimpwidgets/gimpcolorscales.c: #include <string.h> for
              strlen and memcpy.
      
      -Yosh
      2b16283b
  14. 23 Nov, 2002 1 commit
    • Michael Natterer's avatar
      removed gimp_config_values_equal(). · 4ce4adf8
      Michael Natterer authored
      2002-11-23  Michael Natterer  <mitch@gimp.org>
      
      	* app/config/gimpconfig-utils.[ch]: removed
      	gimp_config_values_equal().
      
      	* app/config/gimpconfig-serialize.c
      	* app/config/gimpconfig.c: use g_param_values_cmp() instead so
      	our registered compare methods are used.
      
      	* app/config/gimpdisplayconfig.[ch]: added "canvas_padding_mode"
      	and "canvas_padding_color" properties.
      
      	* app/display/display-enums.[ch]: added enum GimpDisplayPaddingMode
      	which can be one of { theme, light check, dark check, custom }.
      
      	* app/display/gimpdisplay.h
      	* app/display/gimpdisplay-handlers.c: removed cached monitor
      	resolution values...
      
      	* app/display/gimpdisplayshell.[ch]: ...and added them here. Added
      	padding state as in GimpDisplayConfig. Added utility function
      	gimp_display_shell_set_padding() which hides all the details.
      	Added the new padding modes to the padding color button's context
      	menu.
      
      	* app/display/gimpdisplayshell-callbacks.[ch]: don't fiddle
      	with colors manually but use gimp_display_shell_set_padding()
      	in realize() and in the color button callbacks.
      
      	* app/display/gimpdisplayshell-handlers.c: connect to
      	notify::monitor-[xy]resolution and
      	notify::canvas-padding-[mode|color] and update accordingly.
      
      	* app/widgets/gimppropwidgets.[ch]: added
      	gimp_prop_color_button_new().
      
      	* app/widgets/gimpdialogfactory.[ch]: added
      	gimp_dialog_factories_session_clear() (unimplemented).
      
      	* app/gui/preferences-dialog.c: added widgets for padding mode and
      	color. Removed some callbacks by connecting the functions they
      	called directly. Cleanup.
      4ce4adf8
  15. 21 Nov, 2002 1 commit
    • Michael Natterer's avatar
      added tile_cache_init() and tile_cache_exit() as public functions. · 024061d9
      Michael Natterer authored
      2002-11-21  Michael Natterer  <mitch@gimp.org>
      
      	* app/base/tile-cache.[ch]: added tile_cache_init() and
      	tile_cache_exit() as public functions.
      
      	* app/base/base.c: call them. Connect to GimpBaseConfig's
      	notify::tile-cache-size.
      
      	* app/core/gimpimage.c: connect to notify::transparency-type and
      	notify::transparency-size and call
      	gimp_image_invalidate_layer_previews() in the callback.
      
      	* app/display/gimpdisplay-foreach.[ch]: removed
      	gdisplays_expose_full().
      
      	* app/display/gimpdisplayshell-handlers.c: connect to
      	notify::transparency-type and notify::transparency-size and expose
      	the shell in the callback.
      
      	* app/display/gimpdisplayshell-render.[ch]: added render_init()
      	and render_exit() functions and connect to
      	notify::transparency-type and notify::transparency-size for
      	setting up the render buffers.
      
      	* app/gui/gui.c: call the new functions instead of render_setup().
      	Connect to notify::show-tool-tips.
      
      	* app/gui/preferences-dialog.c: copy values between the global
      	config object and its local clone only when they have changed.
      	Wrap setting of lots of values in g_object_[freeze|thaw]_notify().
      	Added lots of mnemonics.
      
      	* app/gui/resolution-calibrate-dialog.c: added mnemonics.
      
      	* app/widgets/gimppropwidgets.c: g_object_set() the values edited
      	by the gimp_prop_coordinates() much less often by remembering the
      	old values and setting them only when they have changed.
      024061d9
  16. 20 Nov, 2002 2 commits
    • Michael Natterer's avatar
      added GIMP_PARAM_RESTART and GIMP_PARAM_CONFIRM flags and changed all · 8b6ec3b3
      Michael Natterer authored
      2002-11-20  Michael Natterer  <mitch@gimp.org>
      
      	* app/config/gimpconfig-params.h: added GIMP_PARAM_RESTART and
      	GIMP_PARAM_CONFIRM flags and changed all param spec macros
      	to have a "flags" parameter.
      
      	* app/config/gimpbaseconfig.c
      	* app/config/gimpcoreconfig.c
      	* app/config/gimpdisplayconfig.c
      	* app/config/gimpguiconfig.c: tag the values which need restart or
      	confirmation with the resp. flags. Changed all macro calls
      	accordingly.
      
      	* app/core/gimpcontext.c
      	* app/widgets/gimpdeviceinfo.c: changed macro calls accordingly.
      8b6ec3b3
    • Dave Neary's avatar
      configure.in app/core/gimpbrushpipe.c app/gui/about-dialog.c · cd28dee8
      Dave Neary authored
      
      
      2002-11-20  Dave Neary  <bolsh@gimp.org>
      
              * configure.in
              * app/core/gimpbrushpipe.c
              * app/gui/about-dialog.c
              * app/paint-funcs/paint-funcs-generic.h
              * app/paint-funcs/paint-funcs.c
              * libgimpmath/gimpmath.h
              * libgimpwidgets/gimpwidgets.c
              * plug-ins/common/CML_explorer.c
              * plug-ins/common/blur.c
              * plug-ins/common/cubism.c
              * plug-ins/common/gee.c
              * plug-ins/common/gee_zoom.c
              * plug-ins/common/gqbist.c
              * plug-ins/common/jigsaw.c
              * plug-ins/common/lic.c
              * plug-ins/common/noisify.c
              * plug-ins/common/nova.c
              * plug-ins/common/papertile.c
              * plug-ins/common/plasma.c
              * plug-ins/common/randomize.c
              * plug-ins/common/sample_colorize.c
              * plug-ins/common/scatter_hsv.c
              * plug-ins/common/shift.c
              * plug-ins/common/sinus.c
              * plug-ins/common/smooth_palette.c
              * plug-ins/common/snoise.c
              * plug-ins/common/sparkle.c
              * plug-ins/common/spheredesigner.c
              * plug-ins/common/spread.c
              * plug-ins/common/warp.c
              * plug-ins/common/wind.c
              * plug-ins/flame/cmap.c
              * plug-ins/flame/flame.c
              * plug-ins/flame/libifs.c
              * plug-ins/gflare/gflare.c
              * plug-ins/gimpressionist/gimpressionist.c
              * plug-ins/gimpressionist/gimpressionist.h
              * plug-ins/gimpressionist/plasma.c
              * plug-ins/gimpressionist/repaint.c
              * plug-ins/ifscompose/ifscompose_utils.c
              * plug-ins/maze/algorithms.c
              * plug-ins/maze/maze.c
              * plug-ins/maze/maze.h
              * plug-ins/mosaic/mosaic.c: Change all occurrences of RAND_MAX,
              G_MAXRAND, rand(), srand(), lrand48(), srand48(), random(),
              srandom(), RAND_FUNC and SRAND_FUNC to the appropriate g_rand*
              equivalent. Programs which require seed setting for reproducible
              results, and anything in the core, gets a dedicated GRand * for
              the lifetime required. Programs which only ever used random
              numbers for tossing a coin, rolling a dice, etc use g_random
              functions. For the rest, judgement was used. Where it was easy, a
              GRand * object was used and g_rand_* functions were
              preferred. This fixes bug #67386 in HEAD.
      cd28dee8
  17. 18 Nov, 2002 1 commit
    • Sven Neumann's avatar
      Finally landed the new GimpConfig based gimprc parser. It's not finished · 073e533a
      Sven Neumann authored
      2002-11-18  Sven Neumann  <sven@gimp.org>
      
      	Finally landed the new GimpConfig based gimprc parser. It's not
      	finished yet but we need to start somewhere. This release removes
      	the old gimprc.[ch] files. The gimprc format changes slightly, but
      	the changes are minimal. The Preferences dialog is temporarily
      	disabled since it still needs to be ported. If you are are afraid,
      	stay away from CVS for a few days ;-)
      
      	* app/Makefile.am
      	* app/gimprc.[ch]: removed the old gimprc system.
      
      	* app/base/Makefile.am
      	* app/base/base-config.[ch]: removed these files in favor of
      	config/gimpbaseconfig.[ch].
      
      	* app/core/Makefile.am
      	* app/core/gimpcoreconfig.[ch]: removed these files in favor of
      	config/gimpcoreconfig.[ch].
      
      	* app/config/Makefile.am
      	* app/config/config-types.h: moved typedefs into this new file.
      
      	* app/config/gimpbaseconfig.[ch]
      	* app/config/gimpcoreconfig.[ch]
      	* app/config/gimpdisplayconfig.[ch]
      	* app/config/gimpguiconfig.[ch]
      	* app/config/gimprc.[ch]
      	* app/config/test-config.c: brought into shape for real use.
      
      	* app/base/base-types.h: include config/config-types.h here. Added
      	a global GimpBaseConfig *base_config variable to ease migration.
      
      	* app/gui/Makefile.am: temporarily disabled the preferences dialog.
      
      	* app/app_procs.c
      	* app/undo.c
      	* app/undo_history.c
      	* app/base/base.[ch]
      	* app/base/gimphistogram.c
      	* app/base/pixel-processor.c
      	* app/base/temp-buf.c
      	* app/base/tile-cache.c
      	* app/core/core-types.h
      	* app/core/gimp-documents.c
      	* app/core/gimp.c
      	* app/core/gimpbrush.c
      	* app/core/gimpbrushgenerated.c
      	* app/core/gimpcontext.c
      	* app/core/gimpdrawable-transform.c
      	* app/core/gimpimage-new.c
      	* app/core/gimpimage.c
      	* app/core/gimpimagefile.c
      	* app/core/gimpmodules.c
      	* app/core/gimppattern.c
      	* app/display/Makefile.am
      	* app/display/gimpdisplay-handlers.c
      	* app/display/gimpdisplay.[ch]
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/display/gimpdisplayshell-handlers.c
      	* app/display/gimpdisplayshell-layer-select.c
      	* app/display/gimpdisplayshell-render.c
      	* app/display/gimpdisplayshell-scale.c
      	* app/display/gimpdisplayshell-scroll.c
      	* app/display/gimpdisplayshell-selection.c
      	* app/display/gimpdisplayshell.[ch]
      	* app/display/gimpnavigationview.c
      	* app/file/file-save.c
      	* app/gui/device-status-dialog.c
      	* app/gui/dialogs-constructors.c
      	* app/gui/file-commands.c
      	* app/gui/file-new-dialog.c
      	* app/gui/file-open-dialog.c
      	* app/gui/file-save-dialog.c
      	* app/gui/gui.c
      	* app/gui/menus.c
      	* app/gui/paths-dialog.c
      	* app/gui/resize-dialog.c
      	* app/gui/session.c
      	* app/gui/test-commands.c
      	* app/gui/tips-dialog.c
      	* app/gui/tips-dialog.h
      	* app/gui/user-install-dialog.c
      	* app/gui/view-commands.c
      	* app/paint/gimppaintcore.c
      	* app/plug-in/plug-in.c
      	* app/plug-in/plug-ins.c
      	* app/tools/gimpbezierselecttool.c
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpfuzzyselecttool.c
      	* app/tools/gimpinktool.c
      	* app/tools/gimpmagnifytool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimppainttool.c
      	* app/tools/gimppathtool.c
      	* app/tools/gimptexttool.[ch]
      	* app/tools/selection_options.c
      	* app/tools/tools.c
      	* app/tools/transform_options.c
      	* app/widgets/gimphelp.c
      	* app/widgets/gimpitemfactory.c
      	* app/widgets/gimpselectioneditor.c
      	* app/xcf/xcf-load.c
      	* tools/pdbgen/pdb/fileops.pdb
      	* tools/pdbgen/pdb/gimprc.pdb
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/layer.pdb
      	* tools/pdbgen/pdb/transform_tools.pdb: use the new config system
      	instead of the old gimprc stuff.
      
      	* etc/gimprc.in
      	* etc/gimprc_user.in: adapted to the new gimprc format. Will update
      	the man-page later...
      
      	* app/pdb/fileops_cmds.c
      	* app/pdb/gimprc_cmds.c
      	* app/pdb/image_cmds.c
      	* app/pdb/layer_cmds.c
      	* app/pdb/transform_tools_cmds.c
      	* libgimp/gimpgimprc_pdb.c: regenerated.
      073e533a
  18. 17 Nov, 2002 2 commits
  19. 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
  20. 09 Nov, 2002 1 commit
    • Michael Natterer's avatar
      the transformed tile_manager has always an alpha channel, so use · 2fd6f782
      Michael Natterer authored
      2002-11-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpdrawable-transform.c (gimp_drawable_transform_paste):
      	the transformed tile_manager has always an alpha channel, so use
      	gimp_drawable_type_with_alpha() when creating a layer from it
      	using gimp_layer_new_from_tiles(). Fixes bug #98053.
      2fd6f782
  21. 30 Oct, 2002 2 commits
    • Michael Natterer's avatar
      don't g_message() on error but return a GError. · 65d5e587
      Michael Natterer authored
      2002-10-30  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpdata.[ch] (gimp_data_delete_from_disk): don't
      	g_message() on error but return a GError.
      
      	* app/widgets/gimpdatafactoryview.c: show the message here.
      65d5e587
    • Michael Natterer's avatar
      cosmetic cleanup. · b705a3ab
      Michael Natterer authored
      2002-10-30  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpbrush.[ch]: cosmetic cleanup.
      b705a3ab
  22. 23 Oct, 2002 1 commit
    • Michael Natterer's avatar
      Moved generic datafile loading to LibGimpBase: · c7ac6aff
      Michael Natterer authored
      2002-10-23  Michael Natterer  <mitch@gimp.org>
      
      	Moved generic datafile loading to LibGimpBase:
      
      	* app/core/gimpdatafiles.[ch]: removed...
      
      	* libgimpbase/gimpdatafiles.[ch]: ...and add here with a changed
      	API which requires no more global variables.
      
      	* libgimpbase/Makefile.am
      	* libgimpbase/gimpbase.h
      	* libgimpbase/gimpbasetypes.h
      	* app/core/Makefile.am
      	* app/core/core-types.h
      	* app/core/gimpdatafactory.c
      	* app/gui/gui.c
      	* app/plug-in/plug-in.c
      	* app/plug-in/plug-ins.c
      	* app/tools/tools.c: changed accordingly.
      
      	Moved module loading to LibGimpModule:
      
      	* app/core/gimpmodules.c: removed lots of code...
      
      	* libgimpmodule/gimpmoduledb.[ch]: ...and added it here as
      	GimpModuleDB object.
      
      	* libgimpmodule/Makefile.am
      	* libgimpmodule/gimpmoduletypes.h: changed accordingly.
      
      	* app/core/gimp.[ch]: replaced gimp->modules by gimp->module_db.
      
      	* libgimpmodule/gimpmodule.[ch]: added
      	gimp_module_query(). Internal cleanup. Stuff...
      
      	* app/gui/module-browser.c: changed accordingly. Unfinished...
      
      	* app/core/gimpcontainer.c
      	* app/core/gimplist.c: reverted the HACKS introduced recently.
      
      	* app/core/gimpobject.[ch]: added gimp_g_object_get_memsize()
      	utility function.
      
      	* libgimpproxy/gimpobject.[ch]: regenerated.
      
      	Changed display filter configuration stuff:
      
      	* libgimpwidgets/gimpcolordisplay.[ch]: made the virtual
      	configure() function return a GtkWidget instead of opening a
      	dialog. Changed configure_cancel() to configure_reset(). Added
      	"changed" signal.
      
      	* app/display/gimpdisplayshell-filter-dialog.c: embed the filters'
      	config GUI in the dialog. Connect to "changed" and added a "Reset"
      	button which resets the filter.
      
      	* modules/cdisplay_gamma.c
      	* modules/cdisplay_highcontrast.c: changed accordingly.
      
      	* modules/colorsel_triangle.c
      	* modules/colorsel_water.c: minor fixes.
      
      2002-10-23  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpbase/libgimpbase-docs.sgml
      	* libgimpbase/libgimpbase-sections.txt
      	* libgimpbase/tmpl/gimpbasetypes.sgml
      	* libgimpbase/tmpl/gimpdatafiles.sgml: added GimpDatafiles
      
      	* libgimpmodule/libgimpmodule-docs.sgml
      	* libgimpmodule/libgimpmodule-sections.txt
      	* libgimpmodule/tmpl/gimpmoduledb.sgml: added GimpModuleDB.
      
      	* libgimpwidgets/libgimpwidgets.types: added gimp_dialog_get_type
      
      	* libgimpmodule/tmpl/gimpmodule.sgml
      	* libgimpwidgets/tmpl/gimpcolordisplay.sgml
      	* libgimpwidgets/tmpl/gimpdialog.sgml: updated.
      c7ac6aff
  23. 21 Oct, 2002 1 commit
    • Michael Natterer's avatar
      Makefile.am libgimpmodule/.cvsignore libgimpmodule/Makefile.am · 0f77b422
      Michael Natterer authored
      2002-10-21  Michael Natterer  <mitch@gimp.org>
      
      	* Makefile.am
      	* libgimpmodule/.cvsignore
      	* libgimpmodule/Makefile.am
      	* libgimpmodule/gimpmodule.[ch]
      	* libgimpmodule/gimpmodule.def
      	* libgimpmodule/gimpmoduletypes.h
      	* libgimpmodule/makefile.msc: new library for module loading.
      
      	* configure.in: generate Makefiles for libgimpmodule and its
      	devel-docs. Added GMODULE_CFLAGS and GMODULE_LIBS.
      
      	* app/Makefile.am: link the app against it.
      
      	* libgimp/gimpmodule.h
      	* app/core/gimpmoduleinfo.[ch]: removed.
      
      	* libgimp/Makefile.am
      	* app/core/Makefile.am
      	* app/core/core-types.h
      	* app/core/gimpmodules.c
      	* app/gui/module-browser.c: changed accordingly.
      
      	* modules/cdisplay_gamma.c
      	* modules/cdisplay_highcontrast.c
      	* modules/colorsel_triangle.c
      	* modules/colorsel_water.c: #include "libgimpmodule/gimpmodule.h"
      
      2002-10-21  Michael Natterer  <mitch@gimp.org>
      
      	* Makefile.am
      	* libgimpmodule/.cvsignore
      	* libgimpmodule/Makefile.am
      	* libgimpmodule/libgimpmodule-docs.sgml
      	* libgimpmodule/libgimpmodule-sections.txt
      	* libgimpmodule/libgimpmodule.types
      	* libgimpmodule/tmpl/.cvsignore
      	* libgimpmodule/tmpl/gimpmodule.sgml
      	* libgimpmodule/tmpl/gimpmoduletypes.sgml: added API docs for the
      	new module loading lib.
      
      	* libgimp/tmpl/gimpmodule.sgml: removed.
      
      	* libgimp/libgimp-docs.sgml
      	* libgimp/libgimp-sections.txt: changed accordingly.
      
      	* libgimpwidgets/tmpl/gimpcolordisplay.sgml
      	* libgimpwidgets/tmpl/gimpcolorselect.sgml
      	* libgimpwidgets/tmpl/gimpcolorselector.sgml: updated.
      
      2002-10-21  Michael Natterer  <mitch@gimp.org>
      
      	* POTFILES.in: removed app/core/gimpmoduleinfo.c
      
      2002-10-21  Michael Natterer  <mitch@gimp.org>
      
      	* POTFILES.in: added libgimpmodule/gimpmodule.c
      0f77b422
  24. 20 Oct, 2002 2 commits
    • Michael Natterer's avatar
      app/core/gimpmoduleinfo.[ch] separated module query from type registration · 4cb04533
      Michael Natterer authored
      2002-10-20  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpmoduleinfo.[ch]
      	* libgimp/gimpmodule.h: separated module query from type
      	registration by adding a separate "gimp_module_query" function
      	which must be implemented by modules. Make local copies of the
      	strings returned by the query function.
      
      	* app/core/gimpmodules.c
      	* app/gui/module-browser.c: changed accordingly.
      
      	* modules/cdisplay_gamma.c
      	* modules/cdisplay_highcontrast.c
      	* modules/colorsel_triangle.c
      	* modules/colorsel_water.c: added the gimp_module_query() functions.
      4cb04533
    • Michael Natterer's avatar
      Ported module loading to GTypeModule, getting rid of all own module · d7055a33
      Michael Natterer authored
      2002-10-20  Michael Natterer  <mitch@gimp.org>
      
      	Ported module loading to GTypeModule, getting rid of all own
      	module registering/bookkeeping stuff for color selectors and
      	display filters. The modules now simply register GimpColorSelector
      	and GimpColorDisplay subclasses, the list of registered subclasses
      	can then be obtained calling g_type_children() on the abstract
      	base classes.
      
      	This is work in progress and just the first working state after I
      	started breaking everything...
      
      	* app/gui/color-select.[ch]
      	* libgimp/gimpcolordisplay.h
      	* libgimp/gimpcolorselector.h: removed.
      
      	* app/gui/Makefile.am
      	* libgimp/Makefile.am: changed accordingly.
      
      	* libgimp/gimpmodule.h: massively simplified. All voodoo is gone.
      
      	* libgimpwidgets/gimpcolordisplay.[ch]
      	* libgimpwidgets/gimpcolorselector.[ch]: new abstract base classes
      	which need to be subclassed by modules.
      
      	* libgimpwidgets/gimpcolorselect.[ch]: the built-in color selector
      	from app/gui/color-select.* ported to be a GimpColorSelector
      	subclass.
      
      	* libgimpwidgets/Makefile.am
      	* libgimpwidgets/gimpwidgets.h
      	* libgimpwidgets/gimpwidgetsmarshal.list
      	* libgimpwidgets/gimpwidgetstypes.h: changed accordingly.
      
      	* app/core/gimpmoduleinfo.[ch]: made it a GTypeModule subclass
      
      	* app/core/gimpmodules.c: changed accordingly.
      
      	* app/core/gimpcontainer.c
      	* app/core/gimplist.c: HACKED around to allow GimpLists of
      	GObjects (not GimpObjects). This is EEKy, so I will either make
      	gimp->modules a simple GList and revert this bit of change, or
      	allow GObjects all over the place in GimpContainer land...
      
      	* app/display/gimpdisplayshell-filter.[ch]
      	* app/gui/color-notebook.c: removed all module stuff and use
      	g_type_children() to get the list of available color_selectors
      	and display_filters.
      
      	* app/display/gimpdisplayshell-filter-dialog.c
      	* app/display/gimpdisplayshell-render.c
      	* app/gui/module-browser.c: changed accordingly.
      
      	* app/gui/gui.c: ref the built-in color selector's class before
      	the modules are queried so it appears first in the list of
      	GimpColorSelector's children.
      
      	* modules/Makefile.am: build the water color selector again.
      
      	* modules/cdisplay_gamma.c
      	* modules/cdisplay_highcontrast.c
      	* modules/colorsel_triangle.c
      	* modules/colorsel_water.c: ported them all to the new API.
      
      	* modules/gimpmodregister.[ch]: removed the old EMX module hack.
      d7055a33
  25. 18 Oct, 2002 1 commit
    • Sven Neumann's avatar
      changed an error message. · cedcb7bc
      Sven Neumann authored
      2002-10-18  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpimage-mask.c (gimp_image_mask_extract): changed an
      	error message.
      
      	* app/widgets/gimpmessagebox.c: tweaked so it looks more like the
      	query box.
      cedcb7bc
  26. 14 Oct, 2002 1 commit
    • Sven Neumann's avatar
      added convenience function gimp_display_coords_in_active_drawable(). · 63035799
      Sven Neumann authored
      2002-10-14  Sven Neumann  <sven@gimp.org>
      
      	* app/display/gimpdisplay.[ch]: added convenience function
      	gimp_display_coords_in_active_drawable().
      
      	* app/tools/gimpcurvestool.c: indicate the possibility to pick color
      	values from the image by showing a color picker cursor. Made the
      	file selection dialog transient for the tool shell.
      
      	* app/tools/gimplevelstool.c: made the file selection dialog
      	transient for the tool shell.
      63035799
  27. 10 Oct, 2002 3 commits