Commit Graph

148 Commits

Author SHA1 Message Date
Sven Neumann 3c5d71da83 fixed defaults for mouse wheel controller (bug #171083, fix spotted by
2005-03-21  Sven Neumann  <sven@gimp.org>

	* etc/controllerrc: fixed defaults for mouse wheel controller (bug
	#171083, fix spotted by Michael Schumacher).
2005-03-21 19:37:57 +00:00
Manish Singh 9706fce0a3 Support for custom plug-in interpreters, independent of OS support.
2005-02-20  Manish Singh  <yosh@gimp.org>

        Support for custom plug-in interpreters, independent of OS support.

        * app/core/Makefile.am
        * app/core/core-types.h
        * app/core/gimpinterpreterdb.[ch]: implemented GimpInterpreterDB,
        which handles registering and resolving custom plug-in interpreters.

        * app/core/gimp.[ch]: keep a GimpInterpreterDB around.

        * app/config/gimpcoreconfig.[ch]
        * app/config/gimprc-blurbs.h
        * app/dialogs/preferences-dialog.c
        * app/dialogs/user-install-dialog.c
        * app/widgets/gimphelp-ids.h: interpreter-path config stuff.

        * app/plug-in/plug-in.c: use registered interpreters when running
        plug-ins.

        * themes/Default/images/preferences/Makefile.am
        * themes/Default/images/preferences/folders-interp.png: just copied
        folders-plug-ins.png here, need a better one.

        * data/interpreters/Makefile.am: creates system interpreter directory.

        * data/interpreters/default.interp: sample interpreter file info.

        * data/Makefile.am
        * configure.in: add data/interpreters directory.

        * plug-ins/pygimp/Makefile.am: install pygimp.interp, which configures
        the python interpreter to point to the python we were built with. Also
        register the .py extension.

        * etc/gimprc
        * docs/gimprc.5.in: regenerated
2005-02-21 02:56:29 +00:00
Sven Neumann 71962f47a8 another update from Eric Pierce.
2005-01-03  Sven Neumann  <sven@gimp.org>

	* etc/ps-menurc: another update from Eric Pierce.
2005-01-02 23:14:14 +00:00
Sven Neumann 4e6961723c updated PS keybindings contributed by Eric Pierce.
2005-01-02  Sven Neumann  <sven@gimp.org>

	* etc/ps-menurc: updated PS keybindings contributed by Eric Pierce.
2005-01-02 02:30:41 +00:00
Sven Neumann c102dad9eb Made 2.2-pre2 release.
2004-11-20  Sven Neumann  <sven@gimp.org>

	* Made 2.2-pre2 release.
2004-11-20 00:26:55 +00:00
Sven Neumann ec2be77b84 Made 2.2-pre1 release.
2004-10-31  Sven Neumann  <sven@gimp.org>

        * Made 2.2-pre1 release.
2004-11-01 00:01:53 +00:00
Sven Neumann 71594d900f Made 2.1.7 release.
2004-10-15  Sven Neumann  <sven@gimp.org>

        * Made 2.1.7 release.
2004-10-14 23:42:20 +00:00
Sven Neumann 4cea5ae909 Made 2.1.6 release.
2004-10-05  Sven Neumann  <sven@gimp.org>

        * Made 2.1.6 release.
2004-10-05 00:04:51 +00:00
Sven Neumann 2e38cfe8cb updated for GIMP 2.1 by Eric Pierce.
2004-09-28  Sven Neumann  <sven@gimp.org>

	* etc/ps-menurc: updated for GIMP 2.1 by Eric Pierce.
2004-09-28 20:07:44 +00:00
Sven Neumann 3155d682a5 libgimp/gimpdrawablepreview.[ch] always show the "Preview" check button.
2004-09-01  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpdrawablepreview.[ch]
	* libgimpwidgets/gimppreview.[ch]: always show the "Preview" check
	button. Simplified the preview APIs, moved the "size" style
	property to the GimpPreview class.

	* etc/gtkrc: changed the example accordingly.

	* plug-ins/common/despeckle.c
	* plug-ins/common/gauss.c
	* plug-ins/common/neon.c
	* plug-ins/common/sobel.c
	* plug-ins/common/softglow.c
	* plug-ins/common/spread.c
	* plug-ins/common/unsharp.c: follow change in GimpDrawablePreview API.
2004-09-01 14:01:10 +00:00
Sven Neumann e769d4d08c added a style property for the minimum size.
2004-08-31  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpdrawablepreview.c: added a style property for the
	minimum size.

	* etc/gtkrc: show how to adjust the size of GimpDrawablePreviews.
2004-08-31 21:15:03 +00:00
Michael Natterer 4671054c08 added a commented-out midi controller entry with some example mappings.
2004-08-11  Michael Natterer  <mitch@gimp.org>

	* etc/controllerrc: added a commented-out midi controller entry
	with some example mappings.
2004-08-11 09:16:36 +00:00
Sven Neumann 3efeb7982a Made 2.1.3 release.
2004-08-06  Sven Neumann  <sven@gimp.org>

        * Made 2.1.3 release.
2004-08-06 01:45:32 +00:00
Michael Natterer 1e005bfb12 changed default configuration of the keyboard controller: scroll the
2004-07-29  Michael Natterer  <mitch@gimp.org>

	* etc/controllerrc: changed default configuration of the keyboard
	controller: scroll the display one step on cursor_key, scroll by
	one page on <shift>+cursor_key and scroll to top/bottom/left/right
	on <control>+cursor_key. Fixes bug #53988.

	Moved the old opacity-modifying actions to <alt>+cursor_key.
2004-07-29 16:45:39 +00:00
Sven Neumann 49fa9b7589 Made 2.1.2 release.
2004-07-20  Sven Neumann  <sven@gimp.org>

        * Made 2.1.2 release.
2004-07-20 01:09:16 +00:00
Michael Natterer c0aa8fee88 fix typo in wheel controller mapping.
2004-06-24  Michael Natterer  <mitch@gimp.org>

	* etc/controllerrc: fix typo in wheel controller mapping.
2004-06-24 12:12:46 +00:00
Michael Natterer 02b91f6628 app/tools/gimptool.[ch] added boolean return value to
2004-06-24  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimptool.[ch]
	* app/tools/tool_manager.[ch]: added boolean return value to
	GimpTool::key_press() which indicates if the event was handled.

	* app/tools/gimpcroptool.c
	* app/tools/gimpeditselectiontool.[ch]
	* app/tools/gimptransformtool.c
	* app/tools/gimpvectortool.c: return TRUE if the key event was handled.

	* app/tools/gimppainttool.c: removed key_press() implementation.

	* app/widgets/Makefile.am
	* app/widgets/widgets-types.h
	* app/widgets/gimpcontrollerkeyboard.[ch]: new controller class
	which takes GdkEventKey and emits controller events for all
	combinations of modifiers and cursor keys.

	* app/widgets/gimpcontrollers.[ch]: added new function
	gimp_controllers_get_keyboard().

	* app/display/gimpdisplayshell-callbacks.c: if a key event was not
	handled by the active tool, dispatch it to the keyboard controller.

	* etc/controllerrc: add a keyboard controller which is configured
	to do the same as the removed gimp_paint_tool_key_press().
2004-06-24 10:16:08 +00:00
Sven Neumann 569765d7e3 Made 2.1.1 release.
2004-06-24  Sven Neumann  <sven@gimp.org>

        * Made 2.1.1 release.
2004-06-24 00:51:19 +00:00
William Skaggs 63a4a72f79 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/gui/*.c:
	* app/widgets/*.c:
	* etc/templaterc: HIGify capitalization.  Should finish bug #123699
	except for everything I missed or got wrong.
2004-06-23 22:44:04 +00:00
Sven Neumann 7bdf689b68 commented out the linux_input controller configuration.
2004-06-24  Sven Neumann  <sven@gimp.org>

	* etc/controllerrc: commented out the linux_input controller
	configuration.
2004-06-23 22:34:33 +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 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
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
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
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
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
Sven Neumann f3c3bc22c3 Made 2.1.0 development release.
2004-06-02  Sven Neumann  <sven@gimp.org>

	* Made 2.1.0 development release.
2004-06-02 18:57:57 +00:00
Sven Neumann 5de9756f9a app/widgets/Makefile.am app/widgets/widgets-types.h added new widget,
2004-05-11  Sven Neumann  <sven@gimp.org>

	* app/widgets/Makefile.am
	* app/widgets/widgets-types.h
	* app/widgets/gimpcontainercombobox.[ch]: added new widget, almost
	finished.

	* app/widgets/gimpcontainerview.[ch]: added convenience functions
	to get and set the GimpContainerView properties.

	* app/widgets/gimpcontainerbox.c: use the convenience functions.

	* app/gui/file-new-dialog.c: use the new GimpContainerComboBox.

	* etc/templaterc: use "pixels" as the unit for pixel sized templates.
2004-05-11 12:13:31 +00:00
Sven Neumann 951f1589a1 changed the default for "help-locales" from NULL to an empty string. Fixes
2004-03-29  Sven Neumann  <sven@gimp.org>

	* app/config/gimpguiconfig.c: changed the default for "help-locales"
	from NULL to an empty string. Fixes the generated gimprc man-page.

	* app/config/gimprc-blurbs.h (HELP_LOCALES_BLURB): added missing
	whitespace.

	* app/widgets/gimphelp.c: use the user's locale if "help-locales"
	is NULL or the empty string.

	* docs/gimprc.5.in
	* etc/gimprc: regenerated.
2004-03-29 17:54:13 +00:00
Sven Neumann 6972fe34df Made 2.0rc1 release.
2004-03-20  Sven Neumann  <sven@gimp.org>

        * Made 2.0rc1 release.
2004-03-20 23:41:42 +00:00
Sven Neumann 72ea1affed updated PS keybindings contributed by Eric Pierce.
2004-03-19  Sven Neumann  <sven@gimp.org>

	* etc/ps-menurc: updated PS keybindings contributed by Eric Pierce.
2004-03-19 16:46:17 +00:00
Sven Neumann 65b0598aed Made 2.0pre4 release.
2004-03-04  Sven Neumann  <sven@gimp.org>

	* Made 2.0pre4 release.
2004-03-04 01:51:24 +00:00
Sven Neumann 88ecc1eb00 Made 2.0pre3 release.
2004-02-04  Sven Neumann  <sven@gimp.org>

        * Made 2.0pre3 release.
2004-02-04 02:56:36 +00:00
Sven Neumann 3a8e85d777 Made 2.0pre2 release.
2004-01-19  Sven Neumann  <sven@gimp.org>

        * Made 2.0pre2 release.
2004-01-19 03:59:04 +00:00
Dave Neary 5f29b0e5f0 Remove unusual "1200x900" template.
2004-01-11  Dave Neary  <bolsh@gimp.org>

        * etc/templaterc: Remove unusual "1200x900" template.
2004-01-11 15:27:22 +00:00
Sven Neumann 8c32fa9b6d removed the size parameter and do nothing but invalidating the preview.
2004-01-10  Sven Neumann  <sven@gimp.org>

	* app/core/gimpimagefile.[ch] (gimp_imagefile_update): removed the
	size parameter and do nothing but invalidating the preview.

	* app/gui/file-open-dialog.c
	* app/widgets/gimpdocumentview.c: changed accordingly.

	* app/core/gimpdocumentlist.c (gimp_document_list_deserialize):
	no need for calling gimp_imagefile_update() from here.

	* tools/pdbgen/pdb/fileops.pdb
	* app/pdb/fileops_cmds.c (file_load_thumbnail): rewritten using the
	GimpThumbnail API.

	* app/core/gimp.c: cosmetics.
2004-01-10 23:55:28 +00:00
Dave Neary cbfeedb8c9 Add some templates for screen sizes, as i suggested in bug #130869.
2004-01-08  Dave Neary  <bolsh@gimp.org>

        * etc/templaterc: Add some templates for screen sizes, as i
        suggested in bug #130869.
2004-01-08 21:06:39 +00:00
Sven Neumann 8179ef7ef2 Made 2.0pre1 release.
2004-01-07  Sven Neumann  <sven@gimp.org>

        * Made 2.0pre1 release.
2004-01-07 03:53:28 +00:00
Sven Neumann 6ac37445d0 Made 1.3.23 release.
2003-11-24  Sven Neumann  <sven@gimp.org>

        * Made 1.3.23 release.
2003-11-24 02:02:51 +00:00
Michael Natterer d3e0332f8d configure.in themes/Makefile.am themes/Small/.cvsignore
2003-11-16  Michael Natterer  <mitch@gimp.org>

	* configure.in
	* themes/Makefile.am
	* themes/Small/.cvsignore
	* themes/Small/Makefile.am
	* themes/Small/gtkrc: added a "Small" theme so users don't have to
	edit their ~/.gimp-1.3/gtkrc to get the smaller look.

	* app/widgets/gimpdock.c: use "gimp-dock-separator", not just
	"dock-separator" as widget name.

	* etc/gtkrc: changed accordingly. Removed small style since it is
	a theme now. Cleanup.
2003-11-16 18:56:41 +00:00
Sven Neumann 31ad0615d9 update contributed by Eric Pierce.
2003-11-06  Sven Neumann  <sven@gimp.org>

	* etc/ps-menurc: update contributed by Eric Pierce.
2003-11-06 12:28:47 +00:00
Sven Neumann 8e8c9511c7 etc/Makefile.am renamed to gtkrc.
2003-11-04  Sven Neumann  <sven@gimp.org>

	* etc/Makefile.am
	* etc/gtkrc_user: renamed to gtkrc.

	* gimp.spec.in: changed accordingly.

	* app/gui/user-install-dialog.c: don't install the sessionrc,
	templaterc and unitrc into the personal gimp directory. The files
	are created when GIMP is quit.

	* app/core/gimp-templates.c
	* app/core/gimp-units.c
	* app/gui/session.c: load sessionrc, templaterc and unitrc from
	the systemwide config directory. That way you can restore the
	default setup by removing the respective files from your personal
	gimp directory.
2003-11-04 21:58:39 +00:00
Sven Neumann b93eda32d7 Made 1.3.22 release.
2003-11-03  Sven Neumann  <sven@gimp.org>

        * Made 1.3.22 release.
2003-11-03 01:10:58 +00:00
Sven Neumann 0fd119e892 app/widgets/gimpdock.c draw the separators in normal color but make the
2003-11-02  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpdock.c
	* etc/gtkrc_user: draw the separators in normal color but make the
	DND highlight use the bg color of the selected state.
2003-11-02 13:57:09 +00:00
Sven Neumann e3480536f3 app/display/Makefile.am new files that implement a GimpConfig object with
2003-10-22  Sven Neumann  <sven@gimp.org>

	* app/display/Makefile.am
	* app/display/gimpdisplayoptions.[ch]: new files that implement
	a GimpConfig object with GimpDisplayShell and GimpCanvas options.
	Actually two classes, one for the normal view, a derived one with
	different default values for fullscreen mode.

	* app/display/display-enums.[ch]: renamed GimpDisplayPadding enum
	to GimpCanvasPadding.

	* app/config/config-types.h: added the GimpDisplayOptions typedef.

	* app/config/gimprc-blurbs.h
	* app/config/gimpdisplayconfig.[ch]: replaced a bunch of properties
	with two instances of GimpDisplayOptions.

	* app/display/gimpdisplayshell.[ch]: replaced the
	GimpDisplayShellAppearance struct with GimpDisplayOptions.

	* app/display/gimpdisplayshell-appearance.[ch]
	* app/display/gimpdisplayshell-callbacks.c
	* app/display/gimpdisplayshell-handlers.[ch]
	* app/gui/image-menu.c: changed accordingly.

	* app/gui/preferences-dialog.c: added a convenience function that
	creates a view on a GimpDisplayOptions object. Not all values are
	configurable here yet.

	* docs/gimprc-1.3.5.in
	* etc/gimprc: regenerated to document the gimprc format changes.
2003-10-22 14:46:05 +00:00
Sven Neumann 4ea392ef3b removed function gimp_config_serialize_comment()...
2003-10-12  Sven Neumann  <sven@gimp.org>

	* app/config/gimpconfig-serialize.[ch]: removed function
	gimp_config_serialize_comment()...

	* app/config/gimpconfig-utils.[ch]: removed function
	gimp_config_string_indent()...

	* app/config/gimpconfigwriter.[ch]: ... and implement both here.
	Added a comment mode to GimpConfigWriter.

	* app/config/gimpconfig-dump.c: handle GimpConfig properties.

	* doc/gimprc-1.3.5.in
	* etc/gimprc: regenerated by gimpconfig-dump.
2003-10-12 01:49:51 +00:00
Michael Natterer b136228de9 app/widgets/widgets-types.h added new struct GimpSessionInfoAux which
2003-10-11  Michael Natterer  <mitch@gimp.org>

	* app/widgets/widgets-types.h
	* app/widgets/gimpsessioninfo.[ch]: added new struct
	GimpSessionInfoAux which contains "gchar *name" and "gchar *value".
	Changed sessionrc "aux-info" format again to be really extendable
	this time. Also breaks everybody's sessionrc again.

	* app/widgets/gimpimagedock.c
	* etc/sessionrc: changed accordingly.

	Implemented the stuff suggested in bug #122964. Fixes bug #122964
	and bug #52206:

	* app/widgets/gimpdataeditor.[ch]: replaced the "Gimp" member by a
	"GimpDataFactory" and changed gimp_data_editor_construct()
	accordingly. Implement GimpDockedInterface::set_aux_info() and
	get_aux_info() and remember the currently edited data across
	sessions.

	* app/gui/gradient-editor-commands.c
	* app/gui/gradient-editor-menu.c
	* app/widgets/gimpbrusheditor.c
	* app/widgets/gimpgradienteditor.c
	* app/widgets/gimppaletteeditor.c: changed accordingly.

	* app/widgets/gimpcoloreditor.c: remember the active color
	selector across sessions.
2003-10-11 16:50:35 +00:00