1. 05 Jan, 2003 1 commit
    • Manish Singh's avatar
      app/undo_history.c app/core/gimpbrush.c app/core/gimpimage-new.c · 013e30db
      Manish Singh authored
      2003-01-05  Manish Singh  <yosh@gimp.org>
      
              * app/undo_history.c
              * app/core/gimpbrush.c
              * app/core/gimpimage-new.c
              * app/core/gimpobject.c
              * app/core/gimppalette-import.c
              * app/core/gimppattern.c
              * app/plug-in/plug-in.c
              * app/tools/gimpbezierselecttool.c
              * libgimpwidgets/gimpunitmenu.c
              * plug-ins/MapObject/mapobject_ui.c
              * plug-ins/common/convmatrix.c
              * plug-ins/common/curve_bend.c
              * plug-ins/common/sample_colorize.c
              * plug-ins/common/tiff.c
              * plug-ins/flame/flame.c
              * plug-ins/gflare/gflare.c
              * plug-ins/gimpressionist/general.c
              * plug-ins/gimpressionist/orientation.c
              * plug-ins/gimpressionist/preview.c
              * plug-ins/gimpressionist/size.c
              * plug-ins/imagemap/imap_grid.c
              * plug-ins/imagemap/imap_menu.c
              * plug-ins/maze/algorithms.c
              * plug-ins/script-fu/interp_regex.c
              * plug-ins/script-fu/interp_sliba.c
              * plug-ins/script-fu/script-fu-console.c
              * plug-ins/script-fu/script-fu-server.c
              * plug-ins/webbrowser/webbrowser.c: added GINT_TO_POINTER and friends,
              fixed format strings, for 64-bitness.
      
              * modules/colorsel_triangle.c
              * plug-ins/tools/tool-safe-mode-plug-in.c: #include missing header
              files
      013e30db
  2. 18 Nov, 2002 1 commit
    • Sven Neumann's avatar
      Finally landed the new GimpConfig based gimprc parser. It's not finished · 073e533a
      Sven Neumann authored
      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.
      073e533a
  3. 13 Jun, 2002 1 commit
  4. 13 May, 2002 1 commit
    • Sven Neumann's avatar
      registered GimpFillType enum and added translatable names to · 16e8b1be
      Sven Neumann authored
      2002-05-13  Sven Neumann  <sven@gimp.org>
      
      	* app/core/core-enums.[ch]: registered GimpFillType enum and added
      	translatable names to GimpImageBaseType.
      
      	* app/core/gimp.[ch]
      	* app/core/gimpedit.c
      	* app/core/gimpimage-new.[ch]: removed gimp_image_new_[init|exit]()
      	where we used to create names for the enums mentioned above. Dropped
      	gimp_image_new_set_have_current_cut_buffer() in favor of accessing
      	the value directly.
      
      	* app/gui/file-new-dialog.c (file_new_dialog_create)
      	* app/gui/layers-commands.c (layers_new_layer_query): use
      	GimpEnumMenus to choose the base_type and fill_type.
      16e8b1be
  5. 03 May, 2002 1 commit
    • Michael Natterer's avatar
      devel-docs/Makefile.am new file documenting the core's include policy. · a74a8997
      Michael Natterer authored
      2002-05-03  Michael Natterer  <mitch@gimp.org>
      
      	* devel-docs/Makefile.am
      	* devel-docs/includes.txt: new file documenting the core's
      	include policy.
      
      	* HACKING: mention it here.
      
      	* libgimptool/gimptooltypes.h: removed GimpToolOptions here.
      
      	* app/core/core-types.h: and added it here. This is a temp hack
      	needed because GimpToolInfo needs to know the GimpToolOptions
      	type.
      
      	* libgimpproxy/gimpproxytypes.h: regenerated.
      
      	* libgimptool/gimptoolmodule.h: don't include gimptooltypes.h here...
      	* libgimptool/gimptoolmodule.c: ...but here.
      
      	* app/config/gimpconfig-params.c: include "libgimpbase/gimpbase.h"
      	entirely, not single files from it.
      
      	* 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/gimppreviewcache.c
      	* app/core/gimptoolinfo.c
      	* app/core/gimpunit.c: include "core-types.h" and no other types file.
      
      	* app/display/gimpdisplay.c
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/display/gimpdisplayshell.c: include "tools/tools-types.h"
      	instead of "libgimptool/gimptooltypes.h", warn about inclusion
      	on "gui/gui-types.h"
      
      	* app/file/file-open.c
      	* app/file/file-save.c: don't include "libgimptool/gimptooltypes.h".
      
      	* app/gui/about-dialog.c
      	* app/gui/brush-select.c
      	* app/gui/brushes-commands.c
      	* app/gui/color-select.c
      	* app/gui/data-commands.c
      	* app/gui/device-status-dialog.c
      	* app/gui/dialogs.c
      	* app/gui/gradients-commands.c
      	* app/gui/help-commands.c
      	* app/gui/info-window.c
      	* app/gui/palettes-commands.c
      	* app/gui/patterns-commands.c
      	* app/gui/resize-dialog.c
      	* app/gui/tips-dialog.c
      	* app/gui/tool-options-dialog.c: include "gui-types.h" and no
      	other types file.
      
      	* 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: include "paint-types.h" and no other types file.
      
      	* app/pdb/pdb-types.h: don't include "libgimptool/gimptooltypes.h".
      
      	* app/plug-in/plug-in-progress.c: warn about inclusion of
      	"display/display-types.h"
      
      	* app/tools/tools-types.h: include "libgimptool/gimptooltypes.h".
      
      	* app/tools/gimpairbrushtool.c
      	* app/tools/gimpbezierselecttool.c
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpbrightnesscontrasttool.c
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimpbycolorselecttool.c
      	* app/tools/gimpclonetool.c
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpconvolvetool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimpdodgeburntool.c
      	* app/tools/gimpdrawtool.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpellipseselecttool.c
      	* app/tools/gimperasertool.c
      	* app/tools/gimpfliptool.c
      	* app/tools/gimpfreeselecttool.c
      	* app/tools/gimpfuzzyselecttool.c
      	* app/tools/gimphistogramtool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimpinktool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimpmagnifytool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimpmovetool.c
      	* app/tools/gimppaintbrushtool.c
      	* app/tools/gimppainttool.c
      	* app/tools/gimppathtool.c
      	* app/tools/gimppenciltool.c
      	* app/tools/gimpperspectivetool.c
      	* app/tools/gimpposterizetool.c
      	* app/tools/gimprectselecttool.c
      	* app/tools/gimprotatetool.c
      	* app/tools/gimpscaletool.c
      	* app/tools/gimpselectiontool.c
      	* app/tools/gimpsheartool.c
      	* app/tools/gimpsmudgetool.c
      	* app/tools/gimptexttool.c
      	* app/tools/gimpthresholdtool.c
      	* app/tools/gimptoolcontrol.c
      	* app/tools/gimptoolcontrol.h
      	* app/tools/gimptransformtool.c
      	* app/tools/gimpvectortool.c
      	* app/tools/tools.c: include "tools-types.h" and no other types file,
      	warn about inclusion of "gui/gui-types.h".
      
      	* app/widgets/gimpcolorpanel.c
      	* app/widgets/gimptoolbox-color-area.c: warn about inclusion of
      	"gui/gui-types.h".
      
      	* app/xcf/xcf-load.c
      	* app/xcf/xcf.c: don't include "libgimptool/gimptooltypes.h".
      
      	Split tool-safe-mode up in two files, one including libgimpproxy,
      	one libgimp.
      
      	* plug-ins/tools/Makefile.am
      	* plug-ins/tools/tool-safe-mode-plug-in.[ch]: new files including
      	libgimp/ stuff only.
      
      	* plug-ins/tools/tool-safe-mode.[ch]: include libgimpproxy/ and
      	libgimptool/ but don't include libgimp/ because of conflicting
      	declarations.
      
      	Unrelated:
      
      	* app/tools/gimpclonetool.c: create the clone core so we don't crash.
      
      	* app/gui/file-open-dialog.c: changed the way we create previews
      	so that only out-of-date previews are created on a click in the
      	preview area. Unconditional creation can still be forced by
      	<Ctrl>+click. Changed the tooltip to document this.
      a74a8997
  6. 29 Mar, 2002 1 commit
  7. 18 Mar, 2002 1 commit
    • Sven Neumann's avatar
      app/core/core-enums.h moved some more enums into the right place and · bba46560
      Sven Neumann authored
      2002-03-18  Sven Neumann  <sven@gimp.org>
      
      	* app/core/core-enums.h
      	* app/core/core-types.h: moved some more enums into the right place
      	and namespacified them.
      
      	* app/undo.c
      	* app/core/gimpdrawable-bucket-fill.[ch]
      	* app/core/gimpdrawable.c
      	* app/core/gimpedit.c
      	* app/core/gimpimage-mask.c
      	* app/core/gimpimage-new.c
      	* app/core/gimpimage-qmask.c
      	* app/core/gimplayer.[ch]
      	* app/display/gimpdisplayshell-dnd.c
      	* app/gui/channels-commands.c
      	* app/gui/file-new-dialog.c
      	* app/gui/layers-commands.c
      	* app/gui/menus.c
      	* app/paint-funcs/paint-funcs.c
      	* app/tools/gimpbucketfilltool.c
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/layer.pdb
      	* tools/pdbgen/pdb/misc_tools.pdb: changed accordingly.
      
      	* libgimp/gimpcompat.h
      	* plug-ins/script-fu/siod-wrapper.c: added compat defines for changed
      	GimpMaskApplyMode enum.
      
      	* tools/pdbgen/enums.pl
      	* app/pdb/drawable_cmds.c
      	* app/pdb/edit_cmds.c
      	* app/pdb/image_cmds.c
      	* app/pdb/layer_cmds.c
      	* app/pdb/misc_tools_cmds.c
      	* libgimp/gimpenums.h
      	* plug-ins/script-fu/script-fu-constants.c: regenerated.
      bba46560
  8. 04 Mar, 2002 1 commit
    • Michael Natterer's avatar
      Forgot some gint opacity values: · 95235369
      Michael Natterer authored
      2002-03-04  Michael Natterer  <mitch@gimp.org>
      
      	Forgot some gint opacity values:
      
      	* app/core/gimplayer.[ch]: layer->opacity, gimp_layer_new(),
      	gimp_layer_new_from_tiles()
      
      	* app/core/gimpimage-projection.[ch]: gimp_image_projection_opacity()
      
      	* app/core/gimpdrawable-transform.c
      	* app/core/gimpedit.c
      	* app/core/gimpimage-mask.c
      	* app/core/gimpimage-merge.c
      	* app/core/gimpimage-new.c
      	* app/core/gimpimage.c
      	* app/core/gimplayer-floating-sel.c
      	* app/gui/layers-commands.c
      	* app/tools/gimptexttool.c
      	* app/widgets/gimplayerlistview.c
      	* app/xcf/xcf-load.c
      	* app/xcf/xcf-save.c
      	* tools/pdbgen/pdb/layer.pdb: changed accordingly.
      
      	* app/pdb/layer_cmds.c
      	* libgimp/gimplayer_pdb.c: regenerated.
      95235369
  9. 07 Feb, 2002 1 commit
    • Michael Natterer's avatar
      renamed the image size utility functions from foo_size_bar() to · 72ca4d3e
      Michael Natterer authored
      2002-02-07  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpimage-new.[ch]: renamed the image size utility
      	functions from foo_size_bar() to foo_memsize_bar(), use "gsize"
      	instead of "gdouble". Also take the selection mask into account
      	for the initial image size.
      
      	* app/display/gimpdisplayshell.c
      	* app/gui/file-new-dialog.c: changed accordingly.
      
      	* app/display/gimpdisplayshell-handlers.c: connect to "undo_event",
      	not "dirty" and "clean" to dirty the image title.
      
      	* app/tools/gimpmovetool.c: factored common code out to
      	gimp_move_tool_start_guide(), also set a useful cursor there.
      72ca4d3e
  10. 12 Dec, 2001 1 commit
    • Michael Natterer's avatar
      made gimp->global_buffer a GimpBuffer, not TileManager. · 9b8bf8de
      Michael Natterer authored
      2001-12-13  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimp.[ch]: made gimp->global_buffer a GimpBuffer,
      	not TileManager.
      
      	* app/core/gimpbuffer.[ch]: added a "gboolean copy_pixels" to
      	gimp_buffer_new().
      
      	* app/core/gimpimage-new.c
      	* app/core/gimpedit.[ch]
      	* app/core/gimpimage-qmask.c
      	* app/widgets/gimpbufferpreview.c
      	* app/widgets/gimpbufferview.c
      	* app/widgets/gimpcontainerview-utils.c: chaned accordingly, don't
      	include "base/tile-manager.h".
      
      	* app/core/gimpdrawable.[ch]: added gimp_drawable_copy().
      
      	* app/core/gimpchannel.[ch]
      	* app/core/gimplayer.[ch]
      	* app/core/gimplayermask.[ch]: use it in
      	gimp_[channel|layer|layer_mask]_copy(), added "GType new_type" as
      	paramater to all of them.
      
      	* app/core/gimpimage-duplicate.c
      	* app/gui/channels-commands.c
      	* app/gui/edit-commands.c
      	* app/gui/layers-commands.c
      	* app/widgets/gimpchannellistview.c
      	* tools/pdbgen/pdb/channel.pdb
      	* tools/pdbgen/pdb/layer.pdb
      	* tools/pdbgen/pdb/selection.pdb: changed accordingly.
      
      	* app/pdb/channel_cmds.c
      	* app/pdb/layer_cmds.c
      	* app/pdb/selection_cmds.c: regenerated.
      
      	* app/core/gimplayer.[ch]: removed the "layer_type" parameter from
      	gimp_layer_new_from_tiles() because it always needed to be equal
      	to gimp_image_base_type_with_alpha() of the passed image.
      
      	* app/core/gimpdrawable-transform.c
      	* app/core/gimpedit.c
      	* app/core/gimpimage-mask.c: cahanged accordingly.
      
      	* app/core/gimpimage.[ch]: added some new GIMP_IMAGE_TYPE_FOO()
      	marcos to get rid of magic values like "pixels = 3" all over the
      	place.
      
      	* app/core/gimplayer.[ch]: added gimp_layer_new_from_drawable()
      	which creates a layer from an other image's drawable.
      
      	* app/core/gimpimage-convert.[ch]: made the RGB and GRAY converters
      	public to use them above, use the new GIMP_IMAGE_TYPE() macros.
      
      	* app/display/gimpdisplayshell-dnd.c
      	* app/gui/toolbox.c: removed tile manager stuff and use the new
      	functions.
      
      	* app/widgets/gimpdrawablelistview.[ch]: added a
      	"convert_drawable_func" which is used to handle drops from other
      	images.
      
      	* app/widgets/gimpdrawablelistitem.c
      	* app/widgets/gimplayerlistitem.c
      	* app/widgets/gimplistitem.[ch]: implemented DND of layers between
      	images using gimp_layer_new_from_drawable().
      
      	* app/gui/dialogs-constructors.c: changed accordingly.
      9b8bf8de
  11. 11 Dec, 2001 2 commits
    • Sven Neumann's avatar
      app/base/base-enums.h moved all remaining enums to base-enums.h · 03a6c044
      Sven Neumann authored
      2001-12-11  Sven Neumann  <sven@gimp.org>
      
      	* app/base/base-enums.h
      	* app/base/base-types.h: moved all remaining enums to base-enums.h
      
      	* app/core/core-enums.h
      	* app/core/core-types.h: moved GimpImageType to core-enums.h and
      	changed the values from RGB_GIMAGE to GIMP_RGB_IMAGE and the like.
      
      	* app/core/gimpchannel.c
      	* app/core/gimpdrawable-preview.c
      	* app/core/gimpdrawable-transform.c
      	* app/core/gimpdrawable.c
      	* app/core/gimpimage-contiguous-region.c
      	* app/core/gimpimage-convert.c
      	* app/core/gimpimage-mask.c
      	* app/core/gimpimage-merge.c
      	* app/core/gimpimage-new.c
      	* app/core/gimpimage-projection.c
      	* app/core/gimpimage.[ch]
      	* app/core/gimplayer.c
      	* app/core/gimplayermask.c
      	* app/core/gimppalette-import.c
      	* app/display/gimpdisplayshell-dnd.c
      	* app/display/gimpdisplayshell-render.c
      	* app/gui/file-save-dialog.c
      	* app/gui/toolbox.c
      	* app/plug-in/plug-in.c
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpdodgeburntool.c: changed accordingly.
      
      	* tools/pdbgen/Makefile.am: no need to parse app/base/base-types.h
      	any longer.
      
      	* app/pdb/color_cmds.c
      	* app/pdb/drawable_cmds.c
      	* app/pdb/layer_cmds.c
      	* app/pdb/paint_tools_cmds.c
      	* tools/pdbgen/enums.pl: regenerated.
      03a6c044
    • Sven Neumann's avatar
      removed GimpImageBaseType enum ... · a611f063
      Sven Neumann authored
      2001-12-11  Sven Neumann  <sven@gimp.org>
      
      	* app/core/core-types.h: removed GimpImageBaseType enum ...
      
      	* app/core/core-enums.h: and added it here with proper namespace
      	(enum values prefixed with GIMP_).
      
      	* app/gimprc.c
      	* app/core/gimpcoreconfig.c
      	* app/core/gimpdrawable-bucket-fill.c
      	* app/core/gimpdrawable-preview.c
      	* app/core/gimpdrawable.c
      	* app/core/gimpedit.c
      	* app/core/gimpimage-convert.c
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage-mask.c
      	* app/core/gimpimage-merge.c
      	* app/core/gimpimage-new.c
      	* app/core/gimpimage-projection.c
      	* app/core/gimpimage.c
      	* app/core/gimplayer.c
      	* app/core/gimppalette-import.c
      	* app/display/gimpdisplay-handlers.c
      	* app/display/gimpdisplayshell-dnd.c
      	* app/display/gimpdisplayshell.c
      	* app/file/file-utils.c
      	* app/gui/colormap-dialog.c
      	* app/gui/convert-dialog.c
      	* app/gui/info-window.c
      	* app/gui/layers-commands.c
      	* app/gui/palette-import-dialog.c
      	* app/gui/preferences-dialog.c
      	* app/gui/toolbox.c
      	* app/tools/gimpclonetool.c
      	* app/tools/gimppainttool.c
      	* app/widgets/gimpchannellistview.c
      	* tools/pdbgen/Makefile.am
      	* tools/pdbgen/pdb/convert.pdb
      	* tools/pdbgen/pdb/image.pdb: changed accordingly.
      
      	* tools/pdbgen/enums.pl
      	* app/pdb/convert_cmds.c
      	* app/pdb/image_cmds.c
      	* libgimp/gimpconvert_pdb.c
      	* libgimp/gimpimage_pdb.c: regenerated.
      
      	* app/config/Makefile.am
      	* app/config/gimpconfig-params.h
      	* app/config/gimpconfig-serialize.c
      	* app/config/gimpcoreconfig.[ch]: added more stuff to GimpCoreConfig.
      a611f063
  12. 08 Dec, 2001 1 commit
    • Sven Neumann's avatar
      app/core/Makefile.am new file that holds enums that are registered with · a65e1a39
      Sven Neumann authored
      2001-12-08  Sven Neumann  <sven@gimp.org>
      
      	* app/core/Makefile.am
      	* app/core/core-enums.h: new file that holds enums that are registered
      	with the type system and is used to generate core-enums.c.
      
      	* app/core/core-types.h: include core-enums.h
      
      	* app/base/base-types.h: namespace cleanup. Prefix all enumeration
      	types with Gimp and their values with GIMP. Moved GimpLayerModeEffects
      	enum ...
      
      	* app/base/base-enums.h: ... here.
      
      	* app/image_map.c
      	* app/base/temp-buf.c
      	* app/core/gimpcontext.[ch]
      	* app/core/gimpdrawable-transform.c
      	* app/core/gimpdrawable.c
      	* app/core/gimpedit.c
      	* app/core/gimpimage-mask.c
      	* app/core/gimpimage-merge.c
      	* app/core/gimpimage-new.c
      	* app/core/gimpimage-projection.c
      	* app/core/gimpimage.[ch]
      	* app/core/gimplayer.[ch]
      	* app/display/gimpdisplayshell-dnd.c
      	* app/display/gimpdisplayshell-render.c
      	* app/gui/brush-select.c
      	* app/gui/layers-commands.c
      	* app/gui/preferences-dialog.c
      	* app/gui/toolbox.c
      	* app/paint-funcs/paint-funcs.[ch]
      	* app/tools/gimpconvolvetool.c
      	* app/tools/gimperasertool.c
      	* app/tools/gimpiscissorstool.c
      	* app/tools/gimppainttool.[ch]
      	* app/tools/gimptexttool.c
      	* app/tools/paint_options.c
      	* app/widgets/gimplayerlistview.c
      	* app/widgets/gimpwidgets-constructors.[ch]
      	* app/xcf/xcf-load.c
      	* tools/pdbgen/pdb/brush_select.pdb
      	* tools/pdbgen/pdb/brushes.pdb
      	* tools/pdbgen/pdb/color.pdb
      	* tools/pdbgen/pdb/layer.pdb
      	* tools/pdbgen/pdb/tools.pdb: changed accordingly.
      
      	* libgimpbase/gimpbasetypes.h: no need to chop GIMP prefix off the
      	enums any longer.
      
      	* app/pdb/brush_select_cmds.c
      	* app/pdb/brushes_cmds.c
      	* app/pdb/color_cmds.c
      	* app/pdb/layer_cmds.c
      	* app/pdb/message_cmds.c
      	* app/pdb/procedural_db_cmds.c
      	* app/pdb/tools_cmds.c
      	* libgimp/gimpenums.h
      	* plug-ins/script-fu/script-fu-constants.c
      	* tools/pdbgen/enums.pl: regenerated.
      
      	* app/gimprc.c: removed code to parse for "plug_in" keyword which was
      	left over from some very early gimp days.
      
      	* app/plug-in/plug-in.[ch]: removed now unused function plug_in_add().
      a65e1a39
  13. 31 Oct, 2001 1 commit
    • Michael Natterer's avatar
      Chopped up the display stuff (beware: unfinished)... · 5f63e079
      Michael Natterer authored
      2001-10-31  Michael Natterer  <mitch@gimp.org>
      
      	Chopped up the display stuff (beware: unfinished)...
      
      	The plan is that GimpDisplay is the object which collects
      	updates from the image, compresses them and waits for the GIMP
      	to be idle to actually paint them. It should be a non-GUI object
      	which is the model for the actual widget to connect to.
      
      	GimpDisplayShell has all the widgets and handles painting and
      	exposing of the result. Nobody should actually be required to
      	update ot look at it as it should be a view on the GimpDisplay
      	object.
      
      	Much stuff is still in the wrong place and the functions don't
      	follow their files' filename namespace any more. More to come...
      
      	* app/display/Makefile.am
      	* app/display/gimpdisplay-ops.[ch]: removed. It's functions didn't
      	belong together anyway.
      
      	* app/display/gimpdisplay-area.[ch]: new files: the GimpArea
      	functions.
      
      	* app/display/gimpdisplay-handlers.[ch]: new files: signal
      	handlers for GimpImage signals. Mostly from app/gui.c.
      
      	* app/display/gimpdisplay.[ch]: removed all widgets and other
      	GUI stuff. There is still much undecided here...
      
      	* app/display/gimpdisplayshell.[ch]: actually use the object and
      	filled it with all the stuff from GimpDisplay.
      
      	* app/display/gimpdisplay-callbacks.[ch]
      	* app/display/gimpdisplay-foreach.[ch]
      	* app/display/gimpdisplay-render.c
      	* app/display/gimpdisplay-scale.[ch]
      	* app/display/gimpdisplay-scroll.[ch]
      	* app/display/gimpdisplay-selection.c: changed accordingly.
      
      	* app/core/gimp.[ch]: return a GimpObject from
      	gimp_create_display() so it can be used as single GUI independent
      	point to create displays, require the initial scale as parameter.
      
      	* app/core/gimpcontext.c: changed the ugly EEKWrapper according to
      	the GimpDisplay structure changes. Bugfix: set the image to NULL
      	in gimp_context_display_destroyed().
      
      	* app/core/gimpedit.c
      	* app/core/gimpimage-new.c: changed gimp_create_display() calls
      	accordingly.
      
      	* app/core/gimpimage-convert.c: invalidate the layer & image
      	previews here, not in the caller.
      
      	* app/core/gimpimage-crop.c: update the whole image after cropping.
      
      	* app/core/gimpimage.[ch]: added gimp_image_find_guide(),
      	gimp_image_snap_point() and gimp_image_snap_rectangle(). Added
      	"resolution_changed" and "unit_changed" signals and corresp.
      	public convenience functions to emit them.
      
      	* app/core/gimplayer.c: emit the image's "alpha_changed" signal
      	when adding alpha to the bottom (and only) layer of the image.
      
      	* app/gimpprogress.c
      	* app/image_map.c
      	* app/nav_window.c
      	* app/qmask.c
      	* app/undo.c
      	* app/user_install.c: changed accordingly.
      
      	* app/gui/edit-commands.c
      	* app/gui/file-commands.c
      	* app/gui/file-open-dialog.c
      	* app/gui/image-commands.c
      	* app/gui/info-window.c
      	* app/gui/preferences-dialog.c
      	* app/gui/toolbox.c
      	* app/gui/view-commands.c: ditto.
      
      	* app/gui/gui.[ch]: removed most gimp->images handlers as the
      	displays connect to them themselves now. chaged gui_display_new()
      	according to the gimp_create_display() changes.
      	Added gui_get_screen_resolution().
      
      	* app/tools/gimpbezierselecttool.c
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimpbycolorselecttool.c
      	* app/tools/gimpclonetool.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpdrawtool.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpfliptool.c
      	* app/tools/gimpfreeselecttool.c
      	* app/tools/gimpfuzzyselecttool.c
      	* app/tools/gimpinktool.c
      	* app/tools/gimpiscissorstool.c
      	* app/tools/gimpmagnifytool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimpmovetool.c
      	* app/tools/gimppainttool.c
      	* app/tools/gimppathtool.c
      	* app/tools/gimprectselecttool.c
      	* app/tools/gimpselectiontool.c
      	* app/tools/gimptexttool.c
      	* app/tools/gimptool.c
      	* app/tools/gimptransformtool.c
      	* app/tools/xinput_airbrush.c: lots of changes because GimpDisplay
      	has become two objects. Lots of gdisp->shell casting uglyness
      	added. This is fine because exactly these parts will have to go
      	away.
      
      	(GimpDisplay will provide methods for XOR drawing upon the display
      	in image coordinates without the need to transform coordinates all
      	the time. Also the tools shouldn't see GdkEvents but get more
      	useful virtual functions which speak in image coordinates too).
      
      	* app/widgets/gimpcomponentlistitem.c: removed a now useless image
      	update.
      
      	* tools/pdbgen/pdb/display.pdb: use gimp_create_display().
      
      	* app/pdb/display_cmds.c: regenerated.
      5f63e079
  14. 14 Aug, 2001 1 commit
    • Michael Natterer's avatar
      an evil temp_hack which lets GimpContext managing the active display · e2daae31
      Michael Natterer authored
      2001-08-14  Michael Natterer  <mitch@gimp.org>
      
      	* app/gdisplay.h: an evil temp_hack which lets GimpContext managing
      	the active display withoug including "gdisplay.h". Will go away as
      	soon ad context properties are registered dynamically.
      
      	* app/module_db.c: cleaned up the object code in preparation of
      	moving it to core/.
      
      	* app/path.c: connect to GimpImage's
      
      	* app/core/gimpobject.[ch]: derive it from GObject, not from
      	GtkObject any more (yeah :-)
      
      	* app/core/*.c: #include <glib-object.h> instead of <gtk/gtk.h>,
      	removed some remaining GtkObject-isms.
      
      	(left in a few #include <gtk/gtk.h> where bigger changes are needed
      	to get rid of the UI dependency).
      
      	* app/core/core-types.h: #include <gdk-pixbuf/gdk-pixbuf.h> here
      	temporarily.
      
      	* app/core/gimp.c (gimp_create_display): unref the image after
      	creating it's first display.
      
      	* app/core/gimpbrush.[ch]: disabled the parts of the code which
      	depend on GimpPaintTool.
      
      	* app/core/gimpbrushgenerated.c
      	* app/core/gimpbrushpipe.c: changed accordingly.
      
      	* app/core/gimpcontext.[ch]: evil hack (see above) to manage the
      	active display without including "gdisplay.h"
      
      	* app/core/gimpimage-mask.[ch]: pass a context to
      	gimage_mask_stroke() and get the current tool's PDB string from
      	there.
      
      	* app/core/gimpedit.c: changed accordingly.
      
      	* app/core/gimpimage.c: use gimp_image_update() instead of
      	gdisplays_update_full().
      
      	* app/gui/color-area.c
      	* app/gui/colormap-dialog.c
      	* app/gui/dialogs-constructors.c
      	* app/gui/edit-commands.c
      	* app/gui/image-commands.c
      	* app/gui/toolbox.c: changed accordingly (don't use Gtk methods on
      	GObjects).
      
      	* app/gui/menus.c: fix some const warnings by explicit casting.
      
      	* app/tools/*.[ch]: ported all tools to GObject, some minor
      	cleanup while i was on it.
      
      	* app/widgets/gimpdialogfactory.[ch]: ported to GObject.
      
      	* app/widgets/gimplayerlistview.h: added FOO_GET_CLASS() macro.
      
      	* tools/pdbgen/app.pl: added a "widgets_eek" hack like "tools_eek"
      	which inserts #include "widgets/widgets-types.h" before ordinary
      	includes.
      
      	* tools/pdbgen/pdb/brush_select.pdb
      	* tools/pdbgen/pdb/edit.pdb
      	* app/pdb/brush_select_cmds.c
      	* app/pdb/edit_cmds.c: changed according to the stuff above.
      e2daae31
  15. 22 Jul, 2001 1 commit
    • Hans Breuer's avatar
      updated · 5469bc4b
      Hans Breuer authored
      2001-07-22  Hans Breuer  <hans@breuer.org>
      
      	* app/*/makefile.msc :
      	* plug-ins/makefile.msc	:
      	* libgimp/gimp.def :
      	* libgimpwidgets/gimpwidgets.def : updated
      
      	* makefile.msc :
      	* app/xcf/makefile.msc :
      	* regexrepl/makefile.msc : new files
      
      	* app/base/base-config.c : a work-around for a gccism with
      	structure initialization
      
      	* app/core/gimp.c :
      	* app/core/gimpimage-new.c :
      	* app/gui/color-area.c
      	* app/widgets/gimpdialogfactory.c
      	* app/xcf/xcf-load.c
      	* app/xcf/xcf-save.c
      	* app/xcf/xcf-write.c
      	* plug-ins/common/plasma.c :
      	* plug-ins/flame/libifs.c : added <string.h> for strlen(), strcpy(),
      	memcpy(), memcmp() and friends
      
      	* plug-ins/imagemap/imap_rectangle.c :
      	* plug-ins/ifscompose/ifscompose_storage.c : added <stdlib.h> for abs()
      
      	* plug-ins/common/spheredesigner.c : reflect renaming of drawable.id
      	drawable.drawable_id
      
      	* plug-ins/script-fu/siod-wrapper.c : <string.h> and conditional use
      	of script_fu_server_quit () cause there is not yet script-fu server
      	on win32.
      5469bc4b
  16. 11 Jul, 2001 1 commit
    • Michael Natterer's avatar
      app/Makefile.am app/gimpunit.c removed... · 16671498
      Michael Natterer authored
      2001-07-11  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/gimpunit.c
      	* app/unitrc.h: removed...
      
      	* app/core/Makefile.am
      	* app/core/gimpunit.[ch]: ...re-added here.
      
      	* app/core/gimp.[ch]: added the image and drawable hash tables,
      	next_image_ID, next_guide_ID and next_drawable_ID, added a
      	GimpCoreConfig pointer which is now initalized dynamically.
      
      	* app/core/gimpcoreconfig.[ch]: don't provide a global core_config
      	variable any more (need to access gimp->config now).
      
      	* app/gdisplay.[ch]
      	* app/core/gimpdrawable.[ch]
      	* app/core/gimpimage.[ch]: removed all global variables from
      	gimpimage.c and gimpdrawable.c, pass a Gimp* to all *_get_by_ID()
      	functions.
      
      	* tools/pdbgen/app.pl: pass Gimp* to all _get_by_ID() functions.
      
      	* app/app_procs.c
      	* app/file-open.c
      	* app/file-save.c
      	* app/gimprc.c
      	* app/libgimp_glue.c
      	* app/module_db.c
      	* app/plug_in.c
      	* app/undo.c
      	* app/user_install.c
      	* app/core/core-types.h
      	* app/core/gimpcontext.c
      	* app/core/gimpimage-crop.c
      	* app/core/gimpimage-new.c
      	* app/core/gimpparasite.c
      	* app/gui/file-new-dialog.c
      	* app/gui/file-open-dialog.c
      	* app/gui/info-window.c
      	* app/gui/preferences-dialog.c
      	* app/gui/resize-dialog.c
      	* app/xcf/xcf-load.c
      	* app/xcf/xcf-save.c
      	* app/xcf/xcf.c
      	* app/widgets/gimpdnd.c
      
      	* 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/parasite_cmds.c
      	* app/pdb/paths_cmds.c
      	* app/pdb/selection_cmds.c
      	* app/pdb/text_tool_cmds.c
      	* app/pdb/tools_cmds.c
      	* app/pdb/undo_cmds.c
      	* app/pdb/unit_cmds.c
      
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/unit.pdb: changed accordingly.
      16671498
  17. 07 Jul, 2001 2 commits
    • Michael Natterer's avatar
      app/Makefile.am removed. · 37ce6b9a
      Michael Natterer authored
      2001-07-08  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/drawable.[ch]: removed.
      
      	* app/core/gimpdrawable.[ch]: added the functions here. Made an
      	end to the myth that FG/BG and the undo system (!!!) are not
      	really part of the core.
      
      	* app/disp_callbacks.c
      	* app/floating_sel.c
      	* app/image_map.c
      	* app/qmask.c
      	* app/undo.c
      	* app/core/gimpchannel.c
      	* app/core/gimpdrawable-desaturate.c
      	* app/core/gimpdrawable-equalize.c
      	* app/core/gimpdrawable-invert.c
      	* app/core/gimpdrawable-offset.c
      	* app/core/gimpedit.c
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage-mask.c
      	* app/core/gimpimage-new.c
      	* app/core/gimpimage.[ch]
      	* app/core/gimplayer.c
      	* app/core/gimplayermask.c
      	* app/gui/channels-commands.c
      	* app/gui/gui.c
      	* app/gui/layers-commands.c
      	* app/tools/gimpairbrushtool.c
      	* app/tools/gimpbezierselecttool.c
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpbrightnesscontrasttool.c
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimpclonetool.c
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpconvolvetool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimphistogramtool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimpinktool.c
      	* app/tools/gimpiscissorstool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimppainttool.c
      	* app/tools/gimpposterizetool.c
      	* app/tools/gimpscaletool.c
      	* app/tools/gimpthresholdtool.c
      	* app/tools/gimptransformtool.c
      	* app/tools/tool_manager.c
      	* app/widgets/gimpchannellistitem.c
      	* app/widgets/gimpchannellistview.c
      	* app/widgets/gimpdrawablelistitem.c
      	* app/widgets/gimplayerlistitem.c
      	* app/widgets/gimplayerlistview.c
      	* 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/parasite_cmds.c
      	* app/pdb/selection_cmds.c
      	* app/pdb/text_tool_cmds.c
      	* app/pdb/tools_cmds.c
      	* tools/pdbgen/pdb.pl
      	* tools/pdbgen/pdb/color.pdb
      	* tools/pdbgen/pdb/drawable.pdb: changed accordingly. Misc small
      	fixes and cleanups.
      37ce6b9a
    • Michael Natterer's avatar
      app/Makefile.am removed. · 1bcd3e18
      Michael Natterer authored
      2001-07-07  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/context_manager.[ch]: removed.
      
      	* app/app_procs.c: call tool_mananger instead of context_manager
      	functions, pass "the_gimp" to some more functions.
      
      	* app/drawable.[ch]: pass a GimpContext to drawable_fill().
      
      	* app/errors.c: behave according to "stack_trace_mode" when using
      	the debugging signal handler.
      
      	* app/gimprc.[ch]: removed the core/ config variables.
      
      	* app/selection.c: set the selection's state to INVISIBLE in
      	selection_pause().
      
      	* app/core/Makefile.am
      	* app/core/gimpcoreconfig.[ch]: new files (the configuration
      	variables used by core/).
      
      	* app/core/gimpcontext.[ch]: removed the global contexts (user,
      	default, ...) and their functions. It's no longer possible to pass
      	NULL to the context functions to manipulate the current context
      	(gimpcontext.c doesn't know the current context any more).
      
      	* app/core/gimp.[ch]: added them here. The functions are now called
      	gimp_[set|get]_*_context(). Added gimp_create_context() which is
      	the only function to create contexts now.
      
      	* app/gui/dialogs.[ch]
      	* app/gui/gui.[ch]: pass "gimp" to all functions.
      
      	* app/tools/tool_manager.[ch]
      	* app/tools/tools.[ch]: pass "gimp" to lots of functions. Added
      	the "global_tool_context" logic and the global/non-global paint
      	options switching from the context_manager. Pass "gimp" to all
      	tools' "register" functions.
      
      	* app/tools/*: changed accordingly.
      
      	* app/devices.c
      	* app/disp_callbacks.c
      	* app/file-open.[ch]
      	* app/file-save.c
      	* app/gdisplay.c
      	* app/gimage.c
      	* app/libgimp_glue.c
      	* app/module_db.c
      	* app/nav_window.c
      	* app/plug_in.c
      	* app/qmask.c
      	* app/undo.c
      	* app/base/base-config.c
      	* app/core/gimpbrushpipe.c
      	* app/core/gimpdrawable-offset.c
      	* app/core/gimpgradient.c
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage-mask.c
      	* app/core/gimpimage-new.c
      	* app/core/gimpimage.c
      	* app/core/gimppalette.c
      	* app/core/gimptoolinfo.[ch]
      	* app/core/gimpundo.c
      	* app/gui/brush-select.c
      	* app/gui/channels-commands.c
      	* app/gui/color-area.c
      	* app/gui/dialogs-constructors.c
      	* app/gui/file-new-dialog.c
      	* app/gui/file-open-dialog.c
      	* app/gui/gradient-editor.c
      	* app/gui/gradient-select.c
      	* app/gui/info-window.c
      	* app/gui/layers-commands.c
      	* app/gui/menus.c
      	* app/gui/palette-editor.c
      	* app/gui/palette-import-dialog.c
      	* app/gui/palette-select.c
      	* app/gui/paths-dialog.c
      	* app/gui/pattern-select.c
      	* app/gui/preferences-dialog.c
      	* app/gui/resize-dialog.c
      	* app/gui/test-commands.c
      	* app/gui/tool-options-dialog.c
      	* app/gui/toolbox.c
      	* app/gui/tools-commands.c
      	* app/xcf/xcf-load.c
      	* app/xcf/xcf-save.c
      	* app/widgets/gimpchannellistview.c
      	* app/widgets/gimpdnd.c
      	* app/widgets/gimpdrawablelistview.[ch]
      	* app/widgets/gimpimagedock.c
      	* app/widgets/gimplayerlistview.c
      	* app/pdb/brushes_cmds.c
      	* app/pdb/drawable_cmds.c
      	* app/pdb/gradient_select_cmds.c
      	* app/pdb/gradients_cmds.c
      	* app/pdb/palette_cmds.c
      	* app/pdb/patterns_cmds.c
      	* app/pdb/procedural_db.c
      	* tools/pdbgen/pdb/brushes.pdb
      	* tools/pdbgen/pdb/drawable.pdb
      	* tools/pdbgen/pdb/gradient_select.pdb
      	* tools/pdbgen/pdb/gradients.pdb
      	* tools/pdbgen/pdb/palette.pdb
      	* tools/pdbgen/pdb/patterns.pdb: changed accordingly: remove usage
      	of gimp_context_[get|set]_*(NULL), create contexts with
      	gimp_create_context(). Get the user/current context with
      	gimp_get_[user|current]_context(). Added/removed access to the
      	global "the_gimp" variable in some places. Get the core's config
      	variables from "core_config".
      1bcd3e18
  18. 05 Jul, 2001 2 commits
    • Michael Natterer's avatar
      don't add the image to the image container, don't call undo_free(). · a84d697b
      Michael Natterer authored
      2001-07-05  Michael Natterer  <mitch@gimp.org>
      
      	* app/gimage.c: don't add the image to the image container,
      	don't call undo_free().
      
      	* app/core/gimp.[ch]: add new images to gimp->images, optionally
      	attach the comment parasite.
      
      	* app/core/gimpedit.c
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage-new.c
      	* app/gui/file-open-dialog.c
      	* app/gui/toolbox.c
      	* tools/pdbgen/pdb/image.pdb
      	* app/pdb/image_cmds.c
      	* app/xcf/xcf-load.c: call gimp_create_image() and/or
      	gimp_create_display(), don't attach a comment parasite.
      
      	* app/core/gimpimage.c: call undo_free() in "destroy".
      
      	* app/file-open.c
      	* app/gui/palette-import-dialog.c
      	* app/xcf/xcf-save.c: don't #include "gimage.h"
      a84d697b
    • Michael Natterer's avatar
      app/Makefile.am removed... · a0014f7e
      Michael Natterer authored
      2001-07-05  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/image_new.[ch]: removed...
      
      
      	* app/core/Makefile.am
      	* app/core/core-types.h
      	* app/core/gimpimage-new.[ch]: ...and (partly) added here.
      
      	* app/core/gimp.[ch]: added gimp_create_image() which will be the
      	_only_ place to get new images from soon.
      	Added  a "create_display_func" function pointer...
      
      	* app/gui/gui.[ch]: ...which gets initialized here.
      
      	This way the core can create displays without depending on the
      	interface.
      
      	* app/app_procs.c
      	* app/apptypes.h
      	* app/core/gimpedit.c
      	* app/gui/file-commands.c
      	* app/gui/file-new-dialog.[ch]: changed accordingly.
      a0014f7e