2000-02-10 Michael Natterer <mitch@gimp.org>
* libgimp/gimpquerybox.[ch]: as all boolean query boxes are
confirmations for deleting/closing something, I added the "eek"
wilber (you can still disable the pixmap by passing FALSE to the
constructor's "eek" parameter).
* app/app_procs.c
* app/gdisplay_ops.c
* app/gradient.c
* app/palette.c
* plug-ins/gflare/gflare.c: pass eek==TRUE to the boolean query
box constructor.
2000-02-10 Michael Natterer <mitch@gimp.org>
* app/gimpui.[ch]: removed the query boxes.
* po-libgimp/POTFILES.in
* libgimp/Makefile.am
* libgimp/gimpui.h
* libgimp/gimpquerybox.[ch]: new files. Added a boolean query box
to get rid of all those handmade "yes/no" query dialogs. Changed
the query box callback prototypes to return the entered value
instead of a pointer to it.
* app/commands.c
* app/display_ops.c
* app/gradient.c
* app/palette.c
* app/paths_dialog.c: correctly call the new query box functions
and use the boolean query box instead of inventing this wheel over
and over again.
* app/global_edit.[ch]: same as above and cleaned up the public
interface.
* app/gimage.c
* app/paint_funcs.[ch]: Invalidate the color_hash_table used
for rgb->indexed conversions if the colormap of the indexed
image changes. Fixes bug #2683.
--Sven
* app/edit_selection.c: Finally moved selections snap to the
guides again. Layer moves are slightly faster than before, if no
guides are present.
* app/gdisplay.c
* app/gdisplay.h
* app/gdisplayP.h: Use doubles for snap_to_point. Less rounding
makes the result much better on low resolution. If it snaps, the
result should be exactly the guide in almost all cases now. Only
at very low resolutions, you may end up with an error of 1 pixel.
Some code cleanup while I was on it... Fixes bug #2353.
--Sven
2000-02-10 Michael Natterer <mitch@gimp.org>
* Makefile.am
* pixmaps/wilber.xpm: new file.
* libgimp/gimpdialog.[ch]: uncommented some lines. Depending on
your window manager, you'll figure out what it does without having
to look at the sources...
* app/app_procs.c
* app/gradient.c
* app/menus.c: minor changes to bring the goodie above to all
places. Did dome cleanups.
* app/commands.c: I18N fix.
* app/channels_dialog.c: removed an unused declaration.
2000-02-09 Garry R. Osgood <gosgood@idt.net>
* gimp/plug-ins/common/randomize.c
Inadvertent use of wrong adjustment
update callback failed to get proper
value of randomizing count from GUI.
[line 771, CVS-1.28] Closes#5948.
* app/menus.c: an attempt to guard us against badly translated
menu_entries which may result in a crash when passed to
gtk_item_factory_parse_path (). This might fix bug #6052.
--Sven
2000-02-08 Michael Natterer <mitch@gimp.org>
* app/by_color_select.c: show our selection mode cursors (REPLACE,
ADD, ...) depending on the modifier state and the "Selection Mode"
toggles in the tool's dialog.
2000-02-08 Michael Natterer <mitch@gimp.org>
* app/gimpdnd.[ch]: added a frame around all dnd previews. Fixed a
memleak (GdkPixmap's must be gtk_pixmap_unref()'ed after adding
them to a GtkPixmap).
2000-02-08 Michael Natterer <mitch@gimp.org>
* plug-ins/common/jpeg.c: wanted to fix the "loading/saving jpeg
causes SEGV" bugs but ended up with just some more callbacks
removed (works fine on my system anyway).
2000-02-08 Tor Lillqvist <tml@iki.fi>
* gimprc.win32: Fix a few path separators, should be semicolons on
Win32.
* plug-ins/makefile.cygwin: Install GAP and GFlare data.
* plug-ins/FractalExplorer/FractalExplorer.c: Fix a bug I
introduced last May, don't overrun a g_strdup'ed string with
strcat.
2000-02-07 Michael Natterer <mitch@gimp.org>
* app/*
* libgimp/*
* plug-ins/*
* tools/pdbgen/*: did a global s/GUnit/GimpUnit/ and
s/GimpSizeEntryUP/GimpSizeEntryUpdatePolicy/
* libgimp/gimpcolorspace.c: renamed the parameter names to match
the names in the header.
* libgimp/gimphelpui.h
* libgimp/gimpimage.c
* libgimp/gimpmatrix.h
* libgimp/gimpsizeentry.[ch]
* libgimp/gimpsizeentry.[ch]
* libgimp/gimpunit.[ch]
* libgimp/gimpunitmenu.[ch]
* libgimp/gimpwidgets.[ch]: added documentation and use g* types
all over the place (enables cross-referencing with the glib and
gtk+ html documentation).
* plug-ins/common/exchange.c
* plug-ins/common/max_rgb.c: small cleanups.
* plug-ins/common/mapcolor.c: the color buttons were attached in
the wrong order.
2000-02-07 Kelly Lynn Martin <kelly@poverty.bloomington.in.us>
* app/interface.c: restructured toolbox to use a single
gtk_hwrap_box with the added "forced break" functionality to make
the selector boxes not run in with the rest of the tool buttons.
The toolbox should now not cut things off, although if the user
selects a really small toolbox the buttons or selectors may be,
um, difficult to use...
* app/gtkwrapbox.h:
* app/gtkwrapbox.c:
* app/gtkvwrapbox.c (reverse_list_col_children):
* app/gtkhwrapbox.c (reverse_list_row_children): support for
"forced break" functionality needed for toolbox -- will forward
patches to Tim Janik as well
Mon Feb 7 05:04:28 2000 Tim Janik <timj@gtk.org>
* app/gtkhwrapbox.c:
* app/gtkvwrapbox.c: pulled new sources from gle (containing
a fix for kelly's justify==FILL bug).
2000-02-05 Garry R. Osgood <gosgood@idt.net>
* gimp/plug-ins/sample_colorize.c
Sample Colorize was not colorizing. Author
misused gimp_selection_bounds(); assumed that
"selection is empty" indicator was this
function's return value [p_init_gdrw() line 2597]
Caused the plugin to assume an active selection
was in progress even when there wasn't. Usually,
this precluded any kind of colorization.
Sanity-checked the existence of widgets before
their passage to GTK.
* plug-ins/rcm/rcm_misc.c: Corrected a stupid mistake I made when
I changed rcm to use the gimp_color_space functions (fixes#5967).
* plug-ins/common/decompose.c: Fixed a minor problem Mitch
introduced lately and removed another occurence of sprintf/gettext.
--Sven
2000-02-05 Michael Natterer <mitch@gimp.org>
* gimprc.in
* user_install
* user_install.bat: renamed the "gflares" dir to "gflare" in all
places because this seems to be the naming convention of all the
other plug-in dirs.
* libgimp/gimpwidgets.[ch]:
- gimp_random_seed_new(): return the spinbutton and the time
toggle as pointers.
- gimp_scale_entry_new(): allow the spinbutton to have a larger
range of possible values than the scale.
* plugins/[all calls to the above two functions]: changed the
calls accordingly.
Did some more ui updates in some of these plugins (Frames saying
"Parameter Settings", spacing etc.)
* plug-ins/gflare/Makefile.am
* plug-ins/gflare/gflare.c: hacked it to match the plugin ui
standards. Didn't get rid of the gradient menus.
2000-02-05 Tor Lillqvist <tml@iki.fi>
* gimprc.in: user_install creates the gflare directory as
"gflares" (not "gflare"), so use that form here, too.
* gimprc.win32: Update to match the Unix version.
* app/ops_buttons.c: Include gimpintl.h.
* app/preferences_dialog.c (file_pref_cmd_callback): I18n for the
Pixels/%s string. It used to come out as "Pixels/tuuma" in
Finnish, for instance.
* plug-ins/gflare/gflare.c: Portability.
* libgimp/gimpui.def:
* plug-ins/makefile.{cygwin,msc}
* modules/makefile.{cygwin,msc}: Updates.