Adam Cigánek
f25240cfe6
Set current SynchronizationContext before the game loop starts
...
This fixes the problem that `SynchronizationContext.Current` would be null
during the call to `_EnterTree`, `_Ready` and the first call to `_Process` thus
the task continuations would be scheduled outside the main thread, which is unexpected and might lead to crashes.
With this change, task continuations are scheduled always on the main thread and so async/await can be used without any explicit synchronization, which is what is expected.
Fixes #18849
2018-05-15 15:09:40 +02:00
Rémi Verschelde
9af5cab32e
Merge pull request #18802 from bruvzg/fix_x11_arm_build
...
Fix X11 build on ARM Linux
2018-05-12 09:39:51 +02:00
Rémi Verschelde
3d9deda8b3
Sync classref with current source
2018-05-12 09:38:00 +02:00
bruvzg
ce64c2a32e
Fix Linux/X11 build on ARMs.
2018-05-11 17:34:43 +03:00
karroffel
70866bbafd
changed GDNative API json format
2018-05-10 22:03:06 +02:00
Rémi Verschelde
919d802e66
Merge pull request #18183 from Paulb23/gdscript_highlighter_inital_changes
...
GDScript function definition and get_node shortcut syntax highlighting
2018-05-10 01:25:51 +02:00
Marcelo Fernandez
e64bbcc429
Fix some enums missing its bind
2018-05-08 21:14:31 -03:00
Max Hilbrunner
e744d12e56
Merge pull request #18709 from Faless/multiplayer_docs
...
Rename multiplayer_api to multiplayer, add docs
2018-05-09 01:41:01 +02:00
Pedro J. Estébanez
474eda9e30
Fix Variant leak in call_native
2018-05-08 21:27:33 +02:00
Fabio Alessandrelli
dd546dc5b8
Document websocket module, further document enet
2018-05-08 21:15:50 +02:00
Juan Linietsky
b190afe084
Merge pull request #15549 from SaracenOne/bmp
...
BMP module
2018-05-08 10:46:13 -03:00
Rémi Verschelde
de9683b605
Merge pull request #17559 from simedis/joint_motors
...
Implemented interface for bullet linear motors
2018-05-08 10:23:41 +02:00
Juan Linietsky
299d8a80ba
Merge pull request #16106 from poke1024/gdscript-lerp
...
GDScript: generalize lerp
2018-05-07 20:36:31 -03:00
Juan Linietsky
ff1e7cfbf4
Add is_instance_valid() method to GDScript, ending more than a decade of pain.
2018-05-07 17:30:03 -03:00
AndreaCatania
9e57a07fb6
Implemented ragdoll
...
Implementing ragdoll
Implementing ragdoll
Implementing ragdoll
Implementing ragdoll
Implementing ragdoll
a
Implemented implicit hierarchy.
Improved
Added some physics properties
Added bone offset to preserve COM, partially fixed scaling
work in progress
WIP
wip
Implemented Joint Gizmos
Implemented pin joint joint
Implemented all joints
2018-05-07 21:03:16 +02:00
mhilbrunner
ba4600757a
Enet: Add wait time param to close_connection()
...
Enet: Allow to set client interface/address and port
Enet: More error checks
Fix comment
2018-05-07 01:37:15 +02:00
Kelly thomas
a6bd2c6e72
round / ceil methods for c sharp vectors
2018-05-04 20:17:10 +08:00
Max Hilbrunner
ffb6f8f1ca
Merge pull request #18406 from YeldhamDev/script_templates_period
...
Changed periods in the script templates
2018-05-04 11:20:16 +02:00
Rémi Verschelde
460e551ddf
Merge pull request #16418 from bojidar-bg/15961-gdscript-array-export
...
Allow exporting arrays of resources in GDScript
2018-05-03 21:19:15 +02:00
Juan Linietsky
f056b09f5a
Merge pull request #18589 from karroffel/oahashmap-robinhood
...
updated OAHashMap to use robinhood hashing
2018-05-03 14:47:07 -03:00
karroffel
bf24d570bb
updated OAHashMap to use robinhood hashing
2018-05-03 17:00:21 +02:00
Rémi Verschelde
b774156729
Merge pull request #18514 from neikeq/api-hash-fixes
...
API hash fixes
2018-05-03 14:36:32 +02:00
Ignacio Etcheverry
a02fec47a0
Merge pull request #18562 from neikeq/issue-18526
...
Fix MSVC check when building with mono
2018-05-02 18:24:57 +02:00
Michael Alexsander Silva Dias
093b069bf6
Changed periods in the script templates.
2018-05-02 11:42:09 -03:00
Ignacio Etcheverry
a1aa98e05a
Fix MSVC check when building with mono
2018-05-02 15:19:02 +02:00
Ignacio Etcheverry
c0192e405d
Merge pull request #18561 from neikeq/fix-find-msbuild-2
...
Fix editor detecting msbuild with a msvc 'tools only' install
2018-05-02 15:13:44 +02:00
Ignacio Etcheverry
93d13bee8b
Fix editor detecting msbuild with a msvc 'tools only' install
2018-05-02 15:06:25 +02:00
Rémi Verschelde
d33308921d
Merge pull request #18553 from bzztbomb/fix/stack_underflow_when_debuggin_in_release
...
Fix a crash when trying to run Godot debugger on a release build.
2018-05-02 10:48:45 +02:00
Rémi Verschelde
b0cf3628aa
Merge pull request #18452 from flashyincceo/enum-no-class
...
Fix enums without class name not opening docs page
2018-05-02 10:32:19 +02:00
Rémi Verschelde
fb917b5568
Merge pull request #18531 from KidRigger/issue5972
...
Adds keywords to autocomplete predictions.
2018-05-02 10:22:08 +02:00
Brian Richardson
9149b11973
Fix a crash when trying to run Godot debugger on a release build.
...
The GDScriptLanguage::enter_function is wrapped in #ifdef DEBUG but the exit_function is not, resulting in a stack underflow error.
2018-05-01 15:40:30 -07:00
Rémi Verschelde
de97339a2d
Merge pull request #18291 from akien-mga/coverity-uninitialized-scalar-var
...
Fix Coverity reports of uninitialized scalar variable
2018-05-01 19:14:07 +02:00
Peter Folkins
ccd986f53e
Fix enums without class name not opening docs page
2018-05-01 07:57:53 -05:00
Rémi Verschelde
9834b690ae
Merge pull request #18334 from Faless/coverity_net
...
Various coverity scan fixes, WS FreeBSD fixes
2018-05-01 08:44:11 +02:00
Rémi Verschelde
4cce6f3417
Merge pull request #18321 from Crazy-P/Fixes-logically-dead-code
...
Fixes logically dead code (Coverity)
2018-05-01 08:35:10 +02:00
Anish
6e32157a65
Adds keywords to autocomplete predictions.
...
Adds keywords to the autocomplete prediction in GDScript so
they are not replaced by irrelevant predictions.
Fixes : #5972
2018-05-01 11:48:16 +05:30
Max Hilbrunner
813acef973
Merge pull request #18523 from hpvb/fix-clang-lto
...
Fix lto builds on clang compilers
2018-04-30 17:12:13 +02:00
Hein-Pieter van Braam
cee5117d3b
Fix lto builds on clang compilers
...
The --no-lto option only works on GCC compilers. This breaks LTO builds
on MacOS and iPhone when building the gdnative wrappers.
-fno-lto works on both brands of compilers.
2018-04-30 12:59:08 +02:00
Hein-Pieter van Braam
0ec912a79e
Fix msbuild with a msvc 'tools only' install
...
Taken from https://github.com/Microsoft/vswhere/wiki/Find-MSBuild
without '-products *' vswhere does not locate msbuild when installing a
tools-only (no IDE) version of the microsoft compilers.
2018-04-30 12:52:18 +02:00
Saracen
e30b0656e8
BMP module
2018-04-30 01:33:14 +01:00
Ignacio Etcheverry
7034d48032
Fix binding some core API methods only in tools builds
2018-04-29 19:49:26 +02:00
Ignacio Etcheverry
fbc808012f
Mono: BindingsGenerator enum fixes
...
- Make enums have an unique signature name of int. This means that when generating internal methods, there is no difference between different enums types nor between enums and int. This way enums can re-use internal methods.
- Make type resolver fallback to int if a type is not found and it's an enum.
2018-04-28 22:25:25 +02:00
Juan Linietsky
1226720c01
Add poly triangulation order check, ensures faces do not flip on different order
2018-04-28 12:59:45 -03:00
Juan Linietsky
f8520dbba7
-Changed how operators work, any shape can operate on any other
...
-Added some break condition for bad poly data to avoid editor freezes
2018-04-28 12:33:23 -03:00
Juan Linietsky
ec7ed5f360
Avoid CSG freeze condition on degenerates
2018-04-28 09:47:16 -03:00
Juan Linietsky
c4d0f528b1
Do not crash if the polygon is invalid
2018-04-28 08:53:27 -03:00
Juan Linietsky
afb4ce8d2d
Reduce false positives in interior detection by adding a small offset to raycast, fixes #18476
2018-04-28 08:16:26 -03:00
Juan Linietsky
8d199a9b2c
CSG Support for Godot!
...
-Missing Icons
-Missing freezing option (for baking light and faster load)
-Missing a way to export from Godot (GLTF2?)
-Probably buggy (may freeze editor, can be worked around easily, but let me know if this happens so it's easier to catch bugs)
Happy testing!
2018-04-27 21:55:10 -03:00
Ignacio Etcheverry
b5e6e142ef
Add option to link mono statically on Windows
2018-04-25 21:15:35 +02:00
Ignacio Etcheverry
6faa96fb89
Merge pull request #18399 from neikeq/u
...
Mono fixes
2018-04-24 20:58:25 +02:00