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-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
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-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-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-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-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-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-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 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-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-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 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-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-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-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-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-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 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-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-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 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-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-27 Sven Neumann <sven@gimp.org>
* plug-ins/common/iwarp.c (run): show the dialog when called with
GIMP_RUN_WITH_LAST_VALS. This is better than just doing nothing
when being called from the Repeat menu item (bug #480796).
svn path=/trunk/; revision=23669
2007-09-25 Sven Neumann <sven@gimp.org>
* plug-ins/common/decompose.c: reverted "fix" for bug #477008.
* tools/pdbgen/pdb/display.pdb
* app/pdb/display_cmds.c: flush the image before creating a new
display for it. Fixes bug #477008 also for other plug-ins like
Screenshot.
svn path=/trunk/; revision=23650
2007-09-23 Michael Natterer <mitch@gimp.org>
* menus/toolbox-menu.xml.in: added placeholder File/Preferences
and move the preferences and keyboard shortcut dialogs there.
* plug-ins/common/uniteditor.c (query): register the unit editor
there too.
svn path=/trunk/; revision=23629
2007-09-21 Sven Neumann <sven@gimp.org>
General fix for bug #478657:
* libgimp/gimpaspectpreview.c
* libgimp/gimpdrawablepreview.c
* libgimp/gimpzoompreview.c: let all preview widgets store the
state of the Preview toggle. Declared "toggle" parameter as unused.
* plug-ins/common/*.c: pass NULL for "toggle" to
gimp_drawable_preview_new() and gimp_aspect_preview_new().
svn path=/trunk/; revision=23603
2007-09-20 Michael Natterer <mitch@gimp.org>
* menus/image-menu.xml.in: added placeholder Edit/Preferences and
move the preferences and keyboard shortcut dialogs there.
* plug-ins/common/uniteditor.c (query): register the unit editor
there too.
svn path=/trunk/; revision=23594
2007-09-19 Sven Neumann <sven@gimp.org>
* plug-ins/common/compose.c: removed extra arguments that were
added to the compose procedures in the 2.3 development cycle.
Restores compatibility and fixes bug #477795.
svn path=/trunk/; revision=23590
2007-09-17 Martin Nordholts <martinn@svn.gnome.org>
* plug-ins/common/psd-load.c (do_layer_record, load_image):
Applied slightly modified patch from John Marshall that drops
adjustment and layer group layers when loading PSD files. Fixes
bug #474718.
svn path=/trunk/; revision=23576
2007-09-17 Nils Philippsen <nphilipp@redhat.com>
* plug-ins/common/pcx.c (load_image): verify that the bytesperline header
field (number of bytes to allocate per plane and line) isn't less than the
width of the image
svn path=/trunk/; revision=23574
2007-09-17 Simon Budig <simon@gimp.org>
* plug-ins/common/decompose.c: flush the displays at the end.
Fixes bug #477008.
svn path=/trunk/; revision=23570
2007-09-13 Michael Natterer <mitch@gimp.org>
* configure.in: remove FOO_DISABLE_DEPRECATED for only glib >= 2.15
and gtk+ >= 2.13, GIMP builds fine against the 2.14 and 2.12 APIs
apart from:
* app/tools/gimpselectionoptions.c
* libgimpwidgets/gimphelpui.c: undef GTK_DISABLE_DEPRECATED because
GtkTooltips is deprecated in gtk+ 2.12.
* libgimp/gimpui.c
* plug-ins/common/pat.c: the address of an array is always
non-NULL, no need to check for that. Fixes new gcc warnings.
svn path=/trunk/; revision=23522
2007-09-11 Manish Singh <yosh@gimp.org>
* plug-ins/common/psp.c: don't use "major" and "minor" as variable
names, they may conflict with system symbols.
svn path=/trunk/; revision=23503
2007-09-11 Sven Neumann <sven@gimp.org>
* plug-ins/common/lcms.c: allow to specify rendering intent and
black point compensation. Fixes bug #474787.
svn path=/trunk/; revision=23497
2007-09-10 Sven Neumann <sven@gimp.org>
* plug-ins/common/lens.c: applied patch from Aurimas Juška which
simplifies the code by using GimpPixelFetcher and fixes handling
of selections in the preview. Fixes the last aspect of bug #356716.
svn path=/trunk/; revision=23495
2007-09-10 Sven Neumann <sven@gimp.org>
* plug-ins/common/psp.c: applied patch from Nils Philippsen that
fixes an endianess problem (bug #475464).
svn path=/trunk/; revision=23492
2007-09-06 Simon Budig <simon@gimp.org>
* plug-ins/common/convmatrix.c: there is no need to mess
with the selected channels within check_config(). Also fix
bug with with copying its values into the chanmask
in convolve_image()
Fixes bug #472518
svn path=/trunk/; revision=23468
2007-08-31 Simon Budig <simon@gimp.org>
* plug-ins/common/antialias.c: fixed subtle cut'n'paste bug,
made the code a little bit more readable.
svn path=/trunk/; revision=23421
2007-08-30 Karine Delvare <edhel@gimp.org>
* plug-ins/common/illusion.c
* plug-ins/common/polar.c
* plug-ins/common/whirlpinch.c: applied patches from Aurimas Juška
that fixes use of the GimpZoomPreview widget in those plug-ins (see
bug #356716), and makes illusion handle selections properly.
svn path=/trunk/; revision=23416
2007-08-30 Raphael Quinet <raphael@gimp.org>
* plug-ins/common/pcx.c: applied modified patch from Nils
Philippsen that adds more sanity checks when loading and saving
images. Fixes the reopened bug #471189.
svn path=/trunk/; revision=23409
2007-08-29 Jakub Friedl <jfriedl@suse.cz>
* plug-ins/common/scatter_hsv.c: Calling randomize_value with
max value 359 instead of 360 to fix off by 1 error when wrapping
around.
svn path=/trunk/; revision=23397
2007-08-29 Jakub Friedl <jfriedl@suse.cz>
* plug-ins/common/convmatrix.c: Removes the fprint function.
Values are printed using g_snprintf and "%g" which supresses
trailing zeroes. Fixes bug #471051.
svn path=/trunk/; revision=23396
2007-08-29 Raphael Quinet <raphael@gimp.org>
* plug-ins/common/pcx.c: applied modified patch from Nils
Philippsen that uses the glib endianness conversion macros instead
of the ones provided in the old code (broken on S390/S390x).
Fixes bug #471189.
svn path=/trunk/; revision=23394
2007-08-29 Michael Natterer <mitch@gimp.org>
* plug-ins/common/lcms.c (lcms_image_apply_profile):
gimp-selection-* procedures operate on the image_ID, not on the
selection drawable_ID itself. Fixes bug #470589. Also remove the
saved selection channel after reloading it.
svn path=/trunk/; revision=23393
2007-08-28 Jakub Friedl <jfriedl@suse.cz>
* plug-ins/common/redeye.c: CLAMP()ing the red value
so that it is in the 0-255 range. Fixes bug #470914.
svn path=/trunk/; revision=23386
2007-08-14 Sven Neumann <sven@gimp.org>
* libgimpwidgets/Makefile.am
* libgimpwidgets/gimpwidgets.h
* libgimpwidgets/gimpwidgetstypes.h
* libgimpwidgets/gimpcolorprofilecombobox.[ch]
* libgimpwidgets/gimpcolorprofilestore.[ch]
* libgimpwidgets/gimpcolorprofilestore-private.h: new widget to
select color profiles.
* libgimpwidgets/gimpwidgets.def: updated.
* app/widgets/gimpprofilechooserdialog.[ch]: remember the name of
the last previewed profile.
* app/dialogs/preferences-dialog.c: use the new color profile
combo-box.
* plug-ins/common/lcms.c: use the new color profile combo-box.
svn path=/trunk/; revision=23253
2007-08-14 Raphael Quinet <raphael@gimp.org>
* plug-ins/common/dicom.c
* plug-ins/common/psd-load.c
* plug-ins/common/sunras.c: applied patch from Nils Philippsen
that replaces several calls to g_error() by g_message() and
gimp_quit() so that GIMP does not complain when a plug-in exits.
Fixes bug #466610.
svn path=/trunk/; revision=23250
2007-08-11 Sven Neumann <sven@gimp.org>
* plug-ins/common/lcms.c (lcms_icc_apply): if the image has a
selection, save it, unset it and restore it after the
conversion.
svn path=/trunk/; revision=23214
2007-08-11 Sven Neumann <sven@gimp.org>
* menus/image-menu.xml.in: added "<Image>/Image/Mode/Color
Profile"
as a placeholder below the Image Mode radio items.
* plug-ins/common/lcms.c (query): register menu entries to
assign
and apply color profiles. Dialog implementation is still
missing...
svn path=/trunk/; revision=23211
2007-08-08 Sven Neumann <sven@gimp.org>
* plug-ins/common/lcms.c (lcms_image_get_profile): fixed a bug
that I introduced earlier today.
svn path=/trunk/; revision=23153
2007-08-07 Sven Neumann <sven@gimp.org>
* plug-ins/common/png.c (save_image): in the absence of an
embedded color profile, write the sRGB chunk.
svn path=/trunk/; revision=23135
2007-08-06 Sven Neumann <sven@gimp.org>
* plug-ins/common/svg.c (load_rsvg_pixbuf): set the base URI so
that librsvg can resolve relative paths.
svn path=/trunk/; revision=23122
2007-07-29 Sven Neumann <sven@gimp.org>
* plug-ins/common/tiff-load.c
* plug-ins/common/tiff-save.c: use g_open() to open the file.
Should fix filename encoding problems on Win32 (bug #461449).
svn path=/trunk/; revision=23061
2007-07-29 Sven Neumann <sven@gimp.org>
* plug-ins/common/lcms.c: also calculate the checksum when
loading
the RGB profile from disk (bug #456017).
svn path=/trunk/; revision=23060
2007-07-27 Sven Neumann <sven@gimp.org>
* plug-ins/common/jigsaw.c: applied patch from Aurimas Juška
that changes the Jigsaw plug-in to use a GimpAspectPreview
instead
of a GimpZoomPreview (bug #356716).
svn path=/trunk/; revision=23045
2007-07-26 Michael Natterer <mitch@gimp.org>
* plug-ins/common/xbm.c: change the default mask file suffix from
"_mask" to "-mask".
svn path=/trunk/; revision=23015
2007-07-20 Raphael Quinet <raphael@gimp.org>
* plug-ins/common/tga.c (ReadImage): added support for reading
indexed TGA images with transparency information in the colormap.
These images are now promoted to RGBA. Fixes bug #445559.
(save_image): save INDEXEDA images correctly instead of saving
uninitialized tile data to the file.
svn path=/trunk/; revision=22971
2007-07-16 Sven Neumann <sven@gimp.org>
* plug-ins/common/png.c: only register one save MIME handler.
Fixes bug #457045.
svn path=/trunk/; revision=22936
2007-07-12 Sven Neumann <sven@gimp.org>
* plug-ins/common/psd-load.c: don't divide by zero when loading
a
layer or mask with zero width or height. Fixes bug #456042.
svn path=/trunk/; revision=22915
2007-07-11 Sven Neumann <sven@gimp.org>
* plug-ins/common/lcms.c: clarify which procedures work with RGB
profiles and which accept profiles for other colorspaces.
Calculate MD5 checksums of the profile data excluding the header
and skip attempts to convert between identical profiles (bug #456017).
svn path=/trunk/; revision=22912
2007-07-06 Sven Neumann <sven@gimp.org>
* plug-ins/common/channel_mixer.c: minor layout tweak.
* libgimpwidgets/gimppreviewarea.c
(gimp_preview_area_set_colormap):
clear the colormap to all zeros before setting the new colors.
svn path=/trunk/; revision=22893
2007-07-06 Sven Neumann <sven@gimp.org>
* plug-ins/common/psd-load.c (do_layer_record): applied part of a
patch from John Marshall that fixes handling of the short layer
name (bug #445316).
svn path=/trunk/; revision=22888
2007-07-06 Mukund Sivaraman <muks@mukund.org>
* plug-ins/common/sunras.c: validate size values read from files
before using them to allocate memory.
svn path=/trunk/; revision=22885
2007-07-06 Mukund Sivaraman <muks@mukund.org>
* plug-ins/common/psd-load.c: validate size values read from files
before using them to allocate memory.
svn path=/trunk/; revision=22883
2007-07-05 Raphael Quinet <raphael@gimp.org>
* plug-ins/common/psd-load.c (do_layer_record): check for invalid
number of channels in a layer.
* plug-ins/common/pcx.c (load_image): check for invalid image
width or height.
* plug-ins/bmp/bmpread.c: check for invalid image width or height,
return if the image could not be read instead of trying to set the
resolution or to flip a non-existing image.
svn path=/trunk/; revision=22877
2007-07-04 Mukund Sivaraman <muks@mukund.org>
* plug-ins/common/psd-load.c: validate size values read from files
before using them to allocate memory.
svn path=/trunk/; revision=22863
2007-07-04 Mukund Sivaraman <muks@mukund.org>
* plug-ins/common/dicom.c: validate size values read from files
before using them to allocate memory.
svn path=/trunk/; revision=22862
2007-06-22 Sven Neumann <sven@gimp.org>
* plug-ins/common/align_layers.c: set the minimum grid size to 1.
Fixes bug #450001.
svn path=/trunk/; revision=22825
2007-06-21 Sven Neumann <sven@gimp.org>
* plug-ins/common/autocrop.c (autocrop): fixed an issue with the
fix for bug #413906.
svn path=/trunk/; revision=22810
2007-06-20 Sven Neumann <sven@gimp.org>
* plug-ins/common/animationplay.c: applied patch from Paul
Seidel
with further improvements to the playback speed control (bug
#338380).
svn path=/trunk/; revision=22809
2007-06-18 Sven Neumann <sven@gimp.org>
* app/file/file-open.c (file_open_from_command_line): use
gimp_message() for error handling.
* plug-ins/common/psd-load.c (seek_to_and_unpack_pixeldata):
check
channel dimensions to avoid potential integer overflow. Some
minor
cleanups to error messages.
svn path=/trunk/; revision=22796
2007-06-18 Sven Neumann <sven@gimp.org>
* plug-ins/common/animationplay.c: applied modified patch from
Paul Seidel that adds controls for the playback speed (bug
#338380).
svn path=/trunk/; revision=22794
2007-06-18 Sven Neumann <sven@gimp.org>
* plug-ins/common/oilify.c: applied patch from Daniel Richard G.
which adds a new PDB entry with more options and improves speed
and quality of the algorithm (bug #347075).
svn path=/trunk/; revision=22793
2007-06-16 Sven Neumann <sven@gimp.org>
* plug-ins/common/psd-save.c: applied patch from Eric Ross that
changes the PSD save plug-in to save an extra data block with
the
layer names in UCS-2 encoding (bug #447267).
svn path=/trunk/; revision=22790
2007-06-13 Mukund Sivaraman <muks@mukund.org>
* plug-ins/common/tiff-load.c: small fix to the previous commit
in how layers are skipped.
svn path=/trunk/; revision=22770
2007-06-13 Mukund Sivaraman <muks@mukund.org>
* plug-ins/common/tiff-load.c: don't load any layers from a TIFF
directory which don't match the mode of the first image in the TIFF
directory.
svn path=/trunk/; revision=22769
2007-06-12 Sven Neumann <sven@gimp.org>
* plug-ins/common/curve_bend.c: initialize the GtkAdjustment used
for the rotation angle; fixes bug #446681.
svn path=/trunk/; revision=22765
2007-06-12 Sven Neumann <sven@gimp.org>
* plug-ins/common/psd-load.c: applied slightly modified patch
from
Eric Ross that adds support for loading long layer names from
the
extra layer data section (bug #445316).
svn path=/trunk/; revision=22763
2007-06-09 Sven Neumann <sven@gimp.org>
* app/core/gimpimage-resize.[ch]: added
gimp_image_resize_to_selection().
* app/actions/image-actions.c
* app/actions/image-commands.[ch]
* app/widgets/gimphelp-ids.h
* menus/image-menu.xml.in: added an action and a menu item for
it.
Fixes bug #335672.
* plug-ins/common/align_layers.c: resolved a conflicting
mnemonic.
svn path=/trunk/; revision=22749
2007-06-05 Simon Budig <simon@gimp.org>
* plug-ins/common/tiff-load.c
* plug-ins/common/tiff-save.c: Implement the proposed scheme for
storing international path names in TIFF files.
svn path=/trunk/; revision=22712
2007-05-30 Mukund Sivaraman <muks@mukund.org>
* plug-ins/common/mail.c: Added format strings to dangerous
fprintf() calls without them which directly print variable data.
svn path=/trunk/; revision=22678
2007-05-30 Mukund Sivaraman <muks@mukund.org>
* plug-ins/common/compose.c: Specify maximum field width in
sscanf() to avoid buffer overflows.
svn path=/trunk/; revision=22673
2007-05-30 Mukund Sivaraman <muks@mukund.org>
* plug-ins/common/channel_mixer.c: Specify maximum field width in
fscanf() to avoid buffer overflows.
svn path=/trunk/; revision=22672
2007-05-25 Sven Neumann <sven@gimp.org>
* plug-ins/common/lens.c: applied patch from Aurimas Juška that
fixes use of the GimpZoomPreview widget (bug #356716).
svn path=/trunk/; revision=22621
2007-05-23 Tor Lillqvist <tml@novell.com>
* plug-ins/common/tiff-save.c (save_paths): Use memset() instead
of bzero().
svn path=/trunk/; revision=22591
2007-05-21 Sven Neumann <sven@gimp.org>
* app/pdb/gimpprocedure.c (gimp_procedure_validate_args): pass the
GimpProgress to gimp_message().
* plug-ins/common/bumpmap.c: reduced number of progress updates.
svn path=/trunk/; revision=22551
2007-05-17 Sven Neumann <sven@gimp.org>
* plug-ins/common/tiff-load.c: split code to get the page name
into a utility function.
svn path=/trunk/; revision=22527
2007-05-17 Simon Budig <simon@gimp.org>
* plug-ins/common/tiff-save.c: save the paths in the TIFF.
Please test interoperability with other programs.
* plug-ins/common/tiff-load.c: fix coordinate reading for
negative coordinates.
* app/config/gimpguiconfig.c: Show color swatches by default.
svn path=/trunk/; revision=22517
2007-05-16 Sven Neumann <sven@gimp.org>
* plug-ins/common/mblur.c: applied patch from Jörg Gittinger
that
improves the quality of the Motion Blur filter (bug #380435).
svn path=/trunk/; revision=22513
2007-05-11 Karine Delvare <edhel@gimp.org>
* plug-ins/common/illusion.c: use the new preview transform function,
see bug #356716.
svn path=/trunk/; revision=22473
2007-05-09 Karine Delvare <edhel@gimp.org>
* plug-ins/common/waves.c: use the new preview transform function,
see bug #356716.
svn path=/trunk/; revision=22463
2007-05-09 Sven Neumann <sven@gimp.org>
* plug-ins/common/lcms.c (lcms_icc_apply): improved handling of
attached non-RGB profiles.
* plug-ins/common/oilify.c: use GIMP_RGB_LUMINANCE() instead of
the self-made INTENSITY macro.
* plug-ins/common/tiff-load.c
* plug-ins/common/tiff-save.c: reduced number of progress
updates.
svn path=/trunk/; revision=22461
2007-05-08 Karine Delvare <edhel@gimp.org>
* plug-ins/common/flarefx.c: use the new preview transform function,
see bug #356716.
svn path=/trunk/; revision=22456
2007-05-07 Sven Neumann <sven@gimp.org>
* plug-ins/common/blur.c (blur_prepare_row): clamp to the first
row, not the second.
svn path=/trunk/; revision=22446
2007-05-06 Sven Neumann <sven@gimp.org>
* plug-ins/common/mapcolor.c: try to do something reasonable for
the empty source range (bug #436145).
svn path=/trunk/; revision=22441
2007-05-04 Sven Neumann <sven@gimp.org>
* plug-ins/common/autocrop.c (autocrop): crop the image, even if
the layer is fully opaque. Fixes bug #413906.
svn path=/trunk/; revision=22413
2007-05-04 Sven Neumann <sven@gimp.org>
* plug-ins/common/autocrop.c (guess_bgcolor): special case fully
transparent regions, just as we do in app/core/gimpimage-crop.c.
Fixes bug #357554.
* app/core/gimpimage-crop.c: cosmetics.
svn path=/trunk/; revision=22412
2007-05-04 Mukund Sivaraman <muks@mukund.org>
* plug-ins/common/fractaltrace.c: reduced the number of progress
updates.
svn path=/trunk/; revision=22406
2007-05-04 Sven Neumann <sven@gimp.org>
* plug-ins/common/gauss.c (gauss_rle): fixed a bug in my last change.
Also reduced the number of progress updates.
svn path=/trunk/; revision=22404
2007-05-03 Sven Neumann <sven@gimp.org>
* plug-ins/common/despeckle.c: applied patch from Geert Jordaens
plus some minor cleanups. Fixes bug #433251.
svn path=/trunk/; revision=22391
2007-05-02 Mukund Sivaraman <muks@mukund.org>
* plug-ins/common/svg.c: Make size loading work properly with
new librsvg versions.
* configure.in: bumped required librsvg version to 2.14.
svn path=/trunk/; revision=22382
2007-05-02 Sven Neumann <sven@gimp.org>
* plug-ins/common/poppler.c (load_dialog): set a size request on
the GimpPageSelector widget.
svn path=/trunk/; revision=22380
2007-04-27 Sven Neumann <sven@gimp.org>
* plug-ins/common/sunras.c (set_color_table): guard against a
possible stack overflow.
svn path=/trunk/; revision=22355
2007-04-27 Sven Neumann <sven@gimp.org>
* configure.in: depend on poppler-glib >= 0.4.1.
* plug-ins/common/poppler.c: removed ifdefs to handle older
versions of the poppler library. Removed "antialias" toggle from
the procedure API and from the GUI; it's not supported by poppler.
svn path=/trunk/; revision=22353
2007-04-26 Mukund Sivaraman <muks@mukund.org>
* plug-ins/common/tiff-save.c: disabled the layer offsets saving
code. This can be re-enabled in 2.6, when the load plug-in is
patched to support these saved offsets.
* plug-ins/common/tiff-load.c: marked the code for the above
with a TODO comment.
svn path=/trunk/; revision=22344
2007-04-25 Mukund Sivaraman <muks@mukund.org>
* plug-ins/common/tiff-load.c: set a different filename when
the number of pages loaded is lower than the number of pages
in the TIFF file.
svn path=/trunk/; revision=22334
2007-04-25 Mukund Sivaraman <muks@mukund.org>
* plug-ins/common/tiff-load.c: set the filename to the original
filename in case of single-page loads.
svn path=/trunk/; revision=22333
2007-04-25 Mukund Sivaraman <muks@mukund.org>
* plug-ins/common/tiff-load.c: moved the non-interactive check out
of load_dialog() and into run().
svn path=/trunk/; revision=22331
2007-04-25 Mukund Sivaraman <muks@mukund.org>
* plug-ins/common/tiff-load.c
* plug-ins/common/tiff-save.c: fixed the names of the plug-in binary
in PLUG_IN_BINARY.
svn path=/trunk/; revision=22324
2007-04-25 Mukund Sivaraman <muks@mukund.org>
* plug-ins/common/tiff-load.c
* plug-ins/common/tiff-save.c
* plug-ins/common/plugin-defs.pl
* plug-ins/common/Makefile.am
* configure.in
* po-plug-ins/POTFILES.in: split TIFF load and save functionality
into different plug-ins.
* plug-ins/common/mkgen.pl: modified to allow plug-ins to override
auto-generated library env; also use underscores instead of hyphens
in the generated Makefile.am.
* plug-ins/common/tiff.c: removed.
svn path=/trunk/; revision=22323
2007-04-25 Sven Neumann <sven@gimp.org>
* libgimpwidgets/gimpscrolledpreview.c: also use the middle mouse
button for panning.
* plug-ins/common/nova.c: override the default mouse handling of
the GimpScrolledPreview and allow to reposition the center using
the left mouse button. Fixes bug #364432.
* app/tools/gimprectangletool.c: formatting.
svn path=/trunk/; revision=22319
2007-04-25 Mukund Sivaraman <muks@mukund.org>
* plug-ins/common/tiff.c: initialize the pages[] array with
the page sequence for non-niteractive runs. Otherwise it'll
simply load N copies of page 0.
svn path=/trunk/; revision=22316
2007-04-25 Mukund Sivaraman <muks@mukund.org>
* plug-ins/common/tiff.c: fixed an issue where the page selection
dialog was being shown even for non-interactive runs.
svn path=/trunk/; revision=22315
2007-04-24 Mukund Sivaraman <muks@mukund.org>
* plug-ins/common/tiff.c: added support to load multi-page TIFF
images as single layered image or multiple individual per-page
images, after prompting the user for choice using a
GimpPageSelector widget. Fixes the rest of bug #138495.
svn path=/trunk/; revision=22314
2007-04-24 Mukund Sivaraman <muks@mukund.org>
* plug-ins/common/poppler.c: set the page selector target
from lastvals before showing the dialog
svn path=/trunk/; revision=22312
2007-04-24 Sven Neumann <sven@gimp.org>
* plug-ins/common/screenshot.c: unset 'show-border' on the
GtkNotebook that holds the hints.
svn path=/trunk/; revision=22305
2007-04-17 Sven Neumann <sven@gimp.org>
* plug-ins/common/fp.c (fp_render_preview): removed a
conditional
that has become obsolete now. Fixed indentation.
svn path=/trunk/; revision=22269
2007-04-17 Sven Neumann <sven@gimp.org>
* plug-ins/common/fp.c: deal better with drawables that are not
the same size as the image. Fixes bug #430455.
svn path=/trunk/; revision=22266
2007-04-17 Michael Natterer <mitch@gimp.org>
* plug-ins/common/gqbist.c: applied slightly modified patch from
Aurimas Juška which adds an undo button to go back to the previous
state. Fixes bug #356662.
svn path=/trunk/; revision=22261
2007-04-12 Sven Neumann <sven@gimp.org>
* plug-ins/common/channel_mixer.c
* plug-ins/gfig/gfig-style.c: get rid of compiler warnings about
dereferencing type-punned pointers.
svn path=/trunk/; revision=22239
2007-03-31 Michael Schumacher <schumaml@cvs.gnome.org>
* plug-ins/common/svg.c:
* plug-ins/common/tiff.c:
* plug-ins/common/wmf.c:
* plug-ins/jpeg/jpeg-load.c: some file load plug-ins did call
gimp_quit() in their load functions. This aborts the plug-in
instead of returning a GIMP_PDB_EXECUTION_ERROR. The run()
function in each plug-in was already prepared to do this on
errors.
svn path=/trunk/; revision=22212
2007-03-26 Michael Schumacher <schumaml@cvs.gnome.org>
* plug-ins/common/compressor.c (save_image, load_image):
Check if the files to be read or written and the temporary files
have been opened. Otherwise, bail out safely instead of causing a
crash. Fixes bug #422444.
svn path=/trunk/; revision=22175
2007-03-21 Martin Nordholts <martin@svn.gnome.org>
* plug-ins/common/svg.c (run): Added comment to explain why the
svg file provided resolution is not clamped against
GIMP_MIN/MAX_RESOLUTION.
svn path=/trunk/; revision=22159
2007-03-19 Michael Natterer <mitch@gimp.org>
* app/actions/plug-in-actions.c
* app/menus/plug-in-menus.c: GimpPlugInProcedure has a boolean
member "file_proc" now, use it instead of checking prefixes,
extensions and magics manually.
* app/plug-in/gimppluginprocedure.c
(gimp_plug_in_procedure_set_mime_type)
(gimp_plug_in_procedure_set_thumb_loader): set
plug_in_proc->file_proc to TRUE here too.
* plug-ins/common/pnm.c: register "image/x-portable-anymap" as
mime-type and "pnm" as extension for file-pnm-save so it's
recognized as file procedure.
svn path=/trunk/; revision=22152
2007-03-17 Michael Natterer <mitch@gimp.org>
* app/file/file-utils.c (file_check_single_magic): alow negative
offsets in magics and interpret them as relative to the end of the
file.
(file_utils_find_proc)
(file_check_magic_list): some cleanup.
* plug-ins/common/tga.c (query): register the magic string
"TRUEVISION-XFILE.\0" 18 bytes before the end of the file.
This way, "new style" TGA files are detected regardless of
their filename. "old style" TGA files still need the right
extension to be treated as TGA. Added "vda", "icb" and "vst"
to the list of extensions. Fixes bug #133798.
svn path=/trunk/; revision=22138
2007-03-16 Michael Natterer <mitch@gimp.org>
Fix stuck progress bars (bug #393832):
* app/plug-in/gimpplugin-progress.[ch] (gimp_plug_in_progress_end):
added PlugInProcFrame parameter instead of blindly using the topmost
in the procedure stack...
* app/plug-in/gimppluginprocframe.c
(gimp_plug_in_proc_frame_dispose): ...because we call it from here,
when the proc_frame is already removed from the procedure stack.
Unrelated:
* plug-ins/script-fu/scripts/difference-clouds.scm: use
RUN-INTERACTVE instead of 0, added (gimp-displays-flush)
* plug-ins/common/snoise.c (solid_noide): update the progress to
1.0 after rendering.
svn path=/trunk/; revision=22131
2007-03-04 Kevin Cozens <kcozens@cvs.gnome.org>
* plug-ins/common/psd.c: De-tabified. Fixed limit checks on resource
ID's used for path data. Added comments showing decimal value of image
resource ID's
* plug-ins/common/psd_save.c: De-tabified. Added support for layer
modes HARDLIGHT_MODE and SOFTLIGHT_MODE. Added comments showing
decimal value of image resource ID's
svn path=/trunk/; revision=22043
2007-03-01 João S. O. Bueno Calligaris <gwidon@mpc.com.br>
* plug-ins/common/postscript.c: add callback to resolution
changes in the postscipt load dialog to update the image size
in pixels.
svn path=/trunk/; revision=22035
2007-02-23 Tor Lillqvist <tml@novell.com>
* plug-ins/common/psd.c: Inspired by mail from a user, improve
some error messages to be more informative. Use g_message()
instead of plain printf() in a couple of places in situations that
probably are commonly encountered. (There are probably still more
of such printf() calls in the code.) gimp_quit() doesn't return,
not need to do anything else after calling it.
svn path=/trunk/; revision=21982
2007-02-20 Sven Neumann <sven@gimp.org>
* plug-ins/common/screenshot.c: reworked shape support. Instead of
fiddling with pixbuf pixels, do most of the work in the core.
svn path=/trunk/; revision=21960
2007-02-19 Sven Neumann <sven@gimp.org>
* plug-ins/common/psd_save.c: check the return value of
gimp_image_flatten(). Fixes the crash reported in bug #395385.
svn path=/trunk/; revision=21950
2007-02-18 Michael Natterer <mitch@gimp.org>
* app/text/gimptext-parasite.c
* plug-ins/flame/libifs.c: use g_strtod() instead of atof()
because these files have to parse strings that never had a clearly
specified format.
* plug-ins/script-fu/tinyscheme/scheme.c
* plug-ins/imagemap/imap_cern.l
* plug-ins/imagemap/imap_csim.l
* plug-ins/imagemap/imap_csim.y
* plug-ins/imagemap/imap_ncsa.l: use g_ascii_strtod() instead of
atof() because scheme code and imagemap files with wrong decimal
separators are clearly broken and should be rejected.
* plug-ins/imagemap/imap_cern_lex.c
* plug-ins/imagemap/imap_csim_lex.c
* plug-ins/imagemap/imap_csim_parse.c
* plug-ins/imagemap/imap_ncsa_lex.c: regenerated.
* plug-ins/common/sample_colorize.c: round numbers using sane code
instead of sprintf() and atod().
* plug-ins/Lighting/lighting_ui.c: removed some dead code.
svn path=/trunk/; revision=21942
2007-02-18 Mukund Sivaraman <muks@mukund.org>
* plug-ins/common/png.c: Moved an invariant (in the last
changeset to this file) out of the loop.
svn path=/trunk/; revision=21935
2007-02-16 Sven Neumann <sven@gimp.org>
* libgimp/gimp.c: let gimp_gamma() return 2.2 and document the
fact that this is a fixed value and that all pixel data is in the
sRGB colorspace.
* plug-ins/common/mng.c: removed check for gimp_gamma() returning 1.0.
svn path=/trunk/; revision=21927
2007-02-16 Sven Neumann <sven@gimp.org>
* plug-ins/common/lcms.c: added a button icon and fixed use of
gtk_vbox_new().
svn path=/trunk/; revision=21926
2007-02-15 Sven Neumann <sven@gimp.org>
* plug-ins/common/screenshot.c: for shaped windows, add an alpha
channel and erase pixels outside the shape.
svn path=/trunk/; revision=21922
2007-02-14 Sven Neumann <sven@gimp.org>
* plug-ins/common/tiff.c: added CCITT Group 3 and 4 compression
schemes to TIFF save plug-in. These modes are selectable for
indexed image with a b/w colormap only. Fixes bug #162119 with
the
help of Manfred Joerg.
svn path=/trunk/; revision=21915