Sergey Minakov
3386fac02c
iOS: fix deprecations
...
Change deprecated method calls to new ones.
Guard iOS version dependant functionality behind availability checks.
2020-10-01 18:09:55 +03:00
Eduardo Rodrigues
f14e569ab3
Fix error message when exporting a write-only property without a setter
...
(cherry picked from commit aca0cede67
)
2020-10-01 16:00:43 +02:00
Rémi Verschelde
8d36b7206c
Merge pull request #42460 from ThakeeNathees/signal-lines-marked-safe
...
[3.2] GDScript signal lines marked as safe
2020-10-01 14:18:22 +02:00
Rémi Verschelde
b83f9d47a0
Merge pull request #41830 from RandomShaper/fix_40353_3.2
...
Avoid warning about harmless unfulfilled yields (3.2)
2020-10-01 14:17:56 +02:00
Rémi Verschelde
3961f50176
Merge pull request #40461 from nekomatata/script-editor-init-optimization-3.2
...
[3.2] Optimized ScriptEditor initialization when many scripts are loaded
2020-10-01 13:58:01 +02:00
Rémi Verschelde
0a26217579
Merge pull request #41200 from madmiraal/fix-38001-3.2
...
[3.2] Mark the first shape as inside, not the second shape, when CSG shapes are co-planer.
2020-10-01 13:50:19 +02:00
Thakee Nathees
a69c3cace2
GDScript signal lines marked as safe
...
Fix : #33927
2020-10-01 17:01:11 +05:30
Rémi Verschelde
aaf0b32e91
doc: Sync classref with current source
2020-09-29 13:57:58 +02:00
Pedro J. Estébanez
d56112005f
Avoid infinite loop in GDScript at shutdown
...
(cherry picked from commit de4e54dd91
)
2020-09-29 13:57:55 +02:00
Hugo Locurcio
7b3f9ebb94
Enable the `copy_mono_root` SCons option by default
...
This closes #41652 .
(cherry picked from commit cfd564b385
)
2020-09-29 13:57:55 +02:00
Hugo Locurcio
880ab559ec
Improve documentation related to printing error/warning messages
...
(cherry picked from commit 50f3a8e312
)
2020-09-29 08:54:45 +02:00
Francois Belair
d0eedd4c23
Make LSP ignore $/ messages
...
Fixes #38814
(cherry picked from commit 9c273307d8
)
2020-09-29 08:54:44 +02:00
Rémi Verschelde
8ca9680b13
Merge pull request #38076 from DrMoriarty/fix_pvrtc
...
iOS: Fix multiple issues with PVRTC import, disable ETC1
2020-09-28 10:17:22 +02:00
Pedro J. Estébanez
4cab6452d9
Fix GDScript leak avoidance
...
Modify usage of types so that the `Ref` created from `base_type.script_type` doesn't involve converting first to `Variant`, which will use the constructor for `Object *`, as if the argument wasn't a `Reference`, and therefore will convert back to null.
2020-09-25 01:41:31 +02:00
Hugo Locurcio
92a85b4445
Improve documentation about VideoPlayer video formats
...
This closes https://github.com/godotengine/godot-docs/issues/4021 .
(cherry picked from commit 1efe57848a
)
2020-09-24 14:43:11 +02:00
Stephan Dilly
11426cb0f7
add iOS Simulator platform
...
without this we have to manually drop a `x86_64` builds of gdnative libs into the Xcode project to allow running in `iOS Simulator`
(cherry picked from commit f49199bcc3
)
2020-09-24 14:43:10 +02:00
Aaron Franke
ea3bbbe0f2
Add concatenation support and a new ctor to Godot.Collections.Array
...
(cherry picked from commit a4dcd48d16
)
2020-09-24 14:43:10 +02:00
Ricardo Alcantara
197b375b89
Basis RotationQuat should be public.
...
(cherry picked from commit a676b8ea66
)
2020-09-24 14:43:08 +02:00
Aaron Franke
1dcbcaaa0d
Change inequality comparison operators to use exact equality
...
(cherry picked from commit d0a1399a1b
)
2020-09-24 14:43:08 +02:00
Zae
e5b357cfb1
Fix C# string.IsAbsPath()
...
(cherry picked from commit b5eea5cfd4
)
2020-09-24 14:43:08 +02:00
Raul Santos
cf45fa7f36
Fix ExprMatch stackoverflow
...
(cherry picked from commit d425cf6fed
)
2020-09-24 14:43:07 +02:00
Marcel Admiraal
a9b5dc56a6
Check and correct for zero scaling when unscaling Bullet basis.
...
(cherry picked from commit 4b14916288
)
2020-09-24 14:43:06 +02:00
Marcel Admiraal
808865af97
Don't attempt to insert points into degenerate triangles.
...
Use a simpler degenerate triangle check that calculates area.
(cherry picked from commit 3521239d96
)
2020-09-24 14:43:05 +02:00
hoontee
aa0221f0fb
Transform CSGShape collision when necessary
...
(cherry picked from commit fc8574fbac
)
2020-09-24 14:43:05 +02:00
hoontee
8ce88d38f2
Properly handle empty CSGCombiners
...
(cherry picked from commit 001b6075cb
)
2020-09-24 14:43:05 +02:00
Rémi Verschelde
bca2633f93
Merge pull request #41931 from RandomShaper/fix_gdscript_leaks_3.2
...
Fix leaks in GDScript (3.2)
2020-09-24 08:33:04 +02:00
Vasiliy Makarov
f388ea00bf
iOS: Fix multiple issues with PVRTC import, disable ETC1
...
Fixes : #28683 , #28621 , #28596 and maybe others
For iOS we enable pvrtc feature by default for both GLES2/GLES3
Etc1 for iOS doesn't have any sense, so it disabled.
Fixed checks in export editor.
Fixed pvrtc ability detection in GLES2 driver.
Fixed pvrtc encoding procedure.
2020-09-23 11:13:50 +02:00
Rémi Verschelde
26512dda93
Merge pull request #42170 from Razoric480/fix-vscript-value-by-type-32
...
Add a VScript func to sanitize variant values (3.2)
2020-09-23 09:35:22 +02:00
Francois Belair
d35ced06a6
Add a VScript func to sanitize variant values
...
Backported to 3.2
2020-09-18 11:28:58 -04:00
Rémi Verschelde
c8859f0463
Fix typos with codespell
...
Using codespell 1.17.1.
Method:
```
$ cat > ../godot-word-whitelist.txt << EOF
ang
curvelinear
dof
doubleclick
fave
findn
leapyear
lod
merchantibility
nd
numer
ois
ony
que
seeked
synching
te
uint
unselect
webp
EOF
$ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"
$ git diff // undo unwanted changes
```
2020-09-18 14:09:51 +02:00
Fabio Alessandrelli
f1b2a7d1b4
Fix certificate generation with mbedtls 2.16.8 .
...
When generating certificates with
`Crypto.generate_self_signed_certificate` we generate the PEM in a
buffer via `mbedtls_x509write_crt_pem`.
Since version 2.16.8, mbedtls adds spurious data at the end of the
buffer due to internal optimizations, this breaks our logic when we try
to immediately parse it and return a proper `X509Certificate` object.
This commit updates the code to find the actual PEM length to parse
using `strlen`, takes extra caution always adding the terminator to the
buffer, and slightly improve error messages.
(cherry picked from commit 60687ce778
)
2020-09-15 19:27:48 +02:00
Danil Alexeev
06f3cd8bd8
Several documentation improvements
...
(cherry picked from commit a4c5790350
)
2020-09-15 19:26:40 +02:00
Marcel Admiraal
edc4820430
Fix RigidBodyBullet areasWhereIam element shift.
2020-09-14 18:26:19 +01:00
Tom Daffin
46b4e82f92
Add mono log message to error for fatal errors
...
(cherry picked from commit c15fb42d45
)
2020-09-14 12:07:12 +02:00
Ignacio Etcheverry
cdc9fe154f
C#: Fix csproj not synced on file move/removal from FS dock
...
When NormalizePath was called with an absolute
path (with drive letter) on Windows, it would
prepend a file path separator to the path, e.g.:
'\C:\Program Files\'.
Apparently this was still accepted as a valid
path by DotNetGlob and it stopped working when
we switched to MSBuildGlob.
(cherry picked from commit 1db0395950
)
2020-09-13 12:35:34 +02:00
Rémi Verschelde
36fa6369fc
stb_vorbis: Increase max alloc buffer size for big Vorbis comments
...
The previous max worked OK for audio data, but stb_vorbis recently gained support
for Vorbis comments, which can embed up to 2^32-1 bytes of data (e.g. cover art
encoded as base64).
We use 2^30 as max which should be sufficient for most files.
Fixes #41913 .
(cherry picked from commit d16f5a57c1
)
2020-09-10 12:04:19 +02:00
Pedro J. Estébanez
8e64969184
Ensure cyclic dependencies between scripts are broken at exit
2020-09-09 14:57:34 +02:00
Pedro J. Estébanez
a0969662cd
Prevent cyclic reference between script and its members
2020-09-09 13:51:53 +02:00
Ignacio Etcheverry
8c5ed68847
C#: Use BOM when creating a solution
...
At least on Windows there seems to be issues if
the solution has no BOM and contains a project
with cyrillic chars.
(cherry picked from commit 1c74fa4242
)
2020-09-08 22:02:24 +02:00
Ignacio Etcheverry
e72ee23c43
[3.2] C#: Fix endless reload loop if project has unicode chars
...
The assembly modified time wasn't picked properly
as the path was treated as latin-1, so the file
watcher was constantly firing the event.
2020-09-08 19:47:47 +02:00
PouleyKetchoupp
43b49607bb
Fix TURN server example in WebRTC documentation
...
WebRTC GDNative plugin uses `credential` and not `credentials`.
74f2c78db5/src/WebRTCLibPeerConnection.cpp (L35-L37)
(cherry picked from commit 280496a2c3
)
2020-09-08 13:39:18 +02:00
Pedro J. Estébanez
51844febee
Avoid warning about harmless unfulfilled yields
2020-09-06 22:26:16 +02:00
Alex de la Mare
6474e036ac
[3.2] Handle csproj "Remove" globs
...
MSBuild Item returns empty strings if an attribute isn't set (which
caused an IndexOutOfRangeException in NormalizePath).
We were treating Excludes incorrectly, Remove directives provide the
intended behaviour in the auto-including csproj format.
2020-09-06 12:10:54 +10:00
Marcel Admiraal
c6cccdf0c6
Ensure header guards enclose entire header.
...
(cherry picked from commit f6ad1954f7
)
2020-09-04 08:48:35 +02:00
Ignacio Etcheverry
9699e83e1e
Fix parsing of C# files with spaces in the path
...
(cherry picked from commit 9e8a5e4b5a
)
2020-09-04 08:24:17 +02:00
Rémi Verschelde
9efd555c58
Merge pull request #41754 from neikeq/3.2-csharp-hide-build-button-if-no-proj
...
[3.2] C#: Hide Build button if there's no solution to build
2020-09-04 08:20:06 +02:00
Rémi Verschelde
93eb9b554e
Merge pull request #41752 from neikeq/fix-invalidopexception-csproj-migration
...
[3.2] Fix InvalidOperationException when migrating from 3.2.1 or older csproj
2020-09-04 08:19:18 +02:00
Rémi Verschelde
1edd6aa404
Merge pull request #41751 from neikeq/3.2-issue-41745
...
[3.2] C#: Fix Godot failing to find class namespace
2020-09-04 08:16:30 +02:00
Ignacio Etcheverry
2bb251f628
[3.2] C#: Hide Build button if there's no solution to build
...
Same as we do with the bottom panel. Mainly to
avoid bothering if the project is not using C#.
2020-09-04 02:18:42 +02:00
Ignacio Etcheverry
f8e3a74f9e
Fix InvalidOperationException when migrating from 3.2.1 or older csproj
2020-09-04 01:49:32 +02:00