Commit graph

24040 commits

Author SHA1 Message Date
Sven Neumann 39ed2677f6 added a blacklist of operations that should not be shown. We may want to
2008-09-05  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpgegltool.c: added a blacklist of operations that
	should not be shown. We may want to add more operations here.


svn path=/trunk/; revision=26878
2008-09-05 17:11:48 +00:00
Michael Natterer a270381096 made the "args" parameter const.
2008-09-05  Michael Natterer  <mitch@gimp.org>

	* app/plug-in/gimpplugindebug.[ch] (gimp_plug_in_debug_argv): made
	the "args" parameter const.

	* app/plug-in/gimpplugin.c (gimp_plug_in_open): made some strings
	const.


svn path=/trunk/; revision=26877
2008-09-05 15:46:00 +00:00
Michael Natterer bfb45f6844 add some const.
2008-09-05  Michael Natterer  <mitch@gimp.org>

	* plug-ins/file-fits/fits-io.[ch]: add some const.


svn path=/trunk/; revision=26876
2008-09-05 15:43:49 +00:00
Michael Natterer f1b8cab63d Bug 545325 – Scrollbars do not disappear automatically
2008-09-05  Michael Natterer  <mitch@gimp.org>

	Bug 545325 – Scrollbars do not disappear automatically

	* app/widgets/gimpcontainertreeview.c: autosize the columns after
	each operation that can reduce the treeview's width.


svn path=/trunk/; revision=26875
2008-09-05 14:06:01 +00:00
Sven Neumann 9f7c02e161 updated German translation.
2008-09-05  Sven Neumann  <sven@gimp.org>

	* de.po: updated German translation.

svn path=/trunk/; revision=26874
2008-09-05 12:31:53 +00:00
Sven Neumann eb5c7b9c8d news update for trunk
svn path=/trunk/; revision=26873
2008-09-05 12:24:59 +00:00
Michael Natterer 941310a309 Bug 550983 – The size displayed in the status bar isn't correct
2008-09-05  Michael Natterer  <mitch@gimp.org>

	Bug 550983 – The size displayed in the status bar isn't correct

	* app/tools/gimprectangletool.c: use the right precision when
	pushing the rectangle's size as coordinates to the statusbar.


svn path=/trunk/; revision=26872
2008-09-05 12:15:24 +00:00
Sven Neumann 60b78c95e6 added app/widgets/gimpactioneditor.c.
2008-09-05  Sven Neumann  <sven@gimp.org>

	* POTFILES.in: added app/widgets/gimpactioneditor.c.


svn path=/trunk/; revision=26871
2008-09-05 12:09:47 +00:00
Michael Natterer 0194327f6d app/widgets/Makefile.am app/widgets/widgets-types.h new simple widget
2008-09-05  Michael Natterer  <mitch@gimp.org>

	* app/widgets/Makefile.am
	* app/widgets/widgets-types.h
	* app/widgets/gimpactioneditor.[ch]: new simple widget which
	contains a GimpActionView plus the search entry.

	* app/dialogs/keyboard-shortcuts-dialog.c: use the new widget
	instead of implementing the search entry here.

	* app/widgets/gimpcontrollereditor.c: use a GimpActionEditor
	instead of GimpActionView so the actions become searchable here
	too.


svn path=/trunk/; revision=26870
2008-09-05 10:37:06 +00:00
Sven Neumann 4922decf35 updated German translation.
2008-09-04  Sven Neumann  <sven@gimp.org>

	* de.po: updated German translation.


svn path=/trunk/; revision=26869
2008-09-04 21:46:10 +00:00
Sven Neumann 66a3aedea6 expose the preview when the tool is initialized. Fixes missing redraws
2008-09-04  Sven Neumann  <sven@gimp.org>

	* app/tools/gimptransformtool.c 
(gimp_transform_tool_initialize):
	expose the preview when the tool is initialized. Fixes missing
	redraws when the tool is selected from the menus (bug #550911).

	(gimp_transform_tool_motion): expose the preview after
	recalculating the transformation matrix.


svn path=/trunk/; revision=26868
2008-09-04 21:34:38 +00:00
Sven Neumann 8172ba88a1 improved the new DND code.
2008-09-04  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell-dnd.c: improved the new DND code.


svn path=/trunk/; revision=26867
2008-09-04 18:14:56 +00:00
Tor Lillqvist b8f94b37b3 app/base/base-utils.h The return type of get_pid() should be gint, not
2008-09-04  Tor Lillqvist  <tml@novell.com>

	* app/base/base-utils.h
	* app/base/base-utils.c: The return type of get_pid() should be
	gint, not GPid. This matches also the C library on Windows, in
	which the return type of getpid() is int, not a pointer or
	intptr_t. The use for GPid in the GLib API is as a "handle" to a
	descendant processes, returned by the g_spawn_*() functions, and
	passed to the g_child_watch_*() functions, not as a "process
	identifier".


svn path=/trunk/; revision=26866
2008-09-04 17:54:06 +00:00
Tor Lillqvist c68265e09c Make it compile without warnings also with gcc -Wwrite-strings. Use
2008-09-04  Tor Lillqvist  <tml@novell.com>

	* tools/gimptool.c: Make it compile without warnings also with gcc
	-Wwrite-strings. Use cmd.exe instead of command.com to execute the
	COPY and DEL commands on Windows.


svn path=/trunk/; revision=26865
2008-09-04 17:46:51 +00:00
Sven Neumann 05e7e9dc54 handle drops on the empty image window.
2008-09-04  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell-dnd.c
	(gimp_display_shell_drop_drawable) 
(gimp_display_shell_drop_pixbuf):
	handle drops on the empty image window.


svn path=/trunk/; revision=26864
2008-09-04 15:45:23 +00:00
Sven Neumann 67f4c36213 handle drops on the empty image window.
2008-09-04  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell-dnd.c
	(gimp_display_shell_drop_drawable) 
(gimp_display_shell_drop_pixbuf):
	handle drops on the empty image window.


svn path=/trunk/; revision=26863
2008-09-04 15:45:08 +00:00
Sven Neumann f184843d65 tweaked spacing between entry and button and resolved a mnemnic conflict.
2008-09-04  Sven Neumann  <sven@gimp.org>

	* app/dialogs/keyboard-shortcuts-dialog.c: tweaked spacing 
between
	entry and button and resolved a mnemnic conflict.


svn path=/trunk/; revision=26862
2008-09-04 14:42:16 +00:00
Michael Natterer 4bbc40b732 add a column for the casefold label of the action and filter on that.
2008-09-04  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpactionview.[ch]: add a column for the casefold
	label of the action and filter on that.

	* app/dialogs/keyboard-shortcuts-dialog.c: add a button to clear
	the filter entry. Changed the label to "Search:".


svn path=/trunk/; revision=26861
2008-09-04 14:28:00 +00:00
Michael Natterer 625049ab69 plug-ins/gfig/gfig-dobject.h some more const.
2008-09-04  Michael Natterer  <mitch@gimp.org>

	* plug-ins/gfig/gfig-dobject.h
	* plug-ins/gfig/gfig-style.c: some more const.


svn path=/trunk/; revision=26860
2008-09-04 14:20:58 +00:00
Michael Natterer ffdb533ab8 add an GtkTreeModelFilter between the GtkTreeView and the actual
2008-09-04  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpactionview.[ch]: add an GtkTreeModelFilter
	between the GtkTreeView and the actual GtkTreeStore. Add API to
	set the filter which is simply a string that's matched with
	strstr(). Quite some things improvable here...

	* app/dialogs/keyboard-shortcuts-dialog.c: add a "Filter" entry
	and set the filter on the action view.


svn path=/trunk/; revision=26859
2008-09-04 13:46:45 +00:00
Sven Neumann 1a81eba1fc made the GimpParamDef parameter in gimp_proc_view_new() const.
2008-09-04  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpprocview.[ch]: made the GimpParamDef parameter in
	gimp_proc_view_new() const.


svn path=/trunk/; revision=26858
2008-09-04 12:23:36 +00:00
Michael Natterer 6570d5d19b add tons of const.
2008-09-04  Michael Natterer  <mitch@gimp.org>

	* tools/gimptool.c: add tons of const.


svn path=/trunk/; revision=26857
2008-09-04 11:58:48 +00:00
Michael Natterer 8fd8f8ffc0 made the error_message variable const.
2008-09-04  Michael Natterer  <mitch@gimp.org>

	* libgimpbase/gimpreloc.c (set_gerror): made the error_message
	variable const.


svn path=/trunk/; revision=26856
2008-09-04 11:25:31 +00:00
Michael Natterer 0b086ecdb8 made the value_desc and value_help members const, just as the
2008-09-04  Michael Natterer  <mitch@gimp.org>

	* libgimpbase/gimpbasetypes.h
	(struct GimpEnumDesc)
	(struct GimpFlagsDesc): made the value_desc and value_help members
	const, just as the corresponding GEnumValue and GFlagsValue
	members. This is technically an API change but shouldn't hurt
	since it totally reflects how they are used.


svn path=/trunk/; revision=26855
2008-09-04 11:07:12 +00:00
Ales Nyakhaychyk aa7c3e3b97 Updated Belarusian translation by Hleb Valoshka.
* be.po: Updated Belarusian translation by Hleb Valoshka.


svn path=/trunk/; revision=26854
2008-09-04 10:30:35 +00:00
Michael Natterer 02b11257dd plug-ins/color-rotate/color-rotate-callbacks.c
2008-09-04  Michael Natterer  <mitch@gimp.org>

	* plug-ins/color-rotate/color-rotate-callbacks.c
	* plug-ins/common/filter-pack.c
	* plug-ins/common/nova.c
	* plug-ins/common/sample-colorize.c: get rid of calls to
	gdk_window_get_pointer(), use the coords from the motion event
	and use gdk_event_request_motions().

	* plug-ins/color-rotate/color-rotate-callbacks.[ch]: some
	unrelated cleanup while i was at it.


svn path=/trunk/; revision=26853
2008-09-04 08:52:42 +00:00
Sven Neumann 8ec1d65a4a removed trailing whitespace
svn path=/trunk/; revision=26852
2008-09-04 08:37:32 +00:00
Lars-Peter Clausen eada9412bf Removed trailing whitespace.
2008-09-03  Lars-Peter Clausen  <lars@metafoo.de>

	* plugin-ins/pygimp/pygimp-tile.c: Removed trailing whitespace.


svn path=/trunk/; revision=26850
2008-09-03 21:30:41 +00:00
Lars-Peter Clausen 74b5c92b93 define PyInt_AsSsize_t as PyInt_AsLong if the python version is smaller
2008-09-03  Lars-Peter Clausen  <lars@metafoo.de>

	* plugin-ins/pygimp/pygimp.h: define PyInt_AsSsize_t as PyInt_AsLong
	if the python version is smaller then 2.5.0.
	* configure.in: Lower required python version to 2.4.


svn path=/trunk/; revision=26849
2008-09-03 21:20:12 +00:00
Daniel Nylander 100aadb71b sv.po: Updated Swedish translation
svn path=/trunk/; revision=26847
2008-09-03 20:49:10 +00:00
Michael Natterer da8137b43c made the string parameters const.
2008-09-03  Michael Natterer  <mitch@gimp.org>

	* app/pdb/gimpprocedure.[ch] (gimp_procedure_set_static_strings):
	made the string parameters const.


svn path=/trunk/; revision=26846
2008-09-03 20:26:05 +00:00
Michael Natterer d6f1bc5cf8 app/widgets/gimpcontrollerkeyboard.c (struct _KeyboardEvent) made the
2008-09-03  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcontrollerkeyboard.c (struct _KeyboardEvent)
	* app/widgets/gimpcontrollerwheel.c (struct _WheelEvent): made the
	blurbs const.


svn path=/trunk/; revision=26845
2008-09-03 20:17:57 +00:00
Michael Natterer a1e7315643 remove the call to gdk_window_get_pointer() again.
2008-09-03  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpnavigationview.c
	(gimp_navigation_view_motion_notify): remove the call to
	gdk_window_get_pointer() again.

	(gimp_navigation_view_grab_pointer): instead, grab the pointer
	properly with owner_events=FALSE so all events are reported with
	respect to the widget's window.


svn path=/trunk/; revision=26844
2008-09-03 20:13:35 +00:00
Michael Natterer 435f6e3974 app/display/gimpdisplayshell-callbacks.c libgimpwidgets/gimpcolorselect.c
2008-09-03  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpdisplayshell-callbacks.c
	* libgimpwidgets/gimpcolorselect.c
	* modules/color-selector-water.c
	* plug-ins/ifs-compose/ifs-compose.c: instead of using
	gdk_window_get_pointer() if GdkEventMotion::is_hint is TRUE,
	simply always use the coords from the event and call
	gdk_event_request_motions() to ask for more motion events. This is
	the recommended way and also works for events from devices other
	than the core pointer.

	* plug-ins/ifs-compose/ifs-compose.c (design_area_motion): some
	code cleanup while i was at it.


svn path=/trunk/; revision=26843
2008-09-03 19:24:51 +00:00
Michael Natterer 5357d42ab3 massively simplified. Don't fiddle in GtkButton's internals (like setting
2008-09-03  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimpbutton.c: massively simplified. Don't fiddle
	in GtkButton's internals (like setting "in_button" and forcing
	redraws). Instead, simply remember the modifier state in
	button_press() and check it in clicked(); if the state is != 0,
	stop the "clicked" emission and emit "extended-clicked" instead.


svn path=/trunk/; revision=26842
2008-09-03 19:03:36 +00:00
Michael Schumacher dabd966106 bumped minimum required Python version to 2.5.0, because of
2008-09-03  Michael Schumacher  <schumaml@cvs.gnome.org>

	* configure.in: bumped minimum required Python version to 2.5.0,
	because of PyInt_AsSsize_t. Fixes bug #550576.

svn path=/trunk/; revision=26841
2008-09-03 19:00:41 +00:00
Sven Neumann a4d698792a removed lots of outdated information directed at developers and only kept
2008-09-03  Sven Neumann  <sven@gimp.org>

	* README.i18n: removed lots of outdated information directed at
	developers and only kept the most important hints for translators.


svn path=/trunk/; revision=26840
2008-09-03 10:06:24 +00:00
Sven Neumann 2552aa2b37 if INVALID_FILE_HANDLE is undefined, define it as the constant that we
2008-09-02  Sven Neumann  <sven@gimp.org>

	* app/plug-in/gimppluginshm.c: if INVALID_FILE_HANDLE is 
undefined,
	define it as the constant that we used to use here.


svn path=/trunk/; revision=26839
2008-09-02 20:52:25 +00:00
Aurimas Juška 1aed48f1b0 fixed GimpZoomPreview to handle layers with offsets and display
2008-09-02  Aurimas Juška  <aurisj@svn.gnome.org>

	* libgimp/gimpzoompreview.c (gimp_zoom_preview_draw_buffer),
	(gimp_zoom_preview_set_drawable): fixed GimpZoomPreview to handle
	layers with offsets and display intersection of layer and selection
	in the preview. (bug #156905)


svn path=/trunk/; revision=26838
2008-09-02 17:56:48 +00:00
Michael Natterer 9d18f2aa9e use gtk_widget_get_style() instead of widget->style.
2008-09-02  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpstatusbar.c: use gtk_widget_get_style() instead
	of widget->style.


svn path=/trunk/; revision=26837
2008-09-02 12:55:46 +00:00
Michael Natterer 975f6d0a1a use gtk_widget_get_style() instead of widget->style. Reduce indentation by
2008-09-02  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimpruler.c: use gtk_widget_get_style() instead
	of widget->style. Reduce indentation by one level in
	gimp_ruler_draw_pos().


svn path=/trunk/; revision=26836
2008-09-02 12:30:53 +00:00
Michael Natterer 017e5ef73a no need to set strlen(sting)+1 bytes on the GtkSelectionData because
2008-09-02  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpselectiondata.c: no need to set strlen(sting)+1
	bytes on the GtkSelectionData because gtk_selection_data_set()
	zero-terminates all data anyway.


svn path=/trunk/; revision=26835
2008-09-02 12:00:07 +00:00
Michael Natterer 641dbb6593 return a const string, no need to strdup it since it's only used
2008-09-02  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpselectiondata.c (gimp_selection_data_get_name):
	return a const string, no need to strdup it since it's only used
	temporarily in this file.

	(gimp_selection_data_get_image)
	(gimp_selection_data_get_component)
	(gimp_selection_data_get_item)
	(gimp_selection_data_get_object): changed accordingly. Move
	variables to local scopes and simplify.


svn path=/trunk/; revision=26834
2008-09-02 11:30:28 +00:00
Sven Neumann 04eb54dca1 added missing languages, sorted LINGUAS alphabetically
svn path=/trunk/; revision=26833
2008-09-02 09:28:04 +00:00
Sven Neumann 4c11c35826 clarified ChangeLog entry
svn path=/trunk/; revision=26832
2008-09-02 07:20:01 +00:00
Sven Neumann 6cf7f750aa changed tips-locale to C, as the empty translation to ga has been removed
2008-09-02  Sven Neumann  <sven@gimp.org>

	* ga.po: changed tips-locale to C, as the empty translation to 
ga
	has been removed from the po-tips directory.


svn path=/trunk/; revision=26831
2008-09-02 06:35:50 +00:00
Sven Neumann bdd9fbec2f removed empty po files
svn path=/trunk/; revision=26830
2008-09-02 06:26:58 +00:00
Sven Neumann 6fe347cd65 removed languages that have no translation in this textdomain: el, ga, id,
2008-09-02  Sven Neumann  <sven@gimp.org>

	* LINGUAS: removed languages that have no translation in this
	textdomain: el, ga, id, oc, tr, tt, xh, yi.


svn path=/trunk/; revision=26829
2008-09-01 22:19:06 +00:00
Sven Neumann 8794cd7677 removed ALL_LINGUAS.
2008-09-02  Sven Neumann  <sven@gimp.org>

	* configure.in: removed ALL_LINGUAS.

	* po*/LINGUAS: introduced LINGUAS file instead. This allows to
	keep individual lists of languages for each translation domain 
and
	it makes it easier for translators to add a new language.


svn path=/trunk/; revision=26828
2008-09-01 22:12:58 +00:00
Sven Neumann 5ed7a372ee use the constant INVALID_FILE_HANDLE instead of 0xFFFFFFFF. Fixes shared
2008-09-01  Sven Neumann  <sven@gimp.org>

	* app/plug-in/gimppluginshm.c (gimp_plug_in_shm_new): use the
	constant INVALID_FILE_HANDLE instead of 0xFFFFFFFF. Fixes shared
	memory tile transport on 64bit Windows systems.


svn path=/trunk/; revision=26827
2008-09-01 20:55:31 +00:00