* app/composite/make-installer.py: generate smaller tables and
less code. Now takes real command line options:
options:
--version show program's version number and exit
-h, --help show this help message and exit
-f FILE, --file=FILE the input object file
-t, --test generate regression testing code
-r REQUIRES, --requires=REQUIRES cpp #if conditionals
See Makefile.am for how I use these options to generate the code.
* app/composite/gimp-composite-altivec-{installer,test}.c:
* app/composite/gimp-composite-generic-{installer,test}.c:
* app/composite/gimp-composite-mmx-{installer,test}.c
* app/composite/gimp-composite-sse-{installer,test}.c:
* app/composite/gimp-composite-vis-{installer,test}.c: regenerated
with smaller tables and less ode.
2003-08-14 Tor Lillqvist <tml@iki.fi>
* app/base/base.c (base_init): If a development version (odd
GIMP_MINOR_VERSION), print a warning that debug messages may
appear. Only print the CPU acceleration messages on
development versions. On Win32, tell people not to close the
console window. (#119786)
2003-08-14 Michael Natterer <mitch@gimp.org>
* app/tools/gimpvectortool.c (gimp_vector_tool_button_press): call
gimp_image_update() after calling gimp_image_add_vectors() so the
menus get updated correctly. Fixes bug #119412.
2003-08-14 Michael Natterer <mitch@gimp.org>
* app/gui/image-menu.c (image_menu_entries): applied a patch from
Alan Horkan <horkana@tcd.ie> which adds an "Undo History..." menu
entry below the "Undo" and "Redo" ones. Fixes bug #119662.
2003-08-14 Michael Natterer <mitch@gimp.org>
* app/paint/gimppaintcore.c (gimp_paint_core_subsample_mask): use
g_new0() instead of g_malloc() followed by memset(). Some coding
style cleanups.
* composite/ modularisation of the automatic compositing function
"wiring" to construct the table of compositing functions at
run-time instead of compile time.
The environment variable GIMP_COMPOSITE is a hexadecimal number
representing a bit-field used to set/reset options in the
gimp-composite code.
* gimp-composite-altivec.[ch]: added
* gimp-composite-altivec-installer.[ch]: added
* gimp-composite-vis.[ch]: added
* gimp-composite-vis-installer.[ch]: added
* gimp-composite-mmx-installer.[ch]: added
* gimp-composite-sse-installer.[ch]: added
* gimp-composite-altivec-test.[ch]: added
* gimp-composite-vis-test.[ch]: added
* gimp-composite-mmx-test.[ch]: added
* gimp-composite-sse-test.[ch]: added
* make-installer.py: Added meta programme for generating code to
1) construct a table of compositing functions indexed by
operation, and the pixel formats of the sources and destination,
and 2) generating code for regression testing of these compositing
functions against the same functions in gimp-composite-generic.c
* gimp-composite-mmx.c (xxxgimp_composite_overlay_rgba8_rgba8_rgba8_mmx):
removing from the current set of optimisations because it appears
to be broken.
* Makefile.am: modified regression testing targets to now build
gimp-composite-*-test where * is any of generic, mmx, sse,
altivec, and vis.
* gimp-composite.c: moved in initialisation code
gimp_composite_init() from gimp-composite-dispatch.c
* gimp-composite.c: removed gimp_composite_unsupported().
* gimp-composite.c: use cpu_accel() to determine at run-time which
set of optimisations are to be used.
* gimp-composite.c: conditionally compile code for ARCH_X86.
* make-gimp-composite-dispatch.c: retired. See make-installer.py
* gimp-composite-mmx.c (op_overlay): namespace cleanup, op_overlay()
and all of the constant values are now static
* gimp-composite-mmx.c, gimp-composite-sse.c: fixed bug with the
alpha mask being the address of the alpha mask, not the mask
itself.
* app/paint-funcs/paint-funcs.c: Check gimp_composite_options.use
to see if we should use the new code or the old code.
* app/widgets/gimpbrushfactoryview.c: Reduced the range of the
spacing scale widget for convenience. Extreme values may still be
entered in the spin box.
2003-08-14 Michael Natterer <mitch@gimp.org>
* app/widgets/gimppreview.c (gimp_preview_button_press_event):
return early if the widget is not realized to enable destroying
the widget from an external "button_press_event" handler which
returns FALSE (as done in GimpContainerGridView).
Fixes bug #119413.
Some paranoia fixes for similar (although unseen) problems:
* app/widgets/gimppreview.[ch]: remember if we own a grab and
remove it in GtkWidget::unmap().
* app/widgets/gimppreview-popup.c: destroy the popup when the
parent widget gets unmapped.
2003-08-13 Michael Natterer <mitch@gimp.org>
* app/gui/gui.c (gui_restore): pop up a warning dialog if the
GTK+ version is < 2.2.2. Forgot to commit this at GimpCon...
2003-08-12 Henrik Brix Andersen <brix@gimp.org>
* app/gui/image-menu.c (image_menu_update): have the grid/guide
menu entries reflect the presence of grid/guides in the image (as
suggested by jimmac)
* app/display/gimpdisplayshell.c (gimp_display_shell_snap_coords):
snap to grid/guides even if the grid/guides are hidden (as
suggested by jimmac)
2003-08-09 Sven Neumann <neo@bender>
* configure.in: added devel-docs/app.
* app/core/gimpitem.c
* app/widgets/gimpdialogfactory.c: more documentation fixes.
2003-08-09 Sven Neumann <sven@gimp.org>
* Makefile.am
* app: added a first version of docs for the application. The
templates are not yet in CVS and it's not built by default (and
probably never will be).
2003-08-08 Simon Budig <simon@gimp.org>
* app/tools/gimppainttool.c: Added changing the opacity via
cursor keys. Left/Right: +- 1%, UpDown: +- 10%.
I am just committing this, because jimmac will kill me if I dont...
2003-08-07 Simon Budig <simon@gimp.org>
* app/vectors/gimpstroke.[ch]
* app/vectors/gimpvectors.c: Moved transformations code to
gimpstroke, so that the gimpvector no longer fiddles in
the stroke internals.
2003-08-05 Henrik Brix Andersen <brix@gimp.org>
* plug-ins/common/align_layers.c
* app/gui/image-menu.c
* plug-ins/fp/fp.c
* plug-ins/common/compose.c
* plug-ins/common/ccanalyze.c: added even more mnemonics to fix more of
#106991. Many more to follow...
2003-08-05 Henrik Brix Andersen <brix@gimp.org>
* plug-ins/common/align_layers.c
* app/gui/image-menu.c
* plug-ins/fp/fp.c
* plug-ins/common/compose.c
* plug-ins/common/ccanalyze.c: added even more mnemonics to fix more of
#106991. Many more to follow...
2003-08-04 Henrik Brix Andersen <brix@gimp.org>
* app/gui/image-menu.c (image_menu_entries): reverted change to
web-separator which accidentially slipped in with last commit
2003-08-04 Henrik Brix Andersen <brix@gimp.org>
* app/gui/plug-in-menus.c (plug_in_menus_update)
* app/plug-in/plug-in.c (plug_in_get_undo_desc): use
gimp_menu_path_strip_uline() to strip plug-in mnemonics from
undo/redo, repeat and re-show menu entries
2003-08-04 Henrik Brix Andersen <brix@gimp.org>
* plug-ins/pygimp/plug-ins/sphere.py
* plug-ins/pygimp/plug-ins/pdbbrowse.py
* plug-ins/pygimp/plug-ins/gimpcons.py
* plug-ins/maze/maze.c
* plug-ins/ifscompose/ifscompose.c
* plug-ins/gfig/gfig.c
* plug-ins/FractalExplorer/FractalExplorer.c
* plug-ins/flame/flame.c
* plug-ins/dbbrowser/dbbrowser.c
* plug-ins/common/CML_explorer.c
* app/gui/image-menu.c: added even more mnemonics to fix more of
bug #106991. Still more to follow...
2003-08-02 Simon Budig <simon@gimp.org>
* app/vectors/gimpstroke.[ch]: implemented gimp_stroke_close.
* app/vectors/gimpbezierstroke.c: only extend a stroke if
it is not closed.
* app/tools/gimpvectortool.c: ALT-Click on an anchor now
closes the stroke. Will evolve to the ability to connect
two strokes.
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 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.
* 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 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-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-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-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.
2003-07-24 Michael Natterer <mitch@gimp.org>
* app/widgets/gimphelp.c (gimp_help_internal): added a static
boolean "busy" variable to make sure we handle only one help
request at a time. Together with the now synchronous
GIMP_EXTENSION starting this keeps us from showing multiple help
browsers.
Pass the help_locale around instead oh hardcoding it to "C" at the
bottom (now it's hardcoded a few functions above ;)
2003-07-24 Michael Natterer <mitch@gimp.org>
* app/gui/image-menu.c: renamed "Edit/Stroke" to "Edit/Stroke
Selection" and added "Edit/Stroke Active Path". Added some missing
mnemonics to the "Edit" menu.
2003-07-24 Sven Neumann <sven@gimp.org>
* app/tools/gimptexttool.c (gimp_text_tool_create_vectors): set
the vectors offset from the text layer's offset.
* app/text/gimptext-vectors.c: removed debugging output.