summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
2020-12-08Merge pull request #44089 from Xrayez/rng-stateRémi Verschelde
Add ability to restore `RandomNumberGenerator` state
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-08Constify ScriptLanguage.can_inherit_from_fileEmmanuel Leblond
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-07Add ability to restore `RandomNumberGenerator` stateAndrii Doroshenko (Xrayez)
- added `state` as a property to restore internal state of RNG; - `get_seed()` returns last seed used to initialize the state rather than the current state. Co-authored-by: MidZik <matt.idzik1@gmail.com>
2020-12-07Improve argument names for core typesAaron Franke
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-05Remove connect *_compat methodsAaron Franke
2020-12-04Merge pull request #44084 from vnen/float-is-realRémi Verschelde
Rename TYPE_REAL to TYPE_FLOAT
2020-12-04Rename TYPE_REAL to TYPE_FLOATGeorge Marques
To be consistent with the naming everywhere else.
2020-12-03Reorganize rendering server.reduz
-Made RenderingServerScene abstract, allowing reimplementation -RenderingServerRaster -> RenderingServerDefault, but this class is going away soon.
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 #43660 from EricEzaM/PR/INP1-inputevent_as_text_and_to_stringRémi Verschelde
InputEvent as_text now returns readable string. Added to_string for debug strings
2020-12-03Merge pull request #44061 from madmiraal/fix-44056Rémi Verschelde
Ignore hint entries in game controller mapping
2020-12-03Merge pull request #43536 from jonbonazza/hmacFabio Alessandrelli
feat: HMAC support in Crypto APIs
2020-12-03Ignore hint entries in game controller mappingMarcel Admiraal
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-02Initialize class/struct variables with default values in platform/ and editor/Rafał Mikrut
2020-12-02Merge pull request #41095 from ThakeeNathees/GDScript-DocumentationRémi Verschelde
GDScript(2.0) Documentation generation system
2020-12-02Fix .pck lookup for extensionless binary in macOS resources.bruvzg
2020-12-02Refactor DocData into core and editor (DocTools) partsThakee Nathees
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-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-28Merge pull request #43061 from qarmin/crash_when_prining_nodesRémi Verschelde
Fix crash when printing leaked nodes
2020-11-28Merge pull request #41100 from bruvzg/ctl_text_server_interfaceRémi Verschelde
[Complex Text Layouts] Implement TextServer interface.
2020-11-28Merge pull request #43903 from cptchuckles/fix-signRémi Verschelde
Fix SGN macro
2020-11-28Mention lack of optional setter arguments in `ClassDB::add.property()`Hugo Locurcio
2020-11-27Fix SGN macrojcgollnick
This version behaves the way the documentation states: 0 values will resolve to 0 instead of +1
2020-11-27Merge pull request #40136 from Jummit/multiplayer-root-node-gettersFabio Alessandrelli
Add root_node as property of MultiplayerAPI
2020-11-27Disable SO_REUSEADDR for UDP.Fabio Alessandrelli
It allows binding multiple sockets to the same ADDR:PORT (unlike TCP, which still requires different ADDR:PORT combinations).
2020-11-26feat: HMAC support in Crypto APIsJon Bonazza
2020-11-27InputEvent as_text now returns readable string. Added to_string for debug ↵Eric M
strings Made InputEvent as_text() return a readable and presentable string. Added to_string() overrides for each which returns a 'debug-friendly' version which is not as presentable but provides more information and in a more structured fashion. Use as_text() for UI display scenarions and to_string() for debug cases
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 TextServer interface. Implement Fallback ↵bruvzg
TextServer.
2020-11-26Removed references to 'registering_order', as it was unused.Eric M
2020-11-25Merge pull request #43864 from vnen/fix-print-utilitiesRémi Verschelde
Fix prints and printt functions printing as errors
2020-11-25Fix prints and printt functions printing as errorsGeorge Marques
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.
2020-11-24Merge pull request #43730 from qarmin/core_drivers_default_valuesRémi Verschelde
Initialize class/struct variables with default values in core/ and drivers/
2020-11-23Initialize class/struct variables with default values in core/ and drivers/Rafał Mikrut
2020-11-23Fix DebuggerMarshalls errors while profilingPouleyKetchoupp
Fixed check for array size before func_size: when func_size is 0 there's only 1 entry left and not 3.
2020-11-23Make warning about Reference singletons more accuratePedro J. Estébanez
2020-11-23Merge pull request #43627 from aaronfranke/pixelviRémi Verschelde
Use Vector2i instead of Vector2 for Image get_pixelv and set_pixelv
2020-11-23Merge pull request #43725 from vnen/gdscript-typed-vm-2Rémi Verschelde
GDScript: Typed VM Take 2
2020-11-21Add extra functions to VariantInternalGeorge Marques
- Allow getting an opaque pointer, no matter the type (for ptrcall). - Allow setting object pointer and id directly. - Allow initializing the data given a type, to allow properly setting return types on ptrcalls.
2020-11-21Use Vector2i instead of Vector2 for Image get_pixelv and set_pixelvAaron Franke
Co-authored-by: Andrii Doroshenko <xrayez@gmail.com>
2020-11-20Variant: Merge get() and validated_get()George Marques
Since they do pretty much the same thing. The validated_get() was renamed to get() since that is more performant.
2020-11-20Fix variant getters not setting return typeGeorge Marques
The validated getters were only setting the value without changing the type, leading to wrong results. This uses the same path used for methods to the same purpose.
2020-11-19Merge pull request #43591 from madmiraal/fix-43520Rémi Verschelde
Update joy button and stick names, enums and documentation