summaryrefslogtreecommitdiff
path: root/modules
AgeCommit message (Collapse)Author
2020-12-12Merge pull request #44315 from madmiraal/fix-handles-baseexceptionRémi Verschelde
Don't handle BaseException in build scripts
2020-12-12Don't handle BaseException in build scriptsMarcel Admiraal
2020-12-10Image: Rename PVRTC{2,4} to PVRTC1_{2,4}, drop COMPRESS_PVRTC2Rémi Verschelde
We haven't had a proper implementation for COMPRESS_PVRTC2 (which is PVRTC1 2-bpp) in years, so let's drop it instead of keeping a compress type which doesn't work. The other enum values were renamed to clarify that our PVRTC2 and PVRTC4 are respectively PVRTC1 2-bpp and PVRTC1 4-bpp. PVRTC2 2-bpp and 4-bpp are not implemented yet.
2020-12-10PVRTC: Move compress func to `modules/pvr`, drop obsolete PVRTexTool codeRémi Verschelde
The code we had for PVRTexTool doesn't work as it's not compatible with current PVRTexTool CLI options, and likely hasn't been for years. Instead, we have our own vendored pvrtccompressor thirdparty library which all users have thus de-facto been using. This commit moves the compress code to `modules/pvr` where it belongs. There's no proper compress function for PVRTC 2-bit format, that's a bug that will need to be fixed (currently it's compressed as 4-bit format even if you use Image::FORMAT_PVRTC2). Fixes #28669.
2020-12-09LSP: Fix iterator in enum API dumpRémi Verschelde
2020-12-09Static analyzer fixes:bruvzg
Removes unused code in OS. Fixes return types. Fixes few typos.
2020-12-08Merge pull request #43742 from qarmin/editor_modules_default_valuesRémi Verschelde
Initialize class/struct variables with default values in platform/ and editor/
2020-12-08Merge pull request #44190 from ↵Rémi Verschelde
touilleMan/constify-ScriptLanguage.can_inherit_from_file Constify ScriptLanguage.can_inherit_from_file
2020-12-08Merge pull request #44176 from touilleMan/global_class_naming-for-pluginscriptRémi Verschelde
Add PluginScript support for global class naming/icon path
2020-12-08Add PluginScript support for global class naming/icon pathEmmanuel Leblond
2020-12-08Constify ScriptLanguage.can_inherit_from_fileEmmanuel Leblond
2020-12-08Merge pull request #44177 from ↵Rémi Verschelde
touilleMan/pluginscript-allow-custom-can_inherit_from_file Allow PluginScript to customize language's can_inherit_from_file attribute
2020-12-08Merge pull request #44136 from neikeq/scons-mono-bcl-optionRémi Verschelde
Mono: Add mono_bcl SCons option for a custom BCL location
2020-12-08Merge pull request #44148 from Calinou/tweak-log-file-namesRémi Verschelde
Tweak log file names for consistency between Mono and non-Mono logs
2020-12-08Allow PluginScript to customize language's can_inherit_from_file attributeEmmanuel Leblond
2020-12-07Merge pull request #44076 from Faless/js/4.x_gdnativeRémi Verschelde
[HTML5] Optional GDNative Support
2020-12-07Merge pull request #44162 from aaronfranke/argRémi Verschelde
Improve some argument names for core types
2020-12-07Merge pull request #43007 from DeleteSystem32/mp3-supportRémi Verschelde
Add MP3 import and playback support
2020-12-07Merge pull request #44093 from nekomatata/gdscript-base-class-initRémi Verschelde
Fix base script not initialized properly in some cases
2020-12-07Merge pull request #43981 from bruvzg/ctl_font_spacingRémi Verschelde
[Complex Text Layouts] Adds missing Font::SPACING_* to the controls, align glyphs to pixel grid.
2020-12-07Improve argument names for core typesAaron Franke
2020-12-07Merge pull request #44117 from bruvzg/mem_fontsRémi Verschelde
Load dynamic fonts to memory on all platforms, to avoid locked files.
2020-12-07Load dynamic fonts to memory on all platforms, to avoid locked files.bruvzg
2020-12-07[Complex Text Layouts] Performance optimizations.bruvzg
2020-12-06Tweak log file names for consistency between Mono and non-Mono logsHugo Locurcio
- Avoid spaces in Mono log file names. - Use a `.log` extension for Mono logs, just like non-Mono logs. - Use periods to separate hours/minutes/seconds for non-Mono logs.
2020-12-06[Complex Text Layouts] Fix bitmap font memory leak.bruvzg
2020-12-06[Complex Text Layouts] Align glyph offsets and advances to the pixel grid.bruvzg
2020-12-06[Complex Text Layouts] Adds missing Font::SPACING_* to the Label, LineEdit, ↵bruvzg
TextEdit, TextLine and TextParagraph. Fixes oversized editor control height (default editor spacing is negative) and control size changing when text is set.
2020-12-06Fix base script not initialized properly in some casesPouleyKetchoupp
Storing script references to pointer only in result.script_type could lead to losing the last reference, causing further conversions from Script* to Ref<Script> to fail. Now result.script_type_ref is always set first, and then cleared in the specific case of the script being the owner, to avoid cyclic reference issues.
2020-12-06Merge pull request #44106 from neikeq/mono-invoke-no-params-boxingRémi Verschelde
Don't box params on Native->C# calls with Variant params
2020-12-06Don't box params on Native->C# calls with Variant paramsIgnacio Etcheverry
Godot uses Variant parameters for calls to script methods. Up until now we were boxing such parameters when marshalling them for invokation, even if they were value types. Now Godot allocates the marshalled parameters on the stack, reducing the GC allocations resulted from boxing.
2020-12-06Mono: Add mono_bcl SCons option for a custom BCL locationIgnacio Etcheverry
Makes it let's bothersome to work with builds from our godotengine/godot-mono-builds scripts, as they write the BCL into an output directory separate from the runtime (which is good as two runtimes may share the same BCL).
2020-12-05Remove connect *_compat methodsAaron Franke
2020-12-05Merge pull request #44091 from madmiraal/rename-cubemesh-boxmeshRémi Verschelde
Rename CubeMesh to BoxMesh
2020-12-05Merge pull request #44109 from neikeq/fix-await-to-signal-many-at-onceRémi Verschelde
C#: Fix multiple awaits to same signal result in connect error
2020-12-05Merge pull request #44108 from neikeq/editor-fix-unhandled-exception-rethrownRémi Verschelde
Fix unhandled exception re-thrown in the editor
2020-12-05Merge pull request #44107 from neikeq/fix-slow-build-log-updateRémi Verschelde
C#: Fix very slow build log update in the editor
2020-12-05Rename CubeMesh BoxMeshMarcel Admiraal
2020-12-04Rename EditorNode3DGizmoPlugin "get_name" to "get_gizmo_name"Aaron Franke
2020-12-04Rename RD texture "type" to "texture_type"Aaron Franke
"type" isn't very descriptive for exposed code, and this variable is exposed via RD_SETGET.
2020-12-04Rename RD uniform "type" to "uniform_type"Aaron Franke
"type" isn't very descriptive for exposed code, and this variable is exposed via RD_SETGET.
2020-12-04Rebind Mesh/ArrayMesh enumsAaron Franke
2020-12-05[HTML5] Make GDNative support feature-based.Fabio Alessandrelli
This is suboptimal as it requires adding an extra compile flag, but rewriting how feature tags work is beyond the scope of this work.
2020-12-05[HTML5] GDNative support via SIDE_MODULE.Fabio Alessandrelli
Working with emscripten >= 2.0.10
2020-12-05C#: Fix very slow build log update in the editorIgnacio Etcheverry
2020-12-05Fix unhandled exception re-thrown in the editorIgnacio Etcheverry
2020-12-05C#: Fix multiple awaits to same signal result in connect errorIgnacio Etcheverry
Multiple calls to the same `await ToSignal` were resulting in "signal already connected to slot" error because the custom callable comparer was wrong. Comparing only the signal awaiter handle is the correct way (it's unique for the target).
2020-12-04[HTML5] Add function signatures to JS libraries.Fabio Alessandrelli
2020-12-04doc: Sync classref with current sourceRémi Verschelde
And fixups: - Add missing bindings in RenderingServer - Remove duplicate ArrayMesh enum bindings (they're in Mesh already) - Remove redundant _unhandled_key_input binding in Control (it's in Node already)
2020-12-04Merge pull request #44084 from vnen/float-is-realRémi Verschelde
Rename TYPE_REAL to TYPE_FLOAT