Commit Graph

12442 Commits

Author SHA1 Message Date
Sven Neumann 496f42fd5c document "exif-data" parasite.
2004-06-19  Sven Neumann  <sven@gimp.org>

	* devel-docs/parasites.txt: document "exif-data" parasite.
2004-06-19 08:58:14 +00:00
Manish Singh b93b92be2d Don't use deprecated gimp_text functions, clean up font name string
2004-06-18  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/film.c: Don't use deprecated gimp_text functions,
        clean up font name string handling a bit, default is now "Monospace"
        instead of "Courier".
2004-06-19 02:17:58 +00:00
Michael Natterer 3720ce2ef7 start supporting GIMP_CONTROLLER_EVENT_VALUE of type gdouble. Assume the
2004-06-19  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcontrollers.c (gimp_controllers_event_mapped):
	start supporting GIMP_CONTROLLER_EVENT_VALUE of type gdouble.
	Assume the double value is in a [0.0..1.0] range and temporarily
	change the value of the called GimpEnumAction to a range of
	[0..1000] when invoking it. All still very hackish...
2004-06-19 00:31:08 +00:00
Michael Natterer 98e5e6939d more debugging output.
2004-06-19  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcontrollerinfo.c (gimp_controller_info_event):
	more debugging output.
2004-06-19 00:05:48 +00:00
William Skaggs 5180d547d0 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/tools/gimpscaletool.c: changed algorithm for scaling when
	aspect ratio is constrained, to fix strange behavior described
	in bug # 68106.
2004-06-18 23:07:23 +00:00
William Skaggs ec186b33b4 redid save dialog along lines suggested in bug # 138929
* plug-ins/common/jpeg.c:  redid save dialog along lines suggested
	in bug # 138929

	Only create an exif data parasite on loading file if the file actually
	contains exif data.

	Call exif data parasite "exif-data" instead of "jpeg-exif-data",
	because it should be interchangeable with TIFF exif data.
2004-06-18 22:38:45 +00:00
Michael Natterer 7166f7acd9 app/actions/context-actions.c added tons of new actions to modify the
2004-06-18  Michael Natterer  <mitch@gimp.org>

	* app/actions/context-actions.c
	* app/actions/context-commands.[ch]: added tons of new actions to
	modify the current FG/BG color's RGB components.

	Added new enum value GIMP_CONTEXT_SELECT_SET which allows to set
	values, not only increase/decrease them.

	Changed context_select_value() utility function to interpret
	GimpEnumAction::value being >= GIMP_CONTEXT_SELECT_SET as settings
	in a range from 0 to 1000. Yes, that's a hack...
2004-06-18 12:58:39 +00:00
Philip Lafleur 31fd87873b reverted my fix to bug #144570.
2004-06-18  Philip Lafleur  <plafleur@cvs.gnome.org>

	* app/tools/gimptransformtool.c: reverted my fix to bug #144570.
2004-06-18 10:47:07 +00:00
Philip Lafleur f6c502b40b Fix fuzzy select menu label.
2004-06-18  Philip Lafleur  <plafleur@cvs.gnome.org>

	* app/tools/gimpfuzzyselecttool.c: Fix fuzzy select menu label.
2004-06-18 09:48:44 +00:00
Philip Lafleur 860d29d09c If transforming a path, use the path bounds rather than the mask bounds.
2004-06-18  Philip Lafleur  <plafleur@cvs.gnome.org>

	* app/tools/gimptransformtool.c (gimp_transform_tool_bounds):
	If transforming a path, use the path bounds rather than the mask
	bounds. Fixes bug #144570.
2004-06-18 05:47:44 +00:00
Michael Natterer 2a69c419f1 added gimp_boolean_handled_accum().
2004-06-17  Michael Natterer  <mitch@gimp.org>

	* app/core/gimp-utils.[ch]: added gimp_boolean_handled_accum().

	* app/core/gimp.c
	* app/widgets/gimpcontrollerinfo.c: use it.
2004-06-17 16:32:30 +00:00
Michael Natterer 75e6fc560b add newly created children to the container *after* deserializing them so
2004-06-17  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpcontainer.c (gimp_container_deserialize): add newly
	created children to the container *after* deserializing them so
	GimpContainer::add() callbacks get the already deserialized
	object.

	* app/widgets/gimpcontrollers.c: connect to "add" and "remove" of
	the controller list and remember / clear the wheel controller when
	it appears / disappears.
2004-06-17 16:25:36 +00:00
Sven Neumann 21ecf07cf4 check for xsltproc and mention that the intltool version mismatch is
2004-06-17  Sven Neumann  <sven@gimp.org>

	* autogen.sh: check for xsltproc and mention that the intltool
	version mismatch is harmless.
2004-06-17 14:33:29 +00:00
Pedro Gimeno d099aa75a9 Fix typos and improve documentation. Addresses bug #144267.
2004-06-17  Pedro Gimeno  <pggimeno@wanadoo.es>

	* tools/pdbgen/pdb/paths.pdb: Fix typos and improve documentation.
	Addresses bug #144267.

	* app/pdb/paths_cmds.c
	* libgimp/gimppaths_pdb.c: regenerated.
2004-06-17 14:08:29 +00:00
Michael Natterer 5f4eabdbcb removed "enabled" property. Removed GIMP_CONTROLLER_PARAM_RERIALIZE from
2004-06-17  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimpcontroller.[ch]: removed "enabled"
	property. Removed GIMP_CONTROLLER_PARAM_RERIALIZE from the "name"
	property because it's the hardware-determined name of this
	controller instance.

	* app/widgets/gimpcontrollerwheel.c
	* modules/controller_linux_input.c: set the name.

	* libgimpwidgets/gimpwidgets.h: #include gimpcontroller.h.

	* app/widgets/gimpcontrollerinfo.[ch]: added "enabled" here
	instead.  Don't dispatch events if the controller is
	disabled. Made everything work (not crash) with info->mapping
	being NULL.

	* etc/controllerrc: updated again with the changed format.

	* app/widgets/gimpcontrollers.[ch]: added
	gimp_controllers_get_list() which returns the container of
	controllers.

	* app/widgets/gimphelp-ids.h
	* app/gui/preferences-dialog.c: added controller configuration
	(can't change anything yet, just view the current settings).
	Resurrected the "Input Devices" page and removed the "Session"
	page by moving its widgets to other pages. Pack the various
	"Save now"/"Clear now" buttons vertically, not horizontally.
	Fixes bug #139069.

	* themes/Default/images/preferences/Makefile.am
	* themes/Default/images/preferences/controllers.png
	* themes/Default/images/preferences/theme.png: new icons for new
	prefs pages. Someone needs to make them nice...
2004-06-17 14:07:05 +00:00
Michael Natterer c3a0a277e7 GtkUIManager makes the menu bar visible by default, hide it if
2004-06-17  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpdisplayshell.c: GtkUIManager makes the menu bar
	visible by default, hide it if options->show_menubar is FALSE.
	Fixes bug #143243.
2004-06-17 12:19:02 +00:00
Sven Neumann 5823d07e23 bumped version to 2.1.1. Allow to disable the build of the linux_input
2004-06-17  Sven Neumann  <sven@gimp.org>

	* configure.in: bumped version to 2.1.1. Allow to disable the
	build of the linux_input controller module.
2004-06-17 10:01:58 +00:00
Philip Lafleur 52160f6ad7 Make transforms (most notably perspective transforms) conform exactly to
2004-06-17  Philip Lafleur  <plafleur@cvs.gnome.org>

	* app/core/gimpdrawable-transform.c (gimp_drawable_transform_tiles_affine):
	Make transforms (most notably perspective transforms) conform exactly
	to specified edges. Includes a patch by David Gowers. Fixes bug #144352.
2004-06-17 06:42:07 +00:00
Manish Singh efe3ff1b91 put BTN_{WHEEL,GEAR_DOWN,GEAR_UP} usage in #ifdefs, since pre-2.6 kernels
2004-06-16  Manish Singh  <yosh@gimp.org>

        * modules/controller_linux_input.c: put BTN_{WHEEL,GEAR_DOWN,GEAR_UP}
        usage in #ifdefs, since pre-2.6 kernels do not have them.

        * modules/controller_linux_input.c (linux_input_read_event): n_bytes
        should be a gsize.
2004-06-16 23:37:38 +00:00
Michael Natterer ed891b72db app/actions/context-actions.c added actions & callback to select the
2004-06-16  Michael Natterer  <mitch@gimp.org>

	* app/actions/context-actions.c
	* app/actions/context-commands.[ch]: added actions & callback
	to select the first/last/prev/next tool.
2004-06-16 20:12:47 +00:00
Simon Budig 1209fb5d65 removed BTN_MISC, since it is the same as BTN_0 in the input.h header
2004-06-16  Simon Budig  <simon@gimp.org>

	* modules/controller_linux_input.c: removed BTN_MISC,
	since it is the same as BTN_0 in the input.h header file.
2004-06-16 19:59:34 +00:00
Michael Natterer 004a9572cf always return a non-NULL string (return "<invalid event id>" as fallback).
2004-06-16  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimpcontroller.c (gimp_controller_get_event_name)
	(gimp_controller_get_event_blurb): always return a non-NULL
	string (return "<invalid event id>" as fallback).

	* modules/controller_linux_input.c: reenabled button event
	dispatching.

	* app/widgets/gimpcontrollerinfo.c: fixed debugging output.
2004-06-16 19:51:33 +00:00
Simon Budig a1d67f0ecb break out of the loop after we handled the first matching rel_event.
2004-06-16  Simon Budig  <simon@gimp.org>

	* modules/controller_linux_input.c: break out of the
	loop after we handled the first matching rel_event.
2004-06-16 18:55:01 +00:00
Michael Natterer 3a7f7d54e7 added #define GIMP_CONTROLLER_PARAM_SERIALIZE. Made all properties
2004-06-16  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimpcontroller.[ch]: added #define
	GIMP_CONTROLLER_PARAM_SERIALIZE. Made all properties serializable.

	* modules/controller_linux_input.c: made "device-name"
	serializable.

	* app/config/gimpconfig-params.h: added macro
	GIMP_CONFIG_INSTALL_PROP_POINTER() which needs to be handled
	by custom (de)serialize_property() implementations.

	* app/config/gimpconfig-deserialize.c
	* app/config/gimpconfig-serialize.c: made object (de)serialization
	work for object properties which are *not* GIMP_PARAM_AGGREGATE.
	Write/parse the exact type of the object to create to enable this.

	* app/core/gimpmarshal.list: new marshaller for GimpControllerInfo.

	* app/widgets/gimpcontrollerinfo.[ch]: implement GimpConfigInterface
	and add "controller" and "mapping" properties. Add "event-mapped"
	signal which carries the action_name.

	* app/widgets/gimpcontrollers.c: removed all deserialization code
	and simply (de)serialize the controller container. Install a
	container handler for "event-mapped" and do the action_name ->
	action mapping in the callback.

	* etc/controllerrc: regenerated with new syntax. Delete your old one!
2004-06-16 18:14:44 +00:00
Sven Neumann 429b090fd4 don't use gettext() here.
2004-06-16  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpcontrollerwheel.c
	(gimp_controller_wheel_get_event_name): don't use gettext() here.

	* modules/controller_linux_input.c: added more button events, set
	the device name, some cleanup.
2004-06-16 17:22:19 +00:00
Marco Ciampa d9848ca8ae Updated italian translation 2004-06-16 16:17:54 +00:00
Sven Neumann d47121fa08 changed dependencies for blur.
2004-06-16  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/plugin-defs.pl: changed dependencies for blur.

	* plug-ins/common/Makefile.am: regenerated.

	* plug-ins/common/blur.c: no need to include libgimpui.h any longer.
2004-06-16 16:17:02 +00:00
William Skaggs ad8e87767a committing ChangeLog entry for previous commit 2004-06-16 16:01:07 +00:00
William Skaggs 4ede02e340 removed randomize and repeat options; made to run without popping a dialog 2004-06-16 15:40:56 +00:00
Andras Timar 36e7050132 Updated Hungarian translation.
2004-06-15  Andras Timar  <timar@gnome.hu>

	* hu.po: Updated Hungarian translation.
2004-06-16 13:52:27 +00:00
Simon Budig 7d46ad95be enable dial-events for e.g. the powermate. Fixed typo.
2004-06-16  Simon Budig  <simon@gimp.org>

	* modules/controller_linux_input.c: enable dial-events for
	e.g. the powermate. Fixed typo.
2004-06-16 12:07:34 +00:00
Sven Neumann dce97c4e33 added missing menu entries (bug #144449).
2004-06-16  Sven Neumann  <sven@gimp.org>

	* menus/image-menu.xml.in: added missing menu entries (bug #144449).
2004-06-16 12:05:28 +00:00
Michael Natterer 569af0ac93 added GimpController::get_event_blurb() which returns the strings that
2004-06-16  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimpcontroller.[ch]: added
	GimpController::get_event_blurb() which returns the strings that
	were returned by get_event_name(). The latter returns
	untranslatable event identifiers now.

	* app/widgets/gimpcontrollerwheel.c
	* modules/controller_linux_input.c: changed accordingly.

	* app/widgets/gimpcontrollerinfo.c
	* app/widgets/gimpcontrollers.c: changed the event mapping from
	event-id -> action-name to event-name -> action-name.

	* etc/controllerrc: changed accordingly (finally readable now).
2004-06-16 11:53:37 +00:00
Michael Natterer ba2e6c675f app/widgets/Makefile.am app/widgets/widgets-types.h made an object out of
2004-06-16  Michael Natterer  <mitch@gimp.org>

	* app/widgets/Makefile.am
	* app/widgets/widgets-types.h
	* app/widgets/gimpcontrollerinfo.[ch]: made an object out of
	the GimpControllerInfo struct.

	* app/widgets/gimpcontrollers.c: changed accordingly.
2004-06-16 11:11:32 +00:00
Jakub Steiner 02e41c06fa fix typo
2004-06-16  Jakub Steiner <jimmac@ximian.com>

* etc/controllerrc: fix typo
2004-06-16 02:57:55 +00:00
Sven Neumann 152a05c51a modules/controller_linux_input.c basic wheel event support.
2004-06-16  Sven Neumann  <sven@gimp.org>

	* modules/controller_linux_input.c
	* etc/controllerrc: basic wheel event support.
2004-06-16 02:39:15 +00:00
Michael Natterer 3474308cfe better debugging output.
2004-06-16  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcontrollers.c: better debugging output.
2004-06-16 02:23:42 +00:00
Sven Neumann 75a1716e53 forgot this one... 2004-06-16 02:20:34 +00:00
Sven Neumann f4208e33ba bug fix.
2004-06-16  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpcontrollers.c: bug fix.

	* configure.in: check for linux/input.h.

	* modules/Makefile.am
	* modules/controller_linux_input.c: added a prototype controller
	module using the linux input event interface.

	* etc/controllerrc: added example config for linux input device.
2004-06-16 02:18:17 +00:00
Michael Natterer 1713ef21a5 load the controller's properties from the controllerrc file.
2004-06-16  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcontrollers.c: load the controller's
	properties from the controllerrc file.

	* etc/controllerrc: set the wheel's properties.
2004-06-16 01:59:50 +00:00
Michael Natterer 037da87c92 use the 10% actions for opacity.
2004-06-16  Michael Natterer  <mitch@gimp.org>

	* etc/controllerrc: use the 10% actions for opacity.
2004-06-16 01:22:57 +00:00
Pablo G. del Campo 15c9df32d4 Updated Spanish translation by Francisco Vila
2004-06-07  Pablo G. del Campo <pablodc@bigfoot.com>

        * es.po: Updated Spanish translation by
        Francisco Vila <francisco.vila@hispalinux.es>.
2004-06-16 01:17:58 +00:00
Michael Natterer aa96898f45 ref the actions when putting them in the mapping table.
2004-06-16  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcontrollers.c: ref the actions when putting
	them in the mapping table.

	* app/actions/context-actions.c: added actions to change the
	opacity in 10% steps.
2004-06-16 01:16:52 +00:00
Michael Natterer f3b7f4161c added a "name" property. Dispatch events only if the controller is
2004-06-16  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimpcontroller.[ch]: added a "name" property.
	Dispatch events only if the controller is enabled.

	* app/widgets/gimpcontrollerwheel.c: added controller events for
	all possible modifier combinations.

	* etc/Makefile.am
	* etc/controllerrc: default controllerrc which maps all unused
	wheel+modifier combinations to more-or-less usefull stuff.
2004-06-16 00:52:28 +00:00
Michael Natterer d0117ef5b9 Started to fix bug #106920 in a more genreral way:
2004-06-16  Michael Natterer  <mitch@gimp.org>

	Started to fix bug #106920 in a more genreral way:

	* libgimpwidgets/Makefile.am
	* libgimpwidgets/gimpwidgetstypes.h
	* libgimpwidgets/gimpwidgetsmarshal.list
	* libgimpwidgets/gimpcontroller.[ch]: new abstract base class
	which provides an API for pluggable input controller modules
	(mouse wheel, usb/midi stuff etc.).

	* app/widgets/Makefile.am
	* app/widgets/widgets-types.h
	* app/widgets/gimpcontrollerwheel.[ch]: subclass of the above
	which maps wheel mouse scroll events to controller events.

	* app/widgets/gimpcontrollers.[ch]: manager for controllers.
	reads $(gimpdir)/controllerrc and keeps a mapping of controller
	events to GtkActions.

	* app/gui/gui.c: initialize and shut down the controller stuff.

	* app/display/gimpdisplayshell-callbacks.c
	(gimp_display_shell_canvas_tool_events): if a wheel controller
	exists, dispatch GdkEventScroll to it first and return if it was
	handled.
2004-06-15 22:59:26 +00:00
Sven Neumann 7070931e6a deprecate the XLFD-based API gimp_text() and gimp_text_get_extents().
2004-06-15  Sven Neumann  <sven@gimp.org>

	* tools/pdbgen/pdb/text_tool.pdb: deprecate the XLFD-based API
	gimp_text() and gimp_text_get_extents().

	* app/pdb/text_tool_cmds.c
	* libgimp/gimptexttool_pdb.[ch]: regenerated.
2004-06-15 21:44:19 +00:00
Manish Singh 58dc763b63 tools/pdbgen/pdbgen.pl some simplistic code to add a $deprecated flag to
2004-06-15  Manish Singh  <yosh@gimp.org>

        * tools/pdbgen/pdbgen.pl
        * tools/pdbgen/lib.pl: some simplistic code to add a $deprecated
        flag to pdb definitions, which translates into GIMP_DISABLE_DEPRECATED
        guards in lib headers.
2004-06-15 21:08:14 +00:00
Michael Natterer 8ab1ae98a3 app/actions/Makefile.am app/actions/context-actions.[ch] added new action
2004-06-15  Michael Natterer  <mitch@gimp.org>

	* app/actions/Makefile.am
	* app/actions/context-actions.[ch]
	* app/actions/context-commands.[ch]: added new action group to
	modify all GimpContext properties. So far there are actions to
	cycle through the lists of brushes, patterns etc., to change the
	opacity, to swap and default colors and to edit generated brushes.

	* app/actions/actions.c: register the new "context" action group.

	* app/actions/tools-actions.c
	* app/actions/tools-commands.[ch]: removed "tools-default-colors"
	and "tools-swap-colors" actions and callbacks because they are
	in the "context" action group now.

	* app/menus/menus.c: add the "context" group to the <Image> and
	<Dock> UI managers.

	* menus/image-menu.xml.in: changed accordingly. Added a temporary
	"Context" menu to test and debug the new actions.
2004-06-15 15:42:50 +00:00
Philip Lafleur d1e706484c Force aspect ratio to match selection when 'From Selection' is clicked.
2004-06-15  Philip Lafleur  <plafleur@cvs.gnome.org>

	* app/tools/gimpcroptool.c (crop_selection_callback): Force
	aspect ratio to match selection when 'From Selection' is clicked.
	Fixes bug #144361. Also converted tabs to spaces.
2004-06-15 15:30:36 +00:00
Sven Neumann 4d3ae147a7 applied the fix for empty colormaps (bug #143009) here as well.
2004-06-15  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/mng.c (respin_cmap): applied the fix for empty
	colormaps (bug #143009) here as well.
2004-06-15 11:22:05 +00:00