Rhody Lugo
2f3e4c1a7a
add NoCache wrapper to Command
...
(cherry picked from commit 920224a535
)
2018-06-22 14:42:14 +02:00
Marc Gilleron
4d7aa0b762
Make heightmap shape usable from PhysicsServer
...
- Fixed bad size check
- Fixed bad member initialization
- Removed unused cell_size (Bullet expects us to use localScaling)
- Accept precomputed min/max height, will be calculated if not provided
(cherry picked from commit a66e1af168
)
2018-06-14 15:50:15 +00:00
Hein-Pieter van Braam
98609279b6
Bump version to 3.0.4
...
And onwards!
2018-06-14 15:37:51 +00:00
Hein-Pieter van Braam
e649ec71df
Fix some missed changes from a cherrypick
2018-06-13 12:21:29 +00:00
bruvzg
518a691231
Mono: Allow loading `mscorlib` from resources.
...
(cherry picked from commit b3ddf12fb1
)
2018-06-13 11:57:40 +00:00
Hugo Locurcio
403f7dc35f
Change ".." punctuation for "..." in editor strings ( #16507 )
...
(cherry picked from commit 1c419531a0
)
2018-06-05 21:42:33 +02:00
Hein-Pieter van Braam
f640639867
Fix Mono static linking on Mingw
2018-06-01 21:45:21 +02:00
Hein-Pieter van Braam
d24f77be99
Fix documentation version strings
2018-06-01 18:19:33 +02:00
Kelly thomas
f697b53eba
round / ceil methods for c sharp vectors
...
(cherry picked from commit a6bd2c6e72
)
2018-06-01 18:08:52 +02:00
Adam Cigánek
b95cc40640
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
(cherry picked from commit f25240cfe6
)
2018-06-01 18:07:32 +02:00
Michele Valente
9294978596
fixes build error on Linux after its introduction in #18949
...
The function expects now a return value. Returning NULL seems to work in
this case.
(cherry picked from commit 6c74f3de6d
)
2018-06-01 18:06:44 +02:00
Ignacio Etcheverry
3d3e4e62af
Mono: Project building fixes
...
- Set (Csc/Vbc/Fsc)ToolExe environment variables to point to the batch files in Mono's bin directory when building with Mono's MSBuild.
- Set Mono's MSBuild as the default build tool on Windows.
- Generate projects with portable DebugType instead of full.
(cherry picked from commit 01397a10d9
)
2018-06-01 18:06:42 +02:00
Kelly Thomas
d00926894e
mono: add Slerp method to vector classes, expose Cross method for Vector2, and fix unnecessary casts in Basis
...
(cherry picked from commit b335274bcd
)
2018-06-01 18:05:28 +02:00
Carter Anderson
5d2ad1e5c7
Reduce allocations when converting mono arrays to pool arrays
...
(cherry picked from commit 56262ceafe
)
2018-06-01 18:04:54 +02:00
Ignacio Etcheverry
9945da3efc
Mono: Improve 'script class not found' error
...
No longer printed when using using placeholder script instances (for non-tool scripts in the editor).
Print different error if the project assembly is not loaded
(cherry picked from commit c8945fe7d8
)
2018-06-01 18:04:12 +02:00
Kelly Thomas
8461d6b5f9
Mono: Basis constructor for euler parameter
...
(cherry picked from commit c26d30986a
)
2018-06-01 17:46:38 +02:00
Kelly Thomas
0febfa9eea
mono: New Color methods: Darkened, Lightened and ToRgba32
...
(cherry picked from commit 88bd33f451
)
2018-06-01 17:45:49 +02:00
Kelly Thomas
232a3a524b
mono: Plane, expose Normal, and D
...
(cherry picked from commit 16e1b4bacf
)
2018-06-01 17:44:56 +02:00
Kelly Thomas
6224f02c56
Fix index out of range error in string.Extension()
...
(cherry picked from commit c7e98eef67
)
2018-06-01 17:37:43 +02:00
Ignacio Etcheverry
94b4bb2a12
Mono: Fix MonoImage filename being set to an invalid path
...
(cherry picked from commit 97fb999976
)
2018-06-01 17:33:51 +02:00
Paul Joannon
81eb60434a
[mono] fix signals parameter retrieval
...
(cherry picked from commit 7a72395412
)
2018-05-16 12:27:45 +02:00
Leon Krause
9dc5ca0e7c
Fix duplicate definitions with FreeType
...
(cherry picked from commit b8c35b4078
)
2018-05-13 22:46:11 +02:00
Anish
9a0a40042e
Adds keywords to autocomplete predictions.
...
Adds keywords to the autocomplete prediction in GDScript so
they are not replaced by irrelevant predictions.
Fixes : #5972
(cherry picked from commit 6e32157a65
)
2018-05-13 22:35:19 +02:00
Brian Richardson
ae32bcf4c3
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.
(cherry picked from commit 9149b11973
)
2018-05-13 22:14:44 +02:00
Peter Folkins
31c4b743cb
Fix enums without class name not opening docs page
...
(cherry picked from commit ccd986f53e
)
2018-05-13 22:04:37 +02:00
Ignacio Etcheverry
736e574a5e
Fix editor detecting msbuild with a msvc 'tools only' install
...
(cherry picked from commit 93d13bee8b
)
2018-05-13 22:00:53 +02:00
Ignacio Etcheverry
664052824e
Fix MSVC check when building with mono
...
(cherry picked from commit a1aa98e05a
)
2018-05-13 22:00:20 +02:00
Pedro J. Estébanez
c8ce9c0080
Fix Variant leak in call_native
...
(cherry picked from commit 474eda9e30
)
2018-05-13 21:55:19 +02:00
bruvzg
db76c54117
Fix Linux/X11 build on ARMs.
...
(cherry picked from commit ce64c2a32e
)
2018-05-13 21:45:09 +02:00
Hein-Pieter van Braam
cd9b0d7cc3
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.
(cherry picked from commit 0ec912a79e
)
2018-04-30 12:54:51 +02:00
Hein-Pieter van Braam
8e301c69cb
Fix lto builds on clang compilers
...
This needs to go to master also
2018-04-30 00:52:42 +02:00
Hein-Pieter van Braam
3ee4d6af2e
Hand-merge API hash fixes #18514
...
This hasn't made it into master yet but is important for mono support.
If this turns out to be the wrong call we'll revert and merge whatever
next version of this becomes available.
2018-04-29 20:44:48 +02:00
Ignacio Etcheverry
c358e4c728
Add option to link mono statically on Windows
...
(cherry picked from commit b5e6e142ef
)
2018-04-29 16:16:26 +02:00
Wilson E. Alvarez
7417b6adb4
Comment out some debugging messages when playing Theora files
...
(cherry picked from commit 9590282ae8
)
2018-04-29 14:56:52 +02:00
Fabio Alessandrelli
66b36235c9
Fix IPhone and OSX cross compilation
...
(cherry picked from commit e7b9e2f970
)
2018-04-29 14:46:03 +02:00
Max Hilbrunner
90bf0b7aec
[DOCS] Net.MultiplayerEnet: List returned errors
...
(cherry picked from commit ec3f5218e8
)
2018-04-29 14:23:04 +02:00
Xavier Cho
1da969736f
Remove duplicated declaration of RoundToInt() from Mathf
...
(cherry picked from commit 9e2e6bb1e2
)
2018-04-29 14:15:09 +02:00
Paul Joannon
486f4d2769
[mono] add the 'Facades' subfolder to the searched directories in _preload_hook
...
(cherry picked from commit 22606a7bec
)
2018-04-29 13:54:16 +02:00
Ignacio Etcheverry
199a54d5ac
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.
(cherry picked from commit fbc808012f
)
2018-04-29 13:49:27 +02:00
Xavier Cho
57c281557a
#18051 : Fix indentation issues introduced during clean up
...
(cherry picked from commit 6b611e6431
)
2018-04-29 13:40:15 +02:00
Xavier Cho
d330bee1c2
#18051 : Do not use `var` in a for-loop, or where type is not obvious
...
(cherry picked from commit e59fad3924
)
2018-04-29 13:40:09 +02:00
Xavier Cho
72bcacf2b6
#18051 : Use common name for Color type argument
...
(cherry picked from commit 94edd92248
)
2018-04-29 13:40:04 +02:00
Xavier Cho
3876a8776e
#18051 : Remove redundant verbatim prefixes
...
(cherry picked from commit f0bf5532fa
)
2018-04-29 13:39:51 +02:00
Xavier Cho
37ce381e3d
#18051 : Use default parameter value
...
(cherry picked from commit 85787776a5
)
2018-04-29 13:39:40 +02:00
Xavier Cho
939d50243b
#18051 : Use array initializer when applicable
...
(cherry picked from commit b765c051cb
)
2018-04-29 13:39:34 +02:00
Xavier Cho
57f18194f5
#18051 : Remove redundant parenthesis
...
(cherry picked from commit 9097c71255
)
2018-04-29 13:39:28 +02:00
Xavier Cho
58f2953ddf
#18051 : Remove unnecessary variable assignments
...
(cherry picked from commit 93dd59d763
)
2018-04-29 13:39:22 +02:00
Xavier Cho
31171ea5a2
#18051 : Use 'var' when applicable
...
(cherry picked from commit fdfc478c88
)
2018-04-29 13:39:08 +02:00
Xavier Cho
e7b97af276
#18051 : Remove redundant casts and 'using', 'else', 'this' statements
...
(cherry picked from commit 0ef3e0577b
)
2018-04-29 13:38:58 +02:00
Ignacio Etcheverry
3f6ea30f8d
Mono: Fix '!t' error messages when generating bindings
...
This error wasn't affecting the bindings generation process.
(cherry picked from commit ff7fe9e771
)
2018-04-28 22:59:38 +02:00
Ignacio Etcheverry
58918b629d
Mono: Do not spam script class not found error
...
Print this error only when trying to instantiate the script. This way we prevent errors being printed for source files which are not meant to be used as scripts.
(cherry picked from commit f8ce412560
)
2018-04-28 22:59:25 +02:00
Ignacio Etcheverry
736d8db007
Mono: Fix crash on script load if the scripts domain isn't loaded
...
(cherry picked from commit 89e84185e8
)
2018-04-28 22:59:11 +02:00
Will Vincent
d49fc76ab8
Remove incorrect & potentially confusing references to Euler
...
e is referred to as Euler’s number, so technically the MATH_EXP description in VisualScript doc was not incorrect, though could potentially lead to confusion.
e is different from Euler’s constant however, making the existing GDScript exp & VisualScriptMathConstant descriptions nvalid.
(cherry picked from commit b6b8c7b215
)
2018-04-28 22:47:43 +02:00
Andrea Catania
739c14b07d
Fixed wrong function call
...
(cherry picked from commit df2a626b49
)
2018-04-28 22:35:25 +02:00
Pedro J. Estébanez
20fa30bde6
Use radio-button-like menu entries where applicable
...
(cherry picked from commit a6dc160d5c
)
2018-04-28 22:16:53 +02:00
Andrea Catania
3b57b95efb
Fixed area overlap cleaning
...
(cherry picked from commit 45b778c7f8
)
2018-04-28 22:10:29 +02:00
Alexander Alekseev
cf3c1d878d
Fix of a possible memory leak: ConcavePolygonShapeBullet::setup was able to exit without releasing the 'shapeInterface' pointer.
...
(cherry picked from commit b569251110
)
2018-04-28 20:18:03 +02:00
Andrea Catania
640063334d
physics area added monitorable check
...
(cherry picked from commit fe768f4f00
)
2018-04-28 20:15:24 +02:00
Andrea Catania
ac9e87aae3
Fixed physics server area cleaning
...
(cherry picked from commit 776942981b
)
2018-04-28 20:14:28 +02:00
Andrea Catania
5e09cf3e89
Corrected physics query max result checking
...
(cherry picked from commit 444b8471a3
)
2018-04-28 20:13:28 +02:00
Jorn Van denbussche
80fbea28fb
Fixes importing hdr files with extra header info
...
(cherry picked from commit 886156da2c
)
2018-04-28 16:42:27 +02:00
Poommetee Ketson
a3ba1b0280
Fix script template on `_ready` behavior
...
(cherry picked from commit 01ec06d9ae
)
2018-04-15 01:18:49 +02:00
Chaosus
a29680c25a
[Mono] Improve Mathf
...
(cherry picked from commit 655a4e6540
)
2018-04-15 00:57:14 +02:00
Alexander Alekseev
3a430e46b9
[mono] Fixes #17936 as GodotSharp (Core\Basic.cs) requires C#7 now, but we most probably should keep C#6 yet
...
(cherry picked from commit 5677aed175
)
2018-04-15 00:56:14 +02:00
Nikodem Lokatelj
b4733a1da9
Fixed _issue_activated to take the correct issue id from the list
...
(cherry picked from commit 4fdee1d9f1
)
2018-04-15 00:55:25 +02:00
Wilson E. Alvarez
8ebd4bb874
Move GodotSharp and MonoBuildTab member variables to initializer list
...
(cherry picked from commit 3f86fefb64
)
2018-04-15 00:54:00 +02:00
Chaosus
63a88c69ac
Added wrap functions to C#
...
(cherry picked from commit d52722c6da
)
2018-04-15 00:52:29 +02:00
Ignacio Etcheverry
bfc94dd4c9
Mono: Runtime main args and assembly search fixes
...
- Setup runtime main args during initialization. This must be done manually by embedders who do not call mono_runtime_run_main. Fixes NullReferenceException in System.Environment.
- Continue to search the assembly in the rest of the search locations if loading it from one of them failed.
(cherry picked from commit fa1d656af4
)
2018-04-15 00:48:15 +02:00
Andreas Haas
6472d8c7d4
Mono: Avoid invalid class names.
...
Disallow reserved keywords as class names and prefix base class with the Godot
namespace if it's the same as the class name.
Fixes #12483
(cherry picked from commit 700d07cf7c
)
2018-04-15 00:48:11 +02:00
Hein-Pieter van Braam
e4fadebc3b
Fix a merge error
2018-04-15 00:43:26 +02:00
Ignacio Etcheverry
9e4d34aebb
Mono: Add project export plugin
...
(cherry picked from commit 9fd606c549
)
2018-04-15 00:04:14 +02:00
Paul Joannon
d02c891a4b
[mono] write classes with no constructor as abstract
...
(cherry picked from commit ef5672d3f9
)
2018-04-14 23:54:11 +02:00
Paul Joannon
3bd414786c
[mono] rename functions to conform to PascalCase
...
in:
* StringExtensions.cs
* Transform.cs
(cherry picked from commit d7020aef8d
)
2018-04-14 23:53:56 +02:00
Carter Anderson
c7adcc8dca
Fix mono basis GetEuler bug and marshalling/unmarshalling
...
(cherry picked from commit 91f271fa9e
)
2018-04-14 23:20:33 +02:00
Aaron Franke
577f3ccaf9
Replace float with real_t, default Vectors, other misc C# improvements
...
Replace float with real_t in most files, defined at the top of each file via using. Objects such as Vector3 now accept doubles as inputs, and convert to real_t internally. I've added default Vectors such as Vector3.Zero. Other misc C# improvements such as Mathf.RoundToInt(). Color continues to use float only because high precision is not needed for 8-bit color math and to keep things simple. Everything seems to compile and work fine, but testing is requested, as this is the first time I've ever contributed to Godot.
(cherry picked from commit ff97c97c93
)
2018-04-14 23:20:03 +02:00
Leon Krause
b5a55810c5
Disable FreeType SIMD in HTML5 builds
...
SIMD is currently unsupported in WebAssembly.
(cherry picked from commit 315983c90d
)
2018-04-14 21:15:37 +02:00
Lars Kokemohr
30b5265417
completed-signal is emitted by all GDScriptFunctionStates of a coroutine now, allowing to yield for completion of a function with more than one yield inside.
...
(cherry picked from commit 3dfef37628
)
2018-04-14 20:42:44 +02:00
Poommetee Ketson
3b200c55b6
GridMap: fix next/prev plane text, fix meta not found
...
(cherry picked from commit 89323f94bb
)
2018-04-14 20:10:02 +02:00
Rado'sPC\aRaGaR
ef44ed93a7
For-in loop variable added to autocompletion
...
Fix for #16494
(cherry picked from commit f97ebdcab3
)
2018-04-14 19:19:47 +02:00
Wilson E. Alvarez
42f351db0d
Fixed leak in BulletPhysicsServer
...
(cherry picked from commit e5ae9750ed
)
2018-03-29 00:24:09 +02:00
robfram
5042d0c30a
Fix silent failure of importing OGG Vorbis files
...
When importing non-valid OGG Vorbis audio files, now the filesystem
navigation tree shows the correct sad red-face icon, as it does with
non-valid PNG, JPG or WAV files.
Fix #9793 .
(cherry picked from commit a8d37de461
)
2018-03-29 00:11:46 +02:00
ShyRed
27f5e404a7
Update libwebm
...
Update of libwebm.
Up-to-date version of libwebm contains several bugfixes that allow playback of files that would crash Godot otherwise.
(cherry picked from commit e71f109910
)
2018-03-29 00:06:05 +02:00
poke1024
dfb739aff0
Fix grid mesh tile panning bug (issue 16524)
...
Fix basic function and interference of touch pad pan with mesh tile delete (shift + right click on touch pad) in grid map editor (fix 16524)
(cherry picked from commit b90810ce8e
)
2018-03-28 21:11:38 +02:00
Poommetee Ketson
3e1716b2c3
GridMapEditorPlgn: fix a leak
...
(cherry picked from commit 5cf331588a
)
2018-03-28 21:02:51 +02:00
Max Hilbrunner
93e99846b0
[DOCS] NetworkedMultiplayerENet
...
(cherry picked from commit 5aae17a6fb
)
2018-03-03 01:55:27 +01:00
Rémi Verschelde
87476c057a
NativeScript: Fix initialization in wrong scope
...
Regression from d702d7b335
which broke javascript build.
(cherry picked from commit 08cadc3d87
)
2018-03-02 02:08:50 +01:00
Hein-Pieter van Braam
675899a521
Fix various valgrind reported uninitialized variable uses
...
(cherry picked from commit d702d7b335
)
2018-03-01 21:06:31 +01:00
Hein-Pieter van Braam
3e931e258c
More reliably find mscorlib.dll on Linux
...
(cherry picked from commit c094e90b25
)
2018-02-27 22:12:01 +01:00
Hein-Pieter van Braam
7e5a374825
Deprecate a typo for a new method introduced in 3.0.1
2018-02-27 17:53:46 +01:00
Hein-Pieter van Braam
a850ebf352
Revert "fix spurious error messages during autocomplete and validate"
...
This reverts commit b7faa76485
.
This causes a regression in 3.0.1. We haven't found a proper fix yet so
we're removing this from 3.0.2
2018-02-27 17:52:18 +01:00
Hein-Pieter van Braam
4e1d19b20c
Revert "[Mono] Basis values now marshalled in the correct order."
...
This reverts commit 9173819b71
.
The fixes for these issues aren't quite baked yet. Taking them out of
3.0.2
2018-02-27 17:52:18 +01:00
Hein-Pieter van Braam
d7430ef077
Revert "The marshalling in was also incorrect."
...
This reverts commit b6f958965b
.
The fixes for these issues aren't quite baked yet. Taking them out of
3.0.2
2018-02-27 17:52:18 +01:00
Rémi Verschelde
42e82b9377
doc: Update version string for 3.0.2
2018-02-27 13:57:10 +01:00
Ignacio Etcheverry
f6c65d9d15
Mono: Buildsystem improvements
...
- Bundle with mscorlib.dll to avoid compatibilities issues
- Add build option 'mono_assemblies_output_dir' to specify the output directory where the assemblies will be copied to. '#bin' by default.
(cherry picked from commit a45697d8df
)
2018-02-27 11:35:19 +01:00
Michele Valente
990bddcf36
fix release builds with mono
...
"_signals" and "signals_invalidated" were moved out of the
"TOOLS_ENABLED" directive. Updated also the two "update_signals" and
"_update_signals" methods so it makes sense.
(cherry picked from commit 3c7d9001bc
)
2018-02-27 11:34:52 +01:00
Paul Joannon
87242c7b92
fix build error when compiling with mono, tools=no, target=release
...
change TTR to RTR in `print_unhandled_exception`
(cherry picked from commit 90a705d671
)
2018-02-27 11:25:10 +01:00
Paul Joannon
58a7d78c22
[mono] get stacktraces for all inner exceptions
...
(cherry picked from commit 89af6c2cd7
)
2018-02-26 23:55:13 +01:00
Ignacio Etcheverry
c0386f0124
Mono: Fix bindings for parameters in vararg methods
...
(cherry picked from commit 0c82858121
)
2018-02-26 23:54:32 +01:00
Nathan Warden
b6f958965b
The marshalling in was also incorrect.
...
(cherry picked from commit 60daa9d718
)
2018-02-26 22:45:53 +01:00
Ignacio Etcheverry
dde14e15c6
Mono: Better versioning and gracefully unloading of Godot API assemblies
...
(cherry picked from commit f37090ccf4
)
2018-02-26 22:36:03 +01:00