Michael Natterer
933e52adbd
changed GimpOrientationType from GIMP_HORIZONTAL to
...
2003-02-09 Michael Natterer <mitch@convergence.de>
* app/core/core-enums.[ch]: changed GimpOrientationType from
GIMP_HORIZONTAL to GIMP_ORIENTATION_HORIZONTAL etc.
* tools/pdbgen/pdb/guides.pdb: changed accordingly. Don't subtract
1 from guide->orientation because InternalOrientationType no
longer exists.
* tools/pdbgen/stddefs.pl: chop the whole GIMP_ORIENTATION_UNKNOWN
value from the enum, not just UNKNOWN.
* app/pdb/guides_cmds.c
* app/pdb/transform_tools_cmds.c
* libgimp/gimpenums.h
* libgimp/gimpguides_pdb.c
* plug-ins/script-fu/script-fu-constants.c
* plug-ins/pygimp/gimpenums.py
* tools/pdbgen/enums.pl: regenerated.
* libgimp/gimpcompat.h
* plug-ins/script-fu/siod-wrapper.c: added compat enums.
* plug-ins/imagemap/imap_cmd_gimp_guides.c
* plug-ins/xjt/xjt.c
* plug-ins/xjt/xpdb_calls.c
* plug-ins/common/gih.c
* plug-ins/common/guillotine.c
* plug-ins/common/rotate.c: changed accordingly.
2003-02-09 21:03:36 +00:00
Michael Natterer
eeec3cedb8
Added object properties for almost all tool_options values and registered
...
2003-02-07 Michael Natterer <mitch@gimp.org>
Added object properties for almost all tool_options values
and registered lots of enums with the type system:
Part I (enum and type cleanup):
* app/core/core-enums.[ch]
* app/core/core-types.h: removed InternalOrientaionType and
register GimpOrientationType. Register GimpChannelOps.
Removed GimpToolOptionsGUIFunc.
* app/xcf/xcf-private.h: added XcfOrientationType with the
same values as the old InternalOrientationType
* app/xcf/xcf-load.c
* app/xcf/xcf-save.c: translate between GimpOrientationType and
XcfOrientationType.
* app/core/gimpdrawable-transform-utils.[ch]
* app/core/gimpdrawable-transform.[ch]
* app/core/gimpimage-crop.c
* app/core/gimpimage-duplicate.c
* app/core/gimpimage-guides.c
* app/core/gimpimage-resize.c
* app/core/gimpimage-scale.c
* app/core/gimpimage.h
* app/display/gimpdisplayshell.c
* tools/pdbgen/stddefs.pdb
* tools/pdbgen/pdb/transform_tools.pdb: changed accordingly.
* app/pdb/guides_cmds.c
* app/pdb/transform_tools_cmds.c
* libgimp/gimpenums.h
* libgimpproxy/gimpproxytypes.h
* plug-ins/script-fu/script-fu-constants.c
* tools/pdbgen/enums.pl: regenerated.
* libgimptool/gimptoolenums.[ch]: added GimpTransformGridType.
* libgimptool/gimptooltypes.h: removed GimpToolOptionsResetFunc,
added GimpToolOptionsGUIFunc.
Part II (tool options changes):
* app/config/gimpconfig-utils.c (gimp_config_reset_properties):
don't reset object properties because they have NULL as default
value.
* app/widgets/gimppropwidgets.[ch]: added
gimp_prop_[enum|boolean]_radio_frame_new(),
gimp_prop_paint_mode_menu_new() and gimp_prop_scale_entry_new(),
which are all needed by the new tool options GUI code.
* app/tools/tool_options.[ch]: removed the "reset_func" since
the virtual reset() method is used now.
* app/paint/gimpairbrushoptions.[ch]
* app/paint/gimpcloneoptions.[ch]
* app/paint/gimpconvolveoptions.[ch]
* app/paint/gimpdodgeburnoptions.[ch]
* app/paint/gimperaseroptions.[ch]
* app/paint/gimppaintoptions.[ch]
* app/paint/gimpsmudgeoptions.[ch]: added properties all over the
place and removed the widget and default_value members from
the structs. Renamed some values (e.g. s/type/clone_type/).
Don't #include <gtk/gtk.h>.
* 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/gimppencil.c
* app/paint/gimpsmudge.c
* app/paint/paint-types.h
* app/paint/paint.c: changed accordingly. Don't #include <gtk/gtk.h>.
* tools/pdbgen/pdb/paint_tools.pdb: changed accordingly.
* app/pdb/paint_tools_cmds.c: regenerated.
* app/tools/gimpblendoptions.[ch]
* app/tools/gimpbucketfilloptions.[ch]
* app/tools/gimpcolorpickeroptions.[ch]
* app/tools/gimpcropoptions.[ch]
* app/tools/gimpflipoptions.[ch]
* app/tools/gimpinkoptions.c
* app/tools/gimpmagnifyoptions.[ch]
* app/tools/gimpmeasureoptions.[ch]
* app/tools/gimpmoveoptions.[ch]
* app/tools/gimptextoptions.c
* app/tools/paint_options.[ch]
* app/tools/selection_options.[ch]
* app/tools/transform_options.[ch]: ditto: added properties and
removed widget and default_value stuff. Removed most reset functions.
Use gimp_prop widgets all over the place, renamed some values
as above.
* app/tools/Makefile.am
* app/tools/gimpairbrushtool.c
* app/tools/gimpblendtool.c
* app/tools/gimpbucketfilltool.c
* app/tools/gimpbycolorselecttool.c
* app/tools/gimpclonetool.c
* app/tools/gimpconvolvetool.c
* app/tools/gimpcroptool.c
* app/tools/gimpdodgeburntool.c
* app/tools/gimperasertool.c
* app/tools/gimpfliptool.c
* app/tools/gimpfuzzyselecttool.c
* app/tools/gimpmagnifytool.c
* app/tools/gimpmovetool.c
* app/tools/gimpselectiontool.c
* app/tools/gimpsheartool.c
* app/tools/gimpsmudgetool.c
* app/tools/gimptransformtool.c
* app/tools/gimpvectoroptions.c: changed accordingly. Ported
the paint_options GUI constructors to gimp_prop widgets.
* app/widgets/gimpselectioneditor.c
* app/gui/tool-options-dialog.c: changed accordingly.
2003-02-07 17:12:21 +00:00
Sven Neumann
073e533a8a
Finally landed the new GimpConfig based gimprc parser. It's not finished
...
2002-11-18 Sven Neumann <sven@gimp.org>
Finally landed the new GimpConfig based gimprc parser. It's not
finished yet but we need to start somewhere. This release removes
the old gimprc.[ch] files. The gimprc format changes slightly, but
the changes are minimal. The Preferences dialog is temporarily
disabled since it still needs to be ported. If you are are afraid,
stay away from CVS for a few days ;-)
* app/Makefile.am
* app/gimprc.[ch]: removed the old gimprc system.
* app/base/Makefile.am
* app/base/base-config.[ch]: removed these files in favor of
config/gimpbaseconfig.[ch].
* app/core/Makefile.am
* app/core/gimpcoreconfig.[ch]: removed these files in favor of
config/gimpcoreconfig.[ch].
* app/config/Makefile.am
* app/config/config-types.h: moved typedefs into this new file.
* app/config/gimpbaseconfig.[ch]
* app/config/gimpcoreconfig.[ch]
* app/config/gimpdisplayconfig.[ch]
* app/config/gimpguiconfig.[ch]
* app/config/gimprc.[ch]
* app/config/test-config.c: brought into shape for real use.
* app/base/base-types.h: include config/config-types.h here. Added
a global GimpBaseConfig *base_config variable to ease migration.
* app/gui/Makefile.am: temporarily disabled the preferences dialog.
* app/app_procs.c
* app/undo.c
* app/undo_history.c
* app/base/base.[ch]
* app/base/gimphistogram.c
* app/base/pixel-processor.c
* app/base/temp-buf.c
* app/base/tile-cache.c
* app/core/core-types.h
* app/core/gimp-documents.c
* app/core/gimp.c
* app/core/gimpbrush.c
* app/core/gimpbrushgenerated.c
* app/core/gimpcontext.c
* app/core/gimpdrawable-transform.c
* app/core/gimpimage-new.c
* app/core/gimpimage.c
* app/core/gimpimagefile.c
* app/core/gimpmodules.c
* app/core/gimppattern.c
* app/display/Makefile.am
* app/display/gimpdisplay-handlers.c
* app/display/gimpdisplay.[ch]
* app/display/gimpdisplayshell-callbacks.c
* app/display/gimpdisplayshell-handlers.c
* app/display/gimpdisplayshell-layer-select.c
* app/display/gimpdisplayshell-render.c
* app/display/gimpdisplayshell-scale.c
* app/display/gimpdisplayshell-scroll.c
* app/display/gimpdisplayshell-selection.c
* app/display/gimpdisplayshell.[ch]
* app/display/gimpnavigationview.c
* app/file/file-save.c
* app/gui/device-status-dialog.c
* app/gui/dialogs-constructors.c
* app/gui/file-commands.c
* app/gui/file-new-dialog.c
* app/gui/file-open-dialog.c
* app/gui/file-save-dialog.c
* app/gui/gui.c
* app/gui/menus.c
* app/gui/paths-dialog.c
* app/gui/resize-dialog.c
* app/gui/session.c
* app/gui/test-commands.c
* app/gui/tips-dialog.c
* app/gui/tips-dialog.h
* app/gui/user-install-dialog.c
* app/gui/view-commands.c
* app/paint/gimppaintcore.c
* app/plug-in/plug-in.c
* app/plug-in/plug-ins.c
* app/tools/gimpbezierselecttool.c
* app/tools/gimpbucketfilltool.c
* app/tools/gimpcolorpickertool.c
* app/tools/gimpcroptool.c
* app/tools/gimpeditselectiontool.c
* app/tools/gimpfuzzyselecttool.c
* app/tools/gimpinktool.c
* app/tools/gimpmagnifytool.c
* app/tools/gimpmeasuretool.c
* app/tools/gimppainttool.c
* app/tools/gimppathtool.c
* app/tools/gimptexttool.[ch]
* app/tools/selection_options.c
* app/tools/tools.c
* app/tools/transform_options.c
* app/widgets/gimphelp.c
* app/widgets/gimpitemfactory.c
* app/widgets/gimpselectioneditor.c
* app/xcf/xcf-load.c
* tools/pdbgen/pdb/fileops.pdb
* tools/pdbgen/pdb/gimprc.pdb
* tools/pdbgen/pdb/image.pdb
* tools/pdbgen/pdb/layer.pdb
* tools/pdbgen/pdb/transform_tools.pdb: use the new config system
instead of the old gimprc stuff.
* etc/gimprc.in
* etc/gimprc_user.in: adapted to the new gimprc format. Will update
the man-page later...
* app/pdb/fileops_cmds.c
* app/pdb/gimprc_cmds.c
* app/pdb/image_cmds.c
* app/pdb/layer_cmds.c
* app/pdb/transform_tools_cmds.c
* libgimp/gimpgimprc_pdb.c: regenerated.
2002-11-18 20:50:31 +00:00
Michael Natterer
a8b08c7de7
added check_funcs (GIMP_IS_LAYER, GIMP_IS_IMAGE etc.) to all data types
...
2002-08-29 Michael Natterer <mitch@gimp.org>
* tools/pdbgen/pdb.pl: added check_funcs (GIMP_IS_LAYER,
GIMP_IS_IMAGE etc.) to all data types which are looked up by ID...
* tools/pdbgen/app.pl: ...and call them here instead of just
checking for (item != NULL). This way image item lookup becomes
type safe.
* app/pdb/channel_cmds.c
* app/pdb/color_cmds.c
* app/pdb/convert_cmds.c
* app/pdb/display_cmds.c
* app/pdb/drawable_cmds.c
* app/pdb/edit_cmds.c
* app/pdb/fileops_cmds.c
* app/pdb/floating_sel_cmds.c
* app/pdb/guides_cmds.c
* app/pdb/image_cmds.c
* app/pdb/layer_cmds.c
* app/pdb/misc_tools_cmds.c
* app/pdb/paint_tools_cmds.c
* app/pdb/parasite_cmds.c
* app/pdb/paths_cmds.c
* app/pdb/selection_cmds.c
* app/pdb/selection_tools_cmds.c
* app/pdb/text_tool_cmds.c
* app/pdb/transform_tools_cmds.c
* app/pdb/undo_cmds.c: regenerated.
2002-08-29 17:21:21 +00:00
Michael Natterer
cdf2a90b03
app/core/Makefile.am app/core/core-types.h new base class for something
...
2002-02-25 Michael Natterer <mitch@gimp.org>
* app/core/Makefile.am
* app/core/core-types.h
* app/core/gimpitem.[ch]: new base class for something which is a
child of an image, has a PDB ID, a tattoo, parasites and emits
a "removed" signal.
* app/core/gimpdrawable.[ch]
* app/vectors/gimpvectors.[ch]: derive from GimpItem. Removed
lots of stuff from GimpDrawable.
* app/core/gimp.[ch]: changed gimp->drawable_table and
gimp->next_drawable_ID to gimp->item_table and gimp->next_item_id.
* app/undo.[ch]: s/undo_push_drawable_parasite/undo_push_item_parasite/,
minor cleanups.
* app/core/gimplayer.[ch]: changed gimp_layer_new_from_tiles() and
gimp_layer_new_from_drawable() to take the "dest_gimage" as
second, not first parameter.
* app/image_map.c
* app/core/gimpchannel.c
* app/core/gimpdrawable-blend.c
* app/core/gimpdrawable-bucket-fill.c
* app/core/gimpdrawable-histogram.c
* app/core/gimpdrawable-offset.c
* app/core/gimpdrawable-preview.c
* app/core/gimpdrawable-transform.c
* app/core/gimpedit.c
* app/core/gimpimage-duplicate.c
* app/core/gimpimage-mask.c
* app/core/gimpimage-merge.c
* app/core/gimpimage-pick-color.c
* app/core/gimpimage.c
* app/core/gimplayer-floating-sel.c
* app/display/gimpdisplayshell-dnd.c
* app/file/file-save.c
* app/gui/channels-commands.c
* app/gui/file-save-dialog.c
* app/gui/layers-commands.c
* app/gui/offset-dialog.c
* app/gui/paths-dialog.c
* app/gui/toolbox.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.c
* app/paint/gimppencil.c
* app/paint/gimpsmudge.c
* app/plug-in/plug-in.c
* app/tools/gimpbezierselecttool.c
* app/tools/gimpbycolorselecttool.c
* app/tools/gimpinktool.c
* app/tools/gimppainttool.c
* app/xcf/xcf-load.c
* app/xcf/xcf-save.c
* app/widgets/gimpdrawablepreview.c: changed accordingly.
* app/widgets/Makefile.am
* app/widgets/widgets-types.h
* app/widgets/gimpitemlistview.[ch]: new widget implementing most
of the stuff formerly done by GimpDrawableListView.
* app/widgets/gimpchannellistview.c
* app/widgets/gimpdrawablelistitem.c
* app/widgets/gimpdrawablelistview.[ch]
* app/widgets/gimplayerlistview.c: changed accordingly.
* app/widgets/gimpdnd.[ch]: added a vectors DND type.
* app/gui/menus.c
* app/gui/dialogs.c
* app/gui/dialogs-constructors.[ch]: added a vectors dialog and
a vectors item_factory.
* app/gui/Makefile.am
* app/gui/vectors-commands.[ch]: new files implementing the
callbacks for the new vectors dialog and item_factory.
* app/pdb/pdb_glue.h: some more ugly hacks to keep intermediate
perl code working...
* tools/pdbgen/pdb.pl: added a vectors type, use GimpItem for all
ID lookups.
* tools/pdbgen/pdb/channel.pdb
* tools/pdbgen/pdb/color.pdb
* tools/pdbgen/pdb/drawable.pdb
* tools/pdbgen/pdb/edit.pdb
* tools/pdbgen/pdb/image.pdb
* tools/pdbgen/pdb/layer.pdb
* tools/pdbgen/pdb/misc_tools.pdb
* tools/pdbgen/pdb/parasite.pdb
* tools/pdbgen/pdb/selection.pdb
* tools/pdbgen/pdb/selection_tools.pdb: misc changes according to
stuff above.
* app/pdb/channel_cmds.c
* app/pdb/color_cmds.c
* app/pdb/drawable_cmds.c
* app/pdb/edit_cmds.c
* app/pdb/floating_sel_cmds.c
* app/pdb/image_cmds.c
* app/pdb/layer_cmds.c
* app/pdb/misc_tools_cmds.c
* app/pdb/paint_tools_cmds.c
* app/pdb/parasite_cmds.c
* app/pdb/selection_cmds.c
* app/pdb/selection_tools_cmds.c
* app/pdb/text_tool_cmds.c
* app/pdb/transform_tools_cmds.c: regenerated.
2002-02-25 17:58:50 +00:00
Sven Neumann
04c995fb70
renamed GimpInterpolationType values to something sane and unexported it
...
2002-02-12 Sven Neumann <sven@gimp.org>
* app/base/base-enums.h: renamed GimpInterpolationType values to
something sane and unexported it from the PDB since it was never
used in any PDB calls.
* app/gimprc.c
* app/config/gimpcoreconfig.c
* app/core/gimpcoreconfig.c
* app/core/gimpdrawable-transform.c
* app/core/gimplayer.c
* app/gui/preferences-dialog.c
* app/gui/resize-dialog.c
* app/paint-funcs/paint-funcs.c
* app/pdb/transform_tools_cmds.c
* app/tools/transform_options.c
* tools/pdbgen/pdb/transform_tools.pdb: changed accordingly.
* libgimp/gimpenums.h
* plug-ins/script-fu/script-fu-constants.c
* tools/pdbgen/enums.pl: regenerated.
2002-02-12 03:30:52 +00:00
Michael Natterer
733d6335fe
Made the interpolation type configurable in the scale and transform
...
2002-02-12 Michael Natterer <mitch@gimp.org>
Made the interpolation type configurable in the scale and
transform options dialogs (#69251 ):
* app/base/base-config.[ch]
* app/config/gimpbaseconfig.[ch]: removed interpolation_type here...
* app/core/gimpcoreconfig.[ch]
* app/config/gimpcoreconfig.[ch]: ...and added it here.
* app/gimprc.c
* app/gui/preferences-dialog.c: changed accordingly.
* app/paint-funcs/paint-funcs.[ch]: scale_region: take an
interpolation_type parameter.
* app/core/gimpchannel.[ch]
* app/core/gimpdrawable-transform.[ch]
* app/core/gimpimage-scale.[ch]
* app/core/gimplayer.[ch]: pass interpolation_type parameters to all
scale and transform functions.
* tools/pdbgen/pdb/image.pdb
* tools/pdbgen/pdb/layer.pdb
* tools/pdbgen/pdb/transform_tools.pdb: changed accordingly.
* app/gui/resize-dialog.[ch]
* app/tools/transform_options.[ch]: added an interpolation_type menu.
* app/gui/image-commands.c
* app/gui/layers-commands.c
* app/tools/gimptransformtool.c: changed accordingly.
* app/pdb/image_cmds.c
* app/pdb/layer_cmds.c
* app/pdb/transform_tools_cmds.c: regenerated.
2002-02-12 02:31:45 +00:00
Michael Natterer
2e21005a38
oops, forgot this dorectory...
2001-11-19 18:54:13 +00:00