Commit graph

16792 commits

Author SHA1 Message Date
Amanpreet Singh Alam 5a76e07170 update by amanpreetalam@yahoo.com 2005-09-10 10:07:12 +00:00
Sven Neumann d7abe43826 match parameter name in .c file.
2005-09-10  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpprogress.h: match parameter name in .c file.
2005-09-10 00:33:41 +00:00
Sven Neumann f96f94e933 updated.
2005-09-10  Sven Neumann  <sven@gimp.org>

	* libgimp/libgimp-sections.txt: updated.

	* libgimp/tmpl/gimpprogress.sgml
	* libgimp/tmpl/gimpui.sgml
	* libgimpbase/tmpl/gimpbaseenums.sgml: regenerated.
2005-09-10 00:32:18 +00:00
Michael Natterer 3291ed358e plug-ins/common/aa.c plug-ins/common/csource.c plug-ins/common/gbr.c
2005-09-09  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/aa.c
	* plug-ins/common/csource.c
	* plug-ins/common/gbr.c
	* plug-ins/common/gih.c
	* plug-ins/common/gtm.c
	* plug-ins/common/mng.c
	* plug-ins/common/pat.c
	* plug-ins/common/png.c
	* plug-ins/common/pnm.c
	* plug-ins/common/postscript.c
	* plug-ins/common/psp.c
	* plug-ins/common/raw.c
	* plug-ins/common/sunras.c
	* plug-ins/common/tga.c
	* plug-ins/common/tiff.c
	* plug-ins/common/xbm.c
	* plug-ins/common/xpm.c
	* plug-ins/gfli/gfli.c
	* plug-ins/jpeg/jpeg-save.c
	* plug-ins/sgi/sgi.c
	* plug-ins/winicon/icodialog.c: actually call
	gimp_window_set_transient() on save dialogs.
	Really fixes bug #62988.
2005-09-09 18:38:00 +00:00
Michael Natterer b10adabb5e Added parent window API to the GimpProgress interface and to the libgimp
2005-09-09  Michael Natterer  <mitch@gimp.org>

	Added parent window API to the GimpProgress interface and to
	the libgimp progress stuff. Might look strange, but does
	the right thing in almost all cases (image window, file dialog,
	script-fu dialog etc). Fixes bug #62988.

	* app/core/gimpprogress.[ch]: added GimpProgress::get_window()
	which should return a toplevel window ID if the progress is in a
	window that wants to be the transient parent of plug-in dialogs.

	* app/widgets/gimpwidgets-utils.[ch] (gimp_window_get_native): new
	function which returns the window handle of a GtkWindow's GdkWindow.

	* app/widgets/gimpfiledialog.c: implement ::get_window().

	* app/display/gimpdisplay.[ch]: ditto. Removed window handle API.

	* app/gui/gui-vtable.c: changed accordingly.

	* libgimpbase/gimpbaseenums.[ch] (enum GimpProgressCommand):
	added GIMP_PROGRESS_COMMAND_GET_WINDOW.

	* app/plug-in/plug-in-progress.[ch] (plug_in_progress_get_window):
	new function. Also renamed some functions to match the
	GimpProgress interface, and not the legacy PDB procedure names.

	* tools/pdbgen/pdb/progress.pdb
	* app/core/gimppdbprogress.c: implement get_window() on both
	sides of the wire, keeping backward compatibility (hopefully).

	* libgimp/gimpprogress.[ch]: deprecated gimp_progress_install()
	and added gimp_progress_install_vtable() which takes a vtable with
	padding to be extensible. Added get_window() vtable entry and
	dispatch it accordingly. Also added pulse() which was implemented
	in a hackish way before. Everything is of course backward
	compatible.

	* libgimp/gimpprogressbar.c: inmplement the get_window() stuff
	so a plug-in dialog containing a progress can be the transient
	parent of another dialog in another plug-in.

	* libgimp/gimpui.[ch] (gimp_ui_get_progress_window): new function
	which returns a foreign GdkWindow of this plug-ins progress
	window.

	Renamed gimp_window_set_transient_for_default_display() to
	gimp_window_set_transient() and make it use the progress' window
	handle instead of the display's (which is the right thing to do in
	almost all cases).

	* libgimp/gimp.def
	* libgimp/gimpui.def: add the new functions.

	* tools/pdbgen/enums.pl
	* app/pdb/internal_procs.c
	* app/pdb/progress_cmds.c
	* libgimp/gimpprogress_pdb.[ch]: regenerated.

	* libgimp/gimpexport.c
	* plug-ins/*/*.c: follow API change.
2005-09-09 18:07:31 +00:00
Tor Lillqvist 5a81d39e07 Practice what I preach and use g_ascii_strcasecmp() instead of
2005-09-09  Tor Lillqvist  <tml@novell.com>

	* libgimpbase/gimpdatafiles.c (is_script): Practice what I preach
	and use g_ascii_strcasecmp() instead of g_strcasecmp().
2005-09-09 14:17:01 +00:00
Tor Lillqvist 823e52d3b0 Practice what I preach and use g_ascii_strcasecmp() instead of
2005-09-09  Tor Lillqvist  <tml@novell.com>

	* gimptool-win32.c.in (get_prefix, maybe_append_exe): Practice
	what I preach and use g_ascii_strcasecmp() instead of
	g_strcasecmp().
2005-09-09 13:48:54 +00:00
Sven Neumann 428771c6b1 use g_ascii_strcasecmp() instead of strcasecmp().
2005-09-09  Sven Neumann  <sven@gimp.org>

	* plug-ins/print/print.c (printrc_load): use g_ascii_strcasecmp()
	instead of strcasecmp().
2005-09-09 10:21:58 +00:00
Michael Natterer d7b4fb25cf Removed 'hi' again until all po files are there.
2005-09-09  Michael Natterer  <mitch@gimp.org>

	* configure.in: Removed 'hi' again until all po files are there.
2005-09-09 08:58:52 +00:00
Amanpreet Singh Alam c29a7ade95 update by amanpreetalam@yahoo.com for Punjabi 2005-09-09 08:50:47 +00:00
Rajesh Ranjan d4f87f4c92 tranlated by rajeshkajha@yahoo.com 2005-09-09 08:22:06 +00:00
Michael Natterer 805602b657 if the floating selection has no alpha, manually create BoundSegs of its
2005-09-08  Michael Natterer  <mitch@gimp.org>

	* app/core/gimplayer-floating-sel.c (floating_sel_boundary): if
	the floating selection has no alpha, manually create BoundSegs of
	its outline instead of calling boundary_find() (which creates a
	boundary of the last channel). Fixes bug #145373.

	* app/widgets/gimplayertreeview.c
	(gimp_layer_tree_view_floating_selection_changed): update all
	layer names' text attributes, not only for layers with alpha.
	Fixes layer name display when making a new layer out of a floating
	selection without alpha.
2005-09-08 19:38:58 +00:00
Michael Natterer 7e34681f86 app/widgets/gimpcontainergridview.c allow to popup the context menu from
2005-09-08  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcontainergridview.c
	* app/widgets/gimpcontainertreeview.c: allow to popup the context
	menu from the views' empty area. Fixes bug #314719.
2005-09-08 18:23:14 +00:00
Clytie Siddall 0f37b51641 vi.po: Updated Vietnamese translation. 2005-09-08 11:13:14 +00:00
Vincent van Adrighem ca8d925231 Translation updated by Tino Meinen.
2005-09-08  Vincent van Adrighem  <adrighem@gnome.org>

	* nl.po: Translation updated by Tino Meinen.
2005-09-08 09:01:26 +00:00
Inaki Larranaga f64b4018b3 Updated Basque translation.
2005-09-07  Inaki Larranaga  <dooteo@euskalgnu.org>

	* eu.po: Updated Basque translation.
2005-09-07 20:01:20 +00:00
Iñaki Larrañaga Murgoitio c0ba306f5d *** empty log message *** 2005-09-07 19:23:38 +00:00
Inaki Larranaga 5ccdfe7c02 Updated Basque translation.
2005-09-07  Inaki Larranaga  <dooteo@euskalgnu.org>

	* eu.po: Updated Basque translation.
2005-09-07 19:16:38 +00:00
Amanpreet Singh Alam 9eb5b2e6ae update by amanpreetalam@yahoo.com 2005-09-07 11:10:58 +00:00
Inaki Larranaga be41702794 Updated Basque translation.
2005-09-07  Inaki Larranaga  <dooteo@euskalgnu.org>

	* eu.po: Updated Basque translation.
2005-09-07 10:43:13 +00:00
Michael Natterer 7eb96e17da use gimp_rectangle_intersect() instead of just looking at the passed in
2005-09-07  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpchannel-combine.c (gimp_channel_combine_ellipse):
	use gimp_rectangle_intersect() instead of just looking at the
	passed in w,h to figure whether nothing needs to be done. While
	the algorithm does nicely with an entirely out-of-image ellipse,
	the channel's bounds were set to a rectangle of zero width or
	height, which caused subsequent calls to gimp_channel_bounds() to
	return broken bounds. Fixes bug #315417.

	(gimp_channel_combine_rect)
	(gimp_channel_combine_mask): use gimp_rectangle_intersect() here
	too instead of the usual unclear CLAMPing on x1,y1,x2,y2.
2005-09-07 10:08:02 +00:00
Ankitkumar Rameshchandra Patel 6311df5185 Added Gujarati Translations 2005-09-07 06:29:19 +00:00
Sven Neumann f142aa4e9a don't set a window icon, the dialog should be transient anyway.
2005-09-07  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimperrordialog.[ch]: don't set a window icon, the
	dialog should be transient anyway.

	* app/dialogs/dialogs-constructors.c: changed accordingly.
2005-09-07 00:28:31 +00:00
Adam Weinberger 55d2321188 Updated Canadian English translation.
2005-09-06  Adam Weinberger  <adamw@gnome.org>

	* en_CA.po: Updated Canadian English translation.
2005-09-06 22:19:36 +00:00
Marcel Telka 5fcea1ca98 Updated Slovak translation.
2005-09-06  Marcel Telka  <marcel@telka.sk>

	* sk.po: Updated Slovak translation.
2005-09-06 20:57:31 +00:00
William Skaggs f06d1a66e4 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/paint-funcs/paint-funcs-generic.h (blend_pixels): change
	variables from unsigned to signed -- fixes problem described
	in comment 17 of bug #163721.
2005-09-06 17:58:55 +00:00
Sven Neumann 042017e84c use gtk_object_sink() to destroy a floating widget.
2005-09-06  Sven Neumann  <sven@gimp.org>

	* app/dialogs/stroke-dialog.c (stroke_dialog_new): use
	gtk_object_sink() to destroy a floating widget.
2005-09-06 16:00:36 +00:00
Sven Neumann cc6f3e762f Call gimp_window_set_transient_for_default_display() for most plug-in
2005-09-05  Sven Neumann  <sven@gimp.org>

	* plug-ins: Call gimp_window_set_transient_for_default_display()
	for most plug-in dialogs. Not yet done are load and save dialogs
	and dialogs created from language bindings.
2005-09-05 21:40:29 +00:00
Sven Neumann 293ebe5ad8 added new functions.
2005-09-05  Sven Neumann  <sven@gimp.org>

	* libgimp/libgimp-sections.txt: added new functions.

	* libgimp/tmpl/gimpdisplay.sgml
	* libgimp/tmpl/gimpedit.sgml
	* libgimp/tmpl/gimpui.sgml: regenerated.
2005-09-05 21:35:47 +00:00
Sven Neumann ec56ef9d01 Address bug #307971:
2005-09-05  Sven Neumann  <sven@gimp.org>

	Address bug #307971:

	* app/core/gimp-gui.[ch]
	* app/display/gimpdisplay.[ch]
	* app/gui/gui-vtable.c
	* tools/pdbgen/pdb/display.pdb: added PDB function to obtain a
	window handle on an image display.

	* app/pdb/display_cmds.c
	* app/pdb/internal_procs.c
	* libgimp/gimpdisplay_pdb.[ch]: regenerated.

	* libgimp/gimpui.[ch]: added functions to set a GtkWindow transient
	to an image display.

	* plug-ins/common/gauss.c: use the new function exemplarily.

	* libgimp/gimp.def
	* libgimp/gimpui.def: updated.
2005-09-05 20:47:12 +00:00
Marcel Telka 0ae992b966 Updated Slovak translation.
2005-09-05  Marcel Telka  <marcel@telka.sk>

	* sk.po: Updated Slovak translation.
2005-09-05 20:41:56 +00:00
Sven Neumann 19152b85bb app/actions/edit-actions.c app/menus/menus.c app/widgets/gimpundoeditor.c
2005-09-05  Sven Neumann  <sven@gimp.org>

	* app/actions/edit-actions.c
	* app/menus/menus.c
	* app/widgets/gimpundoeditor.c
	* menus/Makefile.am
	* menus/undo-editor-menu.xml: added menu for undo editor.
2005-09-05 19:31:28 +00:00
Michael Natterer dc65f10137 applied patch from David Gowers which adds "gimp-edit-named-delete".
2005-09-05  Michael Natterer  <mitch@gimp.org>

	* tools/pdbgen/pdb/edit.pdb: applied patch from David Gowers which
	adds "gimp-edit-named-delete". Addresses bug #315130. Added
	"gimp-edit-named-rename" additionally.

	* libgimp/gimp.def: changed accordingly.

	* app/pdb/edit_cmds.c
	* app/pdb/internal_procs.c
	* libgimp/gimpedit_pdb.[ch]: regenerated.
2005-09-05 18:59:19 +00:00
Michael Natterer dd1d749870 don't let named cut/copy affect the global buffer. Fixes bug #315225. Also
2005-09-05  Michael Natterer  <mitch@gimp.org>

	* app/core/gimp-edit.c: don't let named cut/copy affect the global
	buffer. Fixes bug #315225. Also make "Global Buffer" translatable.
2005-09-05 18:21:51 +00:00
Marco Ciampa ab3c6373f8 Updated italian trasnlation 2005-09-05 14:08:01 +00:00
Sven Neumann 4f8e69cf5d app/core/gimp.[ch] removed the confusing and redundant feature of having
2005-09-05  Sven Neumann  <sven@gimp.org>

        * app/core/gimp.[ch]
        * app/core/gimpimage-new.c: removed the confusing and redundant
        feature of having the New Image dialog default to the size of the
        global buffer. Please use Paste as New instead. Fixes bug #315106.
2005-09-05 10:52:48 +00:00
Sven Neumann 92f5a8b428 terminate variable argument list. Fixes bug #315255.
2005-09-05  Sven Neumann  <sven@gimp.org>

	* app/tools/gimprectangletool.c: terminate variable argument list.
	Fixes bug #315255.
2005-09-05 10:11:19 +00:00
Ankitkumar Rameshchandra Patel 70a691bddc Added Gujarati Translations 2005-09-05 04:16:30 +00:00
Michael Natterer a56d72c17e app/actions/edit-actions.c app/actions/edit-commands.[ch] applied modified
2005-09-05  Michael Natterer  <mitch@gimp.org>

	* app/actions/edit-actions.c
	* app/actions/edit-commands.[ch]
	* menus/image-menu.xml.in: applied modified patch from David
	Gowers which adds an "edit-named-copy-visible" actions and its
	menu item. Addresses bug #315130.
2005-09-05 00:37:25 +00:00
Karine Delvare 2ae7b62d70 evil => GIMP_MAX_IMAGE_SIZE.
2005-09-04  Karine Delvare  <kdelvare@nerim.net>

  * app/tools/gimprectangleoptions.c: evil => GIMP_MAX_IMAGE_SIZE.
2005-09-04 21:00:17 +00:00
Priit Laes 9c3d073d6d Translation updated by "Last-Translator: Olle Niit\n".
2005-09-04  Priit Laes  <plaes@cvs.gnome.org>

	* et.po: Translation updated by "Last-Translator: Olle Niit\n".
2005-09-04 20:42:19 +00:00
Priit Laes a7cc2b8193 Translation updated by "Last-Translator: Olle Niit olle@paalalinn.com\n".
2005-09-04  Priit Laes  <plaes@cvs.gnome.org>

	* et.po: Translation updated by "Last-Translator: Olle Niit olle@paalalinn.com\n".
2005-09-04 20:41:40 +00:00
Priit Laes 3e219f28cd Translation updated by Olle Niit.
2005-09-04  Priit Laes  <plaes@cvs.gnome.org>

	* et.po: Translation updated by Olle Niit.
2005-09-04 20:40:58 +00:00
Francisco Javier F. Serrador 1ca396802a Added Spanish translation.
2005-09-04  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

	* es.po: Added Spanish translation.
2005-09-04 16:22:42 +00:00
Karine Delvare 0cd174e13b stay within image boundaries.
2005-09-04  Karine Delvare  <kdelvare@nerim.net>

  * app/tools/gimprectangletool.c: stay within image boundaries.
2005-09-04 14:52:40 +00:00
Michael Natterer dc5bfc3f60 added app/core/gimp-contexts.c
2005-09-04  Michael Natterer  <mitch@gimp.org>

	* POTFILES.in: added app/core/gimp-contexts.c
2005-09-04 10:45:31 +00:00
Michael Natterer 37354a9248 Cleaned up and fixed the order in which default tool options and user
2005-09-04  Michael Natterer  <mitch@gimp.org>

	Cleaned up and fixed the order in which default tool options and
	user context values are initialized, and added loading / saving of
	the global user context.  Fixes bug #165078.

	* app/core/Makefile.am
	* app/core/gimp-contexts.[ch]: new files which manage the global
	contexts. Contains gimp_contexts_init/exit/load/save/clear().

	* app/core/gimp.c: use the new init/exit functions instead of
	implementing the stuff here.

	* app/tools/gimp-tools.c: load/save/clear the user context from
	here so it follows the same logic as the tool options. Reset all
	tool options before loading the user context and copy the user
	context's property to all tool options before loading tool
	options.

	* app/core/gimptoolinfo.c (gimp_tool_info_new): don't initialize
	the tool options with the users context's properties. It's way too
	early here and they will be overwritten later.

	* app/widgets/gimpdevices.c (gimp_devices_restore): initialize all
	device contexts with the user context's properties before loading
	the devices and copying the active one back to the user context.
2005-09-04 10:44:04 +00:00
Sven Neumann 2a1805b3b4 plug-ins/script-fu/scripts/coffee.scm
2005-09-04  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/coffee.scm
	* plug-ins/script-fu/scripts/fade-outline.scm
	* plug-ins/script-fu/scripts/glossy.scm
	* plug-ins/script-fu/scripts/gradient-bevel-logo.scm
	* plug-ins/script-fu/scripts/select-to-pattern.scm: string fixes as
	pointed out in bug #315211.
2005-09-04 10:22:58 +00:00
Ignacio Casal Quinteiro e1a738be37 *** empty log message *** 2005-09-04 09:09:31 +00:00
Clytie Siddall d83dbbeaed vi.po: Updated Vietnamese translation. 2005-09-04 08:57:27 +00:00