summaryrefslogtreecommitdiff
path: root/modules
AgeCommit message (Collapse)Author
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[TextServer] Restore character and space extra spacing support.bruvzg
2021-02-14[CTL] Fix scaling of the underline position and size.bruvzg
2021-02-14Merge pull request #45953 from BastiaanOlij/no_unload_non_reloadableRémi Verschelde
Only unload the library if the reloadable flag is true
2021-02-14Merge pull request #46009 from qarmin/xatlas_leakRémi Verschelde
Fix memory leak in Xatlas module
2021-02-14Fix memory leak in Xatlas moduleRafał Mikrut
2021-02-14Only unload the library when no NativeScript objects exist if the reloadable ↵Bastiaan Olij
flag is true. If it is false it is likely the library does other things and can't be unloaded
2021-02-13Fix Mono build after resource load cache changesXartorx
2021-02-12Fix LineEdit minimum widthreduz
-Changed theme setting name to make more sense of what it does -Reduced amount of minimum characters, so minimum size is smaller.
2021-02-11Improve resource load cachereduz
-Added a new method in Resource: reset_state , used for reloading the same resource from disk -Added a new cache mode "replace" in ResourceLoader, which reuses existing loaded sub-resources but resets their data from disk (or replaces them if they chaged type) -Because the correct sub-resource paths are always loaded now, this fixes bugs with subresource folding or subresource ordering when saving.
2021-02-11Fix broken gdnative variant testHenry Conklin
2021-02-11Merge pull request #45847 from vnen/gdnative-bindingsRémi Verschelde
Improve GDNative API and JSON generation further
2021-02-10Removed _change_notifyreduz
-For inspector refresh, the inspector now detects if a property change by polling a few times per second and then does update the control if so. This process is very cheap. -For property list refresh, a new signal (property_list_changed) was added to Object. _change_notify() is replaced by notify_property_list_changed() -Changed all objects using the old method to the signal, or just deleted the calls to _change_notify(<property>) since they are unnecesary now.
2021-02-10Make Servers truly Thread Safereduz
-Rendering server now uses a split RID allocate/initialize internally, this allows generating RIDs immediately but initialization to happen later on the proper thread (as rendering APIs generally requiere to call on the right thread). -RenderingServerWrapMT is no more, multithreading is done in RenderingServerDefault. -Some functions like texture or mesh creation, when renderer supports it, can register and return immediately (so no waiting for server API to flush, and saving staging and command buffer memory). -3D physics server changed to be made multithread friendly. -Added PhysicsServer3DWrapMT to use 3D physics server from multiple threads. -Disablet Bullet (too much effort to make multithread friendly, this needs to be fixed eventually).
2021-02-09Improve GDNative api.json generatorGeorge Marques
- Add indexed type to the builtin types output, which is useful for bindings implementing array-like access. - Use getter type instead of hint for property types, as the hint can be unreliable and include multiple comma-separated possible types.
2021-02-09Further changes to GDNative APIGeorge Marques
- Moved Variant struct definition to its own file so it can be used without include cycles (like on Dictionary). - Add `index` operator function so bindings like C++ can implement the operator[] overload (which needs a reference to the actual value). - Added missing new/destroy functions to Vector3i array. - Added print error/warning functions as helpers so bindings can print messages in the same manner as Godot itself does.
2021-02-08Initialize class/struct variables with default values in modules/Rafał Mikrut
2021-02-07Invert spotlight angle attenuationjfons
Inverted the spotlight angle attenuation so a higher value results in a dimmer light, this makes it more consistent with the distance attenuation. Also changed the way spotlighs are computed in SDFGI and GIPorbes and GPU lightmapper, now it matches the falloff used in the scene rendering code.
2021-02-06Snap VisualScript comment to grid when resizingKanabenki
2021-02-05Merge pull request #45667 from Calinou/doc-gridmap-no-visual-layersRémi Verschelde
Document that GridMap doesn't support visual layers or cull masks
2021-02-04[Mono] Use the same search logic for both `MSBuild` and `dotnet`, add custom ↵bruvzg
search paths on macOS.
2021-02-04Fix a crash in the TGA loader with malformed inputHein-Pieter van Braam-Stewart
2021-02-02Document that GridMap doesn't support visual layers or cull masksHugo Locurcio
See #40245.
2021-02-02C conformance: Include stdbool.h to define `bool`Miguel de Icaza
`bool` is otherwise not defined in C.
2021-02-01Replace ColorN and from HTML with a string constructorAaron Franke
2021-02-01Merge pull request #37547 from aaronfranke/tauRémi Verschelde
Use Math_TAU and deg2rad/etc in more places and optimize code
2021-02-01Merge pull request #45608 from bruvzg/font_int_coordsRémi Verschelde
Use integer coordinates for the font glyphs rendering.
2021-02-01Fix C# string.Hash()zaevi
2021-01-31Use integer coordinates for the font glyphs rendering.bruvzg
2021-01-31Merge pull request #45315 from RandomShaper/modernize_threadRémi Verschelde
Modernize Thread