summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
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-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-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
2021-09-15InputMap: Fixup `macos` feature tag overrides after #52291Rémi Verschelde
Fixes #52691.
2021-09-15--single-window is passed through project manager.Jacob Edie
This means you can start godot with --single-window
2021-09-15Merge pull request #52123 from lightspot21/fix-placement-new-warningRémi Verschelde
Silence false-positive warning for malformed placement new on GCC 11.1
2021-09-15Merge pull request #52562 from BastiaanOlij/gd_extensions_register_driversRémi Verschelde
Add driver types to GD extension initialisation levels
2021-09-15Merge pull request #52291 from Calinou/inputmap-rename-osx-macosRémi Verschelde
Rename `osx` to `macos` in input map feature tag handling
2021-09-15Rename `osx` to `macos` in input map feature tag handlingHugo Locurcio
This follows the general feature tag rename for 4.0.
2021-09-14Clean convex hull decomposition codePouleyKetchoupp
Remove unnecessary conversion between triangle data and vertex data whenever possible.
2021-09-15Fix placement new on zero-sized region warning on GCC 11.1Grigoris Pavlakis
On latest (11.1 as of this commit) GCC, the following warning is continuously issued during build: warning: placement new constructing an object of type 'SafeNumeric<unsigned int>' and size '4' in a region of type 'uint32_t*' {aka 'unsigned int*'} and size '0' [-Wplacement-new=] This happens because on 98ceb60eb4 the new operator override used was dropped and replaced with standard placement new. GCC sees the subtraction from the pointer and complains as it thinks that the SafeNumeric is placed outside an allocation, not knowing that the address requested is already inside one. After suggestions, the false positive is silenced, with no other changes.
2021-09-14Merge pull request #52613 from V-Sekai/fix_custom_sync_commandsFabio Alessandrelli
Fix custom multiplayer sync commands
2021-09-14Merge pull request #52535 from e8newallm/52490-type_conversionRémi Verschelde
Added explicit type conversion to uint32_t
2021-09-13Revert some URLs from the "Replace HTTP URLs with HTTPS" PRAaron Franke
2021-09-13Merge pull request #50375 from Paulb23/code_edit_unit_testsRémi Verschelde
2021-09-13Merge pull request #52049 from theraot/masterRémi Verschelde
2021-09-13Added explicit type conversionsMatthew Newall