summaryrefslogtreecommitdiff
path: root/modules
AgeCommit message (Collapse)Author
2020-01-23Merge pull request #35491 from neikeq/issue-35450Rémi Verschelde
Mono/C#: Lighten up unsafe reference checks
2020-01-23Mono/C#: Lighten up unsafe reference checksIgnacio Etcheverry
Because of the weird case with multi-threading and ResourceLoader, it can be the case that a resource is GCed while being referenced again in the main thread. In such cases, a new unsafe reference is created before the finalizer thread removes the previous one.
2020-01-23Merge pull request #35478 from neikeq/issue-32260Rémi Verschelde
Mono/C#: Add setting to include I18N assemblies in the exported game
2020-01-23Mono/C#: Add setting to include I18N assemblies in the exported gameIgnacio Etcheverry
2020-01-23Merge pull request #35473 from neikeq/default-to-net47Rémi Verschelde
Mono/C#: Default to net47 for new projects
2020-01-23Merge pull request #35472 from neikeq/issue-35448Ignacio Roldán Etcheverry
Mono/C#: Add Basis.Slerp, update Quat.Xform and add some math checks
2020-01-23Mono/C#: Add Basis.Slerp, update Quat.Xform and add some math checksIgnacio Etcheverry
2020-01-23Mono/C#: Default to net47 for new projectsIgnacio Etcheverry
2020-01-23Finish documenting CSG* and *probesclayjohn
2020-01-23doc: Misc updates for AnimationNode* and othersRémi Verschelde
- Add some missing descriptions. - Add links to tutorials for ARVR and AnimationTree. - Style fixes. - Engine changes: * Make `AnimationNodeTransition.input_<number>` properties internal so that they don't appear in the docs. They still appear in the inspector based on the actual number of inputs requested. * Drop unimplemented `CPUParticles.flatness`. It's only used for 3D particles in `ParticlesMaterial`, and thus only relevant for `CPUParticles3D`.
2020-01-22Merge pull request #35412 from DaividFrank/check_overriding_selfRémi Verschelde
Disabled re-assigning 'self'
2020-01-22GDScript: Added checks in assign operations to disable re-assigning 'self'DaividFrank
2020-01-21Remove unused #if 0'ed codeRémi Verschelde
2020-01-21Merge pull request #35408 from Faless/ws/fix_packet_countRémi Verschelde
Fix MultiplayerAPI crash when peer implementation misbehave.
2020-01-21Fix MultiplayerAPI crash when peer impl misbehave.Fabio Alessandrelli
Also fix WebSocketMultiplayer::get_available_packet_count() return value when peer is not configured to use the multiplayer API.
2020-01-21Merge pull request #35407 from neikeq/issue-27285Ignacio Roldán Etcheverry
Add dummy preprocessor for the C# script class parser
2020-01-21Make script class parser errors to not abort the buildIgnacio Etcheverry
As our script class parser is error prone, we should not impede the build from continuing because of a parsing error. This should be reverted in the future once we switch to Roslyn.
2020-01-21Add dummy preprocessor for the C# script class parserIgnacio Etcheverry
No attempts are made at conditional compilation. The main if branch is always assumed to be true.
2020-01-21Bullet: Prevent potential division by zeroRémi Verschelde
Fixes #33715.
2020-01-20Mono/C#: Fix error when parsing nested genericsIgnacio Etcheverry
Also fixed the editor not including the parse error message in the error.
2020-01-19Merge pull request #35270 from ChibiDenDen/fix_extends_sub_subclassRémi Verschelde
Fix subclass finding in extend statement for sub-sub classes
2020-01-19Fix ClassDB API portability with some android and editor classesIgnacio Etcheverry
- `EditorNavigationMeshGenerator` was being registered as part of the Core API, even after d3f48f88bb84d22b7805ce971ac86cf1953a29fd. We must make sure to set Editor as the current ClassDB API type before creating an instance. - The `VisualScriptEngineSingleton.constant` property has a property hint string that's different between tools and non-tools builds. This commit makes the hint string to no longer be set in `_bind_methods`, and to instead set it in `_validate_property`. This way it's ignored when calculating the API hash. - `JavaClassWrapper` is now registered in ClassDB on all platforms, using a dummy implementation on platforms other than Android. This fixes API portability between Android and other platforms. - Updated `--class-db-json` command to ignore non-virtual methods that start with an underscore (see: 4be87c6016a5893cbde897924e540df4c988cee5).
2020-01-18Fix subclass finding in extend statement for sub-sub classesDani Frank
lookup was always done on top level script instead of advancing to subclass each time. this commit changes the lookup to always be at last found subclass
2020-01-17Merge pull request #35224 from ↵Rémi Verschelde
ChibiDenDen/constant_lookup_through_subclass_instance Fix constant access in base class through subclass instance
2020-01-17Fix constant access in base class through subclass instanceChibiDenDen
Fixes as issue where a subclass calls a base class method that tries to access a constant from the script. The original code went through every ower class, and for each owner, went through its inheritance tree. This seems like the wrong order, the modified code goes to each base class, and for each base class goes through the owner tree. This is more in line with what the parser does, as the current impelemtation allows an access that the parser does not support. This change should not negatively affect existing code due to the way the parser works
2020-01-16Merge pull request #34789 from Faless/enet/disconnect_relayRémi Verschelde
ENet optional server_relay when disconnecting peer
2020-01-16Merge pull request #35218 from bojidar-bg/26691-parse-error-errorsRémi Verschelde
Fix errors raised when showing parse errors in the editor
2020-01-16Merge pull request #35208 from neikeq/mono-lazy-thread-attachIgnacio Roldán Etcheverry
Mono/C#: Script interface calls now attach the current thread
2020-01-16Fix errors raised when showing parse errors in the editorBojidar Marinov
Fixes #26691
2020-01-16Mono/C#: Script interface calls now attach the current threadIgnacio Etcheverry
Added guards to all C# script interface calls to attach the current thread for the current scope if the thread is not already attached. This is far from ideal, as attaching the thread is not cheap and all managed thread local storage is lost when we detach the thread at the end of the calls. However, it's the best we can do for now to avoid crashing when an unattached thread tries to interact with C# code.
2020-01-16Merge pull request #35201 from bojidar-bg/27582-gdfunction-validate-instanceRémi Verschelde
Validate instances of objects before trying to check their type in GDScript
2020-01-16Merge pull request #35199 from dalexeev/masterRémi Verschelde
Fix function arguments hint format in GDScript editor
2020-01-16Merge pull request #35203 from timothyqiu/image-loader-nullRémi Verschelde
Adds null check before using image loader
2020-01-16Merge pull request #35102 from ChibiDenDen/reuse_orphaned_subclassRémi Verschelde
#34161: Keep a weak reference to orphan subclasses to reuse on class reload
2020-01-16Validate instances of objects before trying to check their type in GDScriptBojidar Marinov
Fixes #27582
2020-01-16Merge pull request #35198 from bojidar-bg/27575-poolarrayexport-defaultRémi Verschelde
Fix slight problems related to default values of exported typed arrays
2020-01-16Adds NULL check before using image loaderHaoyu Qiu
2020-01-16Fix slight problems related to default values of exported typed arraysBojidar Marinov
2020-01-16Fix function arguments hint format in GDScript editorDanil Alexeev
for consistency with the format of the documentation: "type func_name(arg1: type, arg2: type)"
2020-01-16Validate input in (CPU)Particles set_emission_shape()Rémi Verschelde
Fixes #29777. Co-authored-by: Cameron Reikes <cameronreikes@gmail.com>
2020-01-15Mono/C#: Fix false positive in unsafe reference checksIgnacio Etcheverry
2020-01-15Keep a weak reference to orphan subclasses to reuse on class reloadChibiDenDen
2020-01-15Merge pull request #35156 from MadEqua/fix-grid-mapRémi Verschelde
Fix GridMap getter of baked meshes.
2020-01-15Fix GridMap getter of baked meshes.Bruno Lourenço
2020-01-15Mono: Fix parsing assembly names as UTF-8Rémi Verschelde
Fixes #27185.
2020-01-15Prevent GDScript language server from listening to external hosts by defaultHoukime
* Add bind_ip property to WebSocketServer defaulting to "*" (listen to everyone) * Set default for GDscript Language Server to listen only to localhost Fixes potential security issue with GDScript language server being exposed to the broad net by default. Since it is the server which primary usage is to provide utility to the local editor there is no need to expose it.
2020-01-15Fix typos with codespellRémi Verschelde
Using codespell 1.16.0. See ab3bccdb78cc7dffb6ab796053ef63489f05558d for procedure.
2020-01-14Merge pull request #35122 from ChibiDenDen/fully_qualified_name_gdscriptRémi Verschelde
Add fully_qualified_name for GDScript class
2020-01-14Merge pull request #35120 from Faless/docs/html5_restrictionsRémi Verschelde
Update documentation to reflect HTML5 limitations.
2020-01-14Add fully_qualified_name for GDScript classDani Frank