Commit graph

4503 commits

Author SHA1 Message Date
Sven Neumann cbdcc6ba73 plug-ins/common/mail.c updated inlined icons from Tango Icon library.
2006-06-28  Sven Neumann  <sven@gimp.org>

        * plug-ins/common/mail.c
        * plug-ins/common/screenshot.c: updated inlined icons from Tango
        Icon library.
2006-06-28 11:13:13 +00:00
Sven Neumann a9bd28e458 libgimp/gimpfontselectbutton.[ch] libgimp/gimpgradientselectbutton.[ch]
2006-06-28  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpfontselectbutton.[ch]
	* libgimp/gimpgradientselectbutton.[ch]
	* libgimp/gimppaletteselectbutton.[ch]
	* libgimp/gimppatternselectbutton.[ch]: for consistency with
	GimpBrushSelectButton dropped the _name suffix from the getter
	and setter API.

	* libgimp/gimpfontmenu.c
	* libgimp/gimpgradientmenu.c
	* libgimp/gimppalettemenu.c
	* libgimp/gimppatternmenu.c
	* plug-ins/gfig/gfig-style.c
	* plug-ins/script-fu/script-fu-interface.c: changed accordingly.

	* libgimp/gimpbrushmenu.c
	* libgimp/gimpbrushselectbutton.[ch]
	* libgimp/gimpselectbutton.c: cleanup for consistency.

2006-06-28  Sven Neumann  <sven@gimp.org>

	* libgimp/tmpl/gimpbrushselectbutton.sgml
	* libgimp/tmpl/gimpgradientselectbutton.sgml
	* libgimp/tmpl/gimppaletteselectbutton.sgml
	* libgimp/tmpl/gimppatternselectbutton.sgml
	* libgimp/tmpl/gimpselectbutton.sgml: new files.

	* libgimp/libgimp-docs.sgml
	* libgimp/libgimp-sections.txt
	* libgimp/libgimp.types: added docs for GimpSelectButton widgets.

	* libgimp/tmpl/gimpfontselectbutton.sgml: regenerated.

	* libgimpcolor/libgimpcolor-sections.txt: added docs for GValue API.

	* libgimpcolor/tmpl/gimprgb.sgml: regenerated.

	* libgimpwidgets/libgimpwidgets-sections.txt: updated.

	* libgimpwidgets/tmpl/gimppropwidgets.sgml
	* libgimpwidgets/tmpl/gimpstock.sgml: regenerated.
2006-06-28 10:35:22 +00:00
Sven Neumann 12e0bf9090 app/core/gimpchannel-select.c app/core/gimpdrawable-bucket-fill.c
2006-06-27  Sven Neumann  <sven@gimp.org>

	* app/core/gimpchannel-select.c
	* app/core/gimpdrawable-bucket-fill.c
	* app/core/gimpdrawable-transform.c
	* app/core/gimpimage-crop.c
	* app/dialogs/image-scale-dialog.c
	* app/tools/gimpforegroundselecttool.c
	* app/tools/gimpfreeselecttool.c
	* app/tools/gimpfuzzyselecttool.c
	* app/tools/gimpmovetool.c
	* plug-ins/gfig/gfig-dialog.c: applied patch from Zbigniew Chyla
	that adds translation context to some problematic strings
	(bug #345982).
2006-06-27 19:39:48 +00:00
Sven Neumann 9396fb5b66 applied patch from Joao S. O. Bueno Calligaris that makes PF_FILE use a
2006-06-27  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/gimpui.py: applied patch from Joao S. O. Bueno
	Calligaris that makes PF_FILE use a GtkFileChooserButton. Fixes
	bug #326986.
2006-06-27 19:27:40 +00:00
Sven Neumann 5e197c16a6 commented out the non-functional Zoom menu.
2006-06-27  Sven Neumann  <sven@gimp.org>

	* plug-ins/imagemap/imap_menu.c: commented out the non-functional
	Zoom menu.
2006-06-27 16:13:22 +00:00
Sven Neumann 91cd3b02f8 adjusted table spacing 2006-06-27 15:37:24 +00:00
Sven Neumann 32fa081919 improved dialog layout.
2006-06-27  Sven Neumann  <sven@gimp.org>

	* plug-ins/imagemap/imap_preview.c: improved dialog layout.
2006-06-27 15:18:54 +00:00
Michael Natterer 3c4f399d99 s/uft8/utf8/ makes it compile.
2006-06-27  Michael Natterer  <mitch@gimp.org>

	* plug-ins/print/print-draw-page.c: s/uft8/utf8/ makes it compile.
2006-06-27 14:25:05 +00:00
Sven Neumann eaaaa8dbd2 plug-ins/FractalExplorer/FractalExplorer.c plug-ins/common/colortoalpha.c
2006-06-27  Sven Neumann  <sven@gimp.org>

	* plug-ins/FractalExplorer/FractalExplorer.c
	* plug-ins/common/colortoalpha.c
	* plug-ins/common/depthmerge.c
	* plug-ins/common/illusion.c
	* plug-ins/script-fu/script-fu.c some more canonical procedure
	names that we missed earlier.
2006-06-27 13:08:28 +00:00
Sven Neumann 6be54f9b20 plug-ins/common/CML_explorer.c plug-ins/common/curve_bend.c
2006-06-27  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/CML_explorer.c
	* plug-ins/common/curve_bend.c
	* plug-ins/common/depthmerge.c
	* plug-ins/common/despeckle.c
	* plug-ins/common/fractaltrace.c
	* plug-ins/common/mapcolor.c
	* plug-ins/common/mblur.c
	* plug-ins/common/png.c
	* plug-ins/common/sample_colorize.c
	* plug-ins/common/tga.c
	* plug-ins/common/threshold_alpha.c
	* plug-ins/common/tiler.c
	* plug-ins/common/unsharp.c
	* plug-ins/gfig/gfig.c
	* plug-ins/gfli/gfli.c
	* plug-ins/gimpressionist/gimp.c
	* plug-ins/imagemap/imap_main.c
	* plug-ins/pagecurl/pagecurl.c
	* plug-ins/script-fu/script-fu.c
	* plug-ins/twain/twain.c
	* plug-ins/winsnap/winsnap.c: use canonical parameter names.
2006-06-27 12:38:45 +00:00
Sven Neumann efa18343fb plug-ins/FractalExplorer/FractalExplorer.c
2006-06-27  Sven Neumann  <neumann@jpk.com>

	* plug-ins/FractalExplorer/FractalExplorer.c
	* plug-ins/Lighting/lighting_main.c
	* plug-ins/MapObject/mapobject_main.c: use canonical procedure and
	parameter names. Marked procedure blurbs for translation.

	* plug-ins/winicon/main.c: use canonical procedure and parameter
	names.
2006-06-27 12:19:57 +00:00
Sven Neumann 1fe1e1da54 plug-ins/gfig/gfig-dialog.[ch] plug-ins/gfig/gfig-dobject.h put extern
2006-06-27  Sven Neumann  <sven@gimp.org>

	* plug-ins/gfig/gfig-dialog.[ch]
	* plug-ins/gfig/gfig-dobject.h
	* plug-ins/gfig/gfig.[ch]: put extern variables where they
belong.
	Patch from Daniel Richard G. (bug #342455).
2006-06-27 08:07:18 +00:00
Sven Neumann 7b1327dd86 I18n improvements based on a patch from Zbigniew Chyla:
2006-06-27  Sven Neumann  <sven@gimp.org>

	I18n improvements based on a patch from Zbigniew Chyla:

	* app/main.c:
	* modules/controller_midi.c
	* plug-ins/script-fu/scripts/guides-new.scm: marked strings for
	translation.

	* app/widgets/gimpdock.c
	* libgimpwidgets/gimppageselector.c
	* plug-ins/common/plugin-browser.c: use ngettext() for plural
forms.
2006-06-27 07:49:14 +00:00
Sven Neumann 824b31e454 use NULL as the special value, not "silent".
2006-06-27  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpexport.c (gimp_export_image): use NULL as the
	special value, not "silent".

	* plug-ins/print/print-draw-page.c: changed accordingly.  Also
	fixed handling of filename encoding.
2006-06-27 06:41:38 +00:00
William Skaggs d7a6a776dc Bill Skaggs <weskaggs@primate.ucdavis.edu>
* libgimp/gimpexport.c: if format arg is "silent", export
	without popping a dialog -- saves duplicating code.

	* plug-ins/print/print-draw-page.c
	* plug-ins/print/print-draw-page.h
	* plug-ins/print/print-page-layout.c
	* plug-ins/print/print-page-layout.h
	* plug-ins/print/print-settings.c
	* plug-ins/print/print-settings.h
	* plug-ins/print/print.h:         new files

	* plug-ins/print/Makefile.am
	* plug-ins/print/print.c:  modified

	Progress toward GtkPrintOperation plug-in.  Should already
	be usable, but very ugly.
2006-06-26 22:48:05 +00:00
Manish Singh 1eeaa25fa0 quick fix so colors in the PDB work again.
2006-06-25  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/pygimp-pdb.c: quick fix so colors in the PDB work
        again.
2006-06-26 05:29:58 +00:00
Manish Singh 68dfb3f223 libgimp/gimpuitypes.h abstract class for resource selection buttons.
2006-06-25  Manish Singh  <yosh@gimp.org>

        * libgimp/gimpuitypes.h
        * libgimp/gimpselectbutton.[ch]: abstract class for resource selection
        buttons.

        * libgimp/gimpfontselectbutton.[ch]: derive from GimpSelectButton.

        * libgimp/gimpbrushselectbutton.[ch]
        * libgimp/gimpgradientselectbutton.[ch]
        * libgimp/gimppaletteselectbutton.[ch]
        * libgimp/gimppatternselectbutton.[ch]: replacements for
        gimp_foo_select widgets, akin to GimpFontSelectButton.

        * libgimp/gimpbrushmenu.[ch]
        * libgimp/gimpgradientmenu.[ch]
        * libgimp/gimppalettemenu.[ch]
        * libgimp/gimppatternmenu.[ch]: deprecate old API, and reimplement
        in terms of GimpFooSelectButton.

        * libgimp/gimpfontmenu.[ch]: change to use the GimpSelectButton API.

        * libgimp/gimpuimarshal.list: new marshallers for the above new
        widgets.

        * libgimp/gimpui.h: add new headers.

        * libgimp/Makefile.am: add new files.

        * plug-ins/FractalExplorer/Dialogs.c
        * plug-ins/gfig/gfig-dialog.c
        * plug-ins/gfig/gfig-style.[ch]
        * plug-ins/script-fu/script-fu-interface.c: use new API.
2006-06-26 01:47:22 +00:00
Manish Singh f1e54be89d app/plug-in/plug-in-params.c libgimp/gimp.[ch]
2006-06-25  Manish Singh  <yosh@gimp.org>

        * app/plug-in/plug-in-params.c
        * libgimp/gimp.[ch]
        * libgimpbase/gimpprotocol.[ch]
        * plug-ins/common/colormap-remap.c
        * plug-ins/common/curve_bend.c
        * plug-ins/common/grid.c
        * plug-ins/pygimp/pygimp-pdb.c
        * plug-ins/script-fu/siod-wrapper.c
        * tools/pdbgen/pdb.pl: turn d_int8 and d_int8array into guint8.
        Fixes bug #344431.
2006-06-25 23:30:15 +00:00
David Odin 7cb2b3ec58 untabified.
* plug-ins/common/tga.c: untabified.
2006-06-25 17:07:10 +00:00
Sven Neumann bc8a335a7f use PANGO_ELLIPSIZE_MIDDLE instead of TRUE (spotted by Kevin) 2006-06-23 15:21:04 +00:00
Sven Neumann 09bbb551d3 ellipsize the progress label to avoid dialog resizing.
2006-06-23  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-interface.c (script_fu_interface):
	ellipsize the progress label to avoid dialog resizing.
2006-06-23 12:31:17 +00:00
Sven Neumann 8a6a538036 moved rulers out of the scrolled window and update them when the scroll
2006-06-23  Sven Neumann  <sven@gimp.org>

	* plug-ins/imagemap/imap_preview.[ch]: moved rulers out of the
	scrolled window and update them when the scroll adjustments
	change. Fixes bug #341149.

	* plug-ins/imagemap/imap_about.c
	* plug-ins/imagemap/imap_menu.c: unrelated cleanups.
2006-06-23 12:05:13 +00:00
Sven Neumann 6a3f4aae70 the name of the binary is "print".
2006-06-23  Sven Neumann  <sven@gimp.org>

	* plug-ins/print/print.c: the name of the binary is "print".
2006-06-23 08:46:46 +00:00
William Skaggs dc894f86fd Bill Skaggs <weskaggs@primate.ucdavis.edu>
* configure.in: adjust requirements for building gtk-print
	plug-in -- requires gtk+ 2.9.3 and --enable-print.

	* plug-ins/print/Makefile.am
	* plug-ins/print/print.c: new plug-in using GtkPrintOperation.
	Mainly infrastructure at this point -- output is wildly
	incorrect.
2006-06-22 21:58:56 +00:00
Sven Neumann 559da590cc plug-ins/common/animationplay.c plug-ins/common/colormap-remap.c popup the
2006-06-22  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/animationplay.c
	* plug-ins/common/colormap-remap.c
	* plug-ins/helpbrowser/dialog.c: popup the menu on Shift-F10.
2006-06-22 09:34:01 +00:00
Sven Neumann f7afa614e9 popup the menu on Shift-F10.
2006-06-22  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/colormap-remap.c: popup the menu on Shift-F10.
2006-06-22 09:10:44 +00:00
Sven Neumann 4a265d02cd don't attempt to reorder to a position >= container->num_children.
2006-06-21  Sven Neumann  <sven@gimp.org>

	* app/tools/gimp-tools.c (gimp_tools_restore): don't attempt to
	reorder to a position >= container->num_children.
2006-06-21 21:59:03 +00:00
Sven Neumann 7e057945f2 moved hints to the bottom.
2006-06-21  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/colormap-remap.c: moved hints to the bottom.
2006-06-21 16:13:59 +00:00
Sven Neumann 3d6a08aa51 applied patch from Mukund Sivaraman that adds a "Reverse Order" option in
2006-06-21  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/colormap-remap.c: applied patch from Mukund
	Sivaraman that adds a "Reverse Order" option in favor of having
	ascending and descending sort functions.
2006-06-21 16:01:33 +00:00
Sven Neumann d05feb54e1 added a right-click menu that allows to sort the colormap by hue,
2006-06-21  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/colormap-remap.c: added a right-click menu that
	allows to sort the colormap by hue, saturation or value.
2006-06-21 14:07:54 +00:00
Sven Neumann 5a1c761f86 added a Reset button and prepared for colormap sorting.
2006-06-21  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/colormap-remap.c: added a Reset button and
	prepared for colormap sorting.
2006-06-21 13:25:19 +00:00
Sven Neumann e0b64b3441 minor code cleanup.
2006-06-21  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/warp.c: minor code cleanup.
2006-06-21 10:22:14 +00:00
Sven Neumann 27fb95dafd INSTALL configure.in plug-ins/Makefile.am added build infrastructure for
2006-06-20  Sven Neumann  <sven@gimp.org>

	* INSTALL
	* configure.in
	* plug-ins/Makefile.am
	* plug-ins/print/Makefile.am: added build infrastructure for new
	print plug-in.
2006-06-20 19:39:25 +00:00
Sven Neumann aa7fa5a2d5 INSTALL configure.in plug-ins/common/plugin-defs.pl
2006-06-20  Sven Neumann  <sven@gimp.org>

	* INSTALL
	* configure.in
	* plug-ins/common/plugin-defs.pl
	* plug-ins/common/Makefile.am
	* plug-ins/common/gnomeprint.c
	* plug-ins/common/winprint.c: removed gnomeprint and winprint
	plug-ins. We will have a plug-in based on GtkPrint for GIMP 2.4.
2006-06-20 19:12:20 +00:00
Sven Neumann 972511dba8 INSTALL configure.in plug-ins/Makefile.am removed the gimp-print plug-in.
2006-06-20  Sven Neumann  <sven@gimp.org>

	* INSTALL
	* configure.in
	* plug-ins/Makefile.am
	* plug-ins/print: removed the gimp-print plug-in. gutenprint
comes
	with a GIMP plug-in, so there is no point in supporting this any
	longer.
2006-06-20 18:57:38 +00:00
Sven Neumann 5befe59449 formatting 2006-06-20 13:01:44 +00:00
Sven Neumann 0e2e8d415f use params[1] and interpret it as a filename 2006-06-20 12:59:20 +00:00
Sven Neumann 9a8e67c1f7 formatting 2006-06-20 12:42:48 +00:00
Sven Neumann d2b2d8c779 plug-ins/common/Makefile.am plug-ins/common/plugin-defs.pl
2006-06-20  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/Makefile.am
	* plug-ins/common/plugin-defs.pl

	* plug-ins/common/desktop-link.c: new load plug-in that parses a
	.desktop file and if it is a link, asks GIMP to open the file the
	link points to (bug #326956).
2006-06-20 12:40:51 +00:00
Michael Natterer b11878174d apply the delay before selecting, not before grabbing, so the user has
2006-06-18  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/screenshot.c: apply the delay before selecting,
	not before grabbing, so the user has time to rearrange things.
	Fixes bug #345214.
2006-06-18 09:44:43 +00:00
Michael Natterer d8285d0dd9 plug-ins/common/animationplay.c plug-ins/common/colormap-remap.c
2006-06-17  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/animationplay.c
	* plug-ins/common/colormap-remap.c
	* plug-ins/common/gbr.c
	* plug-ins/common/gih.c
	* plug-ins/common/gnomeprint.c
	* plug-ins/common/mail.c
	* plug-ins/common/pat.c
	* plug-ins/common/plugin-browser.c
	* plug-ins/common/plugin-defs.pl
	* plug-ins/common/screenshot.c
	* plug-ins/common/uniteditor.c
	* plug-ins/metadata/metadata.c
	* plug-ins/print/print.c
	* plug-ins/uri/uri.c: cast stock-ids passed to
	gimp_plugin_icon_register() to (const guint8 *).
2006-06-17 12:21:47 +00:00
Michael Natterer e11a581110 more cleanup by Mukund, cleaned up again by myself.
2006-06-17  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/vinvert.c (run): more cleanup by Mukund, cleaned
	up again by myself.
2006-06-17 11:58:10 +00:00
Michael Natterer 5e3b4891d3 increased the max length for the identifier prefix from 24 to 64 chars. I
2006-06-16  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/xbm.c: increased the max length for the
	identifier prefix from 24 to 64 chars. I have no idea if this
	violates any spec or produces identifiers too long for stone age C
	standards, but 24 did truncate the identifiers in the newly added
	edge and corner cursors.
2006-06-16 17:38:01 +00:00
Michael Natterer 88dedcc424 Allow plug-ins to register in <Layers>, <Channels>, <Vectors> and
2006-06-16  Michael Natterer  <mitch@gimp.org>

	Allow plug-ins to register in <Layers>, <Channels>, <Vectors> and
	<ColormapEditor>:

	* app/pdb/gimppluginprocedure.c
	(gimp_plug_in_procedure_add_menu_path): added the argument type
	checks for the new locations. Factored out duplicated code.

	* app/menus/menus.c (menus_init): add the "plug-in" action
	group to the resp. UI managers.

	* app/menus/plug-in-menus.c (plug_in_menus_menu_path_added):
	support them here too.

	* app/widgets/gimpimageeditor.[ch]
	* app/widgets/gimpitemtreeview.[ch]: added get_image() functions.

	* app/actions/plug-in-commands.c: added new utility functions
	which collect plug-in arguments from GimpImageEditor and
	GimpItemTreeView widgets.

	* menus/channels-menu.xml
	* menus/colormap-editor-menu.xml
	* menus/layers-menu.xml
	* menus/vectors-menu.xml: added separators.

	* menus/image-menu.xml.in: added a "Colormap" placeholder in
	Colors/Map

	* plug-ins/common/colormap-remap.c (query): register a menu
	entry in <ColormapEditor> and moved the existing one to the
	"Colormap" placeholder. Also register an icon to make this
	menu item clearly distinct from the others in that menu.

	Unrelated:

	* plug-ins/common/colormap-remap.c (run): cleaned up quite a
	bit. Fixed last-vals code and simplified map handling.

	(remap_swap): removed, folded into run().

	(remap_dialog): use the passed map to initialize the dialog so it
	starts with the last-vals. Tweaked layout to have 16 columns
	and simplified cell renderer creation.
2006-06-16 17:02:14 +00:00
Manish Singh f548b65329 app/errors.c app/main.c app/file/gimprecentlist.c libgimpbase/gimpsignal.c
2006-06-16  Manish Singh  <yosh@gimp.org>

        * app/errors.c
        * app/main.c
        * app/file/gimprecentlist.c
        * libgimpbase/gimpsignal.c
        * libgimp/gimp.c
        * modules/controller_midi.c
        * plug-ins/common/gqbist.c: use _GNU_SOURCE instead of the other
        _FOO_SOURCE variables to support -ansi -pedantic on glibc systems,
        since anything else breaks compilation of otherwise working code.
        Fixes bug #344203.
2006-06-16 16:21:35 +00:00
Sven Neumann bee8fb744c when cutting away ellipsis, also look for U+2026 HORIZONTAL ELLIPSIS.
2006-06-16  Sven Neumann  <neumann@jpk.com>

	* app/pdb/gimppluginprocedure.c (gimp_plug_in_procedure_get_label):
	* plug-ins/script-fu/script-fu-interface.c (script_fu_interface):
	when cutting away ellipsis, also look for U+2026 HORIZONTAL ELLIPSIS.
2006-06-16 12:25:02 +00:00
Sven Neumann 8acfbbc24c improved error message.
2006-06-16  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/psd_save.c: improved error message.
2006-06-16 11:35:24 +00:00
Sven Neumann a5d9a516b2 removed; it's barely useful nowadays.
2006-06-16  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/convert-script: removed; it's barely useful
	nowadays.
2006-06-16 10:52:49 +00:00
Sven Neumann 6b6640ba20 removed the About dialog. That information is available from the Procedure
2006-06-16  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-interface.c: removed the About
	dialog.  That information is available from the Procedure Browser
	and scripts should look and feel as much like plug-ins as
	possible.
2006-06-16 10:42:06 +00:00
Sven Neumann 0439dbd2b9 renamed member "help" to "blurb" since that's what it is being used for
2006-06-16  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-types.h (struct SFScript): renamed
	member "help" to "blurb" since that's what it is being used for
	when the script procedure is registered.

	* plug-ins/script-fu/script-fu-interface.c
	* plug-ins/script-fu/script-fu-scripts.c: changed accordingly.
2006-06-16 10:19:24 +00:00