2002-06-06 Sven Neumann <sven@gimp.org>
* INSTALL: added FreeType2 URL and suggest to use GNU make.
* configure.in: improved output in case of missing PangoFT2.
2002-06-05 Michael Natterer <mitch@gimp.org>
* app/tools/gimprectselecttool.c: fixed#84157: allow the tool to
scroll the display. Also preserve it on drawable changes.
2002-06-04 Michael Natterer <mitch@gimp.org>
* app/paint/gimppaintoptions.[ch]: i don't know what i was
thinking, but GimpPaintOptions.context *is* used, sorry...
2002-06-02 Michael Natterer <mitch@gimp.org>
* app/gui/session.c: parse sessionrc using GScanner.
* app/config/gimpscanner.[ch]: added utility function
gimp_scanner_parse_string_list(). Fixed the color parser's parse
error detection.
* app/gimprc.c: removed the sessionrc parsing stuff.
* app/config/gimpconfig-params.c (gimp_param_spec_color): no need
to set the param_spec's value_type, it already gets set by it's
base class' instance_init() function.
2002-05-31 Michael Natterer <mitch@gimp.org>
* app/widgets/gimpcolormapeditor.c
* app/widgets/gimppaletteeditor.c: return FALSE from button press
event callbacks so the color drag handlers work again. Cleaned up
the palette editor a bit.
2002-05-31 Michael Natterer <mitch@gimp.org>
* app/paint-core/paint-core.c (combine_sub_region): this is
getting silly: this time (maybe) really fix#83418 and #26072: of
course the local buffer needs to take the sizes of all three
passed in regions into account, not only two of them *sigh*
2002-05-31 Michael Natterer <mitch@gimp.org>
* app/config/gimpscanner.[ch]: configure the scanner the same
way GimpConfig did (scanner->user_data is, if set, a GError).
Added gimp_scanner_parse_color(). Added "GError **error" to
gimp_scanner_new().
* app/config/gimpconfig.c: use gimp_scanner_new().
* app/config/gimpconfig-deserialize.c: use gimp_scanner_parse_color().
* app/core/gimpunits.c
* app/plug-in/plug-in-rc.c: changed accordingly.
* app/plug-in/plug-in-rc.c: made the main parse loops consistent
with the other places using GScanner.
2002-05-30 Michael Natterer <mitch@gimp.org>
* app/xcf/xcf-read.c (xcf_read_string): UTF-8 validate all strings
and try g_locale_to_utf8() as fallback if it fails.
2002-05-30 Michael Natterer <mitch@gimp.org>
* POTFILES.in: added app/xcf/xcf-read.c
2002-05-30 Sven Neumann <sven@gimp.org>
* configure.in: check for extra libraries needed for inet_ntoa() and
socket() and define them as SOCKET_LIBS.
* plug-ins/script-fu/Makefile.am (LDADD): added SOCKET_LIBS.
2002-05-30 Sven Neumann <sven@gimp.org>
* configure.in: added -lX11 to LIBXMU since GTK_LIBS doesn't provide
it for us anymore (reported by Tomas Ogren).
* libgimpbase/gimpenv.[ch]: declare gimp_path_runtime_fix() static.
* app/base/Makefile.am: conditionally build detect-mmx.S to avoid
warnings about empty object files (reported by Tomas Ogren).
* plug-ins/Makefile.am: commented out plugin-helper since it's just
too broken to be distributed.
* themes/Default/images/Makefile.am: echo -n is not portable and not
needed, so removed it (reported by Tomas Ogren).
2002-05-29 Michael Natterer <mitch@gimp.org>
* app/paint-funcs/paint-funcs.c: fixed#83418, which was caused by
my bogus "fix" for #34849 (initial_sub_region:: error :: src->w *
(src->bytes + 1) > 512).
The assertions were there because there were local temporary
buffers of 512 bytes size. Now the buffers' size is
MAX (src->width * src->bytes, dest->width * dest->bytes) which
should be enough this time :) Re-enabled the assertions because
of paranoia...
2002-05-29 Michael Natterer <mitch@gimp.org>
* app/paint/gimppencil.c: don't pass bogus [0..255] opacities to
gimp_paint_core_paste_canvas() but use gdouble values in a
[0.0..1.0] range. Spotted by Jakub Steiner.
2002-05-29 Sven Neumann <sven@gimp.org>
* libgimpwidgets/gimpwidgets.[ch]: renamed gimp_mem_size_entry_new()
to gimp_memsize_entry_new() for consistency. Rewrote using bitshifts.
Should work correctly for sizeof (gulong) > 32 now. Added new unit
GigaBytes.
* app/gui/preferences-dialog.c
* app/gui/user-install-dialog.c: changed accordingly.
* app/config/gimpconfig-types.[ch]: added new function
gimp_memsize_set_from_string() that allows to check if the
conversion succeeded.
* app/config/gimpconfig-deserialize.c
(gimp_config_deserialize_memsize): use gimp_memsize_set_from_string().
2002-05-28 Sven Neumann <sven@gimp.org>
* app/core/gimplayer.c (gimp_layer_new_from_drawable): determine
the src_base_type from the passed drawable, not from the image it
is attached to.
* app/core/gimpimage-convert.c (gimp_drawable_convert_rgb)
(gimp_drawable_convert_grayscale): added a check for the expected
bpp of the passed tile_manager.
2002-05-28 Sven Neumann <sven@gimp.org>
* app/base/base-config.[ch]
* app/gui/user-install-dialog.c: use a gulong for the tile_cache_size.
* app/base/tile-cache.c: cleanup, no changes.
* app/config/gimpconfig-types.c (string_to_memsize): avoid overflows.
2002-05-28 Michael Natterer <mitch@gimp.org>
Yes, this is a bit hackish...
* app/widgets/gimppreview.[ch]: added "gboolean eat_button_events"
to enable previews which are clickable *and* let the click through
to their parent widget.
* app/widgets/gimpdrawablelistitem.c
* app/widgets/gimplayerlistitem.c: set "eat_button_events" to
FALSE whenever we set "clickable" to TRUE so the GtkListItems get
the click and can set the active drawable.
2002-05-28 Sven Neumann <sven@gimp.org>
* app/config/test-config.c
* app/gui/test-commands.c: use g_error_free() so we crash if our
GimpConfig functions return FALSE and don't set an error.
* app/widgets/gimpdevices.c: don't warn if devicerc was not found.
* app/gui/preferences-dialog.c: use G_MAXULONG as upper limit for
the mem_size entries.
* libgimpwidgets/gimpwidgets.c (gimp_mem_size_entry): use gulong
and set the range of the spinbutton's adjustment properly.
2002-05-28 Sven Neumann <sven@gimp.org>
* app/config/gimpconfig-types.c: derive GIMP_TYPE_MEMSIZE from
G_TYPE_ULONG. Should probably be even G_TYPE_UINT64 but we use
strtol which can only handles unsigned long int.
* app/config/gimpbaseconfig.[ch]
* app/config/gimpguiconfig.[ch]: changed accordingly.
* app/config/test-config.c: use gimp_config_serialize_value() to
dump changed values to stdout.
2002-05-28 Michael Natterer <mitch@gimp.org>
* app/core/gimpcontext.c: override GObjectClass->constructor() and
do the setup stuff there, not in gimp_context_new(). This way we
can create properly initialized contexts with g_object_new().
* app/widgets/gimpdeviceinfo.c: Removed the "gimp" property
again. Added a constructor() implementation and moved stuff there
from gimp_device_info_set_property(PROP_GIMP).
* app/config/gimpconfig-deserialize.c: made deserialization of
value arrays work by actually using the array any not just leaking
it ;)
* app/core/gimpcontainer.c: removed debugging output. Call
config_iface->deserialize(child, ...) again instead of calling
gimp_config_deserialize_properties() directly.
* app/widgets/gimpdevices.c: switch to using the new stuff for
devicerc.
* app/widgets/gimpdeviceinfo.[ch]
* app/widgets/gimpdevices.[ch]
* app/gimprc.c: removed all old gimprc-style devicerc stuff.
* app/gui/menus.c
* app/gui/test-commands.[ch]: removed devicerc testing entries
and callbacks.