2002-04-15 Sven Neumann <sven@gimp.org>
* app/config/gimpconfig-serialize.c: serialize doubles and floats
using the locale independent g_ascii_formatd().
2002-04-14 Michael Natterer <mitch@gimp.org>
Use UTF-8 encoded escaped URIs for GimpImage and GimpImageFile.
* app/file/file-open.[ch]
* app/file/file-save.[ch]
* app/file/file-utils.[ch]: port everything to using URIs, removed
file_open_absolute_filename() and added file_utils_filename_to_uri()
instead.
* app/core/gimpimage.[ch]: added gimp_image_[get|set]_uri() which
works like the old gimp_image_[get|set]_filename().
Changed gimp_image_[get|set]_filename() to call uri conversion
functions.
* app/app_procs.c: removed lots of code and use the new uri
functions to open images passed on the command line.
* app/gui/file-open-dialog.c
* app/gui/file-save-dialog.c: changed accordingly.
* app/nav_window.c
* app/undo_history.c
* app/display/gimpdisplayshell.c
* app/gui/info-window.c
* app/gui/palette-import-dialog.c
* app/tools/gimpbycolorselecttool.c
* app/widgets/gimpcontainerview-utils.c:
s/gimp_image_get_filename()/gimp_image_get_uri()/g. Need to add
a utility function which returns the basename in unescaped UTF-8.
* app/gui/file-commands.c
* app/widgets/gimpdocumentview.c: use "uri", not "filename" as
variable name where appropriate.
* app/gui/menus.c: some broken code for the "Open Recent" items,
will be fixed soon...
* app/widgets/gimpdnd.c: evil (!!!) hackery to convert dropped
filenames to uris.
* tools/pdbgen/pdb/fileops.pdb: changed accordingly. Clarified
the meaning of the "raw_filename" parameter.
* tools/pdbgen/pdb/message.pdb: use g_message("%s", message),
*not* g_message(message).
* app/pdb/fileops_cmds.c
* app/pdb/message_cmds.c
* libgimp/gimpfileops_pdb.c: regenerated.
2002-04-14 Michael Natterer <mitch@gimp.org>
* app/core/gimp.c: removed some #if 0'ed stuff.
* app/gui/edit-commands.c (edit_copy_cmd_callback): call
gdisplays_flush() so the menus are updated correctly.
* app/widgets/gimpitemfactory.c (gimp_item_factory_set_color):
pack the original menu item label with TRUE, TRUE into the created
hbox so it's accel. label is visible.
2002-04-12 Michael Natterer <mitch@gimp.org>
Well, sometimes the most obvious solution is not the first one...
* app/gimphelp.[ch]: removed _gimp_standard_help_func().
* app/libgimp_glue.c (gimp_standard_help_func): call gimp_help()
directly.
2002-04-12 Michael Natterer <mitch@gimp.org>
* app/gimphelp.[ch]: removed usage of "the_gimp" by passing around
more "Gimp" pointers. Renamed gimp_standard_help_func() to
_gimp_standard_help_func() and declare it in the header. Don't
include "app_procs.h".
* app/libgimp_glue.[ch]: added gimp_standard_help_func() here.
Call _gimp_standard_help_func (the_gimp, ...) like all other
wrappers in this file do. I know this is ugly but better let's
have all uglyness in one place (here) :-)
* app/widgets/gimpitemfactory.[ch]: added a "Gimp" member to the
GimpItemFactory struct. Pass it to gimp_help(),
* app/gui/menus.c: pass a Gimp to gimp_item_factory_new(), removed
useless inclusion of "gimphelp.h".
* tools/pdbgen/pdb/help.pdb: pass a Gimp to gimp_help()
* app/pdb/help_cmds.c: regenerated.
* app/gui/tips-dialog.c: removed gtk_quit_add_destroy() here too
because the tips dialog is created by a dialog factory which takes
care of dialog destruction.
2002-04-12 Sven Neumann <sven@gimp.org>
* app/gui/file-open-dialog.c
* app/gui/file-save-dialog.c: merged fix for bug #51781 from stable
branch: don't gtk_quit_add_destroy() the fileload and filesave widgets.
2002-04-12 Sven Neumann <sven@gimp.org>
* plug-ins/common/gtm.c
* plug-ins/common/illusion.c
* plug-ins/common/ps.c
* plug-ins/common/sparkle.c
* plug-ins/common/wind.c
* plug-ins/maze/maze_face.c
* plug-ins/sel2path/sel2path.c
* plug-ins/sel2path/sel2path_adv_dialog.c: applied a patch from
<iccii@hotmail.com> that adds calls to gimp_help_free() even though I
think that omitting gimp_help_free() is tolerable lazyness (#76984).
2002-04-12 Michael Natterer <mitch@gimp.org>
* app/core/gimpimage-crop.c: reordered some lines, no logic
changed.
* app/core/gimplayer.[ch]: made gimp_layer_pick_correlate()
return a gboolean, not gint.
* app/display/gimpdisplayshell.c
* app/gui/layers-commands.[ch]
* app/gui/menus.c: added "<Image>/Layers/Crop Layer" which resizes
the active layer to the current selection's bounds, just as
"<Image>/Image/Crop Image"
2002-04-12 Sven Neumann <sven@gimp.org>
* POTFILES.in: removed app/gradient.c again. This file has been
removed a long time ago.
* de.po: updated german translation.
2002-04-11 Sven Neumann <sven@gimp.org>
* plug-ins/common/ps.c: merged fix for bug #75667 from stable branch.
* plug-ins/rcm/rcm_dialog.c
* plug-ins/rcm/rcm_misc.c: merged fix for bug #67018 from stable
branch.
* themes/Default/gtkrc: removed settings for tooltips color since
GTK+-2.0 sets a reasonable default. Added a line to allow to change
menu accelerators.
2002-04-03 Manish Singh <yosh@gimp.org>
* app/core/gimpobject.c: use gobject marshaller names directly so
libgimpproxy doesn't need gimpmarshal.* around
2002-03-30 Tor Lillqvist <tml@iki.fi>
* libgimpmath/Makefile.am: Additions for Win32: Use
-no-undefined. Use the .def file. Produce MS style import
library if possible. Install (and uninstall) import
libraries.
* libgimpmath/makefile.mingw.in: Add comment that it is seriously
out-of-date.
2002-03-30 Tor Lillqvist <tml@iki.fi>
* libgimpcolor/Makefile.am: Additions for Win32: Use
-no-undefined. Use the .def file. Produce MS style import
library if possible. Install (and uninstall) import
libraries.
* libgimpcolor/makefile.mingw.in: Add comment that it is seriously
out-of-date.
2002-03-30 Tor Lillqvist <tml@iki.fi>
* libgimpbase/Makefile.am: Additions for Win32: Use
-no-undefined. Use the gimpbase.def file. Produce MS style import
library if possible. Install (and uninstall) import
libraries. Pass definition of PREFIX in CPPFLAGS.
* libgimpbase/gimpbase.def: Do export gimp_signal_private.
* libgimpbase/gimpenv.c: Similar Win32 working as in the gimp-1-2
branch:
(gimp_directory): Replace funny chars in user name (when used as
part of last-resort personal gimp directory name) with
underscores.
(gimp_toplevel_directory): New (Win32-only) function. Deduces the
installation prefix at run-time.
(gimp_path_runtime_fix): New function. On Win32, replace the
string with one where the compile-time prefix has been replaced
with the run-time one.
(gimp_path_parse, gimp_env_get_dir): Call it.
* libgimpbase/gimpsignal.c: Trim (lots of) trailing spaces in
copyright notice.
(gimp_signal_private): Bypass on Win32, return NULL. Or should we
call g_error(), thus requiring that calls of this are enclosed with
#ifdef G_OS_UNIX?
* libgimpbase/makefile.mingw.in: Add comment that it is seriously
out-of-date.
* libgimpbase/makefile.msc: Do compile gimpsignal.c.
2002-03-29 Tor Lillqvist <tml@iki.fi>
* configure.in: Start of changes for autoconfiscated build on
Win32. Mostly similar to how it is done in the gimp-1-2 branch:
Set LT_CURRENT_MINUS_AGE to $LT_CURRENT - $LT_AGE, this is used by
libtool in DLL names, we need it for the *.rc.in files in case we
want to have version resources in DLLs (these include the original
filename). AC_SUBST it.
Call AC_LIBTOOL_WIN32_DLL.
Test for Win32 platform and native Win32, set automake
conditionals PLATFORM_WIN32 and OS_WIN32. Set PATHSEP to ';' or
':', AC_SUBST it.
If on Win32, test for lib.exe availability (to build MS import
libraries), set automake conditional MS_LIB_AVAILABLE.
Include GLIB_LIBS when checking for bind_textdomain_codeset, in
case using a separate -lintl.
Don't try to link with -lX11 when looking for libXpm unless the
GDK backend is x11. On Win32 we use the "no-X" version of libXpm.
* libgimptool
* libgimptool/.cvsignore
* libgimptool/Makefile.am: a library that contains tool code shared
between the core and plugins
* app/tools/gimptool.h: Removed here ...
* libgimptool/gimptool.h: ... and added here
* libgimptool/gimptooltypes.h: various types used by the tools.
GIMP_CHANNEL_OP_FOO must be declared before this file is included.
* libgimptool/gimptool.c: parts of the implementation of the GimpTool
class that are not specific to the core
* libgimptool/gimptoolcontrol.h: new class that contains the state
and control information of the tool. Only the .h file is here because
the plug-in code is completely different from the core code.
* libgimptool/gimptoolmodule.[ch]: the GTypePlugin that loads the tool
plugin modules. The registration code is not included here and must
be supplied by the core or plug-in. Because registration in the core
requires a Gimp object, but pluginspace has no Gimp (nor should it)
the registration functions have been changed to take a void pointer.
* app/tools/tools-enums.h: Removed here ...
* libgimptool/gimptoolenums.h: ... and added here
* tools/gimp-mkproxy: a perl script that aids in the creation and
maintainance of proxy objects by parsing c files and including relevant
parts
* libgimpproxy
* libgimpproxy/.cvsignore
* libgimpproxy/.Makefile.am: a library that contains proxy objects
necessary for tool plug-ins.
* libgimpproxy/gimpproxytypes.h: declarations of various types needed
by tool plug-ins.
* app/core/core-enums.h
* app/core/core-types.h
* app/display/display-types.h
* app/widgets/widgets-enums.h: export types to libgimpproxy
* app/tools/tools-types.h: now just contains core-specific types
* app/tools/gimptool.c
* app/tools/gimptoolmodule.c
* app/tools/gimptoolcontrol.[ch]: parts that are core-specific
* plug-ins/tools/gimptool.c
* plug-ins/tools/gimptoolcontrol.[ch]: parts that are
pluginspace-specific
* plug-ins/tools/tool-safe-mode.[ch]: pluginspace tool loader
* Makefile.am
* configure.in
* app/Makefile.am
* app/gimprc.c
* app/undo.c
* app/core/gimp.c
* app/core/gimpcontext.c
* app/core/gimpcoreconfig.c
* app/core/gimpdatafactory.c
* app/core/gimpdocuments.c
* app/core/gimpdrawable-blend.c
* app/core/gimpdrawable-bucket-fill.c
* app/core/gimpdrawable-offset.c
* app/core/gimpdrawable-transform.c
* app/core/gimpdrawable.c
* app/core/gimpedit.c
* app/core/gimpimage-convert.c
* app/core/gimpimage-crop.c
* app/core/gimpimage-duplicate.c
* app/core/gimpimage-guides.c
* app/core/gimpimage-mask.c
* app/core/gimpimage-merge.c
* app/core/gimpimage-new.c
* app/core/gimpimage-projection.c
* app/core/gimpimage-qmask.c
* app/core/gimpimage-resize.c
* app/core/gimpimage-scale.c
* app/core/gimpimage.c
* app/core/gimpitem.c
* app/core/gimpmodules.c
* app/core/gimppaintinfo.c
* app/core/gimpparasite.c
* app/core/gimptoolinfo.c
* app/core/gimpunit.c
* app/paint/gimpairbrush.c
* app/paint/gimpclone.c
* app/paint/gimpconvolve.c
* app/paint/gimpdodgeburn.c
* app/paint/gimperaser.c
* app/paint/gimppaintbrush.c
* app/paint/gimppaintcore-stroke.c
* app/paint/gimppaintcore.c
* app/paint/gimppaintoptions.c
* app/paint/gimppencil.c
* app/paint/gimpsmudge.c
* app/paint/paint.c
* app/pdb/pdb-types.h
* app/tools/Makefile.am
* app/tools/gimpairbrushtool.[ch]
* app/tools/gimpbezierselecttool.[ch]
* app/tools/gimpblendtool.[ch]
* app/tools/gimpbrightnesscontrasttool.[ch]
* app/tools/gimpbucketfilltool.[ch]
* app/tools/gimpbycolorselecttool.[ch]
* app/tools/gimpclonetool.[ch]
* app/tools/gimpcolorbalancetool.[ch]
* app/tools/gimpcolorpickertool.[ch]
* app/tools/gimpconvolvetool.[ch]
* app/tools/gimpcroptool.[ch]
* app/tools/gimpcurvestool.[ch]
* app/tools/gimpdodgeburntool.[ch]
* app/tools/gimpdrawtool.[ch]
* app/tools/gimpeditselectiontool.c
* app/tools/gimpellipseselecttool.c
* app/tools/gimperasertool.[ch]
* app/tools/gimpfliptool.[ch]
* app/tools/gimpfreeselecttool.[ch]
* app/tools/gimpfuzzyselecttool.[ch]
* app/tools/gimphistogramtool.[ch]
* app/tools/gimphuesaturationtool.[ch]
* app/tools/gimpimagemaptool.[ch]
* app/tools/gimpinktool.[ch]
* app/tools/gimpiscissorstool.[ch]
* app/tools/gimplevelstool.[ch]
* app/tools/gimpmagnifytool.[ch]
* app/tools/gimpmeasuretool.[ch]
* app/tools/gimpmovetool.[ch]
* app/tools/gimppaintbrushtool.c
* app/tools/gimppainttool.[ch]
* app/tools/gimppathtool.[ch]
* app/tools/gimppenciltool.[ch]
* app/tools/gimpperspectivetool.[ch]
* app/tools/gimpposterizetool.[ch]
* app/tools/gimprectselecttool.[ch]
* app/tools/gimprotatetool.[ch]
* app/tools/gimpscaletool.[ch]
* app/tools/gimpselectiontool.c
* app/tools/gimpsheartool.[ch]
* app/tools/gimpsmudgetool.[ch]
* app/tools/gimptexttool.[ch]
* app/tools/gimpthresholdtool.[ch]
* app/tools/gimptransformtool.c
* app/tools/gimpvectortool.[ch]
* app/tools/paint_options.c
* app/tools/selection_options.c
* app/tools/tool_manager.c
* app/tools/tool_manager.h
* app/tools/tools.c
* app/display/gimpdisplay.c
* app/display/gimpdisplayshell-callbacks.c
* app/file/file-open.c
* app/file/file-save.c
* app/gui/convert-dialog.c
* app/gui/info-window.c
* app/gui/tools-commands.c
* app/xcf/xcf-load.c
* app/xcf/xcf.c
* plug-ins/tools/.cvsignore
* plug-ins/tools/Makefile.am
* plug-ins/tools/common/Makefile.am: changed accordingly
* libgimptool/gimptoolenums.c
* libgimpproxy/gimpchannel.h
* libgimpproxy/gimpobject.[ch]: autogenerated