Commit graph

5609 commits

Author SHA1 Message Date
Michael Natterer 9690d53090 There is no colormap involved in this plug-in, rename it again...
2008-03-24  Michael Natterer  <mitch@gimp.org>

	There is no colormap involved in this plug-in, rename it again...

	* plug-ins/colormap-rotate -> color-rotate.

	* configure.in
	* plug-ins/Makefile.am: changed accordingly.


svn path=/trunk/; revision=25198
2008-03-24 18:38:15 +00:00
Michael Natterer 2042f4f9e6 plug-ins/map-object plug-ins/gradient-flare plug-ins/ifs-compose
2008-03-24  Michael Natterer  <mitch@gimp.org>

	* plug-ins/map-object
	* plug-ins/gradient-flare
	* plug-ins/ifs-compose
	* plug-ins/selection-to-path
	* plug-ins/lighting
	* plug-ins/help-browser
	* plug-ins/fli: rename files in these folders to have no
	underscores and match new names of the plug-ins.

	* configure.in: changed accordingly.


svn path=/trunk/; revision=25197
2008-03-24 18:33:25 +00:00
Michael Natterer 8876b879d3 Renamed folders in plug-ins/. Unfortunately it's impossible to rename the
2008-03-24  Michael Natterer  <mitch@gimp.org>

	Renamed folders in plug-ins/. Unfortunately it's impossible to
	rename the files inside at the same time, so this is just
	part one...

	* plug-ins/FractalExplorer -> fractal-explorer
	* plug-ins/Lighting -> lighting
	* plug-ins/MapObject -> map-object
	* plug-ins/gflare -> gradient-flare
	* plug-ins/gfli -> fli
	* plug-ins/helpbrowser -> help-browser
	* plug-ins/ifscompose -> ifs-compose
	* plug-ins/rcm -> colormap-rotate
	* plug-ins/sel2path -> selection-to-path
	* plug-ins/winicon -> win-icon
	* plug-ins/winsnap -> win-snap

	* configure.in
	* plug-ins/Makefile.am: changed accordingly.


svn path=/trunk/; revision=25194
2008-03-24 16:36:03 +00:00
Michael Natterer bfa8547a93 Renamed tons of plug-ins to make more sense and to be consistent:
2008-03-24  Michael Natterer  <mitch@gimp.org>

	Renamed tons of plug-ins to make more sense and to be consistent:

	* plug-ins/common/AlienMap2.c -> alien-map.c
	* plug-ins/common/CEL.c -> cel.c
	* plug-ins/common/CML_explorer.c -> cml-explorer.c
	* plug-ins/common/align_layers.c -> align-layers.c
	* plug-ins/common/animationplay.c -> animation-play.c
	* plug-ins/common/animoptimize.c -> animation-optimize.c
	* plug-ins/common/apply_lens.c -> lens-apply.c
	* plug-ins/common/autocrop.c -> crop-auto.c
	* plug-ins/common/autostretch_hsv.c -> contrast-stretch-hsv.c
	* plug-ins/common/borderaverage.c -> border-average.c
	* plug-ins/common/bumpmap.c -> bump-map.c
	* plug-ins/common/c_astretch.c -> contrast-stretch.c
	* plug-ins/common/ccanalyze.c -> color-cube-analyze.c
	* plug-ins/common/channel_mixer.c -> channel-mixer.c
	* plug-ins/common/color_enhance.c -> color-enhance.c
	* plug-ins/common/colortoalpha.c -> color-to-alpha.c
	* plug-ins/common/convmatrix.c -> convolution-matrix.c
	* plug-ins/common/curve_bend.c -> curve-bend.c
	* plug-ins/common/depthmerge.c -> depth-merge.c
	* plug-ins/common/dog.c -> edge-dog.c
	* plug-ins/common/exchange.c -> color-exchange.c
	* plug-ins/common/flarefx.c -> lens-flare.c
	* plug-ins/common/fp.c -> filter-pack.c
	* plug-ins/common/fractaltrace.c -> fractal-trace.c
	* plug-ins/common/gauss.c -> blur-gauss.c
	* plug-ins/common/gee_zoom.c -> gee-zoom.c
	* plug-ins/common/glasstile.c -> tile-glass.c
	* plug-ins/common/gqbist.c -> qbist.c
	* plug-ins/common/gradmap.c -> gradient-map.c
	* plug-ins/common/laplace.c -> edge-laplace.c
	* plug-ins/common/lens.c -> lens-distortion.c
	* plug-ins/common/lic.c -> van-gogh-lic.c
	* plug-ins/common/max_rgb.c -> max-rgb.c
	* plug-ins/common/mblur.c -> blur-motion.c
	* plug-ins/common/nlfilt.c -> nl-filter.c
	* plug-ins/common/noisify.c -> noise-rgb.c
	* plug-ins/common/normalize.c -> contrast-normalize.c
	* plug-ins/common/papertile.c -> tile-paper.c
	* plug-ins/common/polar.c -> polar-coords.c
	* plug-ins/common/randomize.c -> noise-randomize.c
	* plug-ins/common/redeye.c -> red-eye-removal.c
	* plug-ins/common/retinex.c -> contrast-retinex.c
	* plug-ins/common/sample_colorize.c -> sample-colorize.c
	* plug-ins/common/scatter_hsv.c -> noise-hsv.c
	* plug-ins/common/sel_gauss.c -> blur-gauss-selective.c
	* plug-ins/common/semiflatten.c -> semi-flatten.c
	* plug-ins/common/smooth_palette.c -> smooth-palette.c
	* plug-ins/common/snoise.c -> noise-solid.c
	* plug-ins/common/sobel.c -> edge-sobel.c
	* plug-ins/common/spheredesigner.c -> sphere-designer.c
	* plug-ins/common/spread.c -> noise-spread.c
	* plug-ins/common/struc.c -> apply-canvas.c
	* plug-ins/common/threshold_alpha.c -> threshold-alpha.c
	* plug-ins/common/tileit.c -> tile-small.c
	* plug-ins/common/tiler.c -> tile-seamless.c
	* plug-ins/common/uniteditor.c -> unit-editor.c
	* plug-ins/common/unsharp.c -> unsharp-mask.c
	* plug-ins/common/vinvert.c -> value-invert.c
	* plug-ins/common/vpropagate.c -> value-propagate.c
	* plug-ins/common/webbrowser.c -> web-browser.c
	* plug-ins/common/whirlpinch.c -> whirl-pinch.c
	* plug-ins/common/zealouscrop.c -> crop-zealous.c

	* plug-ins/common/plugin-defs.pl: changed accordingly.

	* plug-ins/common/Makefile.am: regenerated.


svn path=/trunk/; revision=25192
2008-03-24 15:29:55 +00:00
Sven Neumann 87c4afcfdb fixed potential crash on empty 16 bit images.
2008-03-24  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/dicom.c (dicom_loader): fixed potential crash 
on
	empty 16 bit images.


svn path=/trunk/; revision=25186
2008-03-23 23:16:50 +00:00
Michael Natterer af5a9cdcbe Remove svn:executable property.
svn path=/trunk/; revision=25185
2008-03-23 22:03:24 +00:00
Michael Natterer f63a7153ef Remove the toolbox menu:
2008-03-21  Michael Natterer  <mitch@gimp.org>

	Remove the toolbox menu:

	* configure.in: remove --enable-toolbox-menu option.

	* menus/Makefile.am
	* menus/toolbox-menu.xml.in: removed.

	* menus/image-menu.xml.in: add the debug menu here.

	* menus/menus.xsl: remove transformations depending on whether
	there is a toolbox menu or not.

	* app/menus/Makefile.am
	* app/menus/toolbox-menu.[ch]: removed.

	* app/menus/menus.c: remove the toolbox menu but keep the
	<Toolbox> UI manager around so we can configure its actions
	separate from normal docks.

	* app/actions/image-actions.c (image_actions): remove the action
	for the toolbox menubar.

	* app/widgets/gimptoolbox.c: remove all menu code.

	* app/plug-in/plug-in-menu-path.c: map plug-in registered toolbox
	menu items to their new location in the image menu
	unconditionally.

	* plug-ins/common/screenshot.c
	* plug-ins/common/uniteditor.c
	* plug-ins/script-fu/script-fu.c
	* plug-ins/script-fu/scripts/web-browser.scm
	* plug-ins/twain/twain.c
	* plug-ins/winsnap/winsnap.c: remove menu registrations under
	<Toolbox>/File and change <Toolbox>/Help to <Image>/Help. Leave
	<Toolbox>/Xtns untouched until its final location and name are
	decided.


svn path=/trunk/; revision=25156
2008-03-21 17:55:32 +00:00
Sven Neumann 4c50318b73 guard against g_vfs_get_supported_uri_schemes() returning NULL.
2008-03-20  Sven Neumann  <sven@gimp.org>

	* plug-ins/uri/uri-backend-gio.c (get_protocols): guard against
	g_vfs_get_supported_uri_schemes() returning NULL.

svn path=/trunk/; revision=25140
2008-03-20 12:03:40 +00:00
Sven Neumann 0ce7241e45 make the dialogs transient to the progress window if no parent or screen
2008-03-20  Sven Neumann  <sven@gimp.org>

	* plug-ins/uri/gimpmountoperation.c: make the dialogs transient to
	the progress window if no parent or screen has been set.

svn path=/trunk/; revision=25137
2008-03-20 10:24:48 +00:00
Sven Neumann 6c722dff53 added a sanity check and abort when the image is too large.
2008-03-20  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/gif-save.c: added a sanity check and abort when
	the image is too large.

svn path=/trunk/; revision=25136
2008-03-20 09:29:04 +00:00
Sven Neumann 3899de098f fixed stupid bug.
2008-03-19  Sven Neumann  <sven@gimp.org>

	* plug-ins/uri/uri-backend-gio.c (copy_uri): fixed stupid bug.

svn path=/trunk/; revision=25123
2008-03-19 11:04:14 +00:00
Sven Neumann 89433fe929 corrected last change.
2008-03-18  Sven Neumann  <sven@gimp.org>

	* plug-ins/uri/uri-backend-gio.c (uri_progress_callback):
	corrected last change.

svn path=/trunk/; revision=25111
2008-03-18 16:33:01 +00:00
Sven Neumann b07875c2a6 only update the progress up to ten times per second.
2008-03-18  Sven Neumann  <sven@gimp.org>

	* plug-ins/uri/uri-backend-gio.c: only update the progress up to
	ten times per second.

svn path=/trunk/; revision=25109
2008-03-18 11:16:59 +00:00
Sven Neumann 4636715154 set alternative button order on the password dialog (same change done in
2008-03-18  Sven Neumann  <sven@gimp.org>

	* plug-ins/uri/gimpmountoperation.c: set alternative button order
	on the password dialog (same change done in GTK+).

svn path=/trunk/; revision=25108
2008-03-18 09:23:41 +00:00
Sven Neumann 3751a4ef99 plug-ins/uri/Makefile.am added a temporary copy of GtkMountOperation until
2008-03-18  Sven Neumann  <sven@gimp.org>

	* plug-ins/uri/Makefile.am
        * plug-ins/uri/gimpmountoperation.[ch]: added a temporary copy of
	GtkMountOperation until we depend on the next stable GTK+ release.
	Converted to GIMP namespace to avoid symbol collisions.

	* plug-ins/uri/uri-backend-gio.c: use the new mount operation.

svn path=/trunk/; revision=25107
2008-03-18 09:16:22 +00:00
Sven Neumann 6c5c1ccdfe formatting.
2008-03-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/png.c: formatting.

svn path=/trunk/; revision=25106
2008-03-17 14:44:23 +00:00
Michael Natterer 8955dffc24 set the original filename only if all pages were loaded as layers; if a
2008-03-13  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/tiff-load.c (load_image): set the original
	filename only if all pages were loaded as layers; if a subset was
	loaded, set the filename to "<filename>.tiff-n-of-m-pages" so a
	simple "save" won't overwrite the original file without the user
	changing the filename explicitely.


svn path=/trunk/; revision=25103
2008-03-13 17:11:06 +00:00
Sven Neumann 671cdc17db set a filename on the image, even when not all images are imported as
2008-03-13  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/tiff-load.c (load_image): set a filename on the
	image, even when not all images are imported as layers (bug #521436).

svn path=/trunk/; revision=25100
2008-03-13 13:03:32 +00:00
Sven Neumann 364dacd0c0 don't forget to set the state of the anon toggle
svn path=/trunk/; revision=25099
2008-03-12 17:43:56 +00:00
Sven Neumann f9a7cdf6d4 some minor improvements to the password dialog
svn path=/trunk/; revision=25098
2008-03-12 17:34:44 +00:00
Sven Neumann aa8ee58365 ref the operation while the dialogs are active
svn path=/trunk/; revision=25097
2008-03-12 17:23:49 +00:00
Sven Neumann e535a37ebf improved password dialog.
2008-03-12  Sven Neumann  <sven@gimp.org>

	* plug-ins/uri/uri-backend-gio.c: improved password dialog.


svn path=/trunk/; revision=25096
2008-03-12 17:19:57 +00:00
Michael Natterer bc9424a2b5 app/actions/data-commands.c app/actions/debug-commands.c
2008-03-12  Michael Natterer  <mitch@gimp.org>

	* app/actions/data-commands.c
	* app/actions/debug-commands.c
	* app/actions/dockable-commands.c
	* app/dialogs/stroke-dialog.c
	* app/display/gimpdisplayshell-handlers.c
	* app/gui/gui-message.c
	* app/gui/gui.c
	* app/tools/gimpforegroundselectoptions.c
	* app/tools/gimpinkoptions-gui.c
	* app/widgets/gimpcolordialog.c
	* app/widgets/gimpcontainerpopup.c
	* app/widgets/gimpcontainerview-utils.c
	* app/widgets/gimpdock.c
	* app/widgets/gimpdockable.c
	* app/widgets/gimpsessioninfo-book.c
	* app/widgets/gimpsessioninfo-dock.c
	* app/widgets/gimptoolbox.c
	* app/widgets/gimpunitcombobox.c
	* app/widgets/gimpviewablebox.c
	* libgimp/gimpexport.c
	* libgimpmodule/gimpmodule.h
	* libgimpwidgets/gimpenumwidgets.c
	* libgimpwidgets/gimpframe.c
	* libgimpwidgets/gimpoldwidgets.c
	* libgimpwidgets/gimpwidgets.c
	* plug-ins/MapObject/mapobject_ui.c
	* plug-ins/common/papertile.c
	* plug-ins/common/sinus.c
	* plug-ins/flame/flame.c
	* plug-ins/helpbrowser/gimpthrobber.c
	* plug-ins/script-fu/scheme-wrapper.c
	* plug-ins/script-fu/script-fu-console.c: use accessors instead of
	accessing GtkBin.child and GtkPaned.child1,2 directly.


svn path=/trunk/; revision=25095
2008-03-12 16:58:28 +00:00
Sven Neumann b811506a12 fixed mount_operation_anon_toggled()
svn path=/trunk/; revision=25094
2008-03-12 16:23:11 +00:00
Sven Neumann 40e633bab2 added password and question dialogs needed for mounting volumes. This code
2008-03-12  Sven Neumann  <sven@gimp.org>

	* plug-ins/uri/uri-backend-gio.c: added password and question
	dialogs needed for mounting volumes. This code is untested.



svn path=/trunk/; revision=25093
2008-03-12 16:06:15 +00:00
Sven Neumann 9fd0c03870 updated copyright.
2008-03-12  Sven Neumann  <sven@gimp.org>

	* plug-ins/uri/uri.c: updated copyright.

	* plug-ins/uri/uri-backend-gio.c: ask the GVfs backend for the
	supported URI schemes.


svn path=/trunk/; revision=25091
2008-03-12 13:55:27 +00:00
Sven Neumann 48c3389a18 improved error handling.
2008-03-11  Sven Neumann  <sven@gimp.org>

	* plug-ins/uri/uri-backend-gio.c: improved error handling.


svn path=/trunk/; revision=25086
2008-03-11 21:34:00 +00:00
Sven Neumann 675f734b15 INSTALL added --without-gio configure option.
2008-03-11  Sven Neumann  <sven@gimp.org>

	* INSTALL
	* configure.in: added --without-gio configure option.

	* plug-ins/uri/Makefile.am: prefer the GIO backend.

	* plug-ins/uri/uri-backend-gio.c
	* plug-ins/uri/uri-backend-libcurl.c
	* plug-ins/uri/uri-backend-gnomevfs.c: improved progress 
messages.


svn path=/trunk/; revision=25085
2008-03-11 18:45:54 +00:00
Sven Neumann 10a6af62ba added a check for gio-2.0.
2008-03-11  Sven Neumann  <sven@gimp.org>

	* configure.in: added a check for gio-2.0.

	* plug-ins/uri/Makefile.am
	* plug-ins/uri/uri-backend-gio.c: added a first draft of an URI
	plug-in based on GIO/GVfs.

svn path=/trunk/; revision=25084
2008-03-11 16:22:39 +00:00
Sven Neumann f1a7ab78c0 removed unused field.
2008-02-26  Sven Neumann  <sven@gimp.org>

	* plug-ins/print/print.h (struct PrintData): removed unused 
field.

	* plug-ins/print/print-page-layout.c: set a minimum size of 
1/100
	of the paper size.


svn path=/trunk/; revision=24986
2008-02-26 20:49:19 +00:00
Sven Neumann c5de94edeb plug-ins/print/print-page-layout.[ch] pressing F1 on the "Image Settings"
2008-02-26  Sven Neumann  <sven@gimp.org>

	* plug-ins/print/print-page-layout.[ch]
	* plug-ins/print/print.c: pressing F1 on the "Image Settings" 
tab
	calls the GIMP help browser.


svn path=/trunk/; revision=24984
2008-02-26 20:06:30 +00:00
Sven Neumann fff02fb02e take the reading direction into account and do the right thing for RTL
2008-02-26  Sven Neumann  <sven@gimp.org>

	* plug-ins/print/print-preview.c: take the reading direction 
into
	account and do the right thing for RTL languages.


svn path=/trunk/; revision=24982
2008-02-26 18:46:20 +00:00
Kevin Cozens bde85d9423 Commited slightly modified patch from LightningIsMyName. Fixes bug
2008-02-26  Kevin Cozens  <kcozens@cvs.gnome.org>

        * plug-ins/script-fu/scripts/frosty-logo.scm: Commited slightly
        modified patch from LightningIsMyName. Fixes bug #472316. The
	appearance of the sparkle layer could be better.

svn path=/trunk/; revision=24980
2008-02-26 18:32:39 +00:00
Sven Neumann 07db25d36a create a Cairo image surface from the data returned from
2008-02-26  Sven Neumann  <sven@gimp.org>

	* plug-ins/print/print-preview.c: create a Cairo image surface
	from the data returned from gimp_drawable_get_thumbnail() instead
	of using an intermediate GdkPixbuf. This code should eventually
	end up in libgimpui.

svn path=/trunk/; revision=24971
2008-02-26 14:49:54 +00:00
Sven Neumann 370806b9ab Allocate a 1 pixel extra border around the preview to avoid redraw
bugs due to rounding errors when changing the paper orientation.

svn path=/trunk/; revision=24969
2008-02-26 14:04:03 +00:00
Sven Neumann 978c0af41e plug-ins/print/print-preview.c let the preview widget allocate a
2008-02-26  Sven Neumann  <sven@gimp.org>

	* plug-ins/print/print-preview.c
	* plug-ins/print/print-page-layout.c: let the preview widget
	allocate a reasonable size.

svn path=/trunk/; revision=24967
2008-02-26 13:58:29 +00:00
Sven Neumann ec9212d00a use a different cursor when dragging, just like GimpScrolledPreview.
2008-02-26  Sven Neumann  <sven@gimp.org>

	* plug-ins/print/print-preview.c: use a different cursor when
	dragging, just like GimpScrolledPreview.

svn path=/trunk/; revision=24966
2008-02-26 09:57:09 +00:00
Sven Neumann d5b63146a7 derive from GtkEventBox and draw on the parent window.
2008-02-26  Sven Neumann  <sven@gimp.org>

	* plug-ins/print/print-preview.[ch]: derive from GtkEventBox and
	draw on the parent window.

	* plug-ins/print/print-page-layout.c: tweaked dialog layout.


svn path=/trunk/; revision=24964
2008-02-26 08:26:32 +00:00
Sven Neumann 8626406371 some cleanups and a bug-fix for my last commit here
svn path=/trunk/; revision=24963
2008-02-25 21:21:15 +00:00
Sven Neumann 13fcc89bc1 plug-ins/print/Makefile.am added new files with utility functions.
2008-02-25  Sven Neumann  <sven@gimp.org>

	* plug-ins/print/Makefile.am
	* plug-ins/print/print-utils.[ch]: added new files with utility
	functions.

	* plug-ins/print/print-settings.c: use the new utility
	functions for loading and saving GKeyFile.

	* plug-ins/print/print-page-setup.[ch]
	* plug-ins/print/print.c: also store the page setup in an image
	parasite. Fixes most of what remained to be done for bug 
#513291.


svn path=/trunk/; revision=24960
2008-02-25 20:40:22 +00:00
Sven Neumann afc10516d7 plug-ins/print/print-settings.[ch] code cleanup.
2008-02-25  Sven Neumann  <sven@gimp.org>

	* plug-ins/print/print-settings.[ch]
	* plug-ins/print/print.c: code cleanup.


svn path=/trunk/; revision=24959
2008-02-25 18:59:04 +00:00
Sven Neumann 18560c556b use g_timeout_add_seconds().
2008-02-25  Sven Neumann  <sven@gimp.org>

	* plug-ins/print/print.c (end_print): use g_timeout_add_seconds().

svn path=/trunk/; revision=24958
2008-02-25 15:06:03 +00:00
Sven Neumann a6e5926376 added missing call to gtk_print_operation_set_unit().
2008-02-24  Sven Neumann  <sven@gimp.org>

	* plug-ins/print/print.c (print_image): added missing call to
	gtk_print_operation_set_unit().


svn path=/trunk/; revision=24952
2008-02-24 13:08:51 +00:00
Sven Neumann f9b9d4b21e use GTK_STOCK_PAGE_SETUP when compiled against GTK+ >= 2.13.0.
2008-02-22  Sven Neumann  <sven@gimp.org>

	* plug-ins/print/print.c: use GTK_STOCK_PAGE_SETUP when compiled
	against GTK+ >= 2.13.0.

svn path=/trunk/; revision=24949
2008-02-22 13:42:47 +00:00
Sven Neumann 7e9a5f7fe8 plug-ins/print/print.c added support for grayscale images so we don't need
2008-02-22  Sven Neumann  <sven@gimp.org>

	* plug-ins/print/print.c
	* plug-ins/print/print-draw-page.c: added support for grayscale
	images so we don't need to go through an extra export step.

svn path=/trunk/; revision=24947
2008-02-22 10:13:25 +00:00
Sven Neumann 8519952152 plug-ins/print/print.c code cleanup.
2008-02-22  Sven Neumann  <sven@gimp.org>

	* plug-ins/print/print.c
	* plug-ins/print/print-draw-page.[ch]: code cleanup.

svn path=/trunk/; revision=24946
2008-02-22 10:03:01 +00:00
Sven Neumann 1463ee4de2 plug-ins/common/tileit.c plug-ins/common/warp.c fixed the same problem as
2008-02-22  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/tileit.c
	* plug-ins/common/warp.c
	* plug-ins/common/struc.c: fixed the same problem as in the Wind
	plug-in here as well (see bug #516369).

svn path=/trunk/; revision=24944
2008-02-22 09:39:50 +00:00
Sven Neumann cadf7e292f when printing an image with alpha channel, use a Cairo surface with alpha
2008-02-22  Sven Neumann  <sven@gimp.org>

	* plug-ins/print/print-draw-page.c (draw_page_cairo): when
	printing an image with alpha channel, use a Cairo surface with
	alpha channel instead of doing a blend on a white background.


svn path=/trunk/; revision=24943
2008-02-22 08:44:53 +00:00
Sven Neumann a6a653c7b0 access the pixels tile-by-tile instead of row-by-row.
2008-02-22  Sven Neumann  <sven@gimp.org>

	* plug-ins/print/print-draw-page.c (draw_page_cairo): access the
	pixels tile-by-tile instead of row-by-row.


svn path=/trunk/; revision=24942
2008-02-22 08:34:42 +00:00
Sven Neumann c2af4a13fd fixed the same bug in another place
svn path=/trunk/; revision=24939
2008-02-22 07:43:21 +00:00
Sven Neumann 5c5d221cf5 fixed call to gimp_drawable_mask_intersect() which was causing a crash as
2008-02-22  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/wind.c (render_wind): fixed call to
	gimp_drawable_mask_intersect() which was causing a crash as
	reported in bug #516369.


svn path=/trunk/; revision=24937
2008-02-22 07:38:38 +00:00
Sven Neumann 3e6a6d1a4d code cleanup.
2008-02-21  Sven Neumann  <sven@gimp.org>

	* plug-ins/print/print-preview.[ch]: code cleanup.

svn path=/trunk/; revision=24932
2008-02-21 11:24:12 +00:00
Sven Neumann 40375e8a7a provide feedback when hovering over the preview.
2008-02-21  Sven Neumann  <sven@gimp.org>

	* plug-ins/print/print-preview.c: provide feedback when hovering
	over the preview.


svn path=/trunk/; revision=24931
2008-02-21 08:54:24 +00:00
Sven Neumann 346b42612f changed drawing so that strokes are not scaled.
2008-02-21  Sven Neumann  <sven@gimp.org>

	* plug-ins/print/print-preview.c 
(gimp_print_preview_expose_event):
	changed drawing so that strokes are not scaled.


svn path=/trunk/; revision=24930
2008-02-21 08:11:32 +00:00
Sven Neumann 634b180023 code cleanup. Always draw the preview.
2008-02-19  Sven Neumann  <sven@gimp.org>

	* plug-ins/print/print-preview.c 
(gimp_print_preview_expose_event):
	code cleanup. Always draw the preview.



svn path=/trunk/; revision=24926
2008-02-19 19:56:41 +00:00
William Skaggs e824a1e36a Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/jpeg/jpeg-exif.c: correctly record dimensions when
	saving an image.  Fixes bug #517077.

svn path=/trunk/; revision=24924
2008-02-19 19:37:05 +00:00
Sven Neumann b2f0d445c5 actually use the "Default Bumpmap Settings" parameter. Problem spotted by
2008-02-19  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/glossy.scm: actually use the "Default
	Bumpmap Settings" parameter. Problem spotted by Ulf-D. Ehlert.

svn path=/trunk/; revision=24921
2008-02-19 12:53:58 +00:00
Sven Neumann 74240ebcbd applied patch from Ulf-D. Ehlert that fixes a bug in the Glossy script
2008-02-19  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/glossy.scm: applied patch from
	Ulf-D. Ehlert that fixes a bug in the Glossy script when used with
	a pattern instead of a gradient blend (bug #517285).

svn path=/trunk/; revision=24919
2008-02-19 12:45:51 +00:00
Manish Singh 668ff27c94 add gimp.exit(), a wrapper around the PDB function gimp-quit.
2008-02-19  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/gimpmodule.c: add gimp.exit(), a wrapper around
        the PDB function gimp-quit.

svn path=/trunk/; revision=24918
2008-02-19 10:26:06 +00:00
Michael Natterer 23456dc253 app/display/gimpdisplayshell-callbacks.c
2008-02-16  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpdisplayshell-callbacks.c
	* app/tools/gimpforegroundselecttool.c
	* app/tools/gimpimagemaptool.c
	* app/tools/gimpiscissorstool.c
	* app/tools/gimppolygonselecttool.c
	* app/tools/gimprectangletool.c
	* app/tools/gimptransformtool.c
	* app/tools/gimpvectortool.c
	* app/widgets/gimpcontainerpopup.c
	* app/widgets/gimppaletteview.c
	* libgimpwidgets/gimpcolorhexentry.c
	* libgimpwidgets/gimpnumberpairentry.c
	* plug-ins/script-fu/script-fu-console.c: Unify the handling of
	various "Enter" and "Space" keysyms all over the place. Fixes bug
	#516544 (also see gtk bug #515047).


svn path=/trunk/; revision=24894
2008-02-16 17:51:02 +00:00
William Skaggs a936d0384d Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/common/vpropagate.c:  change "darker" to "lighter"
	in tooltips, in response to comment #24 in bug #156545.

svn path=/trunk/; revision=24882
2008-02-14 03:01:39 +00:00
Sven Neumann c13d47a6ee applied patch from David Capello that fixes loading of fli files that
2008-02-12  Sven Neumann  <sven@gimp.org>

	* plug-ins/gfli/fli.c: applied patch from David Capello that 
fixes
	loading of fli files that specify width and height as zero
	(interpreting this as 320x200).  It also fixes a problem in an
	unused code path (writing of differential color chunks).


svn path=/trunk/; revision=24869
2008-02-12 07:56:56 +00:00
Sven Neumann 34ea5ae14f formatting.
2008-02-11  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/plug-ins/pyconsole.py: formatting.

svn path=/trunk/; revision=24860
2008-02-11 16:39:45 +00:00
William Skaggs 3219763d6d Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/common/ripple.c:  add a "phase shift" control,
	for interactive use only.  Fixes bug #515144.

svn path=/trunk/; revision=24845
2008-02-10 04:29:46 +00:00
Sven Neumann 91774c8ce1 simplified code and user interface by removing the uuencode option and the
2008-02-05  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/mail.c: simplified code and user interface by
	removing the uuencode option and the comment field which only
	duplicated the message body.
	(to64): fixed a bug in the base64 encoding.

svn path=/trunk/; revision=24804
2008-02-05 09:42:34 +00:00
Sven Neumann 464fd313e8 changed menu label and dialog title to "Send by Email".
2008-02-05  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/mail.c: changed menu label and dialog title to
	"Send by Email".


svn path=/trunk/; revision=24803
2008-02-05 07:57:09 +00:00
Sven Neumann 7e67feedff removed ellipsis from "Page Setup" menu entry as specified in the HIG.
2008-02-05  Sven Neumann  <sven@gimp.org>

	* plug-ins/print/print.c: removed ellipsis from "Page Setup" 
menu
	entry as specified in the HIG.


svn path=/trunk/; revision=24802
2008-02-05 07:50:26 +00:00
Sven Neumann 7a206d629b check if drawable is a layer before trying to access the layer mask.
2008-02-05  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/psd-save.c (write_pixel_data): check if 
drawable
	is a layer before trying to access the layer mask.


svn path=/trunk/; revision=24797
2008-02-04 23:25:27 +00:00
Sven Neumann a3d04e08c6 use a more descriptive name for the temporary procedure
svn path=/trunk/; revision=24794
2008-02-04 22:03:09 +00:00
Sven Neumann f17bfcef0d only connect to page layout changes for the lifetime of the dialog.
2008-02-04  Sven Neumann  <sven@gimp.org>

	* plug-ins/print/print-page-layout.c: only connect to page 
layout
	changes for the lifetime of the dialog.
	
	* plug-ins/print/print-page-setup.[ch]
	* plug-ins/print/print.c: use a	temporary procedure to notify 
the
	Print procedure about changes to the page setup.


svn path=/trunk/; revision=24793
2008-02-04 21:49:08 +00:00
Michael Natterer f4033561ef rename "Script-Fu Console" menu item to simply "Console".
2008-02-04  Michael Natterer  <mitch@gimp.org>

	* plug-ins/script-fu/script-fu.c: rename "Script-Fu Console" menu
	item to simply "Console".


svn path=/trunk/; revision=24791
2008-02-04 17:15:13 +00:00
Sven Neumann b7d37bd4a5 plug-ins/print/Makefile.am new files.
2008-02-04  Sven Neumann  <sven@gimp.org>

	* plug-ins/print/Makefile.am
	* plug-ins/print/print-page-setup.[ch]: new files.

	* plug-ins/print/print-page-layout.c
	* plug-ins/print/print-settings.c
	* plug-ins/print/print.c: first draft of a Page Setup menu entry
	instead of the "Adjust Page Size" button (bug #513291).
	
	* plug-ins/print/print.h
	* plug-ins/print/print-draw-page.c: removed unused code.

svn path=/trunk/; revision=24789
2008-02-04 16:59:45 +00:00
Sven Neumann 44cf4587a7 some minor cleanups and preparation for adding a dedicated Page Setup menu
2008-02-01  Sven Neumann  <sven@gimp.org>

	* plug-ins/print/print.c: some minor cleanups and preparation 
for
	adding a dedicated Page Setup menu entry (bug #513291).


svn path=/trunk/; revision=24766
2008-02-01 07:10:55 +00:00
Sven Neumann 1844caedb2 string change.
2008-01-31  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/mail.c: string change.


svn path=/trunk/; revision=24764
2008-01-31 21:13:07 +00:00
Sven Neumann bb43c6c3c6 choose a better tile cache size.
2008-01-31  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/iwarp.c: choose a better tile cache size.

svn path=/trunk/; revision=24760
2008-01-31 16:00:27 +00:00
Sven Neumann 2163a07f9e added missing copyright header.
2008-01-28  Sven Neumann  <sven@gimp.org>

	* plug-ins/gimpressionist/*.[ch]: added missing copyright 
header.


svn path=/trunk/; revision=24739
2008-01-28 21:08:35 +00:00
Sven Neumann ce0734c83a fixed crash on missing profile (bug #512529).
2008-01-28  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/lcms.c (lcms_dialog): fixed crash on missing
	profile (bug #512529).

svn path=/trunk/; revision=24733
2008-01-28 17:27:50 +00:00
Sven Neumann 9c4ec2ec2f plug-ins/common/lcms.c (lcms_load_profile) fixed error messages.
2008-01-28  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/lcms.c (lcms_load_profile)
	* plug-ins/common/wmf.c (load_image): fixed error messages.

svn path=/trunk/; revision=24732
2008-01-28 17:04:46 +00:00
Sven Neumann d3e1c997c9 minor cleanups.
2008-01-28  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/cubism.c: minor cleanups.

svn path=/trunk/; revision=24729
2008-01-28 15:39:55 +00:00
Michael Natterer 31a5214fd5 app/base/tile-manager.c use G_STRLOC instead of G_GNUC_FUNCTION (which is
2008-01-28  Michael Natterer  <mitch@gimp.org>

	* app/base/tile-manager.c
	* plug-ins/common/lcms.c: use G_STRLOC instead of
	G_GNUC_FUNCTION (which is now deprecated).


svn path=/trunk/; revision=24727
2008-01-28 13:19:42 +00:00
Sven Neumann 0d14e2ce7d minor cleanup.
2008-01-28  Sven Neumann  <sven@gimp.org>

	* plug-ins/gimpressionist/gimp.c: minor cleanup.


svn path=/trunk/; revision=24725
2008-01-28 07:17:34 +00:00
Kevin Cozens 7b67daac8d Dynamically allocate space to hold comments, links, strings, and
2008-01-27  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/imagemap/imap_cern.l:
	* plug-ins/imagemap/imap_cern.y: 
	* plug-ins/imagemap/imap_csim.l:
	* plug-ins/imagemap/imap_csim.y:
	* plug-ins/imagemap/imap_ncsa.l:
	* plug-ins/imagemap/imap_ncsa.y: Dynamically allocate space to hold
	comments, links, strings, and co-ordinate lists. Fixes bug #511072.

	* plug-ins/imagemap/imap_cern_lex.c:
	* plug-ins/imagemap/imap_cern_parse.c:
	* plug-ins/imagemap/imap_cern_parse.h:
	* plug-ins/imagemap/imap_csim_lex.c:
	* plug-ins/imagemap/imap_csim_parse.c:
	* plug-ins/imagemap/imap_csim_parse.h:
	* plug-ins/imagemap/imap_ncsa_lex.c:
	* plug-ins/imagemap/imap_ncsa_parse.c:
	* plug-ins/imagemap/imap_ncsa_parse.h: Regenerated.

svn path=/trunk/; revision=24722
2008-01-27 16:13:51 +00:00
Sven Neumann d1e1e0a166 transfer the pixels to the core on a tile-by-tile basis.
2008-01-27  Sven Neumann  <sven@gimp.org>

	* plug-ins/gimpressionist/gimp.c (gimpressionist_main): transfer
	the pixels to the core on a tile-by-tile basis.


svn path=/trunk/; revision=24718
2008-01-27 13:45:11 +00:00
Sven Neumann 08c9552711 changed code that retrieves the source drawable to iterate over the data
2008-01-27  Sven Neumann  <sven@gimp.org>

	* plug-ins/gimpressionist/gimp.c (grabarea): changed code that
	retrieves the source drawable to iterate over the data 
tile-by-tile.


svn path=/trunk/; revision=24717
2008-01-27 13:08:08 +00:00
Manish Singh feff2c6b6d no need to use a temporary in tuple translation, and clamp the result.
2008-01-26  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/pygimp-colors.c (pygimp_rgb_from_pyobject): no
        need to use a temporary in tuple translation, and clamp the result.

        * plug-ins/pygimp/gimpmodule.c (pygimp_set_background,
        pygimp_set_foreground): restore support for passing in 3 args for
        color components, for backward compatibility.

svn path=/trunk/; revision=24716
2008-01-27 05:09:28 +00:00
Joao S. O. Bueno 2ca4dcf882 fix subsequent error (calculated parameters where not used)
2008-01-26 Joao S. O. Bueno <gwidion@mpc.com.br>

        * plug-ins/pygimp/pygimp-colors.c (pygimp_rgb_from_pyobject): fix
        subsequent error (calculated parameters where not used)

svn path=/trunk/; revision=24715
2008-01-27 04:58:18 +00:00
Manish Singh dc84799993 fix error reporting.
2008-01-26  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/pygimp-colors.c (pygimp_rgb_from_pyobject): fix
        error reporting.

svn path=/trunk/; revision=24714
2008-01-27 03:01:50 +00:00
Sven Neumann 6e4e25035b gracefully handle a NULL link. (mru_destruct): plugged a memory leak.
2008-01-23  Sven Neumann  <sven@gimp.org>

	* plug-ins/imagemap/imap_mru.c (mru_remove_link): gracefully
	handle a NULL link.
	(mru_destruct): plugged a memory leak.

	* plug-ins/imagemap/imap_about.c: use "program-name" instead
	of "name".


svn path=/trunk/; revision=24686
2008-01-23 11:57:14 +00:00
Sven Neumann fc35b815a9 increased buffer size. Addresses bug #511072.
2008-01-22  Sven Neumann  <sven@gimp.org>

	* plug-ins/imagemap/imap_csim.y: increased buffer size. Addresses
	bug #511072.

	* plug-ins/imagemap/imap_csim_parse.[ch]: regenerated.

svn path=/trunk/; revision=24673
2008-01-22 16:10:06 +00:00
Sven Neumann 39db00b89e corrected check of the bytesperline field which caused monochrome PCX
2008-01-22  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/pcx.c: corrected check of the bytesperline field
	which caused monochrome PCX images to be rejected (bug #510658).

svn path=/trunk/; revision=24670
2008-01-22 13:15:55 +00:00
Sven Neumann 03342ad774 plug-ins/common/bumpmap.c applied patch from Ulf-D. Ehlert that catches a
2008-01-15  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/bumpmap.c
	* plug-ins/script-fu/scripts/swirltile.scm: applied patch from
	Ulf-D. Ehlert that catches a potential division by zero in the
	Bumpmap plug-in and adjusts the range of the Depth parameter in
	the Swirl-Tile script (bug #509608).

svn path=/trunk/; revision=24616
2008-01-15 12:26:03 +00:00
Kevin Cozens 1f6ccb3c24 plug-ins/script-fu/scripts/3d-outline.scm
2008-01-15  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/scripts/3d-outline.scm
	* plug-ins/script-fu/scripts/add-bevel.scm
	* plug-ins/script-fu/scripts/burn-in-anim.scm
	* plug-ins/script-fu/scripts/camo.scm
	* plug-ins/script-fu/scripts/circuit.scm
	* plug-ins/script-fu/scripts/clothify.scm
	* plug-ins/script-fu/scripts/coffee.scm
	* plug-ins/script-fu/scripts/contactsheet.scm
	* plug-ins/script-fu/scripts/distress-selection.scm
	* plug-ins/script-fu/scripts/flatland.scm
	* plug-ins/script-fu/scripts/font-map.scm
	* plug-ins/script-fu/scripts/fuzzyborder.scm
	* plug-ins/script-fu/scripts/glossy.scm
	* plug-ins/script-fu/scripts/land.scm
	* plug-ins/script-fu/scripts/lava.scm
	* plug-ins/script-fu/scripts/old-photo.scm
	* plug-ins/script-fu/scripts/predator.scm
	* plug-ins/script-fu/scripts/rendermap.scm
	* plug-ins/script-fu/scripts/ripply-anim.scm
	* plug-ins/script-fu/scripts/script-fu-set-cmap.scm
	* plug-ins/script-fu/scripts/select-to-brush.scm
	* plug-ins/script-fu/scripts/select-to-image.scm
	* plug-ins/script-fu/scripts/select-to-pattern.scm
	* plug-ins/script-fu/scripts/speed-text.scm
	* plug-ins/script-fu/scripts/spinning-globe.scm
	* plug-ins/script-fu/scripts/test-sphere.scm
	* plug-ins/script-fu/scripts/text-circle.scm
	* plug-ins/script-fu/scripts/unsharp-mask.scm
	* plug-ins/script-fu/scripts/xach-effect.scm: Variables in a let
	block must be of the form (variable value) per the R5RS.

svn path=/trunk/; revision=24614
2008-01-15 05:15:08 +00:00
Kevin Cozens b9fcccb246 Fixed definition of 'prog1' due to recent fixes enforcing R5RS syntax for
2008-01-14  Kevin Cozens  <kcozens@cvs.gnome.org>

	*  plug-ins/script-fu/scripts/script-fu-compat.init: Fixed definition
	of 'prog1' due to recent fixes enforcing R5RS syntax for 'let'.

svn path=/trunk/; revision=24612
2008-01-15 03:51:05 +00:00
Manish Singh 60f4aa444c Handle __members__ specially to return the current PDB procedure list, and
2008-01-10  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/pygimp-pdb.c (pdb_getattro): Handle __members__
        specially to return the current PDB procedure list, and pass-through
        any attributes that start with "_" without looking them up in the
        PDB.

svn path=/trunk/; revision=24595
2008-01-10 23:39:49 +00:00
Sven Neumann 7c745575d6 fixed spelling of GIMP.
2008-01-10  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/plug-ins/gimpcons.py: fixed spelling of GIMP.


svn path=/trunk/; revision=24593
2008-01-10 21:27:15 +00:00
Sven Neumann d1f61f2cd0 fixed conditional build of the JPEG plug-in.
2008-01-10  Sven Neumann  <sven@gimp.org>

	* plug-ins/jpeg/Makefile.am: fixed conditional build of the JPEG
	plug-in.


svn path=/trunk/; revision=24592
2008-01-10 19:37:08 +00:00
Joao S. O. Bueno 95559d7693 Allow Vectors.remove_stroke method to accept VectorStroke objects besides
2008-01-09 Joao S. O. Bueno <gwidion@mpc.com.br>

        * plug-ins/pygimp/pygimp-vectors.c: Allow Vectors.remove_stroke
        method to accept VectorStroke objects besides stroke IDs. Fix
        method names in error strings.

svn path=/trunk/; revision=24583
2008-01-10 00:39:26 +00:00
Sven Neumann c7b188b90b round the result of the convolution. Fixes bug #508114.
2008-01-09  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/convmatrix.c (convolve_image): round the result
	of the convolution. Fixes bug #508114.

svn path=/trunk/; revision=24575
2008-01-09 10:37:18 +00:00
Sven Neumann a1c270c096 plug-ins/psd/psd-image-res-load.[ch] plug-ins/psd/psd-layer-res-load.[ch]
2008-01-08  Sven Neumann  <sven@gimp.org>

	* plug-ins/psd/psd-image-res-load.[ch]
	* plug-ins/psd/psd-layer-res-load.[ch]
	* plug-ins/psd/psd-load.c
	* plug-ins/psd/psd-thumb-load.c
	* plug-ins/psd/psd-util.[ch]
	* plug-ins/psd/psd.[ch]: applied a patch from John Marshall that
	improves error handling of the new PSD load plug-in (bug 
#448181).


svn path=/trunk/; revision=24572
2008-01-08 21:02:56 +00:00
Kevin Cozens 2e951b7f9c Test for symlink before testing for other file types. Spotted by David
2008-01-08  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/ftx/ftx.c (foreign_filetype): Test for symlink
	before testing for other file types. Spotted by David Martin.

svn path=/trunk/; revision=24568
2008-01-08 06:58:39 +00:00
Joao S. O. Bueno 080cdd66fb fixed incorrect function name in error message for vs_flip
2008-01-05  Joao S. O. Bueno <gwidion@mpc.com.br>

* plug-ins/pygimp/pygimp-vectors.c: fixed incorrect function name
in error message for vs_flip

svn path=/trunk/; revision=24556
2008-01-07 03:02:58 +00:00
Sven Neumann b95be71ca5 compile a list of MIME types that GIMP can read.
2008-01-06  Sven Neumann  <sven@gimp.org>

	* configure.in: compile a list of MIME types that GIMP can read.

	* desktop/gimp.desktop.in.in: use the list of MIME types as
	compiled by the configure script. Fixes bug #507318.

	* desktop/Makefile.am
	* desktop/gimp.applications.in
	* desktop/gimp.keys.in: removed, the gimp.application and
	gimp.keys files are obsolete.

	* plug-ins/psd/psd.c (MAIN): corrected MIME type in unused code.


svn path=/trunk/; revision=24550
2008-01-06 13:53:14 +00:00
Sven Neumann 05ea134310 configure.in fixed --without-jpeg configure option (bug #507572).
2008-01-06  Sven Neumann  <sven@gimp.org>

	* configure.in
	* plug-ins/Makefile.am: fixed --without-jpeg configure option
	(bug #507572).


svn path=/trunk/; revision=24548
2008-01-06 12:09:38 +00:00
Sven Neumann a01a055c01 fixed out-of-bounds array access.
2008-01-06  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/convmatrix.c (convolve_image): fixed 
out-of-bounds
	array access.


svn path=/trunk/; revision=24544
2008-01-06 01:59:26 +00:00
Sven Neumann d55d95877e update the progress less often.
2008-01-06  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/tile.c (tile): update the progress less often.


svn path=/trunk/; revision=24541
2008-01-06 00:50:40 +00:00
Manish Singh 30e0e4125c new Image.new_layer() method, which is convenience for creating, filling,
2008-01-05  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/pygimp-image.c: new Image.new_layer() method,
        which is convenience for creating, filling, and attaching a new
        layer onto an image. Based on a idea and patch by João S. O. Bueno
        in bug #505982.

svn path=/trunk/; revision=24540
2008-01-05 23:36:42 +00:00
Bill Skaggs 6ca147e61b added previews for hurl, pick, and slur.
2008-01-03  Bill Skaggs  <weskaggs@primate.ucdavis.edu>

	* plug-ins/common/randomize.c: added previews for hurl,
	pick, and slur.
	


svn path=/trunk/; revision=24511
2008-01-03 16:53:33 +00:00
Manish Singh 7313f6d06c subscript API for PixelFetcher.
2007-12-30  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/pygimp-tile.c: subscript API for PixelFetcher.

svn path=/trunk/; revision=24486
2007-12-30 16:56:57 +00:00
Manish Singh 43f8239668 plug-ins/pygimp/gimpmodule.c plug-ins/pygimp/pygimp-pdb.c
2007-12-30  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/gimpmodule.c
        * plug-ins/pygimp/pygimp-pdb.c
        * plug-ins/pygimp/pygimp-colors.c
        * plug-ins/pygimp/pygimpcolor-api.h
        * plug-ins/pygimp/pygimpcolor.h: Move pygimp_rgb_from_pyobject into
        the gimpcolor module, and make it handle translation of sequences
        into colors too. Make the GimpParam translation code use it.

        * plug-ins/pygimp/gimpcolormodule.c: Initial wrapping of
        gimp_bilinear color functions.

        * plug-ins/pygimp/gimpenumsmodule.c
        * plug-ins/pygimp/gimpmodule.c
        * plug-ins/pygimp/pygimp.h
        * plug-ins/pygimp/pygimp-tile.c: Basic wrapping of GimpPixelFetcher.

svn path=/trunk/; revision=24481
2007-12-30 15:25:13 +00:00
Sven Neumann 10a38da7de added entry for Canon Digital Ixus v2 and removed duplicate entry.
2007-12-30  Sven Neumann  <sven@gimp.org>

	* plug-ins/jpeg/jpegqual.c (quant_info): added entry for Canon
	Digital Ixus v2 and removed duplicate entry.


svn path=/trunk/; revision=24478
2007-12-30 14:47:06 +00:00
Sven Neumann b0c2f3dee1 use G_OPTION_REMAINING to access the filenames passed as command-line
2007-12-30  Sven Neumann  <sven@gimp.org>

	* plug-ins/jpeg/jpegqual.c: use G_OPTION_REMAINING to access the
	filenames passed as command-line arguments.


svn path=/trunk/; revision=24477
2007-12-30 14:36:00 +00:00
Sven Neumann 289fa19212 applied another patch from Ulf-D. Ehlert for the parameter range (bug
2007-12-30  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/chip-away.scm: applied another 
patch
	from Ulf-D. Ehlert for the parameter range (bug #506110).


svn path=/trunk/; revision=24475
2007-12-30 13:40:22 +00:00
Sven Neumann dd95dffaec applied patch from Ulf-D. Ehlert that fixes the range of the "Chip amount"
2007-12-28  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/chip-away.scm: applied patch from
	Ulf-D. Ehlert that fixes the range of the "Chip amount" 
parameter
	(bug #506110).


svn path=/trunk/; revision=24448
2007-12-28 17:57:54 +00:00
Sven Neumann 4e8df6af94 configure.in plug-ins/Makefile.am added new PSD load plug-in written by
2007-12-20  Sven Neumann  <sven@gimp.org>

	* configure.in
	* plug-ins/Makefile.am
	* plug-ins/psd: added new PSD load plug-in written by John Marshall.
	This plug-in adds a couple of features. See bug #448181 for details.

	* plug-ins/common/Makefile.am
	* plug-ins/common/plugin-defs.pl
	* plug-ins/common/psd-load.c: removed old psd-load plug-in.

svn path=/trunk/; revision=24408
2007-12-20 11:12:05 +00:00
Sven Neumann 8ce82f2415 applied patch from John Marshall that fixes handling of PSD files with
2007-12-18  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/psd-load.c: applied patch from John Marshall
	that fixes handling of PSD files with blank layer names (bug 
#504149).


svn path=/trunk/; revision=24401
2007-12-18 20:33:32 +00:00
Kevin Cozens 6e476b9b4a Added extra checks to stop bad syntax in LET*, LET, and LETREC from
2007-12-17  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/tinyscheme/scheme.c: Added extra checks to stop
	bad syntax in LET*, LET, and LETREC from causing a segmentation fault
	in Linux. See SourceForge bug #1817986.

svn path=/trunk/; revision=24400
2007-12-18 20:12:11 +00:00
William Skaggs 50f65eb1b4 Bill Skaggs <weskaggs@primate.udavis.edu>
* plug-ins/common/edge.c: reverted to state pre-12/16.

svn path=/trunk/; revision=24386
2007-12-17 23:25:07 +00:00
William Skaggs 12859122c6 Bill Skaggs <weskaggs@primate.udavis.edu>
* plug-ins/common/edge.c: name reverted to "Edge",
	label in combo reverted to "Prewitt", other changes kept.

svn path=/trunk/; revision=24380
2007-12-17 04:59:35 +00:00
William Skaggs 5b13d23b4e Bill Skaggs <weskaggs@primate.udavis.edu>
* plug-ins/common/edge.c: renamed to "Sharp Edges",
	added "invert" option, other usability tweaks.

svn path=/trunk/; revision=24378
2007-12-16 20:38:02 +00:00
Sven Neumann 65bbd5f9d3 plug-ins/common/plugin-defs.pl re-added psd-load. Looks like Bill
2007-12-16  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/plugin-defs.pl
	* plug-ins/common/Makefile.am: re-added psd-load. Looks like 
Bill
	accidentally removed it.


svn path=/trunk/; revision=24375
2007-12-16 14:58:25 +00:00
William Skaggs 52735b8ea8 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/common/mapcolor.c: removed
	* plug-ins/common/plugin-defs.pl
	* plug-ins/common/Makefile.am: updated accordingly

svn path=/trunk/; revision=24369
2007-12-15 18:41:09 +00:00
Kevin Cozens 8d38858180 Only return true when numbers are of equal value AND of the same type (ie.
2007-12-14  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/tinyscheme/scheme.c (eqv): Only return true
	when numbers are of equal value AND of the same type (ie. both
	exact or inexact). R5RS compliance fix.

svn path=/trunk/; revision=24366
2007-12-14 19:20:50 +00:00
Sven Neumann 182c263a11 extended the range allowed for the whirl angle (bug #499398).
2007-12-12  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/whirlpinch.c: extended the range allowed for the
	whirl angle (bug #499398).

svn path=/trunk/; revision=24335
2007-12-12 12:27:02 +00:00
Kevin Cozens 916e4d4f78 Fix to prevent reporting out of memory when there should be plenty of
2007-12-11  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/tinyscheme/scheme.c (get_consecutive_cells):
	Fix to prevent reporting out of memory when there should be plenty
	of cells still available. See SourceForge bug #1794369.

svn path=/trunk/; revision=24328
2007-12-12 03:11:16 +00:00
Kevin Cozens 8a685dd322 Don't abort the top-level s-exp when loading a file. See SourceForge bug
2007-12-11  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/tinyscheme/scheme.c: Don't abort the top-level
	s-exp when loading a file. See SourceForge bug #1589711.

svn path=/trunk/; revision=24327
2007-12-12 01:56:49 +00:00
Kevin Cozens 38fd9dad2c Applied changes from official version of TinyScheme which fix
2007-12-11  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/tinyscheme/scheme.c: Applied changes from
	official version of TinyScheme which fix is_integer(). See
	SourceForge bug #1593861.

svn path=/trunk/; revision=24325
2007-12-11 21:46:40 +00:00
Sven Neumann 40f237269c allow the use of CSS color names and hexadecimal color notation.
2007-12-10  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/gimpmodule.c (pygimp_set_background)
	(pygimp_set_foreground): allow the use of CSS color names and
	hexadecimal color notation.


svn path=/trunk/; revision=24310
2007-12-10 20:07:33 +00:00
Hans Breuer 6f5bbfe0bd updated and removed -GD to let msvc9 complain less
2007-12-09  Hans Breuer  <hans@breuer.org>

	* **/makefile.msc : updated and removed -GD to let msvc9 complain less


svn path=/trunk/; revision=24305
2007-12-09 14:11:09 +00:00
Sven Neumann 2c594fbc33 fixed logic that decides if a dialog should be shown or not.
2007-12-08  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/gimpfu.py (_run): fixed logic that decides if 
a
	dialog should be shown or not.


svn path=/trunk/; revision=24300
2007-12-08 17:29:06 +00:00
Sven Neumann 4c9e97d4ad plug-ins/pygimp/pygimp-colors.c removed calls to PyMem_Free().
2007-12-07  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/pygimp-colors.c
	* plug-ins/pygimp/gimpcolormodule.c: removed calls to 
PyMem_Free().


svn path=/trunk/; revision=24290
2007-12-07 19:21:35 +00:00
Sven Neumann 021abe4a74 accept a string and parse it using gimpcolor.rgb_parse_css().
2007-12-07  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/gimpui.py (ColorSelector.__init__): accept a
	string and parse it using gimpcolor.rgb_parse_css().

	* plug-ins/pygimp/plug-ins/sphere.py: show off the new feature.

svn path=/trunk/; revision=24285
2007-12-07 16:53:06 +00:00
Sven Neumann 8b15c5e2f3 push/pop a context instead of manually restoring the background color.
2007-12-07  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/plug-ins/foggify.py: push/pop a context instead
	of manually restoring the background color.

svn path=/trunk/; revision=24283
2007-12-07 13:43:07 +00:00
Sven Neumann b43c095cab removed pointless and untranslated warning.
2007-12-02  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/tiff-load.c (load_image): removed pointless 
and
	untranslated warning.


svn path=/trunk/; revision=24253
2007-12-02 14:47:47 +00:00
Sven Neumann fcbc8eda42 only set the resolution if X_density and Y_density are not zero. Otherwise
2007-12-02  Sven Neumann  <sven@gimp.org>

	* plug-ins/jpeg/jpeg-load.c (jpeg_load_resolution): only set the
	resolution if X_density and Y_density are not zero. Otherwise 
the
	default resolution would be used anyway and the user sees an
	annoying and confusion warning.


svn path=/trunk/; revision=24251
2007-12-02 14:40:35 +00:00
William Skaggs ec4819c4b5 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/Lighting/lighting_ui.c: make sure to update bumpmap
	when combo is changed.  Addresses bug #500317.

svn path=/trunk/; revision=24240
2007-11-29 19:32:50 +00:00
Sven Neumann 91720dc950 improved error reporting.
2007-11-26  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/wmf.c	(load_image): improved error reporting.

svn path=/trunk/; revision=24234
2007-11-26 16:46:04 +00:00
Sven Neumann 6d8cc31116 avoid filename encoding problems by not using wmf_file_open() but mapping
2007-11-26  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/wmf.c: avoid filename encoding problems by not
	using wmf_file_open() but mapping the file into memory with
	GMappedFile. Fixes bug #499329.

svn path=/trunk/; revision=24232
2007-11-26 16:40:17 +00:00
Sven Neumann 7cf6c22d11 reduced progress updates based on a patch from Tobias Jakobs (bug
2007-11-23  Sven Neumann  <sven@gimp.org>

	* plug-ins/flame/rect.c: reduced progress updates based on a 
patch
	from Tobias Jakobs (bug #499255). Untabified.


svn path=/trunk/; revision=24223
2007-11-23 21:26:52 +00:00
Sven Neumann a24102ee7f applied patch from Ulf-D. Ehlert that fixes the background color used in
2007-11-20  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/t-o-p-logo.scm: applied patch from
	Ulf-D. Ehlert that fixes the background color used in the Particle
	Trace filter (bug #498282).

svn path=/trunk/; revision=24200
2007-11-20 09:17:11 +00:00
Sven Neumann 1107d5a20b don't call gimp_edit_clear() if the selection mask is empty after
2007-11-15  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/screenshot.c: don't call gimp_edit_clear() if
	the selection mask is empty after selecting the window shape and
	inverting that selection. Fixes bug #493182.


svn path=/trunk/; revision=24167
2007-11-15 19:31:12 +00:00
Sven Neumann e35f701b65 fixed bug in colormap handling (bug #497103).
2007-11-15  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/tiff-save.c (save_image): fixed bug in 
colormap
	handling (bug #497103).


svn path=/trunk/; revision=24165
2007-11-15 19:15:10 +00:00
Sven Neumann af237c2246 return GIMP_UNIT_MM in case that we can't query the locale.
2007-11-12  Sven Neumann  <sven@gimp.org>

	* app/core/gimp-utils.c (gimp_get_default_unit): return
	GIMP_UNIT_MM in case that we can't query the locale.

	* plug-ins/common/postscript.c: use gboolean for boolean 
variables.


svn path=/trunk/; revision=24139
2007-11-12 20:52:17 +00:00
Sven Neumann a8252d27d6 properly handle a failure of TIFFFdOpen() instead of crashing on TIFF
2007-11-12  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/tiff-load.c (run): properly handle a failure of
	TIFFFdOpen() instead of crashing on TIFF files we can't handle.

svn path=/trunk/; revision=24130
2007-11-12 10:16:55 +00:00
Kevin Cozens b9c181bf73 Return a list from cons-array when type is 'string.
2007-11-11  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/scripts/script-fu-compat.init: Return a list
	from cons-array when type is 'string.

svn path=/trunk/; revision=24126
2007-11-11 21:22:01 +00:00
Sven Neumann a75838e6c1 deal gracefully with NULL titles.
2007-11-10  Sven Neumann  <sven@gimp.org>

	* plug-ins/helpbrowser/dialog.c 
(browser_dialog_make_index_foreach):
	deal gracefully with NULL titles.


svn path=/trunk/; revision=24107
2007-11-09 23:56:19 +00:00
Michael Natterer a446f3d7fb use the new tooltip API instead of the old deprecated one. Removed
2007-11-09  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimphelpui.[ch]: use the new tooltip API instead
	of the old deprecated one. Removed _gimp_help_init(). Remember
	whether tooltips are enabled or not in a local variable that can
	only be altered at startup time and not after. The API now expects
	markup instead of plain text which might cause warnings and
	perhaps needs to be changed.

	* libgimpwidgets/gimpwidgets-private.c: don't call _gimp_help_init().

	* app/config/gimpguiconfig.c: made show-tooltips a
	GIMP_CONFIG_PARAM_RESTART property.

	* app/widgets/gimptoolbox-color-area.c: don't add the tooltip here...

	* app/widgets/gimptoolbox.c: ...but here (as for all other
	indicators). Also escape '&' properly because we now use markup.

	* app/tools/gimpselectionoptions.c
	* app/widgets/gimpeditor.c
	* app/widgets/gimpwidgets-utils.c: print modifiers and
	shortcuts in bold instead of in ().

	* app/widgets/gimpcontainertreeview.c: show tooltips on rows if
	gimp_viewable_get_description() returns a tip.

	* app/dialogs/preferences-dialog.c
	* plug-ins/jpeg/jpeg-save.c
	* plug-ins/MapObject/mapobject_ui.c
	* plug-ins/Lighting/lighting_ui.c
	* plug-ins/common/animationplay.c
	* plug-ins/common/warp.c: no need to add event boxes just to have
	tooltips, the new ones work on all widgets.


svn path=/trunk/; revision=24093
2007-11-09 11:17:00 +00:00
Michael Natterer fb1ec39812 remove check for putenv().
2007-11-06  Michael Natterer  <mitch@gimp.org>

	* configure.in: remove check for putenv().

	* app/composite/gimp-composite-3dnow-test.c
	* app/composite/gimp-composite-altivec-test.c
	* app/composite/gimp-composite-mmx-test.c
	* app/composite/gimp-composite-sse-test.c
	* app/composite/gimp-composite-sse2-test.c
	* app/composite/gimp-composite-vis-test.c
	* libgimp/gimpui.c
	* plug-ins/uri/uri-backend-wget.c
	* tools/gimp-remote-x11.c: use g_setenv() instead of putenv().


svn path=/trunk/; revision=24076
2007-11-06 13:28:19 +00:00
Sven Neumann 9a740afcb2 removed this script. Fixes bug #491311.
2007-11-01  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/Makefile.am (scripts):
	* plug-ins/script-fu/scripts/hsv-graph.scm: removed this script.
	Fixes bug #491311.

svn path=/trunk/; revision=24030
2007-11-01 17:30:38 +00:00
Manish Singh a8fb4f0c03 app/core/gimpcontainer-filter.c app/pdb/gimppdb-query.c replace usage of
2007-11-01  Manish Singh  <yosh@gimp.org>

        * app/core/gimpcontainer-filter.c
        * app/pdb/gimppdb-query.c
        * app/plug-in/gimppluginmanager-query.c: replace usage of POSIX
        regex API with GRegex.

        * configure.in: remove check for regex support in glibc.

        * app/Makefile.am
        * plug-ins/script-fu/Makefile.am: remove REGEXREPL references.

        * tools/pdbgen/app.pl: remove code that references HAVE_GLIBC_REGEX.

        * regexrepl/*
        * makefile.msc
        * Makefile.am: remove regexrepl directory.

svn path=/trunk/; revision=24024
2007-11-01 08:15:38 +00:00
Michael Natterer 36bda892a9 libgimpbase/Makefile.am removed.
2007-10-31  Michael Natterer  <mitch@gimp.org>

	* libgimpbase/Makefile.am
	* libgimpbase/xdg-user-dir.[ch]: removed.

	* libgimpbase/gimpbaseenums.[ch]: deprecate enum GimpUserDirectory.

	* libgimpbase/gimpenv.[ch]: deprecate gimp_user_directory() and make
	the implementation call g_get_user_special_dir().

	* libgimp/Makefile.am: #undef GIMP_DISABLE_DEPRECATED in gimpenums.c

	* app/widgets/gimpfiledialog.c: use g_get_user_special_dir() instead.

	* plug-ins/pygimp/gimpmodule.c: #undef GIMP_DISABLE_DEPRECATED.


svn path=/trunk/; revision=24018
2007-10-31 13:09:46 +00:00
Sven Neumann 694c7d188e use a combo-box instead of radio buttons (bug #484838).
2007-10-31  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/retinex.c: use a combo-box instead of radio
	buttons (bug #484838).

svn path=/trunk/; revision=24012
2007-10-31 10:44:14 +00:00
Sven Neumann 5a8f89999c check for the XFIXES extension.
2007-10-31  Sven Neumann  <sven@gimp.org>

	* configure.in: check for the XFIXES extension.

	* plug-ins/common/plugin-defs.pl
	* plug-ins/common/Makefile.am: use XFIXES_CFLAGS for compiling the
	screenshot plug-in.

	* plug-ins/common/screenshot.c: optionally add the mouse cursor
	image on an extra layer. Work in progress... (bug #490779).

svn path=/trunk/; revision=24008
2007-10-31 10:34:42 +00:00
Sven Neumann 21c8209c52 fixed handling of truncated ascii files.
2007-10-27  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/pnm.c (pnm_load_ascii): fixed handling of
	truncated ascii files.


svn path=/trunk/; revision=23968
2007-10-27 17:05:55 +00:00
Sven Neumann 3ef1a3cdb4 formatting.
2007-10-27  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/pnm.c: formatting.


svn path=/trunk/; revision=23967
2007-10-27 16:50:55 +00:00
Sven Neumann dc6c91fd65 set the svn:ignore property instead of writing a .cvsignore file.
2007-10-27  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/mkgen.pl: set the svn:ignore property instead 
of
	writing a .cvsignore file.


svn path=/trunk/; revision=23966
2007-10-27 14:17:47 +00:00
Kevin Cozens 37b875ccdc plug-ins/script-fu/tinyscheme/scheme-private.h Allow a maximum of two
2007-10-25  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/tinyscheme/scheme-private.h
	* plug-ins/script-fu/tinyscheme/scheme.c:
	Allow a maximum of two calls to backchar() needed by the "case '.'"
	part of the switch statement in token(). Fixes bug #490198.

svn path=/trunk/; revision=23952
2007-10-25 20:47:27 +00:00
Manish Singh af49ba3737 plug-ins/common/compose.c generate PDB docs from the same source as the
2007-10-24  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/compose.c
        * plug-ins/common/decompose.c: generate PDB docs from the same
        source as the UI.

svn path=/trunk/; revision=23940
2007-10-25 03:32:18 +00:00
Sven Neumann 1ed2d6528b fixed handling of the empty selection mask (bug #489410).
2007-10-23  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/fp.c: fixed handling of the empty selection
	mask (bug #489410).


svn path=/trunk/; revision=23926
2007-10-23 19:15:22 +00:00
Sven Neumann 1d58e18dc5 ooops
svn path=/trunk/; revision=23925
2007-10-23 18:29:16 +00:00
Sven Neumann ba5334d147 Simplified "Advanced Options" dialog.
2007-10-23  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/fp.c: Simplified "Advanced Options" dialog.

svn path=/trunk/; revision=23924
2007-10-23 18:26:18 +00:00
Sven Neumann a4e099e2be made preview windows transient to the plug-in dialog.
2007-10-23  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/fp.c: made preview windows transient to the
	plug-in dialog.


svn path=/trunk/; revision=23923
2007-10-23 17:37:31 +00:00
Raphael Quinet 6a62905846 Added hash value for all known quantization tables in order to detect
2007-10-23  Raphael Quinet  <raphael@gimp.org>

	* plug-ins/jpeg/jpegqual.c: Added hash value for all known
	quantization tables in order to detect transposed tables from
	rotated images or bad matches coming from different tables with
	the same sum.

svn path=/trunk/; revision=23920
2007-10-22 23:48:19 +00:00
Sven Neumann 07c3aa3dd7 fixed bogus for-loop.
2007-10-22  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/depthmerge.c (util_convertColorspace): fixed
	bogus for-loop.


svn path=/trunk/; revision=23918
2007-10-22 20:03:43 +00:00
Kevin Cozens 19ba673b2f Allow one to three digits in octal coded characters.
2007-10-22  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/tinyscheme/scheme.c: Allow one to three
	digits in octal coded characters.

svn path=/trunk/; revision=23908
2007-10-22 16:12:49 +00:00
Sven Neumann 825c0f71fc fixed initialisation of pixel regions (bug #488845).
2007-10-22  Sven Neumann  <sven@gimp.org>

	* plug-ins/gflare/gflare.c (plugin_do_non_asupsample): fixed
	initialisation of pixel regions (bug #488845).

svn path=/trunk/; revision=23905
2007-10-22 11:27:22 +00:00
Sven Neumann 8436366da3 formatting.
2007-10-22  Sven Neumann  <sven@gimp.org>

	* plug-ins/gflare/gflare.c: formatting.

svn path=/trunk/; revision=23904
2007-10-22 11:17:07 +00:00
Raphael Quinet 7154e4ffc3 Updated table for Adobe products. Thanks to Bart for the sample files.
2007-10-22  Raphael Quinet  <raphael@gimp.org>

	* plug-ins/jpeg/jpegqual.c (quant_info): Updated table for Adobe
	products.  Thanks to Bart for the sample files.

svn path=/trunk/; revision=23899
2007-10-22 00:13:40 +00:00
Simon Budig 7d42178b82 Add comment regarding the safe-foreign issue.
2007-10-21  Simon Budig  <simon@gimp.org>

        * plg-ins/script-fu/scheme-wrapper.c: Add comment regarding
	  the safe-foreign issue.


svn path=/trunk/; revision=23898
2007-10-21 20:47:26 +00:00
Kevin Cozens eaaf936670 Reverted changes in handling of string arrays to stay backwards compatible
2007-10-21  Kevin Cozens  <kcozens@cvs.gnome.org>

        * plug-ins/script-fu/scheme-wrapper.c: Reverted changes in handling
        of string arrays to stay backwards compatible (see bug #317634).

        * plug-ins/script-fu/scripts/font-map.scm: Updated based on change
        in handling of string arrays listed above.

svn path=/trunk/; revision=23897
2007-10-21 20:39:01 +00:00
Sven Neumann 279ab9c688 don't use the last-used mapping in interactive mode, only do this when
2007-10-13  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/colormap-remap.c (run): don't use the 
last-used
	mapping in interactive mode, only do this when called with 
run-mode
	GIMP_RUN_WITH_LAST_VALS. Fixes bug #486283.


svn path=/trunk/; revision=23812
2007-10-13 10:50:38 +00:00
Sven Neumann ace8b024b6 marked strings for translation (bug #485937).
2007-10-12  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpcolorselectorpalette.c: 
	* plug-ins/twain/twain.c: marked strings for translation (bug #485937).

svn path=/trunk/; revision=23807
2007-10-12 09:10:06 +00:00
Kevin Cozens 913d0d5f20 Fix off by one error. Stop on third digit after backslash when reading
2007-10-12  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/tinyscheme/scheme.c: Fix off by one error.
	Stop on third digit after backslash when reading octal character.
	Original cause of bug #485538.

svn path=/trunk/; revision=23806
2007-10-12 06:19:41 +00:00
Sven Neumann 66fecb60e6 moved the new string escape function here and also it for the
2007-10-11  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-scripts.[ch]: moved the new string
	escape function here and also it for the non-interactive case.

	* plug-ins/script-fu/script-fu-interface.c: changed accordingly.

svn path=/trunk/; revision=23802
2007-10-11 11:59:55 +00:00
Sven Neumann 426eb27e7e don't use g_strescape() as it mangles UTF-8 strings. Introduced our own
2007-10-11  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-interface.c: don't use
	g_strescape() as it mangles UTF-8 strings. Introduced our own
	escape function instead. Fixes bug #485538.

svn path=/trunk/; revision=23801
2007-10-11 11:48:35 +00:00
Sven Neumann 8a810a0300 use G_DIR_SEPARATOR instead of hardcoding the '\' under Windows.
2007-10-11  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-scripts.c (script_fu_add_script):
	use G_DIR_SEPARATOR instead of hardcoding the '\' under Windows.

svn path=/trunk/; revision=23800
2007-10-11 11:26:11 +00:00
Sven Neumann 80752d37c3 removed an obsolete comment.
2007-10-09  Sven Neumann  <sven@gimp.org>

	* plug-ins/jpeg/jpeg-load.c: removed an obsolete comment.

svn path=/trunk/; revision=23774
2007-10-09 13:23:11 +00:00
Manish Singh 59ce9f463a Implement non-interactive mode, and make it match the old PDF loader API.
2007-10-06  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/poppler.c: Implement non-interactive mode, and make
        it match the old PDF loader API. Fixes bug #483425.

svn path=/trunk/; revision=23751
2007-10-06 21:34:12 +00:00
Sven Neumann e04cfdc3b4 store the zoom factor. Doesn't work currently, but just needs a simple fix
2007-10-06  Sven Neumann  <sven@gimp.org>

	* plug-ins/helpbrowser/dialog.c: store the zoom factor. Doesn't
	work currently, but just needs a simple fix in gtkhtml2.


svn path=/trunk/; revision=23747
2007-10-06 16:51:34 +00:00
Sven Neumann 59acf0a4f3 check that the window shape is non-empty before applying it to the alpha
2007-10-05  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/screenshot.c (create_image): check that the
	window shape is non-empty before applying it to the alpha 
channel.


svn path=/trunk/; revision=23741
2007-10-05 21:06:15 +00:00
Sven Neumann e5b6b9dd13 applied patch from Ulf-D. Ehlert with usability improvements (bug
2007-10-05  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/perspective-shadow.scm: applied 
patch
	from Ulf-D. Ehlert with usability improvements (bug #482743).


svn path=/trunk/; revision=23736
2007-10-05 18:49:34 +00:00
Sven Neumann 1c22f13fd4 the inward/outward parameter affects the zoom mode, not radial
svn path=/trunk/; revision=23734
2007-10-05 11:16:04 +00:00
Sven Neumann 9ba63e340d restore compatibility by registering an extra procedure for the
2007-10-05  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/mblur.c: restore compatibility by registering an
	extra procedure for the inward/outward parameter (bug #483426).

svn path=/trunk/; revision=23733
2007-10-05 11:12:32 +00:00
Sven Neumann b4f812491f modules/cdisplay_lcms.c modules/cdisplay_proof.c
2007-10-04  Sven Neumann  <sven@gimp.org>

	* modules/cdisplay_lcms.c
	* modules/cdisplay_proof.c
	* modules/colorsel_cmyk_lcms.c
	* plug-ins/common/lcms.c 
	* plug-ins/jpeg/jpeg-load.c: use cmsFLAGS_BLACKPOINTCOMPENSATION
	instead of the equivalent cmsFLAGS_WHITEBLACKCOMPENSATION.

svn path=/trunk/; revision=23724
2007-10-04 14:21:55 +00:00
Sven Neumann 63b451abb0 use the display rendering intent as set in the user's color management
2007-10-04  Sven Neumann  <sven@gimp.org>

	* plug-ins/jpeg/jpeg-load.c (jpeg_load_cmyk_transform): use the
	display rendering intent as set in the user's color management
	preferences. Use black point compensation if the rendering 
intent
	is relative colorimetric.


svn path=/trunk/; revision=23722
2007-10-03 22:18:46 +00:00
Sven Neumann b6bc110c22 use the display rendering intent as set in the user's color management
2007-10-03  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/lcms.c: use the display rendering intent as 
set
	in the user's color management preferences as the default for 
the
	color conversion. Default to using black point compensation if 
the
	rendering intent is relative colorimetric (bug #475983).


svn path=/trunk/; revision=23719
2007-10-03 13:43:50 +00:00
Sven Neumann 3b4f775d74 applied patch from Ulf-D. Ehlert that fixes resizing in the Perspective
2007-10-03  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/perspective-shadow.scm: applied 
patch
	from Ulf-D. Ehlert that fixes resizing in the Perspective Shadow
	script (bug #482743).


svn path=/trunk/; revision=23718
2007-10-02 22:03:40 +00:00
Sven Neumann 59f86e366b changed the dialog title to adopt to the menu label we changed two years
2007-10-02  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/scatter_hsv.c (scatter_hsv_dialog): changed the
	dialog title to adopt to the menu label we changed two years ago.

svn path=/trunk/; revision=23717
2007-10-02 09:32:48 +00:00
Raphael Quinet 9795a920b1 plug-ins/metadata/metadata.c plug-ins/metadata/xmp-model.c replaced calls
2007-10-02  Raphael Quinet  <raphael@gimp.org>

	* plug-ins/metadata/metadata.c
	* plug-ins/metadata/xmp-model.c
	* plug-ins/metadata/xmp-encode.c: replaced calls to g_warning() by
	g_printerr().

svn path=/trunk/; revision=23716
2007-10-02 09:15:34 +00:00
Sven Neumann 1f4c2a1f96 clamp values used for the exponent map to 1..255. Fixes bug #478618.
2007-10-02  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/oilify.c (get_map_value): clamp values used 
for
	the exponent map to 1..255. Fixes bug #478618.


svn path=/trunk/; revision=23715
2007-10-02 05:54:44 +00:00
Kevin Cozens f3d514c845 Use 'list' to create argument list for SF-ADJUSTMENT since it uses a named
2007-10-02  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/scripts/guides-new.scm: Use 'list' to create
	argument list for SF-ADJUSTMENT since it uses a named constant.
	Fixes bug #480799.

svn path=/trunk/; revision=23714
2007-10-02 04:24:40 +00:00
Kevin Cozens 1035b7fab4 use RUN-NONINTERACTIVE for the run-mode where 0 was used instead.
2007-10-01  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/scripts/burn-in-anim.scm: use RUN-NONINTERACTIVE
	for the run-mode where 0 was used instead.

svn path=/trunk/; revision=23712
2007-10-01 20:31:12 +00:00
Sven Neumann 8b624fa210 moved shadow_bevel.py to test-scripts so that it isn't installed by
2007-10-01  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/plug-ins/Makefile.am: moved shadow_bevel.py to
	test-scripts so that it isn't installed by default (bug 
#482289).


svn path=/trunk/; revision=23711
2007-10-01 20:29:45 +00:00
Sven Neumann 1a75b7258e use RUN-NONINTERACTIVE for the run-mode where 1 was used instead.
2007-10-01  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/*.scm: use RUN-NONINTERACTIVE for 
the
	run-mode where 1 was used instead.


svn path=/trunk/; revision=23707
2007-10-01 19:44:23 +00:00
Sven Neumann 3b930bb1a8 plug-ins/script-fu/scripts/rendermap.scm
2007-10-01  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/rendermap.scm
	* plug-ins/script-fu/scripts/distress-selection.scm
	* plug-ins/script-fu/scripts/old-photo.scm
	* plug-ins/script-fu/scripts/unsharp-mask.scm
	* plug-ins/script-fu/scripts/tileblur.scm
	* plug-ins/script-fu/scripts/fuzzyborder.scm
	* plug-ins/script-fu/scripts/camo.scm: use RUN-NONINTERACTIVE for
	the run-mode instead of TRUE.

svn path=/trunk/; revision=23700
2007-10-01 08:42:48 +00:00
Manish Singh 9e13d05f5c drop the reference we added to the args tuple in the error case.
2007-09-30  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/pygimp-pdb.c (pygimp_param_from_tuple): drop the
        reference we added to the args tuple in the error case.

svn path=/trunk/; revision=23694
2007-09-30 08:37:45 +00:00
Manish Singh d70088c961 fill layer before using it. Fixes bug #481798, thanks to Jakub Friedl for
2007-09-30  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/plug-ins/foggify.py: fill layer before using it.
        Fixes bug #481798, thanks to Jakub Friedl for suggesting fix.

svn path=/trunk/; revision=23693
2007-09-30 08:22:06 +00:00
Sven Neumann 4c0b47c34d allocate the ConsoleInterface struct on the stack.
2007-09-28  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-console.c: allocate the
	ConsoleInterface struct on the stack.


svn path=/trunk/; revision=23685
2007-09-28 17:26:15 +00:00
Kevin Cozens 14eb770a4c Made all the functions defined in the file local instead of global to
2007-09-28  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/scripts/addborder.scm: Made all the functions
	defined in the file local instead of global to avoid possible
	conflicts with other scripts.

svn path=/trunk/; revision=23684
2007-09-28 16:13:58 +00:00
Sven Neumann 4d77d9a2d1 plugged memory leaks.
2007-09-28  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scheme-wrapper.c: plugged memory leaks.

	* libgimpbase/gimpprotocol.c (gp_params_destroy): formatting.

svn path=/trunk/; revision=23683
2007-09-28 14:20:35 +00:00
Sven Neumann bba7d1e0c4 use gimp_pixel_rgn_set_row() to set a single row of pixels.
2007-09-28  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/tiff-load.c (load_rgba): use
	gimp_pixel_rgn_set_row() to set a single row of pixels.

svn path=/trunk/; revision=23680
2007-09-28 10:10:28 +00:00