summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
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-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-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
2020-11-19Update joy button and stick names, enums and documentationMarcel Admiraal
2020-11-19Merge pull request #43662 from EricEzaM/PR/INP3-command_serialization_optionalRémi Verschelde
Made serialization of Command toggleable when saving InputEvents.
2020-11-19Merge pull request #43682 from RandomShaper/warn_reference_singletonRémi Verschelde
Warn about singleton being a Reference
2020-11-19Made serialization of Command toggleable when saving InputEvents.Eric M
Made serialization of Command optional. If command is serialized, Control (On Win/Linux) or Meta (on Mac) are not. Example use case: You are on Windows and you set a shortcut to be Control + E. This would serialize as Command=true and Control=true. If you then run this project on Mac, you would need to press Command AND Control to activate the shortcut - which is not what is intended. Now, you can set store_command to true, and it will only serialize to Command = true (no Control serialized). On Windows, this means Control. On Mac, it means only command.
2020-11-19Warn about singleton being a ReferencePedro J. Estébanez
2020-11-19Merge pull request #43661 from EricEzaM/PR/INP2-rename_load_from_globalsRémi Verschelde
load_from_globals() -> load_from_project_settings()
2020-11-19load_from_globals() -> load_from_project_settings()Eric M
2020-11-18Fix crash duplicating local-to-scene resourcesPedro J. Estébanez
2020-11-18Fix return type on builtin validated callsGeorge Marques
Before it was being set to the base type instead of the actual return type.
2020-11-17Fix crash when printing leaked nodesRafał Mikrut
2020-11-17Merge pull request #43612 from akien-mga/variant-utils-docRémi Verschelde
doc: Sync classref with Variant utility methods
2020-11-17doc: Sync classref with Variant utility methodsRémi Verschelde
Copied relevant documentation from the original `@GDScript` built-ins, which will likely be removed in a future commit. Various fixups to `variant_utility.cpp` while working on this.
2020-11-17Merge pull request #43610 from RandomShaper/fix_res_duplicateRémi Verschelde
Fix crash in resoure duplicate
2020-11-17Fix crash in resoure duplicatePedro J. Estébanez
2020-11-16Remove empty lines around braces with the formatting scriptAaron Franke
2020-11-16Merge pull request #43233 from madmiraal/fix-42876Rémi Verschelde
Remove unneeded filter on joy_axis()
2020-11-16Merge pull request #43493 from timothyqiu/request-absolute-authorityFabio Alessandrelli
Allow HTTPClient to talk to a proxy server
2020-11-16Merge pull request #43566 from Calinou/remove-pause-mode-script-property-groupsRémi Verschelde
Remove property groups for Pause Mode and Script
2020-11-16Merge pull request #42976 from aaronfranke/input-get-axisRémi Verschelde
Allow getting Input "axis" and "vector" values by specifying multiple actions
2020-11-16Merge pull request #43289 from KoBeWi/removelease_actionRémi Verschelde
Release pressed action if event is removed
2020-11-15Remove property groups for Pause Mode and ScriptHugo Locurcio
Each of those only grouped 1 property, making them useless. This closes https://github.com/godotengine/godot-proposals/issues/1840.
2020-11-15fix custom loader/saver brokenZae
2020-11-14Allows HTTPClient to talk to proxy serverHaoyu Qiu
* Makes request uri accept absolute URL and authority * Adds Host header only when missing
2020-11-12Release pressed action if event is removedTomasz Chabora
2020-11-11Refactor variant built-in methods yet again.reduz
* Using C-style function pointers now, InternalMethod is gone. * This ensures much better performance in typed code. * Renamed builtin_funcs to utility_funcs, to avoid naming confusion