Gimp/app/tools
Jehan 845eb522b6 Bug 793777 - CRITICALs on focus change in MWM with stylus.
Focus change events were expecting the current tool control to be
inactive, which was the case most of the time. Yet with stylus, the
canvas was sometimes receiving GDK_BUTTON_PRESS events before
GDK_FOCUS_CHANGE. In particular the canvas was receiving a button press
before the focus out, then button release and focus in. Therefore by the
time the focus out event happens, the tool control is active, which
broke a few calls.
Therefore I add a few checks and returns immediately when
gimp_tool_control_is_active() return TRUE, especially since we also run
gimp_display_shell_update_focus() calls after a button press anyway so
the state should already be consistent.
2018-03-19 15:30:41 +01:00
..
.gitignore enums: add intermediate generated enum files to .gitignore 2017-08-24 15:35:27 -04:00
gimp-tools.c app: add small hack to make the generic operation tool always invisible 2018-01-04 19:23:39 +01:00
gimp-tools.h
gimpairbrushtool.c Deprecate stock items for good and change all icon defines to GIMP_ICON_* 2017-03-05 16:01:59 +01:00
gimpairbrushtool.h
gimpalignoptions.c Deprecate stock items for good and change all icon defines to GIMP_ICON_* 2017-03-05 16:01:59 +01:00
gimpalignoptions.h Fixes parent_instence typo 2015-07-25 03:26:56 -03:00
gimpaligntool.c app: add gimp_image_pick_vectors(), remove gimp_draw_tool_on_vectors() 2017-06-22 11:35:57 +02:00
gimpaligntool.h
gimpblendoptions.c Revert "app: "distance-metric" is now a property of GimpContext." 2018-03-17 20:05:54 +01:00
gimpblendoptions.h Revert "app: "distance-metric" is now a property of GimpContext." 2018-03-17 20:05:54 +01:00
gimpblendtool-editor.c app: replace all g_assert() by the newly added gimp_assert() 2018-02-11 22:23:10 +01:00
gimpblendtool-editor.h app: don't update blend tool filter upon irrelevant line changes 2017-10-09 12:48:55 -04:00
gimpblendtool.c Revert "app: "distance-metric" is now a property of GimpContext." 2018-03-17 20:05:54 +01:00
gimpblendtool.h app: implement tool undo for gradient editing in the blend tool 2017-10-09 12:48:55 -04:00
gimpbrightnesscontrasttool.c Bug 792470 - Some filters e.g. "Levels" are not added to "Repeat last" history 2018-01-14 15:42:29 +01:00
gimpbrightnesscontrasttool.h Bug 776503 - brightness-contrast in split preview mode changes... 2016-12-26 17:50:11 +01:00
gimpbrushtool.c app: replace all g_assert() by the newly added gimp_assert() 2018-02-11 22:23:10 +01:00
gimpbrushtool.h app: also move the "draw brush outline" logic from brush to paint tool 2014-04-12 15:03:15 +02:00
gimpbucketfilloptions.c Bug 553855 - Bucket fill colour is always blended with filled pixel colour... 2016-09-15 12:24:37 +02:00
gimpbucketfilloptions.h Bug 553855 - Bucket fill colour is always blended with filled pixel colour... 2016-09-15 12:24:37 +02:00
gimpbucketfilltool.c Deprecate stock items for good and change all icon defines to GIMP_ICON_* 2017-03-05 16:01:59 +01:00
gimpbucketfilltool.h
gimpbycolorselecttool.c Deprecate stock items for good and change all icon defines to GIMP_ICON_* 2017-03-05 16:01:59 +01:00
gimpbycolorselecttool.h
gimpcageoptions.c app: port tons of files to the new GIMP_CONFIG_PROP_FOO() macros 2016-02-11 23:46:24 +01:00
gimpcageoptions.h
gimpcagetool.c app: use a lot of g_clear_object() and g_clear_pointer() 2017-07-15 18:42:44 +02:00
gimpcagetool.h app: rename GimpImageMap to GimpDrawableFilter 2016-05-12 01:49:53 +02:00
gimpcloneoptions-gui.c app: port tons of files to the new GIMP_CONFIG_PROP_FOO() macros 2016-02-11 23:46:24 +01:00
gimpcloneoptions-gui.h
gimpclonetool.c Deprecate stock items for good and change all icon defines to GIMP_ICON_* 2017-03-05 16:01:59 +01:00
gimpclonetool.h
gimpcoloroptions.c Bug 776417 - improve Sample Average and Sample Merged description. 2017-01-03 04:21:42 +01:00
gimpcoloroptions.h app: clean up a lot of werid code in GimpColorOptions and GimpFilterOptions 2016-05-13 22:06:14 +02:00
gimpcolorpickeroptions.c app: remember the modes of the color picker info window's GimpColorFrames 2017-11-12 20:33:42 +01:00
gimpcolorpickeroptions.h app: remember the modes of the color picker info window's GimpColorFrames 2017-11-12 20:33:42 +01:00
gimpcolorpickertool.c app: remember the modes of the color picker info window's GimpColorFrames 2017-11-12 20:33:42 +01:00
gimpcolorpickertool.h
gimpcolortool.c app: add gimp_widget_blink(); use instead of gimp_dockable_blink() 2017-10-28 10:07:10 -04:00
gimpcolortool.h app: change GimpColorTool to not touch tool->display and tool->drawable 2017-06-30 21:23:29 +02:00
gimpconvolvetool.c Deprecate stock items for good and change all icon defines to GIMP_ICON_* 2017-03-05 16:01:59 +01:00
gimpconvolvetool.h
gimpcropoptions.c Bug 770689 - Custom transparency controller for dark... 2018-01-02 14:33:27 +01:00
gimpcropoptions.h Bug 764024 - Allow to choose fill color when resizing layers and images 2016-10-10 00:21:36 +02:00
gimpcroptool.c Bug 784802 - Crop and rectangle-select tools incorrectly detect ... 2018-02-25 10:23:58 -05:00
gimpcroptool.h Bug 784802 - Crop and rectangle-select tools incorrectly detect ... 2018-02-15 17:06:51 -05:00
gimpcurvestool.c app: add weak pointers for the curves and levels hisrogram view members 2018-01-29 21:01:57 +01:00
gimpcurvestool.h app: rename GimpImageMapTool to GimpFilterTool 2016-05-10 13:52:24 +02:00
gimpdodgeburntool.c Deprecate stock items for good and change all icon defines to GIMP_ICON_* 2017-03-05 16:01:59 +01:00
gimpdodgeburntool.h
gimpdrawtool.c app: use matrix to determine if doing perspective transform in preview 2017-11-14 11:24:56 -05:00
gimpdrawtool.h app: use matrix to determine if doing perspective transform in preview 2017-11-14 11:24:56 -05:00
gimpeditselectiontool.c Bug 793373 - Crash when ctrl-alt-clicking, dragging then releasing... 2018-02-12 05:18:26 -05:00
gimpeditselectiontool.h
gimpellipseselecttool.c app: port the rectangle and ellipse select tools to GimpToolRectangle 2017-06-27 18:25:31 +02:00
gimpellipseselecttool.h
gimperasertool.c Deprecate stock items for good and change all icon defines to GIMP_ICON_* 2017-03-05 16:01:59 +01:00
gimperasertool.h
gimpfilteroptions.c app: remove GimpFilterOptions' "settings" property 2017-06-08 22:28:50 +02:00
gimpfilteroptions.h app: remove GimpFilterOptions' "settings" property 2017-06-08 22:28:50 +02:00
gimpfiltertool-settings.c app: add an optional "label" to GimpTool which overrides GimpToolInfo's 2017-07-04 22:31:17 +02:00
gimpfiltertool-settings.h app: remove some overengineering from GimpFilterTool 2017-03-25 14:57:15 +01:00
gimpfiltertool-widgets.c app: reset GimpFilterTool widget when resetting settings 2018-03-18 14:35:11 -04:00
gimpfiltertool-widgets.h app: reset GimpFilterTool widget when resetting settings 2018-03-18 14:35:11 -04:00
gimpfiltertool.c app: reset GimpFilterTool widget when resetting settings 2018-03-18 14:35:11 -04:00
gimpfiltertool.h app: allow specifying a callback function for propgui pickers 2017-10-16 12:38:37 -04:00
gimpflipoptions.c app: add "clipping" option to the flip tool 2017-06-11 15:09:46 -04:00
gimpflipoptions.h app: add support for reflecting across guides to the flip tool 2017-06-11 15:09:24 -04:00
gimpfliptool.c app: in GimpFlipTool, stop drawing before initializing tool 2017-09-20 07:45:58 -04:00
gimpfliptool.h app: add support for reflecting across guides to the flip tool 2017-06-11 15:09:24 -04:00
gimpforegroundselectoptions.c Deprecate stock items for good and change all icon defines to GIMP_ICON_* 2017-03-05 16:01:59 +01:00
gimpforegroundselectoptions.h Improve Foreground Select tool's GUI 2013-12-13 12:20:19 -08:00
gimpforegroundselecttool.c app: fix GimpForegroundSelectTool after GimpFreeSelectTool changes 2017-12-07 19:53:20 +01:00
gimpforegroundselecttool.h app: fix GimpForegroundSelectTool after GimpFreeSelectTool changes 2017-12-07 19:53:20 +01:00
gimpforegroundselecttoolundo.c app: replace all g_assert() by the newly added gimp_assert() 2018-02-11 22:23:10 +01:00
gimpforegroundselecttoolundo.h app: move tool undo typedefs out of tools-types.h 2016-05-11 11:23:14 +02:00
gimpfreeselecttool.c Bug 785781 - Additional Free Selection step (hitting Enter)... 2017-12-01 22:19:42 +01:00
gimpfreeselecttool.h app: use a GimpToolPolygon in GimpFreeSelectTool 2017-06-23 01:59:37 +02:00
gimpfuzzyselecttool.c Deprecate stock items for good and change all icon defines to GIMP_ICON_* 2017-03-05 16:01:59 +01:00
gimpfuzzyselecttool.h
gimpgegltool.c Create custom UI for GEGL-based Shadows-Highlights filter... 2018-01-05 05:56:08 +03:00
gimpgegltool.h
gimpgenerictransformtool.c app: add GimpGenericTransformTool 2018-01-27 07:30:29 -05:00
gimpgenerictransformtool.h app: add GimpGenericTransformTool 2018-01-27 07:30:29 -05:00
gimpguidetool.c app: replace all g_assert() by the newly added gimp_assert() 2018-02-11 22:23:10 +01:00
gimpguidetool.h Bug 770911 - Move tool should display relative coordinates in statusbar... 2016-10-01 22:45:51 +02:00
gimphandletransformoptions.c app: port tons of files to the new GIMP_CONFIG_PROP_FOO() macros 2016-02-11 23:46:24 +01:00
gimphandletransformoptions.h Bug 721009 - new transform tool with freely placeable handles 2015-03-05 12:36:59 +01:00
gimphandletransformtool.c app: port relevant transform tools to GimpGenericTransformTool 2018-01-27 07:30:30 -05:00
gimphandletransformtool.h app: port relevant transform tools to GimpGenericTransformTool 2018-01-27 07:30:30 -05:00
gimphealtool.c Deprecate stock items for good and change all icon defines to GIMP_ICON_* 2017-03-05 16:01:59 +01:00
gimphealtool.h
gimphistogramoptions.c app: clean up a lot of werid code in GimpColorOptions and GimpFilterOptions 2016-05-13 22:06:14 +02:00
gimphistogramoptions.h app: clean up a lot of werid code in GimpColorOptions and GimpFilterOptions 2016-05-13 22:06:14 +02:00
gimpinkoptions-gui.c app: port tons of files to the new GIMP_CONFIG_PROP_FOO() macros 2016-02-11 23:46:24 +01:00
gimpinkoptions-gui.h
gimpinktool.c Deprecate stock items for good and change all icon defines to GIMP_ICON_* 2017-03-05 16:01:59 +01:00
gimpinktool.h app: use gimp_paint_tool_set_draw_circle() in the ink tool 2014-04-09 15:27:37 +02:00
gimpiscissorsoptions.c app: port tons of files to the new GIMP_CONFIG_PROP_FOO() macros 2016-02-11 23:46:24 +01:00
gimpiscissorsoptions.h
gimpiscissorstool.c app: change GimpTileHandlerValidate's API to use GeglRectangle 2017-08-05 15:43:41 +02:00
gimpiscissorstool.h app: remove the dynamic programming buffer from the GimpIscissorsTool struct 2016-10-07 01:58:37 +02:00
gimplevelstool.c app: add weak pointers for the curves and levels hisrogram view members 2018-01-29 21:01:57 +01:00
gimplevelstool.h app: rename GimpImageMapTool to GimpFilterTool 2016-05-10 13:52:24 +02:00
gimpmagnifyoptions.c app: port tons of files to the new GIMP_CONFIG_PROP_FOO() macros 2016-02-11 23:46:24 +01:00
gimpmagnifyoptions.h
gimpmagnifytool.c Deprecate stock items for good and change all icon defines to GIMP_ICON_* 2017-03-05 16:01:59 +01:00
gimpmagnifytool.h
gimpmeasureoptions.c app: port tons of files to the new GIMP_CONFIG_PROP_FOO() macros 2016-02-11 23:46:24 +01:00
gimpmeasureoptions.h
gimpmeasuretool.c Bug 792981 - Measure tool is measuring one pixel to the right of initial point 2018-01-28 15:07:47 +01:00
gimpmeasuretool.h app: rename all tools' widget members to simply "widget" 2017-06-27 22:50:50 +02:00
gimpmoveoptions.c app: port tons of files to the new GIMP_CONFIG_PROP_FOO() macros 2016-02-11 23:46:24 +01:00
gimpmoveoptions.h Fixes parent_instence typo 2015-07-25 03:26:56 -03:00
gimpmovetool.c app: add gimp_image_pick_vectors(), remove gimp_draw_tool_on_vectors() 2017-06-22 11:35:57 +02:00
gimpmovetool.h app: remove obsolete prototypes from gimpmovetool.h 2017-07-11 12:42:30 +02:00
gimpmybrushoptions-gui.c app: Add "No erasing effect" parameter to MyPaint brush 2018-01-03 02:23:53 +01:00
gimpmybrushoptions-gui.h app: connect the MyPaint brush core with the new brush container 2015-12-21 12:28:46 +01:00
gimpmybrushtool.c libgimpwidgets, *: deprecating stock IDs for good, part one... 2017-02-28 19:31:27 +01:00
gimpmybrushtool.h app: correct outline calculation to match mypaint and add fallback 2015-12-29 19:37:45 +02:00
gimpnpointdeformationoptions.c app: port tons of files to the new GIMP_CONFIG_PROP_FOO() macros 2016-02-11 23:46:24 +01:00
gimpnpointdeformationoptions.h app: npd: no CAPS in property and member names 2015-03-01 18:21:17 +01:00
gimpnpointdeformationtool.c app: use a lot of g_clear_object() and g_clear_pointer() 2017-07-15 18:42:44 +02:00
gimpnpointdeformationtool.h app: simplify npd tool motion event handling 2015-03-01 23:57:10 +01:00
gimpoperationtool.c Bug 791315: Using the Gaussian Blur filter twice (Re-Show)... 2018-03-18 17:39:03 +01:00
gimpoperationtool.h app: also make options_box into a GWeakRef. 2017-10-05 00:11:36 +02:00
gimppaintbrushtool.c Deprecate stock items for good and change all icon defines to GIMP_ICON_* 2017-03-05 16:01:59 +01:00
gimppaintbrushtool.h
gimppaintoptions-gui.c Bug 793276 - Make jitter scale run to 5 instead of 50 2018-02-12 12:51:23 +01:00
gimppaintoptions-gui.h
gimppainttool.c app: replace all g_assert() by the newly added gimp_assert() 2018-02-11 22:23:10 +01:00
gimppainttool.h app: get rid of hardcoding GDK_SHIFT_MASK in tools/ 2015-10-17 15:31:08 +02:00
gimppenciltool.c Deprecate stock items for good and change all icon defines to GIMP_ICON_* 2017-03-05 16:01:59 +01:00
gimppenciltool.h
gimpperspectiveclonetool.c app: connect to GimpToolWidget::snap-offsets in GimpDrawTool 2017-06-26 20:37:51 +02:00
gimpperspectiveclonetool.h app: use a GimpToolTransformGrid in GimpPerspectiveClone 2017-06-19 20:43:46 +02:00
gimpperspectivetool.c app: port relevant transform tools to GimpGenericTransformTool 2018-01-27 07:30:30 -05:00
gimpperspectivetool.h app: port relevant transform tools to GimpGenericTransformTool 2018-01-27 07:30:30 -05:00
gimprectangleoptions.c app: set GimpRectangleOptions highlight-opacity scale to 100 2018-02-15 17:06:51 -05:00
gimprectangleoptions.h Bug 770689 - Custom transparency controller for dark... 2018-01-02 14:33:27 +01:00
gimprectangleselectoptions.c Bug 770689 - Custom transparency controller for dark... 2018-01-02 14:33:27 +01:00
gimprectangleselectoptions.h Fixes parent_instence typo 2015-07-25 03:26:56 -03:00
gimprectangleselecttool.c Bug 784802 - Crop and rectangle-select tools incorrectly detect ... 2018-02-25 10:23:58 -05:00
gimprectangleselecttool.h app: port the rectangle and ellipse select tools to GimpToolRectangle 2017-06-27 18:25:31 +02:00
gimpregionselectoptions.c app: port tons of files to the new GIMP_CONFIG_PROP_FOO() macros 2016-02-11 23:46:24 +01:00
gimpregionselectoptions.h app: Add "Diagonal neighbors" option to the fuzzy select tool 2016-01-17 00:46:54 +01:00
gimpregionselecttool.c Bug 791512 - make the selection boundary detection the same as 2.8 2017-12-18 21:01:30 +01:00
gimpregionselecttool.h
gimprotatetool.c app: also manage all contrain and frompivot properties centrally 2017-06-19 23:29:01 +02:00
gimprotatetool.h
gimpsamplepointtool.c Bug 770911 - Move tool should display relative coordinates in statusbar... 2016-10-01 22:45:51 +02:00
gimpsamplepointtool.h Bug 770911 - Move tool should display relative coordinates in statusbar... 2016-10-01 22:45:51 +02:00
gimpscaletool.c Bug 790293 - Scale tool: Ctrl uses top-left corner of selection... 2018-01-11 20:05:53 +01:00
gimpscaletool.h
gimpseamlesscloneoptions.c app: port tons of files to the new GIMP_CONFIG_PROP_FOO() macros 2016-02-11 23:46:24 +01:00
gimpseamlesscloneoptions.h "gegl:seamless-clone" operation's properties "max-refine-steps" changed… 2015-07-12 19:47:49 +02:00
gimpseamlessclonetool.c app: use a lot of g_clear_object() and g_clear_pointer() 2017-07-15 18:42:44 +02:00
gimpseamlessclonetool.h app: rename GimpImageMap to GimpDrawableFilter 2016-05-12 01:49:53 +02:00
gimpselectionoptions.c app: port tons of files to the new GIMP_CONFIG_PROP_FOO() macros 2016-02-11 23:46:24 +01:00
gimpselectionoptions.h
gimpselectiontool.c app: rename gimpimage-pick-layer.[ch] to gimpimage-pick-item.[ch] 2017-06-22 08:17:40 +02:00
gimpselectiontool.h
gimpsheartool.c Bug 791949 - Please ind Shift+T to the Unified Transform Tool 2018-01-03 18:02:28 +01:00
gimpsheartool.h
gimpsmudgetool.c Bug 785001 - Enhanced smudge tool: Smudge with painting 2018-01-03 02:29:33 +01:00
gimpsmudgetool.h
gimpsourcetool.c app: in tools, show source location indicator at pixel center 2017-04-03 15:33:23 -04:00
gimpsourcetool.h
gimptextoptions.c app: remove GimpRectangleOptions stuff from GimpTextOptions 2017-06-28 19:34:47 +02:00
gimptextoptions.h
gimptexttool-editor.c app: port GimpTextTool to GimpToolRectangle 2017-06-28 15:40:38 +02:00
gimptexttool-editor.h app: fix various undo- and preedit-related text tool issues 2016-06-05 16:36:56 +02:00
gimptexttool.c app: implement GimpToolActiveModifiers in GimpTool 2017-10-29 16:42:53 +01:00
gimptexttool.h app: port GimpTextTool to GimpToolRectangle 2017-06-28 15:40:38 +02:00
gimpthresholdtool.c Bug 792470 - Some filters e.g. "Levels" are not added to "Repeat last" history 2018-01-14 15:42:29 +01:00
gimpthresholdtool.h app, pdb, libgimp: allow to choose the channel when thresholding 2016-11-01 22:45:37 +01:00
gimptilehandleriscissors.c app: change most of Iscissors to use a GimpPickable not a GimpImage 2016-10-07 01:18:16 +02:00
gimptilehandleriscissors.h app: change most of Iscissors to use a GimpPickable not a GimpImage 2016-10-07 01:18:16 +02:00
gimptool-progress.c app: add gimp_progress_set_text_literal() 2014-07-20 23:32:19 +02:00
gimptool-progress.h
gimptool.c app: replace all g_assert() by the newly added gimp_assert() 2018-02-11 22:23:10 +01:00
gimptool.h app: add an optional "label" to GimpTool which overrides GimpToolInfo's 2017-07-04 22:31:17 +02:00
gimptoolcontrol.c app: let tools control how they recieve modifier keys during a stroke 2017-10-29 16:42:53 +01:00
gimptoolcontrol.h app: let tools control how they recieve modifier keys during a stroke 2017-10-29 16:42:53 +01:00
gimptooloptions-gui.c
gimptooloptions-gui.h
gimptransformoptions.c Bug 790293 - Scale tool: Ctrl uses top-left corner of selection... 2018-01-11 20:05:53 +01:00
gimptransformoptions.h app: oops, fix last commit 2015-03-05 10:28:50 +01:00
gimptransformtool.c app: check that GimpTool's display is present before actual commit. 2018-02-11 02:08:42 +01:00
gimptransformtool.h app: add transform_valid member to GimpTransformTool 2018-01-27 07:30:28 -05:00
gimptransformtoolundo.c app: replace all g_assert() by the newly added gimp_assert() 2018-02-11 22:23:10 +01:00
gimptransformtoolundo.h app: move tool undo typedefs out of tools-types.h 2016-05-11 11:23:14 +02:00
gimpunifiedtransformtool.c app: port relevant transform tools to GimpGenericTransformTool 2018-01-27 07:30:30 -05:00
gimpunifiedtransformtool.h app: port relevant transform tools to GimpGenericTransformTool 2018-01-27 07:30:30 -05:00
gimpvectoroptions.c app: add a fill button to the vector tool options, just like stroke 2017-06-22 00:53:59 +02:00
gimpvectoroptions.h app: add a fill button to the vector tool options, just like stroke 2017-06-22 00:53:59 +02:00
gimpvectortool.c app: use a lot of g_clear_object() and g_clear_pointer() 2017-07-15 18:42:44 +02:00
gimpvectortool.h app: rename all tools' widget members to simply "widget" 2017-06-27 22:50:50 +02:00
gimpwarpoptions.c app: add interpolation, abyss policy, and high quality preview options ... 2017-05-19 18:29:16 -04:00
gimpwarpoptions.h app: add interpolation, abyss policy, and high quality preview options ... 2017-05-19 18:29:16 -04:00
gimpwarptool.c app: replace all g_assert() by the newly added gimp_assert() 2018-02-11 22:23:10 +01:00
gimpwarptool.h app: add option to stroke the warp tool during cursor motion ... 2017-05-19 04:55:29 -04:00
Makefile.am app: add GimpGenericTransformTool 2018-01-27 07:30:29 -05:00
tool_manager.c Bug 793777 - CRITICALs on focus change in MWM with stylus. 2018-03-19 15:30:41 +01:00
tool_manager.h app: rename GimpTool::get_undo_desc() and ::get_redo_desc() 2017-07-04 20:43:28 +02:00
tools-enums.c app: let tools control how they recieve modifier keys during a stroke 2017-10-29 16:42:53 +01:00
tools-enums.h app: let tools control how they recieve modifier keys during a stroke 2017-10-29 16:42:53 +01:00
tools-types.h app: add GimpGenericTransformTool 2018-01-27 07:30:29 -05:00