Commit Graph

10580 Commits

Author SHA1 Message Date
Sven Neumann 4094b06819 added $(EXEEXT) to gimp-remote so it can be built on Win32 when compiling
2005-02-06  Sven Neumann  <sven@gimp.org>

	* configure.in: added $(EXEEXT) to gimp-remote so it can be built
	on Win32 when compiling for GTK+-X11.
2005-02-06 18:07:05 +00:00
Michael Natterer 2ea0103d3d removed.
2005-02-06  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/url.c: removed.

	* plug-ins/common/plugin-defs.pl: changed accordingly.

	* plug-ins/common/.cvsignore
	* plug-ins/common/Makefile.am: regenerated.

	* configure.in
	* plug-ins/Makefile.am: added the "uri" subdir.

	* plug-ins/uri/.cvsignore
	* plug-ins/uri/Makefile.am
	* plug-ins/uri/uri-backend-wget.c
	* plug-ins/uri/uri-backend.h
	* plug-ins/uri/uri.c: new files: split uri plug-in into common and
	backend-specific code that will soon optionally use gnomre-vfs.

	Also treat everything after the basename's first dot as extension,
	not after the last dot, so opening "foo.ext.gz" doesn't trigger
	warnings from the compressor plug-in.
2005-02-06 16:11:40 +00:00
Sven Neumann 7a3f6786da moved call to sanity_check() after the initialization of gtk+ so that the
2005-02-06  Sven Neumann  <sven@gimp.org>

	* app/main.c: moved call to sanity_check() after the
	initialization of gtk+ so that the error message can be displayed.
2005-02-06 15:47:03 +00:00
Sven Neumann 4799a27ef8 removed some eeeky code that used to fiddle with the GimpController type.
2005-02-05  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpcontrollers.c (gimp_controllers_init): removed
	some eeeky code that used to fiddle with the GimpController type.

	* libgimpwidgets/gimpcontroller.c (gimp_controller_get_type): add
	the GimpConfig interface here, where it belongs.
2005-02-05 22:40:07 +00:00
Sven Neumann 90acebb610 modules/cdisplay_colorblind.c modules/cdisplay_gamma.c
2005-02-05  Sven Neumann  <sven@gimp.org>

	* modules/cdisplay_colorblind.c
	* modules/cdisplay_gamma.c
	* modules/cdisplay_highcontrast.c
	* modules/cdisplay_proof.c: there's no longer a need to keep a
	pointer to the widget returned by GimpColorDisplay::configure.
2005-02-05 22:04:40 +00:00
Sven Neumann 5b70c77fe9 deprecate the implementation of the class methods clone, load_state,
2005-02-05  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpcolordisplay.[ch]: deprecate the
	implementation of the class methods clone, load_state, save_state
	and configure_reset and implement them in the base class using the
	GimpConfigInterface.

	* modules/cdisplay_colorblind.c
	* modules/cdisplay_gamma.c
	* modules/cdisplay_highcontrast.c
	* modules/cdisplay_proof.c: removed deprecated implementations here.
2005-02-05 21:51:47 +00:00
Sven Neumann c3bb11def3 switched meaning of Ctrl and Shift modifiers used with the mouse scroll
2005-02-05  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell-callbacks.c
	(gimp_display_shell_canvas_tool_events): switched meaning of Ctrl
	and Shift modifiers used with the mouse scroll wheel. The HIG
	suggests to use Ctrl for zooming and it makes GIMP more consistent
	with other apps (for example Inkscape).
2005-02-05 20:49:28 +00:00
Sven Neumann 692669f4d8 renamed GIMP_PARAM_ #defines to GIMP_CONFIG_PARAM_.
2005-02-05  Sven Neumann  <sven@gimp.org>

	* libgimpconfig/gimpconfig-params.h: renamed GIMP_PARAM_ #defines
	to GIMP_CONFIG_PARAM_.

	* app/config/gimpbaseconfig.c
	* app/config/gimpconfig-dump.c
	* app/config/gimpcoreconfig.c
	* app/config/gimpdisplayconfig.c
	* app/config/gimpguiconfig.c
	* app/config/gimprc-deserialize.c
	* app/config/gimprc-serialize.c
	* app/config/gimprc.c
	* app/core/gimp.c
	* app/core/gimpstrokedesc.c
	* app/dialogs/preferences-dialog.c
	* app/text/gimptext.c
	* app/tools/gimptextoptions.c
	* libgimpconfig/gimpconfig-deserialize.c
	* libgimpconfig/gimpconfig-iface.c
	* libgimpconfig/gimpconfig-serialize.c
	* libgimpconfig/gimpconfig-utils.c: changed accordingly.

	* libgimpmodule/gimpmoduletypes.h: deprecate the
	GIMP_MODULE_PARAM_SERIALIZE #define, GIMP_CONFIG_PARAM_SERIALIZE
	should be used instead.

	* modules/controller_linux_input.c
	* modules/controller_midi.c: changed accordingly.
2005-02-05 14:52:58 +00:00
Sven Neumann d44700a1d1 modules/cdisplay_colorblind.c modules/cdisplay_gamma.c
2005-02-05  Sven Neumann  <sven@gimp.org>

	* modules/cdisplay_colorblind.c
	* modules/cdisplay_gamma.c
	* modules/cdisplay_highcontrast.c
	* modules/cdisplay_proof.c: ported all ColorDisplay modules to
	GimpConfig.
2005-02-05 14:10:20 +00:00
Sven Neumann 3e7c5ff976 link ColorDisplay modules with libgimpconfig.
2005-02-05  Sven Neumann  <sven@gimp.org>

        * modules/Makefile.am: link ColorDisplay modules with libgimpconfig.

        * modules/cdisplay_colorblind.c: added the GimpConfig interface
        and use it.
2005-02-05 12:13:22 +00:00
Sven Neumann 5cf9a16f9f documentation fixes.
2005-02-05  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimppropwidgets.[ch]: documentation fixes.
2005-02-05 11:51:48 +00:00
Dave Neary 7a77aeabfb Added locale.h to the headers included - fixes the build.
2005-02-05  Dave Neary  <bolsh@gimp.org>

	* tools/gimp-remote.c: Added locale.h to the headers
	included - fixes the build.
2005-02-05 08:53:19 +00:00
Manish Singh 1169562545 readd declaration of gimp_prop_paint_mode_menu_new().
2005-02-04  Manish Singh  <yosh@gimp.org>

        * app/widgets/gimppropwidgets.h: readd declaration of
        gimp_prop_paint_mode_menu_new().
2005-02-04 23:19:31 +00:00
Manish Singh 4dd885bbb1 add libgimpconfig to Libs.
2005-02-04  Manish Singh  <yosh@gimp.org>

        * gimpui.pc.in: add libgimpconfig to Libs.
2005-02-04 23:17:54 +00:00
Bill Skaggs 51fdb93bf5 Bill Skaggs <weskaggs@primate.ucdavis.edu>
added dependencies in wrong spot, fixed.  Same list of
	files as for previous commit.

2005-02-04  Bill Skaggs  <weskaggs@primate.ucdavis.edu>

	* libgimpwidgets/Makefile.am
	* plug-ins/FractalExplorer/Makefile.am
	* plug-ins/Lighting/Makefile.am
	* plug-ins/MapObject/Makefile.am
	* plug-ins/bmp/Makefile.am
	* plug-ins/common/Makefile.am
	* plug-ins/common/mkgen.pl
	* plug-ins/dbbrowser/Makefile.am
	* plug-ins/faxg3/Makefile.am
	* plug-ins/fits/Makefile.am
	* plug-ins/flame/Makefile.am
	* plug-ins/gfig/Makefile.am
	* plug-ins/gflare/Makefile.am
	* plug-ins/gfli/Makefile.am
	* plug-ins/gimpressionist/Makefile.am
	* plug-ins/helpbrowser/Makefile.am
	* plug-ins/ifscompose/Makefile.am
	* plug-ins/imagemap/Makefile.am
	* plug-ins/jpeg/Makefile.am
	* plug-ins/maze/Makefile.am
	* plug-ins/pagecurl/Makefile.am
	* plug-ins/print/Makefile.am
	* plug-ins/pygimp/Makefile.am
	* plug-ins/rcm/Makefile.am
	* plug-ins/script-fu/Makefile.am
	* plug-ins/sel2path/Makefile.am
	* plug-ins/sgi/Makefile.am
	* plug-ins/twain/Makefile.am
	* plug-ins/winicon/Makefile.am
	* plug-ins/winsnap/Makefile.am
	* plug-ins/xjt/Makefile.am: ouch, broke build badly, needed to
	add libgimpconfig dependencies after moving gimppropwidgets.
2005-02-04 22:31:58 +00:00
William Skaggs 6bc832918e Bill Skaggs <weskaggs@primate.ucdavis.edu>
* libgimpwidgets/Makefile.am
	* plug-ins/FractalExplorer/Makefile.am
	* plug-ins/Lighting/Makefile.am
	* plug-ins/MapObject/Makefile.am
	* plug-ins/bmp/Makefile.am
	* plug-ins/common/Makefile.am
	* plug-ins/common/mkgen.pl
	* plug-ins/dbbrowser/Makefile.am
	* plug-ins/faxg3/Makefile.am
	* plug-ins/fits/Makefile.am
	* plug-ins/flame/Makefile.am
	* plug-ins/gfig/Makefile.am
	* plug-ins/gflare/Makefile.am
	* plug-ins/gfli/Makefile.am
	* plug-ins/gimpressionist/Makefile.am
	* plug-ins/helpbrowser/Makefile.am
	* plug-ins/ifscompose/Makefile.am
	* plug-ins/imagemap/Makefile.am
	* plug-ins/jpeg/Makefile.am
	* plug-ins/maze/Makefile.am
	* plug-ins/pagecurl/Makefile.am
	* plug-ins/print/Makefile.am
	* plug-ins/pygimp/Makefile.am
	* plug-ins/rcm/Makefile.am
	* plug-ins/script-fu/Makefile.am
	* plug-ins/sel2path/Makefile.am
	* plug-ins/sgi/Makefile.am
	* plug-ins/twain/Makefile.am
	* plug-ins/winicon/Makefile.am
	* plug-ins/winsnap/Makefile.am
	* plug-ins/xjt/Makefile.am: ouch, broke build badly, needed to
	add libgimpconfig dependencies after moving gimppropwidgets.
2005-02-04 21:55:06 +00:00
William Skaggs f23ae07ce1 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* libgimpwidgets/gimppropwidgets.[ch]: oops, use libgimp header.
2005-02-04 20:51:19 +00:00
William Skaggs a395b02f6f Bill Skaggs <weskaggs@primate.ucdavis.edu>
* libgimpwidgets/gimppropwidgets.[ch]: magic-copied from app/widgets
	and un-movable things then removed.

	* libgimpwidgets/Makefile.am
	* libgimpwidgets/gimpwidgets.def
	* libgimpwidgets/gimpwidgets.h: corresponding changes

	* app/widgets/gimppropwidgets.[ch]: remove functions that were
	moved.

	* app/dialogs/stroke-dialog.c
	* app/dialogs/tips-dialog.c
	* app/dialogs/user-install-dialog.c
	* app/tools/gimpairbrushtool.c
	* app/tools/gimpblendoptions.c
	* app/tools/gimpbucketfilloptions.c
	* app/tools/gimpclonetool.c
	* app/tools/gimpcoloroptions.c
	* app/tools/gimpcolorpickeroptions.c
	* app/tools/gimpconvolvetool.c
	* app/tools/gimpcropoptions.c
	* app/tools/gimpcurvestool.c
	* app/tools/gimpdodgeburntool.c
	* app/tools/gimperasertool.c
	* app/tools/gimpflipoptions.c
	* app/tools/gimphistogramoptions.c
	* app/tools/gimpimagemaptool.c
	* app/tools/gimpinkoptions-gui.c
	* app/tools/gimplevelstool.c
	* app/tools/gimpmagnifyoptions.c
	* app/tools/gimpmeasureoptions.c
	* app/tools/gimpmoveoptions.c
	* app/tools/gimpselectionoptions.c
	* app/tools/gimpsmudgetool.c
	* app/tools/gimpthresholdtool.c
	* app/tools/gimptransformoptions.c
	* app/tools/gimpvectoroptions.c
	* app/widgets/gimpcontainerbox.c
	* app/widgets/gimpcontrollereditor.c
	* app/widgets/gimpdevicestatus.c
	* app/widgets/gimpgrideditor.c
	* app/widgets/gimphistogrambox.c
	* app/widgets/gimphistogrameditor.c
	* app/widgets/gimpsizebox.c
	* app/widgets/gimpstrokeeditor.c
	* app/widgets/gimptemplateeditor.c
	* app/widgets/gimptooloptionseditor.c: fix includes.
2005-02-04 20:47:42 +00:00
William Skaggs eafae04245 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/jpeg/jpeg-exif.c: check validity of orientation
	value before using, see bug #166248.
2005-02-04 17:44:54 +00:00
Sven Neumann 827cd7c86d *** empty log message *** 2005-02-03 23:17:40 +00:00
Sven Neumann 8b3481f3ff added new utility function file_utils_filename_from_uri().
2005-02-03  Sven Neumann  <sven@gimp.org>

	* app/file/file-utils.[ch]: added new utility function
	file_utils_filename_from_uri().

	* app/file/file-open.c (file_open_image)
	* app/file/file-save.c (file_save_as):
	* app/file/file-utils.c (file_utils_find_proc)
	(file_utils_uri_to_utf8_filename): replaced calls to
	g_filename_from_uri() with file_utils_filename_from_uri().
2005-02-03 23:14:42 +00:00
William Skaggs eb834ca3bf Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/widgets/gimppropwidgets.c:  add gtk-doc comments to
	public functions in prep for moving to libgimpwidgets.
2005-02-03 22:31:55 +00:00
Michael Natterer 3e3c9e979c app/dialogs/print-size-dialog.c app/dialogs/resize-dialog.c moved "Reset"
2005-02-03  Michael Natterer  <mitch@gimp.org>

	* app/dialogs/print-size-dialog.c
	* app/dialogs/resize-dialog.c
	* app/dialogs/scale-dialog.c: moved "Reset" buttons left of "Cancel".
2005-02-03 20:36:19 +00:00
Sven Neumann 17fc813922 tools/Makefile.am allow to localize gimp-remote.
2005-02-03  Sven Neumann  <sven@gimp.org>

	* tools/Makefile.am
	* tools/gimp-remote.c: allow to localize gimp-remote.

	* app/main.c: changed a string so it can be shared with gimp-remote.
2005-02-03 20:23:51 +00:00
Michael Natterer 0185153282 for consistency, use return_if_no_widget() instead of
2005-02-03  Michael Natterer  <mitch@gimp.org>

	* app/actions/help-commands.c (help_context_help_cmd_callback):
	for consistency, use return_if_no_widget() instead of
	action_data_get_widget()
2005-02-03 19:27:56 +00:00
Michael Natterer ebf67a2003 use the passed parent widget instead of display->shell.
2005-02-03  Michael Natterer  <mitch@gimp.org>

	* app/dialogs/image-scale-dialog.c (image_scale_dialog_new): use
	the passed parent widget instead of display->shell.
2005-02-03 18:33:33 +00:00
Sven Neumann 91cd5ba78a ported to GOption command-line parser.
2005-02-03  Sven Neumann  <sven@gimp.org>

	* tools/gimp-remote.c: ported to GOption command-line parser.
2005-02-03 16:56:43 +00:00
Sven Neumann 5b75565650 fixed handling of pixel region that broke with my latest change. Fixes bug
2005-02-03  Sven Neumann  <sven@gimp.org>

	* app/core/gimpimagemap.c (gimp_image_map_do): fixed handling of
	pixel region that broke with my latest change. Fixes bug #166126.
2005-02-03 16:09:47 +00:00
Sven Neumann 25d96bad97 some cleanup in main().
2005-02-03  Sven Neumann  <sven@gimp.org>

	* app/main.c: some cleanup in main().
2005-02-03 15:21:20 +00:00
Michael Natterer 4109609dbc there is no such thing as GLib+
2005-02-03  Michael Natterer  <mitch@gimp.org>

	* app/sanity.c (sanity_check_glib): there is no such thing as GLib+
2005-02-02 23:51:59 +00:00
Sven Neumann 1fbd1ad123 app/app_procs.[ch] let the GLib command-line parser deal with the
2005-02-03  Sven Neumann  <sven@gimp.org>

	* app/app_procs.[ch]
	* app/main.c: let the GLib command-line parser deal with the
	remaining arguments and pass a string array to app_run().
2005-02-02 23:23:33 +00:00
Sven Neumann 8bc6352a38 more work on the command-line option parser.
2005-02-03  Sven Neumann  <sven@gimp.org>

	* app/main.c: more work on the command-line option parser.
2005-02-02 23:04:24 +00:00
Michael Natterer b93dd20b21 removed this function.
2005-02-02  Michael Natterer  <mitch@gimp.org>

	* app/core/gimp-utils.[ch] (gimp_check_glib_version): removed this
	function.

	* app/sanity.c (sanity_check_glib): use glib_check_version()
	instead and set required version to 2.6.0.
2005-02-02 22:35:13 +00:00
Sven Neumann 7e8139b592 depend on glib >= 2.6.0.
2005-02-02  Sven Neumann  <sven@gimp.org>

	* configure.in: depend on glib >= 2.6.0.

	* app/main.c: use the new GLib commandline option parser. Still
	work in progress.
2005-02-02 22:08:35 +00:00
Michael Natterer b62b9b42bf relax/rigor the floating selection around the convert operations so color
2005-02-02  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpimage-convert.c (gimp_image_convert): relax/rigor
	the floating selection around the convert operations so color
	analysis for indexed conversion works on the floating selection's
	drawable original pixels, and not on the composited one.
	Fixes bug #165342.
2005-02-02 22:01:21 +00:00
Sven Neumann 9173ac0987 experimentally expand the GIMP acronym. Not sure if this is a good idea at
2005-02-02  Sven Neumann  <sven@gimp.org>

	* data/misc/gimp.desktop.in.in (_Name): experimentally expand the
	GIMP acronym. Not sure if this is a good idea at all...
2005-02-02 16:29:50 +00:00
Sven Neumann 1e3db9e0c1 tiny optimization based on a patch by Bill Skaggs. Process up to 16 tiles
2005-02-01  Sven Neumann  <sven@gimp.org>

	* app/core/gimpimagemap.c (gimp_image_map_do): tiny optimization
	based on a patch by Bill Skaggs. Process up to 16 tiles in one go
	before updating the display.
2005-02-01 11:24:28 +00:00
Sven Neumann a4de915921 themes/Default/images/Makefile.am
2005-01-31  Sven Neumann  <sven@gimp.org>

	* themes/Default/images/Makefile.am
	* themes/Default/images/tools/stock-tool-new-rect-select-16.png
	* themes/Default/images/tools/stock-tool-new-rect-select-22.png
	* libgimpwidgets/gimpstock.[ch]: removed the new icon again;
	there's no point in adding a stock icon temporarily.

	* app/tools/gimpnewrectselecttool.c: changed accordingly.
2005-01-31 20:43:46 +00:00
William Skaggs 876bd885d7 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/tools/gimpnewrectselecttool.[ch]: new rectangle select tool

	* app/tools/Makefile.am
	* app/tools/gimp-tools.c: add it to toolbox

	* app/tools/gimpselectionoptions.[ch]: set its options

	* themes/Default/images/tools/stock-tool-new-rect-select-16.png
	* themes/Default/images/tools/stock-tool-new-rect-select-22.png: toolbox
	icon

	* libgimpwidgets/gimpstock.[ch]
	* themes/Default/images/Makefile.am: add the toolbox icon
2005-01-31 18:43:28 +00:00
Michael Natterer f3e0792dcf Some cleanup to make plug-in menu creation less hackish and finally enable
2005-01-31  Michael Natterer  <mitch@gimp.org>

	Some cleanup to make plug-in menu creation less hackish and
	finally enable registering plug-in menu entries in much more UI
	managers (not only in the image and toolbox menus):

	* app/menus/menus.c: added a <Toolbox> UI manager instead of
	creating the toolbox menu from the <Image> UI manager.

	* app/widgets/gimpimagedock.[ch]: removed the ui_manager and the
	signal connections to update it...

	* app/widgets/gimpdock.[ch]: ...and added them here so all docks
	have their own UI manager. Determine which manager to create from
	looking at GimpDockClass::ui_manager_name (defaults to <Dock>).

	* app/widgets/gimptoolbox.c: set ui_manager_name to <Toolbox> and
	use the UI manager created by our parent class instead of using
	the <Image> one.

	(toolbox_create_tools): use gimp_action_get_accel_closure()
	instead of doing evil hacks.

	* app/gui/gui-vtable.c
	* app/menus/plug-in-menus.c: removed lots of special casing of the
	<Image> UI manager. The code is almost ready for allowing plug-in
	menus under <Layers>, <Channels>, <Brushes> etc.
2005-01-31 16:09:52 +00:00
Sven Neumann 843490a152 formatting.
2005-01-30  Sven Neumann  <sven@gimp.org>

	* app/core/gimpimagemap.c: formatting.
2005-01-30 16:50:52 +00:00
Michael Schumacher c0502e49c0 added gimp_path_parse added gimp_param_spec_matrix2
2005-01-29  Michael Schumacher  <schumaml@cvs.gnome.org>

	* libgimpbase/gimpbase.def: added gimp_path_parse
	* libgimpmath/gimpmath.def: added gimp_param_spec_matrix2
2005-01-29 19:11:17 +00:00
Sven Neumann b4a68e9569 libgimpconfig/gimpconfig-deserialize.c libgimpconfig/gimpconfig-error.c
2005-01-29  Sven Neumann  <sven@gimp.org>

	* libgimpconfig/gimpconfig-deserialize.c
	* libgimpconfig/gimpconfig-error.c
	* libgimpconfig/gimpconfig-iface.c
	* libgimpconfig/gimpconfig-path.c
	* libgimpconfig/gimpconfig-serialize.c
	* libgimpconfig/gimpconfig-utils.c
	* libgimpconfig/gimpconfigwriter.c
	* libgimpconfig/gimpscanner.c: use libgimp header,
	added "Since: GIMP 2.4" to the gtk-doc comments.
2005-01-29 12:54:48 +00:00
Sven Neumann be6f9d259e use libgimp header, added "Since: GIMP 2.4" to the gtk-doc comments.
2005-01-29  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpenumwidgets.[ch]: use libgimp header,
	added "Since: GIMP 2.4" to the gtk-doc comments.

2005-01-29  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/libgimpwidgets-docs.sgml
	* libgimpwidgets/libgimpwidgets-sections.txt
	* libgimpwidgets/tmpl/gimpenumwidgets.sgml: updated.
2005-01-29 12:26:14 +00:00
William Skaggs 6d74b06daf Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/widgets/gimpenumwidgets.c
	* app/widgets/gimpenumwidgets.h: magic-moved from here...

	* libgimpwidgets/gimpenumwidgets.c
	* libgimpwidgets/gimpenumwidgets.h: ...to here.

	* app/dialogs/convert-dialog.c
	* app/dialogs/layer-add-mask-dialog.c
	* app/dialogs/layer-options-dialog.c
	* app/tools/gimpcolorbalancetool.c
	* app/tools/gimpcroptool.c
	* app/tools/gimpcurvestool.c
	* app/tools/gimplevelstool.c
	* app/widgets/Makefile.am
	* app/widgets/gimpbrusheditor.c
	* app/widgets/gimpeditor.c
	* app/widgets/gimppropwidgets.c
	* app/widgets/gimptemplateeditor.c
	* libgimpwidgets/Makefile.am
	* libgimpwidgets/gimpwidgets.def
	* libgimpwidgets/gimpwidgets.h: all changed accordingly.
	Still need to do devel-docs.
2005-01-29 01:08:20 +00:00
Michael Natterer b0f83a4b4f app/actions/Makefile.am new files holding utility functions to create
2005-01-28  Michael Natterer  <mitch@gimp.org>

	* app/actions/Makefile.am
	* app/actions/window-actions.[ch]: new files holding utility
	functions to create actions to move windows to other screens.

	* app/actions/dock-actions.c
	* app/actions/dock-commands.[ch]
	* app/actions/view-actions.c
	* app/actions/view-commands.[ch]: use the new actions instead of
	the change screen dialog.

	* app/menus/Makefile.am
	* app/menus/window-menu.[ch]: new files which create menu items
	for above actions.

	* app/menus/dockable-menu.[ch]: new files using above window-menu
	utility functions.

	* app/menus/image-menu.c: use them here too.

	* app/menus/menus.c: set a setup_func for the "<Dockable>"
	UI manager.

	* menus/dockable-menu.xml.in
	* menus/image-menu.xml.in: changed accordingly.
2005-01-28 19:48:31 +00:00
William Skaggs 5fce783eab Bill Skaggs <weskaggs@primate.ucdavis.edu>
* libgimp/gimpdrawablepreview.c: set preview bounds correctly
	when previewed drawable extends beyond image edges,
	fixes bug #165372.
2005-01-28 18:11:57 +00:00
Manish Singh d0d6191f39 update ancient IRC info.
2005-01-27  Manish Singh  <yosh@gimp.org>

        * README: update ancient IRC info.
2005-01-27 22:23:54 +00:00
Sven Neumann c4a8618db9 changed default grid distance to 32 as suggested in bug #165367.
2005-01-27  Sven Neumann  <sven@gimp.org>

	* app/core/gimpgrid.c: changed default grid distance to 32 as
	suggested in bug #165367.
2005-01-27 17:01:45 +00:00
Manish Singh 99dff763f5 make LIBADD really work.
2005-01-26  Manish Singh  <yosh@gimp.org>

        * libgimpconfig/Makefile.am: make LIBADD really work.

        * Makefile.am: build libgimpconfig after libgimpcolor and libgimpmath.
2005-01-27 01:17:09 +00:00
William Skaggs c9ac4cba0c Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/jpeg/jpeg-exif.c:  libexif can return a result
	even for files without exif, need to validate it.
2005-01-27 01:13:28 +00:00
William Skaggs 343cf5881b Bill Skaggs
* libgimpconfig/Makefile.am: add necessary stuff to
	LIBADD -- reported by schumaml, fix explained by yosh.
2005-01-27 01:10:59 +00:00
Michael Natterer 35a8308d25 tools/pdbgen/pdb/fileops.pdb fixed includes after libgimpconfig file
2005-01-26  Michael Natterer  <mitch@gimp.org>

	* tools/pdbgen/pdb/fileops.pdb
	* tools/pdbgen/pdb/gimprc.pdb: fixed includes after libgimpconfig
	file moving. Reported by Volker Sturm.

	* app/pdb/gimprc_cmds.c: regenerated.
2005-01-26 13:59:15 +00:00
Michael Natterer 1ba788fd82 app/actions/dockable-actions.c removed dock-related actions
2005-01-26  Michael Natterer  <mitch@gimp.org>

	* app/actions/dockable-actions.c
	* app/actions/dockable-commands.[ch]: removed dock-related
	actions (show-image-menu, auto-follow-active and move-to-screen).

	* app/actions/dock-actions.c
	* app/actions/dock-commands.[ch]: and added them here.

	* app/menus/menus.c: add the "dock" action group to the
	"<Dockable>" UI Manager.

	* app/widgets/gimphelp-ids.h: reordered to match the new grouping.

	* menus/dockable-menu.xml.in: changed accordingly.
2005-01-26 13:34:41 +00:00
Michael Natterer ee3d7f878d Fixed my last ChangeLog entry. 2005-01-26 10:00:22 +00:00
Raphael Quinet 7ce0dfc741 minor doc fix for formula used by
2005-01-26  Raphael Quinet  <raphael@gimp.org>

	* app/composite/gimp-composite-generic.c: minor doc fix for
	formula used by gimp_composite_multiply_any_any_any_generic().
2005-01-26 06:22:06 +00:00
Sven Neumann 88a302f4d1 added declarations for the gimp_config_build_path functions.
2005-01-26  Sven Neumann  <sven@gimp.org>

	* libgimpconfig/gimpconfig-path.h: added declarations for the
	gimp_config_build_path functions.

	* app/config/Makefile.am
	* app/config/gimprc-utils.[ch]: removed these two files again;
	they used to duplicate functionality from libgimpconfig.

	* app/config/gimpcoreconfig.c
	* app/config/gimpguiconfig.c
	* app/config/gimppluginconfig.c: changed accordingly.
2005-01-25 23:52:20 +00:00
Sven Neumann 4aa2bf9382 libgimpbase/Makefile.am removed these two files again.
2005-01-26  Sven Neumann  <sven@gimp.org>

	* libgimpbase/Makefile.am
	* libgimpbase/gimppath.[ch]: removed these two files again.

	* libgimpconfig/gimpconfig-path.[ch]: merged the path type and
	param spec here. Renamed to GimpConfigPath and GimpParamConfigPath.

	* libgimpbase/gimpbase.h
	* libgimpbase/gimpbasetypes.[ch]
	* libgimpconfig/gimpconfig-deserialize.c
	* libgimpconfig/gimpconfig-params.h
	* app/config/gimpbaseconfig.c
	* app/config/gimpconfig-dump.c
	* app/config/gimpcoreconfig.c
	* app/config/gimpguiconfig.c
	* app/config/gimppluginconfig.c
	* app/widgets/gimppropwidgets.c: changed accordingly.

	* libgimpbase/gimpbase.def: updated.
2005-01-25 23:44:05 +00:00
William Skaggs a60420e23f Bill Skaggs <weskaggs@primate.ucdavis.edu>
* libgimpconfig/gimpconfig.def: added
2005-01-25 23:26:24 +00:00
Michael Natterer 3592a58d96 new file holding the opaque typedefs for libgimpconfig. Includes
2005-01-25  Michael Natterer  <mitch@gimp.org>

	* libgimpconfig/gimpconfigtypes.h: new file holding the opaque
	typedefs for libgimpconfig. Includes "libgimpbase/gimpbasetypes.h"

	* libgimpconfig/Makefile.am: added the new file. Removed stuff
	that is not needed.

	* libgimpconfig/gimpconfigwriter.h
	* libgimpconfig/gimpconfig-iface.h: removed typedefs here.

	* libgimpconfig/gimpconfig-deserialize.c
	* libgimpconfig/gimpconfig-iface.c
	* libgimpconfig/gimpconfig-serialize.c
	* libgimpconfig/gimpconfig-utils.c
	* libgimpconfig/gimpconfig.h
	* libgimpconfig/gimpconfigwriter.c: include it before including
	any other libgimpconfig stuff.

	* app/config/config-types.h: #include "libgimpbase/gimpbasetypes.h"

	* app/config/gimpconfig-utils.h: changed include guards to
	__APP_GIMP_CONFIG_UTILS_H__.

	* app/dialogs/tips-parser.c: include <glib-object.h> instead of
	just <glib.h>.

	* app/tools/gimphistogramoptions.c
	* app/tools/gimptextoptions.c: include "config/gimpconfig-utils.h"

	* app/widgets/gimpdialogfactory.h
	* app/widgets/gimpsessioninfo.h: removed inclusion of
	"libgimpbase/gimpbasetypes.h".
2005-01-25 20:30:20 +00:00
William Skaggs 0d9284b233 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/config/gimpconfig-deserialize.c
	* app/config/gimpconfig-deserialize.h
	* app/config/gimpconfig-error.c
	* app/config/gimpconfig-error.h
	* app/config/gimpconfig-params.h
	* app/config/gimpconfig-path.c
	* app/config/gimpconfig-path.h
	* app/config/gimpconfig-serialize.c
	* app/config/gimpconfig-serialize.h
	* app/config/gimpconfig.c
	* app/config/gimpconfig.h
	* app/config/gimpconfigwriter.c
	* app/config/gimpconfigwriter.h
	* app/config/gimpscanner.c
	* app/config/gimpscanner.h: removed

	* libgimpconfig/gimpconfig-deserialize.c
	* libgimpconfig/gimpconfig-deserialize.h
	* libgimpconfig/gimpconfig-error.h
	* libgimpconfig/gimpconfig-iface.c
	* libgimpconfig/gimpconfig-iface.h
	* libgimpconfig/gimpconfig-params.h
	* libgimpconfig/gimpconfig-path.c
	* libgimpconfig/gimpconfig-path.h
	* libgimpconfig/gimpconfig-serialize.c
	* libgimpconfig/gimpconfig-serialize.h
	* libgimpconfig/gimpconfig-utils.c
	* libgimpconfig/gimpconfig-utils.h
	* libgimpconfig/gimpconfig.h
	* libgimpconfig/gimpconfigwriter.c
	* libgimpconfig/gimpconfigwriter.h
	* libgimpconfig/gimpscanner.c
	* libgimpconfig/gimpscanner.h: copied from app/config
	by yosh.

	* libgimpconfig/.cvsignore: added

	* libgimpconfig/Makefile.am: modified

	* Makefile.am
	* configure.in
	* app/Makefile.am
	* app/actions/templates-commands.c
	* app/actions/tool-options-commands.c
	* app/base/base.c
	* app/base/temp-buf.c
	* app/config/Makefile.am
	* app/config/config-types.h
	* app/config/gimpconfig-utils.c
	* app/config/gimpconfig-utils.h
	* app/config/gimpconfig-file.c
	* app/config/gimpconfig-dump.c
	* app/config/gimpbaseconfig.c
	* app/config/gimpcoreconfig.c
	* app/config/gimpdisplayconfig.c
	* app/config/gimpguiconfig.c
	* app/config/gimppluginconfig.c
	* app/config/gimprc-deserialize.c
	* app/config/gimprc-serialize.c
	* app/config/gimprc-unknown.c
	* app/config/gimprc.c
	* app/config/test-config.c
	* app/core/gimp-documents.c
	* app/core/gimp-modules.c
	* app/core/gimp-parasites.c
	* app/core/gimp-templates.c
	* app/core/gimp-units.c
	* app/core/gimp.c
	* app/core/gimpcontainer.c
	* app/core/gimpcontext.c
	* app/core/gimpdatafactory.c
	* app/core/gimpdocumentlist.c
	* app/core/gimpgrid.c
	* app/core/gimpimage-duplicate.c
	* app/core/gimpimage-grid.c
	* app/core/gimpimage-new.c
	* app/core/gimpimage-undo-push.c
	* app/core/gimpimage.c
	* app/core/gimpparasitelist.c
	* app/core/gimpstrokedesc.c
	* app/core/gimpstrokeoptions.c
	* app/core/gimptemplate.c
	* app/core/gimptoolinfo.c
	* app/core/gimptooloptions.c
	* app/core/gimpviewable.c
	* app/dialogs/grid-dialog.c
	* app/dialogs/image-new-dialog.c
	* app/dialogs/preferences-dialog.c
	* app/dialogs/stroke-dialog.c
	* app/dialogs/template-options-dialog.c
	* app/display/gimpdisplayoptions.c
	* app/display/gimpdisplayshell.c
	* app/gui/color-history.c
	* app/gui/session.c
	* app/gui/themes.c
	* app/paint/gimpairbrushoptions.c
	* app/paint/gimpcloneoptions.c
	* app/paint/gimpconvolveoptions.c
	* app/paint/gimpdodgeburnoptions.c
	* app/paint/gimperaseroptions.c
	* app/paint/gimpinkoptions.c
	* app/paint/gimppaintoptions.c
	* app/paint/gimppenciloptions.c
	* app/paint/gimpsmudgeoptions.c
	* app/pdb/fileops_cmds.c
	* app/pdb/gimprc_cmds.c
	* app/plug-in/plug-in-rc.c
	* app/plug-in/plug-ins.c
	* app/text/gimp-fonts.c
	* app/text/gimptext-parasite.c
	* app/text/gimptext.c
	* app/text/gimptextlayer.c
	* app/text/gimptextundo.c
	* app/tools/gimp-tools.c
	* app/tools/gimpblendoptions.c
	* app/tools/gimpbucketfilloptions.c
	* app/tools/gimpcoloroptions.c
	* app/tools/gimpcolorpickeroptions.c
	* app/tools/gimpcolorpickertool.c
	* app/tools/gimpcropoptions.c
	* app/tools/gimpcroptool.c
	* app/tools/gimpflipoptions.c
	* app/tools/gimphistogramoptions.c
	* app/tools/gimpimagemapoptions.c
	* app/tools/gimpmagnifyoptions.c
	* app/tools/gimpmeasureoptions.c
	* app/tools/gimpmoveoptions.c
	* app/tools/gimppaintoptions-gui.c
	* app/tools/gimpselectionoptions.c
	* app/tools/gimptextoptions.c
	* app/tools/gimptexttool.c
	* app/tools/gimptransformoptions.c
	* app/tools/gimptransformtool.c
	* app/tools/gimpvectoroptions.c
	* app/widgets/gimpcolorbar.c
	* app/widgets/gimpcontrollerinfo.c
	* app/widgets/gimpcontrollers.c
	* app/widgets/gimpdasheditor.c
	* app/widgets/gimpdeviceinfo.c
	* app/widgets/gimpdevices.c
	* app/widgets/gimpdialogfactory.h
	* app/widgets/gimppropwidgets.c
	* app/widgets/gimpsessioninfo.c
	* app/widgets/gimpsessioninfo.h
	* app/widgets/gimpsizebox.c
	* app/widgets/gimptemplateeditor.c
	* app/widgets/gimptemplateview.c: changed accordingly

	Moving things from app/config to libgimpconfig.
2005-01-25 19:10:44 +00:00
William Skaggs 328ad06794 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* libgimpconfig/Makefile.am
	* libgimpconfig/gimpconfig.h: setting up for libgimpconfig
2005-01-24 22:54:27 +00:00
Sven Neumann 73c055bb52 app/config/Makefile.am app/config/gimpconfig-file.[ch] more new files,
2005-01-24  Sven Neumann  <sven@gimp.org>

	* app/config/Makefile.am
	* app/config/gimpconfig-file.[ch]
	* app/config/gimprc-utils.[ch]: more new files, code factored out
	of gimpconfig-utils.[ch].

	* app/config/gimpconfig-path.[ch]
	* app/config/gimpconfig-utils.[ch]
	* app/config/gimpcoreconfig.c
	* app/config/gimpguiconfig.c
	* app/config/gimppluginconfig.c
	* app/config/gimprc.c
	* app/core/gimp-units.c
	* app/dialogs/user-install-dialog.c
	* app/gui/session.c: changed accordingly.
2005-01-24 22:41:24 +00:00
Sven Neumann edf1fc2d7b removed an unused parameter.
2005-01-24  Sven Neumann  <sven@gimp.org>

	* app/config/gimpconfig-deserialize.[ch]: removed an unused parameter.

	* app/config/gimpconfig.c: changed accordingly.
2005-01-24 22:07:52 +00:00
Sven Neumann 36c9dadf0c app/config/gimpconfig-deserialize.[ch]
2005-01-24  Sven Neumann  <sven@gimp.org>

	* app/config/gimpconfig-deserialize.[ch]
	* app/config/gimpconfig-serialize.[ch]
	* app/config/gimpconfig.[ch]: factored out some rather obscure
	GimpConfig features that were added solely for gimprc.

	* app/config/Makefile.am
	* app/config/gimprc-deserialize.[ch]
	* app/config/gimprc-serialize.[ch]
	* app/config/gimprc-unknown.[ch]: moved gimprc-specific code to
	these new files.

	* app/config/gimprc.c
	* app/config/test-config.c: changed accordingly.
2005-01-24 22:05:02 +00:00
Sven Neumann a11684f2c2 ooops 2005-01-24 00:02:07 +00:00
Michael Natterer fba0915d06 libgimpwidgets/gimpenumcombobox.c improved API docs.
2005-01-24  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimpenumcombobox.c
	* libgimpwidgets/gimpenumstore.[ch]: improved API docs.
2005-01-23 23:16:28 +00:00
Michael Natterer 8d3c38c94b Enabled closing docks with Ctrl-W:
2005-01-24  Michael Natterer  <mitch@gimp.org>

	Enabled closing docks with Ctrl-W:

	* app/actions/Makefile.am
	* app/actions/dock-actions.[ch]
	* app/actions/dock-commands.[ch]: added new action group which
	holds a single action, "dock-close".

	* app/actions/actions.c: register the "dock" group.

	* app/menus/menus.c: add it to the "<Dock>" UI manager.

	* app/widgets/gimphelp-ids.h: added GIMP_HELP_DOCK_CLOSE.
2005-01-23 23:00:21 +00:00
William Skaggs 46346bb99a Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/tools/gimpcroptool.c (crop_aspect_changed): don't
	accept aspect ratios that make image less than 1 byte high,
	fixes bug #164827.
2005-01-23 19:33:31 +00:00
Sven Neumann 1845b8aad1 added arcball.c; it isn't used but it doesn't hurt to have it in the
2005-01-23  Sven Neumann  <sven@gimp.org>

	* plug-ins/MapObject/Makefile.am (MapObject_SOURCES): added
	arcball.c; it isn't used but it doesn't hurt to have it in the
	tarball in case someone wants to resurrect this functionality.
2005-01-23 19:19:55 +00:00
Sven Neumann 53bbce378f don't read beyond the src buffer. Fixes bug #164963.
2005-01-23  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/edge.c: don't read beyond the src buffer. Fixes
	bug #164963.
2005-01-23 12:41:56 +00:00
Sven Neumann 981d9ed8a5 - fixed ChangeLog entry
- gtk-doc wants to change this file
2005-01-23 12:16:08 +00:00
Maurits Rijk 9b5744f891 plug-ins/imagemap/imap_toolbar.[ch] removed
2005-01-23  Maurits Rijk  <m.rijk@chello.nl>

	* plug-ins/imagemap/imap_toolbar.[ch]
	* plug-ins/imagemap/imap_tools.[ch]: removed

	* plug-ins/imagemap/Makefile.am
	* po-plug-ins/POTFILES.in: changed accordingly

	* plug-ins/imagemap/imap_grid.c
	* plug-ins/imagemap/imap_main.[ch]
	* plug-ins/imagemap/imap_menu.[ch]
	* plug-ins/imagemap/imap_misc.[ch]
	* plug-ins/imagemap/imap_object_popup.c
	* plug-ins/imagemap/imap_selection.c: more conversion to action based
	menus. Still have to attach some actions.
2005-01-23 11:21:01 +00:00
Sven Neumann e9eab5d8e0 libgimpbase/Makefile.am removed this file again.
2005-01-23  Sven Neumann  <sven@gimp.org>

	* libgimpbase/Makefile.am
	* libgimpbase/gimpbaseparams.[ch]: removed this file again.

	* libgimpbase/gimpmemsize.[ch]
	* libgimpbase/gimppath.[ch]
	* libgimpbase/gimpunit.[ch]: moved the paramspec definitions to
	the types they belong to.

	* libgimpbase/gimpbase.h: changed accordingly.

	* libgimpwidgets/Makefile.am (libgimpwidgetsinclude_HEADERS):
	install the new header files.
2005-01-23 02:09:41 +00:00
Sven Neumann dd9b16147f app/text/text-enums.h moved enum to libgimpbase (from app/text and
2005-01-23  Sven Neumann  <sven@gimp.org>

	* app/text/text-enums.h
	* libgimpbase/gimpbaseenums.h: moved enum to libgimpbase (from
	app/text and libgimp).

	* libgimp/gimpenums.h
	* libgimpbase/gimpbaseenums.c
	* tools/pdbgen/enums.pl: regenerated.

	* libgimpbase/gimpbase.def
	* libgimp/gimp.def: updated.
2005-01-23 00:58:22 +00:00
Sven Neumann a8b6e09091 set Ctrl-B as default shortcut to raise the Toolbox (as suggested in bug
2005-01-23  Sven Neumann  <sven@gimp.org>

	* app/actions/dialogs-actions.c (dialogs_actions): set Ctrl-B as
	default shortcut to raise the Toolbox (as suggested in bug #163368).
2005-01-23 00:16:58 +00:00
Sven Neumann 98f48f2c1e app/paint/paint-enums.h moved enums to libgimpbase (from app/paint and
2005-01-23  Sven Neumann  <sven@gimp.org>

	* app/paint/paint-enums.h
	* libgimpbase/gimpbaseenums.h: moved enums to libgimpbase (from
	app/paint and libgimp). The remaining enums in
	app/paint/paint-enums.h need special treatment.

	* app/paint/paint-enums.c:
	* libgimp/gimpenums.h
	* libgimpbase/gimpbaseenums.c
	* tools/pdbgen/enums.pl: regenerated.

	* libgimpbase/gimpbase.def
	* libgimp/gimp.def: updated.
2005-01-23 00:00:20 +00:00
Sven Neumann b9f7d4e7e1 app/plug-in/Makefile.am new file with enums moved from ...
2005-01-23  Sven Neumann  <sven@gimp.org>

	* app/plug-in/Makefile.am
	* app/plug-in/plug-in-enums.h: new file with enums moved from ...

	* app/plug-in/plug-in-types.h: ... here.

	* tools/pdbgen/Makefile.am (enum_headers): changed accordingly.
2005-01-22 23:49:56 +00:00
Sven Neumann 0aa9015522 app/core/core-enums.h moved enums to libgimpbase (from app/core and
2005-01-23  Sven Neumann  <sven@gimp.org>

	* app/core/core-enums.h
	* libgimpbase/gimpbaseenums.h: moved enums to libgimpbase (from
	app/core and libgimp). The remaining enums in app/core/core-enums.h
	need special treatment.

	* app/core/core-enums.c:
	* libgimp/gimpenums.h
	* libgimpbase/gimpbaseenums.c
	* tools/pdbgen/enums.pl: regenerated.

	* libgimpbase/gimpbase.def
	* libgimp/gimp.def: updated.
2005-01-22 23:38:36 +00:00
Sven Neumann bff64411fa app/base/base-enums.h moved GimpInterpolationType and GimpTransferMode to
2005-01-23  Sven Neumann  <sven@gimp.org>

	* app/base/base-enums.h
	* libgimpbase/gimpbaseenums.h: moved GimpInterpolationType and
	GimpTransferMode to libgimpbase (from core and libgimp). The
	remaining enums in app/base/base-enums.h need special treatment.

	* app/base/base-enums.c
	* libgimp/gimpenums.h
	* libgimpbase/gimpbaseenums.[ch]
	* tools/pdbgen/enums.pl: regenerated.

	* libgimpbase/gimpbase.def
	* libgimp/gimp.def: updated.
2005-01-22 23:06:37 +00:00
Sven Neumann 5c15a615d8 plug-ins/script-fu/script-fu-enums.h
2005-01-22  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-enums.h
	* plug-ins/script-fu/script-fu-interface.c
	* plug-ins/script-fu/script-fu-scripts.c
	* plug-ins/script-fu/script-fu-types.h
	* plug-ins/script-fu/siod-wrapper.c: added new script-fu
	parameter SF-ENUM that allows to easily create a combo-box to
	choose values from registered enums. For this to work correctly,
	another change is needed that I will commit separately.

	* plug-ins/script-fu/scripts/perspective-shadow.scm
	* plug-ins/script-fu/scripts/test-sphere.scm: use the new SF-ENUM
	parameter.
2005-01-22 22:46:24 +00:00
Sven Neumann 24786d2b73 added gimp_prop_expander_new().
2005-01-22  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimppropwidgets.[ch]: added gimp_prop_expander_new().

	* app/paint/gimppaintoptions.[ch]: added a property to track the
	state of the "Pressure sensitivity" expander.

	* app/tools/gimppaintoptions-gui.c: use gimp_prop_expander_new()
	to create the "Pressure sensitivity" expander.
2005-01-22 20:32:34 +00:00
Maurits Rijk 46e92b1ee9 plug-ins/imagemap/imap_file.c plug-ins/imagemap/imap_main.c
2005-01-22  Maurits Rijk  <m.rijk@chello.nl>

	* plug-ins/imagemap/imap_file.c
	* plug-ins/imagemap/imap_main.c
	* plug-ins/imagemap/imap_menu.c
	* plug-ins/imagemap/imap_menu_funcs.[ch]
	* plug-ins/imagemap/imap_misc.[ch]
	* plug-ins/imagemap/imap_object.[ch]
	* plug-ins/imagemap/imap_selection.c: cleaning up code, mostly
	replacing homebrewn stuff that is now in either GTK or one of the
	GIMP libs. More to come.
2005-01-22 20:25:00 +00:00
Sven Neumann 8b9a69255e include <stdio.h> for sscanf().
2005-01-22  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpselectiondata.c: include <stdio.h> for sscanf().
2005-01-22 20:20:21 +00:00
Sven Neumann 28d98ce978 update the preview (and thus the filesize) if the EXIF or thumbnail
2005-01-22  Sven Neumann  <sven@gimp.org>

	* plug-ins/jpeg/jpeg-save.c (save_dialog): update the preview (and
	thus the filesize) if the EXIF or thumbnail toggles are being used.
	Fixes bug #164914.
2005-01-22 15:46:04 +00:00
Sven Neumann 49e83adde0 fixed overwrite confirmation dialog (bug #164864).
2005-01-22  Sven Neumann  <sven@gimp.org>

	* plug-ins/imagemap/imap_file.c: fixed overwrite confirmation
	dialog (bug #164864).
2005-01-22 12:47:42 +00:00
Sven Neumann 03b1b91539 use GTK_STOCK_SAVE for the save dialog (bug #164864).
2005-01-22  Sven Neumann  <sven@gimp.org>

	* plug-ins/imagemap/imap_file.c (do_file_save_as_dialog): use
	GTK_STOCK_SAVE for the save dialog (bug #164864).
2005-01-22 02:49:46 +00:00
Manish Singh 1960d78cce #include gimpbase.h for declaration of gimp_param_spec_unit().
2005-01-21  Manish Singh  <yosh@gimp.org>

        * app/display/gimpdisplayshell.c: #include gimpbase.h for declaration
        of gimp_param_spec_unit().
2005-01-22 02:33:29 +00:00
Sven Neumann 4eaddbc7d3 added more gtk-doc comments.
2005-01-22  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpenumwidgets.c: added more gtk-doc comments.
2005-01-22 01:50:15 +00:00
Sven Neumann 16296bcb13 libgimpbase/gimpbase.def libgimpcolor/gimpcolor.def added new symbols.
2005-01-22  Sven Neumann  <sven@gimp.org>

	* libgimpbase/gimpbase.def
	* libgimpcolor/gimpcolor.def
	* libgimpmath/gimpmath.def: added new symbols.
2005-01-22 01:14:31 +00:00
Sven Neumann 03c95511cc same fix here.
2005-01-22  Sven Neumann  <sven@gimp.org>

	* libgimpbase/gimputils.c (gimp_enum_value_get_help): same fix here.
2005-01-22 01:06:52 +00:00
William Skaggs c9926ee18e Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/config/gimpconfig-types.c
	* app/config/gimpconfig-types.h: removed...

	* libgimpbase/gimpbasetypes.c
	* libgimpbase/gimpbasetypes.h: and contents merged
	into here.

	* app/config/gimpconfig-params.c: removed...

	* libgimpbase/gimpbaseparams.c
	* libgimpcolor/gimprgb.c
	* libgimpmath/gimpmatrix.c: and contents merged
	into here.

	* app/config/gimpconfig-params.h: part removed...

	* libgimpbase/gimpbaseparams.h
	* libgimpcolor/gimprgb.h
	* libgimpmath/gimpmatrix.h: and merged into here

	* libgimpbase/Makefile.am
	* libgimpbase/gimpbase.h
	* libgimpcolor/gimpbilinear.c
	* libgimpcolor/gimpcmyk.c
	* libgimpmath/gimpvector.c
	* app/config/Makefile.am
	* app/config/gimpconfig-deserialize.c
	* app/config/gimpconfig-dump.c
	* app/config/gimpconfig-serialize.c
	* app/config/gimpcoreconfig.c
	* app/config/gimpguiconfig.c
	* app/config/gimppluginconfig.c
	* app/core/gimp-utils.c
	* app/core/gimpcontext.c
	* app/tools/tools-utils.c
	* app/widgets/gimpaction.c
	* plug-ins/gimpressionist/utils.c: dependencies changed
	accordingly.

	First step in config migration out of core.  Need to fix
	devel-docs to reflect these changes.
2005-01-22 00:42:40 +00:00
Sven Neumann 180f9eb038 no point in crashing if gimp_enum_get_desc() returns NULL.
2005-01-22  Sven Neumann  <sven@gimp.org>

	* libgimpbase/gimputils.c (gimp_enum_value_get_desc): no point in
	crashing if gimp_enum_get_desc() returns NULL.

	* modules/cdisplay_colorblind.c
	* modules/cdisplay_proof.c: register enum descriptions, use
	GimpEnumComboBox.
2005-01-22 00:08:49 +00:00
Sven Neumann 5c6dae19dc improved docs.
2005-01-21  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimppreviewarea.c: improved docs.

2005-01-22  Sven Neumann  <sven@gimp.org>

	* app/app-docs.sgml
	* app/app-sections.txt
	* app/app.types
	* libgimpwidgets/libgimpwidgets-docs.sgml
	* libgimpwidgets/libgimpwidgets-sections.txt
	* libgimpwidgets/libgimpwidgets.types: GimpEnumStore and
	GimpEnumComboBox moved to libgimpwidgets.

	* libgimpwidgets/tmpl/gimpenumcombobox.sgml
	* libgimpwidgets/tmpl/gimpenumstore.sgml: new files.
2005-01-21 23:11:43 +00:00
Sven Neumann 3069695265 app/widgets/Makefile.am app/widgets/widgets-types.h
2005-01-21  Sven Neumann  <sven@gimp.org>

	* app/widgets/Makefile.am
	* app/widgets/widgets-types.h
	* app/widgets/gimpenumcombobox.[ch]
	* app/widgets/gimpenumstore.[ch]: moved GimpEnumStore and
	GimpEnumComboBox from here ...

	* libgimpwidgets/Makefile.am
	* libgimpwidgets/gimpwidgets.def
	* libgimpwidgets/gimpwidgets.h
	* libgimpwidgets/gimpwidgetstypes.h
	* libgimpwidgets/gimpenumcombobox.[ch]
	* libgimpwidgets/gimpenumstore.[ch]: ... to libgimpwidgets.

	* app/dialogs/convert-dialog.c
	* app/dialogs/scale-dialog.c
	* app/tools/gimpblendoptions.c
	* app/tools/gimpcurvestool.c
	* app/tools/gimplevelstool.c
	* app/widgets/gimpcolorframe.c
	* app/widgets/gimphistogrameditor.c
	* app/widgets/gimppropwidgets.c
	* app/widgets/gimpstrokeeditor.c
	* data/images/gimp-splash.png: changed includes accordingly.
2005-01-21 22:59:51 +00:00
Michael Natterer a17f8e56d0 new function as workaround for missing GTK+ API (see bug #141750).
2005-01-21  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpwidgets-utils.[ch] (gimp_action_get_accel_closure):
	new function as workaround for missing GTK+ API	(see bug #141750).

	* app/widgets/gimpactionview.[ch]: use the function instead of
	having this ugly hack here. Store the accel_closure instead of the
	hackish menu_item in the tree store. Removed cruft and cleaned up
	a bit.
2005-01-21 14:58:03 +00:00
Sven Neumann f6801672a8 applied a patch from Geert Jordaens that seems to fix drawable
2005-01-21  Sven Neumann  <sven@gimp.org>

        * app/core/gimpdrawable-transform.c: applied a patch from Geert
        Jordaens that seems to fix drawable transformation using the new
        Lanczos interpolation routine :)
2005-01-21 13:41:07 +00:00
Sven Neumann e0a6c25548 HACKING Makefile.am acinclude.m4 applied (modified) patch from Raphaël
2005-01-20  Sven Neumann  <sven@gimp.org>

	* HACKING
	* Makefile.am
	* acinclude.m4
	* autogen.sh: applied (modified) patch from Raphaël Quinet that
	allows to build GIMP from CVS without having gtk-doc installed.
	If you need to do this, pass --disable-gtk-doc to autogen.sh.

	* configure.in: removed --disable-devel-docs option since it has
	become obsolete now.

	* devel-docs/Makefile.am: require gtk-doc when running 'make dist'.
2005-01-20 18:21:41 +00:00
Sven Neumann ad0e39b62a applied patch from Geert Jordaens that improves results of the Lanczos
2005-01-20  Sven Neumann  <sven@gimp.org>

	* app/paint-funcs/scale-funcs.[ch]: applied patch from Geert
	Jordaens that improves results of the Lanczos interpolation
	routine.
2005-01-20 10:31:36 +00:00
Sven Neumann 49be4f79fa call gimp_image_flush() after setting the active component since this
2005-01-20  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpcomponenteditor.c
	(gimp_component_editor_button_press): call gimp_image_flush() after
	setting the active component since this might unselect the active
	channel. Fixes bug #164195.
2005-01-20 10:05:28 +00:00
Sven Neumann 2d3db58303 applied a patch from Geert Jordaens that fixes the crash in the drawable
2005-01-19  Sven Neumann  <sven@gimp.org>

	* app/core/gimpdrawable-transform.c: applied a patch from Geert
	Jordaens that fixes the crash in the drawable transformations
	using the Lanczos interpolation type. The result is somewhat wrong
	though :(
2005-01-19 10:22:19 +00:00
Manish Singh ca1f95c669 Adapted the code from the stable branch (based on a patch from Nils
2005-01-18  Manish Singh  <yosh@gimp.org>

        * plug-ins/jpeg/jpeg-save.[ch]: Adapted the code from the stable
        branch (based on a patch from Nils Philippsen) that makes sure that
        the EXIF thumbnail doesn't cause the EXIF data block to grow beyond
        its maximum size. Fixes bug #164087.
2005-01-19 01:40:26 +00:00
Sven Neumann 2750f94f28 don't use == to compare floating point values.
2005-01-19  Sven Neumann  <sven@gimp.org>

	* app/display/gimpscalecombobox.c (gimp_scale_combo_box_set_scale):
	don't use == to compare floating point values.
2005-01-18 23:30:37 +00:00
William Skaggs b139758f0b Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/common/bumpmap.c: make sure bumpmap_init_params()
	is called when necessary, fixes bug #162285.
2005-01-18 21:46:55 +00:00
Michael Natterer 7e5290a019 use gimp_config_writer_data() to write the parasite data because it's
2005-01-18  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpparasitelist.c (parasite_serialize): use
	gimp_config_writer_data() to write the parasite data because
	it's binary and can contain '\0'.

	(gimp_parasite_list_deserialize): use gimp_scanner_parse_data() to
	read it. Still accepts the old file format for backward
	compatibility. Fixes bug #163131.
2005-01-18 20:47:10 +00:00
Michael Natterer 5a2fb840a8 blink more correctly.
2005-01-18  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpdockable.c (gimp_dockable_expose_event): blink
	more correctly.
2005-01-18 20:03:11 +00:00
Carol Spears 1793c685a2 data/images/gimp-splash.png fixed a commit conflict.
2005-01-18  Carol Spears  <carol@gimp.org>

* data/images/gimp-splash.png fixed a commit conflict.
2005-01-18 18:57:02 +00:00
Carol Spears e6125e7853 data/images/gimp-splash.png a different splash for the developers branch.
2005-01-18  Carol Spears  <carol@gimp.org>

* data/images/gimp-splash.png a different splash for the developers branch.
2005-01-18 18:53:15 +00:00
William Skaggs 325b5df430 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* gimp/plug-ins/jpeg/gimpexif.c
	* gimp/plug-ins/jpeg/gimpexif.h: new files with prototype
	interface code for metadata system.

	* gimp/plug-ins/jpeg/Makefile.am
	* gimp/plug-ins/jpeg/jpeg-exif.c
	* gimp/plug-ins/jpeg/jpeg.c: adapted to metadata interface
	as described on gimp-dev mailing list.
2005-01-18 18:37:31 +00:00
William Skaggs 4f698cd30c Bill Skaggs <weskaggs@primate.ucdavis.edu>
* libgimpwidgets/gimpwidgets.c (gimp_coordinates_callback):
	Make sure last_x and last_y are set to values that match
	those returned by gimp_size_entry_get_refval(),
	fixes bug #163951.
2005-01-18 18:09:19 +00:00
William Skaggs c4d65e756d Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/dialogs/info-dialog.c: disconnect callbacks to prevent crash
	when destroying dialog, fixes bug #163617.
2005-01-18 17:57:10 +00:00
Michael Natterer 9f527b8255 added new function gimp_dockable_blink() which lets the dockable's
2005-01-18  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpdockable.[ch]: added new function
	gimp_dockable_blink() which lets the dockable's title_area blink.

	* app/widgets/gimpdialogfactory.c
	(gimp_dialog_factory_dialog_new_internal): let wilber blink at the
	user :) Fixes bug #164156.
2005-01-18 15:18:35 +00:00
Alexander Shopov 04ab032b9a Added Bulgarian translation
2005-01-18  Alexander Shopov  <ash@contact.bg>

	* bg.po: Added Bulgarian translation
2005-01-18 07:01:08 +00:00
William Skaggs 45c18b8a41 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/xjt/xjt.c: use gimp_temp_name instead of trying to
	create temp dir at loc of file, fixes bug #164116.
2005-01-17 20:26:14 +00:00
William Skaggs b622e0b110 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/common/spheredesigner.c: add basic validity check
	when attempting to open a preset; let's say this fixes
	bug #148984.
2005-01-17 20:17:22 +00:00
Michael Natterer 0429d04908 Allow to drop stuff onto empty layers, channels and paths dialogs to
2005-01-17  Michael Natterer  <mitch@gimp.org>

	Allow to drop stuff onto empty layers, channels and paths dialogs
	to create new items:

	* app/widgets/gimpcontainertreeview.h (struct GimpContainerTreeView):
	added "gboolean dnd_drop_to_empty".

	* app/widgets/gimpcontainertreeview-dnd.c: if "dnd_drop_to_empty"
	is TRUE, dispatch drops to empty views and to the empty area below
	all items.

	* app/widgets/gimpitemtreeview.c (gimp_item_tree_view_init): set
	"dnd_drop_to_empty" to TRUE.

	* app/widgets/gimpitemtreeview.c
	* app/widgets/gimpchanneltreeview.c
	* app/widgets/gimpdrawabletreeview.c
	* app/widgets/gimplayertreeview.c
	* app/widgets/gimpvectorstreeview.c: made all drop functions work
	with "dest_viewable" being NULL and changed drop_possible()
	implementations accordingly. Cleaned up the whole DND code a bit.

	* app/widgets/gimplayertreeview.c: removed color and pattern
	drop code...

	* app/widgets/gimpdrawabletreeview.c: and added it here so colors
	and patterns can be dropped to the channels dialog too.
2005-01-17 15:28:08 +00:00
Sven Neumann 33726d8644 added a toggle to control whether pressure affects opacity of the Airbrush
2005-01-16  Sven Neumann  <sven@gimp.org>

	* app/tools/gimppaintoptions-gui.c (pressure_options_gui): added a
	toggle to control whether pressure affects opacity of the Airbrush
	tool (bug #164237).
2005-01-16 17:46:07 +00:00
Sven Neumann 8f64b16538 app/config/gimpdisplayconfig.[ch] also list the default image title and
2005-01-16  Sven Neumann  <sven@gimp.org>

	* app/config/gimpdisplayconfig.[ch]
	* app/dialogs/preferences-dialog.c: also list the default image
	title and statusbar formats.
2005-01-16 12:05:52 +00:00
Sven Neumann f4f28a38e1 renamed default image title and statusbar format as suggested in bug
2005-01-16  Sven Neumann  <sven@gimp.org>

	* app/dialogs/preferences-dialog.c: renamed default image title
	and statusbar format as suggested in bug #150679.
2005-01-15 23:37:16 +00:00
Sven Neumann 12c7ac986d applied patch from Jan Heller that fixes broken expose event handling (bug
2005-01-16  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/curve_bend.c: applied patch from Jan Heller that
	fixes broken expose event handling (bug #164207).
2005-01-15 23:18:30 +00:00
Michael Natterer db89496a11 implement GimpItem::convert(). Handles any drawable, including conversion
2005-01-15  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpchannel.c: implement GimpItem::convert(). Handles
	any drawable, including conversion to GRAY, flattening and
	resizing.

	* app/widgets/gimpchanneltreeview.c: implement dropping of all
	kinds of drawables as new channels. Fixes bug #158133.

	Simplified component dropping by removing stuff which is done by
	gimp_item_convert() now.
2005-01-15 21:15:43 +00:00
Sven Neumann f7234cc616 app/core/gimpdrawable-transform.c minor cleanups to the new Lanczos
2005-01-15  Sven Neumann  <sven@gimp.org>

	* app/core/gimpdrawable-transform.c
	* app/paint-funcs/scale-funcs.c: minor cleanups to the new Lanczos
	interpolation routines. Drawable transformations do still crash :(
2005-01-15 20:46:21 +00:00
Michael Natterer 4c7e91011a added new function gimp_display_shell_dnd_init() which connects all DND
2005-01-15  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpdisplayshell-dnd.[ch]: added new function
	gimp_display_shell_dnd_init() which connects all DND callbacks.
	Made all DND callbacks static.

	* app/display/gimpdisplayshell.c (gimp_display_shell_init): call
	above function instead of connecting all DND callbacks here. Removed
	lots of now unused #includes.
2005-01-15 19:31:09 +00:00
Michael Natterer e5c0d8eb0e app/core/gimpitem.c app/core/gimpdrawable.c made GimpItem::scale() and
2005-01-15  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpitem.c
	* app/core/gimpdrawable.c
	* app/vectors/gimpvectors.c: made GimpItem::scale() and ::resize()
	work on unattached items.

	* app/widgets/gimplayertreeview.c
	(gimp_layer_tree_view_drop_component): fix drop index.

	* app/widgets/gimpchanneltreeview.c: implement dropping of
	components as new channels. Fixes bug #158483.
2005-01-15 19:17:11 +00:00
Michael Natterer 63c933aef7 added virtual function GimpContainerTreeView::drop_component(). Added EEKy
2005-01-15  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcontainertreeview.[ch]: added virtual function
	GimpContainerTreeView::drop_component(). Added EEKy "dnd_gimp"
	needed for gimp_selection_data_get_component().

	* app/widgets/gimpitemtreeview.c (gimp_item_tree_view_set_context):
	set the "dnd_gimp" pointer if it is NULL.

	* app/widgets/gimpcontainertreeview-dnd.c: handle component drops
	and dispatch ::drop_component() accordingly.

	* app/widgets/gimplayertreeview.c: implement dropping of
	components as new layers. Addresses bugs #158483 and #158133.
2005-01-15 17:57:32 +00:00
Michael Natterer 7f74bdc941 app/display/gimpdisplayshell.c app/display/gimpdisplayshell-dnd.[ch]
2005-01-15  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpdisplayshell.c
	* app/display/gimpdisplayshell-dnd.[ch]
	* app/widgets/gimptoolbox-dnd.c: enabled dropping of components
	to the display and the toolbox. Addresses bug #158483.
2005-01-15 17:17:33 +00:00
Michael Natterer d0a78f3bdb don't require a non-NULL color parameter (just leave the default color
2005-01-15  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpchannel.c (gimp_channel_new*): don't require a
	non-NULL color parameter (just leave the default color untouched
	if NULL is passed).

	* app/actions/channels-commands.c
	* app/core/gimpchannel-select.c: pass NULL as color for temporary
	channels or channels where we used to pass black.
2005-01-15 16:59:34 +00:00
Michael Natterer bfa7335635 added gimp_dnd_get_component_icon().
2005-01-15  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpdnd.c: added gimp_dnd_get_component_icon().

	* app/widgets/gimpcomponenteditor.c: allow to drag
	components. They can't be dropped anywhere yet.
2005-01-15 14:55:15 +00:00
Sven Neumann 022b3532f8 libgimp/gimptile.c (gimp_tile_put) added missing calls to wire_destroy().
2005-01-15  Sven Neumann  <sven@gimp.org>

	* libgimp/gimptile.c (gimp_tile_put)
	* libgimp/gimp.c (gimp_loop) (gimp_read_expect_msg): added missing
	calls to wire_destroy(). Plugs memory leaks in the wire protocol.
2005-01-15 12:09:25 +00:00
Sven Neumann c40f654fb9 formatting.
2005-01-15  Sven Neumann  <sven@gimp.org>

	* libgimpbase/gimpprotocol.c: formatting.
2005-01-15 11:55:34 +00:00
Sven Neumann 09a190f132 plug-ins/script-fu/script-fu-scripts.c (script_fu_free_script) plugged
2005-01-15  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-scripts.c (script_fu_free_script)
	* plug-ins/script-fu/siod-wrapper.c (init_procedures): plugged
	memory leaks.
2005-01-15 11:36:20 +00:00
Michael Natterer bb3a6002cf handle drops of items of all types from all images and convert them if
2005-01-15  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpitemtreeview.c
	(gimp_item_tree_view_drop_viewable): handle drops of items of all
	types from all images and convert them if needed.

	* app/widgets/gimplayertreeview.c: enable dropping of all kinds of
	drawables. Addresses bug #158133.
2005-01-15 03:24:42 +00:00
Michael Natterer 6dda0d82a6 reordered so COMPONENT is after IMAGE.
2005-01-15  Michael Natterer  <mitch@gimp.org>

	* app/widgets/widgets-enums.h (enum GimpDndType): reordered so
	COMPONENT is after IMAGE.

	* app/widgets/gimpdnd.[ch]
	* app/widgets/gimpselectiondata.[ch]: added API for passing
	components around via DND. Speaks in terms of a
	(GimpImage,GimpChannelType) tuple.
2005-01-15 02:24:38 +00:00
Sven Neumann eca7176e9c fixed array out-of-bounds access and some mem-leaks reported by valgrind.
2005-01-15  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/psd_save.c: fixed array out-of-bounds access and
	some mem-leaks reported by valgrind.
2005-01-15 01:33:52 +00:00
Michael Natterer 9c8c7401bd added bugfix note. 2005-01-15 00:53:42 +00:00
jaycox 2b6218a4ce Much less wasted memory. Save guides.
* plug-ins/common/psd_save.c: Much less wasted memory.  Save guides.
2005-01-15 00:38:46 +00:00
Michael Natterer 9e690da7e2 doesn't need "gimp-intl.h" either.
2005-01-14  Michael Natterer  <mitch@gimp.org>

	* app/paint/gimppaintcore-undo.c: doesn't need "gimp-intl.h" either.
2005-01-14 20:32:51 +00:00
Sven Neumann b9acc24be3 doesn't need to include "gimp-intl.h".
2005-01-14  Sven Neumann  <sven@gimp.org>

	* app/paint/gimpink-undo.c: doesn't need to include "gimp-intl.h".
2005-01-14 20:19:17 +00:00
Michael Natterer d4177c88ce added GIMP_UNDO_INK.
2005-01-14  Michael Natterer  <mitch@gimp.org>

	* app/core/core-enums.[ch] (enum GimpUndoType): added GIMP_UNDO_INK.

	* app/paint/gimppaintcore.[ch]: added virtual function
	GimpPaintCore::push_undo() and call it.

	* app/paint/gimppaintcore-undo.[ch]: made it the default
	implementation.

	* app/paint/gimpink-blob.[ch]: added blob_duplicate().

	* app/paint/gimpink.[ch]: added a "start_blob" (just like
	GimpPaintCore::start_coords) which gets set whenever we start a
	new stroke or line. Removed ink->lastx and ink->lasty because
	they are the same as paint_core->last_coords.

	* app/paint/Makefile.am
	* app/paint/gimpink-undo.[ch]: new files implementing an
	undo step for ink which restores the last blob used along
	with the whole ink state. Fixes bug #163670.
2005-01-14 20:13:54 +00:00
Michael Natterer e551a9a3c9 app/actions/buffers-commands.[ch] app/actions/data-commands.[ch]
2005-01-14  Michael Natterer  <mitch@gimp.org>

	* app/actions/buffers-commands.[ch]
	* app/actions/data-commands.[ch]
	* app/actions/documents-commands.[ch]
	* app/actions/palettes-commands.[ch]
	* app/actions/templates-commands.[ch]: changed the remaining
	callbacks to follow a consistent naming scheme
	(e.g. buffers_delete_buffer_cmd_callback ->
	buffers_delete_cmd_callback).

	* app/actions/brushes-actions.c
	* app/actions/buffers-actions.c
	* app/actions/documents-actions.c
	* app/actions/gradients-actions.c
	* app/actions/palettes-actions.c
	* app/actions/patterns-actions.c
	* app/actions/templates-actions.c: changed accordingly.
2005-01-14 13:30:05 +00:00
Sven Neumann 9a84d9f7ac fixed check for number of parameters in non-interactive mode.
2005-01-14  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/retinex.c (run): fixed check for number of
	parameters in non-interactive mode.
2005-01-14 12:05:02 +00:00
Manish Singh 9d9cb21c7c Add a Reset button. Addresses bug #163045.
2005-01-13  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/channel_mixer.c: Add a Reset button. Addresses
        bug #163045.
2005-01-14 01:46:56 +00:00
Sven Neumann 862b8da908 removed obscure error codes from translatable error messages.
2005-01-14  Sven Neumann  <sven@gimp.org>

	* plug-ins/bmp/bmpread.c: removed obscure error codes from
	translatable error messages.
2005-01-13 23:15:54 +00:00
William Skaggs c8b1dfd54d Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/Lighting/lighting_shade.c: remove artifacts
	when light strikes underside of bumpmapped surface;
	should fix bug #163877.
2005-01-13 23:04:10 +00:00
William Skaggs 15c4486298 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/bmp/bmp.h
	* plug-ins/bmp/bmpread.c: handle negative height values
	as per spec, fixes bug #158033
2005-01-13 22:00:32 +00:00
Michael Natterer 0f4e21683e Allow to easily open brushes and patterns as images. Fixes bug #163059.
2005-01-13  Michael Natterer  <mitch@gimp.org>

	Allow to easily open brushes and patterns as images.
	Fixes bug #163059.

	* app/actions/brushes-actions.c
	* app/actions/patterns-actions.c: added "brushes-open-as-image"
	and "patterns-open-as-image" actions.

	* app/actions/data-commands.[ch]: added
	data_open_as_image_cmd_callback() which tries to load
	data->filename as image.

	* app/widgets/gimphelp-ids.h: added help IDs for the new actions.

	* app/widgets/gimpdatafactoryview.c: added buttons.

	* menus/brushes-menu.xml
	* menus/patterns-menu.xml: added them to the menus.
2005-01-13 20:22:53 +00:00
Michael Natterer 4e942377e6 Splitting GimpItem::convert() into two virtual functions was apparently
2005-01-13  Michael Natterer  <mitch@gimp.org>

	Splitting GimpItem::convert() into two virtual functions was
	apparently buggy over-engineering. Reverted that stuff and
	implement item conversion much simpler:

	* app/core/gimpitem.[ch]: have a single virtual function,
	GimpItem::convert(), which takes a newly duplicated item and the
	destination image.

	(gimp_item_convert): simply call GimpItem::convert() on the result
	of gimp_item_duplicate().

	(gimp_item_real_convert): set the item's new image.

	* app/core/gimplayer.c (gimp_layer_convert)
	* app/vectors/gimpvectors.c (gimp_vectors_convert): changed
	accordingly and chain up after, not before doing our own stuff
	so the old image is still available as item->image for stuff
	like colormap conversion. Fixes bug #163879.
2005-01-13 18:17:24 +00:00
Michael Natterer 4f97f7a5f9 Made the file open and save dialogs use the last used folder instead of
2005-01-13  Michael Natterer  <mitch@gimp.org>

	Made the file open and save dialogs use the last used folder
	instead of defaulting to current directory. Fixes bug #162385.

	* app/widgets/gimpfiledialog.[ch] (gimp_file_dialog_set_uri):
	removed this function because it had no functionality except
	creating usability problems.

	* app/actions/file-commands.c: use gtk_file_chooser_set_uri()
	instead but *only* if we already have an uri from an alread open
	image or the document hinstory.

	* app/widgets/gimpfiledialog.c (gimp_file_dialog_set_image): set
	the file chooser's uri only if we have an uri from the image
	itself. Leave the current folder untouched otherwise and just set
	the current name (e.g. "Untitled").

	* app/dialogs/file-save-dialog.c (file_save_dialog_save_image): on
	successful save, remember the used uri by attaching it to the
	"gimp" instance.

	(file_save_dialog_new): set the last saved uri's folder on the
	newly created file save dialog.
2005-01-13 17:41:48 +00:00
Sven Neumann 857279479e app/units.c app/core/gimp-units.c app/core/gimp.c added a utility function
2005-01-13  Sven Neumann  <sven@gimp.org>

	* app/units.c
	* app/core/gimp-units.c
	* app/core/gimp.c
	* app/core/gimpunit.[ch]: added a utility function that frees the
	memory allocated for user units. Minor cleanups.
2005-01-13 13:08:00 +00:00
Sven Neumann c743f6dee9 fixed my email address 2005-01-13 09:56:55 +00:00
Sven Neumann f20c9e81a7 added mk (Macedonian).
2005-01-13  Sven Neumann  <neumann@jpk.com>

        * configure.in (ALL_LINGUAS): added mk (Macedonian).
2005-01-13 09:43:24 +00:00
Sven Neumann f430627282 app/pdb/drawable_transform_cmds.c libgimp/gimpenums.h
2005-01-11  Sven Neumann  <neumann@jpk.com>

	* app/pdb/drawable_transform_cmds.c
	* libgimp/gimpenums.h
	* plug-ins/pygimp/gimpenums.py
	* tools/pdbgen/enums.pl: regenerated after change of
	GimpInterpolationType enum.
2005-01-11 18:36:58 +00:00
Sven Neumann f3166ba9f9 app/base/base-enums.[ch] app/core/gimpdrawable-transform.c
2005-01-11  Sven Neumann  <neumann@jpk.com>

	* app/base/base-enums.[ch]
	* app/core/gimpdrawable-transform.c
	* app/core/gimpdrawable.c
	* app/paint-funcs/Makefile.am
	* app/paint-funcs/paint-funcs.[ch]
	* app/paint-funcs/scale-funcs.[ch]: applied patch by Geert Jordaens
	(after a good deal of reformatting for coding style compliance).
	This factors the scale routines into their own file and adds a
	sinc-based (Lanczos) interpolation routine (bug #162250).
2005-01-11 18:31:07 +00:00
Sven Neumann 6d728c3046 removed wrong URL from help output.
2005-01-11  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/siod/slib.c (help): removed wrong URL from
	help output.
2005-01-11 09:41:53 +00:00
Manish Singh 4f792ee092 #include <time.h> to make sure all the types are there for the alsa
2005-01-10  Manish Singh  <yosh@gimp.org>

        * modules/controller_midi.c: #include <time.h> to make sure all
        the types are there for the alsa headers. Should address bug
        #163593.
2005-01-10 21:34:11 +00:00
Sven Neumann f453be6b2f explicitely mention the encoding.
2005-01-10  Sven Neumann  <sven@gimp.org>

	* tools/pdbgen/pdb/text_tool.pdb: explicitely mention the encoding.

	* app/pdb/text_tool_cmds.c
	* libgimp/gimptexttool_pdb.c: regenerated.
2005-01-10 21:17:43 +00:00
David Odin 65c70b0f1f update the preview when a parameter change. Updating the preview is now
* plug-ins/common/sparkle.c: update the preview when a parameter
  change.  Updating the preview is now disabled by default since it can
  be very slow.
2005-01-10 21:13:50 +00:00
Sven Neumann 773345cb6d fixed out-of-bounds access in gradient selection widget. Presumably fixes
2005-01-09  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpgradientmenu.c: fixed out-of-bounds access in
	gradient selection widget. Presumably fixes bug #163427.
2005-01-09 20:15:24 +00:00
Sven Neumann fb73b3d786 changed "Key" to "Cursor".
2005-01-09  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpcontrollerkeyboard.c: changed "Key" to "Cursor".
2005-01-09 02:07:31 +00:00
David Odin 524394cd3f added a preview. This will need more testing. Shlomi Fish, can you please
* plug-ins/common/sparkle.c: added a preview. This will need more
  testing.  Shlomi Fish, can you please try to test this plug-in again?
2005-01-09 01:35:07 +00:00
Sven Neumann ae128ff635 connect to "button_press_event" and start editing immidiately instead of
2005-01-09  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpactionview.c (gimp_action_view_new): connect to
	"button_press_event" and start editing immidiately instead of
	waiting for a second click. Fixes bug #163385.
2005-01-09 01:29:30 +00:00
Sven Neumann f571ceebec if called with (ensure_visibility == TRUE), raise the toolbox. Fixes bug
2005-01-09  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpdialogfactory.c (gimp_dialog_factories_toggle):
	if called with (ensure_visibility == TRUE), raise the toolbox.
	Fixes bug #163381.
2005-01-09 00:08:42 +00:00
David Odin b7e646fc8f made the preview fast enough to be useful.
* plug-ins/common/mosaic.c: made the preview fast enough to be useful.
2005-01-08 17:17:19 +00:00
Sven Neumann c9f83a1326 really fix handling of RTL layouts (bug #162663).
2005-01-08  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpcontainertreeview.c
	(gimp_container_tree_view_find_click_cell): really fix handling of
	RTL layouts (bug #162663).
2005-01-08 16:52:44 +00:00
Sven Neumann 09bb9ebb1d fixed handling of clicks into a horizontally scrolled treeview.
2005-01-08  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpcontainertreeview.c
	(gimp_container_tree_view_button_press): fixed handling of clicks
	into a horizontally scrolled treeview.
2005-01-08 16:35:39 +00:00
Sven Neumann 32731ae0ea use a GimpMessageBox to display the informative message when scaling an
2005-01-08  Sven Neumann  <sven@gimp.org>

	* app/dialogs/scale-dialog.c: use a GimpMessageBox to display the
	informative message when scaling an indexed image.
2005-01-08 16:22:31 +00:00
Sven Neumann 9167346a5c handle RTL layouts (fixes bug #162663).
2005-01-07  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpcontainertreeview.c
	(gimp_container_tree_view_button_press): handle RTL layouts (fixes
	bug #162663).
2005-01-07 21:46:04 +00:00
Shlomi Fish 48d6f68c02 made sure the shadow is given enough space and then truncated instead of
2005-01-07  Shlomi Fish  <shlomif@iglu.org.il>

	* plug-ins/script-fu/scripts/frosty-logo.scm: made sure the shadow
	is given enough space and then truncated instead of translated to the
	center of the image, thus preventing the display of shadows with
	a completely horizontal or vertical edge.

	Fixes bug #132145.
2005-01-07 20:47:03 +00:00
Michael Natterer 2cd34bf12d moved variables to local scopes, assign the snapped coords unconditionally
2005-01-07  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpimage-snap.c: moved variables to local scopes,
	assign the snapped coords unconditionally (also if we don't snap),
	cleanup.

	(gimp_image_snap_rectangle): entirely rewritten to use local
	mindist_x, mindist_y variables instead of fiddling with lots of
	boolean variables. Implemented vectors snapping as if the required
	GimpStroke functions existed (#defined them). Simon, your turn :)
2005-01-07 19:50:01 +00:00
Michael Natterer 35776754dd app/actions/plug-in-commands.c GIMP_PROGRESS(NULL) is perfectly valid, no
2005-01-07  Michael Natterer  <mitch@gimp.org>

	* app/actions/plug-in-commands.c
	* app/actions/vectors-commands.c: GIMP_PROGRESS(NULL) is perfectly
	valid, no need to say gdisp ? GIMP_PROGRESS(gdisp) : NULL.

	* app/actions/plug-in-commands.c (plug_in_run_cmd_callback):
	remember the last plug-in if it has at least 3 args, not 2.
	Cleaned up the whole function and removed cruft.
2005-01-07 19:36:43 +00:00
Sven Neumann 829fc5a061 app/composite/gimp-composite-x86.h applied patch from Andreas Jochens that
2005-01-07  Sven Neumann  <sven@gimp.org>

	* app/composite/gimp-composite-x86.h
	* app/composite/gimp-composite-sse.c: applied patch from Andreas
	Jochens that fixes the build on amd64 with gcc-4.0 (bug #163041).
2005-01-07 12:23:44 +00:00
Sven Neumann 89e291685d fixed my email address 2005-01-07 11:47:38 +00:00
Sven Neumann a99c35c785 changed Comment field as suggested in bug #160990.
2005-01-07  Sven Neumann  <neumann@jpk.com>

	* data/misc/gimp.desktop.in.in: changed Comment field as suggested
	in bug #160990.
2005-01-07 11:46:28 +00:00
Sven Neumann 65fff0d0a5 just some minor formatting changes.
2005-01-07  Sven Neumann  <neumann@jpk.com>

	* plug-ins/common/mail.c: just some minor formatting changes.
2005-01-07 08:56:10 +00:00
Sven Neumann adabbad909 plug-ins/jpeg/Makefile.am plug-ins/jpeg/jpeg-exif.c
2005-01-07  Sven Neumann  <sven@gimp.org>

	* plug-ins/jpeg/Makefile.am
	* plug-ins/jpeg/jpeg-exif.c
	* plug-ins/jpeg/jpeg-load.c
	* plug-ins/jpeg/jpeg-save.c
	* plug-ins/jpeg/jpeg.[ch]: some code cleanup.
2005-01-06 23:21:43 +00:00
Manish Singh 59399ad10e flush the display in dispose if we're no longer in a main loop, so the
2005-01-06  Manish Singh  <yosh@gimp.org>

        * libgimpwidgets/gimpdialog.c: flush the display in dispose if we're
        no longer in a main loop, so the dialog doesn't hang around while
        possibly long running calculations are being done. Fixes bug #163084.
2005-01-06 22:19:35 +00:00
Michael Schumacher 4bc5b20edd added gimp_scrolled_preview_set_position
2005-01-06  Michael Schumacher <schumaml@cvs.gnome.org>

	* libgimpwidgets/gimpwidgets.def: added
	gimp_scrolled_preview_set_position
2005-01-06 15:29:19 +00:00
Sven Neumann 3b6eae4e27 applied patch from Shlomi Fish that fixes more regressions in Sparkle
2005-01-06  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/sparkle.c: applied patch from Shlomi Fish that
	fixes more regressions in Sparkle plug-in (bug #132145).
2005-01-06 15:14:26 +00:00
David Odin d9e414fd8d new function: gimp_scrolled_preview_set_position () to set the position of
* libgimpwidgets/gimpscrolledpreview.[ch]: new function:
  gimp_scrolled_preview_set_position () to set the position of the
  preview content wrt the drawable.  This function might be moved to a
  virtual function of GimpPreview in a near future.

* libgimp/gimpdrawablepreview.c: use this function, so a preview
  remembers its position from one invocation to the next.  This is done
  using the current executable name as a key for gimp_set/get_data () so
  each plug-in can have its preview on a different place.

  More informations could be saved this way: the update toggle, the checks, etc.

  Addresses bug #162286.

* libgimpwidgets/gimppreview.c: smallish cleanup.
2005-01-05 22:33:44 +00:00
William Skaggs bd895a1131 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* configure.in: add check for libexif version >= 0.6.0,
	necessary because of nasty incompatible api change.

	* plug-ins/jpeg/exif-handling.txt: removed from here...

	* devel-docs/exif-handling.txt: ...and added here

	* plug-ins/jpeg/jpeg-exif.c
	* plug-ins/jpeg/Makefile.am
	* plug-ins/jpeg/jpeg-load.c
	* plug-ins/jpeg/jpeg.c
	* plug-ins/jpeg/jpeg.h: extract info from exif on loading,
	and add info to exif on saving, addresses bug #56433,
	bug #61499, and bug #121810.
2005-01-04 17:48:13 +00:00
Sven Neumann a6ac8d2480 set the default response to Cancel in order to reduce the risk of
2005-01-04  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell-close.c
	(gimp_display_shell_close_dialog): set the default response to
	Cancel in order to reduce the risk of accidentally saving an
	image (bug #162872).
2005-01-04 00:14:06 +00:00
Sven Neumann a1818adf0f prepared code for fixing bug #162663.
2005-01-04  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpcontainertreeview.c: prepared code for fixing
	bug #162663.
2005-01-03 23:47:26 +00:00
David Odin 013a7a437c invalidate the preview when a parameter change. Disabled updating the
* plug-ins/common/mosaic.c: invalidate the preview when a parameter
  change.  Disabled updating the preview by default. There is room
  optimisations, but this fixes #162710.
2005-01-03 21:39:13 +00:00
Sven Neumann 4d1396596d made the code look more similar to GtkCellRendererToggle to allow for easy
2005-01-03  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpcellrenderertoggle.c
	(gimp_cell_renderer_toggle_get_size): made the code look more
	similar to GtkCellRendererToggle to allow for easy comparison.
2005-01-03 21:26:26 +00:00
Sven Neumann c314eef7e5 do actually add the new procedure gimp_gradient_is_editable().
2005-01-03  Sven Neumann  <neumann@jpk.com>

	* tools/pdbgen/pdb/gradient.pdb: do actually add the new procedure
	gimp_gradient_is_editable().

	* app/pdb/gradient_cmds.c
	* app/pdb/internal_procs.c
	* libgimp/gimpgradient_pdb.[ch]: regenerated.

	* libgimp/gimp.def: updated.
2005-01-03 17:58:25 +00:00
Michael Natterer 4a0b9cb662 app/actions/view-actions.c app/actions/view-commands.[ch]
2005-01-03  Michael Natterer  <mitch@gimp.org>

	* app/actions/view-actions.c
	* app/actions/view-commands.[ch]
	* app/display/gimpdisplayshell-appearance.[ch]
	* menus/image-menu.xml.in: reordered actions, functions and menu
	items so the "show" and "snap" actions are grouped.
2005-01-03 16:55:24 +00:00
Michael Natterer 150bea1e80 Implemented "Snap to Canvas Edges" (fixes bug #152971) and "Snap to Active
2005-01-03  Michael Natterer  <mitch@gimp.org>

	Implemented "Snap to Canvas Edges" (fixes bug #152971) and
	"Snap to Active Path" (half way done):

	* app/core/gimpimage-snap.[ch]: added boolean snap_to_canvas and
	snap_to_vectors parameters (snap_to_vectors works fine when
	snapping to a point, but is unimplemented for snapping to a
	rectangle).

	* app/display/gimpdisplayshell.[ch] (struct GimpDisplayShell):
	added snap_to_canvas and snap_to_vectors booleans.

	* app/display/gimpdisplayshell-appearance.[ch]: added API to
	get/set them.

	* app/actions/view-actions.c
	* app/actions/view-commands.[ch]
	* app/widgets/gimphelp-ids.h: added actions, callbacks and help IDs.

	* menus/image-menu.xml.in: added them to Image->View.
2005-01-03 16:19:10 +00:00
Sven Neumann 28251be0e9 use g_free() to release memory allocated using g_malloc().
2005-01-03  Sven Neumann  <neumann@jpk.com>

	* plug-ins/ifscompose/ifscompose.c: use g_free() to release memory
	allocated using g_malloc().
2005-01-03 15:40:51 +00:00
Michael Natterer 8e1a10737b need to snap the coordinates before passing them to the active tool.
2005-01-03  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpdisplayshell-autoscroll.c
	(gimp_display_shell_autoscroll_timeout): need to snap the
	coordinates before passing them to the active tool.
2005-01-03 15:00:55 +00:00
Sven Neumann 919ae7f5cb removed GtkFrame from dialog and replaced a call to free() by g_free().
2005-01-03  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/fp.c: removed GtkFrame from dialog and replaced
	a call to free() by g_free().
2005-01-03 13:22:44 +00:00
Michael Natterer fcc856868f app/paint/gimpbrushcore.c app/paint/gimppaintoptions.[ch] renamed
2005-01-03  Michael Natterer  <mitch@gimp.org>

	* app/paint/gimpbrushcore.c
	* app/paint/gimppaintoptions.[ch]
	* app/tools/gimppaintoptions-gui.c: renamed "invsize" to
	"inverse-size" and reordered it to be after "size".
2005-01-03 12:08:56 +00:00
Sven Neumann 71962f47a8 another update from Eric Pierce.
2005-01-03  Sven Neumann  <sven@gimp.org>

	* etc/ps-menurc: another update from Eric Pierce.
2005-01-02 23:14:14 +00:00
Sven Neumann 4e3026c637 handle event time as guint32. That's the type we deal with here and it
2005-01-03  Sven Neumann  <sven@gimp.org>

	* app/paint/gimpink.[ch]: handle event time as guint32. That's the
	type we deal with here and it avoids a crash that occured when
	autoscrolling with the Ink tool.

	* app/display/gimpdisplayshell-autoscroll.c: cosmetics.
2005-01-02 23:09:54 +00:00
Michael Natterer aef1cf9306 app/display/Makefile.am app/display/gimpdisplayshell-autoscroll.[ch] new
2005-01-02  Michael Natterer  <mitch@gimp.org>

	* app/display/Makefile.am
	* app/display/gimpdisplayshell-autoscroll.[ch]
	* app/display/gimpdisplayshell-coords.[ch]: new files factored out
	of gimpdisplayshell-callbacks.c

	* app/display/gimpdisplayshell.h (struct GimpDisplayShell): added
	"gpointer scroll_info" needed by autoscroll.

	* app/display/gimpdisplayshell-callbacks.c: removed the stuff
	above. Also removed the static autoscroll struct because it's not
	needed any longer.
2005-01-02 20:42:31 +00:00
David Odin 9ecaa8f22c Added a preview. This still needs some work and some testing. Calculating
* plug-ins/common/mosaic.c: Added a preview.  This still needs some
  work and some testing.  Calculating the preview takes ages.
2005-01-02 20:23:13 +00:00
William Skaggs 05015d7bbf Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/jpeg/exif-handling.txt:  added summary of how Gimp should
	handle each exif field according to the specs.
2005-01-02 18:19:53 +00:00
Sven Neumann 23a3bdf31e app/widgets/gimpsizebox.c round displayed resolution instead of just
2005-01-02  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpsizebox.c
	* app/widgets/gimptemplateeditor.c: round displayed resolution
	instead of just casting to integer values. Use image size limits
	from libgimpbase/gimplimits.h instead of some arbitrary numbers.
2005-01-02 16:55:50 +00:00
Manish Singh c84a37cdc0 ytpo fix 2005-01-02 09:07:18 +00:00
Manish Singh 9a303fd101 plug-ins/pygimp/plug-ins/clothify.py Add layers to images before using
2005-01-02  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/plug-ins/clothify.py
        * plug-ins/pygimp/plug-ins/foggify.py: Add layers to images before
        using then. Fixes bug #162707.
2005-01-02 09:05:31 +00:00
Maurits Rijk f7fa12f7d0 bumped version number
2005-01-02  Maurits Rijk  <m.rijk@chello.nl>

	* plug-ins/imagemap/imap_about.c: bumped version number

	* plug-ins/imagemap/AUTHORS
	* plug-ins/imagemap/NEWS
	* plug-ins/imagemap/README
	* plug-ins/imagemap/TODO: removed since they don't contain relevant
	information anymore.

	* plug-ins/imagemap/imap_popup.[ch]: removed

	* plug-ins/imagemap/Makefile.am
	* po-plug-ins/POTFILES.in: changed accordingly

	* plug-ins/imagemap/imap_grid.c
	* plug-ins/imagemap/imap_main.[ch]
	* plug-ins/imagemap/imap_menu.[ch]
	* plug-ins/imagemap/imap_object_popup.c
	* plug-ins/imagemap/imap_preview.c
	* plug-ins/imagemap/imap_toolbar.[ch]
	* plug-ins/imagemap/imap_tools.[ch]: first set of changes to fix
	#138841 (Use action based menus in Imagemap plug-in).
2005-01-02 08:07:03 +00:00
Sven Neumann 9dc239a433 fixed display of progress labels in RTL environment.
2005-01-02  Sven Neumann  <sven@gimp.org>

	* app/gui/splash.c (splash_update): fixed display of progress
	labels in RTL environment.
2005-01-02 03:32:10 +00:00
Sven Neumann 4e6961723c updated PS keybindings contributed by Eric Pierce.
2005-01-02  Sven Neumann  <sven@gimp.org>

	* etc/ps-menurc: updated PS keybindings contributed by Eric Pierce.
2005-01-02 02:30:41 +00:00
Sven Neumann 8511b4c226 fixed position of pixel and resolution labels.
2005-01-02  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpsizebox.c (gimp_size_box_constructor): fixed
	position of pixel and resolution labels.
2005-01-02 02:07:46 +00:00
Sven Neumann 3e1be87099 fixed auto-scrolling for left and bottom display edges. Remove the timeout
2005-01-02  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell-callbacks.c: fixed auto-scrolling
	for left and bottom display edges. Remove the timeout on
	button-release event, some minor cleanups.
2005-01-02 01:27:16 +00:00
William Skaggs ffcdc61e7d Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/jpeg/jpeg_load.c
	* plug-ins/jpeg/jpeg_load.h
	* plug-ins/jpeg/jpeg_save.c
	* plug-ins/jpeg/jpeg_save.h: removed

	* plug-ins/jpeg/jpeg-load.c
	* plug-ins/jpeg/jpeg-load.h
	* plug-ins/jpeg/jpeg-save.c
	* plug-ins/jpeg/jpeg-save.h: added (changing _ to -)

	* plug-ins/jpeg/Makefile.am
	* plug-ins/jpeg/jpeg.c
	* po-plug-ins/POTFILES.in: changed accordingly
2005-01-02 00:58:26 +00:00
Sven Neumann 7039edf4a4 applied patch from Shlomi Fish that fixes regressions in Sparkle plug-in
2005-01-02  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/sparkle.c: applied patch from Shlomi Fish that
	fixes regressions in Sparkle plug-in (bug #132145).
2005-01-02 00:44:02 +00:00
Sven Neumann ebdbc9a6ff changed for move of JPEG plug-in.
2005-01-02  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/plugin-defs.pl: changed for move of JPEG plug-in.
2005-01-02 00:32:20 +00:00
William Skaggs f5b5bfb388 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/Lighting/lighting_ui.c: add a control for
	viewpoint distance.  Should finish fixing bug #4044.
2005-01-02 00:01:20 +00:00
William Skaggs 1a18bdd23b Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/jpeg/Makefile.am
	* plug-ins/jpeg/NEWS
	* plug-ins/jpeg/jpeg.c
	* plug-ins/jpeg/jpeg.h
	* plug-ins/jpeg/jpeg_load.c
	* plug-ins/jpeg/jpeg_load.h
	* plug-ins/jpeg/jpeg_save.c
	* plug-ins/jpeg/jpeg_save.h: moved jpeg code into new
	dir and split up, already too large and a good bit more
	will be needed for proper exif handling.

	* plug-ins/common/jpeg.c: removed

	* configure.in
	* plug-ins/Makefile.am
	* plug-ins/common/Makefile.am: changed accordingly
2005-01-01 22:36:06 +00:00
Manish Singh a52204ed34 Revert incorrect optimization from previous change.
2005-01-01  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/tiff.c: Revert incorrect optimization from previous
        change.
2005-01-01 21:11:08 +00:00
William Skaggs 79726aedec Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/common/gradmap.c: added procedure plug_in_palettemap
	that does the same thing as gradmap except using the current
	palette; should resolve bug #68879.
2005-01-01 19:31:03 +00:00
Manish Singh 304199263e Special case 1-bit black & white indexed images to save out as 1-bit
2005-01-02  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/tiff.c: Special case 1-bit black & white indexed
        images to save out as 1-bit grayscale MINISWHITE tiffs. Also load
        these images as indexed images into GIMP. Fixes bug #150865.
2005-01-01 19:13:38 +00:00
William Skaggs 398f47529d Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/display/gimpdisplayshell-callbacks.c: use a timeout for
	autoscrolling, to fix bug #8269.  Happy new year!
2005-01-01 17:58:56 +00:00
William Skaggs 7a3eee51f0 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/paint/gimpbrushcore.c
	* app/paint/gimppaintoptions.c
	* app/paint/gimppaintoptions.h
	* app/tools/gimppaintoptions-gui.c: reverted last change, and
	applied full patch from Dave Ahlswede in bug #149576.
2005-01-01 00:04:37 +00:00
William Skaggs 8a651f34df Bill Skaggs <weskaggs@primate.ucdavis.edu>
* tools/pdbgen/pdb/gradient.pdb: added gradient-is-editable

	* tools/pdbgen/pdb/brush.pdb
	* tools/pdbgen/pdb/palette.pdb: changed mitch_misc to bill_misc
	where correct.

	* app/pdb/brush_cmds.c
	* app/pdb/palette_cmds.c
	* libgimp/gimpbrush_pdb.c
	* libgimp/gimppalette_pdb.c: regenerated.
2004-12-31 19:48:29 +00:00
William Skaggs b9a8adfdae Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/paint/gimpbrushcore.c: make previously committed change
	in pressure-size relationship apply only to airbrush, as
	intended.
2004-12-31 18:52:28 +00:00
Michael Natterer da3c78d5e6 use the orininal string if plug_in_actions_check_translation() fails
2004-12-31  Michael Natterer  <mitch@gimp.org>

	* app/actions/plug-in-actions.c: use the orininal string if
	plug_in_actions_check_translation() fails instead of bailing out.
	Fixes bug #162590.
2004-12-31 18:17:57 +00:00
Michael Natterer e5feab6519 removed the just added gimp_palette_insert_entry() and added a "gint
2004-12-31  Michael Natterer  <mitch@gimp.org>

	* app/core/gimppalette.[ch]: removed the just added
	gimp_palette_insert_entry() and added a "gint position" parameter
	to gimp_palette_add_entry() instead (no need to have two almost
	identical functions).

	* app/actions/palette-editor-commands.c
	* app/core/gimppalette-import.c
	* app/widgets/gimppaletteeditor.c
	* tools/pdbgen/pdb/palette.pdb: changed accordingly.

	* app/pdb/palette_cmds.c: regenerated.
2004-12-31 17:27:57 +00:00
Michael Natterer c1ddf3ea45 use the coordinates passed in the color drop callback instead of
2004-12-31  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpfgbgeditor.[ch]: use the coordinates passed in
	the color drop callback instead of remembering them in the
	drag_motion handler.
2004-12-31 16:53:22 +00:00
Sven Neumann 515482fc20 fixed rounding so that all brush kernels are created with a constant sum
2004-12-31  Sven Neumann  <sven@gimp.org>

	* tools/kernelgen.c: fixed rounding so that all brush kernels are
	created with a constant sum of 256.

	* app/paint/gimpbrushcore-kernels.h: regenerated.

	* app/paint/gimpbrushcore.c (gimp_brush_core_subsample_mask): use
	the constant defined un app/paint/gimpbrushcore-kernels.h. Should
	give a tiny speedup.
2004-12-31 16:20:51 +00:00
William Skaggs b650df0c8e Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/paint/gimpbrushcore.c: invert dependence of brush size on pressure,
	using formula from Dave Ahlswede in bug #149576.
2004-12-31 15:43:58 +00:00
Michael Natterer e0f25134ca Applied modified patch from Ben Campbell which adds drop coordinates to
2004-12-31  Michael Natterer  <mitch@gimp.org>

	Applied modified patch from Ben Campbell which adds drop
	coordinates to the color drop callback and uses it to insert
	colors in the palette editor. Extended the patch to add drop
	coordinates to all drop callbacks.

	* app/core/gimppalette.[ch]: added gimp_palette_insert_entry().

	* app/display/gimpdisplayshell-dnd.[ch]: added drop coordinates
	to all drop callbacks.

	* app/dialogs/palette-import-dialog.c
	* app/widgets/gimpcolormapeditor.c
	* app/widgets/gimpcontainerview.c
	* app/widgets/gimpdnd.[ch]
	* app/widgets/gimpdrawabletreeview.c
	* app/widgets/gimpfgbgeditor.c
	* app/widgets/gimpgradienteditor.c
	* app/widgets/gimpitemtreeview.c
	* app/widgets/gimppaletteeditor.c
	* app/widgets/gimppropwidgets.c
	* app/widgets/gimpselectioneditor.c
	* app/widgets/gimptoolbox-dnd.c
	* app/widgets/gimptoolbox-image-area.c
	* app/widgets/gimptoolbox-indicator-area.c
	* app/widgets/gimptooloptionseditor.c
	* libgimpwidgets/gimpcolorselect.c: changed accordingly. The passed
	drop coordiantes are so far unused.

	* app/widgets/gimppaletteeditor.c: use the drop coordinates to
	insert the new color into the palette at the right place instead
	of always appending. Fixes bug #150030.
2004-12-31 14:36:30 +00:00
Michael Natterer 8439ecb6da app/actions/tools-actions.c app/actions/tools-commands.[ch] applied a
2004-12-31  Michael Natterer  <mitch@gimp.org>

	* app/actions/tools-actions.c
	* app/actions/tools-commands.[ch]
	* app/widgets/gimptoolview.[ch]: applied a (modified) patch from
	Joao S. O. Bueno which adds "raise" and "lower" actions and
	their buttons in the tool dialog. Fixes bug #158666.
	Cleaned up the tool action callbacks.
2004-12-31 13:29:39 +00:00
Sven Neumann 4df339c091 use the proper image type and rowstride. Fixes bug #162592.
2004-12-31  Sven Neumann  <sven@gimp.org>

	* plug-ins/imagemap/imap_preview.c (render_rgb_image): use the proper
	image type and rowstride. Fixes bug #162592.
2004-12-31 02:42:10 +00:00
Manish Singh 03cef22080 Oop, forgot changelog 2004-12-31 00:39:35 +00:00
William Skaggs 129c953b6f Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/widgets/gimpsizebox.c: give correct arguments to
	gimp_coordinates_new().  Fixes problem described in
	comment 6 of bug #162387.
2004-12-31 00:27:35 +00:00
Sven Neumann c30a919b68 bumped gimp_app_version and gimp_user_version to 2.3.
2004-12-31  Sven Neumann  <sven@gimp.org>

	* configure.in: bumped gimp_app_version and gimp_user_version to 2.3.
2004-12-31 00:22:34 +00:00
William Skaggs 610b26c2f4 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* tools/pdbgen/pdb/brush.pdb: added api for changing properties
	of generated brushes.

	* tools/pdbgen/pdb/palette.pdb: added palette_is_editable().

	* app/pdb/brush_cmds.c
	* app/pdb/internal_procs.c
	* app/pdb/palette_cmds.c
	* libgimp/gimpbrush_pdb.c
	* libgimp/gimpbrush_pdb.h
	* libgimp/gimppalette_pdb.c
	* libgimp/gimppalette_pdb.h: autogenerated.
2004-12-30 23:28:38 +00:00
Sven Neumann 610ea3091a bumped version to 2.3.0.
2004-12-29  Sven Neumann  <sven@gimp.org>

	* configure.in: bumped version to 2.3.0.
2004-12-29 14:56:43 +00:00
Sven Neumann b5f0facec3 handle a NULL return value from gtk_file_chooser_get_uri(). Fixes bug
2004-12-29  Sven Neumann  <sven@gimp.org>

	* app/dialogs/file-save-dialog.c (file_save_dialog_response):
	handle a NULL return value from gtk_file_chooser_get_uri(). Fixes
	bug #162443.
2004-12-29 14:17:43 +00:00
Maurits Rijk 0358e3814b replace home-brewn color selection by GimpColorButton.
2004-12-29  Maurits Rijk  <m.rijk@chello.nl>

	* plug-ins/imagemap/imap_preferences.[ch]: replace home-brewn color
	selection by GimpColorButton.
2004-12-29 13:04:42 +00:00
David Odin ed4dbde140 plug-ins/gfig/gfig-rectangle.[ch] news files to implement a rectangle tool
* plug-ins/gfig/gfig-rectangle.[ch]
* plug-ins/gfig/images/stock-rectangle.png: news files to implement a
  rectangle tool to gfig.

* plug-ins/gfig/gfig-stock.c
* plug-ins/gfig/gfig-stock.h
* plug-ins/gfig/Makefile.am: modified accordingly.

* plug-ins/gfig/gfig-circle.c
* plug-ins/gfig/gfig-dialog.c
* plug-ins/gfig/gfig-dobject.c
* plug-ins/gfig/gfig-ellipse.c
* plug-ins/gfig/gfig-poly.c
* plug-ins/gfig/gfig-star.c
* plug-ins/gfig/gfig-types.h
* plug-ins/gfig/gfig.c
* plug-ins/gfig/gfig.h: modified to support the new shape and
  implement two new filling types: vertical and horizontal gradients.
  These gradients are imho much more useful than the shapeburst one.
2004-12-29 01:16:20 +00:00
William Skaggs bc9bc06510 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/common/compose.c: Recompose did not properly
	handle case where layer with alpha is decomposed into
	something that does not encode alpha -- now does.
2004-12-29 01:05:14 +00:00
Michael Natterer a46c649956 new utility function instead of code duplication.
2004-12-28  Michael Natterer  <mitch@gimp.org>

	* app/core/gimp-edit.c (gimp_edit_set_buffer): new utility
	function instead of code duplication.
2004-12-28 22:42:04 +00:00
Michael Natterer ab79fa6059 added translatable strings to the GimpLayerModeEffects enum because they
2004-12-28  Michael Natterer  <mitch@gimp.org>

	* app/base/base-enums.[ch]: added translatable strings to the
	GimpLayerModeEffects enum because they will soon disappear from
	widgets/gimpwidgets-constructors.c
2004-12-28 22:07:29 +00:00
William Skaggs 1472c92a05 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/common/compose.c: add "Recompose" (plug_in_recompose)
	as described on dev mailing list.

	* plug-ins/common/decompose.c: add "decompose-data" parasite
	when decoposing, to support Recompose.  Also add missing
	alpha channels to newly produced layers
2004-12-28 21:15:45 +00:00
Sven Neumann 70d570d000 Made 2.2.1 release.
2004-12-28  Sven Neumann  <sven@gimp.org>

        * Made 2.2.1 release.
2004-12-28 16:10:38 +00:00
Sven Neumann 4d27239a9c renamed menu_path parameter to menu_label and added a pointer to
2004-12-28  Sven Neumann  <sven@gimp.org>

	* libgimp/gimp.[ch] (gimp_install_procedure, gimp_install_temp_proc):
	renamed menu_path parameter to menu_label and added a pointer to
	gimp_plugin_menu_register()

	* app/widgets/gimpsizebox.c (gimp_size_box_constructor): removed
	unused variables.
2004-12-28 15:21:16 +00:00
Sven Neumann 7544ed7605 reverted Bill's change since it is obviously not the right fix. Allocate
2004-12-28  Sven Neumann  <sven@gimp.org>

	* app/paint/gimpbrushcore.c (gimp_brush_core_subsample_mask):
	reverted Bill's change since it is obviously not the right fix.
	Allocate the array larger to avoid the crash. We need to
	investigate bug #161323 further.
2004-12-28 14:20:26 +00:00
Sven Neumann 19a39a1234 fixed spelling of Robert's name 2004-12-28 13:10:20 +00:00
William Skaggs 201e23cf7f Change spelling of name from 'Robert Ogren' to 'Robert Egren' in ChangeLog :-). 2004-12-27 19:56:52 +00:00
William Skaggs 5c80016c50 Forgot to give proper credit in ChangeLog entry in previous commit. 2004-12-27 19:50:59 +00:00
William Skaggs 551b11f9b2 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/paint/gimpbrushcore.c (gimp_brush_core_subsample_mask):
	don't set array outside its bounds.  Should fix bug #161323.
2004-12-27 19:46:17 +00:00
Sven Neumann 965b4ff0bb if possible, use gimp_preview_draw_buffer() so that the selection mask is
2004-12-27  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/colortoalpha.c: if possible, use
	gimp_preview_draw_buffer() so that the selection mask is correctly
	previewed. Minor cleanups.
2004-12-27 10:43:38 +00:00
Sven Neumann 59b87864f4 added some checks to avoid division by zero.
2004-12-27  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpregioniterator.c: added some checks to avoid
	division by zero.

	* libgimpwidgets/gimppreviewarea.[ch]: minor cleanups, improved
	API documentation.
2004-12-27 10:24:16 +00:00
David Odin 5a1a005074 plug-ins/gfig/gfig-arc.c plug-ins/gfig/gfig-bezier.c
* plug-ins/gfig/gfig-arc.c
* plug-ins/gfig/gfig-bezier.c
* plug-ins/gfig/gfig-circle.c
* plug-ins/gfig/gfig-dialog.c
* plug-ins/gfig/gfig-ellipse.c
* plug-ins/gfig/gfig-line.c
* plug-ins/gfig/gfig-poly.c
* plug-ins/gfig/gfig-spiral.c
* plug-ins/gfig/gfig-star.c
* plug-ins/gfig/gfig-style.h
* plug-ins/gfig/gfig.h: plugged some memory-leaks, and done some cleanups.
2004-12-26 21:09:48 +00:00
William Skaggs 15fb7b6f18 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/core/gimpbrush.c: don't ask for preview with
	zero width or height, fixes bug #162232.

	* app/base/brush-scale.c: remove tabs and trailing
	whitespace.
2004-12-26 18:18:17 +00:00
William Skaggs 286ed38772 Bill Skaggs Forget to save updated ChangeLog before previous commit.
Bill Skaggs
Forget to save updated ChangeLog before previous commit.
2004-12-26 17:56:21 +00:00
Michael Natterer 80074a4af2 limit the "Thread intensity" parameter to [0..100] because it's used as
2004-12-25  Michael Natterer  <mitch@gimp.org>

	* plug-ins/script-fu/scripts/weave.scm: limit the "Thread
	intensity" parameter to [0..100] because it's used as layer
	opacity. Fixes bug #162182.
2004-12-25 19:27:18 +00:00
William Skaggs 59e86d02fb Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/actions/documents-commands.c
	* app/actions/file-commands.c
	* app/dialogs/file-open-dialog.c
	* app/dialogs/file-open-location-dialog.c
	* app/display/gimpdisplayshell-dnd.c
	* app/widgets/gimplayertreeview.c
	* app/widgets/gimptoolbox-dnd.c: replace % with space
	in file name before showing error message,
	fixes bug #162147.

	* app/core/gimp-gui.c
	* app/widgets/gimpmessagebox.c: be a bit more paranoid
	about validating utf8 for messages.
2004-12-24 19:11:30 +00:00