1. 17 Jun, 2004 6 commits
    • Sven Neumann's avatar
      check for xsltproc and mention that the intltool version mismatch is · 21ecf07c
      Sven Neumann authored
      2004-06-17  Sven Neumann  <sven@gimp.org>
      
      	* autogen.sh: check for xsltproc and mention that the intltool
      	version mismatch is harmless.
      21ecf07c
    • Pedro Gimeno's avatar
      Fix typos and improve documentation. Addresses bug #144267. · d099aa75
      Pedro Gimeno authored
      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.
      d099aa75
    • Michael Natterer's avatar
      removed "enabled" property. Removed GIMP_CONTROLLER_PARAM_RERIALIZE from · 5f4eabdb
      Michael Natterer authored
      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...
      5f4eabdb
    • Michael Natterer's avatar
      GtkUIManager makes the menu bar visible by default, hide it if · c3a0a277
      Michael Natterer authored
      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.
      c3a0a277
    • Sven Neumann's avatar
      bumped version to 2.1.1. Allow to disable the build of the linux_input · 5823d07e
      Sven Neumann authored
      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.
      5823d07e
    • Philip Lafleur's avatar
      Make transforms (most notably perspective transforms) conform exactly to · 52160f6a
      Philip Lafleur authored
      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.
      52160f6a
  2. 16 Jun, 2004 26 commits
    • Manish Singh's avatar
      put BTN_{WHEEL,GEAR_DOWN,GEAR_UP} usage in #ifdefs, since pre-2.6 kernels · efe3ff1b
      Manish Singh authored
      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.
      efe3ff1b
    • Michael Natterer's avatar
      app/actions/context-actions.c added actions & callback to select the · ed891b72
      Michael Natterer authored
      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.
      ed891b72
    • Simon Budig's avatar
      removed BTN_MISC, since it is the same as BTN_0 in the input.h header · 1209fb5d
      Simon Budig authored
      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.
      1209fb5d
    • Michael Natterer's avatar
      always return a non-NULL string (return "<invalid event id>" as fallback). · 004a9572
      Michael Natterer authored
      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.
      004a9572
    • Simon Budig's avatar
      break out of the loop after we handled the first matching rel_event. · a1d67f0e
      Simon Budig authored
      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.
      a1d67f0e
    • Michael Natterer's avatar
      added #define GIMP_CONTROLLER_PARAM_SERIALIZE. Made all properties · 3a7f7d54
      Michael Natterer authored
      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!
      3a7f7d54
    • Sven Neumann's avatar
      don't use gettext() here. · 429b090f
      Sven Neumann authored
      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.
      429b090f
    • Marco Ciampa's avatar
      Updated italian translation · d9848ca8
      Marco Ciampa authored
      d9848ca8
    • Sven Neumann's avatar
      changed dependencies for blur. · d47121fa
      Sven Neumann authored
      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.
      d47121fa
    • William Skaggs's avatar
      ad8e8776
    • William Skaggs's avatar
    • Andras Timar's avatar
      Updated Hungarian translation. · 36e70501
      Andras Timar authored
      2004-06-15  Andras Timar  <timar@gnome.hu>
      
      	* hu.po: Updated Hungarian translation.
      36e70501
    • Simon Budig's avatar
      enable dial-events for e.g. the powermate. Fixed typo. · 7d46ad95
      Simon Budig authored
      2004-06-16  Simon Budig  <simon@gimp.org>
      
      	* modules/controller_linux_input.c: enable dial-events for
      	e.g. the powermate. Fixed typo.
      7d46ad95
    • Sven Neumann's avatar
      added missing menu entries (bug #144449). · dce97c4e
      Sven Neumann authored
      2004-06-16  Sven Neumann  <sven@gimp.org>
      
      	* menus/image-menu.xml.in: added missing menu entries (bug #144449).
      dce97c4e
    • Michael Natterer's avatar
      added GimpController::get_event_blurb() which returns the strings that · 569af0ac
      Michael Natterer authored
      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).
      569af0ac
    • Michael Natterer's avatar
      app/widgets/Makefile.am app/widgets/widgets-types.h made an object out of · ba2e6c67
      Michael Natterer authored
      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.
      ba2e6c67
    • Jakub Steiner's avatar
      fix typo · 02e41c06
      Jakub Steiner authored
      2004-06-16  Jakub Steiner <jimmac@ximian.com>
      
      * etc/controllerrc: fix typo
      02e41c06
    • Sven Neumann's avatar
      modules/controller_linux_input.c basic wheel event support. · 152a05c5
      Sven Neumann authored
      2004-06-16  Sven Neumann  <sven@gimp.org>
      
      	* modules/controller_linux_input.c
      	* etc/controllerrc: basic wheel event support.
      152a05c5
    • Michael Natterer's avatar
      better debugging output. · 3474308c
      Michael Natterer authored
      2004-06-16  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpcontrollers.c: better debugging output.
      3474308c
    • Sven Neumann's avatar
      forgot this one... · 75a1716e
      Sven Neumann authored
      75a1716e
    • Sven Neumann's avatar
      bug fix. · f4208e33
      Sven Neumann authored
      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.
      f4208e33
    • Michael Natterer's avatar
      load the controller's properties from the controllerrc file. · 1713ef21
      Michael Natterer authored
      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.
      1713ef21
    • Michael Natterer's avatar
      use the 10% actions for opacity. · 037da87c
      Michael Natterer authored
      2004-06-16  Michael Natterer  <mitch@gimp.org>
      
      	* etc/controllerrc: use the 10% actions for opacity.
      037da87c
    • Pablo G. del Campo's avatar
      Updated Spanish translation by Francisco Vila · 15c9df32
      Pablo G. del Campo authored
      2004-06-07  Pablo G. del Campo <pablodc@bigfoot.com>
      
              * es.po: Updated Spanish translation by
              Francisco Vila <francisco.vila@hispalinux.es>.
      15c9df32
    • Michael Natterer's avatar
      ref the actions when putting them in the mapping table. · aa96898f
      Michael Natterer authored
      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.
      aa96898f
    • Michael Natterer's avatar
      added a "name" property. Dispatch events only if the controller is · f3b7f416
      Michael Natterer authored
      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.
      f3b7f416
  3. 15 Jun, 2004 7 commits
    • Michael Natterer's avatar
      Started to fix bug #106920 in a more genreral way: · d0117ef5
      Michael Natterer authored
      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.
      d0117ef5
    • Sven Neumann's avatar
      deprecate the XLFD-based API gimp_text() and gimp_text_get_extents(). · 7070931e
      Sven Neumann authored
      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.
      7070931e
    • Manish Singh's avatar
      tools/pdbgen/pdbgen.pl some simplistic code to add a $deprecated flag to · 58dc763b
      Manish Singh authored
      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.
      58dc763b
    • Michael Natterer's avatar
      app/actions/Makefile.am app/actions/context-actions.[ch] added new action · 8ab1ae98
      Michael Natterer authored
      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.
      8ab1ae98
    • Philip Lafleur's avatar
      Force aspect ratio to match selection when 'From Selection' is clicked. · d1e70648
      Philip Lafleur authored
      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.
      d1e70648
    • Sven Neumann's avatar
      applied the fix for empty colormaps (bug #143009) here as well. · 4d3ae147
      Sven Neumann authored
      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.
      4d3ae147
    • Philip Lafleur's avatar
      Don't round texture coordinates when not using interpolation. Fixes bug · 8059d9aa
      Philip Lafleur authored
      2004-06-15  Philip Lafleur  <plafleur@cvs.gnome.org>
      
      	* app/core/gimpdrawable-transform.c (gimp_drawable_transform_tiles_affine):
      	Don't round texture coordinates when not using interpolation. Fixes
      	bug #144352 for the nearest neighbor case only.
      8059d9aa
  4. 14 Jun, 2004 1 commit