2006-09-05 Sven Neumann <sven@gimp.org>
* plug-ins/common/redeye.c (dialog): use the wilber icon / label
combination for hints that is also used in colormap-remap.
2006-09-01 Michael Natterer <mitch@gimp.org>
* plug-ins/script-fu/scripts/gradient-example.scm: pop the context
before rendering the gradient so we draw the gradient with the
user's colors, not with the ones the script uses temporarily.
2006-08-29 Sven Neumann <sven@gimp.org>
* plug-ins/common/postscript.c (dither_grey): code cleanup and fix
for bug #353381 (crash when Preview option is selected).
2006-08-18 Sven Neumann <sven@gimp.org>
* libgimp/gimppaletteselectbutton.c
(gimp_palette_select_button_set_palette): check that the palette
name actually refers to an existing palette and use the active
palette if name is NULL or empty (like the other select buttons).
* plug-ins/pygimp/plug-ins/palette-offset.py: use an integer value
for a PF_INT parameter.
2006-08-18 Sven Neumann <sven@gimp.org>
* plug-ins/pygimp/gimpfu.py: check if the menupath starts with
<Image> instead of checking that it does not start with <Toolbox>.
Makes the scripts in <Palettes> work to some extent.
2006-08-18 Sven Neumann <sven@gimp.org>
* plug-ins/pygimp/gimpfu.py (register): derive the menupath from
the label before adding to _registered_plugins_.
* plug-ins/pygimp/Makefile.am: moved clothify.py to test-scripts,
it doubles the functionality of script-fu-clothify.
* plug-ins/pygimp/plug-ins/benchmark-foreground-extract.py
* plug-ins/pygimp/plug-ins/foggify.py
* plug-ins/pygimp/plug-ins/palette-sort.py
* plug-ins/pygimp/plug-ins/palette-to-gradient.py: changed menu
registration in some places that I missed earlier.
2006-08-18 Sven Neumann <sven@gimp.org>
* plug-ins/pygimp/gimpfu.py (register): derive the menu from the
label before adding to _registered_plugins_.
* plug-ins/pygimp/Makefile.am: moved clothify.py to test-scripts,
it doubles the functionality of script-fu-clothify.
2006-08-17 Sven Neumann <sven@gimp.org>
* libgimp/gimppixbuf.[ch]: added a convenience function to create
a layer from a GdkPixbuf.
* plug-ins/common/poppler.c
* plug-ins/common/screenshot.c
* plug-ins/common/svg.c: use gimp_layer_new_from_pixbuf().
* libgimp/gimpui.def: updated.
2006-08-17 Sven Neumann <sven@gimp.org>
* plug-ins/pygimp/gimpfu.py: added an optional menu parameter to
the register call to simplify menu registration. Also restored
menupath specific mangling of the procedure arguments.
* plug-ins/pygimp/plug-ins/*.py: use the menu parameter instead
of defining a function to call on query.
* plug-ins/pygimp/plug-ins/sphere.py: do it old-style here for
testing.
2006-08-16 Sven Neumann <sven@gimp.org>
* plug-ins/pygimp/gimpfu.py: allow '-' in procedure and
parameter
names.
* plug-ins/pygimp/plug-ins/*.py: use canonical procedure and
parameter names.
2006-08-16 Sven Neumann <sven@gimp.org>
* plug-ins/common/autocrop.c (autocrop): fixed overzealousness
when cropping on a drawable border (bug #337888).
2006-08-15 Sven Neumann <sven@gimp.org>
* plug-ins/bmp/bmp.[ch]
* plug-ins/bmp/bmpread.c
* plug-ins/bmp/bmpwrite.c: applied patch from Piotr Filiciak that
merges the save dialogs and completes the changes in bug #342355.
2006-08-15 Sven Neumann <sven@gimp.org>
* plug-ins/pygimp/plug-ins/Makefile.am: moved whirlpinch.py to the
test_scripts category to prevent it from being installed in stable
releases (bug #46001).
2006-08-15 Sven Neumann <sven@gimp.org>
* plug-ins/common/compose.c: has only one return value if called
as recompose. Fixes the trigger for bug #350226.
2006-08-11 Sven Neumann <sven@gimp.org>
* plug-ins/pygimp/gimpui.defs: wrap gimp_window_set_transient()
into a method of GimpDialog.
* plug-ins/pygimp/gimpfu.py: call dialog.set_transient().
2006-08-11 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/script-fu-interface.c: pack the main vbox
expanding so that the progress bar sticks to the bottom of the
dialog.
* plug-ins/pygimp/gimpfu.py: moved blurb label to the top, use
italic style for it. Add a progress bar unconditionally and use a
GimpProgressBar for it. Commented out the progress label until it
is actually used.
2006-08-10 Michael Natterer <mitch@gimp.org>
* plug-ins/common/oilify.c (run): the plug-in has one return
value, not two (the trigger of the crasher in bug #350555).
2006-08-08 Sven Neumann <sven@gimp.org>
* plug-ins/common/warp.c (diff_prepare_row): applied patch from
Robert Ögren to fix a segfault on 64bit architectures (bug
#327479).
2006-08-05 Raphael Quinet <raphael@gimp.org>
* plug-ins/imagemap/imap_ncsa.l: Do not declare a symbol "link"
because this conflicts with the system call declared in
<unistd.h>. Renamed that symbol "imap_link". Fixes bug #349589.
* plug-ins/imagemap/imap_ncsa_lex.c: Updated by hand in order to
avoid large changes introduced by more recent versions of flex.
2006-08-02 Michael Natterer <mitch@gimp.org>
* plug-ins/common/pat.c: enable "activates-default" on the name
entry. Fixes bug #349614. Removed the name entry's callback and
simply get the string after running the dialog.
2006-07-31 Michael Natterer <mitch@gimp.org>
* plug-ins/common/compose.c (run): enable "compose_by_drawable"
for GIMP_RUN_WITH_LAST_VALS, since these values are drawable IDs,
not image IDs. Fixes bug #346859.
2006-07-28 Simon Budig <simon@gimp.org>
* plug-ins/sel2path/sel2path.c: ported to new vectors API,
removed some of the cruft (there is plenty here...).
* plug-ins/common/grid.c: width and height were reversed when
setting refval boundaries in a couple of places; problem
pointed out by Maciej Katafiasz on irc.
2006-07-20 Manish Singh <yosh@gimp.org>
* plug-ins/pygimp/gimpui.py: make the FileSelector class work
again.
* plug-ins/pygimp/gimpfu.py: add PF_FILENAME and PF_DIRNAME to
match script-fu. Also, if the default value for PF_FILE ends in '/',
it goes PF_DIRNAME mode.
2006-07-19 Manish Singh <yosh@gimp.org>
This is the start of wrapping much more of the GIMP API in Python.
It's not complete yet, some things are broken.
* plug-ins/pygimp/gimpcolormodule.c
* plug-ins/pygimp/pygimpcolor.h
* plug-ins/pygimp/pygimpcolor-api.h
* plug-ins/pygimp/pygimp-colors.c: wrapped GimpHSV, GimpHSL, and
GimpCMYK. Fleshed out a bit more of GimpRGB as well. Made the API
exportable to other modules.
* plug-ins/pygimp/pygimp-rgb.c: removed, subsumed into
pygimp-colors.c.
* plug-ins/pygimp/gimpmodule.c
* plug-ins/pygimp/pygimp-drawable.c
* plug-ins/pygimp/pygimp-pdb.c: PDB calls receive and create
gimpcolor.RGB objects now.
* plug-ins/pygimp/gimpmodule.c
* plug-ins/pygimp/pygimp-api.h: export pygimp_drawable_new.
* plug-ins/pygimp/gimpcolor-types.defs
* plug-ins/pygimp/gimpenums-types.defs
* plug-ins/pygimp/gimpui.defs
* plug-ins/pygimp/gimpui.override
* plug-ins/pygimp/gimpuimodule.c: new module for GIMP UI widget
bindings.
* plug-ins/pygimp/gimpui.py
* plug-ins/pygimp/gimpfu.py: use some of the new widgets.
* plug-ins/pygimp/Makefile.am: hook all the above into the build
system.
* plug-ins/pygimp/plug-ins/palette-sort.py: use new color API.
2006-07-16 Kevin Cozens <kcozens@cvs.gnome.org>
* configure.in
* plug-ins/Makefile.am: Added --disable-script-fu to allow building
of GIMP without the Script-Fu plug-in. See bug #347570.
2006-07-14 Maurits <m.rijk@chello.nl>
* plug-ins/imagemap/imap_grid.c
* plug-ins/imagemap/imap_main.c
* plug-ins/imagemap/imap_menu.c: fixed problem with zoom menu
2006-07-12 Sven Neumann <sven@gimp.org>
* plug-ins/bmp/bmp.[ch]
* plug-ins/bmp/bmpread.c
* plug-ins/bmp/bmpwrite.c: applied a slightly modified patch from
Piotr Filiciak that adds support for 16/32 bit bitmaps and support
for alpha channel (bug #342355).
2006-07-08 Sven Neumann <sven@gimp.org>
* plug-ins/common/spheredesigner.c: don't cast between GimpRGB
and
GimpVector; it works but it's ugly and caused compiler warnings.
2006-07-05 Sven Neumann <sven@gimp.org>
* libgimpbase/gimpenv.h
* libgimpbase/gimpmemsize.h
* libgimpbase/gimpparasiteio.[ch]
* libgimpbase/gimputils.h
* libgimpconfig/gimpconfig-path.[ch]
* libgimpthumb/gimpthumb-utils.[ch]: marked some function with
G_GNUC_MALLOC.
* plug-ins/common/dicom.c: use g_date_set_time_t() instead of the
deprecated g_date_set_time().
2006-06-29 Raphael Quinet <raphael@gimp.org>
* plug-ins/common/screenshot.c (select_window_x11): allow the
usage of Escape together with CapsLock, NumLock and ScrollLock.
2006-06-29 Raphael Quinet <raphael@gimp.org>
* plug-ins/common/screenshot.c (select_window_x11): use 0 instead
of AnyModifer in the call to XGrabKey. This prevented the
cancellation of the screenshot with Escape in some environments.
2006-06-27 Sven Neumann <sven@gimp.org>
* plug-ins/pygimp/gimpui.py: applied patch from Joao S. O. Bueno
Calligaris that makes PF_FILE use a GtkFileChooserButton. Fixes
bug #326986.
2006-06-27 Sven Neumann <sven@gimp.org>
* plug-ins/FractalExplorer/FractalExplorer.c
* plug-ins/common/colortoalpha.c
* plug-ins/common/depthmerge.c
* plug-ins/common/illusion.c
* plug-ins/script-fu/script-fu.c some more canonical procedure
names that we missed earlier.
2006-06-27 Sven Neumann <neumann@jpk.com>
* plug-ins/FractalExplorer/FractalExplorer.c
* plug-ins/Lighting/lighting_main.c
* plug-ins/MapObject/mapobject_main.c: use canonical procedure and
parameter names. Marked procedure blurbs for translation.
* plug-ins/winicon/main.c: use canonical procedure and parameter
names.
2006-06-27 Sven Neumann <sven@gimp.org>
* plug-ins/gfig/gfig-dialog.[ch]
* plug-ins/gfig/gfig-dobject.h
* plug-ins/gfig/gfig.[ch]: put extern variables where they
belong.
Patch from Daniel Richard G. (bug #342455).
2006-06-27 Sven Neumann <sven@gimp.org>
I18n improvements based on a patch from Zbigniew Chyla:
* app/main.c:
* modules/controller_midi.c
* plug-ins/script-fu/scripts/guides-new.scm: marked strings for
translation.
* app/widgets/gimpdock.c
* libgimpwidgets/gimppageselector.c
* plug-ins/common/plugin-browser.c: use ngettext() for plural
forms.
2006-06-27 Sven Neumann <sven@gimp.org>
* libgimp/gimpexport.c (gimp_export_image): use NULL as the
special value, not "silent".
* plug-ins/print/print-draw-page.c: changed accordingly. Also
fixed handling of filename encoding.
* libgimp/gimpexport.c: if format arg is "silent", export
without popping a dialog -- saves duplicating code.
* plug-ins/print/print-draw-page.c
* plug-ins/print/print-draw-page.h
* plug-ins/print/print-page-layout.c
* plug-ins/print/print-page-layout.h
* plug-ins/print/print-settings.c
* plug-ins/print/print-settings.h
* plug-ins/print/print.h: new files
* plug-ins/print/Makefile.am
* plug-ins/print/print.c: modified
Progress toward GtkPrintOperation plug-in. Should already
be usable, but very ugly.
2006-06-25 Manish Singh <yosh@gimp.org>
* libgimp/gimpuitypes.h
* libgimp/gimpselectbutton.[ch]: abstract class for resource selection
buttons.
* libgimp/gimpfontselectbutton.[ch]: derive from GimpSelectButton.
* libgimp/gimpbrushselectbutton.[ch]
* libgimp/gimpgradientselectbutton.[ch]
* libgimp/gimppaletteselectbutton.[ch]
* libgimp/gimppatternselectbutton.[ch]: replacements for
gimp_foo_select widgets, akin to GimpFontSelectButton.
* libgimp/gimpbrushmenu.[ch]
* libgimp/gimpgradientmenu.[ch]
* libgimp/gimppalettemenu.[ch]
* libgimp/gimppatternmenu.[ch]: deprecate old API, and reimplement
in terms of GimpFooSelectButton.
* libgimp/gimpfontmenu.[ch]: change to use the GimpSelectButton API.
* libgimp/gimpuimarshal.list: new marshallers for the above new
widgets.
* libgimp/gimpui.h: add new headers.
* libgimp/Makefile.am: add new files.
* plug-ins/FractalExplorer/Dialogs.c
* plug-ins/gfig/gfig-dialog.c
* plug-ins/gfig/gfig-style.[ch]
* plug-ins/script-fu/script-fu-interface.c: use new API.
2006-06-23 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/script-fu-interface.c (script_fu_interface):
ellipsize the progress label to avoid dialog resizing.
2006-06-23 Sven Neumann <sven@gimp.org>
* plug-ins/imagemap/imap_preview.[ch]: moved rulers out of the
scrolled window and update them when the scroll adjustments
change. Fixes bug #341149.
* plug-ins/imagemap/imap_about.c
* plug-ins/imagemap/imap_menu.c: unrelated cleanups.
* configure.in: adjust requirements for building gtk-print
plug-in -- requires gtk+ 2.9.3 and --enable-print.
* plug-ins/print/Makefile.am
* plug-ins/print/print.c: new plug-in using GtkPrintOperation.
Mainly infrastructure at this point -- output is wildly
incorrect.
2006-06-22 Sven Neumann <sven@gimp.org>
* plug-ins/common/animationplay.c
* plug-ins/common/colormap-remap.c
* plug-ins/helpbrowser/dialog.c: popup the menu on Shift-F10.
2006-06-21 Sven Neumann <sven@gimp.org>
* app/tools/gimp-tools.c (gimp_tools_restore): don't attempt to
reorder to a position >= container->num_children.
2006-06-21 Sven Neumann <sven@gimp.org>
* plug-ins/common/colormap-remap.c: applied patch from Mukund
Sivaraman that adds a "Reverse Order" option in favor of having
ascending and descending sort functions.
2006-06-21 Sven Neumann <sven@gimp.org>
* plug-ins/common/colormap-remap.c: added a right-click menu that
allows to sort the colormap by hue, saturation or value.