1. 27 Apr, 2005 1 commit
  2. 01 Oct, 2004 1 commit
    • Sven Neumann's avatar
      no need to include gimpdisplayshell-render.h here. · 297b53a4
      Sven Neumann authored
      2004-10-01  Sven Neumann  <sven@gimp.org>
      	* app/display/gimpdisplayshell-callbacks.c: no need to include
      	gimpdisplayshell-render.h here.
      	* app/display/gimpdisplayshell-draw.c
      	* app/display/gimpdisplayshell-render.[ch]
      	* app/display/gimpdisplayshell.[ch]: added an API to highlight a
      	rectangle (specified in image coordinates). Actually it doesn't
      	highlight but dims the area outside the rectangle.
      	* app/tools/gimpcroptool.c: use the new functionality to show the
      	area to be cropped. Fixes bug #93360.
  3. 03 Sep, 2004 1 commit
    • Sven Neumann's avatar
      libgimpbase/Makefile.am libgimpbase/gimpchecks.[ch] added · 4fbc8764
      Sven Neumann authored
      2004-09-03  Sven Neumann  <sven@gimp.org>
      	* libgimpbase/Makefile.am
      	* libgimpbase/gimpchecks.[ch] added gimp_checks_get_shades().
      	* app/base/temp-buf.c
      	* app/display/gimpdisplayshell-render.c
      	* libgimpwidgets/gimppreviewarea.c: use the new function instead
      	of replicating these numbers in three different places.
  4. 02 Sep, 2004 2 commits
    • Sven Neumann's avatar
      light and dark check color were swapped for GIMP_CHECK_TYPE_GRAY_CHECKS. · 3f4de431
      Sven Neumann authored
      2004-09-02  Sven Neumann  <sven@gimp.org>
      	* app/display/gimpdisplayshell-render.c (check_combos): light and
      	dark check color were swapped for GIMP_CHECK_TYPE_GRAY_CHECKS.
      	* libgimpwidgets/gimppreviewarea.[ch]: added "check-size" and
      	"check-type" properties and draw the checkerboard accordingly.
    • Sven Neumann's avatar
      app/base/base-enums.[ch] moved GimpCheckSize and GimpCheckType enums to · b9bd1bfa
      Sven Neumann authored
      2004-09-02  Sven Neumann  <sven@gimp.org>
      	* app/base/base-enums.[ch]
      	* libgimpbase/gimpbaseenums.[ch]: moved GimpCheckSize and
      	GimpCheckType enums to libgimpbase. Correctly prefix the enum
      	* app/base/temp-buf.c
      	* app/config/gimpdisplayconfig.c
      	* app/display/gimpdisplayshell-render.c
      	* app/pdb/fileops_cmds.c
      	* tools/pdbgen/pdb/fileops.pdb: changed accordingly.
  5. 13 Jul, 2004 1 commit
  6. 04 Feb, 2004 1 commit
    • Michael Natterer's avatar
      use gdouble instead of gfloat for x and y scale factors so gfloat's · d88c150c
      Michael Natterer authored
      2004-02-04  Michael Natterer  <mitch@gimp.org>
      	* app/display/gimpdisplayshell-render.c (struct RenderInfo)
      	(render_image_accelerate_scaling): use gdouble instead of gfloat
      	for x and y scale factors so gfloat's limited precision can't add
      	up to off-by-one pixel errors. Fixes display artefacts (missing
      	updates) at the bottom and right sides of updated areas at certain
      	irrational zoom factors like 1:3.
  7. 21 Nov, 2003 1 commit
    • Michael Natterer's avatar
      forgot to declare gimp_color_display_stack_clone(). · 32bc599d
      Michael Natterer authored
      2003-11-21  Michael Natterer  <mitch@gimp.org>
      	* libgimpwidgets/gimpcolordisplaystack.h: forgot to declare
      	* app/display/gimpdisplayshell.[ch]: replaced the GList of
      	GimpColorDisplays by a single GimpColorDisplayStack.
      	* app/display/gimpdisplayshell-render.c
      	(gimp_display_shell_render): changed accordingly.
      	* app/display/gimpdisplayshell-filter.[ch]: reduced API to a
      	single function, gimp_display_shell_filter_set(), which exchanges
      	the whole filter stack. Idle update the display on
      	* app/display/gimpdisplayshell-filter-dialog.[ch]: changed
      	accordingly.  Return the created dialog instead of assigning
      	* app/gui/view-commands.c (view_display_filters_cmd_callback): set
      	shell->filters_dialog here and raise it it if already
      	exists. Don't use the dialog factory to create it because it's a
      	transient dialog for the display which does not need to be session
      	* app/gui/dialogs-constructors.[ch]
      	* app/gui/dialogs.c: removed display filter dialog stuff.
  8. 15 Nov, 2003 1 commit
    • Sven Neumann's avatar
      no need to set colors on the GCs that use GDK_INVERT. · db4ec041
      Sven Neumann authored
      2003-11-15  Sven Neumann  <sven@gimp.org>
      	* app/display/gimpcanvas.c (gimp_canvas_gc_new): no need to set
      	colors on the GCs that use GDK_INVERT.
      	* app/display/gimpdisplayshell-render.c (gimp_display_shell_render):
      	micro cleanup.
  9. 10 Nov, 2003 1 commit
    • Sven Neumann's avatar
      app/display/gimpcanvas.[ch] moved GC from the the draw tool to GimpCanvas. · 058764f4
      Sven Neumann authored
      2003-11-10  Sven Neumann  <sven@gimp.org>
      	* app/display/gimpcanvas.[ch]
      	* app/tools/gimpdrawtool.[ch]: moved GC from the the draw tool to
      	GimpCanvas. Added wrappers around GDK drawing functions and do all
      	canvas drawing by means of these new functions.
      	* app/display/gimpdisplayshell-appearance.c
      	* app/display/gimpdisplayshell-render.c
      	* app/display/gimpdisplayshell.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpfuzzyselecttool.c: draw using the new GimpCanvas
  10. 09 Nov, 2003 1 commit
    • Sven Neumann's avatar
      app/display/Makefile.am app/display/display-types.h added GimpCanvas, · 621c5832
      Sven Neumann authored
      2003-11-10  Sven Neumann  <sven@gimp.org>
      	* app/display/Makefile.am
      	* app/display/display-types.h
      	* app/display/gimpcanvas.[ch]: added GimpCanvas, derived from
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/display/gimpdisplayshell-render.c
      	* app/display/gimpdisplayshell.[ch]
  11. 04 Apr, 2003 1 commit
  12. 01 Apr, 2003 1 commit
    • Michael Natterer's avatar
      #define GIMP_VIEWABLE_MAX_PREVIEW_SIZE here. · fdb7265a
      Michael Natterer authored
      2003-04-01  Michael Natterer  <mitch@gimp.org>
      	* app/core/gimpviewable.h: #define GIMP_VIEWABLE_MAX_PREVIEW_SIZE
      	* app/widgets/gimppreview.h
      	* app/widgets/gimppreviewrenderer.h: removed the #defines here.
      	* app/core/gimpviewable.c (gimp_preview_get[_popup]_size): check
      	the return values to be within bounds.
      	* app/text/gimpfont.c
      	* app/display/gimpdisplayshell-render.c: use the new constant
      	instead of the magic "1024".
      	* app/core/gimpdrawable-preview.c: #include our own header file.
      	* app/widgets/gimpbrushfactoryview.c
      	* app/widgets/gimpcomponenteditor.c
      	* app/widgets/gimpcontainereditor.c
      	* app/widgets/gimpcontainergridview.c
      	* app/widgets/gimpcontainermenu.c
      	* app/widgets/gimpcontainermenuimpl.c
      	* app/widgets/gimpcontainertreeview.c
      	* app/widgets/gimpcontainerview.c
      	* app/widgets/gimpdatafactoryview.c
      	* app/widgets/gimpitemtreeview.c
      	* app/widgets/gimppreview.c
      	* app/widgets/gimppreviewrenderer.c: changed accordingly.
  13. 21 Mar, 2003 1 commit
    • Sven Neumann's avatar
      don't emit the "scaled" signal from gimp_display_shell_scale_setup(). Emit · 6fb7877e
      Sven Neumann authored
      2003-03-21  Sven Neumann  <sven@gimp.org>
      	* app/display/gimpdisplayshell-scale.c: don't emit the "scaled"
      	signal from gimp_display_shell_scale_setup(). Emit it explicitely
      	from gimp_display_shell_scale_resize() instead.
      	* app/display/gimpdisplayshell-scroll.c: call
      	gimp_display_shell_scale_setup() after scrolling in order to
      	update scrollbars and rulers.
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/display/gimpdisplayshell-handlers.c: emit the "scaled" signal
      	* app/display/gimpdisplayshell-render.c: minor optimizations.
      	* app/display/gimpdisplayshell.c: minor cleanup.
  14. 19 Mar, 2003 1 commit
  15. 26 Feb, 2003 1 commit
    • Michael Natterer's avatar
      added "gchar *stock_id" to the GimpViewable struct. It is used by the GUI · 305db405
      Michael Natterer authored
      2003-02-26  Michael Natterer  <mitch@gimp.org>
      	* app/core/gimpviewable.[ch]: added "gchar *stock_id" to the
      	GimpViewable struct. It is used by the GUI if the get_preview()
      	functions return NULL. Default to GTK_STOCK_DIALOG_QUESTION.
      	* app/core/gimptoolinfo.[ch]: set the tool's stock_id. Removed
      	the cached GdkPixbuf. Don't implement any preview function
      	so the GUI uses the stock_id.
      	* app/tools/tool_manager.c: removed GdkPixbuf creation, removed
      	the #warning about the buggy way we created the pixbuf.
      	* app/gui/dialogs-constructors.c
      	* app/gui/image-menu.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimphistogramtool.c
      	* app/tools/gimpimagemaptool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimptransformtool.c
      	* app/widgets/gimptoolbox.c: use viewable->stock_id instead
      	of tool_info->stock_id.
      	* app/core/gimpbrush.c
      	* app/core/gimpgradient.c
      	* app/core/gimpimagefile.c
      	* app/core/gimpundo.c: simplified get_preview() implementations:
      	- never scale previews up, only down.
      	- don't render white or checks backgrounds but simply return
      	  TempBufs with alpha and let the preview system do its job.
      	- don't add padding but simply return previews smaller than
      	* app/display/gimpdisplayshell-render.[ch]: added
      	"render_blend_white", a 2d lookup table for blending on white,
      	just as the check lookup tables. Added "render_white_buf".
      	* app/widgets/gimppreview.[ch]: changed a lot:
      	- don't render the preview's border into the buffer.
      	- added "GdkGC *border_gc" and draw the preview's border in expose()
      	  using gdk_draw_rectangle().
      	- added "GdkPixbuf *no_preview_pixbuf" and create it in
      	  gimp_preview_real_render() if gimp_viewable_get_preview()
      	  returned NULL.
      	- factored the actual preview rendering out to
      	  gimp_preview_render_to_buffer(). Added configurable background
      	  rendering for the preview itself and it's padding area
      	  (the area the preview is larger than the buffer returned
      	  by gimp_viewable_get_preview()).
      	- changed gimp_preview_render_and_flush() to
      	  gimp_preview_render_preview() and added "inside_bg" and
      	  "outside_bg" parameters.
      	- use the new render buffers for blending on white.
      	* app/widgets/gimpbrushpreview.c
      	* app/widgets/gimpbufferpreview.c
      	* app/widgets/gimpdrawablepreview.c
      	* app/widgets/gimpgradientpreview.c
      	* app/widgets/gimpimagepreview.c
      	* app/widgets/gimppalettepreview.c
      	* app/widgets/gimppatternpreview.c: don't create large white
      	TempBufs to center the previews in but simply set the TempBuf's
      	offsets to get them centered. Simplified & cleaned up many preview
      	render functions. Pass the correct GimpPreviewBG modes to
      	* app/widgets/gimpcellrendererviewable.[ch]: new GtkCellRenderer
      	class derived from GtkCellRendererPixbuf which knows how
      	to use gimp_viewable_get_preview_size() and renders the
      	viewable's stock item if no preview can be created.
      	* app/widgets/gimpcontainertreeview.c: added a GtkTreeCellDataFunc
      	which creates the preview pixbuf if needed so we don't create it
      	unconditionally upon item insertion. Fixed preview size assertion
      	to use GIMP_PREVIEW_MAX_SIZE, not "64". Block "selection_changed"
      	while reordering the selected item.
      	* app/widgets/gimpcontainerview.c: cosmetic.
      	* app/widgets/gimpimagefilepreview.[ch]
      	* app/widgets/gimptoolinfopreview.[ch]
      	* app/widgets/gimpundopreview.[ch]: removed because the default
      	implementation is good enough.
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimppreview-utils.c: changed accordingly.
      	* app/gui/dialogs-constructors.[ch]
      	* app/gui/dialogs-menu.c
      	* app/gui/dialogs.c
      	* app/gui/image-menu.c
      	* app/gui/toolbox-menu.c: register grid and tree view variants
      	of the document history.
      	* app/gui/gui.c (gui_exit_finish_callback): disconnect from
      	signals earlier.
      	* app/gui/user-install-dialog.c: create the "tool-options" subdir
      	of the user's ~/.gimp-1.3 directory.
  16. 24 Feb, 2003 1 commit
    • Michael Natterer's avatar
      removed gimp_displays_invalidate() again. · 0bd9abbf
      Michael Natterer authored
      2003-02-24  Michael Natterer  <mitch@convergence.de>
      	* app/display/gimpdisplay-foreach.[ch]: removed
      	gimp_displays_invalidate() again.
      	* app/display/gimpdisplayshell-render.c: don't call it.
      	* app/display/gimpdisplayshell-handlers.c
      	(gimp_display_shell_check_notify_handler): put the call to
      	gimp_display_shell_expose_full() back I "optimized" away a few
      	days ago.
  17. 21 Feb, 2003 2 commits
    • Sven Neumann's avatar
      added new function gimp_displays_invalidate() which queues a redraw on all · 9c957fa1
      Sven Neumann authored
      2003-02-21  Sven Neumann  <sven@gimp.org>
      	* app/display/gimpdisplay-foreach.[ch]: added new function
      	gimp_displays_invalidate() which queues a redraw on all displays
      	by calling gimp_display_shell_expose_full().
      	* app/display/gimpdisplayshell-render.c (render_setup_notify):
      	invalidate all displays when the transparency type or size changes.
      	* app/tools/gimptexttool.c (text_tool_button_press): readded some
      	code I accidentally removed in my last commit.
      	* app/text/gimptextlayout.c (gimp_text_layout_new): always set the
      	font size but make sure it is at least 1.
    • Sven Neumann's avatar
      replaced a for-loop with a call to memcpy(). · 1b0339ad
      Sven Neumann authored
      2003-02-21  Sven Neumann  <sven@gimp.org>
      	* app/display/gimpdisplayshell-render.c (render_image_rgb):
      	replaced a for-loop with a call to memcpy().
      	* app/display/gimpdisplay.c: use g_memdup() instead of g_new()
      	followed by memcpy().
  18. 05 Jan, 2003 1 commit
  19. 04 Dec, 2002 1 commit
    • Sven Neumann's avatar
      removed useless assignments. · 8a678c09
      Sven Neumann authored
      2002-12-04  Sven Neumann  <sven@gimp.org>
      	* app/display/gimpdisplayshell-render.c (render_image_tile_fault):
      	removed useless assignments.
      	* plug-ins/common/aa.c: removed wrong assertions that caused the
      	plug-in to crash on images with odd width or height (#100344).
      	Added support for RGB images as well as alpha channel while I was
      	on it.
  20. 21 Nov, 2002 1 commit
    • Michael Natterer's avatar
      added tile_cache_init() and tile_cache_exit() as public functions. · 024061d9
      Michael Natterer authored
      2002-11-21  Michael Natterer  <mitch@gimp.org>
      	* app/base/tile-cache.[ch]: added tile_cache_init() and
      	tile_cache_exit() as public functions.
      	* app/base/base.c: call them. Connect to GimpBaseConfig's
      	* app/core/gimpimage.c: connect to notify::transparency-type and
      	notify::transparency-size and call
      	gimp_image_invalidate_layer_previews() in the callback.
      	* app/display/gimpdisplay-foreach.[ch]: removed
      	* app/display/gimpdisplayshell-handlers.c: connect to
      	notify::transparency-type and notify::transparency-size and expose
      	the shell in the callback.
      	* app/display/gimpdisplayshell-render.[ch]: added render_init()
      	and render_exit() functions and connect to
      	notify::transparency-type and notify::transparency-size for
      	setting up the render buffers.
      	* app/gui/gui.c: call the new functions instead of render_setup().
      	Connect to notify::show-tool-tips.
      	* app/gui/preferences-dialog.c: copy values between the global
      	config object and its local clone only when they have changed.
      	Wrap setting of lots of values in g_object_[freeze|thaw]_notify().
      	Added lots of mnemonics.
      	* app/gui/resolution-calibrate-dialog.c: added mnemonics.
      	* app/widgets/gimppropwidgets.c: g_object_set() the values edited
      	by the gimp_prop_coordinates() much less often by remembering the
      	old values and setting them only when they have changed.
  21. 18 Nov, 2002 1 commit
    • Sven Neumann's avatar
      Finally landed the new GimpConfig based gimprc parser. It's not finished · 073e533a
      Sven Neumann authored
      2002-11-18  Sven Neumann  <sven@gimp.org>
      	Finally landed the new GimpConfig based gimprc parser. It's not
      	finished yet but we need to start somewhere. This release removes
      	the old gimprc.[ch] files. The gimprc format changes slightly, but
      	the changes are minimal. The Preferences dialog is temporarily
      	disabled since it still needs to be ported. If you are are afraid,
      	stay away from CVS for a few days ;-)
      	* app/Makefile.am
      	* app/gimprc.[ch]: removed the old gimprc system.
      	* app/base/Makefile.am
      	* app/base/base-config.[ch]: removed these files in favor of
      	* app/core/Makefile.am
      	* app/core/gimpcoreconfig.[ch]: removed these files in favor of
      	* app/config/Makefile.am
      	* app/config/config-types.h: moved typedefs into this new file.
      	* app/config/gimpbaseconfig.[ch]
      	* app/config/gimpcoreconfig.[ch]
      	* app/config/gimpdisplayconfig.[ch]
      	* app/config/gimpguiconfig.[ch]
      	* app/config/gimprc.[ch]
      	* app/config/test-config.c: brought into shape for real use.
      	* app/base/base-types.h: include config/config-types.h here. Added
      	a global GimpBaseConfig *base_config variable to ease migration.
      	* app/gui/Makefile.am: temporarily disabled the preferences dialog.
      	* app/app_procs.c
      	* app/undo.c
      	* app/undo_history.c
      	* app/base/base.[ch]
      	* app/base/gimphistogram.c
      	* app/base/pixel-processor.c
      	* app/base/temp-buf.c
      	* app/base/tile-cache.c
      	* app/core/core-types.h
      	* app/core/gimp-documents.c
      	* app/core/gimp.c
      	* app/core/gimpbrush.c
      	* app/core/gimpbrushgenerated.c
      	* app/core/gimpcontext.c
      	* app/core/gimpdrawable-transform.c
      	* app/core/gimpimage-new.c
      	* app/core/gimpimage.c
      	* app/core/gimpimagefile.c
      	* app/core/gimpmodules.c
      	* app/core/gimppattern.c
      	* app/display/Makefile.am
      	* app/display/gimpdisplay-handlers.c
      	* app/display/gimpdisplay.[ch]
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/display/gimpdisplayshell-handlers.c
      	* app/display/gimpdisplayshell-layer-select.c
      	* app/display/gimpdisplayshell-render.c
      	* app/display/gimpdisplayshell-scale.c
      	* app/display/gimpdisplayshell-scroll.c
      	* app/display/gimpdisplayshell-selection.c
      	* app/display/gimpdisplayshell.[ch]
      	* app/display/gimpnavigationview.c
      	* app/file/file-save.c
      	* app/gui/device-status-dialog.c
      	* app/gui/dialogs-constructors.c
      	* app/gui/file-commands.c
      	* app/gui/file-new-dialog.c
      	* app/gui/file-open-dialog.c
      	* app/gui/file-save-dialog.c
      	* app/gui/gui.c
      	* app/gui/menus.c
      	* app/gui/paths-dialog.c
      	* app/gui/resize-dialog.c
      	* app/gui/session.c
      	* app/gui/test-commands.c
      	* app/gui/tips-dialog.c
      	* app/gui/tips-dialog.h
      	* app/gui/user-install-dialog.c
      	* app/gui/view-commands.c
      	* app/paint/gimppaintcore.c
      	* app/plug-in/plug-in.c
      	* app/plug-in/plug-ins.c
      	* app/tools/gimpbezierselecttool.c
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpfuzzyselecttool.c
      	* app/tools/gimpinktool.c
      	* app/tools/gimpmagnifytool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimppainttool.c
      	* app/tools/gimppathtool.c
      	* app/tools/gimptexttool.[ch]
      	* app/tools/selection_options.c
      	* app/tools/tools.c
      	* app/tools/transform_options.c
      	* app/widgets/gimphelp.c
      	* app/widgets/gimpitemfactory.c
      	* app/widgets/gimpselectioneditor.c
      	* app/xcf/xcf-load.c
      	* tools/pdbgen/pdb/fileops.pdb
      	* tools/pdbgen/pdb/gimprc.pdb
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/layer.pdb
      	* tools/pdbgen/pdb/transform_tools.pdb: use the new config system
      	instead of the old gimprc stuff.
      	* etc/gimprc.in
      	* etc/gimprc_user.in: adapted to the new gimprc format. Will update
      	the man-page later...
      	* app/pdb/fileops_cmds.c
      	* app/pdb/gimprc_cmds.c
      	* app/pdb/image_cmds.c
      	* app/pdb/layer_cmds.c
      	* app/pdb/transform_tools_cmds.c
      	* libgimp/gimpgimprc_pdb.c: regenerated.
  22. 20 Oct, 2002 2 commits
    • Michael Natterer's avatar
      removed the ColorDisplayNode struct entirely. GimpDisplayShell->filters is · 079b768e
      Michael Natterer authored
      2002-10-20  Michael Natterer  <mitch@gimp.org>
      	* app/display/gimpdisplayshell-filter.[ch]: removed the
      	ColorDisplayNode struct entirely. GimpDisplayShell->filters is now
      	just a GList of GimpColorDisplay objects.
      	* app/display/gimpdisplayshell-filter-dialog.c
      	* app/display/gimpdisplayshell-render.c: changed accordingly.
    • Michael Natterer's avatar
      Ported module loading to GTypeModule, getting rid of all own module · d7055a33
      Michael Natterer authored
      2002-10-20  Michael Natterer  <mitch@gimp.org>
      	Ported module loading to GTypeModule, getting rid of all own
      	module registering/bookkeeping stuff for color selectors and
      	display filters. The modules now simply register GimpColorSelector
      	and GimpColorDisplay subclasses, the list of registered subclasses
      	can then be obtained calling g_type_children() on the abstract
      	base classes.
      	This is work in progress and just the first working state after I
      	started breaking everything...
      	* app/gui/color-select.[ch]
      	* libgimp/gimpcolordisplay.h
      	* libgimp/gimpcolorselector.h: removed.
      	* app/gui/Makefile.am
      	* libgimp/Makefile.am: changed accordingly.
      	* libgimp/gimpmodule.h: massively simplified. All voodoo is gone.
      	* libgimpwidgets/gimpcolordisplay.[ch]
      	* libgimpwidgets/gimpcolorselector.[ch]: new abstract base classes
      	which need to be subclassed by modules.
      	* libgimpwidgets/gimpcolorselect.[ch]: the built-in color selector
      	from app/gui/color-select.* ported to be a GimpColorSelector
      	* libgimpwidgets/Makefile.am
      	* libgimpwidgets/gimpwidgets.h
      	* libgimpwidgets/gimpwidgetsmarshal.list
      	* libgimpwidgets/gimpwidgetstypes.h: changed accordingly.
      	* app/core/gimpmoduleinfo.[ch]: made it a GTypeModule subclass
      	* app/core/gimpmodules.c: changed accordingly.
      	* app/core/gimpcontainer.c
      	* app/core/gimplist.c: HACKED around to allow GimpLists of
      	GObjects (not GimpObjects). This is EEKy, so I will either make
      	gimp->modules a simple GList and revert this bit of change, or
      	allow GObjects all over the place in GimpContainer land...
      	* app/display/gimpdisplayshell-filter.[ch]
      	* app/gui/color-notebook.c: removed all module stuff and use
      	g_type_children() to get the list of available color_selectors
      	and display_filters.
      	* app/display/gimpdisplayshell-filter-dialog.c
      	* app/display/gimpdisplayshell-render.c
      	* app/gui/module-browser.c: changed accordingly.
      	* app/gui/gui.c: ref the built-in color selector's class before
      	the modules are queried so it appears first in the list of
      	GimpColorSelector's children.
      	* modules/Makefile.am: build the water color selector again.
      	* modules/cdisplay_gamma.c
      	* modules/cdisplay_highcontrast.c
      	* modules/colorsel_triangle.c
      	* modules/colorsel_water.c: ported them all to the new API.
      	* modules/gimpmodregister.[ch]: removed the old EMX module hack.
  23. 22 Aug, 2002 1 commit
  24. 26 Jun, 2002 1 commit
    • Michael Natterer's avatar
      removed gdisp->scale, gdisp->dot_for_dot, the scaling marcos and the · fa537489
      Michael Natterer authored
      2002-06-27  Michael Natterer  <mitch@gimp.org>
      	* app/display/gimpdisplay.[ch]: removed gdisp->scale,
      	gdisp->dot_for_dot, the scaling marcos and the
      	gdisplay_[un]transform[_f]() functions.
      	* app/display/gimpdisplayshell.[ch]: added them here. Named the
      	transform functions gimp_display_shell_[un]transform_xy[_f]().
      	Made the gimp_display_shell_[un]transform_coords() functions copy
      	all values of the GimpCoords struct, not just x and y.
      	* app/display/gimpstatusbar.[ch]: keep a pointer to
      	GimpDisplayShell, not GimpDisplay.
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/display/gimpdisplayshell-render.c
      	* app/display/gimpdisplayshell-scale.c
      	* app/display/gimpdisplayshell-scroll.c
      	* app/display/gimpdisplayshell-selection.c
      	* app/display/gimpnavigationview.c
      	* app/gui/image-commands.c
      	* app/gui/info-window.c
      	* app/gui/select-commands.c
      	* app/gui/view-commands.c
      	* app/tools/gimpbezierselecttool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpdrawtool.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpmagnifytool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimpmovetool.c
      	* app/tools/gimppainttool.c
      	* app/tools/gimppathtool.c
      	* app/tools/gimprotatetool.c
      	* app/tools/gimpscaletool.c
      	* app/tools/gimpvectortool.c: changed accordingly.
      	* app/gui/layers-commands.c: if(gimage->selection_mask) is always
      	TRUE, use if(!gimp_image_mask_is_empty(gimage)) instead.
      	* app/tools/gimpfuzzyselecttool.[ch]: moved global variables
      	to the object struct.
  25. 15 Mar, 2002 1 commit
    • Michael Natterer's avatar
      renamed shell->cd_list to shell->filters and shell->cd_ui to · 1b200856
      Michael Natterer authored
      2002-03-15  Michael Natterer  <mitch@gimp.org>
      	* app/display/gimpdisplayshell.[ch]: renamed shell->cd_list to
      	shell->filters and shell->cd_ui to shell->filters_dialog.
      	* app/display/gimpdisplayshell-filter-dialog.c
      	* app/display/gimpdisplayshell-filter.c
      	* app/display/gimpdisplayshell-render.c
      	* app/gui/dialogs-constructors.c: changed accordingly.
      	* app/display/gimpdisplayshell-filter-dialog.c: cleaned up the GUI.
      	Still deprecated GtkCLists around...
      	* app/widgets/gimpeditor.[ch]: added gimp_editor_new().
      	* app/gui/image-commands.[ch]
      	* app/gui/menus.c: added "<Image>/Image/Crop Image" because i was
      	sick of clicking 20 times just to crop to the current selection.
      	* themes/Default/gtkrc: removed "gimp-dock-style" and changed
      	"gimp-gtk-icons" to "gimp-default-style". Set our widget class
      	style property defaults there.
  26. 14 Mar, 2002 1 commit
    • Michael Natterer's avatar
      Re-enabled the display filters. They work exactly the same way as before · 5e17408c
      Michael Natterer authored
      2002-03-14  Michael Natterer  <mitch@gimp.org>
      	Re-enabled the display filters. They work exactly the same way
      	as before except for the color_area pseudo-display. More stuff
      	to come...
      	* app/display/Makefile.am: build them again.
      	* app/display/gimpdisplayshell-filter-dialog.[ch]
      	* app/display/gimpdisplayshell-filter.[ch]: changed to the new
      	namespace, work on GimpDisplayShell instead of GimpDisplay.
      	* app/display/gimpdisplayshell-render.c
      	* app/display/gimpdisplayshell.[ch]: changed accordingly.
      	* app/gui/dialogs-constructors.c: enabled the dialog constructor.
      	* app/gui/gui.c: call the init() function.
      	* app/gui/menus.c: enabled the menu entry, but moved it to
      	<Image>/View. Moved "Undo History..." to <Image>/Image.
      	* modules/Makefile.am: build and install the modules.
      	* modules/cdisplay_gamma.c
      	* modules/cdisplay_highcontrast.c: made them compile with minimal
      	* app/undo_history.c: connect to the image's "disconnect", not
      	"destroy" signal.
      	* app/tools/gimpselectiontool.c: mask out the irrelevant parts of
      	the "state" passed to the modifier_key() func, so tool_options
      	button toggling works with other modifiers (e.g. num_lock)
  27. 04 Mar, 2002 1 commit
    • Michael Natterer's avatar
      Forgot some gint opacity values: · 95235369
      Michael Natterer authored
      2002-03-04  Michael Natterer  <mitch@gimp.org>
      	Forgot some gint opacity values:
      	* app/core/gimplayer.[ch]: layer->opacity, gimp_layer_new(),
      	* app/core/gimpimage-projection.[ch]: gimp_image_projection_opacity()
      	* app/core/gimpdrawable-transform.c
      	* app/core/gimpedit.c
      	* app/core/gimpimage-mask.c
      	* app/core/gimpimage-merge.c
      	* app/core/gimpimage-new.c
      	* app/core/gimpimage.c
      	* app/core/gimplayer-floating-sel.c
      	* app/gui/layers-commands.c
      	* app/tools/gimptexttool.c
      	* app/widgets/gimplayerlistview.c
      	* app/xcf/xcf-load.c
      	* app/xcf/xcf-save.c
      	* tools/pdbgen/pdb/layer.pdb: changed accordingly.
      	* app/pdb/layer_cmds.c
      	* libgimp/gimplayer_pdb.c: regenerated.
  28. 14 Dec, 2001 1 commit
    • Michael Natterer's avatar
      added GIMP_IMAGE_TYPE_IS_[RGB|GRAY|INDEXED]() and · 37269769
      Michael Natterer authored
      2001-12-14  Michael Natterer  <mitch@gimp.org>
      	* app/core/gimpimage.[ch]: added
      	GIMP_IMAGE_TYPE_BASE_TYPE() macros.
      	* app/plug-in/plug-in.[ch]: new enum PlugInImageType instead of
      	multiple #defines.
      	* app/gui/file-dialog-utils.[ch]: file_dialog_update_menus(): take
      	a GimpImageType instead of the PlugInImageType.
      	* app/core/gimpdrawable-preview.c
      	* app/core/gimpdrawable-transform.c
      	* app/core/gimpdrawable.c
      	* app/core/gimpimage-contiguous-region.c
      	* app/core/gimpimage-mask.c
      	* app/core/gimpimage-merge.c
      	* app/core/gimplayermask.c
      	* app/core/gimppalette-import.c
      	* app/display/gimpdisplay-handlers.c
      	* app/display/gimpdisplayshell-render.c
      	* app/gui/file-save-dialog.c
      	* app/gui/toolbox.c
      	* app/tools/gimpclonetool.c
      	* app/tools/gimpcolorpickertool.c
      	* tools/pdbgen/pdb/convert.pdb
      	* tools/pdbgen/pdb/image.pdb: use the new macros, cleanups like
      	storing GimpImageType in GimpImageType variables, not just gint.
      	* app/pdb/convert_cmds.c
      	* app/pdb/image_cmds.c: regenerated.
      	* app/widgets/gimpdialogfactory.c: save the state of the "Auto"
      	button in sessionrc.
  29. 11 Dec, 2001 1 commit
    • Sven Neumann's avatar
      app/base/base-enums.h moved all remaining enums to base-enums.h · 03a6c044
      Sven Neumann authored
      2001-12-11  Sven Neumann  <sven@gimp.org>
      	* app/base/base-enums.h
      	* app/base/base-types.h: moved all remaining enums to base-enums.h
      	* app/core/core-enums.h
      	* app/core/core-types.h: moved GimpImageType to core-enums.h and
      	changed the values from RGB_GIMAGE to GIMP_RGB_IMAGE and the like.
      	* app/core/gimpchannel.c
      	* app/core/gimpdrawable-preview.c
      	* app/core/gimpdrawable-transform.c
      	* app/core/gimpdrawable.c
      	* app/core/gimpimage-contiguous-region.c
      	* app/core/gimpimage-convert.c
      	* app/core/gimpimage-mask.c
      	* app/core/gimpimage-merge.c
      	* app/core/gimpimage-new.c
      	* app/core/gimpimage-projection.c
      	* app/core/gimpimage.[ch]
      	* app/core/gimplayer.c
      	* app/core/gimplayermask.c
      	* app/core/gimppalette-import.c
      	* app/display/gimpdisplayshell-dnd.c
      	* app/display/gimpdisplayshell-render.c
      	* app/gui/file-save-dialog.c
      	* app/gui/toolbox.c
      	* app/plug-in/plug-in.c
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpdodgeburntool.c: changed accordingly.
      	* tools/pdbgen/Makefile.am: no need to parse app/base/base-types.h
      	any longer.
      	* app/pdb/color_cmds.c
      	* app/pdb/drawable_cmds.c
      	* app/pdb/layer_cmds.c
      	* app/pdb/paint_tools_cmds.c
      	* tools/pdbgen/enums.pl: regenerated.
  30. 08 Dec, 2001 1 commit
    • Sven Neumann's avatar
      app/core/Makefile.am new file that holds enums that are registered with · a65e1a39
      Sven Neumann authored
      2001-12-08  Sven Neumann  <sven@gimp.org>
      	* app/core/Makefile.am
      	* app/core/core-enums.h: new file that holds enums that are registered
      	with the type system and is used to generate core-enums.c.
      	* app/core/core-types.h: include core-enums.h
      	* app/base/base-types.h: namespace cleanup. Prefix all enumeration
      	types with Gimp and their values with GIMP. Moved GimpLayerModeEffects
      	enum ...
      	* app/base/base-enums.h: ... here.
      	* app/image_map.c
      	* app/base/temp-buf.c
      	* app/core/gimpcontext.[ch]
      	* app/core/gimpdrawable-transform.c
      	* app/core/gimpdrawable.c
      	* app/core/gimpedit.c
      	* app/core/gimpimage-mask.c
      	* app/core/gimpimage-merge.c
      	* app/core/gimpimage-new.c
      	* app/core/gimpimage-projection.c
      	* app/core/gimpimage.[ch]
      	* app/core/gimplayer.[ch]
      	* app/display/gimpdisplayshell-dnd.c
      	* app/display/gimpdisplayshell-render.c
      	* app/gui/brush-select.c
      	* app/gui/layers-commands.c
      	* app/gui/preferences-dialog.c
      	* app/gui/toolbox.c
      	* app/paint-funcs/paint-funcs.[ch]
      	* app/tools/gimpconvolvetool.c
      	* app/tools/gimperasertool.c
      	* app/tools/gimpiscissorstool.c
      	* app/tools/gimppainttool.[ch]
      	* app/tools/gimptexttool.c
      	* app/tools/paint_options.c
      	* app/widgets/gimplayerlistview.c
      	* app/widgets/gimpwidgets-constructors.[ch]
      	* app/xcf/xcf-load.c
      	* tools/pdbgen/pdb/brush_select.pdb
      	* tools/pdbgen/pdb/brushes.pdb
      	* tools/pdbgen/pdb/color.pdb
      	* tools/pdbgen/pdb/layer.pdb
      	* tools/pdbgen/pdb/tools.pdb: changed accordingly.
      	* libgimpbase/gimpbasetypes.h: no need to chop GIMP prefix off the
      	enums any longer.
      	* app/pdb/brush_select_cmds.c
      	* app/pdb/brushes_cmds.c
      	* app/pdb/color_cmds.c
      	* app/pdb/layer_cmds.c
      	* app/pdb/message_cmds.c
      	* app/pdb/procedural_db_cmds.c
      	* app/pdb/tools_cmds.c
      	* libgimp/gimpenums.h
      	* plug-ins/script-fu/script-fu-constants.c
      	* tools/pdbgen/enums.pl: regenerated.
      	* app/gimprc.c: removed code to parse for "plug_in" keyword which was
      	left over from some very early gimp days.
      	* app/plug-in/plug-in.[ch]: removed now unused function plug_in_add().
  31. 30 Nov, 2001 1 commit
    • Michael Natterer's avatar
      app/display/Makefile.am removed. It was a wrapper around nothing since we · 57157b40
      Michael Natterer authored
      2001-11-30  Michael Natterer  <mitch@gimp.org>
      	* app/display/Makefile.am
      	* app/display/gximage.[ch]: removed. It was a wrapper around
      	nothing since we use GdkRGB.
      	* app/display/gimpdisplayshell-render.[ch]: added the render
      	buf size defines here, added the #if 0'ed display filter stuff
      	and the actual GdkRGB render stuff here too.
      	* app/display/gimpdisplayshell.[ch]: added shell->render_buf as
      	replacement for the global gximage buffer, renamed shell->scroll_gc
      	to shell->render_gc and use it all over the place when rendering
      	image data.
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/display/gimpdisplayshell-scroll.c: changed accordingly.
      	* app/gui/gui.c: don't call gximage init/exit stuff.
  32. 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
      	* app/paint-funcs/Makefile.am
      	* app/paint-funcs/paint-funcs-types.h: new file. Includes
      	* 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.
    • 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.
  33. 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
      	* 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
      	* 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
      	* 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
      	* 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.
  34. 31 Oct, 2001 1 commit
  35. 22 Oct, 2001 1 commit
    • Michael Natterer's avatar
      General cleanup of the selection tools and their PDB wrappers: · 99e78c70
      Michael Natterer authored
      2001-10-22  Michael Natterer  <mitch@gimp.org>
      	General cleanup of the selection tools and their PDB wrappers:
      	* app/core/Makefile.am
      	* app/core/gimpimage-contiguous-region.[ch]
      	* app/core/gimpimage-mask-select.[ch]: new files providing a clean,
      	uniform API for the selection functionalities. Changed order of
      	parameters to be consistent, removed code duplication.
      	The region returned by the "by_color" function is not really
      	contiguous but the API is so similar to "by_seed" and it's used
      	in the same context so it's fair enough to put them together.
      	Also, I'm not sure if the two is_pixel_sufficiently_different()
      	I've optimized away were meant to do *exactly* the same. Added
      	a comment there to remember the former difference.
      	* app/core/gimpchannel.[ch] (gimp_channel_feather): removed the
      	"output" channel parameter and made it optionally push an undo
      	(like the other channel operations do).
      	* app/core/gimpimage-mask.c: call gimp_channel_feather() with
      	"push_undo == TRUE", removed some useless comments.
      	* app/tools/gimpbycolorselecttool.[ch]
      	* app/tools/gimpellipseselecttool.[ch]
      	* app/tools/gimpfreeselecttool.[ch]
      	* app/tools/gimpfuzzyselecttool.[ch]
      	* app/tools/gimprectselecttool.[ch]: removed all the actual
      	selection functionality and call the new gimp_image_mask_select_*()
      	and gimp_image_contiguous_region_*() functions instead.
      	* app/tools/gimpbezierselecttool.c
      	* app/tools/gimpiscissorstool.c: use new function
      	gimp_image_mask_select_channel() instead of doing the same manually.
      	* app/tools/gimpbucketfilltool.c: find_contiguous_region() ->
      	* tools/pdbgen/Makefile.am
      	* tools/pdbgen/groups.pl
      	* tools/pdbgen/pdb/selection_tools.pdb: added new group "Selection
      	Tools" which depends only on "core/" stuff (not on "tools/" any
      	more, brrrr).
      	* tools/pdbgen/pdb/text_tool.pdb: don't include "appenv.h"
      	* tools/pdbgen/pdb/tools.pdb: removed the selection tools.
      	* app/pdb/Makefile.am
      	* app/pdb/selection_tools_cmds.c: new file.
      	* app/pdb/internal_procs.c
      	* app/pdb/text_tool_cmds.c
      	* app/pdb/tools_cmds.c: regenerated.
      	* libgimp/Makefile.am
      	* libgimp/gimp_pdb.h
      	* libgimp/gimpselectiontools_pdb.[ch]: new files.
      	* libgimp/gimptools_pdb.[ch]: regenerated
      	Misc cleanups:
      	* app/app_procs.c: call splash_create() with "no_splash_image"
      	as parameter.
      	* app/display/gimpdisplay-render.c
      	* app/display/gximage.c: don't include "appenv.h".
      	* app/gui/gui.c: call session_restore() only if "restore_session"
      	is TRUE.
      	* app/gui/session.c: don't "if(restore_session)" here and don't
      	include "appenv.h"
      	* app/gui/splash.[ch]: added "gboolean show_image" parameter to
      	splash_create(), don't include "appenv.h"
      	* app/tools/gimppainttool.[ch]: added a "GimpGradient" parameter
      	to gimp_paint_tool_get_color_from_gradient().
      	* app/tools/gimppaintbrushtool.c: pass the gradient.
      	* app/tools/gimpselectiontool.c
      	* app/tools/gimptransformtool.c
      	* app/tools/tool_manager.c: s/GDisplay/GimpDisplay/.
      	* app/widgets/gimpcontainergridview.[ch]: removed the "white_style"
      	class variable and don't fiddle around with colors and styles...
      	* themes/Default/gtkrc: ...do the same here with a simple rc style.
  36. 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
      	* app/widgets/gimpcontainermenu.c: fixed item insert order.
      	* app/widgets/gimphistogramview.[ch]: cleaned up and renamed all
      	* 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"