2006-11-16 Michael Natterer <mitch@gimp.org>
Made all brushes scalable from the tool options. So far only
downscaling is supported since we lack an algorithm for bitmap
brush upscaling. Addresses bug #65030.
* app/paint/gimppaintoptions.[ch]: added "brush-scale" property.
* app/paint/gimpbrushcore.[ch]: separate pressure logic from brush
scaling logic and take paint_options->brush_scale into account.
Added gimp_brush_core_create_bound_segs() which returns BoundSegs
of the correctly scaled brush mask for the brush preview on the
canvas.
* app/tools/gimpbrushtool.c: use gimp_brush_core_create_bound_segs()
instead of doing this here (also removes all knowledge about lowlevel
stuff from this file). Connect to notify::brush-scale of the
paint options and invalidate the brush core's brush accordingly.
* app/tools/gimppaintoptions-gui.c: added brush scale slider.
2006-11-16 Simon Budig <simon@gimp.org>
* plug-ins/script-fu/script-fu-enums.h
* plug-ins/script-fu/scheme-wrapper.c
* plug-ins/script-fu/script-fu-types.h
* plug-ins/script-fu/script-fu-scripts.c: add a SF-VECTORS type for
script-fu.
* plug-ins/script-fu/script-fu-interface.c: use a vectors
combobox for the GUI.
* plug-ins/script-fu/scripts/test-sphere.scm: test it as well.
2006-11-16 Simon Budig <simon@gimp.org>
* libgimp/gimpdrawablecombobox.[ch]: removed...
* libgimp/gimpitemcombobox.[ch]: and added here. Factored out
a lot of common code and added a combo box for vectors objects.
* libgimp/Makefile.am
* libgimp/gimpui.h
* libgimp/gimpuitypes.h: changed accordingly.
2006-11-15 Sven Neumann <sven@gimp.org>
* app/tools/gimprectangletool.[ch]
* app/tools/gimprectangleselecttool.c: removed function from the
properties. Added getter and setter functions instead. Redraw
the
tool whenever the function changes.
2006-11-15 Kevin Cozens <kcozens@cvs.gnome.org>
* plug-ins/FractalExplorer/FractalExplorer.h
* plug-ins/FractalExplorer/FractalExplorer.c (explorer_render_row):
Removed 'static' from the routines declaration. Changed routine to
use a switch instead of a series of if statements.
* plug-ins/FractalExplorer/Dialogs.c: Removed duplicate code by
using call to explorer_render_row().
2006-11-15 Simon Budig <simon@gimp.org>
* plug-ins/common/tiff.c: adapt the special casing for libtiff
warning messages about unknown tags for the apparently newer
message text.
2006-11-14 Simon Budig <simon@gimp.org>
* plug-ins/script-fu/scripts/grid-system.scm: don't register in the
menus. The script duplicates functionality of the better plugin,
has a very obscure UI and registers under the same name as the plugin.
2006-11-14 Sven Neumann <sven@gimp.org>
* app/dialogs/file-open-location-dialog.c: don't use
gimp_dialog_set_sensitive(); just make the entry not editable and
the dialog's OK button insensitive.
* app/widgets/gimpfiledialog.c
* app/widgets/gimpwidgets-utils.[ch]: moved gimp_dialog_set_sensitive()
implementation into gimp_file_dialog_set_sensitive().
2006-11-13 Sven Neumann <sven@gimp.org>
* app/tools/gimprectangletool.c: reduced the size of the side
handles to two third the size of the corner handles.
2006-11-13 Michael Natterer <mitch@gimp.org>
* app/xcf/xcf.c (xcf_load_invoker): fix g_str_has_prefix() change
below. Now we can open XCF files again. Fixes bug #374657.
2006-11-11 Michael Natterer <mitch@gimp.org>
* app/tools/gimpselectiontool.c
(gimp_selection_tool_modifier_key): Fix behavior so that when Alt
is down, it appears as if no other modifier was pressed.
Fixes bug #349338.
2006-11-09 Kevin Cozens <kcozens@cvs.gnome.org>
* plug-ins/script-fu/scheme-wrapper.c (marshall_proc_db_call): Use
vectors instead of the non-standard array structure. Also made some
minor coding style changes in the file.
* plug-ins/script-fu/tinyscheme/opdefines.h
* plug-ins/script-fu/tinyscheme/scheme-private.h
* plug-ins/script-fu/tinyscheme/scheme.h
* plug-ins/script-fu/tinyscheme/scheme.c: Removed all code related
to the handling of the non-standard array structure. Added one small
change to scheme.c to fix problems compiling with MSVC in Windows.
* plug-ins/script-fu/scripts/script-fu-compat.init: Changed array
references to use vector references.
2006-11-09 Michael Natterer <mitch@gimp.org>
* plug-ins/rcm/rcm.c
* plug-ins/rcm/rcm_misc.c: fix warning about missing declaration
and did some code shuffling and cleanup.
2006-11-09 Kevin Cozens <kcozens@cvs.gnome.org>
* plug-ins/script-fu/tinyscheme/scheme.c: Moved too much. Move some
array declarations out of here...
* plug-ins/script-fu/tinyscheme/scheme-private.h: and back to here.
2006-11-09 Kevin Cozens <kcozens@cvs.gnome.org>
* plug-ins/script-fu/tinyscheme/scheme-private.h: Moved various
declarations and defines out of here...
* plug-ins/script-fu/tinyscheme/scheme.c: and added them here in
keeping with the original 1.38 version of TinyScheme. Only include
unistd.h if it exists.
* plug-ins/script-fu/ftx/ftx.c: Only include unistd.h if it exists.
2006-11-09 Michael Natterer <mitch@gimp.org>
Properly abstract brush scaling:
* app/core/gimpbrush.[ch]: added virtual functions
GimpBrush::scale_mask() and ::scale_pixmap() and default
implementations which call the functions in base/brush-scale.c.
* app/core/gimpbrushgenerated.c: factored out brush calculation to
an internal utility function and call that function from ::dirty()
and from the new ::scale_mask().
* app/core/gimpbrushcore.c: use gimp_brush_scale_mask/pixmap()
instead of using the lowlevel scale functions directly. Fixes the
uglyness that we were scaling generated brushes instead of simply
recalculating them in the right size.
2006-11-09 Michael Natterer <mitch@gimp.org>
* plug-ins/script-fu/tinyscheme/scheme.c: don't include <malloc.h>
Fixes the build on OSX (or maybe BSD in general).
2006-11-09 Sven Neumann <sven@gimp.org>
* configure.in: added missing quotes in test for libcurl.
* app/plug-in/gimppluginprocedure.c
(gimp_plug_in_procedure_add_menu_path): try not to crash on
invalid menu paths and avoid a string copy for the common case.
* app/composite/gimp-composite-mmx.c: commented out unused code.
2006-11-08 Simon Budig <simon@gimp.org>
* tools/defcheck.py: don't bail out successfully after the first test,
don't bail out prematurely on a failed test and actually spot double
symbols in .def-files if they follow immediately each other...
2006-11-08 Sven Neumann <sven@gimp.org>
* tools/Makefile.am (EXTRA_DIST): added defcheck.py.
* tools/defcheck.py: keep a list of .def files, glob didn't work
for me. Also bail out with a reasonable message if not being
called from the toplevel source directory.
* Makefile.am (dist-hook): check .def files for consistency.
2006-11-07 Sven Neumann <sven@gimp.org>
* plug-ins/pygimp/gimpmodule.c: added context_push() and
context_pop() methods to the gimp module.
* plug-ins/pygimp/plug-ins/sphere.py: use them.
2006-11-07 Sven Neumann <sven@gimp.org>
* app/dialogs/file-save-dialog.c: undef DEBUG_SPEW again.
* app/tools/gimprectangletool.c (gimp_rectangle_tool_draw):
don't draw the handles while the rectangle is being moved.
2006-11-07 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/scripts/ts-helloworld.scm: test scripts
aren't localized, but should still follow the menu guidelines.
2006-11-07 Sven Neumann <sven@gimp.org>
* app/tools/gimpdrawtool.[ch] (gimp_draw_tool_draw_corner):
improved highlighting.
(gimp_draw_tool_draw_arc_by_anchor): take width and height
arguments instead of radius_x and radius_y.
* app/tools/gimpiscissorstool.c
* app/tools/gimpvectortool.c: slightly increased handle sizes.
* app/tools/gimpmeasuretool.c: increased size of the end points.
* app/tools/gimpperspectiveclonetool.c: increased handle size.
* app/tools/gimprectangletool.c: renamed variables.
* app/tools/gimpsourcetool.c: use a single define for the target
size.
* app/tools/gimptransformtool.[ch]: increased handle size. Made
the area that can be grabbed identical to the displayed handle.
Replaced filled circle with a circle outline and a cross.
* app/tools/gimptransformtool-undo.c: follow renaming of define
in
gimptransformtool.h.