summaryrefslogtreecommitdiff
path: root/modules
AgeCommit message (Collapse)Author
2021-03-09Merge pull request #45545 from abaire/relaxes_gltf_name_sanitizationRémi Verschelde
Relaxes node name sanitization in gltf documents.
2021-03-08Merge pull request #46174 from xill47/mono-appdomain-unhandled-exception-eventRémi Verschelde
Added mono_unhandled_exception call to unhandled_exception hook
2021-03-08Added mono_unhandled_exception call to unhandled_exception hookIlya Kuznetsov
2021-03-08Merge pull request #46782 from bruvzg/fix_def_theme_sizeRémi Verschelde
Improve bitmap font scaling. Fix default theme font size.
2021-03-08Improve bitmap font scaling. Fix default theme font size.bruvzg
2021-03-07Merge pull request #46713 from neikeq/csharp-source-generators-initRémi Verschelde
Add C# source generator for ScriptPathAttribute
2021-03-06Add C# source generator for a new ScriptPath attributeIgnacio Etcheverry
This source generator adds a newly introduced attribute, `ScriptPath` to all classes that: - Are top-level classes (not inner/nested). - Have the `partial` modifier. - Inherit `Godot.Object`. - The class name matches the file name. A build error is thrown if the generator finds a class that meets these conditions but is not declared `partial`, unless the class is annotated with the `DisableGodotGenerators` attribute. We also generate an `AssemblyHasScripts` assembly attribute which Godot uses to get all the script classes in the assembly, eliminating the need for Godot to search them. We can also avoid searching in assemblies that don't have this attribute. This will be good for performance in the future once we support multiple assemblies with Godot script classes. This is an example of what the generated code looks like: ``` using Godot; namespace Foo { [ScriptPathAttribute("res://Player.cs")] // Multiple partial declarations are allowed [ScriptPathAttribute("res://Foo/Player.cs")] partial class Player {} } [assembly:AssemblyHasScripts(new System.Type[] { typeof(Foo.Player) })] ``` The new attributes replace script metadata which we were generating by determining the namespace of script classes with a very simple parser. This fixes several issues with the old approach related to parser errors and conditional compilation. It also makes the task part of the MSBuild project build, rather than a separate step executed by the Godot editor.
2021-03-06Added some checks to prevent accessing a null colliderDuddino
Previously godot would try to access `CollisionObjectBullet::bt_collision_object` even if it was null. Fixes #46651
2021-03-03Merge pull request #43768 from sjml/mac-mono-export-fixRémi Verschelde
Mono/macOS: Separate data dir into frameworks and resources for codesigning
2021-03-03Mono/macOS: Separate data dir into frameworks and resources for codesigningShane Liesegang
Co-authored-by: Ignacio Etcheverry <ignalfonsore@gmail.com>
2021-03-02Fixed match for expression patternDavid Sichma
equality comparison now writes to right target address
2021-03-02Merge pull request #42029 from ThakeeNathees/export-type-infer-bug-fixGeorge Marques
GDScript export array/dictionary type infer bug fix
2021-03-02Merge pull request #46559 from asmaloney/fix-code-completionRémi Verschelde
Script editor: Fix two special cases not being checked in code completion
2021-03-02Merge pull request #41897 from strank/not-in-conditional-doneRémi Verschelde
Add a "not in" operator to GDScript.
2021-03-01[script editor] Fix two special cases not being checked in code completionAndy Maloney
When this code was changed for 4.0, a "break" statement inside a for loop in 3.x was changed to "return". This means that the two special cases (autoloads and input actions) are never checked. Removing the return lets these work properly in the editor. (Also reorder conditionals to short-circuit and avoid expensive methods.)
2021-02-27Merge pull request #46470 from Faless/net/4.x_enet_timeoutRémi Verschelde
Add set_peer_timeout to NetworkedMultiplayerENet.
2021-02-27Add set_peer_timeout to NetworkedMultiplayerENet.Fabian
2021-02-25Add generic support to PackedScene.InstanceAaron Franke
2021-02-25Merge pull request #46379 from ThakeeNathees/signal-idf-not-found-fixRémi Verschelde
GDScript: False positive "Identifier not found" error on signals fixed
2021-02-25Document seamless noise having a lower contrast than non-seamless noiseHugo Locurcio
See #41787.
2021-02-25Merge pull request #40276 from Taywee/masterRémi Verschelde
remove invalid codeLensProvider value from lsp
2021-02-25Added GridMap description to get_bake_meshes()Jack Linhart
2021-02-25Fix C# bindings generator for default value typesAaron Franke
2021-02-24Relaxes Node naming constraints in glTF documents to match the Editor.abaire
2021-02-24false positive "Identifier not found" error or signals fixedThakee Nathees
2021-02-24Merge pull request #46045 from bruvzg/text_server_bmp_createRémi Verschelde
[TextServer] Restores bitmap font dynamic construction functions.
2021-02-22Merge pull request #46307 from RandomShaper/fix_crash_mono_glueRémi Verschelde
Make glue generation shutdown more graceful
2021-02-22Make glue generation shutdown more gracefulPedro J. Estébanez
2021-02-21Add missing semicolons to webxr.eterns.jsMarcel Admiraal
2021-02-20Merge pull request #45158 from aaronfranke/cs-packedarrayRémi Verschelde
Add C# array features from core PackedArrays
2021-02-19Merge pull request #46221 from akien-mga/doc-sync-classrefRémi Verschelde
doc: Sync classref with current source
2021-02-19doc: Sync classref with current sourceRémi Verschelde
And fix various bogus bindings following previous PRs.
2021-02-19Make FreeType optional for export templates.bruvzg
2021-02-18Merge pull request #45617 from RandomShaper/modernize_atomicsRémi Verschelde
Modernize atomics (and fix `volatile`)
2021-02-18Modernize atomicsPedro J. Estébanez
- Based on C++11's `atomic` - Reworked `SafeRefCount` (based on the rewrite by @hpvb) - Replaced free atomic functions by the new `SafeNumeric<T>` - Replaced wrong cases of `volatile bool` by the new `SafeFlag` - Platform-specific implementations no longer needed Co-authored-by: Hein-Pieter van Braam-Stewart <hp@tmm.cx>
2021-02-18Removed hardcoded shortcuts from /scene and converted to input actionsEric M
This removes hardcoded actions from things like LineEdit and TextEdit. Previously, things like copy, paste, etc were all hardcoded to Ctrl+C, Ctrl+V, etc. They could not be changed. This allows the possibility of them being changed, by making them use the action map. This has the added benefit of greatly simplifying the input handling logic in those controls. The logic which was previously in a huge and hard to follow switch statement has been extracted to individual methods.
2021-02-18Reorganize Project Settingsreduz
-Advanced Settings toggle also hides advanced properties when disabled -Simplified Advanced Bar (errors were just plain redundant) -Reorganized rendering quality settings. -Reorganized miscelaneous settings for clean up.
2021-02-18Merge pull request #45032 from neikeq/classdb-tests-for-44856Rémi Verschelde
Add ClassDB tests to look for core API deps on editor API
2021-02-18Fixed Invalid function bindings #46135Vignesh1-art
Fixed GDScriptLanguageProtocol::notify_client - have 3 arguments, but only 2 are binded
2021-02-17Merge pull request #45955 from angad-k/fix-set-joint-i-to-nameRémi Verschelde
fix set_joint_i_to_name to use the provided argument
2021-02-17glTF: Fix set_joint_i_to_name not using its argumentAngad Kambli
Fixes #45371.
2021-02-16Add C# array features from core PackedArraysAaron Franke
2021-02-16Added signed_angle_to for Vector3JestemStefan
2021-02-16Merge pull request #46083 from ellenhp/mono_ogg_fixRémi Verschelde
Fix mono->stereo conversion for oggs
2021-02-16Merge pull request #46039 from ellenhp/fix-empty-mp3-crashRémi Verschelde
Warn and return when attempting to load invalid MP3s
2021-02-15Fix mono->stereo conversion for oggs (see #40630)Ellen Poe
2021-02-15Fail mp3 loading when attempting to load invalid mp3sEllen Poe
This also adds a warning for unspecified MP3 loading error codes
2021-02-15[Text Server] Restores bitmap font dynamic construction functions.bruvzg
2021-02-15[TextServer] Restore character and space extra spacing support.bruvzg
2021-02-14[CTL] Fix scaling of the underline position and size.bruvzg