Commit Graph

10777 Commits

Author SHA1 Message Date
Sven Neumann e52c59eff3 some files that I missed in my last commit 2005-04-07 10:33:58 +00:00
Sven Neumann 333593daf4 changed GimpConfig utility functions to take GObject variables instead of
2005-04-07  Sven Neumann  <sven@gimp.org>

	* libgimpconfig/gimpconfig-utils.[ch]: changed GimpConfig utility
	functions to take GObject variables instead of GimpConfig. There's
	nothing GimpConfig specific about these utilities.

	* app/actions/templates-commands.c
	* app/actions/tool-options-commands.c
	* app/base/base.c
	* app/config/gimpcoreconfig.c
	* app/config/gimpdisplayconfig.c
	* app/config/gimprc.c
	* app/core/gimpimage-grid.c
	* app/core/gimpimage-new.c
	* app/core/gimpstrokedesc.c
	* app/dialogs/grid-dialog.c
	* app/dialogs/image-new-dialog.c
	* app/dialogs/stroke-dialog.c
	* app/display/gimpdisplayshell.c
	* app/text/gimptextlayer.c
	* app/text/gimptextundo.c
	* app/tools/gimptextoptions.c
	* libgimpconfig/gimpconfig-iface.c: changed accordingly.
2005-04-07 10:05:54 +00:00
Sven Neumann ec1b12e14e app/actions/plug-in-actions.c (plug_in_actions_add_branch)
2005-04-07  Sven Neumann  <sven@gimp.org>

	* app/actions/plug-in-actions.c (plug_in_actions_add_branch)
	* app/core/gimpinterpreterdb.c (resolve_extension)
	* app/widgets/gimpcolorframe.c (gimp_color_frame_update): plugged
	memleaks.
2005-04-07 00:04:10 +00:00
Sven Neumann d0c80e7629 plugged a small memleak.
2005-04-07  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpmessagebox.c: plugged a small memleak.

	* libgimpwidgets/gimpcontroller.c: added a finalizer and free the
	allocated strings.
2005-04-06 23:19:04 +00:00
Sven Neumann 7647db537b added new function to reset a single property to its default value.
2005-04-06  Sven Neumann  <sven@gimp.org>

	* libgimpconfig/gimpconfig-utils.[ch]: added new function to reset
	a single property to its default value.

	* libgimpconfig/gimpconfig.def: updated.

	* app/config/gimpbaseconfig.[ch]: reverted last change.

	* app/base/base.c: use gimp_config_reset_property() instead.
2005-04-06 21:37:40 +00:00
Sven Neumann d4645e253c don't use -mwindows when linking gimp-console.
2005-04-06  Sven Neumann  <sven@gimp.org>

	* app/Makefile.am: don't use -mwindows when linking gimp-console.
2005-04-06 17:04:46 +00:00
Sven Neumann e79099db0d declare default_value as const and allocate a copy.
2005-04-06  Sven Neumann  <sven@gimp.org>

	* libgimpconfig/gimpconfig-path.[ch] (gimp_param_spec_config_path):
	declare default_value as const and allocate a copy.

	* app/config/gimpbaseconfig.[ch]: gives access to the default values
	for temp and swap path.

	* app/base/base.c (base_init): create the temp directory if it
	doesn't exist (bug #172682).

	* plug-ins/uri/uri-backend-gnomevfs.c: fixed path in error message.
2005-04-06 15:14:57 +00:00
Sven Neumann 36cd5f04c4 install a link to the gimp(1) man-page for gimp-console(1).
2005-04-06  Sven Neumann  <sven@gimp.org>

	* docs/Makefile.am: install a link to the gimp(1) man-page for
	gimp-console(1).

	* docs/gimp.1.in: mention gimp-console.
2005-04-06 13:38:29 +00:00
Sven Neumann e1b5332a56 improved "--help" output.
2005-04-06  Sven Neumann  <sven@gimp.org>

	* app/main.c: improved "--help" output.

	* docs/gimp.1.in: updated.
2005-04-06 13:15:38 +00:00
Sven Neumann e804503373 INSTALL build and install gimp-console by default.
2005-04-05  Sven Neumann  <sven@gimp.org>

	* INSTALL
	* configure.in: build and install gimp-console by default.
2005-04-05 21:37:18 +00:00
Michael Natterer 60e3e02e8b app/plug-in/Makefile.am new files containing plug_ins_query().
2005-04-05  Michael Natterer  <mitch@gimp.org>

	* app/plug-in/Makefile.am
	* app/plug-in/plug-ins-query.[ch]: new files containing
	plug_ins_query().

	* tools/pdbgen/pdb/plug_in.pdb (plugins_query): remove all code
	and use above function.

	* app/pdb/plug_in_cmds.c: regenerated.
2005-04-05 21:10:55 +00:00
Michael Natterer b07c86050f strip the menu strings from underlines before matching. Fixed function to
2005-04-05  Michael Natterer  <mitch@gimp.org>

	* tools/pdbgen/pdb/plug_in.pdb (plugins_query): strip the menu
	strings from underlines before matching. Fixed function to not
	match all procedures twice.

	* app/pdb/plug_in_cmds.c: regenerated.
2005-04-05 20:12:58 +00:00
Sven Neumann ec4ece7414 s/Blurb/Description/
2005-04-05  Sven Neumann  <sven@gimp.org>

	* plug-ins/dbbrowser/gimpprocbrowser.c: s/Blurb/Description/

	* plug-ins/dbbrowser/gimpprocview.c: allow to select the menu path
	label.
2005-04-05 14:49:03 +00:00
Sven Neumann d42c972038 shorter dialog title.
2005-04-05  Sven Neumann  <sven@gimp.org>

	* app/dialogs/image-properties-dialog.c: shorter dialog title.
2005-04-05 09:17:40 +00:00
Sven Neumann 83acacc28f s/Colorspace/Color space/
2005-04-05  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimptemplateeditor.c: s/Colorspace/Color space/
2005-04-05 09:12:29 +00:00
Michael Natterer ac8e7db9f2 app/dialogs/Makefile.am removed.
2005-04-05  Michael Natterer  <mitch@gimp.org>

	* app/dialogs/Makefile.am
	* app/dialogs/info-window.[ch]: removed.

	* app/actions/view-actions.c
	* app/actions/view-commands.[ch]
	* menus/image-menu.xml.in: removed its action and menu stuff.

	* app/display/gimpdisplayshell-cursor.c
	* app/display/gimpdisplayshell-title.c
	* app/display/gimpdisplayshell.[ch]: removed info window stuff.
	This was the last display -> dialogs dependency.

	* app/dialogs/dialogs.c: added ugly hack that references
	info_dialog. Otherwise the still existing tools -> dialogs
	dependency breaks the build.
2005-04-04 23:48:19 +00:00
Sven Neumann 0778559f39 app/core/core-enums.[ch] handle a floating selection attached to the layer
2005-04-05  Sven Neumann  <sven@gimp.org>

	* app/core/core-enums.[ch]
	* app/core/gimpimage.c
	(gimp_image_remove_layer, gimp_image_remove_channel): handle a
	floating selection attached to the layer or channel that is being
	removed.  Fixes bug #168582 but doesn't handle floating selections
	attached to layer masks.
2005-04-04 23:12:50 +00:00
Sven Neumann 7792951f36 renamed localedir to gimplocaledir.
2005-04-05  Sven Neumann  <sven@gimp.org>

	* configure.in: renamed localedir to gimplocaledir.

	* libgimpbase/Makefile.am (AM_CPPFLAGS)
	* tools/Makefile.am (AM_CPPFLAGS): changed accordingly.

	* gimp.pc.in: added gimplocaledir to the pkg-config file to give
	plug-ins a chance to get gimp_locale_directory() at compile time.
2005-04-04 23:06:32 +00:00
Sven Neumann c4f5981f39 select localedir according to the format of the gettext message catalogs.
2005-04-05  Sven Neumann  <sven@gimp.org>

	* configure.in: select localedir according to the format of the
	gettext message catalogs. Closes bug #169274 again.
2005-04-04 22:51:46 +00:00
Michael Natterer dba31b149c More unfinished replacement for the info window:
2005-04-05  Michael Natterer  <mitch@gimp.org>

	More unfinished replacement for the info window:

	* app/widgets/Makefile.am
	* app/widgets/widgets-types.h
	* app/widgets/gimpimagepropview.[ch]: new widget showing an image's
	size, resolution, mode, memsize etc.

	* app/dialogs/Makefile.am
	* app/dialogs/image-properties-dialog.[ch]: a dialog keeping the
	widget.

	* app/widgets/gimphelp-ids.h: a help ID for the dialog.

	* app/actions/image-actions.c
	* app/actions/image-commands.[ch]
	* menus/image-menu.xml.in: action and menu entry for the dialog.
2005-04-04 22:34:29 +00:00
Sven Neumann 07412d61c9 check for options->clone_type.
2005-04-04  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpclonetool.c (gimp_clone_tool_oper_update): check
	for options->clone_type.
2005-04-04 21:20:13 +00:00
Sven Neumann 9071470d63 app/tools/gimppainttool.[ch] export paint tool statusbar API.
2005-04-04  Sven Neumann  <sven@gimp.org>

	* app/tools/gimppainttool.[ch] export paint tool statusbar API.

	* app/tools/gimpclonetool.c: added statusbar hint.
2005-04-04 21:03:21 +00:00
Sven Neumann cc2af3dbac use g_ascii_isalnum() instead of isalnum(). Rephrased some comments.
2005-04-04  Sven Neumann  <sven@gimp.org>

	* libgimpbase/gimpenv.c (gimp_directory): use g_ascii_isalnum()
	instead of isalnum(). Rephrased some comments.
2005-04-04 19:23:46 +00:00
Maurits Rijk 6f0416dce0 plug-ins/imagemap/imap_edit_area_info.c plug-ins/imagemap/imap_menu.c
2005-04-04  Maurits Rijk  <m.rijk@chello.nl>

	* plug-ins/imagemap/imap_edit_area_info.c
	* plug-ins/imagemap/imap_menu.c
	* plug-ins/imagemap/imap_stock.c: replaced 2 icons by GIMP stock
	icons

	* plug-ins/imagemap/images/Makefile.am: changed accordingly

	* plug-ins/imagemap/images/stock-arrow.png
	* plug-ins/imagemap/images/stock-link.png: removed accordingly
2005-04-04 18:41:35 +00:00
Sven Neumann d336a49a53 return early if called for an internal data object. Fixes bug #172581.
2005-04-04  Sven Neumann  <sven@gimp.org>

	* app/core/gimpdata.c (gimp_data_create_filename): return early if
	called for an internal data object. Fixes bug #172581.
2005-04-04 15:14:50 +00:00
Sven Neumann caf4ff8786 fixed boundary conditions that led to incorrect preview (bug #172589).
2005-04-04  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/deinterlace.c (deinterlace): fixed boundary
	conditions that led to incorrect preview (bug #172589).
2005-04-04 12:21:13 +00:00
Tor Lillqvist 61ca231ce2 On Win32, move the "bmp" format to the front. Means less conversion in
2005-04-04  Tor Lillqvist  <tml@novell.com>

	* app/widgets/gimpclipboard.c (gimp_clipboard_format_compare): On
	Win32, move the "bmp" format to the front. Means less conversion
	in most cases, as other apps on Win32 typically provide/want the
	BMP format on the Clipboard. (Actually CF_DIB, but that's the
	same, just without the BMP file header.) See also bug #168173.
2005-04-04 00:33:35 +00:00
Sven Neumann 3907df836a fixed typo that caused a crash when deleting a fractal from the list (bug
2005-04-04  Sven Neumann  <sven@gimp.org>

	* plug-ins/FractalExplorer/FractalExplorer.c: fixed typo that
	caused a crash when deleting a fractal from the list (bug #172347).
2005-04-03 23:07:44 +00:00
Sven Neumann f5edff0fe5 readded "rw" (Kinyarwanda).
2005-04-03  Sven Neumann  <sven@gimp.org>

	* configure.in (ALL_LINGUAS): readded "rw" (Kinyarwanda).
2005-04-03 21:29:37 +00:00
Jakub Steiner 046c517934 themes/Default/images/stock-cursor-16.png
2005-04-03  Jakub Steiner <jimmac@ximian.com>

* themes/Default/images/stock-cursor-16.png
* themes/Default/images/stock-cursor-24.png
* themes/Default/images/stock-sample-point-16.png
* themes/Default/images/stock-sample-point-24.png: touch up a
  little.
2005-04-03 21:15:38 +00:00
Michael Natterer ff1e1ba290 fixed spacings and update them in GtkWidget::style_set(). Removed lots of
2005-04-03  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcursorview.[ch]: fixed spacings and update them
	in GtkWidget::style_set(). Removed lots of cruft from the widget
	this files were copied from, including the GimpContext param
	to gimp_cursor_view_new(). Remember the state of the two color
	frames as aux-info in sessionrc.

	* app/dialogs/dialogs-constructors.c: changed accordingly.
2005-04-03 17:15:45 +00:00
Michael Natterer 327f1a007a switch from a table to a vbox containing hboxes, so the widget's width is
2005-04-03  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcolorframe.c (gimp_color_frame_init): switch
	from a table to a vbox containing hboxes, so the widget's width is
	not determined by the longest label *plus* the longest value.
2005-04-03 16:18:00 +00:00
Michael Natterer 0231374c86 added new signals "sample-point-added" and "sample-point-removed" and
2005-04-03  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpimage.[ch]: added new signals "sample-point-added"
	and "sample-point-removed" and public functions to emit them.

	* app/core/gimpimage-sample-points.c (gimp_image_add_sample_point)
	(gimp_image_remove_sample_point): emit them accordingly.

	* app/core/gimpimage-undo-push.c (undo_pop_image_sample_point):
	ditto.

	(undo_pop_image_guide)
	(undo_pop_image_sample_point): added comments why we add/remove
	stuff manually instead of using the GimpImage APIs.

	* app/widgets/Makefile.am
	* app/widgets/widgets-types.h
	* app/widgets/gimpcursorview.[ch]
	* app/widgets/gimpsamplepointeditor.[ch]: new widgets.
	GimpCursorView is a replacement for the info window's "Cursor"
	page, GimpSamplePointEditor is a view on an image's sample points.
	The sample point editor does nothing yet except keeping a 2x2 grid
	of GimpColorFrames. Addresses bug #137776.

	* app/dialogs/dialogs.c
	* app/dialogs/dialogs-constructors.[ch]: register the new widgets
	as dockable dialogs.

	* app/actions/dialogs-actions.c (dialogs_dockable_actions)
	* menus/dialogs-menuitems.xml: added actions and menu items for
	the new dialogs.

	* app/display/gimpdisplayshell-cursor.c
	(gimp_display_shell_update_cursor)
	(gimp_display_shell_clear_cursor): update the new cursor view.

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

	* app/widgets/widgets-enums.[ch] (enum GimpColorFrameMode):
	changed description "Pixel values" to "Pixel" because the former
	was too long.
2005-04-03 15:48:03 +00:00
Michael Natterer 6e6ebca6a1 themes/Default/images/Makefile.am
2005-04-02  Michael Natterer  <mitch@gimp.org>

	* themes/Default/images/Makefile.am
	* themes/Default/images/stock-cursor-16.png
	* themes/Default/images/stock-cursor-24.png
	* themes/Default/images/stock-sample-point-16.png
	* themes/Default/images/stock-sample-point-24.png: new icons for
	new dockables which are about to be added. Jimmac, I made them
	as ugly as possible, as you said :)

	* libgimpwidgets/gimpstock.[ch]: add them as stock icons.
2005-04-02 13:17:59 +00:00
Michael Natterer d20e8d3a4c revert previous commit because not all po files were added and the
2005-04-01  Michael Natterer  <mitch@gimp.org>

	* configure.in: revert previous commit because not all po files
	were added and the ALL_LINGUAS change was broken too.
2005-04-01 20:17:50 +00:00
Steven Michael Murphy a7e4f10196 Added new Language, Kinyarwanda (rw), to this package 2005-04-01 19:52:43 +00:00
Sven Neumann d164aa746b do nothing if this message is at the top of the stack already.
2005-04-01  Sven Neumann  <sven@gimp.org>

	* app/display/gimpstatusbar.c (gimp_statusbar_push): do nothing if
	this message is at the top of the stack already.
2005-04-01 12:26:32 +00:00
Sven Neumann 45a7cd9a50 added a statusbar message suggesting to use Shift to draw a straight line.
2005-04-01  Sven Neumann  <sven@gimp.org>

	* app/tools/gimppainttool.c: added a statusbar message suggesting
	to use Shift to draw a straight line.
2005-04-01 11:54:08 +00:00
Sven Neumann ed6b14f05d keep the previews from expanding. Fixes bug #172284.
2005-04-01  Sven Neumann  <sven@gimp.org>

	* plug-ins/rcm/rcm_dialog.c: keep the previews from expanding. Fixes
	bug #172284.
2005-04-01 10:20:44 +00:00
Sven Neumann 7b18c95e24 removed sl until all required files have been added to CVS.
2005-04-01  Sven Neumann  <sven@gimp.org>

	* configure.in (ALL_LINGUAS): removed sl until all required files
	have been added to CVS.
2005-04-01 10:10:07 +00:00
Manish Singh 63228feaac cast to GIMP_CONTAINER_VIEW for gimp_container_view_get_dnd_widget()
2005-03-31  Manish Singh  <yosh@gimp.org>

        * app/dialogs/quit-dialog.c (quit_dialog_new): cast to
	GIMP_CONTAINER_VIEW for gimp_container_view_get_dnd_widget()
2005-04-01 00:07:01 +00:00
Sven Neumann 3ba107f1f9 app/widgets/Makefile.am app/widgets/gimpfgbgview.[ch] added new widget
2005-03-31  Sven Neumann  <sven@gimp.org>

	* app/widgets/Makefile.am
	* app/widgets/gimpfgbgview.[ch]
	* app/widgets/widgets-types.h: added new widget GimpFgBgView;
	somewhat similar to GimpFgBgEditor but a lot simpler.

	* app/widgets/gimpcoloreditor.c: use GimpFgBgView as preview widget.
	Closes bug #168592.

	* app/widgets/gimpfgbgeditor.c: gracefully handle a very small
	size allocation.
2005-03-31 13:39:18 +00:00
Sven Neumann 4462ca8ae0 enable save via DND from the image list in the quit dialog.
2005-03-31  Sven Neumann  <sven@gimp.org>

	* app/dialogs/quit-dialog.c: enable save via DND from the image
	list in the quit dialog.
2005-03-31 09:55:47 +00:00
Sven Neumann 01ddef5053 use GTK_STOCK_DELETE for the "Discard Changes" button.
2005-03-31  Sven Neumann  <sven@gimp.org>

	* app/dialogs/quit-dialog.c: use GTK_STOCK_DELETE for the "Discard
	Changes" button.
2005-03-31 08:14:15 +00:00
Michael Natterer 6a35b9d161 use GTK_STOCK_DELETE for the "Don't Save" button.
2005-03-31  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpdisplayshell-close.c
	(gimp_display_shell_close_dialog): use GTK_STOCK_DELETE for the
	"Don't Save" button.
2005-03-31 00:50:13 +00:00
Sven Neumann 2088a86ae7 fixed copy-n-paste bug that affected PANGO_ATTR_SIZE.
2005-03-30  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpwidgets.c (gimp_label_set_attributes): fixed
	copy-n-paste bug that affected PANGO_ATTR_SIZE.
2005-03-30 19:58:49 +00:00
Sven Neumann fd6d42bb17 set a different help message in polygonal mode. Fixes bug #172051.
2005-03-30  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpvectortool.c (gimp_vector_tool_status_update):
	set a different help message in polygonal mode. Fixes bug #172051.
2005-03-30 14:14:31 +00:00
Sven Neumann f95993b9af rephrased last ChangeLog entry 2005-03-30 11:55:46 +00:00
Sven Neumann cf56c79553 allow to store the clipboard content in a clipboard manager when GIMP
2005-03-30  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpclipboard.c: allow to store the clipboard content
	in a clipboard manager when GIMP exits.
2005-03-29 22:05:50 +00:00
Sven Neumann 34d6cc9e83 handle gimp_viewable_get_pixbuf() returning NULL. Fixes bug #171827.
2005-03-28  Sven Neumann  <sven@gimp.org>

	* app/dialogs/resize-dialog.c (resize_dialog_new): handle
	gimp_viewable_get_pixbuf() returning NULL. Fixes bug #171827.
2005-03-28 00:11:43 +00:00