1. 15 Jul, 2001 1 commit
    • Michael Natterer's avatar
      don't use the global "the_gimp" variable. · b280b493
      Michael Natterer authored
      2001-07-15  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimp.c: don't use the global "the_gimp" variable.
      
      	* app/core/gimpimage-convert.c: don't update the display here.
      
      	* app/gui/gui.c: connect to the images' "mode_changed" signal
      	and update here.
      
      	* app/gui/brush-editor.[ch]
      	* app/gui/gradient-editor.[ch]
      	* app/gui/palette-editor.[ch]: pass a "Gimp" pointer to all
      	editors. Added an palette_name entry to the palette editor.
      
      	* app/gui/colormap-dialog.[ch]: removed all the dialog stuff and
      	made the constructor return a vbox so it can be integrated in a
      	dockable. Lots of cleanup and removal of anqiuqe aretfacts.
      
      	* app/gui/dialogs-constructors.[ch]: wrap the colormap dialog in
      	a dockable.
      
      	* app/gui/dialogs-commands.[ch]
      	* app/gui/dialogs.c
      	* app/gui/menus.c: integrate the new dockable, made the "Brushes.."
      	etc. menu entries create dockbles. Moved the old dialogs and the
      	test menu entries to "Old + Testing" and removed N_() so the .po
      	files stay cruft-free.
      
      	* app/gui/test-commands.[ch]: removed lots of stuff which is not
      	"testing" any more.
      b280b493
  2. 14 Jul, 2001 4 commits
  3. 13 Jul, 2001 1 commit
    • Michael Natterer's avatar
      app/appenv.h removed "use_mmx" and the MMX detection. · 2d821716
      Michael Natterer authored
      2001-07-13  Michael Natterer  <mitch@gimp.org>
      
      	* app/appenv.h
      	* app/main.c: removed "use_mmx" and the MMX detection.
      
      	* app/base/Makefile.am: build the MMX detection unconditionally
      	as it's already #ifdef'ed in the source.
      
      	* app/base/detect-mmx.h: added a header for detect-mmx.S
      
      	* app/base/base-config.[ch]: added the "use_mmx" boolean.
      
      	* app/base/base.c: call intel_cpu_features() here.
      
      	* app/paint-funcs/paint-funcs.c: #include "base/base-config.h".
      
      	* app/floating_sel.c
      	* app/core/gimpimage.c: removed commented out cruft.
      
      	* app/core/gimplayer.c: gimp_layer_new_from_tiles(): pass the
      	gimage instead of NULL to gimp_layer_new() because layers have to
      	be created in an image context now
      	(checked gimp_layer_new_from_tile()'s callers if this is
      	semantically correct).
      2d821716
  4. 12 Jul, 2001 2 commits
    • Dave Neary's avatar
      One line fix to fix dependency problem. · 8492ea7f
      Dave Neary authored
      
      
      2001-07-12  Dave Neary  <dneary@eircom.net>
      
              * po/POTFILES.in: One line fix to fix dependency problem.
      8492ea7f
    • Sven Neumann's avatar
      app/regexrepl.c removed here ... · cf980596
      Sven Neumann authored
      2001-07-12  Sven Neumann  <sven@gimp.org>
      
      	* app/regexrepl.c
      	* app/regexrepl.h: removed here ...
      
      	* plug-ins/script-fu/regexrepl.c
      	* plug-ins/script-fu/regexrepl.h: ... and here ...
      
      	* regexrepl/Makefile.am
      	* regexrepl/regex.c
      	* regexrepl/regex.h: ... and added here again.
      
      	* Makefile.am
      	* configure.in
      	* app/Makefile.am
      	* app/pdb/plug_in_cmds.c
      	* app/pdb/procedural_db_cmds.c
      	* plug-ins/script-fu/Makefile.am
      	* plug-ins/script-fu/interp_regex.c
      	* tools/pdbgen/app.pl
      	* tools/pdbgen/pdb/plug_in.pdb
      	* tools/pdbgen/pdb/procedural_db.pdb: changed accordingly.
      cf980596
  5. 11 Jul, 2001 2 commits
    • Michael Natterer's avatar
      app/Makefile.am removed. · 7aff6c8f
      Michael Natterer authored
      2001-07-12  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/detect_mmx.S: removed.
      
      	* app/base/Makefile.am
      	* app/base/detect-mmx.S: added.
      7aff6c8f
    • 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
  6. 10 Jul, 2001 3 commits
    • Sven Neumann's avatar
      Bugfixes from the stable branch: · 55b127a0
      Sven Neumann authored
      2001-07-10  Sven Neumann  <sven@gimp.org>
      
      	Bugfixes from the stable branch:
      
      	* plug-ins/common/bz2.c
      	* plug-ins/common/gz.c: a fix for bug #57217 based on a patch from
      	Raphael Quinet.
      
      	* plug-ins/gap/gap_lib.c (p_file_copy): open files in binary mode.
      	A patch from Wolfgang Hofer that possibly fixes bug #52890.
      
      	* tools/Makefile.am: added gimppath2svg.py to EXTRA_DIST.
      55b127a0
    • Michael Natterer's avatar
      Tyop. · 24190680
      Michael Natterer authored
      24190680
    • Michael Natterer's avatar
      removed the gimp_busy boolean, check whether user_installation is needed · 9d87e554
      Michael Natterer authored
      2001-07-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/app_procs.[ch]: removed the gimp_busy boolean, check whether
      	user_installation is needed here, not in user_install.c, parse
      	gtkrc an friends only if(!no_interface), create the Gimp object
      	before parsing gimp's rc files an pas it to the parse functions,
      	many other cleanups.
      
      	* app/appenums.h: added MessageHandlerType and StackTraceMode.
      
      	* app/appenv.h: removed MessageHandlerType, declare all global
      	variables from main.c (no more hidden global stuff please).
      
      	* app/errors.[ch]: added the fatal message func here (from main.c),
      	removed the StackTraceMode enum.
      
      	* app/gimprc.[ch]: renamed functions to gimprc_*(), pass a Gimp
      	pointer to some functions.
      
      	* app/gimpunit.c
      	* app/unitrc.h: ok, this is ugly: renamed all functions to
      	_gimp_unit_*() and made them public. The unit list is part
      	of the Gimp object now, so pass a Gimp* to all functions.
      
      	* app/libgimp_glue.[ch]: added EEKy wrappers for all gimp_unit_*()
      	functions which are used by widgets.
      
      	* app/main.c: cleaned up the global variables, removed the fatal
      	message handler, call app_init() directly, not via the
      	user_install stuff, misc. cleanups.
      
      	* app/user_install.[ch]: removed the check if user_installation is
      	needed (done by app_procs.c now).
      
      	* app/core/gimp.[ch]: added the user_unit list and the "busy"
      	boolean. Moved gimp_[set|unset]_busy() here. Added
      	gimp_initialize() which is called after unitrc and gimprc are
      	parsed.
      
      	* app/batch.c
      	* app/colormaps.c
      	* app/devices.c
      	* app/disp_callbacks.c
      	* app/gdisplay_ops.c
      	* app/gimphelp.c
      	* app/module_db.c
      	* app/nav_window.c
      	* app/plug_in.c
      	* app/core/gimpcontext.c
      	* app/core/gimpdatafiles.c
      	* app/core/gimpimage-convert.c
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage.c
      	* app/core/gimpparasite.c
      	* app/core/gimpparasitelist.h
      	* app/gui/file-open-dialog.c
      	* app/gui/gui.[ch]
      	* app/gui/info-dialog.c
      	* app/gui/info-window.c
      	* app/gui/preferences-dialog.c
      	* app/gui/session.c
      	* app/gui/tips-dialog.c
      	* app/gui/toolbox.c
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpfuzzyselecttool.c
      	* app/tools/gimptransformtool.c
      	* app/tools/tool_manager.c
      	* app/widgets/gimpcolorpanel.c
      	* app/widgets/gimpcursor.c
      	* app/xcf/xcf-load.c
      	* app/xcf/xcf-save.c
      	* app/xcf/xcf.c
      	* tools/pdbgen/Makefile.am
      	* tools/pdbgen/app.pl
      	* tools/pdbgen/enums.pl
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/message.pdb
      	* tools/pdbgen/pdb/unit.pdb
      	* app/pdb/image_cmds.c
      	* app/pdb/message_cmds.c
      	* app/pdb/unit_cmds.c: changed accordingly, minor cleanups.
      9d87e554
  7. 09 Jul, 2001 3 commits
    • Michael Natterer's avatar
      app/Makefile.am app/datafiles.[ch] app/gimpparasite.[ch] removed... · d7fde9e6
      Michael Natterer authored
      2001-07-09  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/datafiles.[ch]
      	* app/gimpparasite.[ch]
      	* app/parasitelist.[ch]: removed...
      
      	* app/core/Makefile.am
      	* app/core/gimpdatafiles.[ch]
      	* app/core/gimpparasite.[ch]
      	* app/core/gimpparasitelist.[ch]: ...and added here.
      
      	* app/gimprc.c
      	* app/module_db.c
      	* app/plug_in.c
      	* app/undo.c
      	* app/core/gimp.c
      	* app/core/gimpchannel.c
      	* app/core/gimpdatafactory.c
      	* app/core/gimpdrawable.c
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage.c
      	* app/core/gimplayer.c
      	* app/xcf/xcf-load.c
      	* app/xcf/xcf-save.c
      	* tools/pdbgen/pdb/parasite.pdb
      	* app/pdb/parasite_cmds.c: changed #include's accordingly.
      d7fde9e6
    • Dave Neary's avatar
      One-line fix which is needed, but never showed up before. Initialise a · d6364dcc
      Dave Neary authored
      
      
      2001-07-09  Dave Neary  <dneary@eircom.net>
      
              * app/plug_in.c: One-line fix which is needed, but never showed
              up before. Initialise a string to NULL, to avoid a !=NULL
              mishap later on.
      d6364dcc
    • Michael Natterer's avatar
      added a (commented out) function to open files (to get rid of including · b54b5ed6
      Michael Natterer authored
      2001-07-09  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimp.[ch]: added a (commented out) function to open
      	files (to get rid of including gui/file-open-dialog.h)
      
      	* app/gui/file-open-dialog.[ch]
      	* app/gui/file-save-dialog.[ch]: renamed all functions because they
      	are no callbacks any more. Removed the _by_extension() callbacks.
      
      	* app/gui/file-commands.[ch]: added the
      	file_[open|save]_by_extension() callbaks here along with some
      	other stuff which has nothing to do with the file dialogs.
      
      	* app/gui/menus.c: added a helper function to create an item
      	factory, cleanup.
      
      	* app/gui/palette-editor.[ch]: contains only the editor for a
      	single palette now (removed the notebook and the palette list).
      	Renamed all functions to palette_editor_*(). Will be made a
      	dockable later.
      
      	* app/gui/palette-select.[ch]: made it work like the other
      	selection dialogs.
      
      	* app/app_procs.c
      	* app/docindex.c
      	* app/gui/dialogs-constructors.[ch]
      	* app/gui/dialogs.c
      	* app/gui/gradient-select.c
      	* app/gui/gui.c
      	* app/widgets/gimpdnd.c: changed accordingly.
      b54b5ed6
  8. 08 Jul, 2001 1 commit
    • Michael Natterer's avatar
      the active_tool may change in the middle of gdisplay_canvas_events(), so · c5609420
      Michael Natterer authored
      2001-07-08  Michael Natterer  <mitch@gimp.org>
      
      	* app/disp_callbacks.c: the active_tool may change in the middle
      	of gdisplay_canvas_events(), so re-get it after using it for
      	cursor_update.
      
      	* app/base/boundary.c: made some global variables local.
      
      	* app/core/gimpdrawable.c: don't call gimp_drawable_set_visible()
      	in gimp_drawable_configure() because we don't want signal
      	emissions while configuring the drawable.
      
      	* app/gui/Makefile.am
      	* app/gui/brushes-commands.[ch]
      	* app/gui/data-commands.[ch]
      	* app/gui/gradients-commands.[ch]
      	* app/gui/palettes-commands.[ch]
      	* app/gui/patterns-commands.[ch]: new files for new new item
      	factories' callbacks.
      
      	* app/gui/menus.[ch]: added context menus for brushes, patterns, ...
      
      	* app/gui/gradient-editor.c
      	* app/gui/palette-editor.c: removed the "Save as POV", "Import
      	Palette" and "Merge Palattes" buttons as they are item factory
      	callbacks now.
      
      	* app/widgets/gimpbrushfactoryview.[ch]
      	* app/widgets/gimpbufferview.[ch]
      	* app/widgets/gimpcontainereditor.[ch]
      	* app/widgets/gimpdatafactoryview.[ch]: pass a
      	"GimpContainerContextFunc" pointer to all GimpContainerEditor
      	subclasses' constructors. Use the function to show the context
      	menu.
      
      	* app/widgets/gimpcontainergridview.c: dispatch the previews'
      	"context" signal.
      
      	* app/widgets/gimppreview.[ch]: new signal "context" which is
      	emitted on right-click.
      
      	* app/gui/brush-select.c
      	* app/gui/dialogs-constructors.c
      	* app/gui/gradient-select.c
      	* app/gui/layers-commands.c
      	* app/gui/palette-select.c
      	* app/gui/pattern-select.c
      	* app/gui/test-commands.c: changed accordingly.
      c5609420
  9. 07 Jul, 2001 7 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. · 3196563c
      Michael Natterer authored
      2001-07-07  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/gimage.[ch]: removed.
      
      	* app/core/gimp.c: s/gimage_new/gimp_image_new/
      
      	* app/gui/gui.c
      	* app/tools/tool_manager.c: added the handlers from gimage.c
      3196563c
    • Michael Natterer's avatar
      put all tool_manager variables into a struct which is attached to a · b70ee4b7
      Michael Natterer authored
      2001-07-07  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/tool_manager.[ch]: put all tool_manager variables into
      	a struct which is attached to a "Gimp". Pass a Gimp* to all
      	tool_manager functions.
      
      	* app/disp_callbacks.c
      	* app/gdisplay.c
      	* app/gimage.c
      	* app/scale.c
      	* app/scroll.c
      	* app/undo.c
      	* app/gui/convert-dialog.c
      	* app/gui/edit-commands.c
      	* app/gui/tool-options-dialog.c
      	* app/gui/tools-commands.c: changed accordingly.
      
      	* app/tools/gimpbezierselecttool.c
      	* app/tools/gimpbrightnesscontrasttool.c
      	* app/tools/gimpbycolorselecttool.c
      	* app/tools/gimpclonetool.c
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimphistogramtool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimpposterizetool.c
      	* app/tools/gimptexttool.c
      	* app/tools/gimpthresholdtool.c
      	* app/tools/gimptool.c
      	* app/tools/gimptransformtool.c: mostly bad hacks for tool dialogs
      	which exist without a real context. Needs some more review.
      b70ee4b7
    • Michael Natterer's avatar
      app/core/Makefile.am new files for gimp_image_crop() and · 56939566
      Michael Natterer authored
      2001-07-07  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/Makefile.am
      	* app/core/gimpimage-crop.[ch]: new files for gimp_image_crop()
      	and gimp_image_crop_auto_shrink() (should share large portions of
      	code with gimp_image_resize()).
      
      	* app/tools/gimpcroptool.[ch]: removed here.
      
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/tools.pdb: gimp_crop --> gimp_image_crop
      
      	* app/pdb/image_cmds.c
      	* app/pdb/internal_procs.c
      	* app/pdb/tools_cmds.c
      	* libgimp/gimpimage_pdb.[ch]
      	* libgimp/gimptools_pdb.[ch]: regenerated.
      
      	* plug-ins/common/autocrop.c
      	* plug-ins/common/gif.c
      	* plug-ins/common/guillotine.c
      	* plug-ins/common/zealouscrop.c
      	* plug-ins/perl/examples/image_tile
      	* plug-ins/script-fu/scripts/add-bevel.scm
      	* plug-ins/script-fu/scripts/ripply-anim.scm
      	* plug-ins/script-fu/scripts/slide.scm: changed accordingly. Some
      	cleanups in the plug-ins.
      56939566
    • Christian Rose's avatar
      Updated Swedish translation. · 3afc602f
      Christian Rose authored
      2001-07-07  Christian Rose  <menthos@menthos.com>
      
      	* sv.po: Updated Swedish translation.
      3afc602f
    • Michael Natterer's avatar
    • 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
  10. 06 Jul, 2001 2 commits
  11. 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
  12. 04 Jul, 2001 5 commits
    • Michael Natterer's avatar
      Fixed my latest log entry. · 31a0ad01
      Michael Natterer authored
      31a0ad01
    • Michael Natterer's avatar
      renamed gimp_initialize() to gimp_restore() because it loads all kinds of · f7c69b07
      Michael Natterer authored
      2001-07-05  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimp.[ch]: renamed gimp_initialize() to gimp_restore()
      	because it loads all kinds of data. Added gimp_shutdown() to save
      	the data. Added the global parasite list.
      
      	* app/apptypes.h: removed ParasiteList.
      
      	* app/core/core-types.h: added GimpParasiteList.
      
      	* app/gimpparasite.[ch]: removed the global parasite list.
      
      	* app/parasitelist.[ch]: s/ParasiteList/GimpParasiteList/
      	s/parasite_list_*/gimp_patasite_list_*/
      
      	* app/widgets/gimpdatafactoryview.c: don't save the data in
      	gimp_data-factory_data_free().
      
      	* app/app_procs.c
      	* app/gimprc.c
      	* app/undo.c
      	* app/core/gimpchannel.c
      	* app/core/gimpdatafactory.c
      	* app/core/gimpdrawable.[ch]
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage.[ch]
      	* app/core/gimplayer.c
      	* app/pdb/brushes_cmds.c
      	* app/pdb/parasite_cmds.c
      	* app/xcf/xcf-save.c
      	* tools/pdbgen/pdb/brushes.pdb
      	* tools/pdbgen/pdb/parasite.pdb: changed accordingly.
      f7c69b07
    • Michael Natterer's avatar
      app/core/Makefile.am app/core/core-types.h added an "application object" · 01645960
      Michael Natterer authored
      2001-07-04  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/Makefile.am
      	* app/core/core-types.h
      	* app/core/gimp.[ch]: added an "application object" called Gimp.
      
      	Currently, it contains the image list, the clipboard, the data
      	factories, the procedural hashtable and the tool info list.  It's
      	the toplevel object of the core object system. Finally, creating a
      	Gimp object will return a standalone gimp core engine instance
      	with no other global states/variables involved.
      
      	* app/app_procs.[ch]: allocate a "Gimp" instance called "the_gimp" :)
      	Removed stuff which is now done by the "Gimp" object. Merged
      	gimp_init() into app_init() because gimp_init() is taken now.
      
      	* app/context_manager.[ch]: removed stuff done by "Gimp".
      
      	* app/batch.[ch]
      	* app/gimage.[ch]
      	* app/xcf/xcf-load.[ch]
      	* app/xcf/xcf.[ch]
      	* app/core/gimpedit.[ch]
      	* app/tools/tool_manager.[ch]: pass around an additional "Gimp"
      	argument.
      
      	* app/pdb/procedural_db.[ch]: pass a "Gimp" pointer as first
      	parameter to all internal procedures and to all procedural_db_*
      	functions.
      
      	* app/core/gimpcontext.[ch]
      	* app/core/gimpimage.[ch]: added a "Gimp" pointer to the structs.
      
      	* app/devices.c
      	* app/errors.c
      	* app/file-open.c
      	* app/file-save.c
      	* app/gimphelp.c
      	* app/gimpunit.c
      	* app/image_new.c
      	* app/main.c
      	* app/nav_window.c
      	* app/plug_in.c
      	* app/base/base.c
      	* app/core/gimpdatafactory.c
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage-mask.c
      	* app/core/gimptoolinfo.[ch]
      	* app/gui/brush-select.c
      	* app/gui/convert-dialog.c
      	* app/gui/dialogs-constructors.c
      	* app/gui/edit-commands.c
      	* app/gui/file-open-dialog.c
      	* app/gui/file-save-dialog.c
      	* app/gui/gradient-editor.c
      	* app/gui/gradient-select.c
      	* app/gui/gui.c
      	* app/gui/image-commands.c
      	* app/gui/info-window.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/test-commands.c
      	* app/gui/toolbox.c
      	* app/gui/tools-commands.c
      	* app/tools/gimpbezierselecttool.c
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimppainttool.h
      	* app/tools/gimptexttool.c
      	* app/tools/gimptransformtool.h
      	* app/widgets/gimpbufferview.c
      	* app/widgets/gimpcontainerview-utils.c
      	* app/widgets/gimpcursor.c
      	* app/widgets/gimpdnd.c
      	* app/widgets/gimpimagedock.c: changed accordingly. Cleaned up
      	lots of includes. Many files still access the global "the_gimp"
      	variable exported by app_procs.h.
      
      	* tools/pdbgen/app.pl
      	* tools/pdbgen/pdb/brush_select.pdb
      	* tools/pdbgen/pdb/brushes.pdb
      	* tools/pdbgen/pdb/convert.pdb
      	* tools/pdbgen/pdb/edit.pdb
      	* tools/pdbgen/pdb/fileops.pdb
      	* tools/pdbgen/pdb/gradient_select.pdb
      	* tools/pdbgen/pdb/gradients.pdb
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/palette.pdb
      	* tools/pdbgen/pdb/pattern_select.pdb
      	* tools/pdbgen/pdb/patterns.pdb
      	* tools/pdbgen/pdb/procedural_db.pdb: changed accordingly. Don't
      	use "the_gimp" here because all procedures get passed a "Gimp"
      	pointer now.
      
      	* app/pdb/*: regenerated.
      01645960
    • David Neary's avatar
      2001-07-04 Dave Neary <dneary@eircom.net · de24019f
      David Neary authored
      
      
      2001-07-04  Dave Neary  <dneary@eircom.net
      
      	* po/POTFILESin: Changed to reflect some moved/removed files.
      de24019f
    • David Neary's avatar
      Changed POTFILES.in to reflect some moved/removed files. · 80874150
      David Neary authored
      
      
      Changed POTFILES.in to reflect some moved/removed files.
      80874150
  13. 03 Jul, 2001 1 commit
    • Michael Natterer's avatar
      new directory app/xcf/ · 3e36b8f5
      Michael Natterer authored
      2001-07-03  Michael Natterer  <mitch@gimp.org>
      
      	* configure.in: new directory app/xcf/
      
      	* app/Makefile.am
      	* app/global_edit.[ch]
      	* app/xcf.[ch]: removed.
      
      	* app/core/Makefile.am
      	* app/core/gimpedit.[ch]: added here...
      
      	* app/xcf/.cvsignore
      	* app/xcf/Makefile.am
      	* app/xcf/xcf-load.[ch]
      	* app/xcf/xcf-private.h
      	* app/xcf/xcf-read.[ch]
      	* app/xcf/xcf-save.[ch]
      	* app/xcf/xcf-seek.[ch]
      	* app/xcf/xcf-write.[ch]
      	* app/xcf/xcf.[ch]: ...and here (chopped up).
      
      	* app/app_procs.c
      	* app/disp_callbacks.c
      	* app/floating_sel.c
      	* app/gui/edit-commands.c
      	* app/gui/toolbox.c
      	* app/pdb/edit_cmds.c
      	* app/widgets/gimpbufferview.c
      	* tools/pdbgen/pdb/edit.pdb: changed accordingly.
      3e36b8f5
  14. 02 Jul, 2001 6 commits