* configure.in
* po-plug-ins
* po-libgimp: moved libgimp strings into their own catalog.
Mitch/Sven, could you take care of the domain rebinding?
* Makefile.am: make a gimp-config symlink to gimptool
-Yosh
2000-01-28 Michael Natterer <mitch@gimp.org>
* libgimp/Makefile.am
* libgimp/libgimp-intl.h: new file to be included by libgimp files
only. Re-defines _() and gettext() as dgettext() and N_() as
dgettext_noop().
This way the translations of the various widgets which are used in
both the app and plugins are searched in the correct catalog.
* libgimp/gimpcolorbutton.c
* libgimp/gimpexport.c
* libgimp/gimpfileselection.c
* libgimp/gimpunit.c
* libgimp/gimpunitmenu.c
* libgimp/gimpwidgets.c: #include "libgimp-intl.h"
2000-01-28 Michael Natterer <mitch@gimp.org>
* libgimp/gimpwidgets.[ch]: added one more option menu constructor
and made the namespace more consistent, minor fixes.
* libgimp/gimpdialog.c
* libgimp/gimpunitmenu.c: minor fixes.
* app/preferences_dialog.c
* plug-ins/borderaverage/borderaverage.c
* plug-ins/common/gif.c
* plug-ins/common/randomize.c: changed according to the above
namespace cleanups.
2000-01-27 Tor Lillqvist <tml@iki.fi>
* app/main.c (on_signal): No need to use an #ifdef for G_OS_WIN32
as the whole function is already bypassed on Win32.
* libgimp/gimp.def
* libgimp/gimpui.def: Updates.
* plug-ins/makefile.cygwin
* plug-ins/makefile.msc: Goodbye to the megawidget library.
* plug-ins/common/papertile.c: MAIN() must be after PLUG_IN_INFO
definition.
2000-01-28 Tor Lillqvist <tml@iki.fi>
* fi.po: Updates. Remove fuzzies, add a few more
translations. Many strings still untranslated. I wish some native
Finnish speaker would have a go at it. Ville?
2000-01-27 Michael Natterer <mitch@gimp.org>
* plug-ins/common/newsprint.c: changed the ui to use the libgimp
widget constructors, put the channel settings into a notebook, did
some indentation.
2000-01-26 Michael Natterer <mitch@gimp.org>
* app/preferences_dialog.c: forgot to correctly set the
tile_cache_size. Only apply show_tool_tips and tile_cache_size if
the prefs settings are not currupt.
2000-01-26 Michael Natterer <mitch@gimp.org>
* app/preferences_dialog.c: made the handling of the values which
can't be changed on the fly consistent:
- Some of the widget callbacks were connected to gimprc variables
instead of pref dialog's "edit_" variables.
- Correctly assign value, edit_value, old_value and save_value for
all of them.
- Separated them from the other values in all functions.
- Reduced the endless "if" madness in some callbacks.
2000-01-26 Michael Natterer <mitch@gimp.org>
* app/preferences_dialog.c: use the int adjustment callback from
libgimp, simplified the confirm dialog signal callbacks.
2000-01-26 Michael Natterer <mitch@gimp.org>
* libgimp/gimpsizeentry.[ch]: block the sizeentry's signals while
updating is's fields after a unit change and emit the
"value_changed" signal manually afterwards. This avoids multiple
"value_changed" signals which may cause callbacks to change the
sizeentry in the middle of a unit update.
* plug-ins/commion/spread.c: no need to connect to the sizeentry's
"unit_changed" signal.
2000-01-25 Michael Natterer <mitch@gimp.org>
* app/appenv.h: removed BOUNDS, MINIMUM and MAXIMUM. No need to
include both <glib.h> and <gtk/gtk.h>.
* app/*
* tools/pdbgen/pdb/text_tool.pdb: s/BOUNDS/CLAMP/,
same for MIN and MAX.
* app/preferences_dialog.c: the "Check Size" widget was connected
to the transparency_type variable.
* plug-ins/common/sobel.c: removed definitions of MIN and ROUND.
* libgimp/gimp.h: #include "gimplimits.h" and "gimpcolorspace.h".
* plug-ins/*: don't include the two files.
2000-01-26 Michael Natterer <mitch@gimp.org>
* app/preferences_dialog.c: forgot to correctly set the
tile_cache_size. Only apply show_tool_tips and tile_cache_size if
the prefs settings are not currupt.
2000-01-26 Michael Natterer <mitch@gimp.org>
* app/preferences_dialog.c: made the handling of the values which
can't be changed on the fly consistent:
- Some of the widget callbacks were connected to gimprc variables
instead of pref dialog's "edit_" variables.
- Correctly assign value, edit_value, old_value and save_value for
all of them.
- Separated them from the other values in all functions.
- Reduced the endless "if" madness in some callbacks.
2000-01-26 Michael Natterer <mitch@gimp.org>
* app/preferences_dialog.c: use the int adjustment callback from
libgimp, simplified the confirm dialog signal callbacks.
2000-01-25 Michael Natterer <mitch@gimp.org>
* app/appenv.h: removed BOUNDS, MINIMUM and MAXIMUM. No need to
include both <glib.h> and <gtk/gtk.h>.
* app/*
* tools/pdbgen/pdb/text_tool.pdb: s/BOUNDS/CLAMP/,
same for MIN and MAX.
* app/preferences_dialog.c: the "Check Size" widget was connected
to the transparency_type variable.
* plug-ins/common/sobel.c: removed definitions of MIN and ROUND.
* libgimp/gimp.h: #include "gimplimits.h" and "gimpcolorspace.h".
* plug-ins/*: don't include the two files.
2000-01-25 Michael Natterer <mitch@gimp.org>
* app/appenv.h: removed BOUNDS, MINIMUM and MAXIMUM. No need to
include both <glib.h> and <gtk/gtk.h>.
* app/*
* tools/pdbgen/pdb/text_tool.pdb: s/BOUNDS/CLAMP/,
same for MIN and MAX.
* app/preferences_dialog.c: the "Check Size" widget was connected
to the transparency_type variable.
* plug-ins/common/sobel.c: removed definitions of MIN and ROUND.
* libgimp/gimp.h: #include "gimplimits.h" and "gimpcolorspace.h".
* plug-ins/*: don't include the two files.
* plug-ins/common/colorify.c: use gimp_tile_cache_ntiles ()
* plug-ins/common/lic.c: when creating a new image, disable
undo, enable it later when the new image is completed
--Sven
2000-01-25 Michael Natterer <mitch@gimp.org>
* configure.in
* po-plug-ins/POTFILES.in
* plug-ins/common/Makefile.am
* plug-ins/common/plugin-defs.pl
* plug-ins/megawidget/*: removed. (There were only 3 functions
left which were used by ~5 plugins, so I moved the resp. functions
to the plugins). More preview stuff to come...
* app/airbrush_blob.c
* modules/colorsel_triangle.c
* modules/colorsel_water.c: use G_PI instead of M_PI.
* app/procedural_db.h
* libgimp/gimpenums.h
* plug-ins/script-fu/script-fu-constants.c
* tools/pdbgen/enums.pl: new PDB return value STATUS_CANCEL which
indicates that "Cancel" was pressed in a plugin dialog. (Useful
only for file load/save plugins).
* app/fileops.[ch]
* app/menus.c: changes to handle STATUS_CANCEL correctly. Did some
code cleanup in fileops.[ch]. Pop up a warning if File->Save
failed.
* app/plug_in.c: return_val[0] is of type PDB_STATUS, not
PDB_INT32.
* libgimp/gimpmath.h: new constant G_MAXRAND which equals to
RAND_MAX if it exists or to G_MAXINT otherwise.
* libgimp/gimpwidgets.[ch]: new function gimp_random_seed_new()
which creates a spinbutton and a "Time" toggle.
Call the function which does the "set_sensitive" magic from the
radio button callback.
* plug-ins/[75 plugins]:
- Return STATUS_CANCEL in all file load/save dialogs if "Cancel"
was pressed.
- Standardized the file plugins' "run" functions.
- Use G_PI and G_MAXRAND everywhere.
- Added tons of scales and spinbuttons instead of text entries.
- Applied uniform packing/spacings all over the place.
- Reorganized some UIs (stuff like moving the preview to the top
left corner of the dialog).
- Removed many ui helper functions and callbacks and use the stuff
from libgimp instead.
- I tried not to restrict the range of possible values when I
replaced entries with spinbuttons/scales but may have failed,
though in some cases. Please test ;-)
- #include <libgimp/gimpmath.h> where appropriate and use it's
constants.
- Indentation, s/int/gint/ et.al., code cleanup.
RFC: The plugins are definitely not useable with GIMP 1.0 any
more, so shouldn't we remove all the remaining compatibility
stuff ??? (like "#ifdef GIMP_HAVE_PARASITES")