1. 17 Jan, 2009 1 commit
    • Michael Natterer's avatar
      Change licence to GPLv3 (and to LGPLv3 for libgimp). · d9b5207a
      Michael Natterer authored
      2009-01-17  Michael Natterer  <mitch@gimp.org>
      
      	* all files with a GPL header and all COPYING files:
      
      	Change licence to GPLv3 (and to LGPLv3 for libgimp).
      
      	Cleaned up some copyright headers and regenerated the parsers in
      	the ImageMap plugin.
      
      
      svn path=/trunk/; revision=27913
      d9b5207a
  2. 13 Nov, 2008 1 commit
    • Sven Neumann's avatar
      removed function gimp_display_shell_scroll_get_scaled_viewport_offset() as · 47c39d6c
      Sven Neumann authored
      2008-11-14  Sven Neumann  <sven@gimp.org>
      
      	* app/display/gimpdisplayshell-scroll.[ch]: removed function
      	gimp_display_shell_scroll_get_scaled_viewport_offset() as it was
      	only returning -shell->offset_x and -shell->offset_y and it
      	started to show up in profiles.
      
      	* app/display/gimpdisplayshell-draw.c
      	* app/display/gimpdisplayshell-transform.c
      	* app/display/gimpdisplayshell-scale.c: use the shell offsets
      	directly.
      
      
      svn path=/trunk/; revision=27644
      47c39d6c
  3. 26 Aug, 2008 1 commit
    • Martin Nordholts's avatar
      New function. · dd672dde
      Martin Nordholts authored
      2008-08-26  Martin Nordholts  <martinn@svn.gnome.org>
      
      	* app/display/gimpdisplayshell-scroll.c
      	(gimp_display_shell_scroll_unoverscrollify): New function.
      
      	* app/display/gimpdisplayshell-autoscroll.c
      	(gimp_display_shell_autoscroll_timeout): Make sure the autoscroll
      	does not result in overscroll. This more or less finalizes the
      	implementation of the enhancement request in bug #362915.
      
      svn path=/trunk/; revision=26775
      dd672dde
  4. 16 Aug, 2008 1 commit
    • Martin Nordholts's avatar
      Support axis independence. · f45897f6
      Martin Nordholts authored
      2008-08-16  Martin Nordholts  <martinn@svn.gnome.org>
      
      	* app/display/gimpdisplayshell-scroll.[ch]
      	(gimp_display_shell_scroll_center_image_on_next_size_allocate):
      	Support axis independence.
      
      	* app/display/gimpdisplayshell.c: Adapt.
      
      svn path=/trunk/; revision=26608
      f45897f6
  5. 14 Aug, 2008 1 commit
    • Martin Nordholts's avatar
      New helper function. · 2f52791b
      Martin Nordholts authored
      2008-08-14  Martin Nordholts  <martinn@svn.gnome.org>
      
      	* app/display/gimpdisplayshell-scroll.c
      	(gimp_display_shell_scroll_clamp_and_update): New helper function.
      
      	* app/display/gimpdisplayshell-scale.c
      	* app/display/gimpdisplayshell-scroll.c
      	* app/display/gimpdisplayshell-callbacks.c: Use it.
      
      svn path=/trunk/; revision=26554
      2f52791b
  6. 10 Aug, 2008 5 commits
    • Martin Nordholts's avatar
      New low level function for setting display shell offset. · b41206c3
      Martin Nordholts authored
      2008-08-10  Martin Nordholts  <martinn@svn.gnome.org>
      
      	* app/display/gimpdisplayshell-scroll.[ch]
      	(gimp_display_shell_scroll_set_offset): New low level function for
      	setting display shell offset.
      
      	(gimp_display_shell_scroll_center_image)
      
      	* app/display/gimpdisplayshell-handlers.c
      	(gimp_display_shell_size_changed_detailed_handler): Use it instead
      	of gimp_display_shell_scale_by_values().
      
      svn path=/trunk/; revision=26486
      b41206c3
    • Martin Nordholts's avatar
      Renamed gimp_display_shell_scroll_private() to gimp_display_shell_scroll() · 4bbe4c81
      Martin Nordholts authored
      2008-08-10  Martin Nordholts  <martinn@svn.gnome.org>
      
      	* app/display/gimpdisplayshell-scroll.[ch]: Renamed
      	gimp_display_shell_scroll_private() to gimp_display_shell_scroll()
      	and keep it here.
      
      	* app/display/gimpdisplayshell-private.h: Removed.
      
      	* app/display/Makefile.am
      	* app/display/gimpdisplayshell-scale.c
      	* app/display/gimpdisplayshell-scroll.c
      	* app/display/gimpdisplayshell-handlers.c
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/display/gimpdisplayshell-autoscroll.c: Adapt.
      
      svn path=/trunk/; revision=26480
      4bbe4c81
    • Martin Nordholts's avatar
      It makes more sense for gimp_display_shell_get_scaled_image_size() to be · 65ff34a5
      Martin Nordholts authored
      2008-08-10  Martin Nordholts  <martinn@svn.gnome.org>
      
      	* app/display/gimpdisplayshell-scroll.[ch]: It makes more sense
      	for gimp_display_shell_get_scaled_image_size() to be moved from
      	here to
      
      	* app/display/gimpdisplayshell-draw.[ch]: here, and rename it to
      	gimp_display_shell_draw_get_scaled_image_size().
      
      	* app/display/gimpdisplayshell.c: Adapt to name change.
      
      svn path=/trunk/; revision=26479
      65ff34a5
    • Martin Nordholts's avatar
      gimp_display_shell_ -> gimp_display_shell_scroll_ for functions that are · b9f66d04
      Martin Nordholts authored
      2008-08-10  Martin Nordholts  <martinn@svn.gnome.org>
      
      	* app/display/gimpdisplayshell-scroll.[ch]: gimp_display_shell_ ->
      	gimp_display_shell_scroll_ for functions that are scroll
      	related. Also did some other minor renamings.
      
      	* app/display/gimpnavigationeditor.c
      	* app/display/gimpdisplayshell-draw.c
      	* app/display/gimpdisplayshell-scale.c 
      	* app/display/gimpdisplayshell-render.c
      	* app/display/gimpdisplayshell-transform.c
      	* app/display/gimpdisplayshell-callbacks.c: Adapt to the name
      	changes.
      
      svn path=/trunk/; revision=26476
      b9f66d04
    • Martin Nordholts's avatar
      Put functions to center the image in the display shell where they belong, · a736df49
      Martin Nordholts authored
      2008-08-10  Martin Nordholts  <martinn@svn.gnome.org>
      
      	Put functions to center the image in the display shell where they
      	belong, and give them proper names.
      
      	* app/display/gimpdisplayshell-scale.[ch]: Get rid of functions
      	and use the new names.
      
      	* app/display/gimpdisplayshell-scroll.[ch]: Put the functions here
      	and call them gimp_display_shell_scroll_center_image() and
      	gimp_display_shell_scroll_center_image_on_next_size_allocate().
      
      	* app/display/gimpdisplayshell.c:
      	* app/display/gimpdisplayshell-handlers.c: Use the new names.
      
      svn path=/trunk/; revision=26470
      a736df49
  7. 05 Aug, 2008 1 commit
    • Michael Natterer's avatar
      app/display/gimpdisplayshell-scroll.[ch] · 612778c8
      Michael Natterer authored
      2008-08-05  Michael Natterer  <mitch@gimp.org>
      
      	* app/display/gimpdisplayshell-scroll.[ch]
      	* app/display/gimpdisplayshell-draw.c
      	* app/display/gimpdisplayshell-scale.c
      	* app/display/gimpdisplayshell-transform.c: get rid of the "image"
      	part in all instances of "scaled_image_viewport_offset", we call
      	it simply "viewport" in all other places and it makes the code
      	more readable.
      
      
      svn path=/trunk/; revision=26395
      612778c8
  8. 04 Aug, 2008 1 commit
    • Michael Natterer's avatar
      :size-changed-detailed): change double to int in signal parameters. · 26c2c6af
      Michael Natterer authored
      2008-08-04  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpimage.[ch] (GimpImage::size-changed-detailed):
      	change double to int in signal parameters.
      
      	Remove gimp_image_emit_size_changed_signals() and call
      	gimp_viewable_size_changed() in size-changed-detailed's default
      	handler.
      
      	* app/core/gimpimageundo.[ch]
      	* app/core/gimpimage-undo-push.[ch]: change double to int in
      	previous-origin related code.
      
      	* app/core/gimpimage-undo.c
      	* app/core/gimpimage-scale.c
      	* app/core/gimpimage-crop.c
      	* app/core/gimpimage-rotate.c
      	* app/core/gimpimage-resize.c: call gimp_image_size_changed_detailed()
      	instead of the removed gimp_image_emit_size_changed_signals()
      
      	* app/display/gimpdisplayshell-scroll.[ch]: remove
      	gimp_display_shell_handle_size_changed_detailed() because it
      	handles both scrolling and scaling and doesn't belong here.
      
      	* app/display/gimpdisplayshell-handlers.c: moved its code back to
      	gimp_display_shell_size_changed_detailed_handler() and follow the
      	double -> int change above.
      
      
      svn path=/trunk/; revision=26367
      26c2c6af
  9. 03 Aug, 2008 1 commit
    • Martin Nordholts's avatar
      Further work for completing bug #362915 that makes changes to the image · 6c48f2b6
      Martin Nordholts authored
      2008-08-03  Martin Nordholts  <martinn@svn.gnome.org>
      
      	Further work for completing bug #362915 that makes changes to the
      	image size (e.g when cropping) be much more nicely handled by
      	display shell.
      
      	* app/core/gimpimage.[ch]: Add new signal
      	GimpImage::size-changed-detailed that is emited whenever
      	GimpViewable::size-changed is. The new signal provides additional
      	information, namely the previous origin relative to the current
      	origin. Cliens choose what specific signal to listen to depending
      	on how much info they need.
      
      	* app/display/gimpdisplayshell-handlers.c: Connect to
      	GimpImage::size-changed-detailed instead of
      	GimpViewable::size-changed since the shell wants information about
      	the previous image origin.
      	(gimp_display_shell_resolution_changed_handler): Use
      	gimp_display_shell_scale_resize() instead to avoid display
      	garbage.
      
      	* app/display/gimpdisplayshell-scale.[ch]: Add new utility
      	function gimp_display_shell_center_image_on_next_size_allocate().
      
      	* app/display/gimpdisplayshell-scroll.[ch]
      	(gimp_display_shell_handle_size_changed_detailed): New function
      	that replaces logic in gimp_display_shell_handle_size_changed and
      	that takes previous-origin of the image into account and adjusts
      	the offset so that the image content that remains doesn't move. If
      	the window is resized on image resize, just center the image
      	afterwards.
      
      	* app/core/gimpimage-undo-push.[ch]
      	(gimp_image_undo_push_image_size): Add previous-origin paremeters.
      
      	* app/core/gimpimageundo.[ch]: Add and manage previous-origin
      	properties so that the display shell offset can be appropriately
      	adjusted also when undoing.
      
      	* app/core/gimpundo.h
      	* app/core/gimpimage-undo.c: Add previous_origin members to the
      	undo accumulator and emit that information when the size of the
      	image changes due to the undo.
      
      	* app/core/gimpimage-crop.c (gimp_image_crop)
      	* app/core/gimpimage-scale.c (gimp_image_scale)
      	* app/core/gimpimage-rotate.c (gimp_image_rotate)
      	* app/core/gimpimage-resize.c (gimp_image_resize_with_layers):
      	Supply information about the previous-origin of the image to the
      	size-changed signals and the undo system.
      
      svn path=/trunk/; revision=26354
      6c48f2b6
  10. 13 Jul, 2008 1 commit
    • Martin Nordholts's avatar
      New function that contains logic previously kept in · e0cf43ae
      Martin Nordholts authored
      2008-07-13  Martin Nordholts  <martinn@svn.gnome.org>
      
      	* app/display/gimpdisplayshell-scroll.[ch]
      	(gimp_display_shell_get_scaled_image_size): New function that
      	contains logic previously kept in gimp_display_shell_draw_area().
      
      	* app/display/gimpdisplayshell-draw.c
      	(gimp_display_shell_draw_area): Use the new function.
      
      svn path=/trunk/; revision=26168
      e0cf43ae
  11. 12 Jul, 2008 3 commits
    • Martin Nordholts's avatar
      The following change is conceptually based on a patch by Alexia Death and · 4aeaa83f
      Martin Nordholts authored
      2008-07-12  Martin Nordholts  <martinn@svn.gnome.org>
      
      	The following change is conceptually based on a patch by
      	Alexia Death and implements the core functionality for
      	bug #362915.
      
      	* app/display/gimpdisplayshell-scroll.[ch]
      	(gimp_display_shell_scroll_clamp_offsets): Clamp the offsets in
      	such a way that allows to scroll beyond the image border.
      
      	(gimp_display_shell_setup_hscrollbar_with_value)
      	(gimp_display_shell_setup_vscrollbar_with_value): Put common
      	scrollbar range setup code here.
      
      	* app/display/gimpdisplayshell-scale.c
      	(gimp_display_shell_scale_setup): Use above helper functions for
      	setting up scrollbar range.
      
      	* app/display/gimpdisplayshell-callbacks.c: Handle adjustment of
      	the scrollbar range when they are about to change value.
      
      	* app/display/gimpdisplayshell.c: Always keep the scrollbar
      	steppers sensitive to user input.
      
      svn path=/trunk/; revision=26166
      4aeaa83f
    • Martin Nordholts's avatar
      Replace gimp_display_shell_scroll() with · 9f5c347d
      Martin Nordholts authored
      2008-07-12  Martin Nordholts  <martinn@svn.gnome.org>
      
      	* app/display/gimpdisplayshell-scroll.c:
      	Replace gimp_display_shell_scroll() with
      	gimp_display_shell_center_around_image_coordinate() since that is
      	easier to map to something sensible when we allow to scroll beyond
      	image border.
      
      	* app/display/gimpnavigationeditor.c
      	(gimp_navigation_editor_marker_changed): Adapt to the new
      	interface.
      
      svn path=/trunk/; revision=26162
      9f5c347d
    • Martin Nordholts's avatar
      Kill disp_[xy]offset! We now keep store that information by using negative · a33d8010
      Martin Nordholts authored
      2008-07-12  Martin Nordholts  <martinn@svn.gnome.org>
      
      	* app/display/gimpdisplayshell.c: Kill disp_[xy]offset! We now
      	keep store that information by using negative values in
      	offset_[xy].
      
      	* app/display/gimpdisplayshell-scroll.[ch]
      	(gimp_display_shell_scroll_clamp_offsets)
      	(gimp_display_shell_get_scaled_image_viewport_offset): Adjust
      	accordingly to preserve current behaviour.
      
      	(gimp_display_shell_get_disp_offset): New function to get the old
      	disp_[xy]offset based on the new offset_[xy].
      
      	(gimp_display_shell_get_render_start_offset): New function to get
      	th old offset_[xy] based on the new offset_[xy].
      
      	* app/display/gimpdisplayshell-draw.c
      	* app/display/gimpdisplayshell-scale.c
      	* app/display/gimpdisplayshell-render.c: Get rid of
      	disp_[xy]offset and use
      	gimp_display_shell_get_render_start_offset() and
      	gimp_display_shell_get_disp_offset() instead.
      
      svn path=/trunk/; revision=26146
      a33d8010
  12. 11 Jul, 2008 3 commits
    • Martin Nordholts's avatar
      const- and g_return_if_fail-ify. · dc6f184a
      Martin Nordholts authored
      2008-07-11  Martin Nordholts  <martinn@svn.gnome.org>
      
      	* app/display/gimpdisplayshell-scroll.[ch]
      	(gimp_display_shell_get_viewport)
      	(gimp_display_shell_get_scaled_viewport)
      	(gimp_display_shell_get_scaled_image_viewport_offset): const- and
      	g_return_if_fail-ify.
      
      svn path=/trunk/; revision=26140
      dc6f184a
    • Martin Nordholts's avatar
      New function to replace any occurance of · 18c89550
      Martin Nordholts authored
      2008-07-11  Martin Nordholts  <martinn@svn.gnome.org>
      
      	* app/display/gimpdisplayshell-scroll.c
      	(gimp_display_shell_get_scaled_image_viewport_offset): New
      	function to replace any occurance of
      
      	  shell->disp_[xy]offset - shell->offset_[xy]
      
      	that is just an implementation specific way of saying the same
      	thing.
      
      	* app/display/gimpdisplayshell-draw.c
      	* app/display/gimpdisplayshell-transform.c: Make the code less
      	implementation dependant by using the new function.
      
      svn path=/trunk/; revision=26137
      18c89550
    • Martin Nordholts's avatar
      Extend the interface with this function. · 06bd5690
      Martin Nordholts authored
      2008-07-11  Martin Nordholts  <martinn@svn.gnome.org>
      
      	* app/display/gimpdisplayshell-scroll.[ch]
      	(gimp_display_shell_get_viewport): Extend the interface with this
      	function.
      
      	* app/display/gimpnavigationeditor.c
      	(gimp_navigation_editor_update_marker): Use it here.
      
      svn path=/trunk/; revision=26114
      06bd5690
  13. 10 Jul, 2008 3 commits
    • Martin Nordholts's avatar
      Extend the interface with this function · 19325009
      Martin Nordholts authored
      2008-07-10  Martin Nordholts  <martinn@svn.gnome.org>
      
      	* app/display/gimpdisplayshell-scroll.c
      	(gimp_display_shell_get_scaled_viewport): Extend the interface
      	with this function
      
      	* app/tools/gimprectangletool.c
      	(gimp_rectangle_tool_update_handle_sizes): Forget anything we knew
      	about how to interpret the icky GimpDisplayShell offset variables
      
      svn path=/trunk/; revision=26111
      19325009
    • Martin Nordholts's avatar
      Make gimp_display_shell_scroll() a sane public interface for scrolling and · 8f212645
      Martin Nordholts authored
      2008-07-10  Martin Nordholts  <martinn@svn.gnome.org>
      
      	* app/display/gimpdisplayshell-scroll.[ch]: Make
      	gimp_display_shell_scroll() a sane public interface for scrolling
      	and call the old version gimp_display_shell_scroll_private()
      
      	* app/display/gimpnavigationeditor.c: Adapt to the saner version
      	of gimp_display_shell_scroll()
      
      	* app/display/gimpdisplayshell-callbacks.c: 
      	* app/display/gimpdisplayshell-autoscroll.c: Use the private
      	version of gimp_display_shell_scroll()
      
      	* app/display/Makefile.am: Added gimpdisplayshell-private.h
      
      svn path=/trunk/; revision=26110
      8f212645
    • Martin Nordholts's avatar
      The return value of gimp_display_shell_scroll() is not used anywhere, make · abd52cc4
      Martin Nordholts authored
      2008-07-10  Martin Nordholts  <martinn@svn.gnome.org>
      
      	* app/display/gimpdisplayshell-scroll.[ch]: The return value of
      	gimp_display_shell_scroll() is not used anywhere, make it void.
      
      svn path=/trunk/; revision=26109
      abd52cc4
  14. 09 Dec, 2006 1 commit
  15. 31 Oct, 2001 1 commit
  16. 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
  17. 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
  18. 25 Sep, 2001 1 commit
    • 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
  19. 24 Feb, 2001 1 commit
    • Michael Natterer's avatar
      updated. · 17335326
      Michael Natterer authored
      2001-02-24  Michael Natterer  <mitch@gimp.org>
      
      	* TODO.xml: updated.
      
      	* app/appenums.h
      	* app/apptypes.h: prefixed the cursor stuff with "Gimp", added
      	the new stock tool cursor enum. Removed the old ToolType enum.
      
      	* app/cursorutil.[ch]
      	* app/gdisplay.[ch]: removed the old ToolType enum and prefixed
      	the functions with "gimp_". Also stripped all "toggle cursor"
      	stuff from the cursor code, so the new API is easier and not
      	depending on the tool system.
      
      	All existing tool cursors can be used via the new stock tool
      	cursor enum, so no tool has to fiddle around with bitmap cursors.
      	There will be an cursorutil function for registering stock tool
      	cursor types on the fly.
      
      	* app/disp_callbacks.c
      	* app/scroll.[ch]: moved the display scrollbar callbacks from
      	scroll.[ch] to disp_callbacks.c. Removed some crap from scroll.h
      
      	* app/tools/tool.[ch]: removed the BitmapCursor pointers from the
      	tool class struct and add cursor and toggle cursor IDs to the
      	GimpTool struct. Work in progress.
      
      	* app/dialog_handler.c
      	* app/tools/bezier_select.c
      	* app/tools/blend.c
      	* app/tools/bucket_fill.c
      	* app/tools/by_color_select.c
      	* app/tools/clone.c
      	* app/tools/color_picker.c
      	* app/tools/convolve.c
      	* app/tools/crop.c
      	* app/tools/dodgeburn.c
      	* app/tools/edit_selection.c
      	* app/tools/ellipse_select.c
      	* app/tools/flip_tool.c
      	* app/tools/free_select.c
      	* app/tools/fuzzy_select.c
      	* app/tools/ink.c
      	* app/tools/iscissors.c
      	* app/tools/magnify.c
      	* app/tools/measure.c
      	* app/tools/move.c
      	* app/tools/paint_core.[ch]
      	* app/tools/perspective_tool.c
      	* app/tools/rect_select.c
      	* app/tools/rotate_tool.c
      	* app/tools/scale_tool.c
      	* app/tools/shear_tool.c
      	* app/tools/text_tool.c
      	* app/tools/transform_core.[ch]: changed accordingly. Did this
      	"blind" for most tools because they don't compile. The changes are
      	minimal, so there should be no conflicts.
      17335326
  20. 22 Jan, 2001 1 commit
    • Sven Neumann's avatar
      app/gdisplay.c app/gdisplay_ops.c app/info_window.c app/layer.c · 5591b7cd
      Sven Neumann authored
      2001-01-22  Sven Neumann  <sven@gimp.org>
      
      	* app/gdisplay.c
      	* app/gdisplay_ops.c
      	* app/info_window.c
      	* app/layer.c
      	* app/menus.c
      	* app/nav_window.c
      	* app/path.c
      	* app/scroll.[ch]: removed inclusion of superfluous headers and
      	cleaned up the source a little.
      5591b7cd
  21. 29 Dec, 2000 1 commit
    • Michael Natterer's avatar
      app/Makefile.am app/channel_pvt.h app/drawable_pvt.h app/gdisplayF.h · 8d6c335f
      Michael Natterer authored
      2000-12-29  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/channel_pvt.h
      	* app/drawable_pvt.h
      	* app/gdisplayF.h
      	* app/gimpdrawableP.h
      	* app/gimpimageP.h
      	* app/layer_pvt.h
      	* app/toolsF.h: removed these files.
      
      	* app/apptypes.h
      	* tools/pdbgen/enums.pl: added tons of opaque typedefs and enums.
      
      	* tools/pdbgen/pdb/brush_select.pdb
      	* tools/pdbgen/pdb/brushes.pdb
      	* tools/pdbgen/pdb/channel.pdb
      	* tools/pdbgen/pdb/color.pdb
      	* tools/pdbgen/pdb/convert.pdb
      	* tools/pdbgen/pdb/display.pdb
      	* tools/pdbgen/pdb/drawable.pdb
      	* tools/pdbgen/pdb/fileops.pdb
      	* tools/pdbgen/pdb/gradient_select.pdb
      	* tools/pdbgen/pdb/gradients.pdb
      	* tools/pdbgen/pdb/help.pdb
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/layer.pdb
      	* tools/pdbgen/pdb/pattern_select.pdb
      	* tools/pdbgen/pdb/patterns.pdb
      	* tools/pdbgen/pdb/selection.pdb
      	* tools/pdbgen/pdb/tools.pdb
      	* app/*: chainsaw #include cleanup:
      
      	- Never (never!!) include stuff in header files except where we
      	  need access to structures' contents (like derived objects).
      	- Added prototypes and proper formating in many files.
      	- The #include order in *all* *.c files is as follows:
      
      	#include "config.h"
      
      	#include <system stuff>
      
      	#include <gtk/gtk.h>
      
      	#include "apptypes.h"
      
      	#include "gimp stuff"
      
      	#include "libgimp stuff"
      
      	#include "libgimp/gimpintl.h"
      
      	By following this scheme we can easily see a file's dependencies
      	from it's #include's and can grep for the inclusion to find out
      	where a file is used.
      
      	* tools/pdbgen/app.pl: changed to follow the include scheme above.
      
      	* libgimp/Makefile.am
      	* libgimp/gimpuitypes.h: new file, included from libgimp/gimpui.h
      	and from app/apptypes.h.
      
      	* libgimp/gimpcolorbutton.[ch]
      	* libgimp/gimpdialog.[ch]
      	* libgimp/gimphelpui.[ch]
      	* libgimp/gimpparasite.[ch]
      	* libgimp/gimppatheditor.[ch]
      	* libgimp/gimpprotocol.c
      	* libgimp/gimpquerybox.[ch]
      	* libgimp/gimpsizeentry.[ch]
      	* libgimp/gimptypes.h
      	* libgimp/gimpui.h
      	* libgimp/gimpunit.h
      	* libgimp/gimpunitmenu.[ch]
      	* libgimp/gimpwidgets.[ch]: changed accordingly.
      
      	* plug-ins/FractalExplorer/Dialogs.c
      	* plug-ins/gdyntext/message_window.c
      	* plug-ins/imagemap/imap_default_dialog.c
      	* plug-ins/imagemap/imap_file.c: these files used to include
      	"libgimp/gimpui.h" without including "libgimp/gimp.h". This is
      	no longer possible because the libgimpui headers don't inlcude
      	"libgimp/gimpunit.h" any more.
      8d6c335f
  22. 12 Aug, 1999 1 commit
    • BST 1999 Andy Thomas's avatar
      app/commands.c app/commands.h app/disp_callbacks.c app/gdisplay.c · 2557c517
      BST 1999 Andy Thomas authored
      Thu Aug 12 21:38:53 BST 1999 Andy Thomas <alt@gimp.org>
      
      	* app/commands.c
      	* app/commands.h
      	* app/disp_callbacks.c
      	* app/gdisplay.c
      	* app/gdisplay.h
      	* app/info_dialog.c
      	* app/info_dialog.h
      	* app/info_window.c
      	* app/info_window.h
      	* app/menus.c
      	* app/scale.c
      	* app/scroll.c
      	* app/scroll.h
      	* app/nav_window.c (new)
      	* app/nav_window.h (new)
      	* pixmap/dropper.xpm (new)
      
      	New "navigator" image (accessed via <Image>/Window Nav..). This gives
      	an outline of the location of the current view on an image. Eg if your
      	image window is only showing part of an image then the Window Navigation	window will outline the area viewed. You can "drag" the outlined
      	square around the viewport and the main image will scroll. Additional
      	a single click outside the square will center the image at that
      	location.
      
      	Also started to add additional information to a new page inside the
      	Window information dialog (currently only pixel value is shown).
      
      	Both these features are currently work in progress and unfinished.
      	In particular the Navigator does not keep in step with changes
      	to the basic image (however it does keep in step with image size changes	and if you modify the size of the image viewing window). It also
      	does not display the transparent areas of images very nicely.
      2557c517
  23. 13 Apr, 1998 1 commit
  24. 24 Nov, 1997 1 commit