2003-09-11 Sven Neumann <sven@gimp.org>
* gimp-plugin/svg.c: Sprinkled the code with const qualifiers.
Fixed transfer of pixel data from pixbuf to pixel region. The
old code was wrong for pixbufs with rowstride != width * bpp.
2003-07-30 Manish Singh <yosh@gimp.org>
* plug-ins/common/Makefile.am
* plug-ins/common/plugin-defs.pl
* plug-ins/common/ccanalyze.c: new plug-in, Colorcube Analysis
(counts colors in an image, an often requested feature)
2003-07-29 Manish Singh <yosh@gimp.org>
* tools/pdbgen/app.pl: added a utf8 option for string input
parameters, and validate them.
* tools/pdbgen/pdb/text_tool.pdb: make the text parameter use it.
Partially addresses #79897. Also remove references to XLFD in the
doc text.
* app/pdb/text_tool_cmds.c: regenerated
* configure.in: Really bump the version number
2003-07-29 Dave Neary <bolsh@gimp.org>
* plug-ins/common/edge.c: Added several new edge detection
algorithms. There are more complicated ways these could be
done (using the rotations of the kernels in the plug-in) but
this is a nice mix between speed and complexity. The
algorithms, heavily modified, come from iccii's thin_line
plug-in.
2003-07-29 Michael Natterer <mitch@gimp.org>
* app/core/gimpimage.c (gimp_image_set_active_layer): moved the
code which manipulates gimage->layer_stack and the call to
gimp_layer_invalidate_boundary() inside the if(layer != active_layer)
branch so it is called less often. Fixes the slowness of bug #104440
for most cases since we don't need to recalculate the selection
boundary in the next step.
(gimp_image_set_active_channel): call
gimp_layer_invalidate_boundary() before setting the active_layer
to NULL. Fixes stale layer boundary when switching to a channel.
* app/display/gimpdisplay.c (gimp_display_flush_whenever): when
there are no updates, we still need to restart the selection.
Fixes missing layer boundary when switching from a channel to
a layer.
2003-07-29 Michael Natterer <mitch@gimp.org>
* app/display/gimpdisplayshell-handlers.c
(gimp_display_shell_ants_speed_notify_handler): use the
gimp_display_shell_selection_control() wrapper instead of
calling gimp_display_shell_selection_*() functions directly.
Don't #include "gimpdisplayshell-selection.h".
2003-07-29 Michael Natterer <mitch@gimp.org>
* app/display/gimpdisplayshell-callbacks.c
(gimp_display_shell_[hv]ruler_button_press): skip double clicks by
checking event->type == GDK_BUTTON_PRESS. Brings press and release
events sent to the move tool back in sync and fixes bug #75351.
2003-07-29 Dave Neary <bolsh@gimp.org>
* plug-ins/common/gif.c: Include a patch by Cameron Gergory
<cameron@bloke.com> which allows a compile-time choice of the
comression algorithm to be used in the gif plug-in.
* configure.in: Added --with-gif-compress flag to allow
specification of compression algorithm via configure.
* app/composite/Makefile.am:
Made the explicit target "regenerate" to regenerate the source
files using the Python meta-generator.
* app/composite/gimp-composite-mmx.c
* app/composite/gimp-composite-mmx.h
* app/composite/gimp-composite-sse.c
* app/composite/gimp-composite-sse.h:
Now bounded by the conditional "#if __GNUC__ >= 3". This is a
coarse fix to enable app/composite to build on a wider variety of
platforms. Ideally, this will be refined to encompass different
versions of the compiler(s) supporting inline assembly code.
2003-07-28 Sven Neumann <sven@gimp.org>
* libgimpbase/Makefile.am (EXTRA_HEADERS): added gimpwin32-io.h.
* libgimpbase/gimpdatafiles.c: properly include the new header.
2003-07-28 Michael Natterer <mitch@gimp.org>
* app/text/gimptext-vectors.c: define FT_GLYPH_FORMAT_OUTLINE as
ft_glyph_format_outline if it doesn't exist so it compiles with
older freetype versions.
2003-07-28 Michael Natterer <mitch@gimp.org>
* app/gui/image-menu.c (image_menu_entries): add the
GIMP_STOCK_GRID icon to the "Configure Grid..." menu item and set
it insensitive if there is no image.
2003-07-28 Michael Natterer <mitch@gimp.org>
* libgimp/gimpcompat.h: removed the name from the
GimpOrientationType[Compat] enum. The enums in this header are
just an anonymous mappings and not types by themselves.
2003-07-27 Henrik Brix Andersen <brix@gimp.org>
* app/gui/image-menu.c (image_menu_entries): moved Configure Grid
entry to the <Image>/Image branch
* app/gui/view-commands.[ch] (view_configure_grid_cmd_callback):
removed function
* app/gui/image-commands.[ch] (image_configure_grid_cmd_callback):
added function here
* app/gui/grid-dialog.c: removed snap and show options from the
dialog
2003-07-27 Tor Lillqvist <tml@iki.fi>
* plug-ins/common/xpm.c: Merge from stable: On Win32 (with no
X11), don't include <X11/Xlib.h>. (Do include <X11/xpm.h>, though,
as such a file is provided by the libXpm-noX package.)
(parse_colors): If XPM_NO_X (Win32), use GDK to parse color names.
2003-07-27 Tor Lillqvist <tml@iki.fi>
* libgimp/gimp.def
* libgimp/gimpui.def: Move gimp_{brush,font,gradient,pattern}_
select_{destroy,new} back to gimp.def (and actually add some of
the _destroy entries). The files where these are defined go in
libgimp, not libgimpui (see Makefile.am). Sort the .def files.
2003-07-26 Hans Breuer <hans@breuer.org>
* libgimp/gimpcompat.h : renamed GimpOrientationType
with Compat postfix to avoid name clashing when using
this header together with libgimp/gimpenums.h
* app/composite/makefile.msc : (new file)
**/makefile.msc : updated
* libgimp/gimp.c : use static defined _tile<widht|height>
in this file instead of function call
* libgimp/gimp.def libgimp/libgimpui.def : moved from former
to latter : gimp_<brush|font|gradient|pattern>_select_<new|destroy>
added to former gimp_<brushes|gradients|patterns>_popup
* app/paint/gimppaintcore.h : removed double semicolon
which gave msvc error C2059: syntax error : ';'
* libgimpbase/gimpwin32-io.h : (new file) compatibilty defines
which were spread over multiple files to make up mostly for
missing unistd.h
* app/base/tile-swap.c app/core/gimpimagefile.c
libgimpbase/gimpdatafiles.c
plug-ins/FractalExplorer/FractalExplorer.c : use new header
* plug-ins/gflare/gflare.c
plug-ins/flame/flame.c
plug-ins/FractalExplorer/Dialogs.c :
removed #ifdef G_OS_WIN32 special casing, not needed anymore
due to g_file_test() usage
* app/text/*.* : changes required for build with PangoWin32,
but not commited ...
2003-07-26 Adam D. Moss <adam@gimp.org>
* LICENSE: (new file) Explain the mix of licenses within
the GIMP distribution, and make an explicit statement clarifying
our position on invoking methods in GPL-implemented code from
non-GPL plugins/extentions via libgimp and/or the pdb (ie. that
this does not automatically GPL-infect the program doing the
invoking, which is otherwise an ambiguity in the GPL).
2003-07-25 Manish Singh <yosh@gimp.org>
* plug-ins/pygimp/gimpfu.py: slight fix for arg handling, shouldn't
have any functional difference. This code should be redone at some
point.
* plug-ins/pygimp/gimpmodule.c
* plug-ins/pygimp/pygimp.h
* plug-ins/pygimp/pygimp-pdb.c: constify
* plug-ins/pygimp/plug-ins/sphere.py: use new blend pdb interface
2003-07-25 Michael Natterer <mitch@gimp.org>
* app/core/gimpimage-undo-push.c (gimp_image_remove_layer)
* app/core/gimpimage.c (undo_pop_layer)
* app/text/gimptextlayer.c (gimp_text_layer_render):
gimp_layer_invalidate_boundary() must be called whenever a layer
gets translated, resized or removed. Fixes stale layer outlines in
the canvas padding area.