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 Michael Natterer <mitch@gimp.org>
* cursors/cursor-move.png
* cursors/gimp-tool-cursors.xcf
* cursors/xbm/cursor-move.xbm
* cursors/xbm/cursor-move-mask.xbm: moved the move cursor two
pixels right and down so it has its hotspot where the small
crosshair has it. Reduces cursor jumping in the rectangle tool.
svn path=/trunk/; revision=23014
2007-07-26 Sven Neumann <sven@gimp.org>
* app/display/gimpdisplayshell-dnd.c: moved common code into new
utility function gimp_display_shell_dnd_flush(). Also move focus
to the image window from this function.
svn path=/trunk/; revision=23012
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-25 Michael Natterer <mitch@gimp.org>
* app/tools/gimptool.c (gimp_tool_set_active_modifier_state):
don't have the tool release ALT when the user releases CONTROL.
Fixes another stuck modifier instance and other modifier
weirdness.
svn path=/trunk/; revision=22992
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>
* app/text/gimptext.c (gimp_text_set_property): don't call strlen
on a NULL font name.
svn path=/trunk/; revision=22968