1. 02 Dec, 2001 1 commit
    • Daniel Egger's avatar
      Convert ugly comments into named structure fields. Much cleaner and less · 1ed91801
      Daniel Egger authored
      2001-12-02  Daniel Egger  <degger@fhm.edu>
      
      	* app/gimprc.c: Convert ugly comments into named structure fields.
      	Much cleaner and less errorprone though may cause troubles on
      	older compilers and then needs to be reverted. Please report!
      
      	* app/base/base-types.h: Add FIXME reminder.
      
      	* app/base/gimplut.c: Use CLAMP macro instead of if-cascade.
      
      	* app/base/temp-buf.c: Remove duplicated calculations and simplify
      	checks.
      
      	* app/base/tile-manager.c:
      	- (tile_manager_get_tile_num): Return success and take an additional
      	  pointer for the tilenumber.
      	- Simplify logic in the rest of the file as a result.
      	- Remove rotten debugging cruft.
      
      	* app/core/gimpbrushgenerated.c: Fix two stylistic nits.
      
      	* app/app_procs.c: Include <stdlib.h> for exit () prototype.
      
      	* app/core/gimpdrawable-blend.c: Include <stdlib.h> for abs ()
      	prototype.
      
      	* app/display/gimpdisplay.c: Include <string.h> for memcpy ()
      	prototype.
      
      	* app/core/gimpimage-convert.c: (HIST_RGB): First parameter is
      	not const. Fixes a gcc warning for a wrong return value.
      
      	* libgimpwidgets/gimpunitmenu.c
      	* app/core/gimpunit.c: Add suggested (by gcc 3.1 cvs) parentheses
      	to group correct logic tests together.
      
      	* app/paint-funcs/paint-funcs-generic.h: Fix my HAS_ALPHA macro
      	to avoid gcc 3.1 cvs warning.
      
      	* app/gimprc.h
      	* pathP.h
      	* base-config.h
      	* app/base/boundary.h
      	* app/base/gimplut.[ch]
      	* app/base/pixel-region.h
      	* app/base/pixel-surround.[ch]
      	* app/base/temp-buf.[ch]
      	* app/base/tile-manager-private.h
      	* app/base/tile-manager.c
      	* app/base/tile-private.h
      	* app/base/tile.[ch]
      	* app/core/gimp.h
      	* app/core/gimpbrushgenerated.h
      	* app/core/gimpbrushpipe.h
      	* app/core/gimpchannel.[ch]
      	* app/core/gimpcontainer.h
      	* app/core/gimpcoreconfig.h
      	* app/core/gimpdata.h
      	* app/core/gimpdatafactory.[ch]
      	* app/core/gimpdrawable-blend.c
      	* app/core/gimpdrawable.[ch]
      	* app/core/gimpimage.h
      	* app/core/gimpimagefile.h
      	* app/core/gimplayer.h
      	* app/core/gimplayermask.h
      	* app/core/gimpmoduleinfo.h
      	* app/core/gimppalette.h
      	* app/core/gimpundo.h
      	* app/display/gimpdisplay.h
      	* app/display/gimpdisplayshell-selection.h
      	* app/display/gimpdisplayshell.h
      	* app/gui/brush-select.h
      	* app/gui/gradient-editor.h
      	* app/gui/gradient-select.h
      	* app/gui/info-dialog.h
      	* app/gui/resize-dialog.h
      	* app/tools/gimpbezierselecttool.h
      	* app/tools/gimpcolorbalancetool.h
      	* app/tools/gimpcolorpickertool.h
      	* app/tools/gimpcurvestool.h
      	* app/tools/gimpdodgeburntool.c
      	* app/tools/gimpfreeselecttool.h
      	* app/tools/gimpfuzzyselecttool.h
      	* app/tools/gimphuesaturationtool.h
      	* app/tools/gimpinktool-blob.h
      	* app/tools/gimpinktool.h
      	* app/tools/gimpiscissorstool.h
      	* app/tools/gimpmagnifytool.h
      	* app/tools/gimpmeasuretool.h
      	* app/tools/gimppainttool.h
      	* app/tools/gimppathtool.h
      	* app/tools/gimprectselecttool.h
      	* app/tools/gimpthresholdtool.h
      	* app/tools/gimptool.h
      	* app/tools/gimptransformtool.h
      	* app/tools/path_toolP.h
      	* app/widgets/gimpbrushfactoryview.h
      	* app/widgets/gimpconstrainedhwrapbox.h
      	* app/widgets/gimpcontainermenu.h
      	* app/widgets/gimpcontainerview.h
      	* app/widgets/gimpdialogfactory.h
      	* app/widgets/gimpimagedock.h
      	* app/widgets/gimplistitem.h
      	* app/widgets/gimpmenuitem.h
      	* app/widgets/gimpnavigationpreview.h
      	* app/widgets/gimppreview.h: Unsignify lots of variables and
      	parameters and use bitfields in structs where possible. First
      	part of a huge cleanup all over the code...
      1ed91801
  2. 01 Dec, 2001 1 commit
    • Michael Natterer's avatar
      app/Makefile.am removed... · 77863d88
      Michael Natterer authored
      2001-11-30  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/plug_in.[ch]: removed...
      
      	* app/plug-in/Makefile.am
      	* app/plug-in/plug-in-types.h
      	* app/plug-in/plug-in.[ch]: ...and added here.
      
      	* app/appenv.h: removed StackTraceMode and MessageHandlerType...
      
      	* libgimpbase/gimpbasetypes.h: ...and added them here.
      
      	* tools/pdbgen/Makefile.am: don't scan "app/apptypes.h" for enums.
      
      	* tools/pdbgen/enumcode.pl: added a general check to prevent
      	enums which are defined in libgimp* from being written to
      	"libgimp/gimpenums.c".
      
      	* libgimp/gimpenums.h
      	* plug-ins/script-fu/script-fu-constants.c
      	* tools/pdbgen/enums.pl: regenerated.
      
      	* app/core/core-types.h: include "pdb/pdb-types.h" so including
      	"core/core-types.h" gets the whole core type space.
      
      	* app/core/gimp.[ch]: added a "stack_trace_mode" parameter to the
      	constructor and store it in the Gimp struct because the value is
      	also passed to plug-ins and nobody should include "appenv.h".
      
      	* app/gimprc.[ch]: pass the alternate_system_gimprc and
      	alternate_gimprc filenames from the command line to gimprc_prase()
      	so we don't need to include "appenv.h".
      
      	* app/batch.[ch]: pass the "batch_cmds" as parameter, don't
      	include "append.h".
      
      	* app/app_procs.c: pass more parameters around.
      
      	* app/devices.c
      	* app/errors.c
      	* app/gimphelp.c
      	* app/main.c
      	* app/core/gimpgradient.c
      	* app/display/gimpdisplay.c
      	* app/display/gimpdisplayshell.c
      	* app/file/file-open.c
      	* app/file/file-save.c
      	* app/file/file-utils.c
      	* app/gui/commands.c
      	* app/gui/error-console-dialog.c
      	* app/gui/file-dialog-utils.c
      	* app/gui/file-open-dialog.c
      	* app/gui/file-save-dialog.c
      	* app/gui/paths-dialog.c
      	* app/gui/user-install-dialog.c
      	* app/tools/gimpbezierselecttool.c
      	* app/tools/xinput_airbrush.c
      	* app/xcf/xcf.c
      	* tools/pdbgen/pdb/fileops.pdb
      	* tools/pdbgen/pdb/help.pdb
      	* tools/pdbgen/pdb/message.pdb
      	* tools/pdbgen/pdb/plug_in.pdb: changed accordingly:
      
      	- changed "plug-in.h" include where needed.
      	- don't call gimp_fatal_error() directly, it's called via the log
      	  handler when calling g_error().
      	- don't incude "errors.h" except from main.c.
      	- changed stack_trace and message_handler enum names.
      	- get "stack_trace_mode" from Gimp.
      	- removed many inclusions of "appenv.h".
      
      	* app/pdb/fileops_cmds.c
      	* app/pdb/help_cmds.c
      	* app/pdb/message_cmds.c
      	* app/pdb/plug_in_cmds.c
      	* app/pdb/procedural_db.c: regenerated.
      77863d88
  3. 28 Nov, 2001 2 commits
    • Michael Natterer's avatar
      include the new "paint-funcs/paint-funcs-types.h". · 6cf34005
      Michael Natterer authored
      2001-11-28  Michael Natterer  <mitch@gimp.org>
      
      	* app/base/base-types.h: include the new
      	"paint-funcs/paint-funcs-types.h".
      
      	* app/paint-funcs/Makefile.am
      	* app/paint-funcs/paint-funcs-types.h: new file. Includes
      	"base/base-types.h".
      
      	* app/paint-funcs/paint-funcs.[ch]: removed the enums here,
      	include "paint-funcs-types.h".
      
      	* app/widgets/widgets-types.h: include "display/display-types.h"
      
      	* app/display/display-types.h: include "widgets/widgets-types.h".
      
      	* app/tools/tools-types.h: include "display/display-types.h"
      
      	* app/gui/gui-types.h: include "tools/tools-types.h".
      
      	The order of namespaces/dependencies should be (but is not):
      
      	(base, paint-funcs) -> (core, file, xcf, pdb) ->
      	(widgets, display) -> tools -> gui
      
      	* app/path.c: include "tools/tools-types.h".
      
      	* app/core/Makefile.am
      	* app/core/gimpimage-guides.[ch]
      	* app/core/gimpimage-merge.[ch]
      	* app/core/gimpimage-resize.[ch]
      	* app/core/gimpimage-scale.[ch]: new files.
      
      	* app/core/gimpimage.[ch]: removed the stuff which is in the new
      	files. Reordered all functions in both the .h and .c files,
      	commented the groups of functions.
      
      	* app/core/gimpcontainer.c: create the handler_id using a counter,
      	not the address of a pointer, because the address *may* be the
      	same twice, added debugging output.
      
      	* app/core/gimpviewable.[ch]: added primitive support for getting
      	a preview GdkPixbuf.
      
      	* app/nav_window.c
      	* app/undo.c
      	* app/undo_history.c
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage-mask.[ch]
      	* app/display/gimpdisplay.c
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/display/gimpdisplayshell-dnd.c
      	* app/display/gimpdisplayshell-render.c
      	* app/display/gimpdisplayshell-scale.c
      	* app/display/gimpdisplayshell-scroll.c
      	* app/gui/image-commands.c
      	* app/gui/info-window.c
      	* app/gui/layers-commands.c
      	* app/gui/palette-import-dialog.c
      	* app/tools/gimpbycolorselecttool.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimpmovetool.c
      	* app/widgets/gimpcontainerview-utils.c
      	* app/xcf/xcf-load.c: changed accordingly, some cleanup.
      
      	* tools/pdbgen/pdb/guides.pdb
      	* tools/pdbgen/pdb/image.pdb: changed accordingly, reordered functions.
      
      	* app/plug_in.c: set the labels of the "Repeat" and "Re-Show" menu
      	items to the name of the last plug-in (Fixes #50986).
      
      	* app/display/gimpdisplayshell.[ch]: set the labels of "Undo" and
      	"Redo" to the resp. undo names. Much simplified the WM icon stuff
      	by removing most code and using gimp_viewable_get_new_preview_pixbuf().
      
      	* app/widgets/gimpbrushfactoryview.c: forgot to assign the GQuark
      	returned by gimp_container_add_handler().
      
      	* app/pdb/guides_cmds.c
      	* app/pdb/image_cmds.c
      	* libgimp/gimpimage_pdb.[ch]: regenerated.
      6cf34005
    • Michael Natterer's avatar
      app/core/Makefile.am new files. Changed function names to be consistent. · 9bac8faf
      Michael Natterer authored
      2001-11-28  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/Makefile.am
      	* app/core/gimpimage-projection.[ch]: new files. Changed function
      	names to be consistent.
      
      	* app/core/gimpimage.[ch]: removed the projection stuff
      	here. Removed the gimp_image_composite_blah() functions becauee
      	they were just calling the resp. gimp_image_projection ones.
      
      	* app/core/gimpimage-contiguous-region.c
      	* app/core/gimpimage-convert.c
      	* app/core/gimpimage-crop.c
      	* app/core/gimppalette-import.c
      	* app/undo.c
      	* app/display/gimpdisplay.c
      	* app/display/gimpdisplayshell-render.c
      	* app/gui/info-window.c
      	* app/tools/gimpbycolorselecttool.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpiscissorstool.c: changed accordingly.
      9bac8faf
  4. 16 Nov, 2001 1 commit
    • Michael Natterer's avatar
      Wishlist item #57669: · 4403d58a
      Michael Natterer authored
      2001-11-16  Michael Natterer  <mitch@gimp.org>
      
      	Wishlist item #57669:
      
      	* app/gimprc.[ch]: replaced gimprc option "allow-resize-windows"
      	by "resize-windows-on-zoom" and "resize-windows-on-resize".
      
      	* app/gui/preferences-dialog.c: added a toggle for
      	"resize-windows-on-resize".
      
      	* app/display/gimpdisplayshell-handlers.c
      	* app/display/gimpdisplayshell-scale.c
      	* app/tools/gimpmagnifytool.c
      	* docs/gimprc.5.in
      	* etc/gimprc.in
      	* etc/gimprc.win32: changed accordingly.
      
      	* app/display/gimpdisplay-area.[ch]: added gimp_area_new().
      
      	* app/display/gimpdisplay.c: cleanup usage of GimpArea.
      
      	* app/display/gimpdisplayshell.[ch]: added configurable canvas
      	padding color and a small color_panel to change it in the upper
      	right corner of the window.
      
      	* app/display/gimpdisplayshell-callbacks.[ch]: added a callback
      	for the color_panel, initialize the color in the "realize"
      	callback.
      
      	Wishlist item #51548.
      
      	* app/display/gimpdisplayshell-selection.[ch]
      	* app/gui/menus.c
      	* app/gui/view-commands.[ch]: made the layer boundary toggleable
      	separately from the selection.
      
      	* app/gui/color-notebook.c: #if 0'ed a debugging g_print().
      4403d58a
  5. 10 Nov, 2001 2 commits
    • Michael Natterer's avatar
      app/display/gimpdisplay-marching-ants.h removed... · 8dac8949
      Michael Natterer authored
      2001-11-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/display/gimpdisplay-marching-ants.h
      	* app/display/gimpdisplay-selection.[ch]: removed...
      
      	* app/display/gimpdisplayshell-marching-ants.h
      	* app/display/gimpdisplayshell-selection.[ch]: ...new names.
      
      	* app/display/gimpdisplay.[ch]
      	* app/display/gimpdisplayshell.[ch]: moved the Selection stuff
      	from GimpDisplay to GimpDisplayShell.
      
      	Renamed all functions which will stay in GimpDisplay from
      	gdisplay_foo() to gimp_display_foo(). Added gimp_display_get_ID(),
      	cleaned up the idle renderer.
      
      	* app/image_map.c
      	* app/plug_in.c
      	* app/display/Makefile.am
      	* app/display/gimpdisplay-foreach.[ch]
      	* app/display/gimpdisplay-handlers.c
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/display/gimpdisplayshell-handlers.c
      	* app/display/gimpdisplayshell-scroll.c
      	* app/gui/gui.c
      	* app/gui/view-commands.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpinktool.c
      	* app/tools/gimpmovetool.c
      	* app/tools/gimppainttool.c
      	* tools/pdbgen/pdb.pl: changed accordingly, cleanup.
      
      	* app/pdb/display_cmds.c: regenerated.
      8dac8949
    • Michael Natterer's avatar
      app/Makefile.am removed. · 360f8321
      Michael Natterer authored
      2001-11-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/qmask.[ch]: removed.
      
      	* app/core/gimpimage.[ch]: added "qmask_changed" signal and
      	gimp_image_[set|get]_qmask_state().
      
      	* app/display/Makefile.am
      	* app/display/gimpdisplayshell-qmask.[ch]: put the stuff here.
      
      	* app/display/gimpdisplayshell-handlers.[ch]: new files: handlers
      	for GimpImage signals handled by GimpDisplayShell.
      
      	* app/display/gimpdisplay-handlers.c: removed some of them here.
      	Don't include any GimpDisplayShell stuff any more.
      
      	* app/display/gimpdisplay.c: no need to update the qmask buttons
      	in gimp_display_flush_whenever().
      
      	* app/display/gimpdisplayshell.c: call gimp_display_shell_connect()
      	and disconnect().
      360f8321
  6. 09 Nov, 2001 1 commit
    • Michael Natterer's avatar
      should set the fs.backing_store TileManager pointer to NULL after deleting · 4fa25532
      Michael Natterer authored
      2001-11-09  Michael Natterer  <mitch@gimp.org>
      
      	* app/undo.c: should set the fs.backing_store TileManager pointer
      	to NULL after deleting it. Why the heck didn't this crash
      	before...?
      
      	* app/core/Makefile.am
      	* app/core/gimpdrawable-blend.[ch]: the blend stuff taken from
      	the blend tool.
      
      	* app/core/core-types.h: added the blend enums.
      
      	* app/tools/gimpblendtool.[ch]: removed the stuff here.
      
      	* tools/pdbgen/pdb/tools.pdb: changed blend wrapper accordingly.
      
      	* app/pdb/tools_cmds.c: regenerated.
      
      	* tools/pdbgen/Makefile.am: don't scan tools/gimpblendtool.c.
      
      	* tools/pdbgen/enums.pl: regenerated.
      
      	* app/tools/gimpbucketfilltool.c: fixed crash caused by my last
      	change.
      
      	* app/display/gimpdisplay.c
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/display/gimpdisplayshell.c: removed lots of uglyness by
      	using GtkImages for the qmask and navigation buttons. Don't realize
      	anything before the shell is shown. Connect the realize
      	callback and do stuff there. Don't call the realize callback
      	from gimp_display_shell_canvas_events() any more.
      
      	* pixmaps/navbutton.xpm
      	* pixmaps/qmasknosel.xpm
      	* pixmaps/qmasksel.xpm: removed.
      
      	* themes/Default/Makefile.am
      	* themes/Default/images/Makefile.am
      	* themes/Default/images/stock-menu-navigation.png
      	* themes/Default/images/stock-menu-qmask-off.png
      	* themes/Default/images/stock-menu-qmask-on.png: new PNGs instead.
      
      	* libgimpwidgets/gimpstock.[ch]: register them as stock icons.
      4fa25532
  7. 02 Nov, 2001 1 commit
    • Michael Natterer's avatar
      app/display/Makefile.am app/display/gimpdisplay-callbacks.[ch] · d162376d
      Michael Natterer authored
      2001-11-01  Michael Natterer  <mitch@gimp.org>
      
      	* app/display/Makefile.am
      	* app/display/gimpdisplay-callbacks.[ch]
      	* app/display/gimpdisplay-render.[ch]
      	* app/display/gimpdisplay-scale.[ch]
      	* app/display/gimpdisplay-scroll.[ch]: removed and added as
      	gimpdisplayshell-foo.[ch] because they are all methods of the
      	shell.
      
      	* app/display/gimpdisplay.[ch]
      	* app/display/gimpdisplayshell.[ch]: moved the "offset" and "size"
      	variables from GimpDisplay to GimpDisplayShell. GimpDisplay
      	should know nothing about screen coordinates.
      
      	The gdisplay_[un]transform_foo() methods are still part of
      	GimpDisplay but will be moved to GimpDisplayShell as soon as the
      	tools' vitrual functions speak in image coordinates instead of
      	GdkEvents.
      
      	* app/display/gimpdisplayshell-callbacks.[ch]: prefixed all
      	functions with gimp_display_shell_*. Moved some stuff to a
      	"realize" callback File still has to be renamed.
      
      	* app/display/gimpdisplay-foreach.[ch]: removed
      	gdisplays_shrink_wrap().
      
      	* app/gui/menus.c
      	* app/gui/view-commands.[ch]
      	* app/display/gimpdisplayshell-scale.[ch]: implemented "Zoom to
      	Fit Window" function (#57670).
      
      	* app/nav_window.c
      	* app/display/gimpdisplay-handlers.c
      	* app/display/gimpdisplayshell-render.[ch]
      	* app/display/gimpdisplayshell-scale.[ch]
      	* app/display/gimpdisplayshell-scroll.[ch]
      	* app/gui/colormap-dialog.c
      	* app/gui/gui.c
      	* app/gui/preferences-dialog.c
      	* app/tools/gimpmagnifytool.c
      	* app/tools/gimpmovetool.c
      	* app/widgets/gimppreview.c: changed according to variable
      	and filename changes.
      
      	* app/tools/tool_manager.c: tool_manager_select_tool(): send the
      	active tool a "HALT" command before selecting the new one. Fixes
      	stale tool dialogs which were there because some other hack was
      	removed (This is IMHO the right place to shut down the active
      	tool).
      
      	* app/tools/gimpcroptool.c: don't shrink wrap after cropping but
      	let gimprc.allow_resize_windows decide.
      
      	* app/tools/gimpselectiontool.c: gimage_mask_value() takes image,
      	not screen coordinates. A good example of how braindead it is to
      	pass GdkEvents to tools :-) Fixes incorrect cursor and oper
      	update of the selection tools.
      
      	* app/tools/gimptransformtool.c
      	* app/undo.c: removed (#if 0 for now) some strange code which did
      	manual exposing of GimpDisplayShell areas. This was definitely a
      	hack and should not be there given the image emits correct
      	"update" signals.
      d162376d
  8. 31 Oct, 2001 1 commit
  9. 29 Oct, 2001 1 commit
    • Michael Natterer's avatar
      Cleanup weekend... · 05e15eb1
      Michael Natterer authored
      2001-10-29  Michael Natterer  <mitch@gimp.org>
      
      	Cleanup weekend...
      
      	* app/app_procs.c: pass "no_interface" to gimp_new().
      
      	* app/core/gimp.[ch]: added "gboolean no_interface" and the
      	load_procs and save_procs GSLists.
      
      	* app/core/gimptoolinfo.[ch]: added a "Gimp" pointer to the
      	GimpToolInfo object so more functions find their context without
      	accessing the global "the_gimp" variable.
      
      	* app/display/display-types.h: removed the GDisplay -> GimpDisplay
      	typedef.
      
      	* app/display/gimpdisplay.c: look at gimp->no_interface, don't
      	include "appenv.h".
      
      	* app/file/file-open.[ch]
      	* app/file/file-save.[ch]: don't use "the_gimp" any more. Instead,
      	pass around lots of "Gimp" pointers. Removed the global load_procs
      	and save_procs variables here. Use access() to find out whether a
      	file is readable/writable, removed the manual voodoo and it's
      	Win32 wrappers. Added an optional (can be NULL) "PlunInProcDef"
      	parameter to file_save(), removed file_save_with_proc().
      
      	* app/gui/menus.c: Use the unused "gpointer data" parameter of the
      	GtkItemFactory callbacks to pass a "Gimp" pointer to all of them.
      	This reduces the usage of the global "the_gimp" hack to zero
      	in app/gui/... yeah.
      
      	* app/gui/channels-commands.c
      	* app/gui/edit-commands.c
      	* app/gui/file-commands.c
      	* app/gui/image-commands.c
      	* app/gui/layers-commands.c
      	* app/gui/palettes-commands.c
      	* app/gui/select-commands.c
      	* app/gui/test-commands.c
      	* app/gui/tools-commands.c
      	* app/gui/view-commands.c: use the passed "Gimp" pointer.
      
      	* app/gui/color-area.[ch]
      	* app/gui/convert-dialog.c
      	* app/gui/dialogs-constructors.c
      	* app/gui/file-new-dialog.[ch]
      	* app/gui/file-open-dialog.[ch]
      	* app/gui/file-save-dialog.[ch]
      	* app/gui/gui.c
      	* app/gui/info-window.[ch]
      	* app/gui/module-browser.[ch]
      	* app/gui/palette-editor.c
      	* app/gui/palette-import-dialog.[ch]
      	* app/gui/paths-dialog.c
      	* app/gui/preferences-dialog.[ch]
      	* app/gui/resize-dialog.[ch]
      	* app/gui/tool-options-dialog.[ch]
      	* app/gui/toolbox.c: pass around lots more "Gimp" and
      	"GimpContext" pointers and don't use "the_gimp" any more.
      
      	* app/tools/gimptool.h: added a pointer to the corresponding
      	GimpToolInfo object (which in turn has a pointer to a Gimp).
      
      	* app/tools/tool_manager.[ch]: set the pointer after creating the
      	tool object. Removed tool_manager_get_info_by_tool() as there is a
      	tool->tool_info pointer now.
      
      	* app/tools/gimpbezierselecttool.c
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpbrightnesscontrasttool.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/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/gimppainttool.c
      	* app/tools/gimppathtool.c
      	* app/tools/gimpperspectivetool.c
      	* app/tools/gimpposterizetool.c
      	* app/tools/gimprectselecttool.c
      	* app/tools/gimprotatetool.c
      	* app/tools/gimpscaletool.c
      	* app/tools/gimpsheartool.c
      	* app/tools/gimptexttool.c
      	* app/tools/gimpthresholdtool.c
      	* app/tools/path_tool.c
      	* app/tools/xinput_airbrush.c: s/GDisplay/GimpDisplay/g.
      	Use tool->tool_info and tool_info->gimp in some places to get
      	rid of using "the_gimp".
      
      	Removing the remaining ones involves changing the tool options
      	system and is scheduled next...
      
      	* app/widgets/gimpdnd.c
      	* app/widgets/gimpdocumentview.c: pass a "Gimp" pointer to all
      	file_open_*() functions.
      
      	* app/gdisplay_color.[ch]
      	* app/gdisplay_color_ui.[ch]
      	* app/image_map.[ch]
      	* app/nav_window.[ch]
      	* app/path.c
      	* app/path_bezier.c
      	* app/path_transform.h
      	* app/qmask.[ch]: s/GDisplay/GimpDisplay/g
      
      	* tools/pdbgen/pdb/fileops.pdb: load_procs and save_procs are
      	members of the "Gimp" object now.
      
      	* tools/pdbgen/pdb/plug_in.pdb: use gimp->no_interface, don't
      	include "appenv.h".
      
      	* app/pdb/fileops_cmds.c
      	* app/pdb/plug_in_cmds.c: regenerated.
      05e15eb1
  10. 17 Oct, 2001 1 commit
    • Michael Natterer's avatar
      app/gimpprogress.[ch] s/GDisplay/GimpDisplay/ · 18dd0728
      Michael Natterer authored
      2001-10-16  Michael Natterer  <mitch@gimp.org>
      
      	* app/gimpprogress.[ch]
      	* app/undo.c: s/GDisplay/GimpDisplay/
      
      	* app/plug_in.[ch]: removed unused boolean "destroy" field of
      	the PlugIn struct.
      
      	* app/core/gimpedit.c: don't include "app_procs.h"
      
      	* app/display/gimpdisplay-callbacks.c: moved the "grab_abd_scroll"
      	stuff from gimpdisplay-scroll.* here (less complicated and easier
      	to cleanup...)
      
      	* app/display/gimpdisplay-scroll.[ch]: removed here.
      
      	* app/display/gimpdisplay-render.[ch]
      	* app/display/gimpdisplay-selection.[ch]
      	* app/display/gimpdisplayshell.c: s/GDisplay/GimpDisplay/g
      
      	* app/display/gimpdisplay.[ch]: ditto, removed gdisplay_active()
      	which was just a wrapper around
      	"gimp_context_get_display (gimp_get_user_context (the_gimp))"
      	(which is more to type but makes the use of the global
      	"the_gimp" variable more obvious).
      
      	* app/gui/color-area.h
      	* app/gui/edit-commands.c
      	* app/gui/file-commands.c
      	* app/gui/file-dialog-utils.c
      	* app/gui/image-commands.c
      	* app/gui/info-window.h
      	* app/gui/paths-dialog.h
      	* app/gui/select-commands.c
      	* app/gui/tool-options-dialog.c
      	* app/gui/tools-commands.c
      	* app/gui/view-commands.c: s/GDisplay/GimpDisplay/, gdisplay_active()
      	removal, include "app_procs.h" for "the_gimp".
      
      	* app/tools/gimpbezierselecttool.h
      	* app/tools/gimpbrightnesscontrasttool.[ch]
      	* app/tools/gimpbycolorselecttool.c
      	* app/tools/gimpcolorbalancetool.[ch]
      	* app/tools/gimpcurvestool.[ch]
      	* app/tools/gimpeditselectiontool.h
      	* app/tools/gimphistogramtool.[ch]
      	* app/tools/gimphuesaturationtool.[ch]
      	* app/tools/gimplevelstool.[ch]
      	* app/tools/gimpmovetool.h
      	* app/tools/gimpperspectivetool.h
      	* app/tools/gimpposterizetool.[ch]
      	* app/tools/gimprotatetool.h
      	* app/tools/gimpscaletool.h
      	* app/tools/gimpsheartool.h
      	* app/tools/gimptexttool.h
      	* app/tools/gimpthresholdtool.[ch]
      	* app/tools/gimptool.[ch]
      	* app/tools/gimptransformtool.h
      	* app/tools/tool_manager.[ch]: lots of s/GDisplay/GimpDisplay/, made
      	all *_dialog_hide() functions private, cleanup.
      
      	* app/widgets/*: removed GtkType and gtk_type_* stuff entirely and
      	use GObject functions, removed lots of empty "destroy" methods and
      	use more type checking class cast macros instead of casting
      	directly.
      
      	* app/widgets/gimpcontainermenu.c: fixed item insert order.
      
      	* app/widgets/gimphistogramview.[ch]: cleaned up and renamed all
      	functions.
      
      	* app/widgets/gimpwidgets-utils.[ch]: removed gimp_dialog_hide() as
      	Gtk+ does the right thing (TM) now.
      
      	* tools/pdbgen/pdb/color.pdb: implemented "histogram" without
      	digging into tools/ and widgets/ (needs to be done for all
      	color PDB functions).
      
      	* tools/pdbgen/pdb/gimprc.pdb: no need to use "the_gimp" in a PDB
      	function as a "Gimp" pointer is passed to them all.
      
      	* tools/pdbgen/pdb/image.pdb: don't include "app_procs.h"
      
      	* app/pdb/color_cmds.c
      	* app/pdb/gimprc_cmds.c
      	* app/pdb/image_cmds.c: regenerated.
      
      	* app/pdb/procedural_db.c: don't include "app_procs.h"
      18dd0728
  11. 13 Oct, 2001 1 commit
    • Michael Natterer's avatar
      gdk_pixbuf_new_from_stream -> _from_inline · 859e9c41
      Michael Natterer authored
      2001-10-13  Michael Natterer  <mitch@gimp.org>
      
      	* RELEASE-TO-CVS.patch: gdk_pixbuf_new_from_stream -> _from_inline
      
      	* app/display/Makefile.am
      	* app/display/gimpdisplay-foreach.[ch]: new files for functions
      	operating on all displays (will go away as soon as the display
      	behaves like a proper view which doesn't need to be updated
      	explicitly).
      
      	* app/display/gimpdisplay-callbacks.c
      	* app/display/gimpdisplay-scale.[ch]
      	* app/display/gimpdisplay-scroll.[ch]
      	* app/display/gimpdisplay.[ch]: "scale" and "scroll" namespace
      	cleanup, moved bounds_checking() to gimpdisplay-scroll.[ch], lots
      	of unfinished, intermediate stuff.
      
      	* app/display/gimpdisplayshell.[ch]: added some GObject framework
      	for the GimpDisplayShell object (not used yet).
      
      	* app/app_procs.c
      	* app/docindex.c
      	* app/image_map.c
      	* app/nav_window.c
      	* app/path.c
      	* app/qmask.c
      	* app/undo.c
      	* app/gui/channels-commands.c
      	* app/gui/convert-dialog.c
      	* app/gui/edit-commands.c
      	* app/gui/file-commands.c
      	* app/gui/gui.c
      	* app/gui/image-commands.c
      	* app/gui/layer-select.c
      	* app/gui/layers-commands.c
      	* app/gui/offset-dialog.c
      	* app/gui/paths-dialog.c
      	* app/gui/preferences-dialog.c
      	* app/gui/select-commands.c
      	* app/gui/view-commands.c
      	* 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/gimpcolorbalancetool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpfreeselecttool.c
      	* app/tools/gimpfuzzyselecttool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimpinktool.c
      	* app/tools/gimpiscissorstool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimpmagnifytool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimpmovetool.c
      	* app/tools/gimppainttool.c
      	* app/tools/gimpposterizetool.c
      	* app/tools/gimprectselecttool.c
      	* app/tools/gimptexttool.c
      	* app/tools/gimpthresholdtool.c
      	* app/tools/gimptransformtool.c
      	* app/widgets/gimpbufferview.c
      	* app/widgets/gimpchannellistview.c
      	* app/widgets/gimpcomponentlistitem.c
      	* app/widgets/gimpdrawablelistitem.c
      	* app/widgets/gimpdrawablelistview.c
      	* app/widgets/gimplayerlistitem.c
      	* app/widgets/gimplayerlistview.c
      	* app/widgets/gimplistitem.c
      	* tools/pdbgen/pdb/display.pdb
      	* app/pdb/display_cmds.c: changed accordingly (mostly including
      	"gimpdisplay-foreach.h" instead of "gimpdisplay.h")
      859e9c41
  12. 25 Sep, 2001 2 commits
    • Michael Natterer's avatar
      app/Makefile.am app/disp_callbacks.[ch] app/gdisplay.[ch] · f235eabb
      Michael Natterer authored
      2001-09-26  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/disp_callbacks.[ch]
      	* app/gdisplay.[ch]
      	* app/gdisplay_ops.[ch]
      	* app/gximage.[ch]
      	* app/image_render.[ch]
      	* app/interface.[ch]
      	* app/marching_ants.h
      	* app/scale.[ch]
      	* app/scroll.[ch]
      	* app/selection.[ch]: removed.
      
      	* app/display/Makefile.am
      	* app/display/display-types.h
      	* app/display/gimpdisplay-callbacks.[ch]
      	* app/display/gimpdisplay-marching-ants.h
      	* app/display/gimpdisplay-ops.[ch]
      	* app/display/gimpdisplay-render.[ch]
      	* app/display/gimpdisplay-scale.[ch]
      	* app/display/gimpdisplay-scroll.[ch]
      	* app/display/gimpdisplay-selection.[ch]
      	* app/display/gimpdisplay.[ch]
      	* app/display/gimpdisplayshell.[ch]
      	* app/display/gximage.[ch]: added here.
      
      	* app/[many files]
      	* app/gui/[many files]
      	* app/tools/*
      	* app/widgets/[many files]: changed accordingly. Still very
      	incomplete separation of the display stuff but it at least
      	compiles.
      
      	* tools/pdbgen/pdb.pl:
      	* tools/pdbgen/pdb/display.pdb: s/GDisplay/GimpDisplay/,
      	s/"gdisplay.h"/"display/gimpdisplay.h"/.
      
      	* app/pdb/display_cmds.c: regenerated.
      f235eabb
    • Michael Natterer's avatar
      renamed it to GimpDisplay and made it a GimpObject subclass. · b2215a1f
      Michael Natterer authored
      2001-09-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/gdisplay.[ch]: renamed it to GimpDisplay and made it a
      	GimpObject subclass.
      
      	* app/disp_callbacks.[ch]
      	* app/gdisplay_ops.[ch]
      	* app/scale.[ch]
      	* app/scroll.[ch]
      	* app/display/display-types.h: changed accordingly.
      
      	* app/core/gimpimage.[ch]: new signal "selection_control".
      
      	* app/core/core-types.h: moved the SelectionControl enum and all
      	other core enums here.
      
      	* app/gui/gui.c: connect to the images' "selection_control" signal
      	and call gdisplays_selection_visibility().
      
      	* app/core/gimpcontext.c
      	* app/core/gimpdrawable-offset.h
      	* app/core/gimpimage-convert.h
      	* app/core/gimpimage-mask.c
      	* app/core/gimplayer.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpinktool.c
      	* app/tools/gimpmovetool.c
      	* app/tools/gimppainttool.c: changed accordingly.
      
      	* app/gui/colormap-dialog.[ch]: GObject porting.
      
      	* tools/pdbgen/Makefile.am: removed headers which no longer
      	contain enums.
      
      	* tools/pdbgen/pdb/convert.pdb
      	* tools/pdbgen/pdb/drawable.pdb: include files which are no longer
      	included automatically by the enum voodoo.
      
      	* app/pdb/convert_cmds.c
      	* tools/pdbgen/enums.pl: regenerated.
      b2215a1f
  13. 20 Sep, 2001 1 commit
  14. 19 Sep, 2001 1 commit
    • Sven Neumann's avatar
      require GTK+-1.3.8 and PangoFT2-0.19. · 334911e2
      Sven Neumann authored
      2001-09-19  Sven Neumann  <sven@gimp.org>
      
      	* configure.in: require GTK+-1.3.8 and PangoFT2-0.19.
      
      	* app/devices.c:
      	* app/tools/gimppainttool.c: removed intermediate hacks that are no
      	longer needed with the new GTK+ release.
      
      	* app/plug_in.c
      	* libgimp/gimp.[ch]
      	* libgimp/gimpui.c
      	* libgimpbase/gimpprotocol.[ch]: removed use_xshm and color_cube
      	variables and accessor functions.
      
      	* app/errors.c: use gtk_exit() instead of gdk_exit().
      
      	* app/gdisplay.c: use Pango API to determine cursor label width. This
      	does not work correctly, but at least it compiles...
      
      	* app/gui/splash.c: follow Pango API changes.
      
      	* app/tools/gimpcurvestool.[ch]: use PangoLayouts to draw text.
      
      	* app/tools/gimptexttool.c: follow Pango API changes.
      
      	* app/widgets/gimpfontselection-dialog.c
      	* app/widgets/gimpfontselection.c: mostly rewritten following the
      	changes in GtkFontSelection. This is unusable at the moment and
      	crashes, but at least it compiles again...
      
      	* plug-ins/Makefile.am: temporarily disabled build of ifscompose since
      	it does not compile any longer after the latest GDK cleanups.
      
      	* plug-ins/common/nlfilt.c: gimp_color_cube() is obsolete.
      334911e2
  15. 03 Sep, 2001 1 commit
    • Michael Natterer's avatar
      added -DGDK_DISABLE_DEPRECATED. · 1ccb029e
      Michael Natterer authored
      2001-09-02  Michael Natterer  <mitch@gimp.org>
      
      	* configure.in: added -DGDK_DISABLE_DEPRECATED.
      
      	* app/gui/about-dialog.c
      	* plug-ins/common/wmf.c
      	* plug-ins/ifscompose/ifscompose_utils.c: #undef it here (too lazy...)
      
      	* app/colormaps.[ch]
      	* app/gdisplay.c
      	* app/module_db.c
      	* app/plug_in.c
      	* app/gui/brush-editor.c
      	* app/gui/color-notebook.c
      	* app/gui/gradient-select.c
      	* app/gui/palette-select.c
      	* app/gui/paths-dialog.c
      	* app/gui/select-commands.c
      	* app/widgets/gimpdialogfactory.c
      	* app/widgets/gimpdock.c
      	* app/widgets/gimpdockbook.c: replaced deprecated stuff,
      	g_list_free() the return value of gtk_container_get_children().
      
      	* plug-ins/Makefile.am: build gflare again.
      
      	* plug-ins/gflare/asupsample.[ch]: removed because the same function
      	is already in libgimpcolor.
      
      	* plug-ins/gflare/gtkmultioptionmenu.[ch]: removed because Gtk+
      	handles menu_height > screen_height by scrolling now.
      
      	* plug-ins/gflare/Makefile.am
      	* plug-ins/gflare/gflare.c: changed accordingly, cleanups.
      1ccb029e
  16. 31 Aug, 2001 1 commit
    • Thomas Canty's avatar
      app/colormaps.c app/gdisplay.c app/nav_window.c app/scroll.c · 4e9fcfa6
      Thomas Canty authored
      2001-08-31  Thomas Canty  <tommydal@optushome.com.au>
      	* app/colormaps.c
      	* app/gdisplay.c
      	* app/nav_window.c
      	* app/scroll.c
      	* app/selection.c
      	* app/undo.c
      	* app/gui/about-dialog.c
      	* app/gui/color-area.c
      	* app/gui/color-select.c
      	* app/gui/gradient-editor.c
      	* app/gui/gui.c
      	* app/gui/splash.c
      	* app/tools/gimpcurvestool.c
      	* plug-ins/Lighting/lighting_preview.c
      	* plug-ins/Lighting/lighting_ui.c
      	* plug-ins/MapObject/mapobject_preview.c
      	* plug-ins/MapObject/mapobject_ui.c
      	* plug-ins/common/animationplay.c
      	* plug-ins/common/curve_bend.c
      	* plug-ins/gap/gap_navigator_dialog.c
      	* plug-ins/gfig/gfig.c
      	* plug-ins/gimpressionist/gimpressionist.c
      	* plug-ins/ifscompose/ifscompose.c
      	* plug-ins/imagemap/imap_main.c
      	* plug-ins/imagemap/imap_preferences.c
      	* plug-ins/imagemap/imap_preview.c: replaced some deprecated GDK
      	functions
      4e9fcfa6
  17. 29 Aug, 2001 1 commit
    • Michael Natterer's avatar
      added -DG_DISABLE_DEPRECATED and -DGDK_DISABLE_COMPAT_H. · 98410c35
      Michael Natterer authored
      2001-08-29  Michael Natterer  <mitch@gimp.org>
      
      	* configure.in: added -DG_DISABLE_DEPRECATED and
      	-DGDK_DISABLE_COMPAT_H.
      
      	* app/batch.c
      	* app/file-utils.c
      	* app/gdisplay.c
      	* app/gdisplay_ops.c
      	* app/gimprc.[ch]
      	* app/module_db.c
      	* app/nav_window.c
      	* app/undo_history.c
      	* app/core/gimpgradient.c
      	* app/core/gimpimagefile.c
      	* app/core/gimppalette.c
      	* app/gui/color-notebook.c
      	* app/gui/convert-dialog.c
      	* app/gui/error-console-dialog.c
      	* app/gui/file-commands.c
      	* app/gui/file-open-dialog.c
      	* app/gui/file-save-dialog.c
      	* app/gui/gradient-editor.c
      	* app/gui/info-window.c
      	* app/gui/menus.c
      	* app/gui/palette-import-dialog.c
      	* app/tools/gimpbycolorselecttool.c
      	* app/widgets/gimpcontainerview-utils.c
      	* app/widgets/gimpdatafactoryview.c
      	* libgimp/gimpmenu.c
      	* plug-ins/common/bz2.c
      	* plug-ins/common/compose.c
      	* plug-ins/common/csource.c
      	* plug-ins/common/decompose.c
      	* plug-ins/common/gz.c
      	* plug-ins/common/uniteditor.c
      	* plug-ins/common/wmf.c
      	* plug-ins/common/xbm.c
      	* plug-ins/rcm/rcm_dialog.c
      	* plug-ins/script-fu/interp_slib.c
      	* plug-ins/script-fu/script-fu-console.c
      	* plug-ins/script-fu/script-fu-scripts.c
      	* tools/pdbgen/pdb/fileops.pdb
      	* tools/pdbgen/pdb/gimprc.pdb
      	* app/pdb/fileops_cmds.c
      	* app/pdb/gimprc_cmds.c: removed deprecated stuff like
      	g_basename(), g_dirname(), g_strup() and friends. Added some
      	"const gchar *" declarations while I was on it. Added some
      	G_N_ELEMENTS() macros instead of declaring a useless variable
      	for the number of items.
      
      	* app/widgets/gtkhwrapbox.[ch]
      	* app/widgets/gtkvwrapbox.[ch]
      	* app/widgets/gtkwrapbox.[ch]: replaced with the latest versions
      	from GLE, ported by the master himself.
      
      	* app/gui/toolbox.c: changed accordingly.
      
      	* app/plug_in.c
      	* libgimp/gimp.c
      	* libgimpbase/gimpwire.[ch]: use evil hacks to get binary mode
      	from the new GIOChannel implementation (upstream bugreport already
      	posted).
      98410c35
  18. 12 Aug, 2001 1 commit
    • Michael Natterer's avatar
      Switched to GObject reference counting: · 79faae01
      Michael Natterer authored
      2001-08-12  Michael Natterer  <mitch@gimp.org>
      
      	Switched to GObject reference counting:
      
      	* app/core/gimpcontainer.c: only ref(), not ref()/sink() children
      	of strong containers. Reordered gimp_container_remove() so we
      	don't need to ref the object while removing it.
      
      	* app/core/gimpcontext.c: misc fixes. Needs to be badly tortured...
      
      	* app/app_procs.c
      	* app/gdisplay.c
      	* app/gimprc.c
      	* app/core/gimp.c
      	* app/core/gimpbrush.c
      	* app/core/gimpbrushpipe.c
      	* app/core/gimpdatafactory.c
      	* app/core/gimpdocuments.c
      	* app/core/gimpgradient.c
      	* app/core/gimpimage.c
      	* app/core/gimplayer.c
      	* app/core/gimplist.c
      	* app/core/gimpobject.c
      	* app/core/gimpparasite.c
      	* app/core/gimppattern.c
      	* app/core/gimpundostack.c
      	* app/gui/dialogs.c
      	* app/tools/gimpbezierselecttool.c
      	* app/tools/gimpfuzzyselecttool.c: changed accordingly: don't
      	ref()/sink() any more, unref all (??) objects after adding them to
      	strong containers, misc. minor fixes.
      
      	* app/gui/dialogs-constructors.c
      	* app/widgets/gimpwidgets.c: use g_object_add_weak_pointer()
      	instead of simply crashing because g_object_weak_ref() was used
      	with gtk_widget_destroyed, brrr.
      
      	* app/widgets/gimpdnd.c: removed unneeded g_return_if_fail()'s.
      79faae01
  19. 31 Jul, 2001 1 commit
    • Sven Neumann's avatar
      removed g_signal_handlers_disconnect_by_data again. As Owen pointed out, · 0f6ab278
      Sven Neumann authored
      2001-07-31  Sven Neumann  <sven@gimp.org>
      
      	* app/core/core-types.h: removed g_signal_handlers_disconnect_by_data
      	again. As Owen pointed out, it's generally a bad idea to use it since
      	you can't be absolutely sure that no one else has a pointer to the
      	data you are disconnecting.
      
      	* app/gdisplay.c: added the macro here temporarily.
      
      	* app/module_db.c
      	* app/undo_history.c
      	* app/gui/brush-editor.c
      	* app/gui/brush-select.c
      	* app/gui/gradient-select.c
      	* app/gui/pattern-select.c: use g_signal_handlers_disconnect_by_func.
      
      	* libgimpwidgets/gimpbutton.c
      	* libgimpwidgets/gimpchainbutton.c
      	* libgimpwidgets/gimpcolorarea.c
      	* libgimpwidgets/gimpcolorbutton.c
      	* libgimpwidgets/gimpfileselection.c
      	* libgimpwidgets/gimphelpui.c
      	* libgimpwidgets/gimpoffsetarea.c
      	* libgimpwidgets/gimppatheditor.c
      	* libgimpwidgets/gimpsizeentry.c
      	* libgimpwidgets/gimpunitmenu.c
      	* libgimpwidgets/gimpwidgets.c: GObject porting.
      0f6ab278
  20. 29 Jul, 2001 1 commit
  21. 25 Jul, 2001 2 commits
    • Sven Neumann's avatar
      fixed typo. · 98f9812e
      Sven Neumann authored
      2001-07-25  Sven Neumann  <sven@gimp.org>
      
      	* app/devices.c: fixed typo.
      
      	* app/gdisplay.c
      	* app/undo_history.c
      	* app/user_install.c
      	* app/gui/about-dialog.c
      	* app/gui/color-area.c
      	* app/gui/gradient-editor.c
      	* app/gui/gui.c
      	* app/gui/paths-dialog.c
      	* app/gui/splash.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimpinktool.c
      	* app/tools/gimptexttool.c:
      	s/gdk_[bit|pix]map_unref/gdk_drawable_unref/
      
      	* app/xcf/xcf-load.c: use GObject functions
      
      	* plug-ins/common/animationplay.c: include GDK backend specific
      	headers
      98f9812e
    • Sven Neumann's avatar
      app_procs.c errors.c errors.h file-save.c gdisplay.c module_db.c use · e5949e43
      Sven Neumann authored
      2001-07-25  Sven Neumann  <sven@gimp.org>
      
      	* app_procs.c
      	* errors.c
      	* errors.h
      	* file-save.c
      	* gdisplay.c
      	* module_db.c
      	* undo.c: use GObject functions and const fixes.
      e5949e43
  22. 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
  23. 07 Jul, 2001 2 commits
    • 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/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
  24. 20 Jun, 2001 1 commit
    • Michael Natterer's avatar
      same gdisplays_update_full() fix as in the stable branch. Removed lots of · d0fe8f45
      Michael Natterer authored
      2001-06-20  Michael Natterer  <mitch@gimp.org>
      
      	* app/gdisplay.c: same gdisplays_update_full() fix as in the
      	stable branch. Removed lots of commented out code and comments
      	about whether the code should be commented out or not.
      
      	* app/core/gimpimage-mask.c: tried to fix it here first an ended
      	up with a little cleanup.
      d0fe8f45
  25. 18 Jun, 2001 1 commit
    • Michael Natterer's avatar
      major cleanup. After being finished, I decided that it needs to be · 3ef20cd8
      Michael Natterer authored
      2001-06-18  Michael Natterer  <mitch@gimp.org>
      
      	* app/nav_window.[ch]: major cleanup. After being finished, I
      	decided that it needs to be factored out to a widget (see below),
      	so like 90% of this file will go away soon.
      
      	* app/apptypes.h: added opaque NavigationDialog typedef.
      
      	* app/gdisplay.[ch]: Added gdisplay_selection_visibility() which
      	is called from gdisplays_selection_visibility(). Capitalized the
      	SelectionControl enum values. Cleaned up the GDisplay struct and
      	it's initialisation while i was on it.
      
      	* app/gimage.c: gimage_size_changed_handler(): removed stuff which
      	is now done by GimpImage itself.
      
      	* app/scale.c
      	* app/scroll.c: also update the navigation popup, not only the
      	dialog.
      
      	* app/selection.[ch]: major indentation & cleanup attack. Maybe
      	found the "Selection vanishes" bug (the timeout id was assinged to
      	a gint, not a _guint_).
      
      	* app/undo.c: s/gimp_image_size_changed/gimp_viweable_size_changed/
      
      	* app/core/gimpdrawable.c: invalidate the image's preview from our
      	"invalidate_preview" implementation. This means that the image's
      	preview is invalidated way too often currently, which cries for
      	some general freeze/thaw mechanism on the GimpViewable level.
      	(Note that previews are rendered in the idle loop, so this is not
      	really a major performance impact, it's just ugly).
      
      	* app/core/gimpimage.[ch]: removed the "size_changed" signal...
      
      	* app/core/gimpviewable.[ch]: ...and added it here.
      
      	* app/core/gimplayer.c: invalidate_preview(): always chain up,
      	also if it's a floating selection.
      
      	* app/gui/info-dialog.[ch]
      	* app/gui/info-window.c: minor cleanups.
      
      	* app/gui/preferences-dialog.c: no need to invalidate the image
      	after we have invalidated all it's layers.
      
      	* app/core/gimpimage-mask.c
      	* app/gui/commands.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpinktool.c
      	* app/tools/gimpmovetool.c
      	* app/tools/gimppainttool.c: capitalized the SelectionCommand enum
      	values.
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimpnavigationpreview.[ch]: new widget.
      
      	* app/widgets/gimppreview.[ch]: added a non-working
      	non-dot-for-dot mode. Added xres/yres params to the
      	gimp_preview_calc_size() helper function.
      
      	Cache the "size" value which was passed to the simple function
      	variants (gimp_preview_new() and gimp_preview_set_size()) so we
      	can re-calculate the preview's extents on the underlying
      	viewable's "size_changed" signal and on gimp_preview_set_viewable().
      
      	* app/widgets/gimpdrawablepreview.c
      	* app/widgets/gimpimagepreview.c: changed accordingly.
      3ef20cd8
  26. 15 Jun, 2001 1 commit
  27. 14 Jun, 2001 2 commits
    • Michael Natterer's avatar
      fixed a FIXME: set the sensitivity of the color tools' menu entries again. · 593043a1
      Michael Natterer authored
      2001-06-14  Michael Natterer  <mitch@gimp.org>
      
      	* app/gdisplay.c: fixed a FIXME: set the sensitivity of the
      	color tools' menu entries again.
      
      	* libgimp/gimpcolorselector.h
      	* libgimp/gimpdrawable.h
      	* libgimp/gimpmenu.h: removed the usage of "id" from the public
      	interface because it's a reserved keyword of Objective C.
      
      	* libgimp/gimpdrawable.c
      	* libgimp/gimptile.c
      
      	* plug-ins/[lotsa plugins].c: changed accordingly.
      593043a1
    • Sven Neumann's avatar
      app/disp_callbacks.c app/gdisplay.c applied a patch from Ralf Engels · a94f0edd
      Sven Neumann authored
      2001-06-14  Sven Neumann  <sven@gimp.org>
      
      	* app/disp_callbacks.c
      	* app/gdisplay.c
      	* app/gui/info-window.[ch]:
      	applied a patch from Ralf Engels <ralf-engels@gmx.de> that adds info
      	about the cursor position to the Info window. Cleaned up the code a
      	little while I was on it and renamed info_window_update_RGB() to
      	info_window_update_extended().
      a94f0edd
  28. 03 Jun, 2001 1 commit
  29. 21 May, 2001 1 commit
    • Michael Natterer's avatar
      Makefile.am configure.in added new directory libgimpbase/ · 7d1375e9
      Michael Natterer authored
      2001-05-21  Michael Natterer  <mitch@gimp.org>
      
      	* Makefile.am
      	* configure.in
      	* gimptool-1.4.in: added new directory libgimpbase/
      
      	* app/Makefile.am: link against the new lib.
      
      	* app/appenums.h: removed the PDB enums which are in
      	libgimpbase/gimpbasetypes.h now. They are all "Gimp" prefixed.
      
      	* app/apptypes.h: #include "libgimpbase/gimpbasetypes.h"
      
      	* app/[lots]
      	* app/core/[of]
      	* app/gui/[files]
      	* app/tools/: changed includes and all PDB types.
      
      	* app/pdb/*: regenerated.
      
      	* libgimp/Makefile.am: don't build libgimpi.a uglyness any more.
      
      	* libgimp/gimpenv.[ch]
      	* libgimp/gimplimits.[hh]
      	* libgimp/gimpparasite.[ch]
      	* libgimp/gimpparasiteio.[ch]
      	* libgimp/gimpprotocol.[ch]
      	* libgimp/gimpsignal.[ch]
      	* libgimp/gimpunit.h
      	* libgimp/gimputils.[ch]
      	* libgimp/gimpwire.[ch]: removed...
      
      	* libgimpbase/*: ...and added here as new library.
      
      	* libgimp/gimp.[ch]
      	* libgimp/gimpdrawable.[ch]
      	* libgimp/gimpenums.h
      	* libgimp/gimpimage.[ch]
      	* libgimp/gimptile.c
      	* libgimp/gimptypes.h
      	* libgimp/gimpunit.c: changed accordingly. Added the
      	gimp_*_add_new_parasite to gimp.[ch], gimpdrawable.[ch] and
      	gimpimage.[ch].
      
      	* libgimpwidgets/gimppatheditor.c
      	* libgimpwidgets/gimpquerybox.c
      	* libgimpwidgets/gimpsizeentry.c
      	* libgimpwidgets/gimpunitmenu.c
      	* libgimpwidgets/gimpwidgets.c
      	* libgimpwidgets/gimpwidgetstypes.h: changed includes accordingly.
      
      	* plug-ins/*/Makefile.am
      	* plug-ins/common/mkgen.pl: link against libgimpbase.
      
      	* tools/pdbgen/Makefile.am: scan libgimpbase/gimpbasetypes.h, so
      	the enums are known to pdbgen...
      
      	* tools/pdbgen/enumcode.pl: ...but don't write them out to
      	libgimp/gimpenums.h
      
      	* tools/pdbgen/app.pl: include libgimp/gimpbase.h in all *_cmds.c
      	files. Added GIMP_ to the type names ganerated in app/.
      
      	* tools/pdbgen/enums.pl: regenerated.
      
      	* tools/pdbgen/pdb.pl
      	* tools/pdbgen/pdb/fileops.pdb
      	* tools/pdbgen/pdb/procedural_db.pdb
      	* tools/pdbgen/pdb/unit.pdb: changed includes.
      7d1375e9
  30. 15 May, 2001 2 commits
    • Michael Natterer's avatar
      removed (was not used). · 62a4c057
      Michael Natterer authored
      2001-05-15  Michael Natterer  <mitch@gimp.org>
      
      	* app/gimpcontextpreview.[ch]: removed (was not used).
      
      	* app/apptypes.h: removed the Guide typedef.
      
      	* app/core/core-types.h: added it here as GimpGuide (everything in
      	core/ must be "Gimp"-prefixed).
      
      	* app/gimage.[ch]: removed the global "next_guide_id" variable,
      	don't destroy the guides in the "destroy" handler.
      
      	* app/core/gimpimage.[ch]: destroy them in destroy().
      
      	* app/xcf.c: use GimpImage accessors to add the guides, so we
      	don't need "next_guide_id".
      
      	* app/gdisplay.[ch]
      	* app/undo.c
      	* app/core/gimpimage-duplicate.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimpmovetool.[ch]
      	* tools/pdbgen/pdb/guides.pdb: s/Guide/GimpGuide/, cleanup.
      62a4c057
    • Michael Natterer's avatar
      new directory app/base/ · d240f623
      Michael Natterer authored
      2001-05-15  Michael Natterer  <mitch@gimp.org>
      
      	* configure.in: new directory app/base/
      
      	* app/Makefile.am
      	* app/boundary.[ch]
      	* app/brush_scale.[ch]
      	* app/gimpchecks.h
      	* app/gimplut.[ch]
      	* app/pixel_processor.[ch]
      	* app/pixel_region.[ch]
      	* app/pixel_surround.[ch]
      	* app/temp_buf.[ch]
      	* app/tile.[ch]
      	* app/tile_cache.[ch]
      	* app/tile_manager.[ch]
      	* app/tile_manager_pvt.h
      	* app/tile_pvt.h
      	* app/tile_swap.[ch]: moved to base/
      
      	* app/base/Makefile.am
      	* app/base/base-types.h
      	* app/base/*: new directory for the sub-object pixel maniplation
      	and storage stuff. Does not include Gtk+ or anything outside
      	base/. Did some cleanup in all files.
      
      	* app/appenums.h
      	* app/apptypes.h
      	* app/core/gimpimage.h: removed types which are now in
      	base/base-types.h.
      
      	* app/base/base-config.[ch]
      	* app/gimprc.[ch]: put the config variables for base/ to their own
      	file so base/ doesn not have to include gimprc.h (does not yet
      	work, i.e. the variables are un-configurable right now)
      
      	* app/main.c: set a log handler for "Gimp-Base".
      
      	* app/paint-funcs/Makefile.am
      	* app/paint-funcs/paint-funcs.[ch]: removed the color hash which
      	maps RGB to color indices because it's a totally standalone system
      	which has nothing to do with the paint-funcs and introduced a
      	GimpImage dependency.
      
      	paint-funcs/ should be considered on the same sub-object
      	(glib-only) level as base/, only in a different directory.
      
      	* app/core/Makefile.am
      	* app/core/gimpimage-colorhash.[ch]: put the color hash here.
      
      	* app/gimage.c: don't invalidate the color hash here...
      
      	* app/core/gimpimage.c: ... but in the colormap_changed() default
      	inplementation. Initialize the hash in class_init().
      
      	* tools/pdbgen/Makefile.am: scan app/base/base-types.h for enums.
      
      	* tools/pdbgen/enums.pl: regenerated.
      
      	* app/[lots]
      	* app/core/[of]
      	* app/gui/[files]
      	* app/pdb/[all]
      	* app/tools/[over]
      	* app/widgets/[the]
      	* tools/pdbgen/pdb/[place]: changed #includes accordingly. And use
      	base_config->value instead of the stuff from gimprc.h.
      d240f623
  31. 13 May, 2001 2 commits
    • Michael Natterer's avatar
      app/Makefile.am removed. Stuff now lives in app_procs.[ch] and in · 0cbbef40
      Michael Natterer authored
      2001-05-13  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/cursorutil.[ch]: removed. Stuff now lives in app_procs.[ch]
      	and in widgets/gimpcursor.[ch]
      
      	* app/appenv.h: added the "gimp_busy" boolean.
      
      	* app/app_procs.[ch]: added the "busy" stuff here.
      
      	* app/gui/gui.[ch]: "busy" stuff for the gui.
      
      	* app/widgets/Makefile.am
      	* app/widgets/gimpcursor.[ch]: exports only one function:
      	gimp_cursor_new() which returns a GdkCursor which has to be
      	destroyed.
      
      	* app/apptypes.h
      	* app/appenums.h: removed the cursor types.
      	* app/widgets/widgets-types.h: added here.
      
      	* app/tools/gimpeditselectiontool.[ch]: added
      	gtkutil_compress_motion() here (will go to some utils file in
      	widgets/).
      
      	* app/tools/tools-types.h: #include "widgets/widgets-types.h"
      
      	* app/dialog_handler.c
      	* app/disp_callbacks.c
      	* app/gdisplay.[ch]
      	* app/nav_window.c
      	* app/scroll.c
      	* app/xcf.c
      	* app/core/gimpimage-convert.c
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage.c
      	* app/gui/file-open-dialog.c
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpfuzzyselecttool.c
      	* app/tools/gimptransformtool.c
      	* tools/pdbgen/pdb/image.pdb
      	* app/pdb/image_cmds.c: use the new cursor and "busy" functions.
      
      	* app/gdisplay.h
      	* app/core/gimpbrush.c: added some ugly cross-includes.
      
      	* app/context_manager.c
      	* app/gdisplay_ops.c
      	* app/gimprc.c
      	* app/core/gimpdrawable-offset.c
      	* app/gui/file-save-dialog.c
      	* app/gui/gradient-editor.c
      	* app/gui/preferences-dialog.c
      	* app/tools/gimpbezierselecttool.c
      	* app/tools/gimpbycolorselecttool.c
      	* app/tools/gimpclonetool.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimperasertool.c
      	* app/tools/gimpfliptool.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/gimprectselecttool.c
      	* app/tools/gimprotatetool.c
      	* app/tools/gimpselectiontool.c: removed inclusion of "cursorutil.h"
      0cbbef40
    • Michael Natterer's avatar
      app/appenums.h app/core/core-types.h moved some more types to core-types.h · b86ce96a
      Michael Natterer authored
      2001-05-13  Michael Natterer  <mitch@gimp.org>
      
      	* app/appenums.h
      	* app/core/core-types.h
      	* app/tools/tools-types.h: moved some more types to core-types.h
      	and tools-types.h.  Removed AUXILLARY_CHANNEL from the ChannelType
      	enum.
      
      	* app/gdisplay.[ch]: removed the "depth" and "color_type" fields
      	from the struct. Cleaned up the header.
      
      	* app/selection.c
      	* app/gui/info-window.c: use g_visual->depth instead of
      	gdisp->depth.
      
      	* app/gimphelp.c: #include "core/core-types.h"
      
      	* tools/pdbgen/Makefile.am: added app/core/core-types.h to the
      	list of files to be scanned for enums.
      
      	* libgimp/gimpenums.h
      	* plug-ins/script-fu/script-fu-constants.c
      	* tools/pdbgen/enums.pl
      	* app/pdb/drawable_cmds.c
      	* app/pdb/image_cmds.c
      	* app/pdb/layer_cmds.c: regenerated.
      b86ce96a
  32. 11 May, 2001 1 commit
    • Michael Natterer's avatar
      app/Makefile.am taken behind the curtain and shot. (famous words of Seth · 3bd0b97e
      Michael Natterer authored
      2001-05-11  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/lc_dialog.[ch]: taken behind the curtain and shot.
      	(famous words of Seth Burgess on #gimp)
      
      	* app/app_procs.c
      	* app/gdisplay.c
      	* app/gimage.c
      	* app/gui/commands.c
      	* app/gui/gui.c
      	* app/gui/menus.c
      	* app/gui/preferences-dialog.c: don't #include it or call it's
      	functions any more.
      
      	* app/gui/dialogs-commands.[ch]: added a constructor for a dock
      	which looks like the old L&C dialog (taken from test-commands.*)
      
      	* app/gui/test-commands.[ch]: removed here.
      
      	* app/gui/dialogs-constructors.[ch]: wrapped the old
      	paths-dialog.* stuff in a dockable which can be created only
      	once. Will go away as soon as the new path stuff is there.
      
      	* app/gui/dialogs.c: added the paths dockable, removed lc_dialog.
      
      	* app/gui/paths-dialog.c: some changes to make it work without the
      	lc_dialog around it. Will probably crash randomly and refuse to
      	update it's contents properly (scheduled for removal).
      3bd0b97e