summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
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
2021-09-13Add driver types to GD extension initialisation levelsBastiaan Olij
2021-09-12Fix custom multiplayer sync commandsSaracenOne
2021-09-11Expose enum related methods in ClassDBHaoyu Qiu
2021-09-10Merge pull request #52406 from ellenhp/libvorbisJuan Linietsky
Replace stb_vorbis with libvorbis
2021-09-10Merge pull request #52229 from lawnjelly/basis_quat_warningMax Hilbrunner
Improve Basis::get_quaternion error message
2021-09-10Fix path with multiple slashes not being corrected on templatesRicardo Subtil
2021-09-09Replace stb_vorbis with libogg+libvorbisEllen Poe
2021-09-08Merge pull request #52408 from GiantBlargg/fix-string-castFabio Alessandrelli
Fix invalid string cast
2021-09-08Multiplayer networking renames/simplificationMax Hilbrunner
Removes _networking_ prefix from some methods and members, now that multiplayer has been largely moved out of Node and SceneTree and is seperated into its own set of classes.
2021-09-07Merge pull request #52097 from mortarroad/master-fix-convex-hull-double-edgesMax Hilbrunner
Fix emitting duplicate edges for convex hulls
2021-09-07Merge pull request #47391 from Calinou/platform-feature-tags-lowercaseJuan Linietsky
Make platform feature tag names lowercase
2021-09-07Merge pull request #52289 from Calinou/remove-old-msvc-support-ifdefMax Hilbrunner
Remove `#ifdefs` for handling compilation with Visual Studio < 2015
2021-09-07Merge pull request #52442 from Faless/mp/4.x_rpc_managerMax Hilbrunner
[Net] Move multiplayer classes to own subfolder. Split RPC from MultiplayerAPI.
2021-09-07[Net] Move multiplayer to core subdir, split RPCManager.Fabio Alessandrelli
Move multiplayer classes to "core/multiplayer" subdir. Move the RPCConfig and enums (TransferMode, RPCMode) to a separate file (multiplayer.h), and bind them to the global namespace. Move the RPC handling code to its own class (RPCManager). Renames "get_rpc_sender_id" to "get_remote_sender_id".
2021-09-07Implement properties arrays in the Inspector.Gilles Roudière
2021-09-07Use builtin Vector2 functions for calculation of angles.Anilforextra
.
2021-09-05Merge pull request #51722 from ↵Gilles Roudière
TokageItLab/implement-set-read-only-in-extended-class Apply `set_read_only()` to child classes of `EditorProperty` elements
2021-09-05Apply set_read_only() to child classes of EditorProperty elementsSilc 'Tokage' Renew
2021-09-04fix invalid string castDaniel Doran
2021-09-05Merge pull request #52309 from BastiaanOlij/add_extension_index_functionsBastiaan Olij
Add functions for access members by index on packed array objects
2021-09-03AStar Add error messageskleonc
2021-09-02Fix _send_default_spawn_default function sending zero lengthSaracenOne
PackedByteArray when deriving from a single PackedByteArray state variant.
2021-09-02Add functions for access members by index on packed array objectsBastiaan Olij
2021-09-01Fix InputMap and display server not nulling singleton on freePaulb23
2021-09-01Merge pull request #52270 from KoBeWi/goodbye_polarGeorge Marques
Remove cartesian2polar and polar2cartesian
2021-09-01Merge pull request #48237 from KoBeWi/they_came_from_angleGeorge Marques
Add Vector2.from_angle() method
2021-09-01Merge pull request #52026 from Calinou/constiterator-fix-constHugo Locurcio
Fix ConstIterator to allow `for` range loops on Packed*Array
2021-08-31Fix ClassDB API type mismatch bug between --editor and playerIgnacio Roldán Etcheverry
There are two ways a class can be added to ClassDB: - `A`: When an instance of the class is created for the first time. When this happends the class is not registered/exposed to scripts. - `B`: When calling `GDREGISTER_CLASS(ClassName)` or similar. When this happens the class is registered/exposed to scripts. ClassDB has an API type property to differentiate between the core and editor APIs. Up until now the API type was determined whenever the class is added to ClassDB (either `A` or `B`). The problem comes when a class is instantiated (`A`) before being registered (`B`). If at this point the current defined API is not the same as when the class is later registered, this will result in a mismatch between `--editor` and non-editor apps. This is specially bad for C# as it makes the editor player abort. This was happening with `EditorPaths` which, while being registered during the editor API classes registrations, it was also being instantiated earlier when running the editor or the project manager, via a call to `EditorPaths::create()`. This regression was introduced in 1074017f043ec9155b12ea97cd00cf11361ccdf0. This commit fixes this simply by re-assigning the class API type when the class is registered (`B`). This is correct because API type describes registered/exposed classes. It shouldn't cause any regressions as the API type should not be accessed of classes that are not (or not yet) registered/exposed. Code locations for reference: - Method to add a class to ClassDB: `ClassDB::_add_class2` - Code that adds classes to ClassDB post first initialization (`A`): `memnew` macros -> `Object::_postinitialize` -> `Object::initialize_class` -> `ClassDB::_add_class2`. - Code adds class to ClassDB and registers/exposes it to scripts: `GDREGISTER_CLASS` macros -> `ClassDB::register_class<T>` -> `Object::initialize_class` -> `ClassDB::_add_class2`.
2021-08-31Make platform feature tag names lowercaseHugo Locurcio
Feature tag names are still case-sensitive, but this makes built-in feature tags more consistent. - `Windows` -> `windows` - `OSX` -> `osx` - `LinuxBSD` -> `linuxbsd` - `Android` -> `android` - `iOS` -> `ios` - `HTML5` -> `html5` - `JavaScript` -> `javascript` - `UWP` -> `uwp`
2021-08-31Remove `#ifdefs` for handling compilation with Visual Studio < 2015Hugo Locurcio
Godot 3.3 and later require Visual Studio 2017 to be compiled.
2021-08-31Add Vector2.from_angle() methodkobewi
2021-08-30Merge pull request #52240 from Rubonnek/rename-rel-pathJuan Linietsky
Rename `String::is_rel_path` to `String::is_relative_path`
2021-08-31Remove cartesian2polar and polar2cartesiankobewi
2021-08-30Revert " Improve collision generation usability in the new 3D scene import ↵Juan Linietsky
workflow."
2021-08-30Merge pull request #51985 from AndreaCatania/collCamille Mohr-Daurat
Improve collision generation usability in the new 3D scene import workflow.