2007-08-11 Raphael Quinet <raphael@gimp.org>
* plug-ins/jpeg/jpeg-save.c (save_dialog): use a more
understandable label and a tooltip for the option enabling custom
quantization tables.
svn path=/trunk/; revision=23199
2007-08-10 Raphael Quinet <raphael@gimp.org>
* plug-ins/jpeg/jpeg.[ch]
* plug-ins/jpeg/jpeg-save.[ch]: in the JPEG save dialog, removed
the option "Force baseline JPEG" and added the new option "Use
custom quantization tables" to allow resaving a JPEG file with the
same compression settings as the original file. This is useful if
the quantization tables are different from those that can be
created by the IJG JPEG library.
* plug-ins/jpeg/jpeg-settings.[ch]: updated comments, changed the
return type of jpeg_restore_original_tables() because the IJG JPEG
library expects unsigned integers.
svn path=/trunk/; revision=23197
2007-08-09 Sven Neumann <sven@gimp.org>
* plug-ins/print/print-preview.[ch]: while dragging the preview
image, draw only an outline.
svn path=/trunk/; revision=23168
2007-08-09 Sven Neumann <sven@gimp.org>
* plug-ins/print/print-page-layout.c: fixed the behavior when
changing the unit.
svn path=/trunk/; revision=23164
2007-08-08 Sven Neumann <sven@gimp.org>
* plug-ins/print/print-page-layout.c
* plug-ins/print/print.c: tweaked layout and changed labels to
the
terms used in the EOG print dialog.
svn path=/trunk/; revision=23160
2007-08-08 Sven Neumann <sven@gimp.org>
* plug-ins/print/print.[ch]
* plug-ins/print/print-page-layout.c
* plug-ins/print/print-settings.c: replaced the two Center
buttons
with a combo-box.
svn path=/trunk/; revision=23159
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/print/print-page-layout.c: added entries for the right
and bottom margins. Use the unit from the image size entry.
svn path=/trunk/; revision=23138
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-07 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/script-fu-scripts.c (script_fu_menu_map):
added more mappings from old to new Script-Fu menu locations.
svn path=/trunk/; revision=23128
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-08-03 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/script-fu-scripts.c (script_fu_menu_map):
added a map from old to new Script-Fu submenus (to be extended).
svn path=/trunk/; revision=23111
2007-08-02 Raphael Quinet <raphael@gimp.org>
* plug-ins/jpeg/jpegqual.c: added many options, added a list of
known quantization tables to make comparisons and identification
of JPEG files easier.
svn path=/trunk/; revision=23101
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-27 Raphael Quinet <raphael@gimp.org>
* plug-ins/jpeg/jpeg-quality.c (jpeg_detect_quality): simplify the
formula so that it returns a slightly lower estimated quality when
there is no exact match with the IJG quantization tables.
svn path=/trunk/; revision=23041
2007-07-27 Raphael Quinet <raphael@gimp.org>
* plug-ins/jpeg/jpeg.[ch]
* plug-ins/jpeg/jpeg-save.c (save_dialog): Make the "Save XMP
data" checkbox insensitive if there is no XMP packet to save.
svn path=/trunk/; revision=23019
2007-07-26 Raphael Quinet <raphael@gimp.org>
* plug-ins/jpeg/Makefile.am
* plug-ins/jpeg/jpeg-quality.[ch]
* plug-ins/jpeg/jpeg-settings.[ch]: new files including functions
for detecting the quality setting of existing JPEG files by
analyzing their quantization tables, functions for storing this
quality and other JPEG settings in a parasite, and functions for
restoring these values.
* plug-ins/jpeg/jpeg-load.c (load_image): save the original JPEG
settings in a parasite after reading the JPEG header.
* plug-ins/jpeg/jpeg.c (run): restore the original JPEG settings
if they had been attached to a parasite and if they are better
than the defaults.
* plug-ins/jpeg/jpeg-save.c (save_image): added new type of
subsampling 1x2,1x1,1x1, which is useful for images with height >
width such as rotated images from some cameras.
(save_dialog): added hints about how the subsampling types can be
used, marked these strings as translatable.
* plug-ins/jpeg/jpegqual.c: new utility to report the quality
settings and sampling factors of existing JPEG files.
svn path=/trunk/; revision=23018
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-26 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/scripts/Makefile.am: moved contactsheet.scm
to test_SCRIPTS. We should look at it again after the 2.4 release.
svn path=/trunk/; revision=23010
2007-07-26 Sven Neumann <sven@gimp.org>
* plug-ins/print/print-page-layout.c
* plug-ins/print/print-settings.c: applied patch from Stefan
Röllin to save and restore the use-full-page setting (bug
#387604).
svn path=/trunk/; revision=23009
2007-07-25 Sven Neumann <sven@gimp.org>
* plug-ins/print/print.c: only show an error dialog if being
called interactively.
svn path=/trunk/; revision=23007
2007-07-25 Sven Neumann <sven@gimp.org>
* plug-ins/print/print-draw-page.c (draw_page_cairo): reverted
last change. Instead reimplemented the drawing to fetch the pixels
directly into the cairo image surface.
svn path=/trunk/; revision=22998
2007-07-25 Sven Neumann <sven@gimp.org>
* plug-ins/print/print-draw-page.c (draw_page_cairo): push a group
around the image surface fills. This seems to get rid of the white
stripes in the output.
svn path=/trunk/; revision=22997
2007-07-25 Sven Neumann <sven@gimp.org>
* plug-ins/print/print.c (run): always call gimp_ui_init(), we need
funtionality from GTK+, even if called non-interactively.
svn path=/trunk/; revision=22996
2007-07-25 Sven Neumann <sven@gimp.org>
* tools/pdbgen/pdb/progress.pdb: added new procedure gimp-progress-end.
* app/pdb/progress_cmds.c
* app/pdb/internal_procs.c
* libgimp/gimpprogress_pdb.[ch]: regenerated.
* plug-ins/print/print.[ch]
* plug-ins/print/print-settings.[ch]: end the progress and save
the settings from the "end-print" handler. The plug-in then
appears finished but keeps running in the background until it has
finished the print operation.
svn path=/trunk/; revision=22994
2007-07-25 Sven Neumann <sven@gimp.org>
* plug-ins/print/print.c: delete the export image from the
"end-print" handler.
svn path=/trunk/; revision=22993
2007-07-24 Sven Neumann <sven@gimp.org>
* plug-ins/print/print-page-layout.c: applied patch from Stefan
Röllin to restore image offsets (bug #387604).
svn path=/trunk/; revision=22986
2007-07-24 Sven Neumann <sven@gimp.org>
* plug-ins/print/print-draw-page.c (create_surface_from_rgba):
use integer arithmetic to do the compositing.
svn path=/trunk/; revision=22985
2007-07-24 Sven Neumann <sven@gimp.org>
* plug-ins/imagemap/imap_main.c (main_set_title): use
g_filename_display_basename() instead of g_path_get_basename().
svn path=/trunk/; revision=22983
2007-07-24 Sven Neumann <sven@gimp.org>
* plug-ins/print/print.c: if we created an export image, delete
it as soon as possible so it isn't left behind if the user kills
the plug-in later because of printer problems.
svn path=/trunk/; revision=22980
2007-07-23 Sven Neumann <sven@gimp.org>
* plug-ins/print/print.[ch]
* plug-ins/print/print-page-layout.c
* plug-ins/print/print-settings.[ch]: removed image_ID from the
PrintData struct and made sure that the parasites are read from
and attached to the original image, not the export image.
svn path=/trunk/; revision=22978
2007-07-23 Sven Neumann <sven@gimp.org>
* plug-ins/print/print.c (print_image): only delete the image if
gimp_export_image() actually created a new one.
svn path=/trunk/; revision=22975
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-20 Sven Neumann <sven@gimp.org>
Applied another patch from Stefan Röllin:
* plug-ins/print/print-page-layout.c: align buttons.
svn path=/trunk/; revision=22970
2007-07-20 Sven Neumann <sven@gimp.org>
* libgimpwidgets/gimpoffsetarea.c
* plug-ins/print/print-preview.c: set a cursor to indicate that
the area is interactive.
* plug-ins/print/print-page-layout.c: minor dialog tweaks.
svn path=/trunk/; revision=22963
2007-07-20 Sven Neumann <sven@gimp.org>
Applied patch from Stefan Röllin attached to bug #387604:
* plug-ins/print/print-draw-page.c: take offsets into account.
svn path=/trunk/; revision=22962
2007-07-20 Raphael Quinet <raphael@gimp.org>
* plug-ins/faxg3/faxg3.c (query): changed the magic string to
"Research" starting at offset 4 (this also matches the longer
string "PC Research, Inc" starting at offset 1). Addresses a part
of bug #445559.
svn path=/trunk/; revision=22960
2007-07-19 Sven Neumann <sven@gimp.org>
Applied patch from Stefan attached to bug #387604:
* plug-ins/print/Makefile.am
* plug-ins/print/print-preview.[ch]: new files implementing a
print preview similar to GimpOffsetArea.
* plug-ins/print/print.[ch]
* plug-ins/print/print-page-layout.c
* plug-ins/print/print-settings.c: adds GUI to adjust the
offsets.
svn path=/trunk/; revision=22959
2007-07-17 Raphael Quinet <raphael@gimp.org>
Reorganized the way JPEG comments and metadata are loaded.
* plug-ins/jpeg/jpeg-load.c (load_image): sanitize comments
containing invalid UTF-8 instead of discarding them. If there is
more than one EXIF block in a file, merge all of them instead of
keeping only the block that contains a thumbnail image (see also
bug #446809 and bug #358117). Process XMP after EXIF.
* plug-ins/jpeg/jpeg.h: include two null characters as part of the
EXIF header.
* plug-ins/jpeg/jpeg-exif.c: added jpeg_exif_get_orientation(),
removed jpeg_apply_exif_data_to_image() because this is now done
directly in jpeg-load.c.
* plug-ins/jpeg/jpeg-icc.c
* plug-ins/jpeg/jpeg-icc.h: removed jpeg_icc_setup_read_profile()
svn path=/trunk/; revision=22949
2007-07-17 Raphael Quinet <raphael@gimp.org>
* plug-ins/jpeg/jpeg-exif.c (jpeg_setup_exif_for_save): include
GIMP version number in the EXIF "software" tag. This makes it
easier to debug issues related to metadata.
svn path=/trunk/; revision=22945
2007-07-16 Sven Neumann <sven@gimp.org>
* plug-ins/uri/uri.c
* plug-ins/uri/uri-backend.h: get the procedure help strings from
the backend abstraction.
* plug-ins/uri/uri-backend-gnomevfs.c
* plug-ins/uri/uri-backend-libcurl.c
* plug-ins/uri/uri-backend-wget.c: provide help strings.
svn path=/trunk/; revision=22937
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-10 Kevin Cozens <kcozens@cvs.gnome.org>
* plug-ins/script-fu/scripts/3dTruchet.scm: TinyScheme doesn't like
inexact numbers to start with a decimal point. Added leading '0' to
two instances of '.2'.
svn path=/trunk/; revision=22908
2007-07-10 Sven Neumann <sven@gimp.org>
* plug-ins/jpeg/jpeg.c
* plug-ins/jpeg/jpeg-save.[ch]: fixed an issue with the latest
changes. Now "Load Defaults" does also work if "Save Defaults"
wasn't used before.
svn path=/trunk/; revision=22907
2007-07-09 Sven Neumann <sven@gimp.org>
* plug-ins/jpeg/jpeg.c (run): when the save procedure is being
called with GIMP_RUN_WITH_LAST_VALS and the image doesn't have
the
"jpeg-save-options" parasite set, show the dialog to give the
user
control over the JPEG encoding parameters.
svn path=/trunk/; revision=22905
2007-07-08 Sven Neumann <sven@gimp.org>
* plug-ins/jpeg/jpeg.c
* plug-ins/jpeg/jpeg-save.[ch]: applied patch from Etienne which
adds configurable default parameters similar to the PNG save
plug-in.
Addresses bug #63610.
svn path=/trunk/; revision=22895
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-20 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/scheme-wrapper.c (init_constants): hardcode
the built-in units. Dynamically constructing the constants using
gimp_unit_get_singular() doesn't work because it returns a
translated string.
svn path=/trunk/; revision=22804
2007-06-20 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/script-fu-console.c (script_fu_cc_key_function):
applied patch from Eric Lamarque with some minor modifications.
Fixes the remaining aspect of bug #438997.
svn path=/trunk/; revision=22803
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-15 Mukund Sivaraman <muks@mukund.org>
* plug-ins/gfig/gfig-dobject.c: prepend instead of appending to
list (patch written earlier).
svn path=/trunk/; revision=22786
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 Raphael Quinet <raphael@gimp.org>
* plug-ins/jpeg/jpeg-load.c (load_image): Instead of passing any
file to libexif blindly, check first that some JPEG APP1 marker
contains the EXIF header.
* plug-ins/jpeg/jpeg-exif.c (jpeg_apply_exif_data_to_image):
removed the tests that were checking for the presense of some EXIF
tags such as the EXIF version before deciding if the data should
be processed or not (bug #446809).
svn path=/trunk/; revision=22766
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-08 Kevin Cozens <kcozens@cvs.gnome.org>
* plug-ins/script-fu/tinyscheme/scheme.h: Applied patch from Daniel
Richard G. that defines SCHEME_EXPORT as extern for non-Windows
systems. Fixes bug #444964.
svn path=/trunk/; revision=22747
2007-06-05 Michael Natterer <mitch@gimp.org>
* plug-ins/helpbrowser/dialog.c (browser_dialog_goto_index): don't
expand the row we are going to, only its parent node.
svn path=/trunk/; revision=22714
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-06-05 Michael Natterer <mitch@gimp.org>
* plug-ins/helpbrowser/dialog.[ch] (browser_dialog_goto_index):
new function which takes an uri and selects its item from the
index tree.
* plug-ins/helpbrowser/helpbrowser.c (temp_proc_run): use it to
select the right tree item when invoked from gimp.
svn path=/trunk/; revision=22710
2007-06-05 Michael Natterer <mitch@gimp.org>
* plug-ins/helpbrowser/dialog.c: keep a reverse mapping
uri -> GtkTreeIter around and use it to select the currently
displayed help page in the index tree.
svn path=/trunk/; revision=22709
2007-06-03 Kevin Cozens <kcozens@cvs.gnome.org>
* plug-ins/script-fu/scripts/round-corners.scm: Removed spurious
call to 'gimp-image-undo-disable'. From a patch by Saul Goode.
svn path=/trunk/; revision=22697
2007-05-31 Mukund Sivaraman <muks@mukund.org>
* plug-ins/gfig/gfig.c: Specify maximum field width in sscanf() to
avoid buffer overflows.
svn path=/trunk/; revision=22682
2007-05-31 Mukund Sivaraman <muks@mukund.org>
* plug-ins/gfig/gfig-style.c: Specify maximum field width in
sscanf() to avoid buffer overflows.
svn path=/trunk/; revision=22680
2007-05-31 Mukund Sivaraman <muks@mukund.org>
* plug-ins/gflare/gflare.c: Specify maximum field width in
fscanf() to avoid buffer overflows.
svn path=/trunk/; revision=22679
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/gfig/gfig-style.c: Use a macro for size of style text
entries array.
svn path=/trunk/; revision=22677
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-30 Mukund Sivaraman <muks@mukund.org>
* plug-ins/gfig/gfig-style.c: Check and handle case where number of
style items read can overflow the buffer.
svn path=/trunk/; revision=22671
2007-05-30 Mukund Sivaraman <muks@mukund.org>
* plug-ins/gfig/gfig-style.c: Replaced use of g_new()+strcpy() with
g_strdup().
svn path=/trunk/; revision=22670
2007-05-30 Mukund Sivaraman <muks@mukund.org>
* plug-ins/xjt/xjt.c: Replaced use of g_malloc()+strcpy() with
g_strdup().
svn path=/trunk/; revision=22668
2007-05-30 Sven Neumann <sven@gimp.org>
* plug-ins/imagemap/imap_file.c (do_file_save_as_dialog): set a
filename based on the image name. Based on a patch from Kevin
Hurewitz (bug #317916).
* plug-ins/twain/tw_mac.c: don't use C++ style comments.
svn path=/trunk/; revision=22658
2007-05-25 Kevin Cozens <kcozens@cvs.gnome.org>
* plug-ins/script-fu/script-fu-text-console.c
* plug-ins/script-fu/script-fu.c
* plug-ins/script-fu/scheme-wrapper.c
* plug-ins/script-fu/scheme-wrapper.h: Applied slightly modified
patch from Eric Lamarque that makes use of TinyScheme's interactive
mode for the text console in Script-Fu. Fixes bug #440674.
svn path=/trunk/; revision=22622
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-25 Kevin Cozens <kcozens@cvs.gnome.org>
* plug-ins/script-fu/Makefile.am: Missed commit of this file.
* plug-ins/script-fu/scheme-wrapper.h:
* plug-ins/script-fu/scheme-wrapper.c (ts_output_string): Updated
to expect a 'const char *' and an int but no file pointer.
* plug-ins/script-fu/tinyscheme/scheme.c:
* plug-ins/script-fu/tinyscheme/scheme.h: Changes due to use of
'const char *' for ts_output_routine.
svn path=/trunk/; revision=22620
2007-05-25 Kevin Cozens <kcozens@cvs.gnome.org>
This is the first part of fixing bugs #438997 and #440674.
* plug-ins/script-fu/scheme-wrapper.c: Removed ts_output_routine
declaration from here...
* plug-ins/script-fu/tinyscheme/scheme.h: and added it here.
* plug-ins/script-fu/tinyscheme/scheme.c (putchars): Updated to be
smarter about where it's output needs to be sent.
svn path=/trunk/; revision=22619
2007-05-25 Sven Neumann <sven@gimp.org>
* plug-ins/imagemap/imap_main.c
* plug-ins/imagemap/imap_object.[ch]: applied patch from Kevin
Hurewitz that adds keyboard control for resizing an area (bug
#439226).
svn path=/trunk/; revision=22609
2007-05-24 Manish Singh <yosh@gimp.org>
* plug-ins/pygimp/pygimp-display.c (pygimp_display_new): return None
if we're passed an ID of -1, like the other GIMP object constructors.
svn path=/trunk/; revision=22608
2007-05-24 Manish Singh <yosh@gimp.org>
* plug-ins/pygimp/pygimp-display.c: remove the delete method, PyGimp
objects are supposed to be deleted via gimp.delete()
svn path=/trunk/; revision=22607
2007-05-24 Sven Neumann <sven@gimp.org>
* plug-ins/pygimp/pygimp-display.c: added an ID attribute and a
delete method to the Gimp.Display object.
* plug-ins/pygimp/gimpshelf.py (_display_id): use the ID
attribute.
* plug-ins/pygimp/gimpfu.py: enabled support for PF_DISPLAY.
svn path=/trunk/; revision=22605
2007-05-23 Sven Neumann <sven@gimp.org>
* plug-ins/imagemap/imap_cmd_move_sash.c (sash_move): applied
patch from Kevin Hurewitz that fixes resizing an area while being
zoomed in (bug #439222).
svn path=/trunk/; revision=22593
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 Kevin Cozens <kcozens@cvs.gnome.org>
* plug-ins/script-fu/tinyscheme/scheme.c: Applied patch from
Eric Lamarque that optimizes backchar() use. See bug #374854.
svn path=/trunk/; revision=22528
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 Michael Natterer <mitch@gimp.org>
* app/widgets/gimpthumbbox.c
* libgimp/gimpprogressbar.c
* plug-ins/script-fu/script-fu-interface.c: use Gtk functions to
manually iterate the main loop because they release the Gdk lock
correctly around calling the GLib main loop functions.
svn path=/trunk/; revision=22516
2007-05-16 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/script-fu-interface.c
(script_fu_interface):
readded (better) code to deal with full menu paths.
svn path=/trunk/; revision=22515
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-16 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/script-fu-interface.c (script_fu_interface):
removed code that used to deal with full menu paths. All our
scripts use script-fu-menu-register now.
svn path=/trunk/; revision=22512
2007-05-15 Kevin Cozens <kcozens@cvs.gnome.org>
* plug-ins/script-fu/scripts/contactsheet.scm: Use 'img' and not
'new-img' in make-thumbnail-size routine. Moved menu entry from
Xtns/Utils to Xtns/Utilities. See bug #132532.
svn path=/trunk/; revision=22497
2007-05-15 Kevin Cozens <kcozens@cvs.gnome.org>
* plug-ins/script-fu/scheme-wrapper.c (marshall_proc_db_call): Allow
any number type in a vector to be passed in PDB call as an INT*ARRAY.
Updated error messages accordingly. Fixes bug #435640.
svn path=/trunk/; revision=22495
2007-05-15 Sven Neumann <sven@gimp.org>
* plug-ins/helpbrowser/dialog.c (browser_dialog_open): don't show
the window yet. The user might not have the help pages installed.
* plug-ins/helpbrowser/wilber-reading.png: use the new style Wilber.
svn path=/trunk/; revision=22493
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-10 Sven Neumann <sven@gimp.org>
* plug-ins/imagemap/imap_main.[ch]
* plug-ins/imagemap/imap_menu.c
* plug-ins/imagemap/imap_command.c: finished port of Undo and
Redo
menus to GtkAction. Closes bug #138841.
svn path=/trunk/; revision=22468
2007-05-10 Manish Singh <yosh@gimp.org>
* plug-ins/pygimp/gimpfu.py: remove parameter definition special
casing that was based on menu and plugin types. Instead expect the
script to specify all its parameters in its register call, and hide
the UI elements for the parameters we are already passed in
interactive mode. For compatibilty, this is only turned on when you
specify the "menu" named argument in the register call, or if you
pass
an empty label. This should fix bug #104639.
* plug-ins/pygimp/plug-ins/clothify.py
* plug-ins/pygimp/plug-ins/colorxhtml.py
* plug-ins/pygimp/plug-ins/foggify.py
* plug-ins/pygimp/plug-ins/py-slice.py
* plug-ins/pygimp/plug-ins/shadow_bevel.py
* plug-ins/pygimp/plug-ins/whirlpinch.py: update to register image
* and
drawable parameters explicitly.
svn path=/trunk/; revision=22467
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-09 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/script-fu-console.c
(script_fu_browse_response):
focus the console entry, set the cursor position to the first
parameter and present the console window.
svn path=/trunk/; revision=22460
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-07 Sven Neumann <sven@gimp.org>
* plug-ins/fits/fitsrw.c
* plug-ins/fits/fits.c: applied modified patch from Peter
Kirchgessner. Fixes creation of the last data record and makes
handling of float values independent of the locale (bug
#351656).
svn path=/trunk/; revision=22444
2007-05-06 Sven Neumann <sven@gimp.org>
* plug-ins/pygimp/gimpfu.py: don't add the radiobuttons into a
GtkFrame.
* plug-ins/pygimp/plug-ins/sphere.py: added a PF_RADIO parameter
as an example and for testing purposes.
svn path=/trunk/; revision=22442
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-06 Sven Neumann <sven@gimp.org>
* plug-ins/helpbrowser/dialog.c: start with a reasonable size
and
paned position and remember the window size and paned position
at
least within a GIMP session.
svn path=/trunk/; revision=22439
2007-05-06 Sven Neumann <sven@gimp.org>
* configure.in: require libexif >= 0.6.0.
* plug-ins/jpeg/gimpexif.[ch]: removed
gimp_exif_entry_get_value()
which was needed to work with libexif < 0.6.0.
* plug-ins/jpeg/jpeg.c: declare the global ExifData here instead
of in gimpexif.c.
* plug-ins/jpeg/jpeg-exif.c: cosmetics.
svn path=/trunk/; revision=22436
2007-05-06 Sven Neumann <sven@gimp.org>
* plug-ins/jpeg/jpeg-exif.c (jpeg_apply_exif_data_to_image):
only
check for EXIF_TAG_GPS_VERSION_ID if it's defined (see bug
#377917).
This tag was added in libexif 0.6.13.
svn path=/trunk/; revision=22435
2007-05-05 Simon Budig <simon@gimp.org>
* tools/pdbgen/pdb/edit.pdb: make gimp-edit-paste-as-new not fail
at an empty clipboard, but return -1 as image id.
* app/pdb/edit_cmds.c
* libgimp/gimpedit_pdb.c: regenerated.
* plug-ins/script-fu/scripts/paste-as-brush.scm
* plug-ins/script-fu/scripts/paste-as-pattern.scm: Changed
accordingly, fixes bug #357059.
* modules/controller_linux_input.c: changed some axis names to
make more sense.
svn path=/trunk/; revision=22429
2007-05-04 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/scripts/contactsheet.scm: added missing
ellipsis to menu label and fixed default fonts.
svn path=/trunk/; revision=22415
2007-05-04 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/scripts/script-fu-set-cmap.scm: added missing
ellipsis to menu label and corrected menu location.
svn path=/trunk/; revision=22414
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-04 Sven Neumann <sven@gimp.org>
* plug-ins/ifscompose/ifscompose.c
* plug-ins/ifscompose/ifscompose_utils.c: reduce the number of
progress updates.
svn path=/trunk/; revision=22400
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-03 Sven Neumann <sven@gimp.org>
* plug-ins/winicon/icosave.c
* plug-ins/winicon/icodialog.c: show a warning when the user is
about to create a file using newer features of the icon file
format.
Loosely based on a patch from Aurimas Juška. Fixes bug #409467.
svn path=/trunk/; revision=22385
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-05-02 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/scheme-wrapper.c (ts_get_error_msg): applied
patch from Eric Lamarque that fixes Script-Fu server output
(bug #431623).
svn path=/trunk/; revision=22378
2007-05-02 Mukund Sivaraman <muks@mukund.org>
* plug-ins/jpeg/jpeg-exif.c: Check if any other IFDs exist before
rejecting an image's EXIF info. Fixes bug #377917.
svn path=/trunk/; revision=22377
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