2005-04-17 Sven Neumann <sven@gimp.org>
* plug-ins/helpbrowser/dialog.c: added actions to zoom in/out.
* plug-ins/helpbrowser/gimpthrobberaction.[ch]: fixed handling of
overflow menu items.
2005-04-17 Sven Neumann <sven@gimp.org>
* plug-ins/helpbrowser/Makefile.am
* plug-ins/helpbrowser/gimpthrobber.[ch]
* plug-ins/helpbrowser/gimpthrobberaction.[ch]: new files
implementing a custom GtkToolItem and a GtkAction to use it.
* plug-ins/helpbrowser/dialog.c: use the new widget.
2005-04-17 Michael Natterer <mitch@gimp.org>
* plug-ins/script-fu/scripts/guides-new-percent.scm
* plug-ins/script-fu/scripts/guides-new.scm: don't use undo
groups. It's useless for a single operation and it's wrong to use
the undo group unconditionally, but add the guides conditionally.
2005-04-16 Michael Natterer <mitch@gimp.org>
* plug-ins/helpbrowser/dialog.c: removed the "Close" button and
added a "Wilber" button instead which opens the online docs in the
web browser. Added accelerators ctrl+w and ctrl+q which close the
help browser.
* plug-ins/helpbrowser/queue.[ch]: updated my email address.
2005-04-16 Sven Neumann <sven@gimp.org>
Applied a patch (with minor modifications) from Karine Delvare
that makes it possible to choose between various ways to remove
color from a drawable (bug #155507):
* libgimpbase/gimpbaseenums.h: added new enum GimpDesaturateMode.
* libgimpbase/gimpbaseenums.c
* libgimp/gimpenums.c.tail
* plug-ins/pygimp/gimpenums.py
* tools/pdbgen/enums.pl: regenerated.
* app/core/gimpdrawable-desaturate.[ch]: implement other formulas
to remove colors from a drawable.
* tools/pdbgen/pdb/color.pdb: let gimp_desaturate() call
gimp_drawable_desaturate() with GIMP_DESATURATE_LIGHTNESS so that
it behaves like it always did.
* app/pdb/color_cmds.c: regenerated.
* app/dialogs/Makefile.am
* app/dialogs/desaturate-dialog.[ch]: new files that define a simple
dialog to choose a mode for desaturation.
* app/actions/drawable-actions.[ch]: use the new dialog.
2005-04-15 Sven Neumann <sven@gimp.org>
* plug-ins/helpbrowser/dialog.c
* plug-ins/helpbrowser/queue.[ch]: added menu toolbar buttons; not
functional yet.
2005-04-14 Sven Neumann <sven@gimp.org>
* plug-ins/helpbrowser/dialog.c: use a GtkUIManager to construct the
toolbar.
* plug-ins/ifscompose/ifscompose.c: use gtk_action_set_sensitive().
2005-04-14 Simon Budig <simon@gimp.org>
Started a PDB api for vectors/strokes. Not yet functional, this
commit is to get the infrastructure up and running.
* app/vectors/gimpstroke.[ch]
* app/vectors/gimpvectors.[ch]: Added IDs to the strokes
* tools/pdbgen/pdb.pl: corrected "vectors" type, deleted "path" type.
* tools/pdbgen/pdb/image.pdb: added gimp_image_get_vectors()
* tools/pdbgen/pdb/vectors.pdb: New file for the vectors API
(just a stub for now)
* tools/pdbgen/Makefile.am: Added vectors.pdb
* tools/pdbgen/groups.pl: regenerated.
* plug-ins/script-fu/siod-wrapper.c: Enable the Path/Vectors type.
* libgimp/gimpvectors_pdb.[ch]
* app/pdb/vectors_cmds.c: new autogenerated files.
* libgimp/Makefile.am
* app/pdb/Makefile.am: Added new autogenerated file.
* libgimp/gimp_pdb.h
* libgimp/gimpimage_pdb.[ch]
* app/pdb/image_cmds.c
* app/pdb/internal_procs.c: regenerated.
2005-04-12 Raphael Quinet <raphael@gimp.org>
* configure.in: updated test for libjpeg so that it requires
version 6b (27-Mar-1998) or later.
* plug-ins/jpeg/jpeg.h
* plug-ins/jpeg/jpeg.c
* plug-ins/jpeg/jpeg-load.c
* plug-ins/jpeg/jpeg-save.h
* plug-ins/jpeg/jpeg-save.c: added support for loading and saving
XMP packets in JPEG APP1 markers, simplified the code that reads
comments from COM markers and removed #ifdef HAVE_PROGRESSIVE_JPEG
because we require jpeg-6b, which includes progressive support.
2005-04-11 Raphael Quinet <raphael@gimp.org>
* plug-ins/metadata/base64.h
* plug-ins/metadata/base64.c: Added implementation of
base64_decode(), use gsize or gssize for sizes.
2005-04-11 Raphael Quinet <raphael@gimp.org>
* plug-ins/metadata/metadata.c: Register plug_in_metadata_import
and plug_in_metadata_export in the PDB.
* plug-ins/metadata/Makefile.am
* plug-ins/metadata/base64.h
* plug-ins/metadata/base64.c: Added base64 decoder, needed for
reading the thumbnail images (base64 encoded inside XML element).
* plug-ins/metadata/xmp-parse.h
* plug-ins/metadata/xmp-parse.c: Added XMP_PTYPE_ALT_THUMBS for
parsing a list of thumbnail images. Decode and store the base64
encoded images.
* plug-ins/metadata/xmpdump.c
* plug-ins/metadata/xmp-model.h
* plug-ins/metadata/xmp-model.c: Added support for thumbnails,
defined global symbols for standard XMP schema URIs.
* plug-ins/metadata/interface.c: Preliminary support for widget
cross-references just for testing - it does not save anything yet.
Added thumbnail tab, although the thumbnail image is not displayed
yet.
2005-04-10 Sven Neumann <sven@gimp.org>
Merged from gimp-2-2 branch:
* plug-ins/print/print.c: reverted the previous change, it was wrong
(see bug #169909).
* plug-ins/common/screenshot.c: Change default back to Window
rather than Root. When shooting window, delay after instead
of before selecting, so shooting menus etc becomes possible.
2005-04-09 Manish Singh <yosh@gimp.org>
* plug-ins/common/gifload.c (GetCode): GetDataBlock returns -1 on
error, so count should be an int, not an unsigned char. Fixes
bug #173119.
2005-04-09 Sven Neumann <sven@gimp.org>
* plug-ins/winicon/icosave.c: implement color counting without
changing the image-type to RGB. A save plug-in must not change the
image.
2005-04-08 Sven Neumann <sven@gimp.org>
* plug-ins/winicon/icodialog.c: rewrote preview code to use
GtkImage and pixbufs. The previous implementation was severily
broken.
* plug-ins/winicon/icosave.c: cosmetics.
2005-04-07 Sven Neumann <sven@gimp.org>
* app/config/gimpcoreconfig.c
* app/config/gimpguiconfig.c
* app/config/gimppluginconfig.c: need to free the return value of
gimp_config_build_foo_path() now that gimp_param_spec_path() is
sane and doesn't take ownership of the passed string any longer.
* plug-ins/FractalExplorer/Dialogs.c
* plug-ins/gfig/gfig-dialog.c
* plug-ins/gflare/gflare.c
* plug-ins/gimpressionist/utils.c: use gimp_config_build_data_path().
* plug-ins/Lighting/lighting_ui.c
* plug-ins/common/CML_explorer.c
* plug-ins/common/channel_mixer.c
* plug-ins/common/curve_bend.c
* plug-ins/common/gqbist.c
* plug-ins/common/spheredesigner.c
* plug-ins/flame/flame.c
* plug-ins/gimpressionist/brush.c
* plug-ins/ifscompose/ifscompose.c
* plug-ins/imagemap/imap_browse.c
* plug-ins/imagemap/imap_file.c
* plug-ins/print/gimp_main_window.c: set alternative button order
on file-chooser dialogs (as well as default response where missing).
2005-04-06 Sven Neumann <sven@gimp.org>
* libgimpconfig/gimpconfig-path.[ch] (gimp_param_spec_config_path):
declare default_value as const and allocate a copy.
* app/config/gimpbaseconfig.[ch]: gives access to the default values
for temp and swap path.
* app/base/base.c (base_init): create the temp directory if it
doesn't exist (bug #172682).
* plug-ins/uri/uri-backend-gnomevfs.c: fixed path in error message.
2005-04-05 Sven Neumann <sven@gimp.org>
* plug-ins/dbbrowser/gimpprocbrowser.c: s/Blurb/Description/
* plug-ins/dbbrowser/gimpprocview.c: allow to select the menu path
label.
2005-04-04 Sven Neumann <sven@gimp.org>
* plug-ins/common/deinterlace.c (deinterlace): fixed boundary
conditions that led to incorrect preview (bug #172589).
2005-04-04 Sven Neumann <sven@gimp.org>
* plug-ins/FractalExplorer/FractalExplorer.c: fixed typo that
caused a crash when deleting a fractal from the list (bug #172347).
2005-03-26 Michael Natterer <mitch@gimp.org>
* plug-ins/script-fu/script-fu-scripts.c (script_fu_find_scripts):
removed menu branch registering here (this function is called on
each refresh).
* plug-ins/script-fu/script-fu.c (script_fu_extension_init):
renamed from script_fu_auxillary_init(), this function is only
called once when the extension starts up. Register the menu
branches here.
2005-03-25 Sven Neumann <sven@gimp.org>
* plug-ins/bmp/bmpread.c: applied patch from David Costanzo that
initializes unspecified pixels in RLE bitmaps. Fixes bug #171562.
* configure.in
* plug-ins/common/screenshot.c: allow option of screenshot
without decorations if libXmu is present (fixes bug #133626),
clean up code a bit.
2005-03-24 Sven Neumann <sven@gimp.org>
* plug-ins/bmp/bmp.h (Bitmap_Head_Struct)
* plug-ins/bmp/bmpread.c: use a signed long for width and height
and check that width is > 0 (negative height is allowed and
handled by our code). Fixes bug #171453.
2005-03-24 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/scripts/*.scm: don't mark menu branches for
translation; the translatable branch name is registered by the
Script-Fu extension.
2005-03-24 Michael Natterer <mitch@gimp.org>
Added API to explicitly register dynamic menu items hierarchies.
Fixes bug #170623.
* app/core/gimp.h: added "GSList *plug_in_menu_branches".
* app/plug-in/plug-in-types.h
* app/plug-in/plug-ins.[ch]: added API to register plug-in menu
branches, just as for locale and help domans. Cleaned up handling
of locale and help domains.
(plug_ins_exit): free the registered menu branches.
* app/actions/plug-in-actions.[ch] (plug_in_actions_add_branch):
new function to explicitly add a menu branch action.
(plug_in_actions_setup): add the registered menu branches to each
new action group.
(plug_in_actions_build_path): always strip the untranslated menu
path from underlines before using it as hash table key or action
name.
* app/menus/plug-in-menus.c (plug_in_menus_add_proc): changed
accordingly: strip underlines from untranslated menu paths before
passing them to plug_in_menus_build_path().
* app/core/gimp-gui.[ch]: added gimp_menus_create_branch() plus
vtable entry to access the new stuff from the core. Renamed the
functions desling with items from gimp_foo_entry() to
gimp_foo_item().
* app/gui/gui-vtable.c: implement create_branch() and add the
branch action to all existing "plug-in" action groups. Note that
we don't need to create any menus because that happens implicitly
when adding menu items.
* tools/pdbgen/pdb/plug_in.pdb (plugin_menu_branch_register): new
PDB wrapper to access branch registering from plug-ins.
* app/pdb/internal_procs.c
* app/pdb/plug_in_cmds.c
* libgimp/gimpplugin_pdb.[ch]: regenerated.
* libgimp/gimp.def: changed accordingly.
* plug-ins/script-fu/script-fu-scripts.c (script_fu_find_scripts):
register the menu branches for all included scripts.
2005-03-24 Sven Neumann <sven@gimp.org>
* plug-ins/bmp/bmpread.c: applied a patch from David Costanzo that
fixes handling of odd-length pixel encodings in "absolute mode" of
RLE4 compressed data (bug #171306).
2005-03-24 Sven Neumann <sven@gimp.org>
* plug-ins/common/screenshot.c: seperated platform specific code into
individual functions; should make it easier to contribute the missing
platform specific code ...
2005-03-24 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/scripts/alien-glow-logo.scm
* plug-ins/script-fu/scripts/alien-neon-logo.scm
* plug-ins/script-fu/scripts/basic1-logo.scm
* plug-ins/script-fu/scripts/basic2-logo.scm
* plug-ins/script-fu/scripts/blended-logo.scm
* plug-ins/script-fu/scripts/bovinated-logo.scm
* plug-ins/script-fu/scripts/chalk.scm
* plug-ins/script-fu/scripts/chip-away.scm
* plug-ins/script-fu/scripts/chrome-logo.scm
* plug-ins/script-fu/scripts/comic-logo.scm
* plug-ins/script-fu/scripts/coolmetal-logo.scm
* plug-ins/script-fu/scripts/frosty-logo.scm
* plug-ins/script-fu/scripts/glossy.scm
* plug-ins/script-fu/scripts/gradient-bevel-logo.scm
* plug-ins/script-fu/scripts/neon-logo.scm
* plug-ins/script-fu/scripts/starburst-logo.scm
* plug-ins/script-fu/scripts/starscape-logo.scm
* plug-ins/script-fu/scripts/t-o-p-logo.scm
* plug-ins/script-fu/scripts/textured-logo.scm: no need to set the
text as name of the text layer. The text layer is created with that
name already.
2005-03-22 Sven Neumann <sven@gimp.org>
* plug-ins/common/colortoalpha.c: unset "Keep transparency", it is
not what the user wants if this plug-in is being used.
2005-03-22 Sven Neumann <sven@gimp.org>
* plug-ins/common/screenshot.c: removed global variables; added a
short delay after destroying the dialog so that the root window
gets redrawn; moved camera icon to the action button.