Commit graph

19763 commits

Author SHA1 Message Date
Sven Neumann 2515dc6864 for shaped windows, add an alpha channel and erase pixels outside the
2007-02-15  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/screenshot.c: for shaped windows, add an alpha
	channel and erase pixels outside the shape.

svn path=/trunk/; revision=21922
2007-02-15 10:23:34 +00:00
Sven Neumann bb859d6fdb updated the widget gallery.
2007-02-15  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/visual-index.xml: updated the widget gallery.


svn path=/trunk/; revision=21921
2007-02-15 09:17:55 +00:00
Sven Neumann 8e0f4837e1 added GimpStringComboBox screenshot
svn path=/trunk/; revision=21920
2007-02-15 09:15:12 +00:00
Sven Neumann 6bb0d7ed23 tools/Makefile.am added GimpStringComboBox; improved image loading; set
2007-02-15  Sven Neumann  <sven@gimp.org>

	* tools/Makefile.am
	* tools/widgets.c: added GimpStringComboBox; improved image loading;
	set some window manager hints to make the doc-shooter less intrusive.


svn path=/trunk/; revision=21919
2007-02-15 09:10:49 +00:00
Stéphane Raimbault 3a0de24630 Updated French translation by Raymond Ostertag, Jonathan Ernst and
2007-02-14  Stéphane Raimbault  <stephane.raimbault@gmail.com>

	* fr.po: Updated French translation by Raymond Ostertag, Jonathan
	Ernst and Stéphane Raimbault.

svn path=/trunk/; revision=21918
2007-02-14 21:41:33 +00:00
Sven Neumann ccafc8d3bd app/actions/plug-in-actions.c added utility function to retrieve the
2007-02-14  Sven Neumann  <sven@gimp.org>

	* app/actions/plug-in-actions.c
	* app/plug-in/gimppluginprocedure.[ch]: added utility function to
	retrieve the translated blurb of a plug-in procedure. Make sure
	that gettext isn't called with the empty string.


svn path=/trunk/; revision=21917
2007-02-14 13:38:09 +00:00
Sven Neumann d09c931131 when multi-line strings end up being passed to the statusbar, only show
2007-02-14  Sven Neumann  <sven@gimp.org>

	* app/display/gimpstatusbar.c: when multi-line strings end up
	being passed to the statusbar, only show the first line.


svn path=/trunk/; revision=21916
2007-02-14 13:13:40 +00:00
Sven Neumann 37606ad81d added CCITT Group 3 and 4 compression schemes to TIFF save plug-in. These
2007-02-14  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/tiff.c: added CCITT Group 3 and 4 compression
	schemes to TIFF save plug-in. These modes are selectable for
	indexed image with a b/w colormap only. Fixes bug #162119 with 
the
	help of Manfred Joerg.


svn path=/trunk/; revision=21915
2007-02-14 08:10:10 +00:00
Raphael Quinet 1505999f5a fix function prototype for when libhal is not available.
2007-02-13  Raphael Quinet  <raphael@gimp.org>

	* modules/gimpinputdevicestore.c (gimp_input_device_store_new):
	fix function prototype for when libhal is not available.

svn path=/trunk/; revision=21914
2007-02-13 17:23:58 +00:00
Sven Neumann 462b5e0b45 update the progress less often.
2007-02-13  Sven Neumann  <sven@gimp.org>

	* app/core/gimpimage-convert.c: update the progress less often.


svn path=/trunk/; revision=21913
2007-02-13 16:33:41 +00:00
Marco Ciampa ca3e6074a3 Updated italian translation
svn path=/trunk/; revision=21912
2007-02-13 14:14:30 +00:00
Sven Neumann 4db2ed0b82 modules/gimpinputdevicestore.[ch] improved error handling.
2007-02-13  Sven Neumann  <sven@gimp.org>

	* modules/gimpinputdevicestore.[ch]
	* modules/controller_linux_input.c: improved error handling.


svn path=/trunk/; revision=21911
2007-02-13 11:55:16 +00:00
Sven Neumann 345fe7b5bc keep devices sorted alphabetically.
2007-02-13  Sven Neumann  <sven@gimp.org>

	* modules/gimpinputdevicestore.c: keep devices sorted alphabetically.


svn path=/trunk/; revision=21910
2007-02-13 09:45:28 +00:00
Michael Natterer d6706ea9d2 made dynamically loadable using GTypeModule.
2007-02-13  Michael Natterer  <mitch@gimp.org>

	* modules/gimpinputdevicestore.[ch]: made dynamically loadable
	using GTypeModule.

	* modules/controller_linux_input.c (gimp_module_register):
	register the new dynamic type.


svn path=/trunk/; revision=21909
2007-02-13 08:24:39 +00:00
Sven Neumann 76a1869f01 corrected string (bug #407214).
2007-02-13  Sven Neumann  <sven@gimp.org>

	* modules/controller_linux_input.c (key_events): corrected 
string
	(bug #407214).


svn path=/trunk/; revision=21908
2007-02-13 08:10:46 +00:00
Sven Neumann 0d5bf0ffda don't use button as parent widget, it might be NULL.
2007-02-13  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpcontrollerlist.c 
(gimp_controller_list_edit_clicked):
	don't use button as parent widget, it might be NULL.


svn path=/trunk/; revision=21907
2007-02-13 08:08:57 +00:00
Sven Neumann 7ae5df3879 added signals "device-added" and "device-removed".
2007-02-13  Sven Neumann  <sven@gimp.org>

	* modules/gimpinputdevicestore.[ch]: added signals 
"device-added"
	and "device-removed".

	* modules/controller_linux_input.c: allow to hot-plug the
	configured input device.


svn path=/trunk/; revision=21906
2007-02-13 08:06:22 +00:00
Josep Puigdemont i Casamajó 43fce0596f Updated Catalan translation by Quim Perez i Noguer.
svn path=/trunk/; revision=21905
2007-02-13 07:48:35 +00:00
Mukund Sivaraman d9a29e1a44 plug-ins/imagemap/imap_cmd_guides.c plug-ins/imagemap/imap_main.c
2007-02-12  Mukund Sivaraman <muks@mukund.org>

        * plug-ins/imagemap/imap_cmd_guides.c
        * plug-ins/imagemap/imap_main.c
        * plug-ins/imagemap/imap_main.h
        * plug-ins/imagemap/imap_menu.c
        * plug-ins/imagemap/imap_object.c
        * plug-ins/imagemap/imap_preferences.h
        * plug-ins/imagemap/imap_object.h: Cleaned up some warnings in
        the imagemap plug-in; also fixed many function declarations.


svn path=/trunk/; revision=21904
2007-02-12 17:30:42 +00:00
Sven Neumann a08b91c7a9 libgimpwidgets/libgimpwidgets-docs.sgml
2007-02-12  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/libgimpwidgets-docs.sgml
	* libgimpwidgets/libgimpwidgets-sections.txt
	* libgimpwidgets/libgimpwidgets.types: added GimpStringComboBox.

	* libgimpwidgets/tmpl/gimppropwidgets.sgml: regenerated.

	* libgimpwidgets/tmpl/gimpstringcombobox.sgml: new file.

svn path=/trunk/; revision=21903
2007-02-12 16:46:36 +00:00
Sven Neumann c1f3b2af61 fixed some issues with the new widget.
2007-02-12  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpstringcombobox.c: fixed some issues with the
	new widget.

	* modules/controller_linux_input.c: define a property for the
	device store and use the device file as provided by the store.

	* modules/gimpinputdevicestore.c: removed debug output.


svn path=/trunk/; revision=21902
2007-02-12 16:36:27 +00:00
Sven Neumann ace0321f83 libgimpwidgets/gimpstringcombobox.c (gimp_string_model_lookup) fixed wrong
2007-02-12  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpstringcombobox.c (gimp_string_model_lookup)
	* modules/gimpinputdevicestore.c (gimp_input_device_store_lookup):
	fixed wrong use of GValue.


svn path=/trunk/; revision=21901
2007-02-12 16:12:00 +00:00
Sven Neumann 0a203e30c4 libgimpwidgets/Makefile.am libgimpwidgets/gimpwidgetstypes.h
2007-02-12  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/Makefile.am
	* libgimpwidgets/gimpwidgetstypes.h
	* libgimpwidgets/gimpwidgets.h
	* libgimpwidgets/gimpstringcombobox.[ch]: added GimpStringComboBox.

	* libgimpwidgets/gimppropwidgets.[ch]: added a prop widget
	constructor that uses the new widget.

	* libgimpwidgets/gimpwidgets.def: updated.

	* app/widgets/gimpcontrollereditor.c: use a GimpStringComboBox if
	the module specifies a tree model with string values.

	* modules/gimpinputdevicestore.c: minor cleanup.

	* modules/controller_linux_input.c: keep a pointer to the input
	device store and unref it in the finalizer.


svn path=/trunk/; revision=21900
2007-02-12 15:29:45 +00:00
Sven Neumann 4f6e2969c6 use a GimpDialog instead of a GimpViewableDialog.
2007-02-12  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpcontrollerlist.c (gimp_controller_list_edit_clicked):
	use a GimpDialog instead of a GimpViewableDialog.


svn path=/trunk/; revision=21899
2007-02-12 13:12:47 +00:00
Sven Neumann 32514d2d82 app/widgets/gimppropwidgets.c most property widgets rely on a writable
2007-02-12  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimppropwidgets.c
	* libgimpwidgets/gimppropwidgets.c: most property widgets rely on
	a writable property. Check for that or make the widget non-editable
	if the G_PARAM_WRITABLE flag is unset.


svn path=/trunk/; revision=21898
2007-02-12 11:01:08 +00:00
Sven Neumann 0f3392aac5 fine-tuning
svn path=/trunk/; revision=21897
2007-02-12 10:39:50 +00:00
Sven Neumann 6ea68a7d48 minor refactoring.
2007-02-12  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpcontrollereditor.c: minor refactoring.

	* libgimpwidgets/gimppropwidgets.c (gimp_prop_label_new): allow
	this function to be used with properties that are transformable 
to
	string values, not only with string properties.


svn path=/trunk/; revision=21896
2007-02-12 08:44:25 +00:00
Sven Neumann 3eeb93fee5 set translation domain for the registered enum type.
2007-02-12  Sven Neumann  <sven@gimp.org>

	* modules/cdisplay_colorblind.c: set translation domain for the
	registered enum type.


svn path=/trunk/; revision=21895
2007-02-12 07:25:24 +00:00
Sven Neumann 6b788ad186 lower minimum required version of libhal to 0.5.7.
2007-02-12  Sven Neumann  <sven@gimp.org>

        * configure.in: lower minimum required version of libhal to 
0.5.7.

        * modules/gimpinputdevicestore.c: don't list PC Speaker, even
        though the kernel claims that it would be an input device.


svn path=/trunk/; revision=21894
2007-02-12 07:17:39 +00:00
Marco Ciampa 6b23611169 Updated italian translation
svn path=/trunk/; revision=21893
2007-02-11 22:53:07 +00:00
Sven Neumann a9b92ba22c don't limit the store to "input.mouse", list all input devices.
2007-02-11  Sven Neumann  <sven@gimp.org>

	* modules/gimpinputdevicestore.c: don't limit the store to
	"input.mouse", list all input devices.


svn path=/trunk/; revision=21892
2007-02-11 17:58:59 +00:00
Sven Neumann 899346d1bf check for libhal if Linux Input support is enabled.
2007-02-11  Sven Neumann  <sven@gimp.org>

	* configure.in: check for libhal if Linux Input support is 
enabled.

	* modules/Makefile.am
	* modules/gimpinputdevicestore.[ch]: added class derived from
	GtkListStore that keeps a list of devices with capability
	"input.mouse".

	* modules/controller_linux_input.c: for now, just instantiate a
	GimpInputDeviceStore.


svn path=/trunk/; revision=21891
2007-02-11 16:54:02 +00:00
Michael Natterer b1093d65a3 plug leak introduced with last commit: simply always use the deserialized
2007-02-11  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpcontainer.c (gimp_container_deserialize): plug leak
	introduced with last commit: simply always use the deserialized
	name, also on ojects already existing in the container.


svn path=/trunk/; revision=21890
2007-02-11 12:48:41 +00:00
Sven Neumann 287331b36f modules/controller_linux_input.c changed license to GPL, updated copyright
2007-02-10  Sven Neumann  <sven@gimp.org>

	* modules/controller_linux_input.c
	* modules/controller_midi.c: changed license to GPL, updated
	copyright and module info.


svn path=/trunk/; revision=21889
2007-02-10 15:10:01 +00:00
Michael Natterer 8cffeb0689 Made templates say "ppi" instead of "dpi". Fixes bug #376990:
2007-02-10  Michael Natterer  <mitch@gimp.org>

	Made templates say "ppi" instead of "dpi". Fixes bug #376990:

	* app/core/gimp-templates.c
	(gimp_templates_migrate_get_child_by_name): find the child also
	if the name differs only in the substrings "dpi" and "ppi".

	* app/core/gimpcontainer.c (gimp_container_deserialize): if we
	found a child, give it the deserialized name if it isn't the same
	as its old name.

	* etc/templaterc: applied patch from Michael Schumacher that
	replaces "dpi" by "ppi".


svn path=/trunk/; revision=21888
2007-02-10 10:37:20 +00:00
Michael Natterer 4f871da32b added some code stolen from DirectFB and forgotten on my disk a long time
2007-02-10  Michael Natterer  <mitch@gimp.org>

	* modules/controller_linux_input.c: added some code stolen from
	DirectFB and forgotten on my disk a long time ago which queries
	the input device for available keys and axes (just for debugging
	purposes for now). Also add one more button event and some
	debugging output for incoming events.


svn path=/trunk/; revision=21887
2007-02-09 23:38:39 +00:00
Michael Natterer f27cf7ec8e fix last commit a bit...
2007-02-09  Michael Natterer  <mitch@gimp.org>

	* modules/controller_linux_input.c (linux_input_read_event): fix
	last commit a bit...


svn path=/trunk/; revision=21886
2007-02-09 22:30:11 +00:00
Michael Natterer 9efbdbe5fd emit GIMP_CONTROLLER_EVENT_VALUE, not TRIGGER for movements on relative
2007-02-09  Michael Natterer  <mitch@gimp.org>

	* modules/controller_linux_input.c (linux_input_read_event): emit
	GIMP_CONTROLLER_EVENT_VALUE, not TRIGGER for movements on relative
	axes. Reduces the number of events significantly. Now we can start
	thinking what to do with them...


svn path=/trunk/; revision=21885
2007-02-09 21:58:16 +00:00
Michael Natterer f5f93181da renamed newly added functions to gimp_environ_table_str_hash() and
2007-02-09  Michael Natterer  <mitch@gimp.org>

	* app/plug-in/gimpenvirontable.c: renamed newly added functions to
	gimp_environ_table_str_hash() and gimp_environ_table_str_equal()
	and always use them. Move the #ifdef G_OS_WIN32 inside the
	functions.


svn path=/trunk/; revision=21884
2007-02-09 16:10:21 +00:00
Tor Lillqvist 822065c0b0 Win32-only case- insensitive hash and equality functions.
2007-02-09  Tor Lillqvist  <tml@novell.com>

	* app/plug-in/gimpenvirontable.c
	(gimp_environ_table_case_insensitive_hash)
	(gimp_environ_table_case_insensitive_equal): Win32-only case-
	insensitive hash and equality functions.
	(gimp_environ_table_load): On Win32, use the above functions for
	the vars hash table. This fixes the problem that occurs when the
	actual PATH environment variable is spelled Path (as it seems to
	often be), but the default.env file as set up by the installer
	provides PATH. They didn't match so both would be passed to the
	plug-in child process, and apparently which one then was used to
	look for DLLs was more or less random. If it was the original
	Path, it didn't contain the directories the installer put in PATH
	in default.env, and plug-ins didn't find the DLLs.


svn path=/trunk/; revision=21883
2007-02-09 11:45:00 +00:00
David Lodge fdd2cd65f9 Updated (British) English translation
svn path=/trunk/; revision=21882
2007-02-09 10:50:51 +00:00
David Lodge 73da6983af Updated (British) English translation
svn path=/trunk/; revision=21881
2007-02-09 10:33:55 +00:00
Sven Neumann 538378e79c moved ratio entry up.
2007-02-09  Sven Neumann  <sven@gimp.org>

	* app/tools/gimprectangleoptions.c: moved ratio entry up.


svn path=/trunk/; revision=21880
2007-02-09 08:36:27 +00:00
Michael Natterer 181c9efbba ellipsize the module info labels so they don't make the dialog grow when
2007-02-09  Michael Natterer  <mitch@gimp.org>

	* app/dialogs/module-dialog.c (dialog_info_init): ellipsize the
	module info labels so they don't make the dialog grow when
	browsing the module list.


svn path=/trunk/; revision=21879
2007-02-08 23:38:29 +00:00
Sven Neumann d1a2697c80 moved duplicated code to utility function
2007-02-09  Sven Neumann  <sven@gimp.org>

	* app/tools/gimprectangletool.c: moved duplicated code to
	utility function gimp_rectangle_tool_set_highlight().


svn path=/trunk/; revision=21878
2007-02-08 23:19:57 +00:00
Michael Natterer 1da4a19fe7 app/paint/paint-types.h move opaque typedefs of object instances to
2007-02-08  Michael Natterer  <mitch@gimp.org>

	* app/paint/paint-types.h
	* app/paint/*.h: move opaque typedefs of object instances to
	paint-types.h, don't typedef empty class stuctures as their parent
	class (gtk-doc gets confused), cleanups.


svn path=/trunk/; revision=21877
2007-02-08 22:58:22 +00:00
Sven Neumann b76ad2b84e app/tools/gimprectangleoptions.c moved code around.
2007-02-08  Sven Neumann  <sven@gimp.org>

	* app/tools/gimprectangleoptions.c
	* app/widgets/gimppropwidgets.[ch]: moved code around.


svn path=/trunk/; revision=21876
2007-02-08 22:49:50 +00:00
Sven Neumann aba50bbc14 code cleanup. Pack the widgets the way we usually do this.
2007-02-08  Sven Neumann  <sven@gimp.org>

	* app/tools/gimprectangleoptions.c (gimp_rectangle_options_gui):
	code cleanup. Pack the widgets the way we usually do this.


svn path=/trunk/; revision=21875
2007-02-08 16:59:40 +00:00
Sven Neumann aac28d11ca applied patch from Robert Helgesson. Adds documentation (bug #405760).
2007-02-08  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell-scale.c: applied patch from Robert
	Helgesson. Adds documentation (bug #405760).

svn path=/trunk/; revision=21874
2007-02-08 16:40:46 +00:00
Sven Neumann fbc67ff207 reduced default spacing.
2007-02-08  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpenumwidgets.c
	(gimp_enum_stock_box_new_with_range): reduced default spacing.

	* app/tools/gimpcurvestool.c (gimp_curves_tool_dialog): don't
	increase the box's spacing.

	* app/tools/gimprectangleoptions.c: added portrait/landscape
	buttons.

	* app/widgets/gimppropwidgets.c (gimp_prop_aspect_ratio_new):
	reduced default width of entry.  Swap width and height when the
	aspect changes and fixed-aspect is chosen.

svn path=/trunk/; revision=21873
2007-02-08 16:36:23 +00:00