Rémi Verschelde
5525cd85c6
Merge pull request #45315 from RandomShaper/modernize_thread
...
Modernize Thread
2021-01-31 15:24:56 +01:00
Fabio Alessandrelli
02eb11450b
Merge pull request #45539 from madmiraal/fix-handling-baseexception
...
Don't handle BaseException in JavaScript build script
2021-01-31 13:39:41 +01:00
Rémi Verschelde
f351cf1b8d
Merge pull request #45581 from Calinou/doc-webxrinterface-fix-code-sample
...
Fix WebXRInterface code sample in the class reference
2021-01-31 00:26:42 +01:00
Hugo Locurcio
85ed695836
Add viewport resolution to the 3D editor's View Information pane
2021-01-31 00:21:36 +01:00
Hugo Locurcio
3434074933
Fix WebXRInterface code sample in the class reference
...
This also fixes the code sample's indentation to look correct in the
editor help.
2021-01-30 23:59:52 +01:00
zaevi
befbfecd4d
add search extensions for scons' path
2021-01-30 20:13:01 +08:00
Aaron Franke
9199a681de
Use real_t in physics nodes
2021-01-29 19:59:58 -05:00
Hugo Locurcio
42ef79b826
Create the temporary PCK export directory if it doesn't exist
...
This closes #45560 .
2021-01-30 00:51:56 +01:00
Hugo Locurcio
200f1cf015
Reference the control gallery image in the Control class documentation
...
Like the Tween cheatsheet or Color constants cheatsheet, this references
a "cheatsheet" image from the documentation repository.
2021-01-29 18:05:04 +01:00
Rémi Verschelde
46de553473
Merge pull request #45519 from aaronfranke/physics-real_t
...
Use real_t in physics code
2021-01-29 16:31:47 +01:00
Rémi Verschelde
dd6cc94157
Merge pull request #45135 from vnen/gdnative-generator
...
Add GDNative JSON generator for the builtin API
2021-01-29 16:07:15 +01:00
George Marques
8a8dbd76b1
Add GDNative JSON generator for the builtin API
...
Which can be used by language bindings to generate code statically. This
is generated as a different file from the class API because it has
different requirements (the builtin types have constructors and don't
have signals), so bindings can better make use of each JSON file without
extra parsing.
This also cleans up a bit the old API generator, mainly initializing
structs and renaming "instanciable" to the more correct "instantiable".
The argument description in help text was updated to better reflect how
it should be used. The <path> argument is mandatory.
2021-01-29 11:40:37 -03:00
Rémi Verschelde
a4aaead346
Merge pull request #43193 from kleonc/master
...
Docs: Fix TileMap::map_to_world description
2021-01-29 13:06:15 +01:00
kleonc
e62ec6c6b1
Docs: Fix TileMap::map_to_world description
2021-01-29 12:38:21 +01:00
Rémi Verschelde
1da4215841
Merge pull request #43223 from KoBeWi/dedit
...
Disable active editors when node gets deselected
2021-01-29 12:29:15 +01:00
Rémi Verschelde
e856c5593b
Merge pull request #43222 from KoBeWi/sub_editor_oblivion
...
Remove unused get_subeditor() method
2021-01-29 12:28:55 +01:00
Pedro J. Estébanez
99fe462452
Modernize Thread
...
- Based on C++11's `thread` and `thread_local`
- No more need to allocate-deallocate or check for null
- No pointer anymore, just a member variable
- Platform-specific implementations no longer needed (except for the few cases of non-portable functions)
- Simpler for `NO_THREADS`
- Thread ids are now the same across platforms (main is 1; others follow)
2021-01-29 12:02:13 +01:00
Rémi Verschelde
c4a2fe99e8
Merge pull request #45551 from flyingpimonster/tree-item-docs
...
docs: Add TreeItem method descriptions
2021-01-29 09:55:43 +01:00
Rémi Verschelde
54360b3b01
Merge pull request #45548 from dsnopek/webxr-master-docs-canvaslayer
...
Remove reference to CanvasLayer in WebXR example, because it can cause rendering issues in AR
2021-01-29 09:43:06 +01:00
James Westman
2f5164d78c
docs: Add TreeItem method descriptions
2021-01-28 22:34:29 -06:00
James Westman
08e1453d7f
GraphNode: Add properties for custom icons
...
Add properties for the slots' icon textures, so they can be set easily
in the editor.
Fixes #45487 .
2021-01-28 21:22:25 -06:00
David Snopek
f6e8da3661
Remove reference to CanvasLayer in WebXR example, because it can cause rendering issues in AR.
2021-01-28 19:24:27 -06:00
Rémi Verschelde
fbb4742377
Merge pull request #45411 from a-ivanov/more-object-tests
...
Unit tests for Object creation and property getter/setter
2021-01-29 00:58:54 +01:00
Aaron Franke
cb9fc117d1
Use real_t in physics code
2021-01-28 18:15:42 -05:00
Anton Ivanov
db0f3da2c4
Unit tests for Object creation and property getter/setter
2021-01-29 01:53:28 +03:00
Rémi Verschelde
329d4796ae
Merge pull request #45525 from van800/rider-line
...
Navigating to error line number in Rider from Godot editor debugger console is off-by-one.
2021-01-28 23:39:52 +01:00
Ivan Shakhov
deef9a73a5
Fix off by one error navigating to line number in Rider
...
Fixes https://github.com/JetBrains/godot-support/issues/61
2021-01-28 22:41:12 +01:00
Marcel Admiraal
fad0cec272
Don't handle BaseException in JavaScript build script
2021-01-28 19:23:49 +00:00
Rémi Verschelde
e50422d01c
Merge pull request #43978 from aaronfranke/cs-string
...
Unify URI encoding/decoding, handle spaces-are-pluses, and handle hex/bin prefix automatically
2021-01-28 14:48:59 +01:00
Aaron Franke
e829b7aee4
Unify URI encoding/decoding and add to C#
...
http_escape and percent_encode have been unified into uri_encode, and http_unescape and percent_decode have been unified into uri_decode.
2021-01-28 07:45:01 -05:00
Aaron Franke
a3e3bf8227
Make hex_to_int and bin_to_int handle the prefix automatically
...
Also add BinToInt to C#
2021-01-28 07:43:53 -05:00
Rémi Verschelde
726967f453
Merge pull request #45522 from akien-mga/doc-sync
...
doc: Sync classref with current source
2021-01-28 12:13:40 +01:00
Rémi Verschelde
fb01d057af
doc: Sync classref with current source
2021-01-28 11:26:37 +01:00
Rémi Verschelde
b441592372
Merge pull request #45514 from dsnopek/webxr-master-ar-lose-tracking
...
Prevent fatal error in WebXR when 'immersize-ar' loses and regains tracking
2021-01-28 09:32:19 +01:00
David Snopek
a23fc126eb
Prevent fatal error in WebXR when 'immersize-ar' loses and regains tracking
2021-01-27 20:48:11 -06:00
Rémi Verschelde
1ea133b6b5
Merge pull request #45511 from KoBeWi/apocalypse_(world_crash)
...
Cache world in VisibilityNotifier3D to avoid crash
2021-01-27 21:19:25 +01:00
Rémi Verschelde
976e768e71
Merge pull request #45489 from aaronfranke/core
...
Type consistencies in core
2021-01-27 21:16:20 +01:00
Rémi Verschelde
9d3a9b3e7d
Merge pull request #45444 from dsnopek/webxr-master-mono
...
Support mono devices in WebXR
2021-01-27 21:11:31 +01:00
kobewi
4d172f1fca
Cache world in VisibilityNotifier3D to avoid crash
2021-01-27 21:02:33 +01:00
Rémi Verschelde
69f77e83bf
Merge pull request #45481 from ronchaine/joypad-detection
...
POSIX systems: go through all event devices, not just event[0-32]
2021-01-27 19:43:34 +01:00
Rémi Verschelde
964c14580c
Merge pull request #43790 from Chaosus/rename_ord_at
...
Renamed String.ord_at to unicode_at
2021-01-27 19:42:31 +01:00
Jari Ronkainen
01c030f9b7
Go through all event devices, not just event[0-32]
...
There are no guarantees that joypads are in event0-event32
range. Some devices, such as laptops with detachable keyboards
and wacom can reserve events all the way up to 32.
Some udev rules with e.g. custom controller firmwares may
load the device as /dev/input/eventX, where X is greater than
32.
This patch uses POSIX dirent to enumerate the event devices, so
entries outside 0-32 range are not skipped.
2021-01-27 20:05:31 +02:00
Rémi Verschelde
1f3d52eed7
Merge pull request #45503 from winston-yallow/fix-bodystate-transform
...
Correctly expose transform as 3D transform
2021-01-27 16:05:42 +01:00
Yuri Roubinsky
3927066cac
Attempt to connect to first correct port on dragging in visual shader
2021-01-27 17:34:43 +03:00
Winston Yallow
9684bc40df
Correctly expose transform as 3D transform
2021-01-27 14:57:01 +01:00
Yuri Roubinsky
aefce8000d
Fix particles not properly modified by their lifetime
2021-01-27 16:28:15 +03:00
Rémi Verschelde
549ffb9be9
Merge pull request #45040 from volkathemartian/fix-spinbox-mouse-capture
...
Fix unintended SpinBox mouse capture
2021-01-27 10:25:12 +01:00
Rémi Verschelde
2ebbf62be6
Merge pull request #45495 from Chaosus/style_font_hover_pressed
...
Added missed Button `font_hover_pressed_color` style
2021-01-27 09:39:23 +01:00
Rémi Verschelde
2fa73106c1
Merge pull request #45490 from dalexeev/ignore-kate
...
gitignore: Ignore Kate swap files
2021-01-27 09:14:34 +01:00
Yuri Roubinsky
64971bcc8a
Added missed Button `font_hover_pressed_color` style
2021-01-27 10:44:53 +03:00