2006-06-18 Michael Natterer <mitch@gimp.org>
* plug-ins/common/screenshot.c: apply the delay before selecting,
not before grabbing, so the user has time to rearrange things.
Fixes bug #345214.
2006-06-16 Michael Natterer <mitch@gimp.org>
* plug-ins/common/xbm.c: increased the max length for the
identifier prefix from 24 to 64 chars. I have no idea if this
violates any spec or produces identifiers too long for stone age C
standards, but 24 did truncate the identifiers in the newly added
edge and corner cursors.
2006-06-16 Michael Natterer <mitch@gimp.org>
Allow plug-ins to register in <Layers>, <Channels>, <Vectors> and
<ColormapEditor>:
* app/pdb/gimppluginprocedure.c
(gimp_plug_in_procedure_add_menu_path): added the argument type
checks for the new locations. Factored out duplicated code.
* app/menus/menus.c (menus_init): add the "plug-in" action
group to the resp. UI managers.
* app/menus/plug-in-menus.c (plug_in_menus_menu_path_added):
support them here too.
* app/widgets/gimpimageeditor.[ch]
* app/widgets/gimpitemtreeview.[ch]: added get_image() functions.
* app/actions/plug-in-commands.c: added new utility functions
which collect plug-in arguments from GimpImageEditor and
GimpItemTreeView widgets.
* menus/channels-menu.xml
* menus/colormap-editor-menu.xml
* menus/layers-menu.xml
* menus/vectors-menu.xml: added separators.
* menus/image-menu.xml.in: added a "Colormap" placeholder in
Colors/Map
* plug-ins/common/colormap-remap.c (query): register a menu
entry in <ColormapEditor> and moved the existing one to the
"Colormap" placeholder. Also register an icon to make this
menu item clearly distinct from the others in that menu.
Unrelated:
* plug-ins/common/colormap-remap.c (run): cleaned up quite a
bit. Fixed last-vals code and simplified map handling.
(remap_swap): removed, folded into run().
(remap_dialog): use the passed map to initialize the dialog so it
starts with the last-vals. Tweaked layout to have 16 columns
and simplified cell renderer creation.
2006-06-16 Manish Singh <yosh@gimp.org>
* app/errors.c
* app/main.c
* app/file/gimprecentlist.c
* libgimpbase/gimpsignal.c
* libgimp/gimp.c
* modules/controller_midi.c
* plug-ins/common/gqbist.c: use _GNU_SOURCE instead of the other
_FOO_SOURCE variables to support -ansi -pedantic on glibc systems,
since anything else breaks compilation of otherwise working code.
Fixes bug #344203.
2006-06-15 Sven Neumann <sven@gimp.org>
* plug-ins/common/Makefile.am
* plug-ins/common/plugin-defs.pl
* plug-ins/common/colormap-remap.c: added new plug-in for
colormap
manipulation written by Mukund Sivaraman.
2006-06-13 Michael Natterer <mitch@gimp.org>
* plug-ins/common/vinvert.c: applied patch from Mukund Sivaraman
which speeds up the plug-in significantly by using an optimized
RGB <-> HSV conversion and proper region iterating. Did some more
cleanups.
2006-06-12 Sven Neumann <sven@gimp.org>
* plug-ins/common/redeye.c (remove_redeye): cleanup, use
gimp_drawable_mask_intersect(), reduced number of progress updates.
2006-06-12 Sven Neumann <sven@gimp.org>
* plug-ins/common/snoise.c (solid_noise): cleanup, use
gimp_drawable_mask_intersect(), reduced number of progress updates.
2006-06-12 Sven Neumann <sven@gimp.org>
* libgimp/gimpzoompreview.c (gimp_zoom_preview_get_source):
documentation.
* plug-ins/common/channel_mixer.c: minor cleanup and loop unrolling.
Introduced an inline function to avoid code duplication.
* app/core/core-enums.[ch]: add GIMP_ARRANGE_FOO values
to GimpAlignmentType, and change CENTER to HCENTER,
MIDDLE to VCENTER.
* app/core/gimpimage-arrange.c: extensively rewritten
to handle arrangement of objects, and to do the
required sorting of lists by offset.
* app/tools/gimpaligntool.[ch]: added ability to arrange
groups of layers etc with constant spacing. Also try
to change things so that the tool aligns with the
object that users expect intuitively.
2006-06-08 Simon Budig <simon@gimp.org>
* plug-ins/common/sel_gauss.c: fix the EXPAND macro to make
picky compilers happy. Fixes bug #344326, spotted by
Eric Lamarque.
2006-06-08 Sven Neumann <sven@gimp.org>
* plug-ins/common/animationplay.c (menu_popup): do not use
gtk_menu_attach_to_widget() but gtk_menu_set_screen(). Menus don't
like to be attached multiple times.
2006-06-06 Sven Neumann <sven@gimp.org>
* plug-ins/common/decompose.c: applied a modified patch from
Clarence Risher that adds support for a registration color
(bug #338049).
* plug-ins/common/png.c: fixed file_png_set_defaults; wrong # of
return values, missing "set" if/else set, wrong set param count,
and off by one error in the parameter indexes. Thanks to Kevin
on helping track these down.
2006-06-02 Sven Neumann <sven@gimp.org>
* plug-ins/common/mkgen.pl: always look at $plugins{$_}->{cflags}.
* plug-ins/common/plugin-defs.pl: use MMX_EXTRA_CFLAGS for the
selective gaussian blur plug-in.
* plug-ins/common/Makefile.am: regenerated.
2006-06-02 Sven Neumann <sven@gimp.org>
* app/composite/gimp-composite.c (gimp_composite_use_cpu_accel):
need to test for GIMP_COMPOSITE_OPTION_NOEXTENSIONS.
* libgimp/gimp.c (gimp_config): call gimp_set_use_cpu_accel() from
here, not in gimp_main().
* plug-ins/common/sel_gauss.c: applied patch from Loren Merritt
that adds MMX code to boost the plug-in speed (bug #342860).
2006-06-01 Sven Neumann <sven@gimp.org>
* plug-ins/common/sel_gauss.c: applied patch from Loren Merritt
that replaces the floating-point implementation of selective
gaussian blur with a fixed-point version (bug #342860).
2006-05-28 Michael Natterer <mitch@gimp.org>
* plug-ins/common/pnm.c: applied patch from Martin Collins which
adds PBM (bitmap) support. Fixes bug #167578. Did some additional
cleanups and sprinkled some gimp_progress_update(1.0).
2006-05-24 Michael Natterer <mitch@gimp.org>
* plug-ins/common/png.c: moved "Load defaults" and "Save defaults"
buttons to a separate line. Fixes bug #310291.
2006-05-24 Sven Neumann <sven@gimp.org>
* plug-ins/common/raw.c (load_dialog): use a GtkFileChooserButton
instead of a GimpFileEntry widget.
* plug-ins/script-fu/script-fu-interface.c
* plug-ins/script-fu/script-fu-scripts.c
* plug-ins/script-fu/script-fu-types.h: use GtkFileChooserButton
for SF_FILENAME and SF_DIRNAME parameters.
2006-05-20 Manish Singh <yosh@gimp.org>
Fixes to address -ansi -pedantic compilation (bug #342390).
Thanks goes to Daniel Richard G. for noticing and suggesting
fixes.
* libgimpbase/gimpsignal.c: #include "config.h" and define
__POSIX_SOURCE for sigaction stuff.
* app/base/tile-swap.c (tile_swap_test): use more portable
S_IRUSR and S_IWUSR, instead of S_IREAD and S_IWRITE.
* plug-ins/common/ripple.c
* plug-ins/imagemap/imap_main.c: use C89 comments.
* plug-ins/Lighting/lighting_preview.h: don't define spin widget
variables here...
* plug-ins/Lighting/lighting_ui.[ch]: ... and instead take care
of them here.
2006-05-13 Hans Breuer <hans@breuer.org>
* **/makefile.msc app/gimpcore.def : updated
* app/core/gimp-util.c : dont include "config/gimpbaseconfig.c", it
gives an redefinition error with msvc. Instead include
config/gimpbaseconfig.h and libgimpconfig/gimpconfig-path.h
* plug-ins/common/psd_save.c : fix c99isms (declarations only at the
start of a block)
2006-05-08 Simon Budig <simon@gimp.org>
* plug-ins/common/postscript.c: improve the error message when
spawning ghostscript does not work. See bug #340996. Untabbified.
2006-05-05 Manish Singh <yosh@gimp.org>
* plug-ins/common/gifload.c (DoExtension): Revert back to unsigned
chars for the buffer, and only cast to gchar if we know we're dealing
with a comment. Fixes bug #339865.
2006-04-26 Sven Neumann <sven@gimp.org>
* plug-ins/common/unsharp.c: use gimp_progress_set_text() instead
of gimp_progress_init() to change the progress text.
2006-04-24 Sven Neumann <sven@gimp.org>
* plug-ins/common/gifload.c: implement a thumbnail load procedure
that loads only the first frame of a GIF animation.
2006-04-23 Sven Neumann <sven@gimp.org>
* plug-ins/common/Makefile.am
* plug-ins/common/plugin-defs.pl
* plug-ins/common/redeye.c: added Redeye Removal plug-in, written
by Robert Merkel and Andreas Røsdal. Fixes bug #91795.
2006-04-23 Manish Singh <yosh@gimp.org>
* plug-ins/common/plugin-defs.pl: use PNG_CFLAGS for the png plugin.
* plug-ins/common/Makefile.am: regenerated.
2006-04-23 Manish Singh <yosh@gimp.org>
* plug-ins/common/png.c: don't use long deprecated libpng API, and
drop support for ancient libpng versions. Fixes bug #339402.
* configure.in: use pkg-config to detect libpng. This means we now
require at least libpng 1.2.2, but that's over four years old, so
that shouldn't be that big a deal.
2006-04-20 Simon Budig <simon@gimp.org>
* plug-ins/common/convmatrix.c: only access existing toggle buttons.
Fixes bug #339124
* devel-docs/debug-plug-ins.txt: Added hint how to run a plugin
in the gdb when GIMP_PLUGIN_DEBUG is active.