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-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 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-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-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-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-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-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-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-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-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 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-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-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-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
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 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 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-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-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-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-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-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-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-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-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-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-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-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-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 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-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-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-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-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-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-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-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-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-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-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 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-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-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-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-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 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 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-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 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-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-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 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 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 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-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-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 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 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-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 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-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 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 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 Sven Neumann <sven@gimp.org>
* plug-ins/jpeg/jpeg-load.c: moved handling of the CMYK profile
to
a utility function. Respect the user's color management
settings.
svn path=/trunk/; revision=23677
2007-09-27 Kevin Cozens <kcozens@cvs.gnome.org>
Create SF-RUN-MODE constant for use in Script-Fu. Fixes bug #479893.
* plug-ins/script-fu/scheme-wrapper.c
* plug-ins/script-fu/scheme-wrapper.h: Added set_run_mode_constant()
which creates a new constant called SF-RUN-MODE. This constant can
be used by Script-Fu scripts when calling a plug-in that needs to
know the current run mode.
* plug-ins/script-fu/script-fu-scripts.c
* plug-ins/script-fu/script-fu-console.c
* plug-ins/script-fu/script-fu.c
* plug-ins/script-fu/script-fu-server.c: Added calls to create the
new SF-RUN-MODE constant.
* plug-ins/script-fu/scripts/difference-clouds.scm: Pass SF-RUN-MODE
to the solid noise plug-in instead of always using RUN-INTERACTIVE.
svn path=/trunk/; revision=23674
2007-09-27 Sven Neumann <sven@gimp.org>
* configure.in: define HAVE_LCMS if lcms is available.
* plug-ins/jpeg/Makefile.am: link with LIBLCMS.
* plug-ins/jpeg/jpeg-load.c (load_image): when loading a CMYK JPEG
file and it comes with an embedded CMYK profile, use lcms to do
the colorspace conversion.
svn path=/trunk/; revision=23672
2007-09-27 Sven Neumann <sven@gimp.org>
* plug-ins/jpeg/jpeg-load.c (load_thumbnail_image): same change
here. Moved colorspace conversion to a utility function.
svn path=/trunk/; revision=23671
2007-09-27 Sven Neumann <sven@gimp.org>
* plug-ins/jpeg/jpeg-load.c (load_image): get rid of one of the
temporary buffers. We don't need an alpha channel on the preview
layer and we can do the CMYK->RGB conversion in place.
svn path=/trunk/; revision=23670
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-27 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/scripts/add-bevel.scm: fixed GimpImageType
parameter passed to gimp-layer-new. Do not register the script for
grayscale images, it doesn't handle them properly.
svn path=/trunk/; revision=23667
2007-09-26 Sven Neumann <sven@gimp.org>
* plug-ins/maze/maze_face.c (maze_dialog): use separate variables
for width and height entry. Fixes bug #480303.
svn path=/trunk/; revision=23658
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-25 Kevin Cozens <kcozens@cvs.gnome.org>
* plug-ins/script-fu/scripts/fuzzyborder.scm: Applied patch from
Ulf-D. Ehlert which pushes and pops a context to prevent
changing background colour in the UI. Fixes bug #479974.
svn path=/trunk/; revision=23648
2007-09-24 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/scripts/drop-shadow.scm: applied patch from
Ulf-D. Ehlert which fixes a bug which may shrink the image instead
of enlarging it (bug #478385).
svn path=/trunk/; revision=23636
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 Kevin Cozens <kcozens@cvs.gnome.org>
* plug-ins/script-fu/tinyscheme/scheme.c (basic_inchar): Applied
modified patch from Simon Budig. Any bytes read from a file which
are not valid UTF-8 characters will be ignored. Fixes bug #476356.
svn path=/trunk/; revision=23613
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 Raphael Quinet <raphael@gimp.org>
* plug-ins/jpeg/jpegqual.c (quant_info): updated the table of
known devices and software, work in progress.
svn path=/trunk/; revision=23595
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-19 Raphael Quinet <raphael@gimp.org>
* plug-ins/jpeg/jpegqual.c: Re-wrote large parts of the code,
still work in progress: use GOption for command-line options, add
number of quantization tables in QuantInfo, added info for more
sources (devices or software) but not verified yet.
svn path=/trunk/; revision=23589
2007-09-19 Raphael Quinet <raphael@gimp.org>
* plug-ins/jpeg/jpeg-load.c
* plug-ins/jpeg/jpeg-save.c: ifdef'ed out some debugging
statements so that they show up only in unstable releases.
* plug-ins/jpeg/jpeg.c (run): removed calls to gimp_set_data() and
gimp_get_data() so that changes made to the JPEG save settings for
one file do not affect other files saved later.
svn path=/trunk/; revision=23584
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 Kevin Cozens <kcozens@cvs.gnome.org>
* plug-ins/script-fu/scripts/lava.scm: Removed 'from-selection'.
Reset active layer after calling gimp-selection-save. Modified
version of patch from Jakub Friedl which fixes bug #476672. Don't
add alpha if drawable already has alpha. Minor format changes.
svn path=/trunk/; revision=23534
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-07 Michael Natterer <mitch@gimp.org>
* plug-ins/script-fu/script-fu-scripts.c (script_fu_script_proc):
applied patch from Kevin Cozens which implements RUN-WITH-LAST-VALS.
On top of that, factored out script_fu_collect_standard_args()
which collects DISPLAY,IMAGE,[DRAWABLE|LAYER|...] from the passed
parameters according to the new calling conventions (the old code
for INTERACTIVE was broken). Also cleaned up the function a bit.
Fixes bug #472493.
svn path=/trunk/; revision=23474
2007-09-06 Kevin Cozens <kcozens@cvs.gnome.org>
* plug-ins/script-fu/scripts/contactsheet.scm: Preserve aspect ratio
of original images. Center thumbnails in space above filename label.
Added new sheet size of 1600x1200 pixels. Changed a dialog label.
svn path=/trunk/; revision=23470
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-09-06 Simon Budig <simon@gimp.org>
* plug-ins/script-fu/tinyscheme/scheme-private.h: quick fix:
raise the cell segment size as well as the number of possible
segments to reduce the likelihood of a failing (make-vector)
(yes, this is a hack and no proper fix)
svn path=/trunk/; revision=23465
2007-08-31 Simon Budig <simon@gimp.org>
* plug-ins/script-fu/tinyscheme/scheme.[ch]
* plug-ins/script-fu/tinyscheme/scheme-private.h: make it possible
for foreign functions to return an error.
* plug-ins/script-fu/script-fu-scripts.c
* plug-ins/script-fu/scheme-wrapper.c: Make use of this.
Fixes bug #472026.
svn path=/trunk/; revision=23432
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 Simon Budig <simon@gimp.org>
* plug-ins/script-fu/scheme-wrapper.c
* plug-ins/script-fu/tinyscheme/scheme.[ch]
* plug-ins/script-fu/scheme-wrapper.h: Shuffeled some
code around to have scheme.c not include scheme-wrapper.h.
svn path=/trunk/; revision=23411
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 Kevin Cozens <kcozens@cvs.gnome.org>
* plug-ins/script-fu/tinyscheme/scheme.c: Applied the change suggested
in SourceForge bug #1593861 that fixes the case where integer? thinks
non-numbers are sometimes integers.
svn path=/trunk/; revision=23402
2007-08-30 Simon Budig <simon@gimp.org>
* plug-ins/script-fu/tinyscheme/scheme.[ch]
* plug-ins/script-fu/tinyscheme/scheme-private.h: small changes
to tinyscheme - mostly removing workarounds for message output.
* plug-ins/script-fu/scheme-wrapper.[ch]: try to channel the
output through a central function, have various output functions
to handle the messages. Remove some hacks.
* plug-ins/script-fu/script-fu-text-console.c
* plug-ins/script-fu/script-fu-scripts.[ch]
* plug-ins/script-fu/script-fu-interface.c
* plug-ins/script-fu/script-fu.c
* plug-ins/script-fu/script-fu-server.c
* plug-ins/script-fu/script-fu-console.[ch]: use the new
infrastructure. Remove more hacks.
* plug-ins/script-fu/servertest.py: small script to test the
communication with the script-fu-server.
svn path=/trunk/; revision=23400
2007-08-29 Raphael Quinet <raphael@gimp.org>
* plug-ins/metadata/xmp-encode.c (gen_property): escape the text
values output in the XMP packet. Based on a bug report and patch
by John Marshall. Fixes bug #455481.
svn path=/trunk/; revision=23398
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/jpeg/jpeg-save.[ch]
* plug-ins/jpeg/jpeg.c: change the behavior of the code so that
"Use quality settings from original image" does what it claims,
even if these settings are worse than the user's defaults (note
that the option is not automatically enabled in this case). Also
set the subsampling type when that box is checked.
* plug-ins/jpeg/jpeg-settings.h: formatting.
svn path=/trunk/; revision=23395
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-24 Raphael Quinet <raphael@gimp.org>
* plug-ins/jpeg/jpeg-save.c (save_dialog): use a label that is
easier to understand. Required code changes will follow later.
svn path=/trunk/; revision=23373
2007-08-24 Raphael Quinet <raphael@gimp.org>
* plug-ins/jpeg/jpeg-settings.c (jpeg_swap_original_settings): new
function that swaps the vertical and horizontal axis for the saved
subsampling parameters and quantization tables.
* plug-ins/jpeg/jpeg-exif.c (jpeg_exif_rotate): swap the saved
settings when the image is rotated. Fixes bug #466593.
* devel-docs/release-howto.txt: added note about having admin
access to Bugzilla and to the news section on www.gimp.org.
svn path=/trunk/; revision=23370
2007-08-17 Michael Natterer <mitch@gimp.org>
* plug-ins/print/print-page-layout.c: set a default page setup on
the operation if it is NULL to prevent crash in new installations
(which don't have a setup yet). Fixes bug #467643, patch from
Stefan Röllin.
svn path=/trunk/; revision=23303
2007-08-15 Sven Neumann <sven@gimp.org>
* plug-ins/print/print.c (end_print): added a timeout as a
workaround for bug #466928.
svn path=/trunk/; revision=23277
2007-08-15 Joao S. O. Bueno Calligaris <gwidion@mpc.com.br>
* plug-ins/pygimp/pygimp-drawable.c: avoids function call
with an invalid drawable id
svn path=/trunk/; revision=23272
2007-08-15 Sven Neumann <sven@gimp.org>
* plug-ins/print/print-page-layout.c: applied patch from Stefan
Röllin that makes the preview resize with the dialog (bug #466923).
svn path=/trunk/; revision=23271
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