Commit Graph

19854 Commits

Author SHA1 Message Date
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
Sven Neumann 938b316dae app/tools/gimprectangleoptions.c cleaned out some cruft. Still work in
2007-02-08  Sven Neumann  <sven@gimp.org>

	* app/tools/gimprectangleoptions.c
	* app/widgets/gimppropwidgets.[ch]: cleaned out some cruft. Still
	work in progress.

svn path=/trunk/; revision=21872
2007-02-08 15:35:49 +00:00
Sven Neumann 2b30f1b488 updated.
2007-02-08  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/libgimpwidgets-sections.txt: updated.

	* libgimpwidgets/tmpl/gimpratioentry.sgml: regenerated.


svn path=/trunk/; revision=21871
2007-02-08 12:59:54 +00:00
Sven Neumann f102294ad0 use inline completion
svn path=/trunk/; revision=21870
2007-02-08 12:11:19 +00:00
Sven Neumann daf24a906b emit property change notifications.
2007-02-08  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpratioentry.c (gimp_ratio_entry_set_fraction):
	emit property change notifications.

svn path=/trunk/; revision=21869
2007-02-08 12:07:46 +00:00
Sven Neumann 2b2e9ab623 use GTK_RELIEF_NONE for the buttons.
2007-02-08  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpenumwidgets.c
	(gimp_enum_stock_box_new_with_range): use GTK_RELIEF_NONE for the
	buttons.

svn path=/trunk/; revision=21868
2007-02-08 11:33:30 +00:00
Sven Neumann 525b8bd6b5 app/widgets/widgets-enums.c moved enum GimpAspectType to libgimpwidgets.
2007-02-08  Sven Neumann  <sven@gimp.org>

	* app/widgets/widgets-enums.c
	* libgimpwidgets/gimpwidgetsenums.[ch]: moved enum GimpAspectType
	to libgimpwidgets.

	* libgimpwidgets/gimpratioentry.[ch]: added property "aspect" with
	getters and setters.

	* libgimpwidgets/gimpwidgets.def: updated.


svn path=/trunk/; revision=21867
2007-02-08 10:56:17 +00:00
Michael Natterer f7bfea19d9 Unbreak rectangle select tool undo handling a bit:
2007-02-08  Michael Natterer  <mitch@gimp.org>

	Unbreak rectangle select tool undo handling a bit:

	* app/tools/gimprectangleselecttool.c (gimp_rect_select_tool_select):
	add boolean return value indicating if something was actually selected.

	(gimp_rect_select_tool_rectangle_changed): peek the newly pushed
	undo only if we selected something.


svn path=/trunk/; revision=21866
2007-02-08 09:54:09 +00:00
Sven Neumann 50a39fb96e added history and completion. This will need more work.
2007-02-08  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpratioentry.[ch]: added history and 
completion.
	This will need more work.


svn path=/trunk/; revision=21865
2007-02-08 06:43:20 +00:00
Sven Neumann be3165f47b eliminated another redundant article.
2007-02-07  Sven Neumann  <sven@gimp.org>

	* README: eliminated another redundant article.


svn path=/trunk/; revision=21864
2007-02-07 21:42:13 +00:00