Commit graph

4622 commits

Author SHA1 Message Date
Sven Neumann d79ec4556a create output that at least vaguely resembles XHTML.
2006-09-22  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/plug-ins/colorxhtml.py: create output that at
	least vaguely resembles XHTML.
2006-09-22 11:48:58 +00:00
Sven Neumann 7275f398ed pass the correct function name to inspect.getsourcefile().
2006-09-22  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/plug-ins/colorxhtml.py: pass the correct function
	name to inspect.getsourcefile().
2006-09-22 11:21:57 +00:00
Sven Neumann 9c8f65ee0a plug-ins/pygimp/plug-ins/py-slice.py prepared for translation.
2006-09-21  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/plug-ins/py-slice.py
	* plug-ins/pygimp/plug-ins/shadow_bevel.py: prepared for translation.
2006-09-21 14:24:12 +00:00
Sven Neumann 149277029a more work on python i18n 2006-09-21 14:08:04 +00:00
Sven Neumann 65d8363b61 added align-tool (bug #356260).
2006-09-21  Sven Neumann  <sven@gimp.org>

	* menus/image-menu.xml.in: added align-tool (bug #356260).

	* plug-ins/pygimp/plug-ins/palette-to-gradient.py
	* plug-ins/pygimp/plug-ins/pdbbrowse.py: prepared for translation.
2006-09-21 13:51:36 +00:00
Sven Neumann b17946e15e plug-ins/pygimp/plug-ins/palette-offset.py prepared for translation.
2006-09-21  Sven Neumann  <sven@gimp.org>

        * plug-ins/pygimp/plug-ins/palette-offset.py
        * plug-ins/pygimp/plug-ins/palette-sort.py: prepared for translation.
2006-09-21 12:01:54 +00:00
Sven Neumann bd9ec640a8 prepared for translation.
* plug-ins/pygimp/plug-ins/foggify.py: prepared for translation.
2006-09-21 11:38:47 +00:00
Sven Neumann 48e52e674a plug-ins/pygimp/gimpui.override (_wrap_gimp_dialog_new) allow String or
2006-09-21  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/gimpui.override (_wrap_gimp_dialog_new)
	* plug-ins/pygimp/pygimp-drawable.c (drw_set_name): allow String
	or Unicode objects.

	* plug-ins/pygimp/plug-ins/colorxhtml.py: prepared for translation.
2006-09-21 11:19:43 +00:00
Sven Neumann b69be084b1 pass correct parameters to gimp_brush_select_button_new(). Fixes bug
2006-09-21  Sven Neumann  <sven@gimp.org>

	* plug-ins/gfig/gfig-dialog.c: pass correct parameters to
	gimp_brush_select_button_new(). Fixes bug #356901.

	* plug-ins/script-fu/scripts/test-sphere.scm: use 100.0 as the
	default opacity for SF-BRUSH.
2006-09-21 10:20:53 +00:00
Michael Natterer 9ee803df74 use setpgid() instead of setpgrp(), the latter has a different number of
2006-09-21  Michael Natterer  <mitch@gimp.org>

	* plug-ins/uri/uri-backend-wget.c (uri_backend_load_image): use
	setpgid() instead of setpgrp(), the latter has a different number
	of arguments on darwin. Let's see where it breaks now...
2006-09-21 01:14:19 +00:00
Sven Neumann ed5b8b0995 readded a comma 2006-09-20 18:27:47 +00:00
Sven Neumann cf62a51605 use PyUnicode_Check() instead of PyString_Check().
2006-09-20  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/pygimp-drawable.c (drw_set_name): use
	PyUnicode_Check() instead of PyString_Check().

	* plug-ins/pygimp/plug-ins/clothify.py: reverted localisation;
	this plug-in isn't installed by default.
2006-09-20 11:52:19 +00:00
Sven Neumann 8ae9aa43fe plug-ins/pygimp/plug-ins/clothify.py need to call gettext.install here,
2006-09-20  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/plug-ins/clothify.py
	* plug-ins/pygimp/plug-ins/gimpcons.py: need to call gettext.install
	here, otherwise we can't use _() in the register() call.

	* plug-ins/pygimp/gimpfu.py: don't call gettext.install() for the
	plug-in. Translate the blurb used as a user hint.
2006-09-20 11:33:47 +00:00
Michael Natterer 11abe64f58 if the plug-in is in a different process group than GIMP, kill the entire
2006-09-20  Michael Natterer  <mitch@gimp.org>

	* app/plug-in/gimpplugin.c (gimp_plug_in_close): if the plug-in is
	in a different process group than GIMP, kill the entire group so
	the plug-in's children are killed too.

	* plug-ins/uri/uri-backend-wget.c (uri_backend_load_image): open
	a process group so the wget process gets killed (bug #356643).
2006-09-20 10:31:22 +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
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
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
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 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 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
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