summaryrefslogtreecommitdiff
path: root/modules
AgeCommit message (Collapse)Author
2020-09-20Merge pull request #41426 from madmiraal/fix-bullet-zero-scaleRémi Verschelde
Check and correct for zero scaling when unscaling Bullet basis.
2020-09-18Merge pull request #41861 from Razoric480/fix-vscript-value-by-typeRémi Verschelde
Add a function to sanitize variant values in visual script
2020-09-18Add a VScript func to sanitize variant valuesFrancois Belair
Fixes #27611
2020-09-18Merge pull request #41930 from RandomShaper/fix_gdscript_leaksRémi Verschelde
Fix leaks in GDScript
2020-09-18Fix typos with codespellRémi Verschelde
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-16Fix ExprMatch stackoverflowRaul Santos
2020-09-15Fix certificate generation with mbedtls 2.16.8 .Fabio Alessandrelli
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.
2020-09-15Merge pull request #42061 from madmiraal/fix-41743Rémi Verschelde
Fix Bullet prioritised list of Areas a RigidBody is a member of element shift.
2020-09-14Fix RigidBodyBullet areasWhereIam element shift.Marcel Admiraal
2020-09-14Several documentation improvementsDanil Alexeev
2020-09-13Add mono log message to error for fatal errorsTom Daffin
2020-09-13Merge pull request #42000 from aaronfranke/cs-arr-concatRémi Verschelde
Add concatenation support and a new constructor to Godot.Collections.Array
2020-09-13C#: Fix csproj not synced on file move/removal from FS dockIgnacio Etcheverry
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.
2020-09-12Add concatenation support and a new ctor to Godot.Collections.ArrayAaron Franke
2020-09-11Move GDNative `String` tests to respective moduleAndrii Doroshenko (Xrayez)
GDNative-specific tests moved out of main `tests/` folder into `modules/gdnative/tests`. Include path for GDNative headers are still hardcoded in `tests/SCsub`, but made conditional now. Also fixed test case tag typos. Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
2020-09-11Remove unused Python local variables.Marcel Admiraal
2020-09-10Add main_gutter (breakpoints, bookmarks, execution lines) to code_editPaulb23
2020-09-10Merge pull request #41806 from AndreaCatania/AndreaCatania-patch-4Rémi Verschelde
Avoid adding margin twice along capsule Y axis
2020-09-10Remove unused Python imports.Marcel Admiraal
2020-09-10Ensure cyclic dependencies between scripts are broken at exitPedro J. Estébanez
2020-09-10Prevent cyclic reference between script and its membersPedro J. Estébanez
2020-09-09Make EXR import format support all depths and channel configurationsreduz
2020-09-09stb_vorbis: Increase max alloc buffer size for big Vorbis commentsRémi Verschelde
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.
2020-09-09Merge pull request #41904 from akien-mga/fix-clang6-compat-mutexlockRémi Verschelde
GDScript: Fix MutexLock usage, fixes Clang 6 compat
2020-09-09GDScript: Fix MutexLock usage, fixes Clang 6 compatRémi Verschelde
Fixes #41852.
2020-09-08Change inequality comparison operators to use exact equalityAaron Franke
2020-09-08Merge pull request #41709 from ThakeeNathees/dictionary-indexing-bug-fixRémi Verschelde
Fixed parser error when indexing a dictionary.
2020-09-08Merge pull request #41888 from neikeq/sln-bomRémi Verschelde
C#: Use BOM when creating a solution
2020-09-08C#: Use BOM when creating a solutionIgnacio Etcheverry
At least on Windows there seems to be issues if the solution has no BOM and contains a project with cyrillic chars.
2020-09-08C#: Fix endless reload loop if project has unicode charsIgnacio Etcheverry
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-08Merge pull request #41875 from nekomatata/webrtc-doc-turn-serverRémi Verschelde
Fix TURN server example in WebRTC documentation
2020-09-08Fix TURN server example in WebRTC documentationPouleyKetchoupp
WebRTC GDNative plugin uses `credential` and not `credentials`. https://github.com/godotengine/webrtc-native/blob/74f2c78db5cdffa5b2b6ba9cd041061d7694400c/src/WebRTCLibPeerConnection.cpp#L35-L37
2020-09-07Merge pull request #38308 from bruvzg/sad_security_circusRémi Verschelde
Adds PCK encryption support (using script encryption key for export).
2020-09-06Merge pull request #41813 from madmiraal/add-missing-header-guardsRémi Verschelde
Fix header guards in modules.
2020-09-06Fix header guards in modules:Marcel Admiraal
- Add missing header guards to various modules' register_types.h - Add header guard to basis_universal/texture_basisu.h. - Ensure header guard encloses entire header in webrtc/webrtc_data_channel_js.h.
2020-09-06Merge pull request #41803 from ThakeeNathees/parameter-type-infer-bug-fixRémi Verschelde
GDScript: parameter infer type bug fix
2020-09-06Avoid adding margin twice along capsule Y axisAndrea Catania
2020-09-06GDScript: parameter infer type bug fixThakee Nathees
Fix: #41772
2020-09-06Handle csproj "Remove" globsAlex de la Mare
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-05Adds PCK encryption support (using script encryption key for export).bruvzg
Change default encryption mode from ECB to CFB.
2020-09-04Fix Mono path utils char types.bruvzg
2020-09-04Merge pull request #41760 from ↵Rémi Verschelde
ThakeeNathees/null-dereference-on-gdscript-function-fix null pointer dereference at GDScriptFunction::call crash fix
2020-09-04null pointer dereference at GDScriptFunction::call fixThakee Nathees
2020-09-04Merge pull request #41753 from neikeq/csharp-hide-build-button-if-no-projRémi Verschelde
C#: Hide Build button if there's no solution to build
2020-09-04Merge pull request #41747 from neikeq/issue-41446Rémi Verschelde
Fix parsing of C# files with spaces in the path
2020-09-04Merge pull request #41750 from neikeq/issue-41745Rémi Verschelde
C#: Fix Godot failing to find class namespace
2020-09-04Merge pull request #41748 from neikeq/issue-41712Rémi Verschelde
Fix 'Parameter "assembly" is null' error
2020-09-04C#: Hide Build button if there's no solution to buildIgnacio Etcheverry
Same as we do with the bottom panel. Mainly to avoid bothering if the project is not using C#.
2020-09-04C#: Fix Godot failing to find class namespaceIgnacio Etcheverry
2020-09-04Fix 'Parameter "assembly" is null' errorIgnacio Etcheverry
This error was normally being printed when trying to open the project assembly while the project was not yet built. The error should not be printed. It's the job of this method's caller to decide whether to print an error or not if loading failed.