mashumafi
575d4e00b6
Enhance and cleanup stringify for Vector
2021-10-09 06:19:25 +00:00
Pedro J. Estébanez
73697d4de6
Avoid the need for copy assignment in HashMap key/data types
2021-10-08 20:06:07 +02:00
Rémi Verschelde
26b3aff01d
Merge pull request #53517 from ColinKinloch/native_callback_typedef
2021-10-08 14:28:36 +02:00
Rémi Verschelde
cdaa52a820
Merge pull request #53555 from Pineapple/faster-int-string-dictionary
2021-10-08 14:26:48 +02:00
Fabio Alessandrelli
54ec66a700
[Net] Rename RPCConfig.sync to call_local.
...
For consistency with the other user facing changes.
2021-10-08 12:39:09 +02:00
Bartłomiej T. Listwon
4a723842b6
Faster hash_compare for integer and string keys in dictionaries
2021-10-08 10:09:13 +02:00
Rémi Verschelde
49e7e049ab
Merge pull request #53422 from KoBeWi/add_LUA_to_Godot
2021-10-07 23:37:37 +02:00
Rémi Verschelde
6090f90743
Merge pull request #53545 from vnen/gdscript-release
2021-10-07 23:28:34 +02:00
Rémi Verschelde
5abc966be4
Merge pull request #53500 from vnen/variant-in-string-name
2021-10-07 22:51:00 +02:00
George Marques
fafa8c7f6e
Enable method type information on release builds
...
This is needed to ensure GDScript compilation works properly on release
builds and make use of optimized typed instructions.
2021-10-07 16:13:44 -03:00
Hugo Locurcio
bcf4a56c74
Replace references to VisualServer in code comments with RenderingServer
...
VisualServer no longer exists in the `master` branch.
2021-10-07 15:49:41 +02:00
Colin Kinloch
a66e59be84
Add typedef to GDNativeInstanceBindingCallbacks
2021-10-07 11:59:18 +01:00
George Marques
13a2d03dde
Add Variant in
operator for any String/StringName operands
...
Allow using String or StringName types as operand in any position of the
`in` operator, which is more convenient in scripting when interacting
with data in the engine (such as a Node name).
2021-10-06 22:07:32 -03:00
Brian Semrau
f28c677f3d
[core_bind] Add is_alive
to Thread. Replace is_active
with is_started
.
...
Replacing `is_active` resolves an API discrepancy between core_bind Thread and core/os Thread.
2021-10-06 12:47:58 -04:00
Rémi Verschelde
a7ba227631
Merge pull request #52711 from m4gr3d/provide_getter_for_project_data_dir_master
2021-10-05 21:02:27 +02:00
Rémi Verschelde
a603b2d7c7
Merge pull request #47497 from briansemrau/nan-inf-tscn-parsing-bug
2021-10-05 19:57:33 +02:00
Thakee Nathees
3f3ed5d34c
NaN, INF read/write bug fixed
...
Fix : #40589
2021-10-05 09:25:49 -04:00
Maxime Lapointe
29dc8de88b
Improve error message when instantiating virtual class
2021-10-05 08:09:35 -04:00
kobewi
9e5fdbc79d
Fix LUA-style assignment in Dictionary
2021-10-05 12:17:13 +02:00
Rémi Verschelde
2ac320681a
Merge pull request #53225 from aaronfranke/c-locale
2021-10-05 11:20:08 +02:00
Rémi Verschelde
3479aaa369
Merge pull request #53405 from winterpixelgames/PR-more-error-logging-release
2021-10-05 08:43:07 +02:00
Jordan Schidlowsky
b78d399f91
revert 0d7409a
so additional error information prints in release builds
2021-10-04 16:55:01 -06:00
Rémi Verschelde
b85dfd990e
GDScript completion: Handle quote style ad-hoc to remove editor dependency
...
`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-04 16:16:05 +02:00
Rémi Verschelde
463dbe5210
Merge pull request #53270 from akien-mga/charproxy-add-copy-constructor
2021-10-04 10:39:37 +02:00
Rémi Verschelde
90f8eb7aa0
Merge pull request #53059 from timothyqiu/thread-obj
...
Fix crash when creating thread
2021-10-02 02:15:43 +02:00
Rémi Verschelde
01cb4d92f3
Merge pull request #47442 from Shatur/fix-connect-reference-counted
2021-10-01 22:41:11 +02:00
Fabio Alessandrelli
366e374f76
Merge pull request #53290 from Faless/mp/4.x_opts_names
...
[Net] Rename RPC constants and annotation arguments.
2021-10-01 21:35:08 +02:00
Fabio Alessandrelli
24a949ea11
[Net] Rename RPC constants and annotation arguments.
...
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-01 18:14:38 +02:00
bruvzg
0c0b5c84b0
Implement TextServer GDExtension interface, remove TextServer GDNative interface.
2021-10-01 15:13:29 +03:00
Eric M
ad30b0a8dd
Allow shortcuts to have any number of bindings. Updated UI as required.
2021-10-01 18:04:28 +10:00
Rémi Verschelde
b32f84d473
Merge pull request #52850 from mashumafi/vector-bsearch
2021-10-01 07:52:51 +02:00
mashumafi
214bbfbefe
Implement bsearch for Vector and Packed*Array
2021-09-30 23:57:26 +00:00
Lightning_A
c63b18507d
Use range iterators for Map
2021-09-30 15:09:12 -06:00
Rémi Verschelde
cc57cbb73a
CharProxy: Add copy constructor
...
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-30 23:06:40 +02:00
Juan Linietsky
c370b4c4d0
Merge pull request #52544 from JFonS/lod_fixes
...
Auto LOD fixes and improvements
2021-09-30 14:49:11 -03:00
Rémi Verschelde
3a19400889
Merge pull request #48685 from bruvzg/bundle_icon_4
2021-09-30 14:55:04 +02:00
Rémi Verschelde
bc0f5d3dde
Merge pull request #53251 from LATRio/53224
2021-09-30 13:42:45 +02:00
Max Hilbrunner
ac7505e277
Merge pull request #53227 from Calinou/rename-getornull
...
Rename RID's `getornull()` to `get_or_null()`
2021-09-30 12:56:01 +02:00
LATRio
41c1cfe28e
InputEventJoypadMotion::set_axis - reject invalid axis
2021-09-30 19:32:21 +09:00
Rémi Verschelde
4a9a231566
Merge pull request #53230 from nekomatata/fix-2d-bvh-overflow
2021-09-30 10:24:18 +02:00
Hugo Locurcio
ba65730cbf
Rename RID's getornull()
to get_or_null()
2021-09-29 23:58:02 +02:00
Rémi Verschelde
4028583e81
Merge pull request #53044 from lucypero/thread_override
2021-09-29 22:43:06 +02:00
PouleyKetchoupp
d3c6395dcd
Fix buffer overflow in 2D BVH
...
Some areas of code were missed and assumed Vector3.
2021-09-29 12:10:23 -07:00
Lucy
5fe1857496
Fix Platform Thread Override
2021-09-29 15:38:04 -03:00
Aaron Franke
1cbec15084
Add locale rename for the "C" locale
2021-09-29 11:57:53 -05:00
Rémi Verschelde
2fc31fdfca
Merge pull request #53217 from Faless/ext/fix_pointer_info
2021-09-29 17:41:58 +02:00
Haoyu Qiu
40e188f687
Fix crash when creating thread
2021-09-29 22:08:12 +08:00
Fabio Alessandrelli
0276c2e74a
Fix const pointers types in docs and extension API.
...
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-29 16:04:20 +02:00
O01eg
9302b6547a
Implement override of get_message and get_plural_message
2021-09-29 14:19:14 +03:00
Anilforextra
fc9767abb1
Use functions defined in the their classes.
2021-09-29 09:36:34 +05:45