summaryrefslogtreecommitdiff
path: root/modules
AgeCommit message (Collapse)Author
2020-12-03Merge pull request #44011 from KoBeWi/red_roses_minus_blue_violetsRémi Verschelde
Fix subtracting colors and quats
2020-12-03Fix subtracting colors and quatsTomasz Chabora
2020-12-03Merge pull request #43959 from dalexeev/gds-docRémi Verschelde
Several edits to the GDScript docs
2020-12-03Merge pull request #43896 from RandomShaper/fix_rel_probe_visRémi Verschelde
Put misc. 3D tool visible instances on their own layer
2020-12-03Merge pull request #43801 from nekomatata/bullet-ccd-disabledRémi Verschelde
Fix ccd enabled by default on Bullet bodies
2020-12-03Merge pull request #44064 from akien-mga/mono-android-fix-buildRémi Verschelde
Mono: Fix Android build after #36311
2020-12-03Mono: Fix Android build after #36311Rémi Verschelde
2020-12-03Merge pull request #43536 from jonbonazza/hmacFabio Alessandrelli
feat: HMAC support in Crypto APIs
2020-12-02Merge pull request #44044 from Wavesonics/xatlas-options-masterRémi Verschelde
xatlas should be using the options configured here
2020-12-02xatlas should be using the options configured hereAdam Brown
It was using the defaults by mistake
2020-12-02Refactored Mesh internals and formats.reduz
-Changed how mesh data is organized, hoping to make it more efficient on Vulkan and GLES. -Removed compression, it now always uses the most efficient format. -Added support for custom arrays (up to 8 custom formats) -Added support for 8 weights in skeleton data. -Added a simple optional versioning system for imported assets, to reimport if binary is newer -Fixes #43979 (I needed to test) WARNING: -NOT backwards compatible with previous 4.x-devel, will most likely never be, but it will force reimport scenes due to version change. -NOT backwards compatible with 3.x scenes, this will be eventually re-added. -Skeletons not working any longer, will fix in next PR.
2020-12-02Merge pull request #41095 from ThakeeNathees/GDScript-DocumentationRémi Verschelde
GDScript(2.0) Documentation generation system
2020-12-02Merge pull request #41773 from ThakeeNathees/default-argument-override-buf-fixGeorge Marques
GDScript default argument override bug fix
2020-12-02xatlas: Sync with upstream 5571fc7Adam Brown
Fixes #44017 by changing the `normalize()` function to check for non-negative rather than non-zero via an epsilon check.
2020-12-02Refactor DocData into core and editor (DocTools) partsThakee Nathees
2020-12-01Several edits to the GDScript docsDanil Alexeev
2020-11-30Merge pull request #43992 from vnen/variant-internal-object-setRémi Verschelde
Fix VariantInternal initialization and setting of object
2020-11-30Merge pull request #43504 from AndreaCatania/gds_fix_2Rémi Verschelde
Implement proper error print, Fixes a crash when no error messages are generated by the analyser.
2020-11-30Fix VariantInternal initialization and setting of objectGeorge Marques
- Initialize Object pointer to nullptr so it's not used by mistake. - When setting an Object check if it's a reference so refcounting works as intended.
2020-11-30GDScript: Don't construct ref values in compilerGeorge Marques
Values that are passed by reference are not suited for being constructed at compile time because in this case they would be shared across all the construction statements.
2020-11-29Documentation generation for GDScriptThakee Nathees
- ClassDoc added to GDScript and property reflection data were extracted from parse tree - GDScript comments are collected from tokenizer for documentation and applied to the ClassDoc by the GDScript compiler - private docs were excluded (name with underscore prefix and doesn't have any doc comments) - default values (of non exported vars), arguments are extraced from the parser - Integrated with GDScript 2.0 and new enums were added. - merge conflicts fixed
2020-11-28GDScript default argument override bug fixThakee Nathees
Fix: #41766
2020-11-28Implement proper error print, Fixes a crash when no error messages are ↵AndreaCatania
generated by the analyser.
2020-11-28Merge pull request #42109 from EricEzaM/PR/input-and-shortcuts-reworkRémi Verschelde
Shortcuts rework - fixed issues with input propagation and triggering of unwanted shortcuts.
2020-11-28Merge pull request #41100 from bruvzg/ctl_text_server_interfaceRémi Verschelde
[Complex Text Layouts] Implement TextServer interface.
2020-11-27Merge pull request #43500 from AndreaCatania/gds_fixesRémi Verschelde
Fixes crash when parse_expression returns nullptr.
2020-11-27Merge pull request #43914 from ThakeeNathees/range-argument-type-bug-fixRémi Verschelde
GDScript: range function type check bug fixed
2020-11-27Merge pull request #43226 from mateosss/unreachable-prop-crashGeorge Marques
Fix crash due to unreachable code in properties
2020-11-27GDScript range function typecheck bug fixedThakee Nathees
Fix: #43586
2020-11-26feat: HMAC support in Crypto APIsJon Bonazza
2020-11-26Unregister GDScriptFunctionState classGeorge Marques
This is not user accessible anymore so it does not need to be show in documentation.
2020-11-26Merge pull request #43895 from vnen/gdscript-operators-fixRémi Verschelde
GDScript: Improve handling of operators
2020-11-26Put misc. 3D tool visible instances on their own layerPedro J. Estébanez
This makes that visible stuff invisible to ReflectionProbes, whose preview in the editor shouldn't involve them.
2020-11-26Merge pull request #43894 from vnen/gdscript-some-fixesRémi Verschelde
Some GDScript fixes
2020-11-26GDScript: Improve handling of operatorsGeorge Marques
- Use the new functions in Variant to determine the validity and resulting type of operators. - Split the operator function in codegen between binary and unary, since the unary ones have now a special requirement of having the second argument to be the NIL type when requesting info.
2020-11-26GDScript: Don't clear depended parsers too soonGeorge Marques
It can wait until the analyzer itself is destructed, otherwise other phases might be using freed parsers.
2020-11-26GDScript: Give an error if dependency can't be parsedGeorge Marques
Otherwise this may lead to a crash when the dependency is not present.
2020-11-26[Complex Text Layouts] Refactor Font class, default themes and controls to ↵bruvzg
use Text Server interface. Implement interface mirroring. Add TextLine and TextParagraph classes. Handle UTF-16 input on macOS and Windows.
2020-11-26[Complex Text Layouts] Implement GDNative interface for TextServer.bruvzg
2020-11-26[Complex Text Layouts] Implement ICU / HarfBuzz based TextServer module.bruvzg
2020-11-26[Complex Text Layouts] Add third-party TextServer dependencies (ICU, ↵bruvzg
HarfBuzz, Graphite).
2020-11-26[Complex Text Layouts] Implement TextServer interface. Implement Fallback ↵bruvzg
TextServer.
2020-11-25fixes crash for OPCODE_CAST_TO_NATIVE opcode in gdscript disassemlberJordan Schidlowsky
2020-11-25Fixed ccd enabled by default on Bullet bodiesPouleyKetchoupp
It was due to main_shape_changed being called two times for each added body. The first time it disables ccd, which sets the internal ccd threshold to be 10000. The second time, it enables ccd again because the internal threshold is > 0. Bodies are now consistently set with a ccd threshold of 0 when ccd is disabled. This was causing crashing asserts in Bullet when adding bodies in some scenarios, in btVector3::normalize(): btAssert(!fuzzyZero()); These crashes will still happen with ccd enabled.
2020-11-25Merge pull request #43856 from vnen/gdscript-some-fixesRémi Verschelde
A couple of GDScript fixes
2020-11-25Merge pull request #43775 from vnen/gdscript-fix-stackRémi Verschelde
GDScript: Fix mishandling of stack pointers
2020-11-25GDScript: Fix return of cast expression on compilationGeorge Marques
It was mistakenly returning the source instead of the result.
2020-11-25GDScript: Fix range() being treated as array when optimized outGeorge Marques
The call of range() in a for loop is optimized to use int or vectors, to avoid allocating an array, however the type was set as array still. With the new typed VM this is an issue as the type mismatch the actual value, resulting in wrong instructions to be selected.
2020-11-25GDScript: Fix mishandling of stack pointersGeorge Marques
- Replace the for loop temporaries by locals. They cause conflicts with the stack when being popped, while locals are properly handled in the scope. - Change the interface for the codegen so the for loop list doesn't live through the whole block if it's a temporary. - Keep track of the actual amount of local variables in the stack. Using the size of the map is misleading in cases where multiple locals have the same name (which is allowed when there's no shadowing). - Added a few debug checks for temporaries, to avoid them being wrongly manipulated in the future. They should not live more than a line of code. - Rearrange some of compiler code to make sure the temporaries don't live across blocks.
2020-11-25Core: Always enable ptrcall, remove PTRCALL_ENABLED defineRémi Verschelde
ptrcall is now also used to optimize calls in GDScript, on top of the existing use by the GDNative and Mono modules. It no longer makes sense to make it optional.