Commit Graph

4479 Commits

Author SHA1 Message Date
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
Sven Neumann e3a54e111b use a canonical name for the automatically added run-mode parameter.
2006-06-16  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-scripts.c (script_fu_add_script):
	use a canonical name for the automatically added run-mode parameter.
	Untabbified.
2006-06-16 09:55:13 +00:00
Sven Neumann 61a01e546c marked blurb for translation.
2006-06-16  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/mapcolor.c (query): marked blurb for translation.
2006-06-16 08:51:48 +00:00
Sven Neumann 738f2a6b9d renamed to "Rearrange Colormap".
2006-06-16  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/colormap-remap.c: renamed to "Rearrange
Colormap".
2006-06-15 22:49:36 +00:00
Sven Neumann 9c01baa123 plug-ins/rcm/rcm.c renamed to "Rotate Colors"; it doesn't actually work on
2006-06-16  Sven Neumann  <sven@gimp.org>

	* plug-ins/rcm/rcm.c
	* plug-ins/rcm/rcm_dialog.c: renamed to "Rotate Colors"; it
	doesn't actually work on indexed images at all.
2006-06-15 22:19:28 +00:00
Sven Neumann 01e3e4d989 plug-ins/common/Makefile.am plug-ins/common/plugin-defs.pl
2006-06-15  Sven Neumann  <sven@gimp.org>

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

	* plug-ins/common/colormap-remap.c: added new plug-in for
colormap
	manipulation written by Mukund Sivaraman.
2006-06-15 22:07:39 +00:00
Michael Natterer f9938561d1 another patch from Mukund that cleans up i18n initialization.
2006-06-14  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/vinvert.c: another patch from Mukund that cleans
	up i18n initialization.
2006-06-14 16:03:09 +00:00
Michael Natterer 3ea06fce8d applied patch from Mukund Sivaraman which speeds up the plug-in
2006-06-13  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/vinvert.c: applied patch from Mukund Sivaraman
	which speeds up the plug-in significantly by using an optimized
	RGB <-> HSV conversion and proper region iterating. Did some more
	cleanups.
2006-06-13 13:32:18 +00:00
Sven Neumann 91aa93cfd7 plug-ins/FractalExplorer/Dialogs.c doubled the size of the preview and
2006-06-13  Sven Neumann  <sven@gimp.org>

	* plug-ins/FractalExplorer/Dialogs.c
	* plug-ins/FractalExplorer/FractalExplorer.h: doubled the size of
	the preview and adapted the dialog layout to the larger preview.
2006-06-13 13:25:57 +00:00
William Skaggs cd9811b321 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/common/gnomeprint.c: try not to distort
	image when printing.  Fixes bug #344547 but this
	plug-in needs a lot more work to be useful.
2006-06-12 23:45:43 +00:00
Sven Neumann 612705daa5 plug-ins/FractalExplorer/Dialogs.c applied patch from Joao S. O. Bueno
2006-06-12  Sven Neumann  <sven@gimp.org>

	* plug-ins/FractalExplorer/Dialogs.c
	* plug-ins/FractalExplorer/FractalExplorer.[ch]: applied patch from
	Joao S. O. Bueno Calligaris that makes the plug-in work on grayscale
	images and makes it override the alpha channel (bug #340771).
2006-06-12 17:00:02 +00:00
Sven Neumann 373a3cd27e cleanup, use gimp_drawable_mask_intersect(), reduced number of progress
2006-06-12  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/redeye.c (remove_redeye): cleanup, use
	gimp_drawable_mask_intersect(), reduced number of progress updates.
2006-06-12 13:24:35 +00:00
Sven Neumann 754f7da4d9 cleanup, use gimp_drawable_mask_intersect(), reduced number of progress
2006-06-12  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/snoise.c (solid_noise): cleanup, use
	gimp_drawable_mask_intersect(), reduced number of progress updates.
2006-06-12 13:17:21 +00:00
Sven Neumann 4539189160 gimp_drawable_mask_intersect() returns width and height, not x2, y2 2006-06-12 13:04:35 +00:00
Sven Neumann 1868877552 documentation.
2006-06-12  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpzoompreview.c (gimp_zoom_preview_get_source):
	documentation.

	* plug-ins/common/channel_mixer.c: minor cleanup and loop unrolling.
	Introduced an inline function to avoid code duplication.
2006-06-12 13:00:54 +00:00
Sven Neumann 67531dd6b6 removed check for success again; it is being checked in the for() loop
2006-06-12  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/siod-wrapper.c (marshall_proc_db_call):
	removed check for success again; it is being checked in the for()
	loop already.
2006-06-12 10:25:29 +00:00
Kevin Cozens e2d373d817 Additional simplifications for return values by using the same code for
2006-06-10  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/siod-wrapper.c (marshall_proc_db_call):
	Additional simplifications for return values by using the same
	code for all INT32 PDB types. Wrong member name was being used
	for INT16 and INT8 return types. Added back if statement that
	was removed but is needed.
2006-06-10 04:03:55 +00:00
William Skaggs c61eddd5c6 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/common/png.c
	* po/Makefile.in.in: revert changes inintentionally included
	in previous commit.
2006-06-08 22:24:43 +00:00
William Skaggs 9dbc0ee193 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/core/core-enums.[ch]: add GIMP_ARRANGE_FOO values
	to GimpAlignmentType, and change CENTER to HCENTER,
	MIDDLE to VCENTER.

	* app/core/gimpimage-arrange.c: extensively rewritten
	to handle arrangement of objects, and to do the
	required sorting of lists by offset.

	* app/tools/gimpaligntool.[ch]: added ability to arrange
	groups of layers etc with constant spacing.  Also try
	to change things so that the tool aligns with the
	object that users expect intuitively.
2006-06-08 22:15:45 +00:00
Simon Budig 16cda2d4cd fix the EXPAND macro to make picky compilers happy. Fixes bug #344326,
2006-06-08  Simon Budig  <simon@gimp.org>

	* plug-ins/common/sel_gauss.c: fix the EXPAND macro to make
	picky compilers happy. Fixes bug #344326, spotted by
	Eric Lamarque.
2006-06-08 21:07:04 +00:00
Sven Neumann 1ef506b77c simplified quite a bit by using the same code for all INT32 PDB types.
2006-06-08  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/siod-wrapper.c (marshall_proc_db_call):
	simplified quite a bit by using the same code for all INT32 PDB
	types.
2006-06-08 15:14:16 +00:00
Sven Neumann 07e246c6ba in case of an error, output the SIOD error message to stderr.
2006-06-08  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-console.c (script_fu_eval_run):
	in case of an error, output the SIOD error message to stderr.

	* plug-ins/script-fu/siod-wrapper.c: minor cleanup.
2006-06-08 14:45:56 +00:00
Sven Neumann 0e42a8161f plug-ins/script-fu/script-fu-scripts.c allow CSS color keywords to be used
2006-06-08  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-scripts.c
	* plug-ins/script-fu/siod-wrapper.c: allow CSS color keywords to
	be used in place of the '(r g b) color notation.

	* plug-ins/script-fu/scripts/test-sphere.scm: documented this new
	feature.

	* plug-ins/script-fu/scripts/*.scm: replaced some colors with
	color names.
2006-06-08 14:09:44 +00:00
Sven Neumann d42a30e0ec do not use gtk_menu_attach_to_widget() but gtk_menu_set_screen(). Menus
2006-06-08  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/animationplay.c (menu_popup): do not use
	gtk_menu_attach_to_widget() but gtk_menu_set_screen(). Menus don't
	like to be attached multiple times.
2006-06-08 12:51:16 +00:00
Sven Neumann 789d18863c minor cleanup, plugged a tiny memleak in script_fu_find_scripts().
2006-06-06  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-scripts.c: minor cleanup, plugged
a
	tiny memleak in script_fu_find_scripts().
2006-06-06 18:50:21 +00:00