Cosmic Chip Socket
cf124b1415
Use XInput2 RawMotion to generate MouseMotion events
...
The current system for capturing the mouse and generating motion events on X11
has issues with inaccurate and lopsided input. This is because both
XQueryPointer and XWarpPointer work in terms of integer coordinates when the
underlying X11 input driver may be tracking the mouse using subpixel
coordinates. When warping the pointer, the fractional part of the pointer
position is discarded.
To work around this issue, the fix uses raw motion events from XInput 2. These
events report relative motion and are not affected by pointer warping.
Additionally, this means Godot is able to detect motion at a higher resolution
under X11. Because this is raw mouse input, it is not affected by the user's
pointer speed and acceleration settings. This is the same system as SDL2 uses
for its relative motion.
Multitouch input on X requires XInput 2.2. Raw motion events require
XInput 2.0. Since 2.0 is old enough, this is now the minimum requirement to
use Godot on X.
2018-12-14 23:51:20 +01:00
Rémi Verschelde
5f32fc8208
Merge pull request #20385 from moiman100/unify-double-clicking
...
Added double clicking to all buttons on Linux and Javascript
2018-12-14 23:47:03 +01:00
Rémi Verschelde
57c3f6a94b
Merge pull request #20063 from moiman100/fix-button-mask
...
Unified button mask behavior across platforms
2018-12-14 23:31:52 +01:00
Rémi Verschelde
46f73c366d
Merge pull request #23651 from Kanabenki/fix-filedialog-editor-focus
...
Prevent FileDialog from stealing focus when setting current file in editor
2018-12-14 23:21:04 +01:00
Rémi Verschelde
a03b72956d
Merge pull request #20081 from moiman100/fix-double-click-hold
...
Fixes is_pressed when holding double click.
2018-12-14 23:18:52 +01:00
Rémi Verschelde
16fda586d9
Android: Don't expose x86_64 ABI for export if we can't build templates for it
...
Support for x86_64 *could* be added in detect.py, but AFAIK this is not
a widespread architecture for Android, much less for gaming devices.
2018-12-14 23:08:00 +01:00
Kanabenki
cfb89b672e
Prevent FileDialog from stealing focus when setting current file in editor
2018-12-14 22:58:01 +01:00
Rémi Verschelde
48fc70e3f7
Merge pull request #23312 from lethiandev/fix-touch-release-gui-input
...
Fix touch release event on _gui_input
2018-12-14 21:25:33 +01:00
Juan Linietsky
8561753574
Merge pull request #24357 from hpvb/make-vector-not-allocate
...
Don't allocate in Vector's ctor
2018-12-14 17:18:58 -03:00
Hein-Pieter van Braam
3ef7ecf546
Don't allocate in Vector's ctor
...
By relying on the fact that a struct or class's first member has the
same address as the struct itself we can cast VectorWriteProxy<T> to
Vector<T> and access the CowData field.
This allows a Vector to be moved in memory without invalidating the
pointer to the cowdata field.
2018-12-14 20:07:35 +00:00
Konrad Nowakowski
7491e910f3
Fix touch release event on _gui_input
2018-12-14 18:28:11 +00:00
Rémi Verschelde
7ac67bfec1
Merge pull request #23464 from GameCoderStudios/master
...
Ability to pick child nodes of scenes instances marked with "Editable…
2018-12-14 18:41:47 +01:00
Rémi Verschelde
f11047aa81
Merge pull request #21856 from AlexHolly/fix-undo-not-showing-error
...
Fix undo redo not showing errors
2018-12-14 17:13:16 +01:00
Rémi Verschelde
1fb47046bb
Merge pull request #21653 from piratesephiroth/master
...
fix 2d stop_on_slope (issue #21595 )
2018-12-14 16:41:49 +01:00
piratesephiroth
0e94afbc92
fix stop_on_slope affecting sliding up slopes
2018-12-14 16:02:43 +01:00
Rémi Verschelde
84d2ef43ad
Merge pull request #22729 from guilhermefelipecgs/fix_tree_resize
...
Fix tree item editable cell not updating when windows is resized
2018-12-14 15:57:03 +01:00
Juan Linietsky
c2e165955f
Updated documentation to visible property in CanvasItem, closes #20809
2018-12-14 11:36:53 -03:00
Guilherme Felipe
64e52f5bdb
Fix tree item editable cell not updating when windows was resized
2018-12-14 12:09:47 -02:00
corrigentia
0a4a3f7157
doc: Grammar and punctuation fixes for CSGMesh and CSGCombiner
2018-12-14 14:00:11 +01:00
Rémi Verschelde
661e5e873b
Merge pull request #24046 from DualMatrix/stop_slope
...
Fixed using move_and_slide with stop_on_slope stopping too early
2018-12-14 13:57:19 +01:00
Rémi Verschelde
31aaff3b21
Merge pull request #24161 from aroncds/master
...
Fix properties update in remote transform
2018-12-14 13:34:46 +01:00
Rémi Verschelde
e588c24168
doc: Fix formatting in code blocks
2018-12-14 09:37:19 +01:00
Rémi Verschelde
fc2038e128
Merge pull request #24341 from YeldhamDev/buttongroup_expose_get_buttons
...
Expose ButtonGroup's "get_buttons()" to GDScript
2018-12-14 09:04:58 +01:00
Rémi Verschelde
29a527fb90
Merge pull request #23799 from marcelofg55/custom_ps
...
Add application/config/project_settings_override option to override project settings
2018-12-14 08:58:29 +01:00
Rémi Verschelde
4148eed943
Merge pull request #24324 from volzhs/access-mic
...
Request mic access only when is needed
2018-12-14 08:57:22 +01:00
Rémi Verschelde
7e4e9e95e4
Merge pull request #24333 from YeldhamDev/filechooser_folder_icon
...
Change EditorLineEditFileChooser to use the "Folder" icon
2018-12-14 08:56:57 +01:00
Rémi Verschelde
491743d670
Merge pull request #24331 from mineevgleb/resource-undo-redo
...
#23231 : make resource changes in a nested inspector undoable
2018-12-14 08:56:42 +01:00
Rémi Verschelde
8c734dfbb9
Merge pull request #24330 from Zylann/readd_inspector_save
...
Re-add missing save resource button in the inspector
2018-12-14 08:56:23 +01:00
Michael Alexsander Silva Dias
c2fe5c0468
Expose ButtonGroup's "get_buttons()" to GDScript
2018-12-14 04:16:23 -02:00
volzhs
7d387dc63f
Request mic access only when is needed
2018-12-14 06:40:13 +09:00
Michael Alexsander Silva Dias
0e894a160c
Change EditorLineEditFileChooser to use the "Folder" icon
2018-12-13 19:39:51 -02:00
Gleb Mineev
2e4752bdba
#23231 : make resource changes in a nested inspector undoable
2018-12-13 22:35:16 +01:00
Marc Gilleron
1f1ab997b6
Re-add missing save resource button in the inspector
2018-12-13 21:24:25 +00:00
Marcelo Fernandez
8dad3811c5
Add application/config/project_settings_override option to override project settings
2018-12-13 18:23:51 -03:00
Rémi Verschelde
01fa0673a4
Merge pull request #22870 from semtri/godot-issue-7620
...
Fix richtextlabel meta links shouldn't open when swiping to scroll
2018-12-13 21:16:13 +01:00
Rémi Verschelde
1a02aa9b52
Merge pull request #24327 from godotengine/revert-20725-textedit-subtle-indent-guides
...
Revert "Use more subtle indentation guides in the script editor"
2018-12-13 21:11:22 +01:00
Rémi Verschelde
016092181c
Merge pull request #22910 from marcelofg55/nothreads_rec
...
Fix AudioEffectRecord not working without thread support
2018-12-13 21:11:02 +01:00
Davide Cristini
a98baad18f
Docs: Add mention to Object constructors in scripting languages
...
Fixes godotengine/godot-docs#1968 .
2018-12-13 20:23:36 +01:00
Rémi Verschelde
2f31d31c23
Revert "Use more subtle indentation guides in the script editor"
2018-12-13 19:57:34 +01:00
Rémi Verschelde
d030c17d5e
doc: Sync classref with current source
2018-12-13 15:12:25 +01:00
Rémi Verschelde
17c3c64a80
i18n: Sync translation template with current source
...
Also French translation update and misc fixes to source strings.
2018-12-13 14:47:24 +01:00
Rémi Verschelde
d0d52606a7
i18n: Sync translations with Weblate
2018-12-13 13:49:46 +01:00
Rémi Verschelde
199c294d4c
Merge pull request #24312 from QbieShay/fix_uv_vert
...
fixed uv missing in vertex shader of canvas.
2018-12-13 10:41:32 +01:00
Rémi Verschelde
28f78ef844
Merge pull request #24285 from volzhs/support-gles2-ios
...
Support GLES2 for iOS
2018-12-13 10:37:12 +01:00
Rémi Verschelde
d119428ff9
Merge pull request #24310 from merumelu/color-picker-fixes
...
ColorPicker fixes
2018-12-13 10:22:40 +01:00
QbieShay
7c55228f5c
fixed uv missing in vertex shader of canvas.
2018-12-13 07:48:30 +01:00
Marcelo Fernandez
7da55fb739
Fix AudioEffectRecord not working without thread support
2018-12-12 21:44:11 -03:00
merumelu
61ceb59f1d
ColorPicker fixes
...
- Fix regression from #22402 which made presets invisible ingame
with `tools=yes` builds.
- Don't emit `color_changed` signal when deleting a preset
as no color change happens.
2018-12-12 22:30:49 +01:00
Rémi Verschelde
c7cef29b00
Merge pull request #24218 from staddy/master
...
Disabled CollisionShape2D is not processed now
2018-12-12 16:39:45 +01:00
Rémi Verschelde
de264a8199
Merge pull request #22739 from DualMatrix/autoplay_warn
...
Added warning when setting autoplay of AnimationPlayer that's inside the tree.
2018-12-12 16:10:59 +01:00