summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
2021-10-04GDScript completion: Handle quote style ad-hoc to remove editor dependencyRémi Verschelde
`core` and `scene` shouldn't depend on `editor`, so they can't query this style setting in `get_argument_options`. But we can handle it after the fact in GDScript's completion code. Also cleans up a couple extra unused invalid includes in `core`.
2021-10-04Merge pull request #53270 from akien-mga/charproxy-add-copy-constructorRémi Verschelde
2021-10-02Merge pull request #53059 from timothyqiu/thread-objRémi Verschelde
Fix crash when creating thread
2021-10-01Merge pull request #47442 from Shatur/fix-connect-reference-countedRémi Verschelde
2021-10-01Merge pull request #53290 from Faless/mp/4.x_opts_namesFabio Alessandrelli
[Net] Rename RPC constants and annotation arguments.
2021-10-01[Net] Rename RPC constants and annotation arguments.Fabio Alessandrelli
any -> any_peer sync -> call_local ordered -> unreliable_ordered Multiplayer.RPC_MODE_ANY -> RPC_MODE_ANY_PEER Multiplayer.TRANSFER_MODE_ORDERED -> TRANSFER_MODE_UNRELIABLE_ORDERED
2021-10-01Implement TextServer GDExtension interface, remove TextServer GDNative ↵bruvzg
interface.
2021-10-01Allow shortcuts to have any number of bindings. Updated UI as required.Eric M
2021-10-01Merge pull request #52850 from mashumafi/vector-bsearchRémi Verschelde
2021-09-30Implement bsearch for Vector and Packed*Arraymashumafi
2021-09-30Use range iterators for `Map`Lightning_A
2021-09-30CharProxy: Add copy constructorRémi Verschelde
Adding the copy constructor is needed to solve a `-Wdeprecated-copy` warning from GCC and Clang, which is raised when upgrading doctest from 2.4.4 to 2.4.6.
2021-09-30Merge pull request #52544 from JFonS/lod_fixesJuan Linietsky
Auto LOD fixes and improvements
2021-09-30Merge pull request #48685 from bruvzg/bundle_icon_4Rémi Verschelde
2021-09-30Merge pull request #53251 from LATRio/53224Rémi Verschelde
2021-09-30Merge pull request #53227 from Calinou/rename-getornullMax Hilbrunner
Rename RID's `getornull()` to `get_or_null()`
2021-09-30InputEventJoypadMotion::set_axis - reject invalid axisLATRio
2021-09-30Merge pull request #53230 from nekomatata/fix-2d-bvh-overflowRémi Verschelde
2021-09-29Rename RID's `getornull()` to `get_or_null()`Hugo Locurcio
2021-09-29Merge pull request #53044 from lucypero/thread_overrideRémi Verschelde
2021-09-29Fix buffer overflow in 2D BVHPouleyKetchoupp
Some areas of code were missed and assumed Vector3.
2021-09-29Fix Platform Thread OverrideLucy
2021-09-29Merge pull request #53217 from Faless/ext/fix_pointer_infoRémi Verschelde
2021-09-29Fix crash when creating threadHaoyu Qiu
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-27Auto LOD fixes and improvementsjfons
* Fixed LODs for shadow meshes. * Added a merging step before simplification. This helps with tesselated meshes that were previously left untouched. The angle difference at wich edges ar considered "hard" can be tweaked as an import setting. * LODs will now start with the highest decimation possible and keep doubling (approximately) the number of triangles from there. This makes sure that very low triangle counts are included when possible. * Given more weight to normal preservation. * Modified MeshOptimizer to report distance-based error instead of including attributes in the reported metrics. * Added attribute transference between the original mesh and the various LODs. Right now only normals are taken into account, but it could be expanded to other attributes in the future.
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