1412 Commits

Author SHA1 Message Date
Max Hilbrunner
93e99846b0 [DOCS] NetworkedMultiplayerENet
(cherry picked from commit 5aae17a6fb4b41f35e5c0a744cedf9f6b905d120)
2018-03-03 01:55:27 +01:00
Rémi Verschelde
87476c057a NativeScript: Fix initialization in wrong scope
Regression from d702d7b335c0c9305e75131770c0ea739b70d813 which broke javascript build.

(cherry picked from commit 08cadc3d871f681ef1f951894345359a85ba190e)
2018-03-02 02:08:50 +01:00
Hein-Pieter van Braam
675899a521 Fix various valgrind reported uninitialized variable uses
(cherry picked from commit d702d7b335c0c9305e75131770c0ea739b70d813)
2018-03-01 21:06:31 +01:00
Hein-Pieter van Braam
3e931e258c More reliably find mscorlib.dll on Linux
(cherry picked from commit c094e90b2531b9ec5554dfc77c1fc613e02b87e5)
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 b7faa76485be1cfe368d24e4fe30adf252beedbe.

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 9173819b71cb33709454299d03bd8b9cbaf9ba63.

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 b6f958965be2024b1618aa96e6e5d3c772cab6cc.

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 a45697d8dfb3b8e6fb7817060d52b22802a7d45f)
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 3c7d9001bc9591368d743e9bd6cc29a74c7bddd5)
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 90a705d67102c30083d91cff47f35300eb5049a9)
2018-02-27 11:25:10 +01:00
Paul Joannon
58a7d78c22 [mono] get stacktraces for all inner exceptions
(cherry picked from commit 89af6c2cd7b6f8ebbed12085384441a3480b2846)
2018-02-26 23:55:13 +01:00
Ignacio Etcheverry
c0386f0124 Mono: Fix bindings for parameters in vararg methods
(cherry picked from commit 0c828581218b1f4694d4a6988b98ee2378163739)
2018-02-26 23:54:32 +01:00
Nathan Warden
b6f958965b The marshalling in was also incorrect.
(cherry picked from commit 60daa9d7183afa9aebde022d6fb14a2b21fbbd9b)
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 f37090ccf4f699800a43878273b8b94b5906f4bc)
2018-02-26 22:36:03 +01:00
Hein-Pieter van Braam
5f15642fde Update doc version strings to 3.0.1 2018-02-24 18:59:38 +01:00
anakimluke
370f84f41c Removed whitespaces around arguments of functions.
Functions automatically generated by conneting
signals via GUI put whitespaces around the
arguments of the generated function. This is
inconsistent with the style guide.

This commit fixes that.
2018-02-22 19:41:37 -03:00
luz.paz
751806b5c7 Fix typos with codespell
Found via `codespell -q 3 --skip="./thirdparty,./editor/translations" -I ../godot-word-whitelist.txt`
Whitelist consists of:
```
ang
doubleclick
lod
nd
que
te
unselect
```

(cherry picked from commit 612ab4bbc6f2396f4dcd68c3f142f7dfa2f5f0a5)
2018-02-22 12:17:06 +01:00
Neil Moore
5975b44ded Fixes gravity calculation for kinematic bodies in Bullet
(cherry picked from commit 5fb8a6a6c223561e1e7a11699eae8aca68f8abd6)
2018-02-21 23:38:30 +01:00
Rémi Verschelde
ccf27376a6 Update warning about C# support
(cherry picked from commit 24cf4fe062b06205d5fcf3e8824eb14f0fbb0246)
2018-02-21 22:55:46 +01:00
Nathan Warden
9cfcf102a0 [Mono] Fixed "expression did not evaluate to a constant" compiler error for visual studio.
(cherry picked from commit 72fe70272d540afca691143d3a4f029176e37087)
2018-02-21 22:12:57 +01:00
x1212
b7faa76485 fix spurious error messages during autocomplete and validate
_parse() caused resets on members like validating and
for_completion by calling clear().

(cherry picked from commit 48c9ed45450a7d30f880d6a30ecd0459a66f6282)
2018-02-19 22:46:49 +01:00
Ignacio Etcheverry
2abbdcaa20 Mono: Fix build status icons
(cherry picked from commit 8bd05f0c717032c6b89886c42e8bacd14c20aee9)
2018-02-19 22:40:21 +01:00
Paul Joannon
9cba5ef772 implement signal related methods in csharp_script so signals can be used with emit
(cherry picked from commit cfbd7fd21e6630cc513ac3a36849c0f796d142c3)
2018-02-19 22:39:51 +01:00
Paul Joannon
416cd9c8b8 add a [Signal] attribute to CSharpScripts
(cherry picked from commit efd52cd1725145dc9c8038477dbe133b23868e99)
2018-02-19 22:39:44 +01:00
Anish
ac6811c4fa Gridmap editor now lists plane instead of floor when not horizontal.
Instead of gridmap editor calling grid as floor irrespective of the
orientation, it now calls the grid plane if it's vertical and floor
if horizontal.

Resolves: #14611
(cherry picked from commit 7c356a9c0514bdb184aac651117f0e542baccfc4)
2018-02-19 22:34:16 +01:00
Pieter-Jan Briers
4b581104e7 Makes project manager never initialize mono debug.
The heuristic whether we're in the project manager inside GDMono
didn't work if the project manager was launched by not having any path
to run.

This is fixed now by making a Main::is_project_manager().

(cherry picked from commit 10998380799f25cb3198c62f29e30e743c6013ac)
2018-02-19 22:32:17 +01:00
Pieter-Jan Briers
f49601a934 Give C# NodePath a ToString().
It already had an implicit cast operator to string,
but this doesn't get used in say string formatting.

So now something like $"path: {GetPath()}" works.

(cherry picked from commit 3c1f8efd9e5066ded2d36e99ce40511fdea79488)
2018-02-19 22:31:33 +01:00
Pieter-Jan Briers
3e6ab9f3d5 Makes NodePath and RID follow PascalCase in C#.
Fixes #15685

(cherry picked from commit b1a81374d4e2ac6150a95c3ce9af8d46720b717e)
2018-02-19 22:30:45 +01:00
Andrea Catania
285f47f037 Added return true o collide when no rusult is NULL
(cherry picked from commit f48845428dcfe79edf381b1626e4ae7994fbdc96)
2018-02-19 22:21:58 +01:00
Jonathan Tinkham
0d03b5f162 Add and use mono build variables with cloned environment.
(cherry picked from commit 70d281b94685c2ce6273125efa1babd1e4cfd4dc)
2018-02-19 22:13:46 +01:00
Hugo Locurcio
a7d7f763d0 Remove debugging prints related to the asset library
(cherry picked from commit 5513e4e1f9674f9163fdeb6ccc6dc1994736703a)
2018-02-19 22:13:46 +01:00
Benjamin Dobell
34d8625d82 Fix pkgconfig detection of mono
(cherry picked from commit 5920bc6f72daacbfb0345c19af9e181110b0def6)
2018-02-19 22:13:45 +01:00
Nathan Warden
9173819b71 [Mono] Basis values now marshalled in the correct order.
(cherry picked from commit 0cc4de1f24bf1fee89cb64cd11ae245be0ea3d98)
2018-02-19 22:13:45 +01:00
George Marques
d7f73031fb Show default values in docs for GDScript built-in functions
(cherry picked from commit dca2ae78dd04530bf96c3d550e57fc945876ea95)
2018-02-19 22:13:44 +01:00
Paul Joannon
a1455f6a03 Change 'Build Project' button style in Mono panel
Address #15208

(cherry picked from commit 484f664331a0aa45f0b6bbee46a9d1d631edf23e)
2018-02-19 20:50:39 +01:00
Colin Kinloch
611caa06a5 Fixed android arm64v8
(cherry picked from commit 853b1daa499cf3add4014cf4d825c01603e2d1ea)
2018-02-19 20:46:49 +01:00
Nathan Warden
3f6e8d70cf Added async and await as C# keywords.
(cherry picked from commit 3dcf0567a11887a460aefc76b3bce8636d688019)
2018-02-05 09:33:01 +01:00
Ignacio Etcheverry
40c779fb70 Mono: Remove automatic script multilevel calls
(cherry picked from commit 84437b48645ac688bd182eb9f5f58896e46a752f)
2018-02-05 09:32:29 +01:00
Paolo Perkovic
7de47fbabb Fix inconsistencies and typos in argument names
(cherry picked from commit 08d4bfacafa8abe435d51a6afecb276030a23280)
2018-02-04 20:10:13 +01:00
Nathan Warden
4a3a597377 Fix an infinite recursion in the Mathf.Decimals method when using floats.
(cherry picked from commit 2109bd3f9722929a1d8b6850b235677a03a1313a)
2018-02-04 20:08:26 +01:00
MrCdK
258119a9cf Expose audio streams get_length()
(cherry picked from commit 8a9f1c2a5d7364016b9c67dc158557607f6de4bd)
2018-01-30 20:53:37 +01:00
Rémi Verschelde
dcacf36118
Merge pull request #16118 from neikeq/i-dont-know-what-to-write-here-anymore
Mono: Fix build errors with tools=no and target=release
2018-01-27 23:29:27 +01:00
Ignacio Etcheverry
72b0a9432b Mono: Fix method_bind fields being generated as instance members 2018-01-27 22:45:57 +01:00
Ignacio Etcheverry
0c3bbcaa00 Mono: Fix build errors with tools=no and target=release 2018-01-27 18:44:04 +01:00
Ignacio Etcheverry
562ec3f5e6 Mono: Don't defer call to dispose queue objects when finalizing domain
It's going to be called anyway after `mono_domain_finalize`.
This also prevents crashes, since the MessageQueue singleton could already be freed at this point (see: #15702).
2018-01-26 01:10:25 +01:00
Ignacio Etcheverry
58448561c7 Mono: Fix NodePath and RID bindings 2018-01-25 23:46:54 +01:00
Rémi Verschelde
f2e3825616 doc: Fix references to online tutorials after godotengine/godot-docs#1015 2018-01-25 09:03:59 +01:00
Rémi Verschelde
d516aab8fa doc: Sync with current source
Also enhance RigidBody docs as per https://github.com/godotengine/godot-docs/pull/1018
and fix the version tag in all files (not really stable yet, but it makes no sense
to hardcode rc3 at this stage).
2018-01-25 08:50:56 +01:00