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 Michael Natterer <mitch@gimp.org>
* app/gui/ige-mac-menu.c: new version which correctly updates the
menus when items are added or removed.
svn path=/trunk/; revision=23673
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>
* app/core/gimpimageundo.c (gimp_image_undo_pop): call
gimp_color_managed_profile_changed() if an icc-profile is
attached
or removed from an image by an undo operation (bug #475983).
svn path=/trunk/; revision=23661
2007-09-26 Simon Budig <simon@gimp.org>
* app/display/gimpdisplayshell-render.c: fix the numerical overflow
for the new box-filtering stuff.
Fixes bug #479807.
svn path=/trunk/; revision=23659
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-26 Sven Neumann <sven@gimp.org>
* app/widgets/gimpcontrollerwheel.c (gimp_controller_wheel_scroll):
fixed check for modifier keys and always return on a matched
event(bug #480319). Also reordered the list of events as the code
does not any longer rely on a certain order.
svn path=/trunk/; revision=23657
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 Sven Neumann <sven@gimp.org>
* app/widgets/gimpwidgets-utils.c (gimp_widget_accel_changed):
show the keyboard shortcut in brackets, as we do in other places.
svn path=/trunk/; revision=23649
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 Simon Budig <simon@gimp.org>
* app/pdb/vectors_cmds.c: fixed error on how many points get
initialized.
Probably fixes bug #479790.
svn path=/trunk/; revision=23644
2007-09-24 Sven Neumann <sven@gimp.org>
* app/display/gimpdisplayshell-render.c: removed const qualifiers
to fix compilation on Solaris 8 (bug #479817).
svn path=/trunk/; revision=23642
2007-09-24 Michael Natterer <mitch@gimp.org>
* app/gui/ige-mac-menu.c (ige_mac_menu_add_app_menu_item): allow
to pass NULL as label and get the label from the menu itew.
* app/gui/gui.c (gui_restore_after_callback): pass NULL as labels
for the preferences menu items.
svn path=/trunk/; revision=23641
2007-09-24 Michael Natterer <mitch@gimp.org>
* app/gui/ige-mac-menu.[ch]: new versions with slight API renaming
and new generalized API for adding application menu items.
* app/gui/gui.c (gui_restore_after_callback): follow API changes
and add "Preferences", "Keyboard Shortcuts" and "Units" to the
application menu's preferences section.
svn path=/trunk/; revision=23639
2007-09-24 Simon Budig <simon@gimp.org>
* app/xcf/xcf-load.c: use the correct default values for the
control points of a loaded path.
Fixes bug #479176.
svn path=/trunk/; revision=23637
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 Simon Budig <simon@gimp.org>
* app/display/gimpdisplay.c: Accomodate for spill that
happens by the box filtering.
Fixes bug #474509. Again. Hopefully.
svn path=/trunk/; revision=23630
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