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-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.
2002-03-28 Michael Natterer <mitch@gimp.org>
* app/config/Makefile.am
* app/config/gimpscanner.[ch]: new files containing a convenience
constructor for GScanner and some parse utility functions, mostly
cut out of app/plug-in/plug-in-rc.c
* app/plug-in/plug-in-rc.c: removed the stuff here, added scopes
to the scanner symbols.
* app/core/Makefile.am
* app/core/gimpunits.[ch]: moved the user_unit list handling and
unitrc stuff to this file. Parse unitrc here, using the new
utility functions instead of using gimprc.
* app/core/gimpunit.[ch]: removed here.
* app/core/gimpdocuments.c: same here: added a scanner for the
document history instead of using gimprc.
* app/gimprc.c: removed unitrc and document history parsing stuff
along with some old unused cruft.
* app/app_procs.c
* app/core/gimp.c
* app/gui/user-install-dialog.c: #include "core/gimpunits.h".
* app/core/gimpdrawable-bucket-fill.c: don't include "gimprc.h".
2002-03-22 Michael Natterer <mitch@gimp.org>
* app/widgets/Makefile.am
* app/widgets/gimppreview-utils.[ch]: new file containing
gimp_preview_type_from_viewable() so we don't need to include
*all* vieable and preview subclasses in gimppreview.c
* app/widgets/gimppreview.c: gimp_preview_set_viewable: never
unset the drag source if the viewable is set to NULL (fixes dock
tabs, thanks to sjburges), also check the passed viweable's type.
* themes/Default/gtkrc: set the paned handle_size to 6 pixels, so
it has the same size as the dock_separator.
* etc/gtkrc_user: set both to 5 here, also fiddle around with
the global focus padding and the GtkOptionMenu indicator.
2002-03-22 Sven Neumann <sven@gimp.org>
* app/plug-in/plug-in-rc.c
* app/plug-in/plug-ins.c
* app/tools/tool_manager.c
* app/widgets/gimppreview.c
* app/widgets/gimptoolinfopreview.c: plugged a couple of mem leaks
found using valgrind.
* libgimpwidgets/gimpcolorarea.c (gimp_color_area_expose): don't draw
anything if an idle update is pending.
2002-03-22 Michael Natterer <mitch@gimp.org>
* app/widgets/gimpdock.c: gimp_dock_add_book() optimized to about
two cases :) as gimp_dock_remove_book(), just a bit more ugly.
2002-03-21 Michael Natterer <mitch@gimp.org>
* app/widgets/gimpdock.c: reduced the gimp_dock_remove_book()
if () {} else if () {} ... paned removal madness to two cases.
2002-03-21 Michael Natterer <mitch@gimp.org>
* app/widgets/gimpdock.c: reduced the gimp_dock_remove_book()
if () {} else if () {} ... paned removal madness to two cases.
2002-03-21 Michael Natterer <mitch@gimp.org>
* app/widgets/gimpdock.c: pack the dock's GimpDockbooks in
GtkVPaneds instead of a GtkVBoxed so they are resizable. It's
hackish, uncommented and weird code that will change, but I wanted
to have a working state in CVS before optimizing...
2002-03-20 Michael Natterer <mitch@gimp.org>
* app/gui/Makefile.am
* app/gui/commands.[ch]: removed...
* app/gui/help-commands.[ch]: ...and added here.
* app/gui/menus.c: changed accordingly and added the mem_profile
debug callback so all debug stuff is in one place.
2002-03-20 Sven Neumann <sven@gimp.org>
* app/Makefile.am: moved display after gui to make the build work
with the latest "truly ugly hack" in app/display/Makefile.am.
* app/tools/gimpcolorbalancetool.[ch]: dialog overhaul.
2002-03-20 Michael Natterer <mitch@gimp.org>
* app/plug-in/plug-in.[ch]: badly chopped into the new files below.
Pass around much more "PlugIn" and "Gimp" pointers instead of
using "current_plug_in" and "the_gimp". Needs much more hacking
though... :(
* app/plug-in/Makefile.am
* app/plug-in/plug-in-def.[ch]
* app/plug-in/plug-in-params.[ch]
* app/plug-in/plug-in-progress.[ch]
* app/plug-in/plug-ins.[ch]: new files.
* app/gui/Makefile.am
* app/gui/plug-in-commands.[ch]
* app/gui/plug-in-menus.[ch]: ditto.
* app/plug-in/plug-in-rc.c
* app/plug-in/plug-in-types.h: changed accordingly.
* app/pdb/procedural_db.c: changed procedural_db_destroy_args()
so it can be used from plug_in_args_destroy(). Fixed a parasite
memory leak (or introduced a new SEGV, we'll see...).
* app/display/Makefile.am: another "truly ugly hack" until the
plug-in menu stuff is chopped even more...
* app/gui/commands.[ch]: removed filters_repeat_cmd_callback() here,
it is now in plug-in-commands.[ch].
* app/widgets/gimpitemfactory.[ch]: removed all gimp_menu_item_*()
hacks. We have a GimpItemFactory available in most cases we used
to call this functions, and can use gimp_item_factors_from_path()
in all other cases. The item factory stuff needs more work
anyway...
* app/app_procs.c
* app/gimphelp.c
* app/display/gimpdisplayshell.c
* app/gui/file-dialog-utils.c
* app/gui/file-open-dialog.[ch]
* app/gui/file-save-dialog.[ch]
* app/gui/gui.c
* app/gui/menus.c
* app/gui/paths-dialog.c
* app/xcf/xcf.c
* tools/pdbgen/pdb/fileops.pdb
* tools/pdbgen/pdb/help.pdb
* tools/pdbgen/pdb/plug_in.pdb: changed accordingly (includes,
renamed functions and gimp_menu_item_*() removal).
* app/pdb/fileops_cmds.c
* app/pdb/help_cmds.c
* app/pdb/plug_in_cmds.c: regenerated.
2002-03-20 Michael Natterer <mitch@gimp.org>
* app/display/gimpdisplayshell.[ch]: pass an additional "Gimp"
pointer to gimp_display_shell_set_menu_sensitivity() so we can
correctly set the state of some items even without a display.
Set the sensitivity of much more items. Never set submenus
insensitive so the user can always browse the whole menu
(according to the GNOME HIG).
* app/image_map.c
* app/display/gimpdisplay.c
* app/gui/gui.c: changed accordingly.
* app/gui/view-commands.[ch]: added a callback for the display
filters dialog because display releted dialogs are going to
be handled different soon.
* app/gui/menus.c: use the new callback.
2002-03-20 Sven Neumann <sven@gimp.org>
* app/core/core-enums.[ch]: registered GimpConvertDitherType.
* app/gui/convert-dialog.c: simplified a lot by using enums.
* app/tools/paint_options.c: include gimpenummenu.h.
2002-03-20 Michael Natterer <mitch@gimp.org>
* themes/Default/images/Makefile.am
* themes/Default/images/stock-menu-selection-to-channel.png: one
more icon from Jimmac.
* libgimpwidgets/gimpstock.[ch]
* themes/Default/imagerc: add it.
* app/gui/menus.c: use it.
2002-03-20 Michael Natterer <mitch@gimp.org>
* app/widgets/gimpdockbook.c: fixed a bug i introduced when making
the tab_height configurable: need to connect the signals of the
new tab_widget created in style_set(), otherwise we get the
functionality of a plain GtkNotebook...
* app/widgets/gimpfontselection.c: make the minimal width of the
entry even smaller so users can choose to put it in a small dock.
* app/widgets/gimppaletteeditor.c: fixed "Zoom All" zoom ratio
calculation.
2002-03-19 Sven Neumann <sven@gimp.org>
* app/base/Makefile.am
* app/base/base-enums.c
* app/core/Makefile.am
* app/core/core-enums.c
* app/widgets/Makefile.am
* app/widgets/widgets-enums.c: purely cosmetic change.
* app/paint/Makefile.am
* app/paint/paint-enums.[ch]: generate paint-enums.c with registered
enums. Skip GIMP_BRUSH_PRESSURE and GIMP_CUSTOM_CONVOLVE so they
don't get exported to libgimp and are not registered as enum values.
* tools/pdbgen/pdb/paint_tools.pdb: removed special casing of
GimpBrushApplicationMode and GimpConvolveType since the forbidden
values are now skipped anyway.
* libgimp/gimpcompat.h: removed compat defines for the forbidden
enum values. They shouldn't have been used.
* app/tools/Makefile.am
* app/tools/tools-enums.[ch]: generate tools-enums.c with registered
enums.
* libgimp/gimpenums.h
* plug-ins/script-fu/script-fu-constants.c
* tools/pdbgen/enums.pl: regenerated.
* app/paint/gimpclone.[ch]
* app/paint/gimpconvolve.h
* app/paint/gimpdodgeburn.h
* app/tools/gimpclonetool.c
* app/tools/gimpconvolvetool.c
* app/tools/gimpcroptool.[ch]
* app/tools/gimpdodgeburntool.c
* app/tools/paint_options.c: changed accordingly. Added more enum
radio frames and enum option menus.
2002-03-19 Michael Natterer <mitch@gimp.org>
* app/gui/menus.c: Oops, GimpContainer's "removed" signal has more
parameters than "add" and "remove", which is quite relevant now
that we use the data pointer passed to the callback :)
Pointed out by Dave Neary on #gimp.