Commit Graph

19173 Commits

Author SHA1 Message Date
Sven Neumann e2a0604174 app/actions/file-actions.c app/actions/file-commands.[ch] renamed
2006-11-05  Sven Neumann  <sven@gimp.org>

	* app/actions/file-actions.c
	* app/actions/file-commands.[ch]
	* menus/image-menu.xml.in: renamed file-open-as-layer to
	file-open-as-layers to complete the changes done to fix bug
#358082.
2006-11-05 11:35:57 +00:00
Sven Neumann dff4ef8f57 applied patch from gg that removes duplicated code (bug #358481).
2006-11-05  Sven Neumann  <sven@gimp.org>

	* app/core/gimp-transform-region.c: applied patch from gg that
	removes duplicated code (bug #358481).
2006-11-05 09:06:47 +00:00
Michael Natterer 3499bcaca0 merged all tool options notify callbacks into a single one and added
2006-11-04  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimprectangletool.c: merged all tool options notify
	callbacks into a single one and added utility function
	gimp_rectangle_tool_synthesize_motion() to improve
	maintainability.
2006-11-04 22:39:37 +00:00
Michael Natterer 05ce1e0179 need to subtract the snap_x and snap_y values from the coords before
2006-11-04  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimprectangletool.c (gimp_rectangle_tool_motion): need
	to subtract the snap_x and snap_y values from the coords before
	calling ourselves recursively, otherwise we run into an infinite
	recursion.
2006-11-04 20:30:52 +00:00
Michael Natterer 062cbaa09e removed gimp_rectangle_tool_get_function() and set_function().
2006-11-04  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimprectangletool.c: removed
	gimp_rectangle_tool_get_function() and set_function().
2006-11-04 20:06:31 +00:00
Michael Natterer abdb666fe0 pause the draw tool earlier in motion() so we don't get artifacts when the
2006-11-04  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimprectangletool.c: pause the draw tool earlier in
	motion() so we don't get artifacts when the function changes.
	Fixed inside_x and inside_y usage in oper_update(). Get rid of
	some local variables in draw().
2006-11-04 19:50:13 +00:00
Michael Natterer 33212fe773 fixed snapping. Replaced lots of g_object_get() by simply accessing
2006-11-04  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimprectangletool.c: fixed snapping. Replaced lots of
	g_object_get() by simply accessing private->member. Misc small
	cleanups.
2006-11-04 19:21:15 +00:00
Sven Neumann e98c83a523 moved call to gimp_item_get_image() out of the loop.
2006-11-04  Sven Neumann  <sven@gimp.org>

	* app/core/gimpimagemap.c (gimp_image_map_do): moved call to
	gimp_item_get_image() out of the loop.

	* app/base/pixel-region.c
	* app/core/gimpitem.c: formatting.
2006-11-04 18:18:32 +00:00
Sven Neumann 14731a5a81 libgimp/libgimp-sections.txt updated.
2006-11-04  Sven Neumann  <sven@gimp.org>

	* libgimp/libgimp-sections.txt
	* libgimpbase/libgimpbase-sections.txt: updated.

	* libgimp/tmpl/gimpedit.sgml
	* libgimp/tmpl/gimpfileops.sgml
	* libgimp/tmpl/gimpfontselectbutton.sgml
	* libgimp/tmpl/gimpvectors.sgml
	* libgimpbase/tmpl/gimpbaseenums.sgml
	* libgimpconfig/tmpl/gimpcolorconfig.sgml: regenerated.
2006-11-04 07:58:07 +00:00
Sven Neumann 099bb0a811 update the configuration dialog when then color configuration is changed.
2006-11-03  Sven Neumann  <sven@gimp.org>

	* modules/cdisplay_lcms.c: update the configuration dialog when
	then color configuration is changed.

	* plug-ins/common/lcms.c: be even more robust.
2006-11-03 22:26:39 +00:00
Michael Natterer 0e4f794f46 app/widgets/gimpcoloreditor.c temporarily attach the context to the
2006-11-03  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcoloreditor.c
	* app/widgets/gimpcolordialog.c: temporarily attach the context to
	the GimpColorConfig object while calling the color selector's
	set_config().

	* app/widgets/gimpcolorselectorpalette.c: moved widget creation
	and signal connecting to GimpColorSelector::set_config() and
	use the context attached to the passed GimpColorConfig object.
2006-11-03 21:29:42 +00:00
Michael Natterer dd9a1db625 libgimp/gimpbrushes.c libgimp/gimpgradients.c libgimp/gimpimage.c
2006-11-03  Michael Natterer  <mitch@gimp.org>

	* libgimp/gimpbrushes.c
	* libgimp/gimpgradients.c
	* libgimp/gimpimage.c
	* libgimp/gimplayer.c
	* libgimp/gimppalette.c
	* libgimp/gimppalettes.c
	* libgimp/gimppatterns.c
	* libgimp/gimpselection.c: also let all non-generated deprecated
	functions see their declarations.
2006-11-03 21:06:22 +00:00
Jakub Friedl ee52864c9b Updated Czech translation.
2006-11-03  Jakub Friedl  <jfriedl@suse.cz>

  * cs.po: Updated Czech translation.
2006-11-03 20:21:50 +00:00
Michael Natterer e896521924 added gimp_image_add_layers() which takes a list of layers and vierport
2006-11-03  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpimage.[ch]: added gimp_image_add_layers() which
	takes a list of layers and vierport coordinates to center the
	layers in.

	* app/dialogs/file-open-dialog.c
	* app/display/gimpdisplayshell-dnd.c
	* app/widgets/gimplayertreeview.c: use it instead of having the
	same code three times.
2006-11-03 19:59:30 +00:00
Michael Natterer ef52e7a9fd select a matching color in the palette if possible.
2006-11-03  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcolorselectorpalette.c
	(gimp_color_selector_palette_set_color): select a matching color
	in the palette if possible.
2006-11-03 17:39:05 +00:00
Michael Natterer cd0c301a3f app/widgets/Makefile.am new widget featuring a proof-of-concept palette
2006-11-03  Michael Natterer  <mitch@gimp.org>

	* app/widgets/Makefile.am
	* app/widgets/gimpcolorselectorpalette.[ch]: new widget featuring
	a proof-of-concept palette color selector. It always shows the
	current palette and doesn't bother to have any features yet. If I
	don't get around finishing this I will disable it for the 2.4
	release, but it's better kept in CVS than on my disk...
	Addresses bug #132146.

	* app/widgets/gimpcolordialog.c (gimp_color_dialog_new): attach
	the passed context to the dialog so the palette selector can find
	it (puke).

	* app/gui/gui.c (gui_restore_callback): register the new object
	with the GType system.
2006-11-03 17:28:52 +00:00
Michael Natterer 725a4e414f added value GIMP_UNDO_GROUP_LAYER_ADD.
2006-11-03  Michael Natterer  <mitch@gimp.org>

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

	* app/file/file-open.[ch]: changed file_open_layer() to
	file_open_layers(), added parameter "gboolean merge_visible",
	return a GList of layers.

	* app/dialogs/file-open-dialog.c
	* app/display/gimpdisplayshell-dnd.c
	* app/widgets/gimplayertreeview.c: pass merge_visible = FALSE and
	add all returned layers to the image. Fixes bug #358082.
	(contains lots of duplicated code, will factor that out later).

	* tools/pdbgen/pdb/fileops.pdb (load_layer): pass merge_visible = TRUE
	(load_layers): new wrapper which returns all the image's layers.

	* app/pdb/fileops_cmds.c
	* app/pdb/internal_procs.c
	* libgimp/gimpfileops_pdb.[ch]: regenerated.

	* libgimp/gimp.def: changed accordingly.
2006-11-03 17:12:27 +00:00
Sven Neumann c422b2b397 use gimp_any_to_utf8().
2006-11-03  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/lcms.c: use gimp_any_to_utf8().
2006-11-03 14:46:40 +00:00
Sven Neumann e667ce046a use "Fade" instead of "OK" in action button, added mnemonics.
2006-11-03  Sven Neumann  <sven@gimp.org>

	* app/dialogs/fade-dialog.c (fade_dialog_new): use "Fade" instead
	of "OK" in action button, added mnemonics.
2006-11-03 14:41:27 +00:00
Sven Neumann e7f921cb98 app/dialogs/image-properties-dialog.c (image_comment_update) use
2006-11-03  Sven Neumann  <sven@gimp.org>

	* app/dialogs/image-properties-dialog.c (image_comment_update)
	* app/text/gimptext-parasite.c (gimp_text_from_gdyntext_parasite):
	use gimp_any_to_utf8() to deal with invalid UTF-8 strings.
2006-11-03 14:37:01 +00:00
Sven Neumann 568bbb9558 made non-abstract.
2006-11-03  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpimageparasiteview.[ch]: made non-abstract.

	* app/dialogs/image-properties-dialog.c: show a "Comment" tab if
	the image contains a "gimp-comment" parasite.
2006-11-03 14:22:46 +00:00
Sven Neumann 4f4dea5645 app/widgets/Makefile.am app/widgets/widgets-types.h new abstract base
2006-11-03  Sven Neumann  <sven@gimp.org>

	* app/widgets/Makefile.am
	* app/widgets/widgets-types.h
	* app/widgets/gimpimageparasiteview.[ch]: new abstract base class.

	* app/widgets/gimpimageprofileview.[ch]: derive from
	GimpImageParasiteView.
2006-11-03 13:52:17 +00:00
Sven Neumann 3788521a04 pass the number of bytes to gimp_parasite_new(), not the number of
2006-11-03  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/screenshot.c: pass the number of bytes to
	gimp_parasite_new(), not the number of characters.
2006-11-03 11:08:24 +00:00
Sven Neumann 798c6b924a use g_utf8_casefold() to implement case insensitive sorting.
2006-11-03  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/tinyscheme/scheme.c (utf8_stricmp): use
	g_utf8_casefold() to implement case insensitive sorting.
2006-11-03 09:07:43 +00:00
Jakub Friedl ac26dbc372 Updated Czech Translation
2006-11-03  Jakub Friedl  <jfriedl@suse.cz>

  * cs.po: Updated Czech Translation
2006-11-03 07:40:55 +00:00
Kevin Cozens 144dc15c0b Removed USE_STRCASECMP. Use the setting for USE_STRLWR that is used in
2006-11-02  Kevin Cozens  <kcozens@cvs.gnome.org>

        * plug-ins/script-fu/Makefile.am: Removed USE_STRCASECMP. Use the
        setting for USE_STRLWR that is used in TinyScheme.

        * plug-ins/script-fu/tinyscheme/Makefile.am: Removed USE_STRCASECMP.

        * plug-ins/script-fu/tinyscheme/scheme.c
        * plug-ins/script-fu/tinyscheme/scheme.h: Added missing SCHEME_EXPORT
        to a couple of function declarations. Eliminated USE_STRCASECMP by
        using internal UTF8 string comparison routine.

        * plug-ins/script-fu/tinyscheme/scheme-private.h: Stop some compiler
        warnings.
2006-11-03 01:57:40 +00:00
Kevin Cozens 0620eaf303 Removed USE_STRCASECMP. Use the setting for USE_STRLWR that is used in
2006-11-02  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/Makefile.am: Removed USE_STRCASECMP. Use the
	setting for USE_STRLWR that is used in TinyScheme.

	* plug-ins/script-fu/tinyscheme/Makefile.am: Removed USE_STRCASECMP.

	* plug-ins/script-fu/tinyscheme/scheme.c
	* plug-ins/script-fu/tinyscheme/scheme.h: Added missing SCHEME_EXPORT
	to a couple of function declarations. Eliminated USE_STRCASECMP by
	using internal UTF8 string comparison routine.

	* plug-ins/script-fu/tinyscheme/scheme-private.h: Stop some compiler
	warnings.
2006-11-02 21:08:12 +00:00
Jakub Friedl aee70320e0 Updated Czech translation.
2006-11-02  Jakub Friedl  <jfriedl@suse.cz>

  * cs.po: Updated Czech translation.
2006-11-02 20:10:45 +00:00
Francisco Javier F. Serrador 31ae45bc9d Updated Spanish translation.
2006-11-02  Francisco Javier F. Serrador  <serrador@openshine.com>

	* es.po: Updated Spanish translation.
2006-11-02 19:55:41 +00:00
Michael Natterer 96a6a007c1 Don't let each terminating plug-in procedure end its progress, because
2006-11-02  Michael Natterer  <mitch@gimp.org>

	Don't let each terminating plug-in procedure end its progress,
	because that progress may still be in use by another plug-in.

	* app/plug-in/gimpplugin-progress.[ch]
	(gimp_plug_in_progress_attach)
	(gimp_plug_in_progress_detach): new functions which maintain
	a simple attach count for a GimpProgress

	* app/plug-in/gimpplugin-progress.c
	* app/plug-in/gimppluginprocframe.c: call attach() when setting
	proc_frame->progress. Call detach() in gimp_plug_in_progress_end()
	and only call gimp_progress_end() if detaching lowered the attach
	count to 0.
2006-11-02 15:26:03 +00:00
Ilkka Tuohela ad3ecb0ae7 Updated Finnish translation 2006-11-02 14:06:17 +00:00
Sven Neumann 255800acb2 moved the hbox code for consistency with flarefx.c 2006-11-02 13:23:18 +00:00
Sven Neumann e2dfb22cba plug-ins/common/flarefx.c (flare_center_create) don't expand the
2006-11-02  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/flarefx.c (flare_center_create)
	* plug-ins/common/nova.c (nova_center_create): don't expand the
	coordinates widget horizontally.

	* plug-ins/common/lcms.c: added padding.
2006-11-02 13:21:59 +00:00
Sven Neumann 78f8dde307 removed pdbbrowse.py.
2006-11-02  Sven Neumann  <sven@gimp.org>

	* POTFILES.in: removed pdbbrowse.py.
2006-11-02 12:35:13 +00:00
Michael Natterer 8e22e7c764 fix rendering for n_columns == 1 (bug #369368).
2006-11-02  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpviewrendererpalette.c
	(gimp_view_renderer_palette_render): fix rendering for
	n_columns == 1 (bug #369368).
2006-11-02 12:18:20 +00:00
Sven Neumann b8742dc4ba improved wording.
2006-11-02  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/lcms.c: improved wording.
2006-11-02 09:22:43 +00:00
Francisco Javier F. Serrador 270279d161 Updated Spanish translation.
2006-11-01  Francisco Javier F. Serrador  <serrador@openshine.com>

	* es.po: Updated Spanish translation.
2006-11-01 21:19:02 +00:00
Michael Natterer 93caf1f8b1 fix cell_width calculation again so we don't cut off cells. Don't write
2006-11-01  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpviewrendererpalette.c
	(gimp_view_renderer_palette_render): fix cell_width calculation
	again so we don't cut off cells. Don't write beyond the buffer's
	size, fixes random crashes.
2006-11-01 19:13:59 +00:00
Kevin Cozens d3bf82ae7a Added two missing deprecated constants. Updated some comments and removed
2006-11-01  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/scheme-wrapper.c: Added two missing deprecated
	constants. Updated some comments and removed one obsolete comment.

	* plug-ins/script-fu/scripts/test-sphere.scm: Fixed example of how
	to use named constants in a list by using the 'list' function.
2006-11-01 17:14:17 +00:00
Michael Natterer 4034fcf5c9 die, sucker, die die die 2006-11-01 16:38:09 +00:00
Sven Neumann 21d8268dd3 removed frames. Saves a few pixels and reduces visual clutter.
2006-11-01  Sven Neumann  <sven@gimp.org>

	* app/display/gimpstatusbar.c: removed frames. Saves a few pixels
	and reduces visual clutter.
2006-11-01 15:55:40 +00:00
Sven Neumann 0370337796 always deal with embedded color profiles.
2006-11-01  Sven Neumann  <sven@gimp.org>

	* app/file/file-open.c: always deal with embedded color profiles.

	* app/dialogs/preferences-dialog.c: reordered items in Color
	Management section, added some spacing.

	* app/config/gimprc-blurbs.h
	* libgimpconfig/gimpcolorconfig.c
	* plug-ins/common/lcms.c: string changes for consistency.
2006-11-01 14:09:29 +00:00
Sven Neumann 7bdcd35ac8 redid the dialog without using markup.
2006-11-01  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/lcms.c: redid the dialog without using markup.
2006-11-01 12:25:55 +00:00
Jakub Friedl d9329af6d1 Updated Czech translation.
2006-11-1  Jakub Friedl  <jfriedl@suse.cz>

  * cs.po: Updated Czech translation.
2006-11-01 09:25:56 +00:00
Michael Natterer 5d48aa2f62 make sure we calculate the right number of columns and don't render more
2006-11-01  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpviewrendererpalette.c
	(gimp_view_renderer_palette_render): make sure we calculate the
	right number of columns and don't render more cells than columns
	in one row.
2006-11-01 03:15:51 +00:00
Sven Neumann a16e7158db improved dialog.
2006-11-01  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/lcms.c: improved dialog.
2006-11-01 03:09:47 +00:00
Sven Neumann 159dd4f0f5 use "GIMP", not "the GIMP".
2006-11-01  Sven Neumann  <sven@gimp.org>

	* app/config/gimprc-blurbs.h: use "GIMP", not "the GIMP".
2006-11-01 02:37:10 +00:00
Sven Neumann e76910fba4 app/widgets/gimpdataeditor.c set the editable state, not the sensitivity
2006-11-01  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpdataeditor.c
	* app/widgets/gimppaletteeditor.c: set the editable state, not
the
	sensitivity of the entries according to the data's editable
state.
2006-11-01 02:20:42 +00:00
Sven Neumann e9a778e0e3 removed debugging output 2006-11-01 01:43:05 +00:00
Sven Neumann 2d16c08e1f string change.
2006-11-01  Sven Neumann  <sven@gimp.org>

	* app/core/core-enums.[ch]: string change.

	* app/dialogs/preferences-dialog.c: added a combo box for the
	color-profile-policy.
2006-11-01 00:54:20 +00:00