summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
2021-09-29Merge pull request #53217 from Faless/ext/fix_pointer_infoRémi Verschelde
2021-09-29Fix const pointers types in docs and extension API.Fabio Alessandrelli
The GDVIRTUAL_NATIVE_PTR did not declare the correct GDNativeConstPtr template, resulting in "void*" being used as it's type info in both the documentation and the extension API dump.
2021-09-29Implement override of get_message and get_plural_messageO01eg
2021-09-29Use functions defined in the their classes.Anilforextra
2021-09-28Merge pull request #52481 from Faless/net/4.x_native_peersFabio Alessandrelli
[Net] Extension system for network peers, webrtc.
2021-09-28Replace auto completion shortcut for macfabriceci
2021-09-28Merge pull request #53053 from LATRio/callable_in_thread_startRémi Verschelde
2021-09-28Fix inversed check inside register_singletonHennadii Chernyshchyk
2021-09-27Parse UTF-8 when getting path from resource UIDHaoyu Qiu
2021-09-26Merge pull request #53058 from LATRio/52191Rémi Verschelde
check if 'shortcut' in InputEventShortcut is valid
2021-09-26validate 'shortcut' in InputEventShortcutLATRio
2021-09-25Merge pull request #52855 from Calinou/engine-editor-hint-getter-onlyRémi Verschelde
2021-09-25Use Callable in Thread::startLATRio
2021-09-25Merge pull request #52849 from KoBeWi/know_no_bindsRémi Verschelde
2021-09-24Fix Face3::get_random_point_inside()John Wigg
Use correct overload of Math::random(from, to) to return floating point values within the correct range.
2021-09-24[Net] MultiplayerPeer cleanup, defaults.Fabio Alessandrelli
2021-09-24[Net] Bind Multiplayer to GDExtension.Fabio Alessandrelli
2021-09-24[Net] StreamPeer GDExtension.Fabio Alessandrelli
2021-09-24[Net] Enable PacketPeer native extensions.Fabio Alessandrelli
2021-09-24Remove binds from Signal.connectkobewi
2021-09-24Merge pull request #52430 from AnilBK/vector2-replacementsRémi Verschelde
2021-09-24Replace `#pragma once` by traditional include guards for consistencyHugo Locurcio
`#pragma once` was used in a few files, yet we settled on using traditional include guards instead. The PooledList template comment was also moved to allow editors such as Visual Studio Code to display the comment when hovering PooledList. `app.h` was renamed to `app_uwp.h` to be less generic for the include guard.
2021-09-23Construct values only when necessary.Anilforextra
2021-09-22[ClassDB] Unify construct/extension retrieval.Fabio Alessandrelli
2021-09-22[Core] Add ClassDB functions to retrieve/construct extensions.Fabio Alessandrelli
Calling the constructor alone is not enough if the class to be instantiated is not a base class. This commit adds two functions, one for retrieving the the extension class reference, the other to construct an instance using the constructor and the extension class reference.
2021-09-21Merge pull request #52878 from AnilBK/add-get-centerRémi Verschelde
2021-09-21Add Get Center Method for Rect2/Rect2i and AABB.Anilforextra
2021-09-21Merge pull request #52877 from Calinou/add-print-verboseRémi Verschelde
Add `print_verbose()` built-in function to print in verbose mode only
2021-09-21Add `print_verbose()` built-in function to print in verbose mode onlyHugo Locurcio
This can be used as a shorthand for: if OS.is_stdout_verbose(): print("...") Unlike `print_debug()`, this works in release builds too and can be toggled off in debug builds.
2021-09-21Improve implementation of builtin action overridesEric M
2021-09-20Remove `Engine.editor_hint` in favor of `Engine.is_editor_hint()`Hugo Locurcio
The `Engine.set_editor_hint()` setter method is no longer exposed to scripting, which makes the property effectively read-only from an user perspective.
2021-09-20Merge pull request #52513 from Ev1lbl0w/fix_path_double_slashRémi Verschelde
Fix path with multiple slashes not being corrected on templates
2021-09-20Merge pull request #52398 from deakcor/dev-transformRémi Verschelde
2021-09-19Expose get_skew for transform2d and add new constructorVincent D
Expose set_scale and set_skew for transform2d Replacing float by real_t Adding const parameters Updated transform2d doc
2021-09-17Allow indexing of String values in scripting languagesGeorge Marques
2021-09-17Merge pull request #52450 from aaronfranke/they-came-from-scaleRémi Verschelde
Replace Vector3.to_diagonal_matrix with Basis.from_scale
2021-09-17Allow comparing equality between builtin types and nullGeorge Marques
2021-09-17Replace Vector3.to_diagonal_matrix with Basis.from_scaleAaron Franke
2021-09-16Merge pull request #52734 from lucypero/thread_override_masterRémi Verschelde
2021-09-16Allow for platform Thread implementation overrideLucy
2021-09-16Merge pull request #52739 from BastiaanOlij/gdextension_array_indexRémi Verschelde
2021-09-16Merge pull request #52740 from akien-mga/os-get_locale-languageRémi Verschelde
Implement `OS::get_locale_language()` helper method
2021-09-16Add GD extensions operator functions for arraysBastiaan Olij
2021-09-16Merge pull request #52358 from kleonc/astar_error_messagesRémi Verschelde
`AStar` Add error messages
2021-09-16Merge pull request #52735 from BastiaanOlij/gdextension_property_groupRémi Verschelde
Add property group and subgroup registration to extensions
2021-09-16Implement `OS::get_locale_language()` helper methodRémi Verschelde
This method extracts the 2 or 3-letter language code from `OS::get_locale()`, making it easier for users to identify the "main" language code for users that might have different OS locales due to different OS or region, but should be matched to the same translation (e.g. "generic" Spanish). Fixes #40703.
2021-09-15Merge pull request #52571 from timothyqiu/expose-enumJuan Linietsky
Expose enum related methods in ClassDB
2021-09-16Add property group and subgroup registration to extensionsBastiaan Olij
2021-09-15Fix String::num_real and String test cases when compiling with doublesAaron Franke
2021-09-15Merge pull request #52693 from akien-mga/fixup-inputmap-macos-overrideRémi Verschelde
InputMap: Fixup `macos` feature tag overrides after #52291