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-19 Sven Neumann <sven@gimp.org>
Make message dialogs transient for the progress window.
Addresses
bug #347214.
* app/core/gimp-gui.[ch]: added a progress parameter to
gimp_message(). Let gimp_message() deal with optionally
delegating the message to gimp_progress_message().
* app/errors.c: changed accordingly.
* app/core/gimpprogress.[ch] (gimp_progress_message): return a
boolean indicating whether the message was handled.
* app/gui/Makefile.am
* app/gui/gui-message.[ch]
* app/gui/gui-vtable.c: moved message handling to a new file.
Only
use the global error dialog for messages without a progress.
Otherwise attach an error dialog to the progress and try to make
it transient to the progress window.
* tools/pdbgen/pdb/message.pdb:
* app/plug-in/gimpplugin-progress.[ch]: don't delegate messages
to
the progress interface, this is handled by gimp_message() now.
* app/pdb/message_cmds.c: regenerated.
* app/plug-in/gimpplugin.c
* app/actions/documents-commands.c: formatting.
2006-07-18 Michael Natterer <mitch@gimp.org>
* app/widgets/gimpfiledialog.c (gimp_file_dialog_set_image): use
file_utils_uri_display_basename() instead of g_path_get_basename()
to get an uri's basename. Fixes bug #347544.
2006-07-18 Sven Neumann <sven@gimp.org>
* app/widgets/gimppaletteeditor.c (gimp_palette_editor_get_index,
gimp_palette_editor_set_index, gimp_palette_editor_max_index):
fixed potential crash based on a patch from David Gowers (bug #347593).
2006-07-18 Sven Neumann <sven@gimp.org>
* tools/pdbgen/pdb/image.pdb: fixed docs for gimp-image-add-layer
as pointed out in bug #347861.
* app/pdb/image_cmds.c
* libgimp/gimpimage_pdb.c: regenerated.
2006-07-16 Manish Singh <yosh@gimp.org>
* configure.in: bump up python requirement to 2.3.5 and pygtk to
2.8.0, in preparation for depending on features not in prior
releases.
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-14 Mukund Sivaraman <muks@mukund.org>
* app/config/gimpbaseconfig.c: if possible, detect the number of
online CPUs in the system and use that instead of the default value
of 2 for the number of pixel processors. Also made the default value
1 where it's not possible to detect the number of CPUs. Uses twice
the number for development versions.
2006-07-13 Sven Neumann <sven@gimp.org>
* app/display/gimpstatusbar.c (gimp_statusbar_set_cursor): set the
sensitivity of the cursor label before converting the coordinates
to the display unit (bug #347339).
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-11 Sven Neumann <sven@gimp.org>
* app/core/gimpimage-merge.[ch]: made gimp_image_merge_layers()
a
static function, it isn't used outside this file.
2006-07-10 Sven Neumann <sven@gimp.org>
* app/xcf/xcf-load.c: use a signed variable when attempting to
skip over unknown properties and check for EOF. Fixes bug #345802.
* app/xcf/xcf-read.c: cleanup, nothing really changed