Gimp/app/display
Michael Natterer b348678890 app: avoid inadvertent calls to image actions on file -> revert
When reverting, we load a new image into the old image's existing
displays, and replace all references to the old image by the new image
in all GimpContext instances. We used to first update the displays and
then the contexts, which would shortly produce an inconsistent state
where the contexts were out of sync. When updating the displays with
the new image, we sometimes call menu update functions which would
then use that old image from the context when they should use the new
one, and thus triggered callbacks as if the user had activated a menu
(like image -> precision). To fix this, update the contexts before the
displays. It is also more logical to first update model objects and
then view objects.
2012-12-09 22:54:30 +01:00
..
.gitignore Added .gitignore files generated with git svn create-ignore. 2009-01-31 11:37:44 +00:00
display-enums.c transformtool: Add temporary new handles 2012-08-20 15:22:22 +02:00
display-enums.h transformtool: Add temporary new handles 2012-08-20 15:22:22 +02:00
display-types.h app: move the GimpWindowStrategy interface from display/ to widgets/ 2012-01-30 23:33:21 +01:00
gimpcanvas.c libgimpcolor: add gimp_rgb[a]_set,get_pixel() 2012-05-02 17:50:43 +02:00
gimpcanvas.h Bug 677375: tools do not strictly follow mouse... 2012-06-10 17:22:33 +02:00
gimpcanvasarc.c Remove stray semicolons 2012-08-20 15:22:20 +02:00
gimpcanvasarc.h app: add a "shell" property to GimpCanvasItem 2010-10-01 14:13:45 +02:00
gimpcanvasboundary.c app: move the GTK-free cairo utility functions to core/gimp-cairo.[ch] 2012-05-02 17:51:02 +02:00
gimpcanvasboundary.h app: BoundSeg -> GimpBoundSeg, boundary_foo() -> gimp_boundary_foo() 2012-05-02 17:46:02 +02:00
gimpcanvascorner.c app: s/GdkRectangle/cairo_rectangle_int_t/ in all GimpCanvasItems 2011-04-10 18:15:16 +02:00
gimpcanvascorner.h app: introduce enum GimpHandleAnchor as replacement for GtkAnchorType 2010-10-18 12:50:17 +02:00
gimpcanvascursor.c app: move the GTK-free cairo utility functions to core/gimp-cairo.[ch] 2012-05-02 17:51:02 +02:00
gimpcanvascursor.h app: add and use more GimpCanvasItem setters 2011-03-28 15:15:43 +02:00
gimpcanvasgrid.c app: don't draw the grid if it covers the image entirely 2012-03-04 20:19:57 +01:00
gimpcanvasgrid.h app: add a canvas grid item class and use it to draw the grid 2010-10-02 20:57:40 +02:00
gimpcanvasgroup.c app: add virtual function gboolean GimpCanvasItem::hit() 2011-03-28 18:54:02 +02:00
gimpcanvasgroup.h app: add a "shell" property to GimpCanvasItem 2010-10-01 14:13:45 +02:00
gimpcanvasguide.c app: s/GdkRectangle/cairo_rectangle_int_t/ in all GimpCanvasItems 2011-04-10 18:15:16 +02:00
gimpcanvasguide.h app: add and use more GimpCanvasItem setters 2011-03-28 15:15:43 +02:00
gimpcanvashandle.c transformtool: rotate handles along with frame 2012-08-22 22:53:59 +02:00
gimpcanvashandle.h app: change GimpCanvasItem setters to take GimpCanvasItem* 2011-03-28 12:20:36 +02:00
gimpcanvasitem-utils.c app: make the shift-coordinates-by-anchor functions public API 2010-11-09 11:27:51 +01:00
gimpcanvasitem-utils.h app: make the shift-coordinates-by-anchor functions public API 2010-11-09 11:27:51 +01:00
gimpcanvasitem.c Chain up unconditionally in GObject::constructed() 2012-11-12 21:51:22 +01:00
gimpcanvasitem.h app: add virtual function gboolean GimpCanvasItem::hit() 2011-03-28 18:54:02 +02:00
gimpcanvaslayerboundary.c app: move the layer mask show, edit, apply API from GimpLayerMask to GimpLayer 2012-05-02 17:45:56 +02:00
gimpcanvaslayerboundary.h app: add a layer boundary canvas item class 2010-10-03 00:28:40 +02:00
gimpcanvasline.c app: s/GdkRectangle/cairo_rectangle_int_t/ in all GimpCanvasItems 2011-04-10 18:15:16 +02:00
gimpcanvasline.h app: change GimpCanvasItem setters to take GimpCanvasItem* 2011-03-28 12:20:36 +02:00
gimpcanvaspassepartout.c app: s/GdkRectangle/cairo_rectangle_int_t/ in all GimpCanvasItems 2011-04-10 18:15:16 +02:00
gimpcanvaspassepartout.h app/display: add new canvas item GimpCanvasPassePartout 2010-10-18 22:17:27 +02:00
gimpcanvaspath.c app: Remove unused variable 2011-07-03 16:38:37 +02:00
gimpcanvaspath.h app: clean up the new brush outline stuff a bit 2011-06-30 09:27:43 +02:00
gimpcanvaspen.c app: s/GdkRectangle/cairo_rectangle_int_t/ in all GimpCanvasItems 2011-04-10 18:15:16 +02:00
gimpcanvaspen.h app: add a pen canvas item class and use it in the foreground select tool 2010-10-03 02:26:40 +02:00
gimpcanvaspolygon.c plugged memory leaks 2012-02-07 17:32:02 +01:00
gimpcanvaspolygon.h app: implement the "points" property using GimpArray 2010-10-03 01:43:22 +02:00
gimpcanvasprogress.c app: s/GdkRectangle/cairo_rectangle_int_t/ in all GimpCanvasItems 2011-04-10 18:15:16 +02:00
gimpcanvasprogress.h app: add GimpCanvasProgress, an on-canvas progress item 2010-11-09 19:35:04 +01:00
gimpcanvasproxygroup.c app: add a "shell" property to GimpCanvasItem 2010-10-01 14:13:45 +02:00
gimpcanvasproxygroup.h app: add a "shell" property to GimpCanvasItem 2010-10-01 14:13:45 +02:00
gimpcanvasrectangle.c app: s/GdkRectangle/cairo_rectangle_int_t/ in all GimpCanvasItems 2011-04-10 18:15:16 +02:00
gimpcanvasrectangle.h app: port GimpMagnifyTool away from draw_tool_pause()/resume() 2011-03-28 12:22:29 +02:00
gimpcanvasrectangleguides.c app: add "n-lines" property to GimpCanvasRectangleGuides 2011-07-24 17:49:31 +02:00
gimpcanvasrectangleguides.h app: add "n-lines" property to GimpCanvasRectangleGuides 2011-07-24 17:49:31 +02:00
gimpcanvassamplepoint.c app: s/GdkRectangle/cairo_rectangle_int_t/ in all GimpCanvasItems 2011-04-10 18:15:16 +02:00
gimpcanvassamplepoint.h app: gimp_canvas_sample_point_set(): x and y are integers not doubles 2011-04-03 23:42:26 +02:00
gimpcanvastextcursor.c app: s/GdkRectangle/cairo_rectangle_int_t/ in all GimpCanvasItems 2011-04-10 18:15:16 +02:00
gimpcanvastextcursor.h app: add a "shell" property to GimpCanvasItem 2010-10-01 14:13:45 +02:00
gimpcanvastransformguides.c app: implement all rectangle guides options for the transform guides 2011-07-24 19:07:51 +02:00
gimpcanvastransformguides.h app: add GimpCanvasTransformGuides and use them in the transform tool 2011-07-24 18:42:13 +02:00
gimpcanvastransformpreview.c app: speed up GimpCanvasTransformPreview massively 2012-06-07 00:50:58 +02:00
gimpcanvastransformpreview.h app: refactor GimpCanvasTransformPreview to not know GimpTransformTool any more 2011-03-27 21:19:38 +02:00
gimpcursorview.c app: port gimp_image_pick_color() to return a Babl format 2012-05-02 17:50:39 +02:00
gimpcursorview.h Change licence to GPLv3 (and to LGPLv3 for libgimp). 2009-01-17 22:28:01 +00:00
gimpdisplay-foreach.c app: avoid inadvertent calls to image actions on file -> revert 2012-12-09 22:54:30 +01:00
gimpdisplay-foreach.h Change licence to GPLv3 (and to LGPLv3 for libgimp). 2009-01-17 22:28:01 +00:00
gimpdisplay-handlers.c Move refing/unrefing the image to gimp_display_set_image() 2009-10-07 21:13:39 +02:00
gimpdisplay-handlers.h Move refing/unrefing the image to gimp_display_set_image() 2009-10-07 21:13:39 +02:00
gimpdisplay.c app: use g_get_monotonic_time() also for limiting display flushing 2012-10-06 18:01:41 +02:00
gimpdisplay.h app: remove gimpdisplay-utils.[ch], move its only function to gimpdisplay.[ch] 2012-02-11 17:57:27 +01:00
gimpdisplayshell-appearance.c app: turn the transform preview into a GimpCanvasItem 2011-03-27 16:40:41 +02:00
gimpdisplayshell-appearance.h app: turn the transform preview into a GimpCanvasItem 2011-03-27 16:40:41 +02:00
gimpdisplayshell-autoscroll.c app: add gimp_context_get_foreground,background_pixel() 2012-05-02 17:50:41 +02:00
gimpdisplayshell-autoscroll.h Change licence to GPLv3 (and to LGPLv3 for libgimp). 2009-01-17 22:28:01 +00:00
gimpdisplayshell-callbacks.c app: move the GTK-free cairo utility functions to core/gimp-cairo.[ch] 2012-05-02 17:51:02 +02:00
gimpdisplayshell-callbacks.h app: name display scrollbar callbacks like the signal they are handling 2011-02-24 02:15:53 +01:00
gimpdisplayshell-close.c Bug 687673 - The image has been exported to '(null)' when export... 2012-11-06 22:13:49 +01:00
gimpdisplayshell-close.h Change licence to GPLv3 (and to LGPLv3 for libgimp). 2009-01-17 22:28:01 +00:00
gimpdisplayshell-cursor.c app: fix condition that disallowed bottom right side cursor 2012-08-27 15:06:30 +02:00
gimpdisplayshell-cursor.h app: rename the functions dealing with GimpDisplayShell's software cursor 2011-02-20 14:46:52 +01:00
gimpdisplayshell-dnd.c Bug 683050 - Copying a layer group to a new xcf results in portions... 2012-09-05 13:03:47 +02:00
gimpdisplayshell-dnd.h Change licence to GPLv3 (and to LGPLv3 for libgimp). 2009-01-17 22:28:01 +00:00
gimpdisplayshell-draw.c app: completely remove TileManager and friends (base/ and paint-funcs/) 2012-06-20 21:44:09 +02:00
gimpdisplayshell-draw.h app: use a GimpCanvasPassePartout for drawing the crop highlight 2010-11-12 19:47:51 +01:00
gimpdisplayshell-expose.c plugged memory leaks 2012-02-07 17:32:02 +01:00
gimpdisplayshell-expose.h app: remove the unused gimp_display_shell_expose_vectors() 2010-11-13 23:02:07 +01:00
gimpdisplayshell-filter-dialog.c app: derive GimpDisplayShell from GtkBox instead of GtkVBox 2010-10-30 15:12:20 +02:00
gimpdisplayshell-filter-dialog.h Change licence to GPLv3 (and to LGPLv3 for libgimp). 2009-01-17 22:28:01 +00:00
gimpdisplayshell-filter.c Move GimpDisplayShell's expose functions to separate files 2009-10-02 23:55:26 +02:00
gimpdisplayshell-filter.h Change licence to GPLv3 (and to LGPLv3 for libgimp). 2009-01-17 22:28:01 +00:00
gimpdisplayshell-grab.c app: remove checks for grab time consistency 2011-12-11 16:39:01 +01:00
gimpdisplayshell-grab.h app: sprinkle const qualifiers in the tool event callback functions 2011-05-31 23:18:11 +02:00
gimpdisplayshell-handlers.c Corrected spelling errors spotted by Ari Pollak (Mostly fixes bug #683694) 2012-09-10 12:22:12 -04:00
gimpdisplayshell-handlers.h Change licence to GPLv3 (and to LGPLv3 for libgimp). 2009-01-17 22:28:01 +00:00
gimpdisplayshell-icon.c Simplify GimpDisplayShell's icon update API 2009-10-08 23:30:56 +02:00
gimpdisplayshell-icon.h Simplify GimpDisplayShell's icon update API 2009-10-08 23:30:56 +02:00
gimpdisplayshell-items.c Bug 663121 - guides are below rotate/transform/shear/perspective preview 2011-11-16 21:32:29 +01:00
gimpdisplayshell-items.h Bug 663121 - guides are below rotate/transform/shear/perspective preview 2011-11-16 21:32:29 +01:00
gimpdisplayshell-layer-select.c app: use gtk_box_new() 2011-09-30 11:29:11 +02:00
gimpdisplayshell-layer-select.h Change licence to GPLv3 (and to LGPLv3 for libgimp). 2009-01-17 22:28:01 +00:00
gimpdisplayshell-progress.c Globally switch to saying "window_id" instead of just "window" 2011-02-06 12:07:55 +01:00
gimpdisplayshell-progress.h Add gimp_statusbar_override/restore_window_title() 2009-09-28 22:55:52 +02:00
gimpdisplayshell-render.c app: add GimpTileHandlerProjection and use it to validate the projection 2012-07-05 21:42:26 +02:00
gimpdisplayshell-render.h app/display: implement drawing of selection mask 2010-09-29 20:35:00 +02:00
gimpdisplayshell-scale-dialog.c app: pass a format, not bpp, to gimp_viewable_get_dummy_pixbuf() 2012-05-02 17:51:08 +02:00
gimpdisplayshell-scale-dialog.h Change licence to GPLv3 (and to LGPLv3 for libgimp). 2009-01-17 22:28:01 +00:00
gimpdisplayshell-scale.c app/libgimp*: remove stuff found by -Wunused-but-set-variable 2011-05-01 23:23:19 +02:00
gimpdisplayshell-scale.h app/tests: Add keyboard zoom focus regression test 2010-06-18 20:57:59 +02:00
gimpdisplayshell-scroll.c app: remove GimpDisplayShell-scroll API that is now unused 2012-06-30 14:22:47 +02:00
gimpdisplayshell-scroll.h app: remove GimpDisplayShell-scroll API that is now unused 2012-06-30 14:22:47 +02:00
gimpdisplayshell-selection.c app: move the GTK-free cairo utility functions to core/gimp-cairo.[ch] 2012-05-02 17:51:02 +02:00
gimpdisplayshell-selection.h app: get rid of selection_control() in core/ and display/ 2010-10-09 20:28:37 +02:00
gimpdisplayshell-style.c app: move the GTK-free cairo utility functions to core/gimp-cairo.[ch] 2012-05-02 17:51:02 +02:00
gimpdisplayshell-style.h app: Refactor path code to support styles and add outline style for use in brush outline 2011-06-29 23:05:14 +03:00
gimpdisplayshell-title.c Bug 676566 - Window title becomes "Untitled" after exporting without saving 2012-07-17 22:52:49 +02:00
gimpdisplayshell-title.h Remove gimp_display_shell_title() because it was completely empty 2009-09-28 22:55:39 +02:00
gimpdisplayshell-tool-events.c display - run the file-open command when double-clicking in an empty shell. 2012-12-01 22:31:29 +09:00
gimpdisplayshell-tool-events.h app: GimpMotionBuffer API cleanup and refactoring 2011-04-18 11:08:24 +02:00
gimpdisplayshell-transform.c app: BoundSeg -> GimpBoundSeg, boundary_foo() -> gimp_boundary_foo() 2012-05-02 17:46:02 +02:00
gimpdisplayshell-transform.h app: BoundSeg -> GimpBoundSeg, boundary_foo() -> gimp_boundary_foo() 2012-05-02 17:46:02 +02:00
gimpdisplayshell.c Chain up unconditionally in GObject::constructed() 2012-11-12 21:51:22 +01:00
gimpdisplayshell.h app/cursors/libgimpwidgets: bye bye stone age B&W bitmap cursors 2012-08-26 22:53:04 +02:00
gimpimagewindow.c Bug 595708 - WM_WINDOW_ROLE should be unique 2012-10-07 18:16:35 +02:00
gimpimagewindow.h app: Save the maximized state of the main window in the sessionrc file. 2012-05-27 20:42:02 +02:00
gimpmotionbuffer.c Bug 676270 - cppcheck report 2012-08-04 03:20:36 +02:00
gimpmotionbuffer.h app: add gimp_motion_buffer_get_last_motion_time() and use it 2011-04-18 13:13:51 +02:00
gimpmultiwindowstrategy.c app: move the GimpWindowStrategy interface from display/ to widgets/ 2012-01-30 23:33:21 +01:00
gimpmultiwindowstrategy.h app: Make positioning of new dockables depend on window mode 2011-07-03 21:20:36 +02:00
gimpnavigationeditor.c libgimpwidgets: add gtk_scale_new() to gimp3migration.[ch] 2011-10-02 14:36:41 +02:00
gimpnavigationeditor.h app: Undeprecate GimpNavigationEditor 2011-07-05 22:13:18 +02:00
gimpscalecombobox.c Chain up unconditionally in GObject::constructed() 2012-11-12 21:51:22 +01:00
gimpscalecombobox.h app: GimpScaleComboBox: don't derive from GtkComboBoxEntry 2011-04-18 21:49:23 +02:00
gimpsinglewindowstrategy.c app: move the GimpWindowStrategy interface from display/ to widgets/ 2012-01-30 23:33:21 +01:00
gimpsinglewindowstrategy.h app: Make positioning of new dockables depend on window mode 2011-07-03 21:20:36 +02:00
gimpstatusbar.c Use the new g_[s]list_free_full() instead of foreach() and free() 2011-03-07 17:11:28 +01:00
gimpstatusbar.h app: avoid using sealed GtkStatusbar members 2010-04-20 09:56:59 +02:00
gimptooldialog.c app: clean up last fix in GimpToolDialog 2012-06-30 14:27:48 +02:00
gimptooldialog.h Bug 643155 - Tool dialogs don't stay on top of the image window 2011-03-20 18:15:42 +01:00
Makefile.am app: remove gimpdisplay-utils.[ch], move its only function to gimpdisplay.[ch] 2012-02-11 17:57:27 +01:00