* 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
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.