Commit graph

4597 commits

Author SHA1 Message Date
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
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
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
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 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
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
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
Sven Neumann eddb6fd084 plug-ins/common/Makefile.am plug-ins/common/plugin-defs.pl added Lens
2006-09-13  Sven Neumann  <sven@gimp.org>

        * plug-ins/common/Makefile.am
        * plug-ins/common/plugin-defs.pl
        * plug-ins/common/lens.c: added Lens Distortion plug-in. Written by
        David Hodson and ported to newer GIMP APIs by Aurimas Juška and me
        (bug #324849).
2006-09-13 14:40:05 +00:00
Sven Neumann a42941ddb9 changed label to not include a "|" which can be easily confused with a
2006-09-13  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/pix.c (query): changed label to not include a
	"|" which can be easily confused with a translation context.
2006-09-13 08:46:25 +00:00
Michael Natterer a584c1312d added a parargaph of the original copyright notice that was forgotten when
2006-09-12  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/tiff.c: added a parargaph of the original
	copyright notice that was forgotten when originally pasting it.
2006-09-12 20:45:51 +00:00
Sven Neumann a03e14af1a app/composite/gimp-composite-generic.c app/core/gimpimage-convert.c
2006-09-12  Sven Neumann  <sven@gimp.org>

	* app/composite/gimp-composite-generic.c
	* app/core/gimpimage-convert.c
	* app/actions/view-actions.c
	* app/dialogs/grid-dialog.c
	* app/dialogs/offset-dialog.c
	* app/dialogs/palette-import-dialog.c
	* app/display/gimpnavigationeditor.c
	* app/tools/gimpiscissorstool.c
	* app/widgets/gimptoolbox-image-area.c
	* plug-ins/common/CML_explorer.c
	* plug-ins/common/apply_lens.c
	* plug-ins/common/cubism.c
	* plug-ins/common/curve_bend.c
	* plug-ins/common/exchange.c
	* plug-ins/common/fp.c
	* plug-ins/common/gif.c
	* plug-ins/common/iwarp.c
	* plug-ins/common/laplace.c
	* plug-ins/common/mapcolor.c
	* plug-ins/common/nlfilt.c
	* plug-ins/common/nova.c
	* plug-ins/common/psp.c
	* plug-ins/common/randomize.c
	* plug-ins/common/sparkle.c
	* plug-ins/common/tga.c
	* plug-ins/common/threshold_alpha.c
	* plug-ins/common/unsharp.c
	* plug-ins/common/vpropagate.c
	* plug-ins/gfig/gfig-dialog.c
	* plug-ins/gflare/gflare.c
	* plug-ins/ifscompose/ifscompose.c: removed unused macros.
2006-09-12 11:46:10 +00:00
William Skaggs a214aad1d3 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/common/depthmerge.c (dialogDepthMap2ChangedCallback):
	change "depthMap1Drawable" to "depthMap2Drawable" to fix
	typo introduced in version 1.35 committed on 2004-04-21.
	Should fix bug #355219.
2006-09-10 21:25:55 +00:00
Sven Neumann 619ab19a84 added a thumbnail to the "Rotate Image?" query dialog as suggested in bug
2006-09-10  Sven Neumann  <sven@gimp.org>

	* plug-ins/jpeg/jpeg-exif.c: added a thumbnail to the "Rotate
	Image?" query dialog as suggested in bug #355213.
2006-09-10 19:48:25 +00:00
Sven Neumann c75eb914cc hopefully really fixed bug #353227 this time.
2006-09-09  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/emboss.c: hopefully really fixed bug #353227
	this time.
2006-09-09 00:52:34 +00:00
Manish Singh c46a34fdf0 plug-ins/pygimp/pygimp-drawable.c reorder includes to avoid preprocessor
2006-09-08  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/pygimp-drawable.c
        * plug-ins/pygimp/pygimp-pdb.c: reorder includes to avoid preprocessor
        symbol redefinition warnings.
2006-09-08 21:05:38 +00:00
Manish Singh 793da2025f plug-ins/pygimp/pygimp-drawable.c #define NO_IMPORT_PYGOBJECT, so the
2006-09-08  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/pygimp-drawable.c
        * plug-ins/pygimp/pygimp-pdb.c: #define NO_IMPORT_PYGOBJECT, so
        the internal pygobject API symbol is only defined once.
2006-09-08 20:54:10 +00:00
Sven Neumann fd56f0631c added "position" construct-only property to allow construction using
2006-09-07  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpchainbutton.c: added "position" construct-only
	property to allow construction using g_object_new().

	* plug-ins/pygimp/gimpui.defs: use new style constructors for some
	more widgets.
2006-09-07 12:23:42 +00:00
Sven Neumann ac05be7a68 updated the GimpHintBox constructor definition to use pygtk 2.8 features.
2006-09-07  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/gimpui.defs: updated the GimpHintBox constructor
	definition to use pygtk 2.8 features.

	* plug-ins/pygimp/gimpui.override: removed hand-written constructor.
2006-09-07 10:28:21 +00:00
Sven Neumann 5ff13881ee also add the procedure to the history if it is called from the "Repeat" or
2006-09-06  Sven Neumann  <sven@gimp.org>

	* app/actions/plug-in-commands.c (plug_in_run_cmd_callback)
	(plug_in_repeat_cmd_callback): also add the procedure to the
	history if it is called from the "Repeat" or "Re-Show" menus.

	* plug-ins/common/vpropagate.c: changed progress text.
2006-09-06 09:11:55 +00:00
Sven Neumann d00d79fd62 document the new menu registration syntax.
2006-09-06  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/gimpfu.py: document the new menu registration
syntax.
2006-09-05 23:27:25 +00:00
Sven Neumann 31b3de0788 plug-ins/pygimp/gimpui.defs wrap the new GimpHintBox widget.
2006-09-06  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/gimpui.defs
	* plug-ins/pygimp/gimpui.override: wrap the new GimpHintBox
widget.

	* plug-ins/pygimp/gimpfu.py: use it to display the blurb.

	* plug-ins/pygimp/plug-ins/py-slice.py: added missing verb in
blurb.
2006-09-05 23:11:12 +00:00
Sven Neumann dea33cb255 libgimpwidgets/Makefile.am libgimpwidgets/gimpwidgets.h added simple
2006-09-05  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/Makefile.am
	* libgimpwidgets/gimpwidgets.h
	* libgimpwidgets/gimphintbox.[ch]: added simple widget to
display
	a user hint. Having this as a widget will allow us to change the
	look, perhaps even using style properties.

	* libgimpwidgets/gimpwidgets.def: added the new symbols.

	* app/dialogs/keyboard-shortcuts-dialog.c
	* plug-ins/common/colormap-remap.c
	* plug-ins/common/redeye.c: use the new widget instead of
	duplicating the code.
2006-09-05 21:43:07 +00:00
Sven Neumann febf445c04 use the wilber icon / label combination for hints that is also used in
2006-09-05  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/redeye.c (dialog): use the wilber icon / label
	combination for hints that is also used in colormap-remap.
2006-09-05 20:38:29 +00:00
Sven Neumann 4bb2851f56 disabled debug spew.
2006-09-05  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpselectiondata.c: disabled debug spew.

	* plug-ins/common/raw.c: fixed saving of INDEXEDA drawables. Added
	code to load such files. Fixes bug #354034.
2006-09-05 09:26:28 +00:00
Michael Natterer 4233734b86 pop the context before rendering the gradient so we draw the gradient with
2006-09-01  Michael Natterer  <mitch@gimp.org>

	* plug-ins/script-fu/scripts/gradient-example.scm: pop the context
	before rendering the gradient so we draw the gradient with the
	user's colors, not with the ones the script uses temporarily.
2006-09-01 21:27:42 +00:00
Sven Neumann 50a8cde19a fixed a typo.
2006-08-31  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/plug-ins/happy-valley-relief.py: fixed a typo.
2006-08-31 16:19:52 +00:00
Sven Neumann d5b605dc06 similar cleanup, removed unused parameters.
2006-08-30  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/gif.c: similar cleanup, removed unused
parameters.
2006-08-30 17:01:47 +00:00
Sven Neumann df52626cdb removed debugging output; minor cleanup.
2006-08-30  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/png.c: removed debugging output; minor
cleanup.
2006-08-30 16:53:44 +00:00
William Skaggs 177cef9d21 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/common/png.c: when saving an IA image, don't load
	the entire image into memory to search for an unused color.
	Fixes bug #308909.
2006-08-30 16:37:55 +00:00
Sven Neumann 33e189cc14 fixed off-by-one error and cleaned up the code a bit. Fixes bug #353227.
2006-08-30  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/emboss.c: fixed off-by-one error and cleaned
up
	the code a bit. Fixes bug #353227.
2006-08-30 08:28:16 +00:00
Sven Neumann 11f76bbd96 code cleanup and fix for bug #353381 (crash when Preview option is
2006-08-29  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/postscript.c (dither_grey): code cleanup and fix
	for bug #353381 (crash when Preview option is selected).
2006-08-29 13:32:22 +00:00
Raphael Quinet a4263ba43d Removed incorrect mention of Gauss IIR in blurb (the plug-in uses the RLE
2006-08-29  Raphael Quinet  <raphael@gimp.org>

	* plug-ins/common/dog.c (query): Removed incorrect mention of
	Gauss IIR in blurb (the plug-in uses the RLE algorithm).
2006-08-29 13:09:19 +00:00
Sven Neumann fb410b52c7 avoid crashing on newer versions of the winicon file format (bug #352899).
2006-08-28  Sven Neumann  <sven@gimp.org>

	* plug-ins/winicon/icoload.c: avoid crashing on newer versions of
	the winicon file format (bug #352899).
2006-08-28 08:11:57 +00:00
Sven Neumann a1b1fb7530 plug-ins/winicon/icodialog.c fixed handling of indexed images (bug
2006-08-24  Sven Neumann  <sven@gimp.org>

	* plug-ins/winicon/icodialog.c
	* plug-ins/winicon/icosave.c: fixed handling of indexed images
	(bug #342883).
2006-08-24 15:07:04 +00:00
William Skaggs e32ef594e6 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* configure.in
	* plug-ins/Makefile.am
	* plug-ins/common/png.c: revert changes accidentally
	committed in previous commit.
2006-08-22 17:40:04 +00:00
William Skaggs 0b51b73164 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* libgimpbase/gimpbaseenums.c: Don't label Lanczos
	as "best".  Addresses bug #343576.
2006-08-22 17:13:52 +00:00
Sven Neumann cec47fef1f check that the palette name actually refers to an existing palette and use
2006-08-18  Sven Neumann  <sven@gimp.org>

	* libgimp/gimppaletteselectbutton.c
	(gimp_palette_select_button_set_palette): check that the palette
	name actually refers to an existing palette and use the active
	palette if name is NULL or empty (like the other select buttons).

	* plug-ins/pygimp/plug-ins/palette-offset.py: use an integer value
	for a PF_INT parameter.
2006-08-18 10:52:26 +00:00
Sven Neumann cbbc80c24e check if the menupath starts with <Image> instead of checking that it does
2006-08-18  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/gimpfu.py: check if the menupath starts with
	<Image> instead of checking that it does not start with <Toolbox>.
	Makes the scripts in <Palettes> work to some extent.
2006-08-18 09:33:58 +00:00
Sven Neumann 7a7a407195 derive the menupath from the label before adding to _registered_plugins_.
2006-08-18  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/gimpfu.py (register): derive the menupath from
	the label before adding to _registered_plugins_.

	* plug-ins/pygimp/Makefile.am: moved clothify.py to test-scripts,
	it doubles the functionality of script-fu-clothify.

	* plug-ins/pygimp/plug-ins/benchmark-foreground-extract.py
	* plug-ins/pygimp/plug-ins/foggify.py
	* plug-ins/pygimp/plug-ins/palette-sort.py
	* plug-ins/pygimp/plug-ins/palette-to-gradient.py: changed menu
	registration in some places that I missed earlier.
2006-08-18 09:03:02 +00:00
Sven Neumann 8b5b80a375 derive the menu from the label before adding to _registered_plugins_.
2006-08-18  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/gimpfu.py (register): derive the menu from the
	label before adding to _registered_plugins_.

	* plug-ins/pygimp/Makefile.am: moved clothify.py to test-scripts,
	it doubles the functionality of script-fu-clothify.
2006-08-18 08:53:17 +00:00
Sven Neumann 247fc372d5 added a convenience function to create a layer from a GdkPixbuf.
2006-08-17  Sven Neumann  <sven@gimp.org>

	* libgimp/gimppixbuf.[ch]: added a convenience function to create
	a layer from a GdkPixbuf.

	* plug-ins/common/poppler.c
	* plug-ins/common/screenshot.c
	* plug-ins/common/svg.c: use gimp_layer_new_from_pixbuf().

	* libgimp/gimpui.def: updated.
2006-08-17 16:52:25 +00:00
Sven Neumann 476ec672c8 plug-ins/common/poppler.c plug-ins/common/screenshot.c improved progress
2006-08-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/poppler.c
	* plug-ins/common/screenshot.c
	* plug-ins/common/svg.c: improved progress handling.
2006-08-17 15:41:04 +00:00
Sven Neumann f96049ae6e added an optional menu parameter to the register call to simplify menu
2006-08-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/gimpfu.py: added an optional menu parameter to
	the register call to simplify menu registration. Also restored
	menupath specific mangling of the procedure arguments.

	* plug-ins/pygimp/plug-ins/*.py: use the menu parameter instead
	of defining a function to call on query.

	* plug-ins/pygimp/plug-ins/sphere.py: do it old-style here for
	testing.
2006-08-17 14:52:13 +00:00
Sven Neumann d1b2b655b8 when accessing members of tc_byte_array, cast them to guint8.
2006-08-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/siod/sliba.c (aref1): when accessing
members
	of tc_byte_array, cast them to guint8.
2006-08-17 06:49:24 +00:00
Sven Neumann 7bb7de9294 added menu_register method.
2006-08-16  Sven Neumann  <sven@gimp.org>

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

	* plug-ins/pygimp/plug-ins/*.py: use gimp.menu_register().
2006-08-16 21:26:53 +00:00
Sven Neumann 7728c808e5 allow '-' in procedure and parameter names.
2006-08-16  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/gimpfu.py: allow '-' in procedure and
parameter
	names.

	* plug-ins/pygimp/plug-ins/*.py: use canonical procedure and
	parameter names.
2006-08-16 20:48:45 +00:00
Sven Neumann 8ecf3cdf49 use gimp_plugin_menu_register().
2006-08-16  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/plug-ins/*.py: use
gimp_plugin_menu_register().
2006-08-16 20:16:05 +00:00