Commit Graph

11586 Commits

Author SHA1 Message Date
Sven Neumann 7215e14c34 dialog layout tweaks.
2005-06-27  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpcolordisplayeditor.c: dialog layout tweaks.
2005-06-27 09:35:41 +00:00
Manish Singh ea47f2d53b actually define pygimpdir in terms of pygimpbase.
2005-06-26  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/Makefile.am: actually define pygimpdir in terms
        of pygimpbase.
2005-06-27 00:19:08 +00:00
Sven Neumann 7cf8a3734e menus/Makefile.am menus/menus.xsl readded the Debug menu but changed the
2005-06-27  Sven Neumann  <sven@gimp.org>

	* menus/Makefile.am
	* menus/menus.xsl
	* menus/toolbox-menu.xml.in: readded the Debug menu but changed
	the XSLT and the build rules so that it is only included in the
	development versions.
2005-06-26 23:47:13 +00:00
Manish Singh 02edf14eec feed environment values through gimp_config_path_expand, so ${gimp..}
2005-06-26  Manish Singh  <yosh@gimp.org>

        * app/core/gimpenvirontable.c: feed environment values through
        gimp_config_path_expand, so ${gimp..} variables can be used.

        * plug-ins/pygimp/Makefile.am: define PYTHONPATH in terms of
        ${gimp_plug_in_dir}. Use ; as a path separator on windows.

        With this final changes, pygimp should work out of the box on
        Win32 now. Thanks to Michael Schumacher and lode leroy for
        figuring out the high level details and testing.
2005-06-26 23:20:21 +00:00
Sven Neumann f27621b617 don't dump properties that have the GIMP_CONFIG_PARAM_IGNORE flag set.
2005-06-27  Sven Neumann  <sven@gimp.org>

	* app/config/gimpconfig-dump.c (dump_gimprc_manpage): don't dump
	properties that have the GIMP_CONFIG_PARAM_IGNORE flag set.
2005-06-26 22:07:41 +00:00
Sven Neumann a6ebb61ca4 added gimp_get_color_configuration.
2005-06-26  Sven Neumann  <sven@gimp.org>

	* libgimp/gimp.def: added gimp_get_color_configuration.
2005-06-26 21:49:29 +00:00
Karine Delvare e53abb2a00 Add an apply button and remove the frame around the scrolled window.
2005-06-25  Karine Delvare  <kdelvare@nerim.net>

        * plug-ins/FractalExplorer/FractalExplorer.c: Add an apply button
        and remove the frame around the scrolled window.
2005-06-26 21:16:21 +00:00
Manish Singh bded28416b cast to GIMP_CONFIG() for gimp_config_deserialize_string().
2005-06-26  Manish Singh  <yosh@gimp.org>

        * libgimp/gimpgimprc.c (gimp_get_color_configuration): cast to
        GIMP_CONFIG() for gimp_config_deserialize_string().
2005-06-26 21:11:39 +00:00
Sven Neumann 87b8e092b5 data/tips/Makefile.am let the transformation work on the multi-language
2005-06-26  Sven Neumann  <sven@gimp.org>

	* data/tips/Makefile.am
	* data/tips/fortunes.xsl: let the transformation work on the
	multi-language XML file and pass a language parameter to it.
2005-06-26 20:34:29 +00:00
Sven Neumann 531430c6de use dgettext() instead of gettext() and try to obtain the translation
2005-06-26  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimppropwidgets.c: use dgettext() instead of
	gettext() and try to obtain the translation domain from the type.
	Fixes i18n of tooltips on property widgets (bug #307756).

	* libgimpconfig/gimpcolorconfig.c: set a translation domain.
2005-06-26 18:09:12 +00:00
Sven Neumann 1197ce728d added tooltips with more information on the used profiles.
2005-06-26  Sven Neumann  <sven@gimp.org>

	* modules/cdisplay_lcms.c: added tooltips with more information on
	the used profiles.
2005-06-26 17:46:57 +00:00
Tor Lillqvist 8cf79496a2 Store the GimpBrushCore::brush_bound_segs as sorted (the result of
2005-06-26  Tor Lillqvist  <tml@novell.com>

	* app/tools/gimppainttool.c (gimp_paint_tool_draw): Store the
	GimpBrushCore::brush_bound_segs as sorted (the result of
	sort_boundary), as the only place where it is used
	(gimp_draw_tool_draw_boundary()) would sort it each time it is
	called anyway.

	* app/tools/gimpdrawtool.c (gimp_draw_tool_draw_boundary):
	Correspondingly we now don't have to sort the boundary here.
2005-06-26 16:51:13 +00:00
Sven Neumann b10218ce5a allow to access (read-only) the current color management configuration
2005-06-26  Sven Neumann  <sven@gimp.org>

	* tools/pdbgen/pdb/gimprc.pdb: allow to access (read-only) the
	current color management configuration through the PDB.

	* libgimp/gimpgimprc_pdb.[ch]
	* app/pdb/gimprc_cmds.c
	* app/pdb/internal_procs.c: regenerated.

	* libgimp/Makefile.am
	* libgimp/gimp.h
	* libgimp/gimpgimprc.[ch]: wrap the new PDB function to make it
	easier to use from plug-ins. This change adds a dependency on
	libgimpconfig to libgimp.

	* gimp.pc.in: changed accordingly.

	* plug-ins/FractalExplorer/Dialogs.c
	* plug-ins/gfig/gfig-dialog.c
	* plug-ins/gflare/gflare.c: no need to include gimpconfig.h
	explicitely any longer.

	* libgimp/gimpfontselectbutton.c: fixed gtk-doc comments.
2005-06-26 12:53:31 +00:00
Sven Neumann 017af36f1e also use bold, right-aligned labels here.
2005-06-26  Sven Neumann  <sven@gimp.org>

	* modules/cdisplay_lcms.c: also use bold, right-aligned labels here.
2005-06-26 11:25:54 +00:00
Manish Singh 31dfc85fe9 eat CRs too, since they might be there on Win32 systems.
2005-06-25  Manish Singh  <yosh@gimp.org>

        * app/core/gimpinterpreterdb.c: eat CRs too, since they might be
        there on Win32 systems.
2005-06-25 23:34:25 +00:00
Manish Singh 992bdbe8c5 introduce a notion of runtime path to the python interpreter, for the
2005-06-25  Manish Singh  <yosh@gimp.org>

        * configure.in: introduce a notion of runtime path to the python
        interpreter, for the pygimp.interp file.

        * plug-ins/pygimp/Makefile.am: use it here.
2005-06-25 23:27:21 +00:00
Manish Singh bbcc7ea950 attempt to work around weird escaping behavior in the windows shell when
2005-06-25  Manish Singh  <yosh@gimp.org>

        * configure.in: attempt to work around weird escaping behavior
        in the windows shell when converting backslashes to forward
        slashes.
2005-06-25 21:09:01 +00:00
Manish Singh 4505191405 convert backslashes to forward slashes for python stuff on Win32.
2005-06-25  Manish Singh  <yosh@gimp.org>

        * configure.in: convert backslashes to forward slashes for python
        stuff on Win32.
2005-06-25 20:08:45 +00:00
Sven Neumann 259e1d13f3 use bold and right-aligned labels for the label titles.
2005-06-25  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpimagepropview.c: use bold and right-aligned
	labels for the label titles.
2005-06-25 18:24:00 +00:00
Michael Natterer 9bf9eecf42 added all-local target which rebuilds AUTHORS.
2005-06-25  Michael Natterer  <mitch@gimp.org>

	* Makefile.am: added all-local target which rebuilds AUTHORS.
2005-06-25 17:25:13 +00:00
Karine Delvare 14aa99a583 AUTHORS regenerated.
2005-06-25  Karine Delvare  <kdelvare@nerim.net>

	* AUTHORS
	* app/dialogs/authors.h: regenerated.
2005-06-25 17:20:56 +00:00
Sven Neumann feadca6859 use gimp_enum_get_value() to avoid string duplication.
2005-06-25  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpimagepropview.c (gimp_image_prop_view_update):
	use gimp_enum_get_value() to avoid string duplication.
2005-06-25 17:01:50 +00:00
Karine Delvare 30564babb6 added Akkana Peck to contributors and updated my last name.
2005-06-25  Karine Delvare  <kdelvare@nerim.net>

	* authors.xml: added Akkana Peck to contributors and updated my
	last name.

	* po/fr.po: fixed typo.
2005-06-25 16:50:48 +00:00
Karine Delvare ffca57f527 activate fractal on double-click rather than select.
2005-06-25  Karine Delvare  <kdelvare@cvs.gimp.org>

        * plug-ins/FractalExplorer/FractalExplorer.c: activate fractal on
        double-click rather than select.
2005-06-25 16:22:08 +00:00
Kevin Cozens fd6ff177ea First step in changing the UI to match the layout suggested in bug #82591.
2005-06-25  Kevin Cozens  <kcozens@cvs.gimp.org>

	* plug-ins/maze/maze_face.c: First step in changing the UI to match
	the layout suggested in bug #82591.
2005-06-25 15:33:25 +00:00
Sven Neumann b40453748b shortened bold labels.
2005-06-25  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpcolordisplayeditor.c: shortened bold labels.
2005-06-25 01:05:22 +00:00
Manish Singh 4d716c32b3 drop the module suffix from the filename of the dynamic libraries.
2005-06-24  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/Makefile.am: drop the module suffix from the
        filename of the dynamic libraries.
2005-06-25 00:44:40 +00:00
Sven Neumann 263cdb558e app/dialogs/preferences-dialog.c use italic text for info labels.
2005-06-25  Sven Neumann  <sven@gimp.org>

	* app/dialogs/preferences-dialog.c
	* modules/cdisplay_lcms.c: use italic text for info labels.
2005-06-25 00:30:20 +00:00
Sven Neumann c002db7b22 use a GtkVPaned.
2005-06-25  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpcolordisplayeditor.c: use a GtkVPaned.
2005-06-25 00:11:59 +00:00
Sven Neumann bc53cbb1d4 show the names of the color profiles that are used.
2005-06-25  Sven Neumann  <sven@gimp.org>

	* modules/cdisplay_lcms.c (cdisplay_lcms_configure): show the names
	of the color profiles that are used.
2005-06-24 23:49:19 +00:00
Tor Lillqvist de642dd10f Add new GimpCanvasStyle value, GIMP_CANVAS_STYLE_XOR_DOTTED.
2005-06-24  Tor Lillqvist  <tml@novell.com>

	* app/display/gimpcanvas.h: Add new GimpCanvasStyle value,
	GIMP_CANVAS_STYLE_XOR_DOTTED.

	* app/display/gimpcanvas.c (gimp_canvas_gc_new): Implement it like
	GIMP_CANVAS_STYLE_XOR_DASHED, except that we set the dash pattern
	to a single-pixel on-off one.

	* app/tools/gimpdrawtool.c (gimp_draw_tool_draw_boundary): Sort
	the boundary so that we can draw each connected group of segments
	using gimp_canvas_draw_lines(). (Even if we would still use
	gimp_canvas_draw_segments(), the boundary would have to be sorted
	so that the XOR drawing and GDK_CAP_NOT_LAST cooperate properly.)

	Use GIMP_CANVAS_STYLE_XOR_DOTTED so the outline doesn't look too
	heavy.

	Remove the dubious code snippet that offset some segments by one
	pixel. It didn't do what the comment claimed, and why one would
	need to do what the comment said, or what it actually did, is
	unclear.

	Now brush outlines shouldn't have gaps any longer. (#308710)
2005-06-24 23:28:38 +00:00
Manish Singh 6d5096312e define PYLINK_LIBS on Win32, since DLLs need to have all their symbols
2005-06-24  Manish Singh  <yosh@gimp.org>

        * configure.in: define PYLINK_LIBS on Win32, since DLLs need to have
        all their symbols fully resolved at link time.

        * plug-ins/pygimp/Makefile.am: link python modules with PYLINK_LIBS.
2005-06-24 23:13:49 +00:00
Sven Neumann df7a0937df relabel the profile used for softproofing to "Print simulation profile".
2005-06-25  Sven Neumann  <sven@gimp.org>

	* app/dialogs/preferences-dialog.c: relabel the profile used for
	softproofing to "Print simulation profile".

	* libgimpconfig/gimpcolorconfig.c: improved blurb.

	* modules/cdisplay_lcms.c (cdisplay_lcms_configure): show filenames
	of profiles; will be replaced by real profile information.
2005-06-24 23:06:07 +00:00
Sven Neumann 57f97f737b libgimpwidgets/Makefile.am libgimpwidgets/gimpwidgets.h
2005-06-25  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/Makefile.am
	* libgimpwidgets/gimpwidgets.h
	* libgimpwidgets/gimpwidgetstypes.h
	* libgimpwidgets/gimpenumlabel.[ch]: added new widget GimpEnumLabel.

	* libgimpwidgets/gimppropwidgets.[ch]: added
	gimp_prop_enum_label_new().

	* libgimpwidgets/gimpwidgets.def: updated.

	* modules/cdisplay_lcms.c (cdisplay_lcms_configure): started to
	add a view on the current color managment configuration.
2005-06-24 22:46:42 +00:00
Manish Singh dfad53efe4 build all libraries with no-undefined. Ignore doc stuff for now, since
2005-06-24  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/Makefile.am: build all libraries with no-undefined.
        Ignore doc stuff for now, since it's ancient and needs to be massively
        revised.

        * configure.in: don't generate plug-ins/pygimp/doc/Makefile
2005-06-24 21:46:12 +00:00
Manish Singh cbee4c51de split out into separate files...
2005-06-24  Manish Singh  <yosh@gimp.org>

        * acinclude.m4: split out into separate files...

        * m4macros/alsa.m4
        * m4macros/gimpprint.m4
        * m4macros/gtk-doc.m4
        * m4macros/pythondev.m4: ... and put them here.

        * m4macros/Makefile.am: dist the above files.
2005-06-24 21:17:57 +00:00
Kevin Cozens d604a8c2d5 Incorporated changes made by Daniel P. Stasinski in his text-circle3.scm
2005-06-24  Kevin Cozens  <kcozens@cvs.gimp.org>

	* plug-ins/script-fu/scripts/text-circle.scm: Incorporated changes
	made by Daniel P. Stasinski in his text-circle3.scm script. Letters
	are now placed properly for both positive and negative fill angles.
	Last(?) fix for bug #144588.
2005-06-24 20:49:43 +00:00
Sven Neumann a9e7b76a0d added a mnemonic.
2005-06-24  Sven Neumann  <sven@gimp.org>

	* app/dialogs/preferences-dialog.c: added a mnemonic.

	* libgimpwidgets/gimppropwidgets.c
	(gimp_prop_file_chooser_button_new): embed the button in an
	event-box if the param_spec provides a blurb to be used as a
	tooltip.

	* libgimpconfig/gimpcolorconfig.c: improved blurbs.
2005-06-24 20:29:24 +00:00
Kevin Cozens 9e0f32e606 Updated to fix problems related to change in handling of string arrays
2005-06-23  Kevin Cozens  <kcozens@cvs.gimp.org>

	* plug-ins/script-fu/scripts/font-map.scm: Updated to fix problems
	related to change in handling of string arrays (see bug #168290).
	Fixes bug #308681.
2005-06-24 19:41:58 +00:00
Manish Singh 60aa23a658 add gimp_rgba_parse_css
2005-06-24  Manish Singh  <yosh@gimp.org>

        * libgimpcolor/gimpcolor.def: add gimp_rgba_parse_css
2005-06-24 18:27:37 +00:00
Sven Neumann 69b76fbcc0 app/actions/image-actions.c app/actions/layers-actions.c use
2005-06-24  Sven Neumann  <sven@gimp.org>

	* app/actions/image-actions.c
	* app/actions/layers-actions.c
	* app/dialogs/image-properties-dialog.c: use GTK_STOCK_PROPERTIES
	as stock icon for property menu items and dialogs.
2005-06-24 18:25:22 +00:00
Sven Neumann f1d89048d1 removed an incomplete and unused function.
2005-06-24  Sven Neumann  <sven@gimp.org>

	* app/core/gimppdbprogress.[ch]: removed an incomplete and unused
	function.
2005-06-24 16:46:00 +00:00
Sven Neumann dd44b9b9ef if we end up without any return values, assume an execution error instead
2005-06-24  Sven Neumann  <sven@gimp.org>

	* app/pdb/procedural_db.c (procedural_db_execute): if we end up
	without any return values, assume an execution error instead of
	crashing (bug #308904).
2005-06-24 15:00:34 +00:00
Sven Neumann fe0718ef58 increased maximum property size, added debug output.
2005-06-24  Sven Neumann  <sven@gimp.org>

	* modules/cdisplay_lcms.c (cdisplay_lcms_get_display_profile):
	increased maximum property size, added debug output.
2005-06-24 13:41:07 +00:00
Sven Neumann eeebd95e41 implement the configure method and tell the user where this module can be
2005-06-24  Sven Neumann  <sven@gimp.org>

	* modules/cdisplay_lcms.c: implement the configure method and tell
	the user where this module can be configured.
2005-06-24 11:46:13 +00:00
Sven Neumann 88de3824f8 some code cleanup, no real changes.
2005-06-24  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/png.c: some code cleanup, no real changes.
2005-06-24 11:31:49 +00:00
Sven Neumann 87e8c925bc added a check button to control the "display-profile-from-gdk" option.
2005-06-24  Sven Neumann  <sven@gimp.org>

	* app/dialogs/preferences-dialog.c: added a check button to control
	the "display-profile-from-gdk" option.

	* modules/cdisplay_lcms.c (cdisplay_lcms_get_display_profile):
	fixed use of gdk_property_get(). Return NULL if no display profile
	can be obtained.
2005-06-24 09:41:16 +00:00
Sven Neumann 3490c49252 Added basic support for the proposed ICC Profiles In X Specification
2005-06-24  Sven Neumann  <sven@gimp.org>

	Added basic support for the proposed ICC Profiles In X Specification
	(http://burtonini.com/temp/xicc-specification-0.1.html).

	* libgimpconfig/gimpcolorconfig.[ch]: added a configuration option
	"display-profile-from-gdk", default to TRUE.

	* modules/cdisplay_lcms.c: try to retrieve the display color
	profile from the "_ICC_PROFILE" profile on the default screen's
	root window.
2005-06-24 01:38:53 +00:00
Akkana Peck 745e71195c Image window Filters menu reorganization, as discussed in bug 116145 2005-06-24 00:43:39 +00:00
Sven Neumann 3e45f85f7f removed conflict markers 2005-06-23 23:42:59 +00:00
Sven Neumann f0db3b21fa call plug_in_actions_update() to update the sensitivity of the last used
2005-06-23  Sven Neumann  <sven@gimp.org>

	* app/actions/plug-in-actions.c (plug_in_actions_last_changed): call
	plug_in_actions_update() to update the sensitivity of the last used
	plug-in entries.
2005-06-23 19:13:23 +00:00
Sven Neumann 8911164564 no need to create a new list store; gimp_int_combo_box_init() already did
2005-06-23  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpintcombobox.c (gimp_int_combo_box_new_valist)
	(gimp_int_combo_box_new_array): no need to create a new list store;
	gimp_int_combo_box_init() already did that for us.
2005-06-23 18:02:21 +00:00
Sven Neumann a0329dd153 draw the intersection on top of the grid. Fixes bug #308754.
2005-06-23  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/grid.c: draw the intersection on top of the grid.
	Fixes bug #308754.
2005-06-23 17:13:57 +00:00
Sven Neumann 00f94b6554 shift whole rows/columns, instead of tiles. Fixes bug #308748.
2005-06-23  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/shift.c: shift whole rows/columns, instead of
	tiles. Fixes bug #308748.
2005-06-23 16:58:16 +00:00
Sven Neumann 4fde913221 removed redundant labels.
2005-06-23  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-console.c: removed redundant labels.
2005-06-23 16:06:53 +00:00
Michael Natterer 938f24fd58 added the widget living in the right_vbox to the GimpBrowser struct
2005-06-23  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimpbrowser.[ch]: added the widget living in the
	right_vbox to the GimpBrowser struct instead of attaching it to
	the browser.
2005-06-23 11:28:15 +00:00
Sven Neumann 3571a5802e applied a patch from Karine Delvare that removes an obsolete frame.
2005-06-22  Sven Neumann  <sven@gimp.org>

	* plug-ins/FractalExplorer/FractalExplorer.c: applied a patch from
	Karine Delvare that removes an obsolete frame.

	* plug-ins/FractalExplorer/Makefile.am
	* plug-ins/FractalExplorer/logo.h: removed logo now that the About
	dialog is gone.
2005-06-22 21:19:10 +00:00
Michael Natterer ff7343eee0 libgimpconfig/gimpconfig-deserialize.h libgimpconfig/gimpconfig-error.h
2005-06-22  Michael Natterer  <mitch@gimp.org>

	* libgimpconfig/gimpconfig-deserialize.h
	* libgimpconfig/gimpconfig-error.h
	* libgimpconfig/gimpconfig-iface.h
	* libgimpconfig/gimpconfig-params.h
	* libgimpconfig/gimpconfig-path.h
	* libgimpconfig/gimpconfig-serialize.h
	* libgimpconfig/gimpconfig-utils.h: added G_BEGIN_DECLS/G_END_DECLS.
2005-06-22 20:37:11 +00:00
Sven Neumann 564f5e6050 added Edit->Preferences since that seems to be the standard location
2005-06-22  Sven Neumann  <sven@gimp.org>

	* menus/image-menu.xml.in: added Edit->Preferences since that
	seems to be the standard location nowadays (bug #157613).
2005-06-22 13:24:22 +00:00
Sven Neumann fc1bb9ee41 unified spelling of "Re-Show".
2005-06-22  Sven Neumann  <sven@gimp.org>

	* app/actions/plug-in-actions.c: unified spelling of "Re-Show".

	* plug-ins/foggify.py: fixed capitalization of menu label.
2005-06-22 12:16:04 +00:00
Sven Neumann 903816ca53 switch to a more compact dialog layout.
2005-06-22  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/mblur.c: switch to a more compact dialog layout.
2005-06-22 11:47:55 +00:00
William Skaggs e37feb8ce7 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/common/mblur.c: add option of blurring inward
	or outward for zoom, should fix bug #142968.
2005-06-21 23:49:51 +00:00
Sven Neumann cc77129499 plug-ins/FractalExplorer/Dialogs.c merged in a patch from Karine Delvare
2005-06-22  Sven Neumann  <sven@gimp.org>

	* plug-ins/FractalExplorer/Dialogs.c
	* plug-ins/FractalExplorer/FractalExplorer.[ch]: merged in a patch
	from Karine Delvare with further UI improvements (see bug #140202).
2005-06-21 23:08:43 +00:00
William Skaggs e8079d1594 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/common/newsprint.c: remove "optimization" that interacts
	badly with preview; fixes bug #161573.
2005-06-21 22:08:42 +00:00
William Skaggs 9018476c27 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/common/retinex.c:  initialize memory before using.
	Fixes bug #157915.
2005-06-21 18:07:01 +00:00
William Skaggs 5a62e7024c Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/core/gimplayer-floating-sel.c: set "Keep Transparency"
	FALSE when creating floating sel; see bug #161042.
2005-06-21 16:56:28 +00:00
Sven Neumann 71313ae2a5 minor changes, mainly to the Rescan dialog.
2005-06-21  Sven Neumann  <sven@gimp.org>

	* plug-ins/FractalExplorer/Dialogs.c: minor changes, mainly to the
	Rescan dialog.
2005-06-21 09:25:45 +00:00
Sven Neumann 0c4144c10e applied a patch from Karine Delvare that ports the list to GtkTreeView and
2005-06-21  Sven Neumann  <sven@gimp.org>

	* plug-ins/FractalExplorer/FractalExplorer.c: applied a patch from
	Karine Delvare that ports the list to GtkTreeView and replaces the
	XPM icons with stock icons. Fixes bug #140202.

	* plug-ins/FractalExplorer/Makefile.am
	* plug-ins/FractalExplorer/pix_data.h: removed this file.
2005-06-20 22:34:11 +00:00
Sven Neumann 0422923deb added a second text to the confirmation dialog; changed the primary text.
2005-06-21  Sven Neumann  <sven@gimp.org>

	* app/actions/documents-commands.c: added a second text to the
	confirmation dialog; changed the primary text.
2005-06-20 22:15:41 +00:00
Sven Neumann afddacb1bc added missing id to fix the build.
2005-06-21  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimphelp-ids.h: added missing id to fix the build.
2005-06-20 22:00:57 +00:00
William Skaggs 95f5cc8654 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/common/laplace.c: don't normalize the
	result.  Fixes bug #306874?
2005-06-20 21:04:32 +00:00
Michael Natterer 213deb5bf1 Oops... 2005-06-20 19:38:07 +00:00
Michael Natterer 66b7fe24ba app/actions/documents-actions.c app/actions/documents-commands.[ch]
2005-06-20  Michael Natterer  <mitch@gimp.org>

	* app/actions/documents-actions.c
	* app/actions/documents-commands.[ch]
	* app/widgets/gimphelp-ids.h
	* menus/documents-menu.xml: added "Clear document history" action,
	button, menu item and confirm dialog (bug #140001).
2005-06-20 19:28:49 +00:00
William Skaggs bbb8d250d0 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/common/noisify.c: rename as "plug-in-rgb-noise"
	with menu entry "RGB Noise".  Leave "plug-in-noisify" for
	backward compatibility.

	* plug-ins/common/scatter_hsv.c: rename as "plug-in-hsv-noise"
	with menu entry "HSV Noise".  Leave "plug-in-scatter-hsv" for
	backward compatibility.
2005-06-20 16:09:40 +00:00
Sven Neumann f368185498 set the gravity of the image window to CENTER. Gives much better behaviour
2005-06-20  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell.c (gimp_display_shell_new): set the
	gravity of the image window to CENTER. Gives much better behaviour
	for "resize-windows-on-zoom".
2005-06-20 10:34:50 +00:00
Sven Neumann 5a7f136a9c simplified, use the eek wilber icon if the file doesn't exist.
2005-06-18  Sven Neumann  <sven@gimp.org>

	* app/core/gimpimagefile.c (gimp_imagefile_get_new_pixbuf):
	simplified, use the eek wilber icon if the file doesn't exist.
2005-06-18 14:16:26 +00:00
Sven Neumann 741382dd09 plug-ins/common/gee.c string fixes (bug #308134).
2005-06-18  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/gee.c
	* plug-ins/common/gee_zoom.c: string fixes (bug #308134).
2005-06-17 23:17:32 +00:00
Sven Neumann afaa010bb6 pass GimpImageBaseType to extract_from_region() instead of some anonymous
2005-06-17  Sven Neumann  <sven@gimp.org>

	* app/paint-funcs/paint-funcs.[ch]: pass GimpImageBaseType to
	extract_from_region() instead of some anonymous integer. Added
	some const qualifiers.
2005-06-17 16:26:06 +00:00
Sven Neumann 5dcbaeb284 fixed long-standing bug in the calculation of the depth of the
2005-06-17  Sven Neumann  <sven@gimp.org>

	* app/core/gimpselection.c (gimp_selection_extract): fixed
	long-standing bug in the calculation of the depth of the
	tile-manager created when copying from an indexed drawable.
2005-06-17 16:18:23 +00:00
Sven Neumann 83ca915fd0 removed menu registration (bug #307535).
2005-06-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/unsharp-mask.scm: removed menu
	registration (bug #307535).
2005-06-17 11:03:10 +00:00
Sven Neumann 3972af91ce plug-ins/common/gee.c don't register any menu entries (see bug #307998).
2005-06-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/gee.c
	* plug-ins/common/gee_zoom.c: don't register any menu entries
	(see bug #307998).

	* app/actions/plug-in-actions.c
	* menus/image-menu.xml.in: removed Toys submenu.
2005-06-17 09:35:30 +00:00
Sven Neumann 5c17ad2402 menus/image-menu.xml.in plug-ins/Lighting/lighting_main.c
2005-06-17  Sven Neumann  <sven@gimp.org>

	* menus/image-menu.xml.in
	* plug-ins/Lighting/lighting_main.c
	* plug-ins/common/apply_lens.c
	* plug-ins/common/flarefx.c
	* plug-ins/common/glasstile.c
	* plug-ins/common/nova.c
	* plug-ins/common/sparkle.c
	* plug-ins/gflare/gflare.c
	* plug-ins/pygimp/plug-ins/clothify.py
	* plug-ins/pygimp/plug-ins/foggify.py
	* plug-ins/pygimp/plug-ins/shadow_bevel.py
	* plug-ins/pygimp/plug-ins/whirlpinch.py
	* plug-ins/script-fu/script-fu.c
	* plug-ins/script-fu/scripts/*.scm: applied menu reorganization
	patch done by Akkana Peck (bug #116145).

	* plug-ins/common/film.c: renamed filter to "Filmstrip".
2005-06-16 23:45:32 +00:00
Sven Neumann 077bba00bc expand the GIMP acronym.
2005-06-16  Sven Neumann  <sven@gimp.org>

	* desktop/gimp.applications.in: expand the GIMP acronym.

	* desktop/gimp.keys.in: removed some cruft.
2005-06-16 15:47:15 +00:00
Sven Neumann 0e3631ec33 INSTALL configure.in allow to skip installation of desktop files by
2005-06-16  Sven Neumann  <sven@gimp.org>

	* INSTALL
	* configure.in
	* desktop/Makefile.am: allow to skip installation of desktop files
	by passing --without-desktop-dir.
2005-06-16 15:31:30 +00:00
Sven Neumann 925a163597 Redid the framework that deals with installing desktop files. Fixes bug
2005-06-16  Sven Neumann  <sven@gimp.org>

	Redid the framework that deals with installing desktop files.
	Fixes bug #307705:

	* data/misc/*: removed.

	* desktop/*: readded the desktop files in a new directory.

	* Makefile.am
	* configure.in
	* data/Makefile.am: changed accordingly.
2005-06-16 14:50:43 +00:00
Michael Natterer 31f4020892 revert accidential commit.
2005-06-16  Michael Natterer  <mitch@gimp.org>

	* tools/pdb/pdbgen/edit.pdb: revert accidential commit.
2005-06-16 00:38:21 +00:00
Sven Neumann a27ba426a8 exit from main loop if g_file_get_contents() fails.
2005-06-16  Sven Neumann  <sven@gimp.org>

	* tools/test-clipboard.c (test_clipboard_copy_callback): exit from
	main loop if g_file_get_contents() fails.
2005-06-15 22:59:45 +00:00
Sven Neumann 03c941a9dc capitalization.
2005-06-16  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell-close.c: capitalization.
2005-06-15 22:14:47 +00:00
Sven Neumann 2665b357da app/actions/file-actions.c app/actions/plug-in-actions.c removed ellipsis
2005-06-15  Sven Neumann  <sven@gimp.org>

	* app/actions/file-actions.c
	* app/actions/plug-in-actions.c
	* app/actions/tool-options-actions.c: removed ellipsis from commands
	that only present a confirmation dialog.

	* app/actions/file-actions.c
	* app/tools/gimpcolorbalancetool.c
	* app/tools/gimplevelstool.c
	* app/widgets/gimpgrideditor.c: capitalization.
2005-06-15 21:38:00 +00:00
Sven Neumann 57a90113ac capitalization.
2005-06-15  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpgrideditor.c: capitalization.
2005-06-15 21:11:03 +00:00
Sven Neumann 31a2024fd2 fix capitalization on the Color Management page.
2005-06-15  Sven Neumann  <sven@gimp.org>

	* app/dialogs/preferences-dialog.c: fix capitalization on the
	Color Management page.
2005-06-15 19:55:26 +00:00
Sven Neumann 7123168f22 there's no need to keep a reference to the anchor button.
2005-06-15  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimplayertreeview.[ch]: there's no need to keep a
	reference to the anchor button.
2005-06-15 14:52:01 +00:00
Sven Neumann e3800a406e don't display a preview and don't attempt to create one if the image file
2005-06-15  Sven Neumann  <sven@gimp.org>

	* app/core/gimpimagefile.c (gimp_imagefile_load_thumb):
	* app/widgets/gimpthumbbox.c (gimp_thumb_box_auto_thumbnail):
	don't display a preview and don't attempt to create one if the
	image file does not exist any longer (bug #307672).
2005-06-15 10:57:33 +00:00
Sven Neumann 96d2deee85 set the "Detach Tab" action insensitive if the dockable is alone in its
2005-06-15  Sven Neumann  <sven@gimp.org>

	* app/actions/dockable-actions.c (dockable_actions_update): set the
	"Detach Tab" action insensitive if the dockable is alone in its dock.
2005-06-15 10:19:48 +00:00
Sven Neumann a23a805c65 changed window title as suggested in bug #307701.
2005-06-15  Sven Neumann  <sven@gimp.org>

	* app/dialogs/preferences-dialog.c (prefs_input_devices_dialog):
	changed window title as suggested in bug #307701.
2005-06-15 10:10:25 +00:00
Michael Natterer 9cec74e9a1 deprecated. Changed implementation to simply call
2005-06-15  Michael Natterer  <mitch@gimp.org>

	* libgimpmodule/gimpmodule.[ch] (gimp_module_register_enum):
	deprecated. Changed implementation to simply call
	g_type_module_register_enum().

	* modules/cdisplay_colorblind.c
	* modules/cdisplay_proof.c: use g_type_module_register_enum() instead.
2005-06-15 09:26:01 +00:00
Sven Neumann fa593afdbf allow to raise a layer w/o an alpha channel.
2005-06-14  Sven Neumann  <sven@gimp.org>

	* app/core/gimpimage.c (gimp_image_raise_layer)
	(gimp_image_raise_layer_to_top): allow to raise a layer w/o an
	alpha channel.
2005-06-14 20:54:03 +00:00
Sven Neumann 9ed8b8099d allow to raise a layer w/o an alpha channel.
2005-06-14  Sven Neumann  <sven@gimp.org>

	* app/core/gimpimage.c (gimp_image_raise_layer): allow to raise a
	layer w/o an alpha channel.
2005-06-14 20:51:08 +00:00
Sven Neumann 511b54785e renamed internal keys.
2005-06-14  Sven Neumann  <sven@gimp.org>

	* app/core/gimp-gradients.c: renamed internal keys.
2005-06-14 20:40:05 +00:00
Sven Neumann c85e56291a some dialog changes, hopefully to the better.
2005-06-14  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/screenshot.c: some dialog changes, hopefully to
	the better.
2005-06-14 18:12:11 +00:00
Michael Natterer 4cded149d9 copy the alpha channel from the correct source.
2005-06-13  Michael Natterer  <mitch@gimp.org>

	* app/core/gimplayer.c (gimp_layer_transform_color): copy the
	alpha channel from the correct source.
2005-06-13 11:52:00 +00:00
Sven Neumann 697142c2f2 added missing brackets in macros.
2005-06-13  Sven Neumann  <sven@gimp.org>

	* app/core/gimp-transform-resize.c: added missing brackets in macros.
2005-06-12 22:20:47 +00:00
Manish Singh 930e08d8e8 if any of the pygimp dependencies aren't fulfilled, display a more
2005-06-11  Manish Singh  <yosh@gimp.org>

        * configure.in: if any of the pygimp dependencies aren't fulfilled,
        display a more informative message.

        * autogen.sh: depend on automake 1.8, so AM_PATH_PYTHON has a user
        defined failure mode. Also prefer automake 1.9.
2005-06-11 21:10:43 +00:00
Sven Neumann cb940554c8 connect to "selection-changed" instead of "file-activated". Fixes bug
2005-06-11  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimppropwidgets.c: connect to "selection-changed"
	instead of "file-activated". Fixes bug #307146.
2005-06-11 14:29:57 +00:00
Michael Natterer 699ad10f79 Allow to use the selected font in the text editor (bug #170299):
2005-06-11  Michael Natterer  <mitch@gimp.org>

	Allow to use the selected font in the text editor (bug #170299):

	* app/widgets/gimptexteditor.[ch]: added a "Use selected font"
	toggle and an API to set/get the selected font name.

	* app/tools/gimptextoptions.c: update the editor's font when the
	text option's font changes. Renamed text editor callbacks to
	gimp_text_options_editor_foo().
2005-06-11 14:18:51 +00:00
Michael Natterer b7b5e156cc don't try to generate tips/Makefile.
2005-06-10  Michael Natterer  <mitch@gimp.org>

	* configure.in: don't try to generate tips/Makefile.
2005-06-10 17:11:22 +00:00
Sven Neumann 1c4122c5d0 Switch to a more standard way of treating the translations for the startup
2005-06-10  Sven Neumann  <sven@gimp.org>

	Switch to a more standard way of treating the translations for the
	startup tips (bug #171846):

	* Makefile.am
	* configure.in: removed tips directory; added data/tips and po-tips
	directories instead.

	* data/Makefile.am
	* data/AUTHORS
	* data/ChangeLog
	* data/README: removed these three outdated files.

	* data/tips: gimp.tips.xml and related files live here now.

	* po-tips: translations of the tips are found here now.

	* README.i18n: changed accordingly.
2005-06-10 16:38:36 +00:00
Michael Natterer ef4b245610 Fix bug #134304, as far as it's fixable:
2005-06-10  Michael Natterer  <mitch@gimp.org>

	Fix bug #134304, as far as it's fixable:

	* app/core/gimp-edit.c (gimp_edit_paste_as_new): handle pasting
	buffers without alpha. Also don't uselessly convert all buffers
	to RGB but create an image in the buffer's color space.

	(gimp_edit_extract): call gimp_selection_extract() with
	add_alpha = FALSE.

	* app/core/gimpselection.c (gimp_selection_extract): set add_alpha
	to TRUE if there is a selection, because the selection could have
	any shape.
2005-06-10 14:45:11 +00:00
Sven Neumann 529add3c72 bumped version number to 2.3.2.
2005-06-09  Sven Neumann  <sven@gimp.org>

	* configure.in:  bumped version number to 2.3.2.
2005-06-09 17:29:46 +00:00
Sven Neumann 2c9be3e4a5 Made 2.3.1 development release.
2005-06-09  Sven Neumann  <sven@gimp.org>

        * Made 2.3.1 development release.
2005-06-09 17:13:20 +00:00
Sven Neumann 61be6a5369 minor code cleanup.
2005-06-08  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/laplace.c: minor code cleanup.
2005-06-08 15:19:01 +00:00
Sven Neumann daceeacd93 removed blurbs for unused preferences.
2005-06-08  Sven Neumann  <sven@gimp.org>

	* app/config/gimprc-blurbs.h: removed blurbs for unused preferences.

	* app/config/gimpbaseconfig.c
	* app/config/gimpcoreconfig.c: changed accordingly.
2005-06-08 11:31:44 +00:00
Sven Neumann c1363db8c0 Removed "stingy-memory-use" all over the place. This feature was really
2005-06-08  Sven Neumann  <sven@gimp.org>

	Removed "stingy-memory-use" all over the place. This feature was
	really not that useful anymore. The GUI for the preference option
	was already removed for GIMP 2.2.  Fixes bug #306617.

	* app/config/gimpbaseconfig.[ch]: set IGNORE flag on
	"stingy-memory-use".

	* app/config/gimpcoreconfig.h: added a comment that the
	font_path_writable variable is unused.

	* app/base/temp-buf.[ch]: removed code that used to deal with
	swapping temp-bufs to disk.

	* app/base/base.c: made base_config a static variable.

	* app/core/gimpdata.[ch]
	* app/core/gimpdatafactory.[ch]: removed stingy_memory_use
	parameter from data construction methods.

	* app/core/gimp-gradients.c
	* app/core/gimpbrush-load.[ch]
	* app/core/gimpbrush.[ch]
	* app/core/gimpbrushgenerated.[ch]
	* app/core/gimpbrushpipe.[ch]
	* app/core/gimpcontext.c
	* app/core/gimpgradient-load.[ch]
	* app/core/gimpgradient.[ch]
	* app/core/gimppalette-import.c
	* app/core/gimppalette.[ch]
	* app/core/gimppattern.[ch]: changed accordingly.
2005-06-08 11:27:31 +00:00
William Skaggs 78e6016aaa Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/tools/gimpaligntool.[ch]: improve layout of controls.  Add
	radio buttons allowing selection of reference layer without
	using Ctrl modifier.  Handle removal of target or reference
	layers from image more correctly.  More to come.
2005-06-07 20:12:23 +00:00
Sven Neumann df623bf246 plug-ins/bmp/bmp.c plug-ins/bmp/bmpread.c applied a (slightly modified)
2005-06-07  Sven Neumann  <sven@gimp.org>

	* plug-ins/bmp/bmp.c
	* plug-ins/bmp/bmpread.c
	* plug-ins/bmp/bmpwrite.c: applied a (slightly modified) patch
	contributed by Brandon that adds support for reading and writing
	RGBA BMP files (bug #306339).
2005-06-07 16:55:21 +00:00
Manish Singh 3e7aaa368c detect SSE3.
2005-06-07  Manish Singh  <yosh@gimp.org>

        * app/base/cpu-accel.[ch]: detect SSE3.
2005-06-07 07:10:22 +00:00
Manish Singh 92643ca2f5 cast the result of gtk_bin_get_child ().
2005-06-07  Manish Singh  <yosh@gimp.org>

        * app/actions/dockable-actions.c (dockable_actions_update): cast
        the result of gtk_bin_get_child ().
2005-06-07 07:04:25 +00:00
Michael Natterer a648c35b82 use 'B' instead of 'S' as mnemonic for "Show Button Bar".
2005-06-06  Michael Natterer  <mitch@gimp.org>

	* app/actions/dockable-actions.c (dockable_toggle_actions): use
	'B' instead of 'S' as mnemonic for "Show Button Bar".
2005-06-06 20:07:40 +00:00
Maurits Rijk f9dc08a441 plug-ins/imagemap/imap_grid.[ch] plug-ins/imagemap/imap_main.c
2005-06-06  Maurits Rijk  <m.rijk@chello.nl>

	* plug-ins/imagemap/imap_grid.[ch]
	* plug-ins/imagemap/imap_main.c
	* plug-ins/imagemap/imap_menu.[ch]
	* plug-ins/imagemap/imap_menu_funcs.[ch]
	* plug-ins/imagemap/imap_object_popup.[ch]
	* plug-ins/imagemap/imap_polygon.[ch]: more conversion to action based
	menus. Almost done.
2005-06-06 19:53:44 +00:00
Sven Neumann b29fc29b2e only create the temporary file if there is a parasite to load.
2005-06-06  Sven Neumann  <sven@gimp.org>

	* plug-ins/gfig/gfig.c (gfig_load_from_parasite): only create the
	temporary file if there is a parasite to load.
2005-06-06 15:43:57 +00:00
Sven Neumann 365f79262b removed unused variable.
2005-06-06  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpcellrendererdashes.c: removed unused variable.
2005-06-06 09:40:07 +00:00
Tor Lillqvist 52fb3812c7 Add gimp_font_select_button_*.
2005-06-06  Tor Lillqvist  <tml@novell.com>

	* libgimp/gimpui.def: Add gimp_font_select_button_*.
2005-06-06 06:56:58 +00:00
Manish Singh 62749bb931 plug-ins/pygimp/gimpfu.py plug-ins/pygimp/gimpenums.py use old pygtk enum
2005-06-05  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/gimpfu.py
        * plug-ins/pygimp/gimpenums.py
        * plug-ins/pygimp/gimpenumsmodule.c: use old pygtk enum API so we
        still work with older pygtk versions.
2005-06-05 19:28:46 +00:00
William Skaggs 052d95c906 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/common/screenshot.c: make " no decorations" option
	work; problem pointed out by Jean-Luc Coulon on dev list.
2005-06-05 15:50:20 +00:00
Sven Neumann 157fd5bbca if the area is larger than the brush, center the brush.
2005-06-05  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpviewrendererbrush.c
	(gimp_view_renderer_brush_render_timeout): if the area is larger
	than the brush, center the brush.
2005-06-05 00:03:24 +00:00
Sven Neumann e09ee5e501 app/widgets/gimpcoloreditor.c app/widgets/gimpcursorview.c
2005-06-05  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpcoloreditor.c
	* app/widgets/gimpcursorview.c
	* app/widgets/gimpdataeditor.c
	* app/widgets/gimpeditor.c
	* app/widgets/gimphistogrameditor.c
	* app/widgets/gimppaletteeditor.c: peek at the default interface to
	get the parent interface. Unconditionally chain up in get_aux_info()
	and set_aux_info() methods.
2005-06-04 22:49:53 +00:00
Manish Singh 7475212d5c reorder to get the marshal files built first.
2005-06-04  Manish Singh  <yosh@gimp.org>

        * libgimp/Makefile.am: reorder to get the marshal files built first.
2005-06-04 22:41:15 +00:00
Manish Singh 7a63a7980f new formal widget based on gimpfontmenu.[ch].
2005-06-04  Manish Singh  <yosh@gimp.org>

        * libgimp/gimpfontselectbutton.[ch]: new formal widget based on
        gimpfontmenu.[ch].

        * libgimp/gimpuimarshal.list: needed for new signal in above.

        * libgimp/gimpfontmenu.[ch]: deprecate, and thinly wrap around
        new GimpFontSelectButton for compatibility.

        * libgimp/gimpuitypes.h: add GimpFontSelectButton, as well
        as types for the future SelectButtons.

        * libgimp/gimpui.h
        * libgimp/Makefile.am: hook in the new widget.

        * plug-ins/common/film.c
        * plug-ins/script-fu/script-fu-interface.c: use new API.
2005-06-04 22:36:05 +00:00
Sven Neumann f173198669 app/widgets/gimpdocked.[ch] moved button-bar API to the GimpDocked
2005-06-05  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpdocked.[ch]
	* app/widgets/gimpeditor.[ch]: moved button-bar API to the
	GimpDocked interface.

	* app/widgets/gimpcontainereditor.c: implement the new interface
	methods and proxy them to the embedded docked.

	* app/actions/dockable-actions.c
	* app/actions/dockable-commands.c: changed accordingly.
2005-06-04 22:32:31 +00:00
Manish Singh 95a573431a libgimp/gimpimagecombobox.h fix the type macros so they work.
2005-06-04  Manish Singh  <yosh@gimp.org>

        * libgimp/gimpimagecombobox.h
        * libgimp/gimpdrawablecombobox.h: fix the type macros so they work.
2005-06-04 22:11:56 +00:00
Sven Neumann 2832700c04 don't include gimpeditor.h.
2005-06-04  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpcontainerview.h: don't include gimpeditor.h.

	* app/widgets/gimpbufferview.c
	* app/widgets/gimpdocumentview.c
	* app/widgets/gimpfontview.c
	* app/widgets/gimpimageview.c: include it here instead.
2005-06-04 21:20:31 +00:00
Sven Neumann 5412fac02b app/actions/dockable-actions.c app/actions/dockable-commands.[ch]
2005-06-04  Sven Neumann  <sven@gimp.org>

	* app/actions/dockable-actions.c
	* app/actions/dockable-commands.[ch]
	* app/widgets/gimpeditor.[ch]
	* app/widgets/gimphelp-ids.h
	* menus/dockable-menu.xml.in: allow to show/hide the button-bar in
	GimpEditor. Should be merged into the GimpDocked interface.
2005-06-04 21:00:48 +00:00
Manish Singh 7ce0c7a90c define _O_BINARY ourselves if it's not defined by any headers, and use
2005-06-04  Manish Singh  <yosh@gimp.org>

        * plug-ins/helpbrowser/dialog.c: define _O_BINARY ourselves if
        it's not defined by any headers, and use that instead of #ifdefed
        calls to g_open.
2005-06-04 19:25:44 +00:00
Sven Neumann 1d59a0c818 validate the iter after appending to the text buffer.
2005-06-04  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpwidgets-utils.c (gimp_text_buffer_load):
	validate the iter after appending to the text buffer.
2005-06-04 17:38:27 +00:00
Sven Neumann 498171fe1e fix calculation of zoom offsets in the case that dot-for-dot mode is not
2005-06-04  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpmagnifytool.c (gimp_magnify_tool_button_release):
	fix calculation of zoom offsets in the case that dot-for-dot mode
	is not enabled (bug #306476).
2005-06-04 14:57:06 +00:00
Sven Neumann 8404a9e4e3 use the viewable's description in the drag icon. Use a larger preview.
2005-06-04  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpdnd.c (gimp_dnd_get_viewable_icon): use the
	viewable's description in the drag icon. Use a larger preview.

	* app/widgets/gimpdockbook.c: tweak spacing and border-width of
	the tab widget if it is being used as drag icon.
2005-06-04 12:54:24 +00:00
Sven Neumann 80d4e4f5b0 invalidate the buffer when the widget's sensitivity changes. Draw a
2005-06-04  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpcolorarea.[ch]: invalidate the buffer when
	the widget's sensitivity changes. Draw a stipple pattern on the
	insensitive color area.

	* libgimpwidgets/gimpcellrenderercolor.c: follow internal API change.

	* libgimpwidgets/gimpcolorbutton.c: pass GDK_BUTTON1_MASK as
	drag-mask. Doesn't work for whatever reason but it didn't work
	with GDK_BUTTON2_MASK either.
2005-06-04 12:02:36 +00:00
Michael Schumacher 525de1b084 use GetDesktopWindow() and SW_SHOW as suggested in bug #171200. Applied to
2005-06-04  Michael Schumacher  <schumaml@cvs.gnome.org>

	* plug-ins/common/webbrowser.c: use GetDesktopWindow() and SW_SHOW
	as suggested in bug #171200. Applied to both branches.
2005-06-04 11:50:32 +00:00
Michael Schumacher 578fef6886 added #ifdef G_OS_WIN32 because O_BINARY isn't available on other
2005-06-04  Michael Schumacher  <schumaml@cvs.gnome.org>

	* plug-ins/helpbrowser/dialog.c: added #ifdef G_OS_WIN32 because
	O_BINARY isn't available on other platforms
2005-06-04 11:41:53 +00:00
Sven Neumann be3a1dcc08 reduced the number of characters to show before ellipsizing the label.
2005-06-04  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpdnd.c (gimp_dnd_get_viewable_icon): reduced the
	number of characters to show before ellipsizing the label.

	* libgimpwidgets/gimpcolorarea.c: added a "draw-border" property.

	* app/widgets/gimpcolorframe.c: draw a border around the color area.
2005-06-04 10:12:03 +00:00
Michael Schumacher 4da086d48c added a O_BINARY to make sure that images are loaded correctly
2005-06-03  Michael Schumacher  <schumaml@cvs.gnome.org>

	* plug-ins/helpbrowser/dialog.c: added a O_BINARY to make sure
	that images are loaded correctly
2005-06-04 08:46:48 +00:00
Manish Singh 703125db20 create the layer combo with the right type.
2005-06-03  Manish Singh  <yosh@gimp.org>

        * libgimp/gimpdrawablecombobox.c: create the layer combo with the
        right type.
2005-06-04 01:44:52 +00:00
Manish Singh f346159e6a tools/pdbgen/Makefile.am removed, unneeded now.
2005-06-03  Manish Singh  <yosh@gimp.org>

        * tools/pdbgen/Makefile.am
        * tools/pdbgen/enumcode-py.pl: removed, unneeded now.
2005-06-04 01:10:58 +00:00
Sven Neumann b9186b8378 added property for "mode", fixed some implementation issues.
2005-06-04  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpcolorframe.[ch]: added property for "mode",
	fixed some implementation issues.

	* app/widgets/gimpsamplepointeditor.c: create the color frames
	using g_object_new().
2005-06-04 00:56:00 +00:00
Manish Singh e8c7a7a497 plug-ins/pygimp/pygimp-api.h export our API to other modules in a saner
2005-06-03  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/pygimp-api.h
        * plug-ins/pygimp/gimpmodule.c: export our API to other modules
        in a saner fashion. Also add checks_get_shades method.

        * plug-ins/pygimp/procbrowser.c: Use new export API.

        * plug-ins/pygimp/pygimp-drawable.c (drw_mask_intersect):
        use Py_BuildValue to build the tuple.

        * plug-ins/pygimp/pygimp-image.c (img_repr): capitalization fix.

        * plug-ins/pygimp/pygimp-rgb.c
        * plug-ins/pygimp/pygimpcolor.h
        * plug-ins/pygimp/gimpcolormodule.c: beginnings of a wrapper to
        libgimpcolor.

        * plug-ins/pygimp/gimpfu.py
        * plug-ins/pygimp/gimpenums.py
        * plug-ins/pygimp/gimpenumsmodule.c: use gimp enum API to find out
        our enums.

        * plug-ins/pygimp/Makefile.am: hook in all of the above.
2005-06-04 00:17:06 +00:00
Manish Singh 5c160d196c build pygimp by default.
2005-06-03  Manish Singh  <yosh@gimp.org>

        * configure.in: build pygimp by default.
2005-06-03 23:58:49 +00:00
William Skaggs 48845d0a05 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/widgets/gimpcolorframe.[ch]: add "has-color-area" property,
	FALSE by default.

	* app/widgets/gimpsamplepointeditor.c: explicitly add a color
	area to the color frames.
2005-06-03 23:57:02 +00:00
Sven Neumann 33131e6a82 show the viewable's name in the drag icon.
2005-06-04  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpdnd.c (gimp_dnd_get_viewable_icon): show the
	viewable's name in the drag icon.
2005-06-03 23:55:05 +00:00
Michael Natterer 5dd7b6443b bail out early if the view has no container (instead of crashing).
2005-06-04  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcontainertreeview-dnd.c
	(gimp_container_tree_view_drop_status): bail out early if the view
	has no container (instead of crashing).
2005-06-03 23:53:48 +00:00
Manish Singh 24b3e080f6 whitespace fix.
2005-06-03  Manish Singh  <yosh@gimp.org>

        * libgimpcolor/gimprgb.h: whitespace fix.

        * libgimpwidgets/gimpchainbutton.h
        * libgimpwidgets/gimpwidgetsenums.[ch]: move GimpChainPosition
        to a registered enum, and register GimpSizeEntryUpdatePolicy as
        as well.

        * libgimp/gimpuitypes.h
        * libgimp/gimpdrawablecombobox.[ch]: turn these into GObjects
        with their own types.

        * libgimp/gimpimagecombobox.c: use G_DEFINE_TYPE.
2005-06-03 23:38:45 +00:00
Manish Singh b77ca997a7 make _gimp_enums_init public, so language bindings can do early enum
2005-06-03  Manish Singh  <yosh@gimp.org>

        * tools/pdbgen/enumcode.pl: make _gimp_enums_init public, so
        language bindings can do early enum registration if needed.

        * libgimp/gimpenums.h
        * libgimp/gimpenums.c.tail: regenerated

        * gimp.c: call gimp_enums_init instead of _gimp_enums_init.

        * gimp.def: add newly exported function.
2005-06-03 23:25:44 +00:00
Manish Singh 93490ae76b require python 2.2.1, so True and False are always there. Check for pygtk
2005-06-03  Manish Singh  <yosh@gimp.org>

        * configure.in: require python 2.2.1, so True and False are always
        there. Check for pygtk codegen stuff, we'll be using that in the
        future.

        * plug-ins/pygimp/plug-ins/*.py: Use True and False instead of
        TRUE and FALSE.
2005-06-03 23:15:23 +00:00
William Skaggs cfed1f28ea Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/core/gimpitem-align.c
	* app/core/gimpitem-align.h (gimp_item_align): remove push_undo
	arg, useless as pointed out by mitch.

	* app/tools/gimpaligntool.c: changed correspondingly.
2005-06-03 22:46:58 +00:00
Michael Natterer 39a8c9685a added API to show a number in front of the color area.
2005-06-04  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcolorframe.[ch]: added API to show a number in
	front of the color area.

	* app/widgets/gimpsamplepointeditor.c: use the new API to put the
	sample points' numbers there.
2005-06-03 22:34:28 +00:00
William Skaggs 643e2257f5 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/core/gimpitem-align.[ch]: newly created to
	hold code for gimp_item_align().

	* app/core/Makefile.am: add new files

	* app/core/gimpitem.[ch]: remove code from here.

	* app/tools/gimpaligntool.c: fix includes and remove
	unneeded includes.
2005-06-03 21:52:39 +00:00
Michael Natterer 635795cc50 pack the color area and the labels into different vboxes to make the
2005-06-03  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcolorframe.c (gimp_color_frame_init): pack the
	color area and the labels into different vboxes to make the widget
	compact again.
2005-06-03 21:36:29 +00:00
William Skaggs 7250297297 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* gimp/app/tools/Makefile.am
	* gimp/app/tools/gimp-tools.c
	* gimp/app/tools/gimpalignoptions.c
	* gimp/app/tools/gimpalignoptions.h
	* gimp/app/tools/gimpaligntool.c
	* gimp/app/tools/gimpaligntool.h: Add new tool for
	aligning layers etc, as described in bug #147437.

	* gimp/app/core/gimpitem.c
	* gimp/app/core/gimpitem.h (gimp_item_align): add
	function required by new tool.

	* gimp/app/core/core-enums.c
	* gimp/app/core/core-enums.h: add enum for alignment
	types.

	* gimp/themes/Default/images/stock-hcenter-24.png
	* gimp/themes/Default/images/stock-vcenter-24.png
	* gimp/libgimpwidgets/gimpstock.c
	* gimp/libgimpwidgets/gimpstock.h
	* gimp/themes/Default/images/Makefile.am
	* gimp/themes/Default/images/makefile.msc: add two
	stock symbols, modeled on the gravity symbols.
2005-06-03 17:05:01 +00:00
William Skaggs b91651fe8f Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/tools/gimprectangletool.c (gimp_rectangle_tool_motion):
	Don't change function before creating new rectangle;
	cause of problem identified by Karine Delvare.
2005-06-02 22:48:43 +00:00
William Skaggs c635b2be13 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/common/screenshot.c: trap errors when running
	XGrabKey, to prevent bail-out on BadAccess error as
	reported by Jean-Luc Coulon on developers list; solution
	suggested by Simon Budig.
2005-06-02 18:03:50 +00:00
Raphael Quinet 8114272551 New splash. A twist on the original PixelPusher concept by jimmac.
2005-06-02  Raphael Quinet  <raphael@gimp.org>

	* data/images/gimp-splash.png: New splash.  A twist on the
	original PixelPusher concept by jimmac.
2005-06-02 13:06:16 +00:00
William Skaggs b2465d29f7 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/widgets/gimpcolorframe.[ch]: add a color area, to make
	sample points dialog show a swatch of color for each point.
2005-06-01 20:10:39 +00:00
Simon Budig 41b549a7b0 cosmetic change: Make the stroke IDs start from 1.
2005-06-01  Simon Budig  <simon@gimp.org>

	* app/vectors/gimpvectors.c: cosmetic change: Make the stroke IDs
	start from 1.

	* tools/pdbgen/pdb/vectors.pdb: Two more wrappers:
	vectors_stroke_remove and vectors_stroke_interpolate. Undo still
	unsolved.

	* app/pdb/internal_procs.c
	* app/pdb/vectors_cmds.c
	* libgimp/gimpvectors_pdb.[ch]: regenerated.
2005-06-01 16:20:46 +00:00
William Skaggs 5a5651ec58 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/tools/gimpbrightnesscontrasttool.[ch]: Allow tool to be
	operating by clicking and dragging inside the image, as
	described in bug #165330.
2005-05-31 19:33:14 +00:00
Maurits Rijk 2bc4ca796d plug-ins/common/CEL.c plug-ins/common/gbr.c plug-ins/common/gee.c
2005-05-31  Maurits Rijk  <m.rijk@chello.nl>

	* plug-ins/common/CEL.c
	* plug-ins/common/gbr.c
	* plug-ins/common/gee.c
	* plug-ins/common/hot.c
	* plug-ins/common/pat.c
	* plug-ins/common/pcx.c
	* plug-ins/common/spheredesigner.c
	* plug-ins/common/tiler.c
	* plug-ins/common/zealouscrop.c: GPL license added for plug-ins
	without any license. If any of the authors objects we will
	probably have to remove the plug-in.
2005-05-31 19:10:46 +00:00
Maurits Rijk bde8c0d4c2 Forgotten during previous commit. 2005-05-31 18:18:15 +00:00
Maurits Rijk 2fc3ba5e7a plug memory leak. Fixes #305995.
2005-05-31  Maurits Rijk  <m.rijk@chello.nl>

	* plug-ins/imagemap/imap_selection.c: plug memory leak. Fixes #305995.
2005-05-31 18:05:10 +00:00
Sven Neumann 315061ca00 use XGrabKey() to grab the Escape key instead of doing a full keyboard
2005-05-31  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/screenshot.c (select_window_x11): use XGrabKey()
	to grab the Escape key instead of doing a full keyboard grab.
2005-05-31 15:35:51 +00:00
Sven Neumann 07d6c60432 added missing cast.
2005-05-31  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpaction.c (gimp_action_set_proxy): added missing
	cast.
2005-05-31 14:51:13 +00:00
Sven Neumann 5f52d2d515 code cleanup.
2005-05-31  Sven Neumann  <sven@gimp.org>

	* app/core/gimpprojection-construct.c: code cleanup.
2005-05-31 14:49:01 +00:00
Michael Natterer 228762e1f2 enable ellipsation on the progressbar. Fixes initial display width
2005-05-31  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpstatusbar.c (gimp_statusbar_init): enable
	ellipsation on the progressbar. Fixes initial display width
	calculation for long statusbar strings.
2005-05-31 13:59:48 +00:00
Michael Natterer 82d1b13b5c re-enabled tooltips on the "Open Recent" menu items, using an evil but
2005-05-31  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpaction.c (gimp_action_set_proxy): re-enabled
	tooltips on the "Open Recent" menu items, using an evil but
	documented heuristic.
2005-05-31 13:56:46 +00:00
Sven Neumann 2840d26518 don't leak the return value of gtk_container_get_children (bug #305994,
2005-05-31  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpenumwidgets.c
	(gimp_enum_stock_box_set_child_padding): don't leak the return
	value of gtk_container_get_children (bug #305994, spotted by Ted
	Kremenek).

	* app/config/gimprc-serialize.c (gimp_rc_serialize_properties_diff):
	don't leak the GList in the unlikely case of an error (bug #305992,
	spotted by Ted Kremenek).
2005-05-31 10:47:09 +00:00
Sven Neumann d9b5c44c3c applied patch from Joao S. O. Bueno Calligaris that adds support for
2005-05-31  Sven Neumann  <sven@gimp.org>

	* app/core/gimppalette-import.c: applied patch from Joao
	S. O. Bueno Calligaris that adds support for loading PSP color
	palette files (bug #305956).
2005-05-31 10:34:36 +00:00
Sven Neumann 50c61cc2e6 capitalization and mnemonics.
2005-05-30  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/screenshot.c: capitalization and mnemonics.
2005-05-30 09:10:29 +00:00
Sven Neumann 101c5a2dc9 pass GIMP_COLOR_AREA_CHECKS_SMALL instead of TRUE for the type of the
2005-05-29  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpdnd.c (gimp_dnd_get_color_icon): pass
	GIMP_COLOR_AREA_CHECKS_SMALL instead of TRUE for the type of the
	GimpColorArea.

	* app/widgets/gimpcoloreditor.c: added a "context" property.

	* libgimpwidgets/gimpcolorarea.c (gimp_color_area_set_color):
	always use gimp_rgba_distance(), regardless of the area's type.
2005-05-29 13:48:03 +00:00
Manish Singh e495900309 plug-ins/pygimp/gimpmodule.c use DL_EXPORT for the init functions, maybe
2005-05-28  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/gimpmodule.c
        * plug-ins/pygimp/procbrowser.c: use DL_EXPORT for the init functions,
        maybe this will help Win32 builds. Also some minor cleanups.
2005-05-28 23:56:07 +00:00
Manish Singh 2ce8e34c0a libgimp/gimpuitypes.h turn this into a GObject with its own type.
2005-05-28  Manish Singh  <yosh@gimp.org>

        * libgimp/gimpuitypes.h
        * libgimp/gimpimagecombobox.[ch]: turn this into a GObject with its
        own type.
2005-05-28 23:08:07 +00:00
Maurits Rijk 3ee2a3a0aa use gtk_about_dialog instead of home-brewn stuff.
2005-05-28  Maurits Rijk  <m.rijk@chello.nl>

	* plug-ins/imagemap/imap_about.c: use gtk_about_dialog instead of
	home-brewn stuff.

	* plug-ins/imagemap/imap_main.c
	* plug-ins/imagemap/imap_menu.c: minor clean-up.
2005-05-28 18:13:18 +00:00
Manish Singh 4b10d69d66 We're going back... TO THE FUTURE 2005-05-28 08:21:37 +00:00
Sven Neumann 93eab43eef Use the canonical form for signal names.
2005-05-27  Sven Neumann  <sven@gimp.org>

	* (lots of files): Use the canonical form for signal names.
2005-05-27 16:51:39 +00:00
Sven Neumann 3ca90a182e Use the canonical form for signal names in lots of places (but by far not
2005-05-27  Sven Neumann  <sven@gimp.org>

	* (lots of files): Use the canonical form for signal names in lots
	of places (but by far not all).
2005-05-27 13:05:26 +00:00
Sven Neumann 9a5cd29c69 connect to "name-changed" of the active drawable and change the name
2005-05-27  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimphistogrameditor.[ch]: connect to "name-changed"
	of the active drawable and change the name displayed in the editor.
2005-05-27 11:48:50 +00:00
Sven Neumann 684591f81c added a name label (with properties to show/hide and to set it).
2005-05-27  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpeditor.[ch]: added a name label (with properties
	to show/hide and to set it).

	* app/widgets/gimpcontainergridview.[ch]
	* app/widgets/gimphistogrameditor.[ch]: removed the label here and
	use the functionality now provided by GimpEditor instead.

	* app/widgets/gimpcontainerpopup.c: changed accordingly.
2005-05-27 11:40:06 +00:00
Sven Neumann 337947de29 reverted previous change for now.
2005-05-27  Sven Neumann  <sven@gimp.org>

	* app/core/gimpdata.c: reverted previous change for now.
2005-05-27 10:56:33 +00:00
Sven Neumann f0224fe104 mark properties as serializable.
2005-05-27  Sven Neumann  <sven@gimp.org>

	* app/core/gimpdata.c: mark properties as serializable.
2005-05-27 10:49:54 +00:00
Sven Neumann 5d40187247 plug-ins/helpbrowser/dialog.c store the scroll offset in the history and
2005-05-26  Sven Neumann  <sven@gimp.org>

	* plug-ins/helpbrowser/dialog.c
	* plug-ins/helpbrowser/queue.[ch]: store the scroll offset in the
	history and set it when using the Back and Forward actions. Fixes
	bug #165022.
2005-05-26 17:13:59 +00:00
Sven Neumann 8eeb831d5f destroy the regions allocated here.
2005-05-26  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell.c (gimp_display_shell_set_highlight):
	destroy the regions allocated here.
2005-05-26 13:43:35 +00:00
Sven Neumann cbd446ee56 fixed capitalization, removed trailing whitespace.
2005-05-26  Sven Neumann  <sven@gimp.org>

	* app/dialogs/channel-options-dialog.c: fixed capitalization,
	removed trailing whitespace.

	* app/actions/channels-commands.c (channels_new_channel_response):
	also set the channel color if creating the channel by duplicating
	the selection.

	* app/actions/channels-commands.c
	* app/actions/qmask-commands.c: added mnemonics.
2005-05-26 10:01:04 +00:00
Nate Summers 15a629c640 changes to the log are fun 2005-05-26 04:18:55 +00:00
Sven Neumann bbc1c947ad added more properties.
2005-05-26  Sven Neumann  <sven@gimp.org>

	* app/core/gimpdata.c: added more properties.
2005-05-25 23:47:42 +00:00
Sven Neumann 59cb5d75ba added MIME type as a construct property to GimpData.
2005-05-26  Sven Neumann  <sven@gimp.org>

	* app/core/gimpdata.[ch]: added MIME type as a construct property
	to GimpData.

	* app/core/gimpbrush-load.c
	* app/core/gimpbrushgenerated.c
	* app/core/gimpbrushpipe.c
	* app/core/gimpgradient-load.c
	* app/core/gimppalette.c
	* app/core/gimppattern.c: set the MIME type when loading a data
	object from file. MIME types needs review and GimpPalette isn't
	quite done yet...

	* app/core/gimpdashpattern.c: cosmetics.
2005-05-25 23:25:45 +00:00
Nathan Summers 79f57d5b5f made the G_FILENAME_ENCODING not or incorrectly set error message more
2005-05-25  Nathan Summers  <rock@gimp.org>

        * app/sanity.c (sanity_check_filename_encoding): made the
        G_FILENAME_ENCODING not or incorrectly set error message more
        idiomatic.
2005-05-25 23:21:06 +00:00
Sven Neumann c863ad0fc2 correctly handle very small target sizes.
2005-05-25  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpoffsetarea.c (gimp_offset_area_expose_event):
	correctly handle very small target sizes.
2005-05-25 11:49:54 +00:00
Sven Neumann e0b3fdfc3c fixed gtk-doc comments.
2005-05-25  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpclipboard.[ch]: fixed gtk-doc comments.
2005-05-25 11:23:06 +00:00
Michael Natterer 7abaab62e0 added virtual function GimpViewable::get_size() and public API
2005-05-25  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpviewable.[ch]: added virtual function
	GimpViewable::get_size() and public API gimp_viewable_get_size()
	which return width and height and a boolean indicating if the
	viewable has a size at all.
	Added default implementation of GimpViewable::get_popup_size()
	using the new get_size() API.

	* app/core/gimpbrush.c
	* app/core/gimpbuffer.c
	* app/core/gimpdrawable.c
	* app/core/gimpimage.c
	* app/core/gimppattern.c: implement GimpViewable::get_size().

	* app/core/gimpbrush.c
	* app/core/gimppattern.c: removed GimpViewable::get_popup_size()
	implementations, the default one is good enough.

	* app/core/gimpbrushpipe.c (gimp_brush_pipe_get_popup_size):
	redirect to gimp_viewable_get_size() instead of duplicating its
	return values.

	* app/widgets/gimpcontainertreeview.c
	* app/widgets/gimpview.c: allow pixbuf dragging out of any
	viewable that has a size.

	* app/widgets/gimpdrawabletreeview.c: removed pixbuf dragging code
	here.

	* app/widgets/gimpdnd.c: set gimp busy around encoding/decoding
	pixbufs into/from GtkSelectionData, because it can be a time
	consuming operation.
2005-05-25 10:05:17 +00:00
Michael Natterer 4bbeec9640 fixed type of the dropped layer.
2005-05-25  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimptoolbox-dnd.c (gimp_toolbox_drop_pixbuf): fixed
	type of the dropped layer.
2005-05-25 09:54:05 +00:00
Sven Neumann 8f141bcb08 ellipsize the dockable title if it is too wide.
2005-05-25  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpdockable.c: ellipsize the dockable title if it
	is too wide.

	* app/widgets/gimpstrokeeditor.c: added mnemonic for the presets
	combo.
2005-05-25 09:45:06 +00:00
Michael Natterer a398aba3d2 implemented dropping of pixbufs. Bail out early from all callbacks if
2005-05-25  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimptoolbox-dnd.c: implemented dropping of pixbufs.
	Bail out early from all callbacks if gimp->busy is TRUE.
2005-05-24 22:22:24 +00:00
Michael Natterer baee43b51a added --store option which tries to store a file in the clipboard manager,
2005-05-25  Michael Natterer  <mitch@gimp.org>

	* tools/test-clipboard.c: added --store option which tries to
	store a file in the clipboard manager, improved error reporting.
2005-05-24 22:06:52 +00:00
Sven Neumann 014f22c4c7 only set a horizontal size request on the vertical color bar.
2005-05-24  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpcolorselect.c: only set a horizontal size
	request on the vertical color bar.
2005-05-24 10:48:47 +00:00
Sven Neumann 0d6c07eac6 plugged a small memleak.
2005-05-24  Sven Neumann  <sven@gimp.org>

	* libgimpconfig/gimpcolorconfig.c (gimp_color_config_set_property):
	plugged a small memleak.
2005-05-23 22:12:47 +00:00
Sven Neumann feb4a5b0d8 plug-ins/gfig/gfig-dialog.c initialize GimpRGB and GFigContext structs
2005-05-23  Sven Neumann  <sven@gimp.org>

	* plug-ins/gfig/gfig-dialog.c
	* plug-ins/gfig/gfig.c: initialize GimpRGB and GFigContext structs
	before using them.
2005-05-23 20:11:09 +00:00
Sven Neumann b6d0c2d3a2 also grab the keyboard and allow to cancel the operation using the Escape
2005-05-23  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/screenshot.c (select_window_x11): also grab the
	keyboard and allow to cancel the operation using the Escape key.
2005-05-23 10:47:32 +00:00
Sven Neumann b08d42c66d always apply the selected delay.
2005-05-23  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/screenshot.c: always apply the selected delay.
2005-05-23 09:53:18 +00:00
Sven Neumann ed19b5aabe we don't actually need to keep a pointer to the dashes array.
2005-05-23  Sven Neumann  <neumann@jpk.com>

	* app/widgets/gimpcellrendererdashes.[ch]: we don't actually need to
	keep a pointer to the dashes array.
	(gimp_cell_renderer_dashes_render): respect horizontal padding.

	* app/widgets/gimpstrokeeditor.c: added 2 pixels horizontal
	padding for the dashes cell-renderer.
2005-05-23 09:37:05 +00:00
Michael Schumacher 446dd757db added the missing -mwindows for OS_WIN32
2005-05-23  Michael Schumacher  <schumaml@cvs.gnome.org>

	* plug-ins/helpbrowser/Makefile.am: added the missing -mwindows
	for OS_WIN32
2005-05-22 23:46:37 +00:00
Tor Lillqvist 2e69860531 Don't crash if gimp.exe isn't found in PATH either.
2005-05-23  Tor Lillqvist  <tml@novell.com>

	* gimptool-win32.c.in (get_prefix): Don't crash if gimp.exe isn't
	found in PATH either.
2005-05-22 22:59:47 +00:00
Michael Natterer 5fc8730806 changed gimpwidgetsenums.c rule to include the bits for "desc" and "help"
2005-05-22  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/Makefile.am: changed gimpwidgetsenums.c rule to
	include the bits for "desc" and "help" support.

	* libgimpwidgets/gimpwidgetsenums.h: added "desc" and "help"
	strings for the GimpColorSelectorChannel enum.

	* libgimpwidgets/gimpwidgetsenums.c: added to CVS because it
	contains translatable strings now.

	* libgimpwidgets/gimpwidgets.def: changed accordingly.

	* libgimpwidgets/gimpcolorscales.c
	* libgimpwidgets/gimpcolorselect.c: removed duplicated arrays of
	strings here and get them from the type system.
2005-05-22 21:00:20 +00:00
Michael Natterer bcc88a5281 changed gimpwidgetsenums.c rule to include the bits for "desc" and "help"
2005-05-22  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/Makefile.am: changed gimpwidgetsenums.c rule to
	include the bits for "desc" and "help" support.

	* libgimpwidgets/gimpwidgetsenums.h: added "desc" and "help"
	strings for the GimpColorSelectorChannel enum.

	* libgimpwidgets/gimpwidgetsenums.c: added to CVS because it
	contains translatable strings now.

	* libgimpwidgets/gimpcolorscales.c
	* libgimpwidgets/gimpcolorselect.c: removed duplicated arrays of
	strings here and get them from the type system.
2005-05-22 20:57:23 +00:00
Sven Neumann d21f31d065 use quotewords() from Text::ParseWords to split the trigraph. This
2005-05-22  Sven Neumann  <sven@gimp.org>

	* tools/gimp-mkenums (parse_trigraph): use quotewords() from
	Text::ParseWords to split the trigraph. This function correctly
	deals with commas inside quotes.

	* app/core/core-enums.[ch]: tweaked descriptions in the
	GimpDashPreset enum.
2005-05-22 13:12:14 +00:00
Sven Neumann 7358758f68 minor cleanup.
2005-05-22  Sven Neumann  <sven@gimp.org>

	* app/core/gimpdashpattern.c: minor cleanup.

	* app/widgets/gimpcellrendererdashes.c: don't draw a background,
	draw the dash pattern twice, use the correct widget state.
2005-05-22 12:20:25 +00:00
Manish Singh 2247561883 don't do pointer arithmetic with void *. Fixes bug #305005.
2005-05-21  Manish Singh  <yosh@gimp.org>

        * plug-ins/metadata/metadata.c (run): don't do pointer arithmetic
        with void *. Fixes bug #305005.
2005-05-22 05:40:04 +00:00
Michael Natterer 3ebe38bb33 added --selection-type option which allows operating on any of PRIMARY,
2005-05-22  Michael Natterer  <mitch@gimp.org>

	* tools/test-clipboard.c: added --selection-type option which
	allows operating on any of PRIMARY, SECONDARY and CLIPBOARD.
2005-05-22 02:33:13 +00:00
Sven Neumann a8318e18c5 added utility functions to copy and to free a dash pattern.
2005-05-21  Sven Neumann  <sven@gimp.org>

	* app/core/gimpdashpattern.[ch]: added utility functions to copy
	and to free a dash pattern.

	* app/widgets/Makefile.am
	* app/widgets/widgets-types.h
	* app/widgets/gimpcellrendererdashes.[ch]: added a simple cell
	renderer to visualize a dash pattern.

	* app/widgets/gimpstrokeeditor.c: show previews of the dash
	presets in the combo-box.
2005-05-21 20:24:42 +00:00
Michael Natterer b6ad77a1bd NULL terminate the options array.
2005-05-21  Michael Natterer  <mitch@gimp.org>

	* tools/test-clipboard.c (main): NULL terminate the options array.
2005-05-21 20:23:13 +00:00
Sven Neumann 8386ca04a1 Allow to paste a new image using Ctrl-V (bug 169477):
2005-05-21  Sven Neumann  <sven@gimp.org>

	Allow to paste a new image using Ctrl-V (bug 169477):

	* menus/toolbox-menu.xml.in: added an accelerator for "edit-paste".

	* app/actions/edit-actions.c: keep "edit-paste" always enabled,
	even if no image is present.

	* app/actions/edit-commands.c (edit_paste_cmd_callback): forward
	to "edit-paste-as-new" if we are being called from the toolbox.
2005-05-21 14:25:06 +00:00
Sven Neumann 5dd652faba improved reporting of errors while parsing the menu definitions.
2005-05-21  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpuimanager.c: improved reporting of errors
	while parsing the menu definitions.
2005-05-21 14:13:33 +00:00
Sven Neumann e89dc8e224 changed default dithering to GIMP_NO_DITHER (bug #303063).
2005-05-21  Sven Neumann  <sven@gimp.org>

	* app/dialogs/convert-dialog.c:
	* libgimp/gimpexport.c (export_convert_indexed): changed default
	dithering to GIMP_NO_DITHER (bug #303063).
2005-05-21 00:38:19 +00:00
Sven Neumann 04d9d5bd43 libgimpwidgets/gimpcolorarea.c more object properties.
2005-05-20  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpcolorarea.c
	* libgimpwidgets/gimpcolorbutton.c: more object properties.
2005-05-20 20:42:39 +00:00
Sven Neumann 6bd6a44442 libgimpwidgets/Makefile.am libgimpwidgets/gimpwidgetsenums.h moved enums
2005-05-20  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/Makefile.am
	* libgimpwidgets/gimpwidgetsenums.h
	* libgimpwidgets/gimpwidgetstypes.h: moved enums to a new file and
	register the GimpColorAreaType enum with the type system.

	* libgimpwidgets/gimpwidgets.def: updated.

	* libgimpwidgets/gimpcolorarea.c: added an object property.
2005-05-20 18:34:00 +00:00
Sven Neumann 1e4a9b7499 started to add object properties.
2005-05-20  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpcolorbutton.c: started to add object properties.
2005-05-20 18:07:20 +00:00
Manish Singh d1d6d48577 Fix ytpo in wget command line so it actually works.
2005-05-20  Manish Singh  <yosh@gimp.org>

        * plug-ins/uri/uri-backend-wget.c (uri_backend_load_image): Fix ytpo
        in wget command line so it actually works.
2005-05-20 17:06:26 +00:00
Michael Natterer 05b0266911 don't include "libgimpbase/gimpbase.h"
2005-05-20  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpdashpattern.c: don't include "libgimpbase/gimpbase.h"
2005-05-20 15:30:57 +00:00
Sven Neumann 3de9e50f67 made the color selection dialog transient to the window that contains the
2005-05-20  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpcolorbutton.c (gimp_color_button_clicked):
	made the color selection dialog transient to the window that
	contains the color button.
2005-05-20 12:56:05 +00:00
Sven Neumann 282da81e53 moved the color picker button out of the row of notebook switching buttons
2005-05-20  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpcoloreditor.c: moved the color picker button out
	of the row of notebook switching buttons next to the hex entry.
2005-05-20 10:54:44 +00:00
Sven Neumann 3d6478c8b5 put the hex entry above the color history again.
2005-05-20  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpcolorselection.c: put the hex entry above the
	color history again.

	* libgimpwidgets/gimpcolorscales.c: do not allocate row spacing
	for the alpha row if it isn't visible.
2005-05-20 10:43:38 +00:00
Manish Singh 65b2cdba10 don't do pointer arithmetic with void *. Fixes bug #304701.
2005-05-19  Manish Singh  <yosh@gimp.org>

        * plug-ins/jpeg/jpeg-save.c (save_image): don't do pointer arithmetic
        with void *. Fixes bug #304701.
2005-05-20 00:08:50 +00:00
Manish Singh 88ffd5e84a Add casts to G_OBJECT() for gimp_config_diff().
2005-05-19  Manish Singh  <yosh@gimp.org>

        * app/config/test-config.c: Add casts to G_OBJECT() for
        gimp_config_diff().
2005-05-19 23:43:08 +00:00
Sven Neumann 38f5546f5b removed the hex entry from the GimpColorScales widget.
2005-05-19  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpcolorscales.c: removed the hex entry from the
	GimpColorScales widget.

	* libgimpwidgets/gimpcolorselection.c: added it here instead.

	* app/widgets/gimpcoloreditor.[ch]: and here, next to the FG/BG
	editor.
2005-05-19 17:08:03 +00:00
Sven Neumann 9b29707961 renamed property "miter" to "miter-limit" and added a description to be
2005-05-19  Sven Neumann  <sven@gimp.org>

	* app/core/gimpstrokeoptions.[ch]: renamed property "miter" to
	"miter-limit" and added a description to be used as a tooltip in
	the stroke editor.

	* app/core/gimpdrawable-stroke.c
	* app/widgets/gimpstrokeeditor.c: changed accordingly.
2005-05-19 15:17:30 +00:00
Sven Neumann 7902e11bee app/core/gimpstrokeoptions.[ch] app/widgets/gimpdasheditor.c small change
2005-05-19  Sven Neumann  <sven@gimp.org>

	* app/core/gimpstrokeoptions.[ch]
	* app/widgets/gimpdasheditor.c
	* app/widgets/gimpstrokeeditor.c: small change to the internal API
	to reduce code and conversion between GArray and GValueArray.
2005-05-19 11:08:50 +00:00
Sven Neumann 9bb255a3cf app/core/gimpdashpattern.[ch] moved more code out of GimpDashEditor to
2005-05-19  Sven Neumann  <sven@gimp.org>

	* app/core/gimpdashpattern.[ch]
	* app/widgets/gimpdasheditor.c: moved more code out of
	GimpDashEditor to gimpdashpattern.c. Fixed bug in last commit.
2005-05-19 00:40:48 +00:00
Sven Neumann c7ba1dfc71 app/core/gimpdashpattern.[ch] moved code out of GimpDashEditor to
2005-05-19  Sven Neumann  <sven@gimp.org>

	* app/core/gimpdashpattern.[ch]
	* app/widgets/gimpdasheditor.c: moved code out of GimpDashEditor
	to gimpdashpattern.c.
2005-05-18 23:59:35 +00:00
Michael Natterer 73e3f6f13b plug-ins/dbbrowser/Makefile.am removed again...
2005-05-19  Michael Natterer  <mitch@gimp.org>

	* plug-ins/dbbrowser/Makefile.am
	* plug-ins/dbbrowser/gimpbrowser.[ch]: removed again...

	* libgimpwidgets/Makefile.am
	* libgimpwidgets/gimpwidgetstypes.h
	* libgimpwidgets/gimpwidgets.h
	* libgimpwidgets/gimpwidgetsmarshal.list
	* libgimpwidgets/gimpwidgets.def
	* libgimpwidgets/gimpbrowser.[ch]: ...and added here.

	* plug-ins/dbbrowser/gimpprocbrowser.c
	* plug-ins/dbbrowser/plugin-browser.c: changed accordingly.

	* plug-ins/dbbrowser/gimpprocbrowser.c: fixed searching by help.
2005-05-18 23:48:47 +00:00
Sven Neumann 9aa2efcb32 use code from gimpdashpattern.c instead of duplicating it.
2005-05-19  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpdasheditor.c: use code from gimpdashpattern.c
	instead of duplicating it.
2005-05-18 23:44:04 +00:00
Sven Neumann 533481d220 app/core/gimpdashpattern.[ch] moved more code to the new files.
2005-05-19  Sven Neumann  <sven@gimp.org>

	* app/core/gimpdashpattern.[ch]
	* app/core/gimpstrokeoptions.c: moved more code to the new files.
2005-05-18 23:26:53 +00:00
Sven Neumann 146e4eee58 app/core/Makefile.am new files with coode split out of
2005-05-19  Sven Neumann  <sven@gimp.org>

	* app/core/Makefile.am
	* app/core/gimpdashpattern.[ch]: new files with coode split out of
	gimpstrokeoptions.c.

	* app/core/gimpstrokeoptions.c: use gimp_dash_pattern_from_preset().
2005-05-18 22:50:54 +00:00
Michael Natterer e68d749a8e don't allow copy and paste at the same time, fixed exit codes.
2005-05-19  Michael Natterer  <mitch@gimp.org>

	* tools/test-clipboard.c: don't allow copy and paste at the same
	time, fixed exit codes.
2005-05-18 22:34:15 +00:00
Michael Natterer 779d4252a6 plug-ins/dbbrowser/Makefile.am removed.
2005-05-19  Michael Natterer  <mitch@gimp.org>

	* plug-ins/dbbrowser/Makefile.am
	* plug-ins/dbbrowser/gimpprocbox.[ch]: removed.

	* plug-ins/dbbrowser/gimpbrowser.[ch]: new widget derived from
	GtkHPaned. Contains lots of common code from the procedure and
	plug-in browsers.

	* plug-ins/dbbrowser/gimpprocbrowser.c
	* plug-ins/dbbrowser/plugin-browser.c: use a GimpBrowser, lots of
	cleanups.

	* plug-ins/dbbrowser/gimpprocbrowser.c: support all possible search
	types. Addresses bug #301201.
2005-05-18 22:21:07 +00:00
Sven Neumann e75b1809dd set the file dialogs transient for the parent window (display or toolbox).
2005-05-18  Sven Neumann  <sven@gimp.org>

	* app/actions/file-commands.c (file_open_dialog_show): set the
	file dialogs transient for the parent window (display or toolbox).
2005-05-18 21:01:51 +00:00
Sven Neumann f727e29b0a fix compilation on IRIX (bug #304685).
2005-05-18  Sven Neumann  <sven@gimp.org>

	* app/core/gimpimage-snap.c: fix compilation on IRIX (bug #304685).
2005-05-18 19:53:52 +00:00
Sven Neumann f54e982e82 app/display/gimpdisplayshell-appearance.c removed the 2px border and
2005-05-18  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell-appearance.c
	* app/display/gimpdisplayshell.c: removed the 2px border and
	replaced it with a 1px spacing in the main vbox. Makes the screen
	edges active when working in fullscreen mode (bug #165774).
2005-05-18 14:32:14 +00:00
Sven Neumann c671472424 app/display/gimpdisplayshell-callbacks.c hack around with gtk+ widget
2005-05-18  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell-callbacks.c
	* app/display/gimpdisplayshell.c: hack around with gtk+ widget
	styles to get rid of the menubar padding in fullscreen mode.
2005-05-18 13:33:52 +00:00
Michael Natterer 938f0448dd implemented pasting. s/mime-type/target/g because that's what it is.
2005-05-18  Michael Natterer  <mitch@gimp.org>

	* tools/test-clipboard.c: implemented pasting.
	s/mime-type/target/g because that's what it is.
2005-05-18 00:56:22 +00:00
Michael Natterer be2f82cbc5 cleanup.
2005-05-18  Michael Natterer  <mitch@gimp.org>

	* tools/test-clipboard.c: cleanup.
2005-05-18 00:30:19 +00:00
Michael Natterer 1b294bf8c3 tools/Makefile.am new file, a test hack for clipboard debugging.
2005-05-18  Michael Natterer  <mitch@gimp.org>

	* tools/Makefile.am
	* tools/test-clipboard.c: new file, a test hack for clipboard
	debugging.
2005-05-17 22:42:50 +00:00
Helvetix Victorinox f41b1f24f6 Trying to be more flexible in register use so the compiler can do reloads
* app/composite/gimp-composite-sse2.c:
Trying to be more flexible in register use so the compiler can do
reloads without running out of registers when using optimisation
modes other than 2.

Avoid the message "error: can't find a register in class
`GENERAL_REGS' while reloading `asm'"

* app/composite/gimp-composite-x86.h
Use more newlines in asm() macros to ensure that gcc gets the
instruction count correct.  This is partially complete as of this
commit.
2005-05-17 17:24:26 +00:00
Sven Neumann acf72c9fde bumped version number to 2.3.1.
2005-05-17  Sven Neumann  <sven@gimp.org>

	* configure.in: bumped version number to 2.3.1.
2005-05-17 11:07:43 +00:00
Simon Budig caa989ef66 Make gimp_vectors_get_strokes() work, add gimp_vectors_stroke_translate()
2005-05-17  Simon Budig  <simon@gimp.org>

	* tools/pdbgen/pdb/vectors.pdb: Make gimp_vectors_get_strokes()
	work, add gimp_vectors_stroke_translate()  (I am not sure if this
	stays in the API, I am currently testing undo and freeze/thaw
	issues...)

	* app/pdb/internal_procs.c
	* app/pdb/vectors_cmds.c
	* libgimp/gimpvectors_pdb.[ch]: regenerated.
2005-05-17 01:20:03 +00:00
Simon Budig 13618e9143 added gimp_vectors_get_n_strokes (); Attempt to fill an array with IDs,
2005-05-17  Simon Budig  <simon@gimp.org>

	* app/vectors/gimpvectors.[ch]: added gimp_vectors_get_n_strokes ();
	* tools/pdbgen/pdb/vectors.pdb: Attempt to fill an array with IDs,
	does not yet work.

	* app/pdb/vectors_cmds.c
	* libgimp/gimpvectors_pdb.c: regenerated.
2005-05-16 23:26:54 +00:00
William Skaggs ca98388de6 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/jpeg/jpeg-load.c: Don't detach from drawable if
	it belongs to a preview layer.  Fixes bug #304352.
2005-05-16 20:23:28 +00:00
Michael Natterer 01e18712a4 fixed typo in API docs.
2005-05-16  Michael Natterer  <mitch@gimp.org>

	* tools/pdbgen/pdb/procedural_db.pdb: fixed typo in API docs.

	* app/pdb/procedural_db_cmds.c
	* libgimp/gimpproceduraldb_pdb.c: regenerated.
2005-05-16 13:49:33 +00:00
Sven Neumann 514c1e755b check encoding being not NULL before accessing it; added gtk-doc comment.
2005-05-16  Sven Neumann  <sven@gimp.org>

	* app/config/gimpxmlparser.c (gimp_xml_parser_parse_buffer): check
	encoding being not NULL before accessing it; added gtk-doc comment.
2005-05-16 13:02:39 +00:00
Michael Natterer cd53b60701 added gimp_clipboard_has_svg() and gimp_clipboard_get_svg().
2005-05-16  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpclipboard.[ch]: added gimp_clipboard_has_svg()
	and gimp_clipboard_get_svg().

	* app/actions/edit-commands.c (edit_paste_cmd_callback): enabled
	pasting of SVG data using gimp_vectors_import_buffer().
2005-05-16 12:31:04 +00:00
Helvetix Victorinox 386afe43f9 app/composite/gimp-composite-altivec-installer.c reverted to working
* app/composite/gimp-composite-altivec-installer.c
* app/composite/gimp-composite-altivec-test.c: reverted to working
versions.  Currently, if you regenerate the installers and
testers, only those that work on your current machine will be
generated properly.
2005-05-15 01:08:31 +00:00
Michael Natterer b5ac931a0c app/pdb/Makefile.am new files containing all the evil string matching and
2005-05-15  Michael Natterer  <mitch@gimp.org>

	* app/pdb/Makefile.am
	* app/pdb/procedural-db-query.[ch]: new files containing all the
	evil string matching and DB dump code.

	* tools/pdbgen/pdb/procedural_db.pdb: removed the evilness here
	and use the new functions.

	* app/pdb/procedural_db_cmds.c: regenerated.
2005-05-14 23:28:52 +00:00
Helvetix Victorinox ddc5175908 Fixed signedness problems is calls to gimp_rgb_to_hsv_int() and the like.
* app/composite/gimp-composite-generic.c:
Fixed signedness problems is calls to gimp_rgb_to_hsv_int() and the like.

* app/composite/gimp-composite-mmx.[ch]:
Small fixes to register clobber lists.
Added gimp_composite_subtract_va8_va8_va8_mmx.

Regenerated
2005-05-14 23:17:56 +00:00
Sven Neumann 4e556ddde8 Made 2.3.0 development release.
2005-05-14  Sven Neumann  <sven@gimp.org>

        * Made 2.3.0 development release.
2005-05-14 16:45:50 +00:00
Sven Neumann 3cdaea33d1 reverted a change that I had committed accidentally.
2005-05-14  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/gimpenums.py: reverted a change that I had
	committed accidentally.
2005-05-14 15:39:31 +00:00
Michael Natterer b212efe919 register descriptions for the GimpPDBProcType enum.
2005-05-14  Michael Natterer  <mitch@gimp.org>

	* libgimpbase/gimpbaseenums.[ch]: register descriptions for the
	GimpPDBProcType enum.

	* plug-ins/dbbrowser/gimpprocview.c
	* tools/pdbgen/pdb/procedural_db.pdb: get rid of all selfmade
	enum->string mapping. Get the strings from the GType system instead.

	* app/pdb/procedural_db_cmds.c
	* libgimp/gimpproceduraldb_pdb.c: regenerated.
2005-05-14 15:10:47 +00:00
Helvetix Victorinox 8bdac41d56 Updated with proper register clobber lists. Some code clean-up
(removing dead code, commented out code).  Renegerated installers
and testers.
2005-05-14 03:10:13 +00:00
Michael Natterer d831bdb367 app/pdb/procedural_db.h removed pdb_type_name() uglyness.
2005-05-14  Michael Natterer  <mitch@gimp.org>

	* app/pdb/procedural_db.h
	* tools/pdbgen/pdb/procedural_db.pdb: removed pdb_type_name()
	uglyness.

	* app/pdb/procedural_db.c: add private function
	procedural_db_type_name() instead which uses gimp_enum_get_value()
	and always returns a newly allocated string. Use it for the error
	messages.

	* app/pdb/procedural_db_cmds.c: regenerated.
2005-05-13 23:36:45 +00:00
Michael Natterer 284076b005 plug-ins/dbbrowser/gimpprocbrowser.c implement typeahead search and get
2005-05-13  Michael Natterer  <mitch@gimp.org>

	* plug-ins/dbbrowser/gimpprocbrowser.c
	* plug-ins/dbbrowser/plugin-browser.c: implement typeahead search
	and get rid of the search buttons in the action area. Cleaned up
	dialog layout and code. Fixes bug #301287.
2005-05-13 15:58:16 +00:00
Tor Lillqvist 1f1aa573f9 Don't bother looking for fd_set on Win32, we won't find it in sys/types.h
2005-05-13  Tor Lillqvist  <tml@novell.com>

	* configure.in: Don't bother looking for fd_set on Win32, we won't
	find it in sys/types.h or (the nonexistent) sys/select.h
	anyway. (It's in winsock2.h.)

	* plug-ins/common/xpm.c: Include gdkconfig.h for GDK_WINDOWING_WIN32.

	* plug-ins/script-fu/script-fu-server.c: Give it a chance to work
	on Win32 by covering for the differences between the WinSock and
	Unix socket APIs. Use recv() and send() instead of read() and
	write() on sockets. On Win32, use closesocket() for sockets
	instead of close(). Don't use perror() or look at errno after
	socket API errors on Win32. No EINTR failure mode with WinSock 2.
	(print_socket_api_error): New function. On Unix, just call
	perror(). On Win32, call WSAGetLastError() and produce an
	appropriate error message on stderr.

	* plug-ins/script-fu/Makefile.am (WINSOCK_LIBS): Link with the
	winsock2 library, as we compile with the winsock2 header.
2005-05-13 12:50:35 +00:00
Michael Natterer fa133dd63c themes/Default/gtkrc s/GimpImageDock/GimpMenuDock/ (Renaming this widget
2005-05-13  Michael Natterer  <mitch@gimp.org>

	* themes/Default/gtkrc
	* themes/Small/gtkrc: s/GimpImageDock/GimpMenuDock/ (Renaming this
	widget apparently was an incompatible change, gtkrc-wise, but I
	think we can live with that...).
2005-05-13 12:03:16 +00:00
Michael Natterer 9c16c2fc40 don't crash on invalid regular expressions.
2005-05-13  Michael Natterer  <mitch@gimp.org>

	* app/plug-in/plug-ins-query.c (plug_ins_query): don't crash on
	invalid regular expressions.
2005-05-13 08:40:10 +00:00
Sven Neumann 2a993238dd added missing brackets. Fixes bug #303972.
2005-05-13  Sven Neumann  <sven@gimp.org>

	* plug-ins/bmp/bmpwrite.c (WriteBMP): added missing brackets.
	Fixes bug #303972.
2005-05-12 23:53:22 +00:00
Michael Natterer 6f03140752 don't crash on invalid regular expressions.
2005-05-13  Michael Natterer  <mitch@gimp.org>

	* tools/pdbgen/pdb/procedural_db.pdb (procedural_db_query): don't
	crash on invalid regular expressions.

	* app/pdb/procedural_db_cmds.c: regenerated.
2005-05-12 23:30:58 +00:00
Michael Natterer 8403515bd2 implement removing of controllers, confirmed by a dialog.
2005-05-13  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcontrollerlist.c
	(gimp_controller_list_remove_clicked): implement removing of
	controllers, confirmed by a dialog.

	* app/widgets/gimpcontrollereditor.c
	(gimp_controller_editor_edit_clicked): set an alternative button
	order for the event mapping dialog.
2005-05-12 22:00:17 +00:00
Simon Budig af8320ea63 reset the vector tool to Design mode whenever a new vectors object gets
2005-05-12  Simon Budig  <simon@gimp.org>

	* app/tools/gimpvectortool.c: reset the vector tool to Design
	mode whenever a new vectors object gets connected to the tool.
	This time also when you pick a path in Edit mode (Oops).
2005-05-12 21:35:45 +00:00
Sven Neumann 35b50986ae refactoring.
2005-05-12  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpdialogfactory.c: refactoring.
2005-05-12 21:21:38 +00:00
Sven Neumann ac96bfdb1e typo 2005-05-12 10:02:09 +00:00
Sven Neumann 35b4627cc2 request notification about changes to the "transient-docks" preference and
2005-05-12  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpimagedock.c: request notification about changes
	to the "transient-docks" preference and drop the transient
	relationship if it is disabled.

plus some other changes / fixes to my previous commit
2005-05-11 23:12:36 +00:00
Sven Neumann 840e5f4601 app/config/gimpguiconfig.[ch] added new gimprc option "transient-docks".
2005-05-12  Sven Neumann  <sven@gimp.org>

	* app/config/gimpguiconfig.[ch]
	* app/config/gimprc-blurbs.h: added new gimprc option
	"transient-docks".

	* app/widgets/gimpimagedock.c (gimp_image_dock_display_changed):
	as an experiment
	, obey the "transient-docks" preference and set
	the dock window transient to the active display shell. Please
	comment on the behaviour you observe.

	* app/dialogs/preferences-dialog.c (prefs_dialog_new): added a
	view on the new gimprc property.

	* app/config/gimpguiconfig.[ch]: set the IGNORE flag on the
	"info-window-per-display" property; it isn't used any longer.

	* app/config/gimpconfig-dump.c (dump_gimprc_system): don't dump
	properties that have the GIMP_CONFIG_PARAM_IGNORE flag set.
2005-05-11 22:18:47 +00:00
Sven Neumann c9933fca55 split the message into primary and secondary label.
2005-05-11  Sven Neumann  <sven@gimp.org>

	* plug-ins/jpeg/jpeg-exif.c (jpeg_query): split the message into
	primary and secondary label.
2005-05-11 21:25:52 +00:00
Michael Natterer fb03c60e15 allow to pass a NULL group_name and iterate all action groups to find the
2005-05-11  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpuimanager.c (gimp_ui_manager_find_action): allow
	to pass a NULL group_name and iterate all action groups to find
	the action in that case.

	* app/widgets/gimpcontrollereditor.c: show the action's stock icon
	in the "Action" column, using above function.
2005-05-11 21:15:16 +00:00
Sven Neumann 5fb2c4fc86 added a read-only property to access the display-shell w/o having to
2005-05-11  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplay.c: added a read-only property to access
	the display-shell w/o having to include gimpdisplay.h.
2005-05-11 20:41:51 +00:00
Michael Natterer 1f1305c372 Some dock refactoring which separates the docking logic from active image
2005-05-11  Michael Natterer  <mitch@gimp.org>

	Some dock refactoring which separates the docking logic from
	active image and UI manager stuff:

	* app/widgets/gimpmenudock.[ch]: new widget renamed from
	GimpImageDock, zero changes except the name change.

	* app/widgets/gimpimagedock.[ch]: new widget derived from
	GimpDock. Keeps the UI manager.

	* app/widgets/gimpdock.[ch]: removed the UI manager. GimpDock only
	contains the basic docking logic again.

	* app/widgets/gimpmenudock.[ch]
	* app/widgets/gimptoolbox.[ch]: derive them from GimpImageDock.

	* app/widgets/Makefile.am
	* app/widgets/widgets-types.h
	* app/actions/dialogs-commands.c
	* app/actions/dock-actions.c
	* app/actions/dock-commands.c
	* app/actions/dockable-commands.c
	* app/dialogs/dialogs-constructors.c: changed accordingly.
2005-05-11 20:26:12 +00:00
Sven Neumann 5c4278d003 also zoom on mouse position if the event originates from the canvas (see
2005-05-11  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell-scale.c (gimp_display_shell_scale):
	also zoom on mouse position if the event originates from the canvas
	(see bug #79384).

	* app/display/gimpdisplayshell-callbacks.c
	(gimp_display_shell_canvas_tool_events): replaced a g_warning()
	with g_return_if_fail().
2005-05-11 15:00:49 +00:00
Simon Budig 9ddc6cafcc reset the vector tool to Design mode whenever a new vectors object gets
2005-05-11  Simon Budig  <simon@gimp.org>

	* app/tools/gimpvectortool.c: reset the vector tool to Design
	mode whenever a new vectors object gets connected to the tool.

	Attempt to fix #300663, please report there if you like / dislike
	the new behaviour.
2005-05-11 13:59:17 +00:00
Sven Neumann 7d8063dac9 return silently instead of warning if the window hasn't been realized.
2005-05-11  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell.c (gimp_display_shell_shrink_wrap):
	return silently instead of warning if the window hasn't been
	realized. This happens as part of the setup process if
	"resize-windows-on-zoom" is selected in the prefs.
2005-05-11 13:49:55 +00:00
Michael Natterer a98adfd829 added API to set an event snooper which, if set, receives any controller
2005-05-11  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcontrollerinfo.[ch]: added API to set an event
	snooper which, if set, receives any controller event first, even
	if event dispatching is disabled for the controller.

	* app/widgets/gimpcontrollereditor.[ch]: use the new API to
	implement a "Grab Event" button, which takes the next event from
	the controller and selects it in the event mapping tree view.
2005-05-10 22:08:48 +00:00
Michael Natterer 66ce4f85de some more stuff: up/down buttons, remember the dialogs' size and
2005-05-10  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcontrollerlist.[ch]: some more stuff: up/down
	buttons, remember the dialogs' size and positions, misc stuff.

	* app/widgets/gimpcontrollereditor.c
	(gimp_controller_editor_edit_clicked): use a GimpViewableDialog
	now that GimpControllerInfo is a GimpViewable.

	* app/dialogs/dialogs.c: added a foreign entry for the controller
	editor dialog. Allow the controller editors and its event mapping
	dialogs to exist multiple times.

	* app/dialogs/preferences-dialog.c (prefs_notebook_append_page):
	create the pages' event boxes with input-only windows.
2005-05-10 19:48:03 +00:00
Helvetix Victorinox 32ca225aa0 Repaired a latent bug in gimp_composite_lighten_rgba8_rgba8_rgba8_sse2
* app/composite/gimp-composite-sse2.c: Repaired a latent bug in
gimp_composite_lighten_rgba8_rgba8_rgba8_sse2 where setting up
the alpha masks were not done correctly.  A redundant (better?)
fix to bug #164061

Use movntq instructions to avoid processor cache pollution.

Some adjustments to register allocation specifications.
2005-05-10 05:26:11 +00:00
David Odin 46ed4f2cb6 use the correct bounds for the spinners. This is related to #114225.
* plug-ins/common/grid.c: use the correct bounds for the spinners.
  This is related to #114225. Spotted by Lomaxx.
2005-05-09 19:32:03 +00:00
Sven Neumann 8f49da491c sprinkled some const qualifiers.
2005-05-09  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/tiff.c: sprinkled some const qualifiers.
2005-05-09 10:41:39 +00:00
Michael Natterer 92ad7c1d53 app/widgets/Makefile.am app/widgets/widgets-types.h new widget which
2005-05-09  Michael Natterer  <mitch@gimp.org>

	* app/widgets/Makefile.am
	* app/widgets/widgets-types.h
	* app/widgets/gimpcontrollerlist.[ch]: new widget which allows
	adding/removing controllers using two lists of available/active
	controllers. Work in progress...

	* app/widgets/gimpcontrollerinfo.[ch]: derive it from GimpVieable
	so it can have an icon (unfinished). Added convenience constructor
	gimp_controller_info_new().

	* app/dialogs/preferences-dialog.c: use a GimpControllerList
	instead of a notebook of GimpControllerEditors.
2005-05-09 09:35:41 +00:00
Sven Neumann 9d0d9f1653 removed traces of plug-ins/common,
2005-05-09  Sven Neumann  <sven@gimp.org>

	* plug-ins/jpeg/Makefile.am: removed traces of plug-ins/common,
2005-05-09 00:12:07 +00:00
Sven Neumann 7c2f4a126a NEWS update, fixed a typo in ChangeLog 2005-05-08 23:52:40 +00:00
Sven Neumann 3bb2f79984 inline tile_manager_get_tile_num().
2005-05-09  Sven Neumann  <sven@gimp.org>

	* app/base/tile-manager.c: inline tile_manager_get_tile_num().

	* app/display/gimpdisplayshell-render.c (render_image_tile_fault):
	reverted one of the changes I did here earlier.
2005-05-08 23:30:54 +00:00
Sven Neumann 4b582207f1 always set "activates-default" on the name entry.
2005-05-08  Sven Neumann  <sven@gimp.org>

	* app/dialogs/layer-options-dialog.c (layer_options_dialog_new):
	always set "activates-default" on the name entry.
2005-05-08 20:49:06 +00:00
Sven Neumann 001bd33231 some code cleanup.
2005-05-08  Sven Neumann  <sven@gimp.org>

	* app/base/tile-manager.[ch]: some code cleanup.
2005-05-08 20:24:54 +00:00
Michael Natterer 46951bd8d8 don't call gtk_entry_set_text() with a NULL text.
2005-05-08  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimppropwidgets.c (gimp_prop_entry_new)
	(gimp_prop_entry_notify): don't call gtk_entry_set_text() with a
	NULL text.
2005-05-08 15:53:21 +00:00
Sven Neumann 63676cca6a limit the tile-cache-size to G_MAXULONG or GIMP_MAX_MEMSIZE, whatever is
2005-05-08  Sven Neumann  <sven@gimp.org>

	* app/config/gimpbaseconfig.c: limit the tile-cache-size to
	G_MAXULONG or GIMP_MAX_MEMSIZE, whatever is smaller. Fixes
	bug #303371.
2005-05-08 11:07:44 +00:00
Manish Singh df3ae9c65d Fix a typo reported in bug #303379.
2005-05-07  Manish Singh  <yosh@gimp.org>

        * tools/pdbgen/pdb/image.pdb: Fix a typo reported in bug #303379.

        * app/pdb/image_cmds.c
        * libgimp/gimpimage_pdb.c: regenerated.
2005-05-07 16:22:52 +00:00
Sven Neumann 1cbcb0d0f1 tell the user how much memory will be freed by clearing the undo history.
2005-05-07  Sven Neumann  <sven@gimp.org>

	* app/actions/edit-commands.c (edit_undo_clear_cmd_callback): tell
	the user how much memory will be freed by clearing the undo history.
2005-05-07 13:56:05 +00:00
Sven Neumann 27042a7b36 app/tools/gimppainttool.[ch] unified tool and paint-tool statusbar APIs.
2005-05-07  Sven Neumann  <sven@gimp.org>

	* app/tools/gimppainttool.[ch]
	* app/tools/gimptool.[ch]: unified tool and paint-tool statusbar APIs.

	* app/tools/gimpblendtool.c
	* app/tools/gimpclonetool.c
	* app/tools/gimpcolortool.c
	* app/tools/gimpcroptool.c
	* app/tools/gimpeditselectiontool.c
	* app/tools/gimpfuzzyselecttool.c
	* app/tools/gimpmeasuretool.c
	* app/tools/gimpmovetool.c
	* app/tools/gimpnewrectselecttool.c
	* app/tools/gimprectangletool.c
	* app/tools/gimprectselecttool.c
	* app/tools/gimpvectortool.c: changed accordingly.

	* app/tools/gimpselectiontool.c: give more hints in the statusbar.
	Some of the selection tools should probably override these.
2005-05-07 13:24:47 +00:00
Sven Neumann d2cf185c30 minor code cleanup.
2005-05-07  Sven Neumann  <sven@gimp.org>

	* app/core/gimppreviewcache.c: minor code cleanup.
2005-05-07 12:19:47 +00:00
Sven Neumann 3d83d3a0a2 added modifier keys to the tooltips of the selection mode buttons.
2005-05-07  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpselectionoptions.c: added modifier keys to the
	tooltips of the selection mode buttons.
2005-05-07 10:16:01 +00:00
Sven Neumann 6df791ec49 removed the GUI for the "default-threshold" preference.
2005-05-07  Sven Neumann  <sven@gimp.org>

	* app/dialogs/preferences-dialog.c: removed the GUI for the
	"default-threshold" preference.
2005-05-07 09:43:43 +00:00
Sven Neumann 115f21d144 changed the default value for "save-tool-options" to FALSE. This is a
2005-05-07  Sven Neumann  <sven@gimp.org>

	* app/config/gimpguiconfig.c: changed the default value for
	"save-tool-options" to FALSE. This is a major source of confusion;
	let's try if disabling it is an improvement.
2005-05-07 09:28:12 +00:00
jaycox cc140a9b25 add comments describing thumbnail resource. >
* plug-ins/common/psd.c: add comments describing thumbnail resource.
>
2005-05-07 07:58:20 +00:00
Sven Neumann b163c36962 plug-ins/winicon/icoload.c added a thumbnail loader for .ico files Fixes
2005-05-07  Sven Neumann  <sven@gimp.org>

	* plug-ins/winicon/icoload.c
	* plug-ins/winicon/main.c: added a thumbnail loader for .ico files
	Fixes bug #158191.
2005-05-07 00:06:33 +00:00
Sven Neumann f3e9122465 plug-ins/winicon/icoload.[ch] code cleanup, prepare for thumbnail loading.
2005-05-07  Sven Neumann  <sven@gimp.org>

	* plug-ins/winicon/icoload.[ch]
	* plug-ins/winicon/main.c: code cleanup, prepare for thumbnail
	loading.
2005-05-06 23:26:04 +00:00
Sven Neumann 2a08c79b2b app/actions/layers-actions.c app/core/gimpimage.c
2005-05-06  Sven Neumann  <sven@gimp.org>

	* app/actions/layers-actions.c
	* app/core/gimpimage.c (gimp_image_position_layer)
	* app/widgets/gimplayertreeview.c (gimp_layer_tree_view_drop_possible):
	drop the limitation that layers not at the bottom of the stack
	have to have an alpha channel. Allow the user to move the
	background layer up in the stack or reposition it using DND.

	* tips/gimp-tips.xml.in: changed the relevant tip and some more.
2005-05-06 20:45:21 +00:00
Michael Natterer 65098dda2b use G_DIR_SEPARATOR instead of '/'.
2005-05-06  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/compressor.c: use G_DIR_SEPARATOR instead of '/'.

	* plug-ins/common/mail.c: ditto. Fixed some coding style issues.
	Special case .bz2 files just as .gz ones.
2005-05-06 19:36:12 +00:00
Sven Neumann 7be65c2d60 removed redundant casts.
2005-05-06  Sven Neumann  <sven@gimp.org>

	* app/core/gimpimage-merge.c: removed redundant casts.
2005-05-06 15:45:04 +00:00
Michael Natterer b4f942055a added enum for the "load_color" actions.
2005-05-06  Michael Natterer  <mitch@gimp.org>

	* app/actions/gradient-editor-commands.h: added enum for the
	"load_color" actions.

	* app/actions/gradient-editor-actions.c
	* app/actions/gradient-editor-commands.c: use the new enum instead
	of magic values, cleanup.

	* app/actions/palette-editor-commands.c: cleanup.

	* app/widgets/gimpbrusheditor.c
	* app/widgets/gimpdataeditor.c: cleanup.

	* app/widgets/gimpgradienteditor.c: added GtkObject::destroy() and
	GtkWidget::unmap() implementations which destroy the color dialog.
	Destroy color dialogs by cancelling them via gtk_dialog_response(),
	so temporarily changed colors are restored correctly. Refactored
	my last commit below a bit. Various cleanups.

	* app/widgets/gimppaletteeditor.[ch]: no need to remember the
	buttons in the GimpPaletteEditor struct.
2005-05-06 15:07:34 +00:00
Sven Neumann f3c0a28de8 abort early if the values are all setup already. Fixes bug #164281.
2005-05-06  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell-scale.c
	(gimp_display_shell_scale_by_values): abort early if the values are
	all setup already. Fixes bug #164281.
2005-05-06 13:11:53 +00:00
Sven Neumann 260bf6e8ba applied a patch from Joao S. O. Bueno Calligaris that changes the SSE2
2005-05-06  Sven Neumann  <sven@gimp.org>

	* app/composite/gimp-composite-sse2.c
	(gimp_composite_lighten_rgba8_rgba8_rgba8_sse2): applied a patch
	from Joao S. O. Bueno Calligaris that changes the SSE2 code to
	load the proper register. Fixes bug #164061.
2005-05-06 12:30:51 +00:00
Michael Natterer c15742da22 changed handle colors to be always black and white. Fixes bug #303118.
2005-05-05  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpgradienteditor.c (control_draw)
	(control_draw_normal_handle)
	(control_draw_middle_handle): changed handle colors to be always
	black and white. Fixes bug #303118. Also changed the handle bar's
	background and the handles' outlines to theme colors which should
	make the handles distinguishable from the background for all
	themes.

	Various unrelated cleanups.
2005-05-05 13:59:32 +00:00
Michael Natterer 4f2e5afc38 new function which finds a proc_def in a GSList by its procedure name.
2005-05-04  Michael Natterer  <mitch@gimp.org>

	* app/plug-in/plug-in-proc-def.[ch] (plug_in_proc_def_find): new
	function which finds a proc_def in a GSList by its procedure name.

	* app/plug-in/plug-in-message.c
	* app/plug-in/plug-ins.c
	* tools/pdbgen/pdb/plug_in.pdb: use it instead of iterating and
	comparing manually.

	* app/pdb/plug_in_cmds.c: regenerated.

	* app/plug-in/plug-in-def.c: minor cleanups.
2005-05-04 18:53:58 +00:00
Sven Neumann 33a06ab5d8 emit "color-clicked" on first click.
2005-05-04  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpfgbgeditor.c (gimp_fg_bg_editor_button_press):
	emit "color-clicked" on first click.

	* app/widgets/gimptoolbox.c: changed tooltip accordingly.
2005-05-04 00:09:09 +00:00
Michael Natterer e103a8802d new function.
2005-05-04  Michael Natterer  <mitch@gimp.org>

	* app/plug-in/plug-in-proc-def.[ch] (plug_in_proc_def_set_icon):
	new function.

	* tools/pdbgen/pdb/plug_in.pdb: removed the same code here and use
	the new function.

	* app/pdb/plug_in_cmds.c: regenerated.
2005-05-03 23:47:35 +00:00
Michael Natterer 3184148c02 include the parent class, not gimpeditor.h
2005-05-03  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcolordisplayeditor.h: include the parent class,
	not gimpeditor.h

	* app/widgets/gimpcolordisplayeditor.c: include gimpeditor.h here
2005-05-03 21:38:07 +00:00
Sven Neumann d19d603adb special case percentage < 0 and pulse progress.
2005-05-03  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/gimpfu.py (progress_update): special case
	percentage < 0 and pulse progress.
2005-05-03 21:29:28 +00:00
Sven Neumann 5a85d5e770 applied a patch from David Costanzo that adds missing error handling to
2005-04-30  Sven Neumann  <sven@gimp.org>

	* plug-ins/bmp/bmpread.c: applied a patch from David Costanzo that
	adds missing error handling to the BMP loader, allowing it to deal
	gracefully with incomplete BMP image files.
2005-04-30 11:15:53 +00:00
Sven Neumann 987a4cc15a plug-ins/winicon/icodialog.c changed dialog layout.
2005-04-29  Sven Neumann  <sven@gimp.org>

	* plug-ins/winicon/icodialog.c
	* plug-ins/winicon/icosave.c: changed dialog layout.
2005-04-29 20:03:46 +00:00
Sven Neumann 99a4393cb7 declared function array as const.
2005-04-29  Sven Neumann  <sven@gimp.org>

        * tools/pdbgen/enumcode.pl: declared function array as const.

        * libgimp/gimpenums.c.tail: regenerated.
2005-04-29 18:29:24 +00:00
Sven Neumann 4ab7e091a9 use copy_region() instead of using tile_manager_map_over_tile() directly.
2005-04-29  Sven Neumann  <sven@gimp.org>

	* app/core/gimpprojection-construct.c (gimp_projection_construct):
	use copy_region() instead of using tile_manager_map_over_tile()
	directly.
2005-04-29 14:06:08 +00:00
Sven Neumann 2eba891d93 unset "can-focus" on the message labels. Fixes bug #302400.
2005-04-29  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpmessagebox.c (gimp_message_box_init): unset
	"can-focus" on the message labels. Fixes bug #302400.
2005-04-29 13:59:57 +00:00
Sven Neumann e06bcb883c save COW projection code from bit-rotting. It can now be enabled again
2005-04-29  Sven Neumann  <sven@gimp.org>

	* app/core/gimpprojection-construct.c: save COW projection code from
	bit-rotting. It can now be enabled again (but is definitely broken).
2005-04-29 10:49:11 +00:00
Manish Singh 1b49742c19 don't reset the passed parameters to default values. Spotted by Joao S. O.
2005-04-28  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/plug-ins/clothify.py: don't reset the passed
        parameters to default values. Spotted by Joao S. O. Bueno Calligaris.
2005-04-29 04:28:44 +00:00
Sven Neumann fedce533a2 corrected variable names.
2005-04-28  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell-scale.h: corrected variable names.
2005-04-28 14:43:11 +00:00
Sven Neumann 998ea546cd detach from the drawable.
2005-04-28  Sven Neumann  <sven@gimp.org>

	* plug-ins/jpeg/jpeg-load.c (load_image): detach from the drawable.
2005-04-28 12:12:12 +00:00
Sven Neumann 3835c016bd fill the layer before adding it to the image.
2005-04-28  Sven Neumann  <sven@gimp.org>

	* app/core/gimptemplate.c (gimp_template_create_image): fill the
	layer before adding it to the image.
2005-04-28 11:37:30 +00:00
Sven Neumann a2428303fc fixed an oversight from yesterday's changes.
2005-04-28  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell-render.c (render_image_rgb): fixed
	an oversight from yesterday's changes.
2005-04-28 10:48:38 +00:00
Sven Neumann 33c95143ad app/core/gimpunit.c built-in units are const.
2005-04-28  Sven Neumann  <sven@gimp.org>

	* app/core/gimpunit.c
	* libgimp/gimpunitcache.c: built-in units are const.
2005-04-28 09:47:27 +00:00
Sven Neumann 5953d527df spare a few CPU cycles.
2005-04-28  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell-render.c: spare a few CPU cycles.
2005-04-27 23:27:10 +00:00
Sven Neumann 928b4f23a6 removed redundant check.
2005-04-27  Sven Neumann  <sven@gimp.org>

	* app/base/tile-manager.c (tile_manager_get_tile): removed
	redundant check.

	* app/display/gimpdisplayshell-render.c: don't access the next
	tile if we are at the end of the render loop anyway.
2005-04-27 17:53:10 +00:00
Sven Neumann 1b142e3b2a removed unused byte_order variables.
2005-04-27  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell-render.c: removed unused byte_order
	variables.
2005-04-27 17:01:56 +00:00
Sven Neumann 61d6c9353f declared the return value of gimp_image_get_colormap() as const.
2005-04-27  Sven Neumann  <sven@gimp.org>

	* app/core/gimpimage-colormap.[ch]: declared the return value of
	gimp_image_get_colormap() as const.

	* app/display/gimpdisplayshell-render.c: added some const qualifiers.
2005-04-27 16:44:28 +00:00
Sven Neumann 55be97a021 free all memory allocated for GimpClipboard.
2005-04-27  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpclipboard.c (gimp_clipboard_free): free all
	memory allocated for GimpClipboard.

	* libgimpwidgets/gimppatheditor.c (gimp_path_editor_set_path):
	always free old_path.
2005-04-27 15:59:14 +00:00
Sven Neumann 5978e395a3 don't call va_arg() too often.
2005-04-27  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpunitstore.c: don't call va_arg() too often.

	* libgimpconfig/gimpcolorconfig.c (gimp_color_config_finalize):
	free the string allocated for the display module.
2005-04-27 15:13:59 +00:00
Sven Neumann f08c5b268a added more standard keybindings.
2005-04-27  Sven Neumann  <sven@gimp.org>

	* plug-ins/helpbrowser/dialog.c: added more standard keybindings.
2005-04-27 13:05:19 +00:00
Sven Neumann a37003919d don't mark the menu identifier for translation.
2005-04-27  Sven Neumann  <sven@gimp.org>

	* plug-ins/metadata/metadata.c: don't mark the menu identifier for
	translation.
2005-04-27 12:47:35 +00:00
Sven Neumann 63e7eac7f4 app/actions/context-actions.c applied a patch from Aron Stansvik that adds
2005-04-27  Sven Neumann  <sven@gimp.org>

	* app/actions/context-actions.c
	* app/actions/context-commands.[ch]: applied a patch from Aron
	Stansvik that adds actions to control hue, saturation and value
	of the foreground and background colors.
2005-04-27 12:23:01 +00:00
Sven Neumann 9979c3b5cd use the same terms for the checkerboard parameters as used in the
2005-04-27  Sven Neumann  <sven@gimp.org>

	* app/dialogs/preferences-dialog.c: use the same terms for the
	checkerboard parameters as used in the GimpPreviewArea popup menu
	(bug #302141).
2005-04-27 11:49:51 +00:00
Sven Neumann edaa977ec7 reviewed strings, simplified if possible.
2005-04-26  Sven Neumann  <sven@gimp.org>

	* app/dialogs/user-install-dialog.c: reviewed strings, simplified
	if possible.
2005-04-26 10:44:34 +00:00
Sven Neumann 3c3ed424dd use the standard order of "static" and "inline" qualifiers.
2005-04-26  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/colortoalpha.c: use the standard order of
	"static" and "inline" qualifiers.
2005-04-26 09:16:24 +00:00
David Odin 89c1535009 update the preview continuously when the color changes in the color
* plug-ins/common/colortoalpha.c: update the preview continuously when
  the color changes in the color selector.
2005-04-25 19:44:02 +00:00
Michael Natterer 5c64cefad1 call g_thread_init() only if the GThread system is not already
2005-04-25  Michael Natterer  <mitch@gimp.org>

	* app/app_procs.c (app_libs_init): call g_thread_init() only if
	the GThread system is not already initialized.
2005-04-25 17:13:10 +00:00
Sven Neumann 6c178549bc close the file descriptor if we fail to obtain the lock (bug #151767).
2005-04-25  Sven Neumann  <sven@gimp.org>

	* app/file/gimprecentlist.c (gimp_recent_list_add_item): close the
	file descriptor if we fail to obtain the lock (bug #151767).
2005-04-25 16:24:20 +00:00
Sven Neumann 380b1703df added a boolean flag to the ProcDef struct to identify file procedures.
2005-04-25  Sven Neumann  <sven@gimp.org>

	* app/plug-in/plug-in-proc-def.h: added a boolean flag to the
	ProcDef struct to identify file procedures.

	* app/xcf/xcf.c: changed accordingly.

	* app/plug-in/plug-ins.c: look at the new flag instead of checking
	extensions, prefixes and magics being non-NULL. A file plug-in
	doesn't necessarily have any of these fields set.

	* app/plug-in/plug-in-rc.c: changed pluginrc format to contain an
	extra section for file procedures. Moved all file related info there.
2005-04-25 12:42:26 +00:00
Manish Singh 16c86d0dbd Only store compression types we can actually handle in the save options
2005-04-25  Manish Singh  <yosh@gimp.org>

        * plug-in/common/tiff.c: Only store compression types we can actually
        handle in the save options parasite. Fixes bug #301557.
2005-04-25 07:42:52 +00:00
Sven Neumann 2556233e5a removed the local pid_t variable and the msvc definition for it.
2005-04-24  Sven Neumann  <sven@gimp.org>

	* app/base/temp-buf.c (generate_unique_tmp_filename): removed the
	local pid_t variable and the msvc definition for it.
2005-04-24 16:09:25 +00:00
Sven Neumann ed7c055df6 tools/pdbgen/pdb/fileops.pdb spelling.
2005-04-24  Sven Neumann  <sven@gimp.org>

	* tools/pdbgen/pdb/fileops.pdb
	* app/pdb/fileops_cmds.c: spelling.
2005-04-24 16:05:00 +00:00
Hans Breuer 28a2b13581 build menus with nmake, too menus/Makefile.am : added to EXTRA_DIST
2005-04-24  Hans Breuer  <hans@breuer.org>

	* menus/makefile.msc : build menus with nmake, too
	  menus/Makefile.am : added to EXTRA_DIST

	* **/makefile.msc app/gimpcore.def : updated

	* app/base/tmp-buf.c : there is no pid_t with msvc so typedef one
2005-04-24 15:39:15 +00:00
Sven Neumann 5590a5f77c respect the selection (fixes bug #301523).
2005-04-23  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpdrawablepreview.c (gimp_drawable_preview_draw_thumb):
	respect the selection (fixes bug #301523).
2005-04-23 11:53:09 +00:00
Raphaël Quinet 7bb7945506 Forgot one file 2005-04-23 10:03:45 +00:00
Raphael Quinet 15da11125d Added definition of properties from IPTC Core XMP schema (Iptc4xmpCore).
2005-04-23  Raphael Quinet  <raphael@gimp.org>

	* plug-ins/metadata/xmp-schemas.[ch]: Added definition of
	properties from IPTC Core XMP schema (Iptc4xmpCore).

	* plug-ins/metadata/base64.[ch]: Added option to ignore invalid
	characters in base64 encoded text.

	* plug-ins/metadata/xmp-parse.c
	* plug-ins/metadata/testbase64.c: Updated accordingly.
2005-04-23 10:01:24 +00:00
Sven Neumann d1486ee5fb configure.in plug-ins/common/Makefile.am plug-ins/common/plugin-defs.pl
2005-04-22  Sven Neumann  <sven@gimp.org>

	* configure.in
	* plug-ins/common/Makefile.am
	* plug-ins/common/plugin-defs.pl
	* plug-ins/common/winclipboard.c: removed winclipboard plug-in
	from CVS. It is not any longer needed as long as GTK+ >= 2.6.5
	is being used. Fixes bug #165219.
2005-04-22 16:51:18 +00:00
Raphael Quinet c30453f49d Fixed crash occuring after a double free of some structured XMP
2005-04-22  Raphael Quinet  <raphael@gimp.org>

	* plug-ins/metadata/xmp-model.[ch]: Fixed crash occuring after a
	double free of some structured XMP properties.  Added new type
	XMP_TYPE_GENERIC_STRUCTURE for unknown structured properties.  Be
	more tolerant in parsing incorrectly written schema URIs and try
	to extract a valid URI from them.  Converted to use g_print().
	Moved the definitions of standard XMP schemas from here...

	* plug-ins/metadata/xmp-schemas.[ch]: ...to these new files.

	* plug-ins/metadata/xmp-encode.[ch]: Rewritten using GString
	instead of fixed buffers.

	* plug-ins/metadata/metadata.c
	* plug-ins/metadata/interface.c: Adapted to the new function
	xmp_generate_block() using GString.

	* plug-ins/metadata/base64.c (base64_encode): Fixed incorrect
	encoding of bytes with the sign bit set.

	* plug-ins/metadata/testbase64.c
	* plug-ins/metadata/Makefile.am: Added xmp-schema.[ch] and test
	program testbase64.c (testing base64 encoding and decoding).

	* plug-ins/metadata/xmpdump.c: Converted to use g_print().

	* plug-ins/metadata/xmp-parse.c: Added some #ifdef's around
	debugging code, added more comments.
2005-04-22 15:04:29 +00:00
Sven Neumann 5d7626207b typo 2005-04-22 10:18:35 +00:00
Sven Neumann 909505eca7 removed (traditional) and (corrective) from the enum descriptions.
2005-04-22  Sven Neumann  <sven@gimp.org>

	* libgimpbase/gimpbaseenums.h (GimpTransformDirection): removed
	(traditional) and (corrective) from the enum descriptions.
2005-04-22 00:47:08 +00:00
Sven Neumann 771d5459ba removed the "row_deleted" handler which used to take care of reinserting
2005-04-22  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpintstore.c: removed the "row_deleted" handler
	which used to take care of reinserting the "Empty" item when the
	last row gets deleted. This doesn't work any longer with GTK+ 2.6
	and I see now way to make it work again. Fixes bug #301524.
2005-04-21 23:49:47 +00:00
Sven Neumann e37143c28b removed Close button from dockables as suggested in bug #301348.
2005-04-22  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpdockable.[ch]: removed Close button from
	dockables as suggested in bug #301348.
2005-04-21 23:30:38 +00:00
Manish Singh 635282819a pass -dUseCropBox when loading PDF files, to match Acrobat Reader's
2005-04-21  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/postscript.c: pass -dUseCropBox when loading PDF
        files, to match Acrobat Reader's behavior in honoring CropBox over
        MediaBox. Fixes bug #301432.
2005-04-21 10:46:52 +00:00
Sven Neumann bbe304e874 make more labels selectable.
2005-04-21  Sven Neumann  <sven@gimp.org>

	* plug-ins/dbbrowser/gimpprocview.c: make more labels selectable.
2005-04-21 10:23:29 +00:00
Nate Summers 5ab94360da still unstable 2005-04-21 08:24:37 +00:00
Nate Summers b2cce594fc Experience the unstableness! 2005-04-21 00:24:44 +00:00
David Odin f78983c82d use the correct ChangeLog! 2005-04-20 23:31:12 +00:00
David Odin 4e305ecfb7 added all but the GimpPixmap widget. The unit menu shot is also very
* devel-docs/tools/widgets.c: added all but the GimpPixmap widget.
  The unit menu shot is also very buggy.

* devel-docs/libgimpwidgets/images/gimp-color-area.png
* devel-docs/libgimpwidgets/images/gimp-color-button.png
* devel-docs/libgimpwidgets/images/gimp-color-hex-entry.png
* devel-docs/libgimpwidgets/images/gimp-color-scale.png
* devel-docs/libgimpwidgets/images/gimp-color-selection.png
* devel-docs/libgimpwidgets/images/gimp-dialog.png
* devel-docs/libgimpwidgets/images/gimp-enum-combo-box.png
* devel-docs/libgimpwidgets/images/gimp-int-combo-box.png
* devel-docs/libgimpwidgets/images/gimp-memsize-entry.png
* devel-docs/libgimpwidgets/images/gimp-offset-area.png
* devel-docs/libgimpwidgets/images/gimp-path-editor.png
* devel-docs/libgimpwidgets/images/gimp-pick-button.png
* devel-docs/libgimpwidgets/images/gimp-preview-area.png
* devel-docs/libgimpwidgets/images/gimp-unit-menu.png: updated all
  these files.
2005-04-20 21:55:33 +00:00
Sven Neumann ba09519000 plug-ins/Lighting/images/Makefile.am plug-ins/gfig/images/Makefile.am
2005-04-20  Sven Neumann  <sven@gimp.org>

	* plug-ins/Lighting/images/Makefile.am
	* plug-ins/gfig/images/Makefile.am
	* plug-ins/gimpressionist/Makefile.am
	* plug-ins/imagemap/images/Makefile.am
	* plug-ins/pagecurl/Makefile.am
	* plug-ins/rcm/images/Makefile.am: use $(GDK_PIXBUF_CSOURCE) as
	defined by the configure script.

	* plug-ins/helpbrowser/Makefile.am
	* plug-ins/helpbrowser/wilber-reading.png: added icon.

	* plug-ins/helpbrowser/gimpthrobber.[ch]: added API to set an image
	to be used instead of the stock-id.

	* plug-ins/helpbrowser/dialog.c: use the Reading Wilber icon for
	the throbber and as window icon.
2005-04-20 20:19:14 +00:00
Sven Neumann 40acf49518 libgimpwidgets/gimpstock.c reverted the change to register a wilber icon
2005-04-20  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpstock.c
	* themes/Default/images/Makefile.am: reverted the change to
	register a wilber icon in button size; it broke the color selector.
2005-04-20 17:24:33 +00:00
Sven Neumann 3f9acbdbae fixed typos in comments.
2005-04-20  Sven Neumann  <sven@gimp.org>

	* libgimpcolor/gimprgb-parse.c: fixed typos in comments.
2005-04-20 12:47:17 +00:00
Sven Neumann 9c376b389f cosmetics.
2005-04-20  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpui.c (gimp_ensure_modules): cosmetics.
2005-04-20 09:33:16 +00:00
Sven Neumann fe06c3018f set charset to UTF-8. Initialize the filename from the image's filename.
2005-04-20  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/mail.c: set charset to UTF-8. Initialize the
	filename from the image's filename. Don't set From: if the Sender
	entry remains blank. Reordered dialog.
2005-04-20 00:40:32 +00:00
Michael Natterer 652bdb7f4a initialize text_layer_flags with 0 so it doesn't contain random garbage if
2005-04-20  Michael Natterer  <mitch@gimp.org>

	* app/xcf/xcf-load.c (xcf_load_layer): initialize text_layer_flags
	with 0 so it doesn't contain random garbage if the text layer
	flags in the XCF have default values (are not saved at all). Fixes
	bug #301028. Initialize other stuff too for the sake of sanity.
2005-04-19 23:19:51 +00:00
Sven Neumann d499f476af fixed broken UTF-8 2005-04-19 20:45:50 +00:00
Michael Natterer c4832468a1 applied patch from Karine Delvare which adds gimp_desaturate_full(). Fixes
2005-04-19  Michael Natterer  <mitch@gimp.org>

	* tools/pdbgen/pdb/color.pdb: applied patch from Karine Delvare
	which adds gimp_desaturate_full(). Fixes bug #155507.

	* app/pdb/color_cmds.c
	* app/pdb/internal_procs.c
	* libgimp/gimpcolor_pdb.[ch]: regenerated.

	* libgimp/gimp.def: added the new symbol.
2005-04-19 20:31:30 +00:00
Michael Natterer ed9f887614 bail out early if the coords are out-of-image plus a border of the
2005-04-19  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpimage-snap.c: bail out early if the coords are
	out-of-image plus a border of the snapping epsilon, and not just
	out-of-image. Fixes bug #169892.
2005-04-19 19:57:27 +00:00
David Odin 0ccf44dcf5 use the right ChangeLog file and filename policy. 2005-04-19 14:05:01 +00:00
David Odin 0b5b814a76 added this file so we have a "visual widget gallery" in our docs.
* devel-docs/libgimpwidgets/visual_index.xml: added this file so we
  have a "visual widget gallery" in our docs.

* devel-docs/libgimpwidgets/Makefile.am
* devel-docs/libgimpwidgets/libgimpwidgets-docs.sgml: added
  visual_index.xml.

* devel-docs/libgimpwidgets/images/gimp-*.png: placeholders for real
  widget screenshots.
2005-04-19 13:50:59 +00:00
Manish Singh 76c85d918a #include gimpwidgets.h for gimp_spin_button_new().
2005-04-18  Manish Singh  <yosh@gimp.org>

        * libgimpwidgets/gimpsizeentry.c: #include gimpwidgets.h for
        gimp_spin_button_new().

        * plug-ins/jpeg/jpeg-load.c
        * plug-ins/jpeg/jpeg-save.c
        * plug-ins/metadata/interface.c
        * plug-ins/metadata/xmp-parse.c: 64-bit safety for some of the
        debugging g_prints.
2005-04-18 23:38:25 +00:00
Manish Singh a34f893f7d Redo comment for spot_PSsquare and spot_PSdiamonds, since the code was not
2005-04-18  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/newsprint.c: Redo comment for spot_PSsquare
        and spot_PSdiamonds, since the code was not a derived work in
        the copyright sense. It is a C implementation of the same
        algorithm.
2005-04-18 19:02:18 +00:00
Raphael Quinet d54c1ee801 Added comment to clarify the copyright notice (bug #301076).
2005-04-18  Raphael Quinet  <raphael@gimp.org>

	* plug-ins/common/newsprint.c: Added comment to clarify the
	copyright notice (bug #301076).
2005-04-18 16:29:00 +00:00
Sven Neumann e2021afbc4 argh, wrong email address (again) 2005-04-18 16:10:33 +00:00
Sven Neumann 925c0a64ee invalidate layer previews when the colormap changes. Fixes bug #301033.
2005-04-18  Sven Neumann  <neumann@jpk.com>

	* app/core/gimpimage.c (gimp_image_real_colormap_changed):
	invalidate layer previews when the colormap changes. Fixes
	bug #301033.
2005-04-18 16:08:56 +00:00
Michael Natterer 88378adfde Connect to the GimpImage::update-sample-point and GimpProjection::update
2005-04-18  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpsamplepointeditor.[ch]: Connect to the
	GimpImage::update-sample-point and GimpProjection::update signals
	and idle-pick colors at the sample points' coordinates.
	Addresses bug #137776.
2005-04-18 13:54:24 +00:00
Sven Neumann 1ff66ea24c restrict the menus to 15 items.
2005-04-18  Sven Neumann  <sven@gimp.org>

	* plug-ins/helpbrowser/dialog.c: restrict the menus to 15 items.
2005-04-18 10:50:44 +00:00
Raphael Quinet c9979abf5f Added parameter 'columns' to base64_encode() to add optional line breaks
2005-04-18  Raphael Quinet  <raphael@gimp.org>

	* plug-ins/metadata/base64.[ch]: Added parameter 'columns' to
	base64_encode() to add optional line breaks in the output.
	Improved documentation.
2005-04-18 05:06:48 +00:00
Sven Neumann 9db2219e74 workaround a GTK+ bug to make the tooltips for the Back and Forward
2005-04-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/helpbrowser/dialog.c: workaround a GTK+ bug to make the
	tooltips for the Back and Forward buttons appear.
2005-04-17 16:32:10 +00:00
Sven Neumann b73e908ca5 use gimp_spin_button_new() which calls gtk_spin_button_set_numeric() for
2005-04-17  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpsizeentry.c: use gimp_spin_button_new() which
	calls gtk_spin_button_set_numeric() for us. Part of a fix for bug
	#300935.

	* libgimpwidgets/gimpwidgets.c: improved the API docs for
	gimp_spin_button_new().

	* app/tools/gimpcolorbalancetool.c
	* app/tools/gimplevelstool.c
	* plug-ins/common/screenshot.c
	* plug-ins/ifscompose/ifscompose.c
	* plug-ins/rcm/rcm_dialog.c
	* plug-ins/script-fu/script-fu-interface.c
	* plug-ins/winsnap/winsnap.c: use gimp_spin_button_new().
2005-04-17 15:28:28 +00:00
Sven Neumann ea67630394 set a busy cursor while loading a page. Offer drag as "text/uri-list" in
2005-04-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/helpbrowser/dialog.c: set a busy cursor while loading a
	page. Offer drag as "text/uri-list" in addition to "_NETSCAPE_URL".
2005-04-17 13:17:33 +00:00
Sven Neumann 92bc757db7 corrected ChangeLog entry 2005-04-17 01:27:37 +00:00
Sven Neumann 99140085c3 libgimpwidgets/gimpstock.c register a wilber in button size.
2005-04-17  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpstock.c
	* themes/Default/images/Makefile.am: register a wilber in button size.

	* plug-ins/helpbrowser/gimpthrobber.c: choose a slightly larger
	icon than the configured size for toolbars.
2005-04-17 01:22:35 +00:00
Sven Neumann f0d1f905ed added actions to zoom in/out.
2005-04-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/helpbrowser/dialog.c: added actions to zoom in/out.

	* plug-ins/helpbrowser/gimpthrobberaction.[ch]: fixed handling of
	overflow menu items.
2005-04-17 00:57:22 +00:00
Sven Neumann dab360d9d4 plug-ins/helpbrowser/Makefile.am plug-ins/helpbrowser/gimpthrobber.[ch]
2005-04-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/helpbrowser/Makefile.am
	* plug-ins/helpbrowser/gimpthrobber.[ch]
	* plug-ins/helpbrowser/gimpthrobberaction.[ch]: new files
	implementing a custom GtkToolItem and a GtkAction to use it.

	* plug-ins/helpbrowser/dialog.c: use the new widget.
2005-04-17 00:22:50 +00:00
Sven Neumann 1967e63d6a app/widgets/gimpaction.h app/widgets/gimpactiongroup.h
2005-04-17  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpaction.h
	* app/widgets/gimpactiongroup.h
	* app/widgets/gimpcellrendereraccel.h
	* app/widgets/gimpenumaction.h
	* app/widgets/gimppluginaction.h
	* app/widgets/gimpstringaction.h
	* app/widgets/gimpuimanager.h: declare get_type() function as
	G_GNUC_CONST.
2005-04-16 23:48:29 +00:00
Michael Natterer cabb5e01a9 plug-ins/script-fu/scripts/guides-new-percent.scm don't use undo groups.
2005-04-17  Michael Natterer  <mitch@gimp.org>

	* plug-ins/script-fu/scripts/guides-new-percent.scm
	* plug-ins/script-fu/scripts/guides-new.scm: don't use undo
	groups. It's useless for a single operation and it's wrong to use
	the undo group unconditionally, but add the guides conditionally.
2005-04-16 23:43:37 +00:00
Michael Natterer 4e92a6cf32 no need to get base_config twice in the same function.
2005-04-16  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpcontext.c (gimp_context_real_set_brush)
	(gimp_context_real_set_pattern): no need to get base_config twice
	in the same function.

	* app/widgets/gimpblobeditor.h: include the parent class.

	* app/widgets/gimpdataeditor.c (gimp_data_editor_init): set the
	name entry insensitive.
2005-04-16 21:53:12 +00:00
Michael Natterer b8e8822c7d implement GimpDocked::get_title() and add "(read only)" to the dialog's
2005-04-16  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpdataeditor.[ch]: implement
	GimpDocked::get_title() and add "(read only)" to the dialog's
	title if the data is not editable. Fixes bug #164003.

	(gimp_data_editor_real_set_data): call gimp_docked_title_changed()
	when the editable state changes.

	(struct GimpDataEditorClass): added "const gchar *title" member.

	* app/widgets/gimpbrusheditor.c
	* app/widgets/gimpgradienteditor.c
	* app/widgets/gimppaletteeditor.c (class_init): set titles.
2005-04-16 20:48:33 +00:00
Sven Neumann 5448fc9056 added gimp_desaturate_mode_get_type.
2005-04-16  Sven Neumann  <sven@gimp.org>

	* libgimpbase/gimpbase.def: added gimp_desaturate_mode_get_type.

2005-04-16  Sven Neumann  <sven@gimp.org>

	* libgimpbase/libgimpbase-sections.txt
	* libgimpbase/tmpl/gimpbaseenums.sgml: added new enum.
2005-04-16 20:20:54 +00:00
Sven Neumann 83234bda75 use a GimpFileEntry to configure the web-browser setting.
2005-04-16  Sven Neumann  <sven@gimp.org>

	* app/dialogs/preferences-dialog.c: use a GimpFileEntry to
	configure the web-browser setting. GtkFileChooserButton just
	doesn't work for it.
2005-04-16 19:27:28 +00:00
Michael Natterer f92a497aae removed the "Close" button and added a "Wilber" button instead which opens
2005-04-16  Michael Natterer  <mitch@gimp.org>

	* plug-ins/helpbrowser/dialog.c: removed the "Close" button and
	added a "Wilber" button instead which opens the online docs in the
	web browser. Added accelerators ctrl+w and ctrl+q which close the
	help browser.

	* plug-ins/helpbrowser/queue.[ch]: updated my email address.
2005-04-16 18:21:21 +00:00
Sven Neumann 971c7212f6 added an icon to the action button.
2005-04-16  Sven Neumann  <sven@gimp.org>

	* app/dialogs/desaturate-dialog.c: added an icon to the action
	button.

	* app/vectors/gimpvectors-import.c: reduce the number of string
	comparisons by using switches on the first character.
2005-04-16 16:15:23 +00:00
Sven Neumann b7ad665c28 Applied a patch (with minor modifications) from Karine Delvare that makes
2005-04-16  Sven Neumann  <sven@gimp.org>

	Applied a patch (with minor modifications) from Karine Delvare
	that makes it possible to choose between various ways to remove
	color from a drawable (bug #155507):

	* libgimpbase/gimpbaseenums.h: added new enum GimpDesaturateMode.

	* libgimpbase/gimpbaseenums.c
	* libgimp/gimpenums.c.tail
	* plug-ins/pygimp/gimpenums.py
	* tools/pdbgen/enums.pl: regenerated.

	* app/core/gimpdrawable-desaturate.[ch]: implement other formulas
	to remove colors from a drawable.

	* tools/pdbgen/pdb/color.pdb: let gimp_desaturate() call
	gimp_drawable_desaturate() with GIMP_DESATURATE_LIGHTNESS so that
	it behaves like it always did.

	* app/pdb/color_cmds.c: regenerated.

	* app/dialogs/Makefile.am
	* app/dialogs/desaturate-dialog.[ch]: new files that define a simple
	dialog to choose a mode for desaturation.

	* app/actions/drawable-actions.[ch]: use the new dialog.
2005-04-16 14:51:49 +00:00
Sven Neumann ffd655fe32 let pdbgen create the code to initialize the variables.
2005-04-16  Sven Neumann  <sven@gimp.org>

	* tools/pdbgen/pdb/vectors.pdb: let pdbgen create the code to
	initialize the variables.

	* app/pdb/vectors_cmds.c: regenerated.
2005-04-16 14:25:45 +00:00
Sven Neumann ce802aa18d plug-ins/helpbrowser/dialog.c finished menu implementation.
2005-04-15  Sven Neumann  <sven@gimp.org>

	* plug-ins/helpbrowser/dialog.c
	* plug-ins/helpbrowser/queue.[ch]: finished menu implementation.
2005-04-15 19:04:07 +00:00