Commit Graph

18793 Commits

Author SHA1 Message Date
Michael Natterer ca6afdf530 added gimp_gradient_flatten() which creates a copy of a gradient with all
2006-09-20  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpgradient.[ch]: added gimp_gradient_flatten() which
	creates a copy of a gradient with all colors that refer to FG or
	BG turned into constant colors.

	* app/core/gimpdrawable-blend.c (gradient_fill_region): create a
	flat copy of the gradient if it contains FG/BG colors. Avoids
	gazillions of context color lookups while rendering, depending on
	gradient and blend complexity.
2006-09-19 22:17:06 +00:00
Kevin Cozens 46fd26d0eb tiny-fu/ts-wrapper.c Minor update since INT8 and INT8_ARRAY types are
2006-09-18  Kevin Cozens  <kcozens@cvs.gnome.org>

	* tiny-fu/ts-wrapper.c
	* tinyscheme/scheme.c: Minor update since INT8 and INT8_ARRAY types
	are unsigned 8-bit values.
2006-09-19 22:16:55 +00:00
Sven Neumann 8662b2e716 do not use gimp.locale_directory as the fallback but just use None 2006-09-19 15:00:07 +00:00
Sven Neumann a09db726e6 allow to pass a (domain, path) tuple as value for the domain argument of
2006-09-19  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/gimpfu.py: allow to pass a (domain, path) tuple
	as value for the domain argument of the register() call. Document
	the domain argument.
2006-09-19 14:53:41 +00:00
Sven Neumann 3dc50859a7 don't leak the message.
2006-09-19  Sven Neumann  <sven@gimp.org>

	* app/core/gimp.c (gimp_message): don't leak the message.

	* app/file/file-utils.c (file_utils_find_proc): clear the error
	if we found a file procedure by matching the file extension.

	* plug-ins/common/png.c (load_image): don't call gimp_quit() if
	opening the file fails but return with GIMP_PDB_EXECUTION_ERROR.
2006-09-19 14:26:48 +00:00
Michael Natterer db51ce3a49 Fix disabling of deprecated procedures (bug #345733):
2006-09-19  Michael Natterer  <mitch@gimp.org>

	Fix disabling of deprecated procedures (bug #345733):

	* app/pdb/gimppdb.c (gimp_pdb_register_procedure): silently drop
	deprecated procedures if they are disabled via --pdb-compat-mode.

	* app/plug-in/gimpplugin-message.c (gimp_plug_in_handle_proc_run):
	remove code that handles deprecated procedures even when they are
	disabled, the change above makes this impossible.
	Call plug_in_params_to_args() also if we didn't find the
	procedure, so the PDB doesn't choke on NULL args.
2006-09-19 11:58:57 +00:00
William Skaggs 73a25c2a61 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/tools/gimpairbrushtool.c
	* app/tools/gimpaligntool.c
	* app/tools/gimpblendtool.c
	* app/tools/gimpbrightnesscontrasttool.c
	* app/tools/gimpbucketfilltool.c
	* app/tools/gimpbycolorselecttool.c
	* app/tools/gimpclonetool.c
	* app/tools/gimpcolorbalancetool.c
	* app/tools/gimpcolorizetool.c
	* app/tools/gimpcolorpickertool.c
	* app/tools/gimpconvolvetool.c
	* app/tools/gimpcroptool.c
	* app/tools/gimpcurvestool.c
	* app/tools/gimpdodgeburntool.c
	* app/tools/gimpellipseselecttool.c
	* app/tools/gimperasertool.c
	* app/tools/gimpfliptool.c
	* app/tools/gimpforegroundselecttool.c
	* app/tools/gimpfreeselecttool.c
	* app/tools/gimpfuzzyselecttool.c
	* app/tools/gimphealtool.c
	* app/tools/gimphuesaturationtool.c
	* app/tools/gimpinktool.c
	* app/tools/gimpiscissorstool.c
	* app/tools/gimplevelstool.c
	* app/tools/gimpmagnifytool.c
	* app/tools/gimpmeasuretool.c
	* app/tools/gimpmovetool.c
	* app/tools/gimppaintbrushtool.c
	* app/tools/gimppenciltool.c
	* app/tools/gimpperspectiveclonetool.c
	* app/tools/gimpperspectivetool.c
	* app/tools/gimpposterizetool.c
	* app/tools/gimprectangleselecttool.c
	* app/tools/gimprectangletool.c
	* app/tools/gimprotatetool.c
	* app/tools/gimpscaletool.c
	* app/tools/gimpsheartool.c
	* app/tools/gimpsmudgetool.c
	* app/tools/gimptexttool.c
	* app/tools/gimpthresholdtool.c
	* app/tools/gimpvectortool.c:  Apply patch from J. Baker,
	with some modifications, to improve tooltips and tool
	names.  Almost fixes bug #356137.
2006-09-18 18:00:22 +00:00
Sven Neumann b39784d20a rewrote the UI without tables and separators (eek). Also fixes bug
2006-09-18  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpaligntool.c: rewrote the UI without tables and
	separators (eek). Also fixes bug #355986.
2006-09-18 13:26:12 +00:00
Jakub Friedl c27f2b4e7a Updated Czech translation.
2006-09-18  Jakub Friedl  <jfriedl@suse.cz>

  * cs.po: Updated Czech translation.
2006-09-18 12:22:35 +00:00
Jakub Friedl e0288fb913 Updated Czech translation
2006-09-18  Jakub Friedl <jfriedl@suse.cz>

  * cs.po: Updated Czech translation
2006-09-18 12:10:56 +00:00
Jakub Friedl 47dcdf528f Czech translation. Thanks for the infrastructure.
2006-09-18  Jakub Friedl  <jfriedl@suse.cz>

  * cs.po: Czech translation. Thanks for the infrastructure.
2006-09-18 12:05:59 +00:00
Manish Singh 20efe460f5 plug-ins/pygimp/Makefile.am plug-ins/pygimp/gimpthumb.defs
2006-09-17  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/Makefile.am
        * plug-ins/pygimp/gimpthumb.defs
        * plug-ins/pygimp/gimpthumb.override
        * plug-ins/pygimp/gimpthumbmodule.c: Bindings for libgimpthumb.
2006-09-17 23:30:42 +00:00
Sven Neumann 152af52bfe do not migrate toolrc and the tool-options folder.
2006-09-17  Sven Neumann  <sven@gimp.org>

	* app/core/gimp-user-install.c (user_install_migrate_files):
	do not migrate toolrc and the tool-options folder.
2006-09-17 19:29:07 +00:00
Manish Singh e409f42d6a override implementation of gimp_window_set_transient so we pass the
2006-09-17  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/gimpui.override: override implementation of
        gimp_window_set_transient so we pass the correct type to the
        C function.
2006-09-17 19:05:04 +00:00
Manish Singh f5044b9ce8 plug-ins/pygimp/gimpfu.py let the gettext module
2006-09-16  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/gimpfu.py
        * plug-ins/pygimp/plug-ins/gtkcons.py: let the gettext module

        * po-python/POTFILES.in
        * plug-ins/pygimp/gimpui.py: Mark a couple strings for translation
        here.
2006-09-17 18:33:42 +00:00
Sven Neumann f82f4a3fb6 try to set a reasonable tile cache size for load and save operations.
2006-09-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/tiff.c: try to set a reasonable tile cache
size
	for load and save operations.
2006-09-17 15:41:10 +00:00
Sven Neumann 422d920977 removed test-sphere.scm.
2006-09-17  Sven Neumann  <sven@gimp.org>

	* POTFILES.in: removed test-sphere.scm.
2006-09-17 13:43:45 +00:00
Sven Neumann 1fcac72b1a applied patch from Aurimas Juška which, among other changes, ports the
2006-09-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/lens.c: applied patch from Aurimas Juška
which,
	among other changes, ports the plug-in to GimpZoomPreview
	(bug #324849).
2006-09-17 13:38:41 +00:00
Sven Neumann 3051cca86f added gimpmodule-2.0, removed gimpconfig-2.0 which is already refered to
2006-09-17  Sven Neumann  <sven@gimp.org>

	* gimpui.pc.in (Libs): added gimpmodule-2.0, removed
	gimpconfig-2.0 which is already refered to from gimp-2.0.pc.
2006-09-17 12:54:01 +00:00
Sven Neumann c61b193310 reverted Bill's change. Applying the delay before the selection makes as
2006-09-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/screenshot.c: reverted Bill's change. Applying
	the delay before the selection makes as much sense as doing it
	afterwards. Do it consistently at least.
2006-09-17 12:21:09 +00:00
Manish Singh d17dcd549a HSV and HSL now handle integer values the same way as the RGB and CMYK
2006-09-17  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/pygimp-colors.c: HSV and HSL now handle integer
        values the same way as the RGB and CMYK objects do, for consistency.
2006-09-17 07:44:25 +00:00
Manish Singh 45139b7c8b Use proper return value types for object constructors. Fixes bug #354555.
2006-09-17  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/pygimp-colors.c: Use proper return value types
        for object constructors. Fixes bug #354555.
2006-09-17 07:05:52 +00:00
Manish Singh a7402fdcbd plug-ins/pygimp/gimpfu.py let the gettext module
2006-09-16  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/gimpfu.py
        * plug-ins/pygimp/plug-ins/gtkcons.py: let the gettext module

        * po-python/POTFILES.in
        * plug-ins/pygimp/gimpui.py: Mark a couple strings for translation
        here.
2006-09-17 02:58:17 +00:00
Michael Natterer 334f160ea3 app/tools/gimpperspectiveclonetool.c (button_press) need to instruct the
2006-09-16  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimpperspectiveclonetool.c (button_press)
	* app/tools/gimpsourcetool.c (button_press): need to instruct the
	paint_core to make a copy of the projection whenever we clone from
	the same *image*, not from the same display. Fixes crash when
	cloning from the same image's projection in another view
	(bug #356209).
2006-09-16 21:49:53 +00:00
William Skaggs 9da34b7e79 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/common/screenshot.c: when shooting a region, apply delay
	_after_ selecting region, applying before is useless.
2006-09-15 16:11:36 +00:00
Sven Neumann 6ee3d9c47e added domain_register method.
2006-09-15  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/gimpmodule.c: added domain_register method.

	* plug-ins/pygimp/gimpfu.py: define N_(). Added an optional
	"domain" parameter to the register() method. Register the domain
	with GIMP and initialize gettext if it is specified.

	* plug-ins/pygimp/plug-ins/gimpcons.py: use N_() to mark menu
	label and blurb for translation. Specify the translation domain.

	* plug-ins/pygimp/plug-ins/gtkcons.py: use gettext API for modules.
2006-09-15 11:48:36 +00:00
Sven Neumann 28d825905f plug-ins/pygimp/Makefile.am added header file for i18n support.
2006-09-15  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/Makefile.am
	* plug-ins/pygimp/pygimp-intl.h: added header file for i18n support.

	* plug-ins/pygimp/gimpmodule.c: bind to the gimp20-python
	translation domain.

	* plug-ins/pygimp/procbrowser.c: marked a string for translation.
2006-09-15 10:29:19 +00:00
Sven Neumann 336dfacac0 translate strings in the gimp20-python textdomain.
2006-09-15  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/gimpfu.py: translate strings in the gimp20-python
	textdomain.

	* plug-ins/pygimp/plug-ins/gtkcons.py: fixed a translation mark.
2006-09-15 09:56:09 +00:00
Ilkka Tuohela ae8f8d2ea0 Updated Finnish translation 2006-09-15 08:29:00 +00:00
Sven Neumann 49bbdfa9a2 only store the settings if run interactively. Fixes bug #356044.
2006-09-15  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/unsharp.c (run): only store the settings if run
	interactively. Fixes bug #356044.
2006-09-15 08:01:12 +00:00
William Skaggs 3c2c165b9c Bill Skaggs <weskaggs@primate.ucdavis.edu>
Trying to implement some usability recommendations from
	Peter Sikking: bigger handles, more feedback to user.

	* app/display/gimpcanvas.[ch]: add
	GIMP_CANVAS_STYLE_XOR_STIPPLED to set of styles.

	* app/tools/gimpdrawtool.[ch]
	(gimp_draw_tool_draw_rectangle_stippled): new function.
	Needs a better stipple pattern, though.

	* app/tools/gimprectangletool.c: bigger handles in corners,
	and highlight thing that user is currently moving.
2006-09-15 00:01:59 +00:00
William Skaggs 769fd8c5a3 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/widgets/gimprectangletool.c: even if constraining to boundaries,
	keep updating rectangel when pointer goes outside boundaries.
	Fixes bug #355740.
2006-09-14 21:51:35 +00:00
David Lodge 174023608e Updated English (British) translation
2006-09-14  David Lodge <dave@cirt.net>

	* en_GB.po: Updated English (British) translation
2006-09-14 18:19:46 +00:00
William Skaggs 4ff0ca1c38 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/widgets/gimppropwidgets.[ch]: add prop widget specially
	for controlling aspect ratio.

	* app/tools/gimprectangleoptions.ch]: use "aspect-numerator"
	and "aspect-denominator" properties instead of "aspect",
	and use new prop widget in gui to set and display them.

	* app/tools/gimprectangletool.c: calculate aspect from
	numerator and denominator.
2006-09-14 17:11:24 +00:00
Michael Natterer 1db7c2075a when editing a "smooth" curve, update the image while dragging instead of
2006-09-14  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimpcurvestool.c (curves_graph_events): when editing a
	"smooth" curve, update the image while dragging instead of on
	button_release. Suggested by Joel Becker.
2006-09-14 17:05:43 +00:00
Francisco Javier F. Serrador 58b5c49b02 Fixed #355936
2006-09-14  Francisco Javier F. Serrador  <serrador@openshine.com>

	* es.po: Fixed #355936
2006-09-14 11:15:55 +00:00
Sven Neumann 9f9e956cbc use gtk.CLOSE instead of "Close" to clarify why this string doesn't need
2006-09-14  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/plug-ins/gtkcons.py: use gtk.CLOSE instead of
	"Close" to clarify why this string doesn't need to be marked for
	translation.
2006-09-14 08:53:52 +00:00
Sven Neumann ef68c4c9c2 typos, formatting 2006-09-14 08:47:09 +00:00
Sven Neumann 730e5ab597 app/widgets/gimpcontrollereditor.[ch] pass a GimpContext to
2006-09-14  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpcontrollereditor.[ch]
	* app/widgets/gimpcontrollerlist.c: pass a GimpContext to
	gimp_viewable_dialog_new().
2006-09-14 08:44:17 +00:00
Sven Neumann 14d80ba157 app/actions/image-actions.c app/dialogs/preferences-dialog.c
2006-09-14  Sven Neumann  <sven@gimp.org>

	* app/actions/image-actions.c
	* app/dialogs/preferences-dialog.c
	* app/tools/gimpvectortool.c
	* app/widgets/gimpcontrollereditor.c:
	* plug-ins/common/autocrop.c
	* plug-ins/common/max_rgb.c: resolved conflicting mnemonics, added
	some new ones (bug #355761).
2006-09-14 08:24:05 +00:00
Jakub Steiner 0a61a1d4e5 help icon in tango styling 2006-09-14 08:15:36 +00:00
Sven Neumann b7e2ab2d2b marged strings for translation.
2006-09-14  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/gimpfu.py: marged strings for translation.
2006-09-14 06:59:46 +00:00
David Lodge d761490951 Updated English (British) translation
2006-09-14  David Lodge <dave@cirt.net>

	* en_GB.po: Updated English (British) translation
2006-09-14 06:42:54 +00:00
Michael Natterer c133b39798 set a context on the GimpContainerEntry.
2006-09-14  Michael Natterer  <mitch@gimp.org>

	* app/dialogs/file-open-location-dialog.c: set a context on the
	GimpContainerEntry.
2006-09-13 23:44:20 +00:00
Michael Natterer 70cf90b0c8 Don't popup the completion when there is only a single match because we
2006-09-14  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcontainerentry.c: Don't popup the completion
	when there is only a single match because we already use inline
	completion.
2006-09-13 22:51:52 +00:00
Michael Natterer 936ee063e1 implement GimpContainerView::set_context() and set the renderers'
2006-09-14  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcontainerentry.c: implement
	GimpContainerView::set_context() and set the renderers'
	contexts. Fixes more preview rendering warnings.
	Connect to GtkEntryCompletion::match-selected in addition to
	GtkEntry::changed to select the active item. Makes the whole
	thing work a lot better.
2006-09-13 22:40:24 +00:00
Michael Natterer bb0d526498 Need to be more careful with setting a tool's focus_dislay now that tools
2006-09-13  Michael Natterer  <mitch@gimp.org>

	Need to be more careful with setting a tool's focus_dislay now
	that tools can receive modifier events in more circumstances
	(fixes warnings with GimpEditSelectionTool)

	* app/tools/gimptool.c (gimp_tool_button_release): ref the tool
	around the function's body (GimpEditSelectionTool unrefs itself in
	button_release()), don't reset the active_modifier_state if it is 0.

	(gimp_tool_set_focus_display): reset the active_modifier_state if
	it is != 0 and the tool had an old focus_display.

	* app/tools/tool_manager.c (tool_manager_push,pop_tool): set the
	old active_tool's focus_display on the new one.
2006-09-13 21:28:17 +00:00
Marco Ciampa 04f67ea4a3 Updated italian translation 2006-09-13 20:08:20 +00:00
Sven Neumann ac610f0cf3 Makefile.am configure.in added basic infrastructure for a gimp20-python
2006-09-13  Sven Neumann  <sven@gimp.org>

	* Makefile.am
	* configure.in
	* po-python: added basic infrastructure for a gimp20-python
	translation domain.

	* plug-ins/pygimp/plug-ins/gimpcons.py
	* plug-ins/pygimp/plug-ins/gtkcons.py: mark some strings for
	translation, based on a patch from David Gowers (bug #351287).
2006-09-13 19:16:58 +00:00
Michael Natterer ca9825ecc5 added macro GIMP_PERSPECTIVE_CLONE_TOOL_GET_OPTIONS()
2006-09-13  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimpperspectiveclonetool.h: added macro
	GIMP_PERSPECTIVE_CLONE_TOOL_GET_OPTIONS()

	* app/tools/gimpperspectiveclonetool.c: use it. Some minor
	cleanups, removed unused includes.
2006-09-13 18:00:30 +00:00