Commit Graph

58 Commits

Author SHA1 Message Date
Haoyu Qiu
aed26cc13b Bind Semaphore.try_wait() 2022-07-26 15:55:06 +02:00
50ed908929 Ported: Add fill method to Array and PoolArrays - timothyqiu, DarknessCatt
77b6f7595a
2022-07-26 15:49:30 +02:00
a2cb12fd07 Ported: Improve locking safety for RID handles builds. Additional locks are added. This is primarily to cover a potential race condition where the pool is resized from another thread during a get operation. - lawnjelly
130cc36a88
2022-07-26 15:34:36 +02:00
309055ce7f Renamed OAHashMap's const lookup_ptr method to lookup_ptr_const. Also added back const qualifier to the other one. 2022-07-26 15:33:36 +02:00
1e0353e179 Alos add a const version of lookup_ptr for OAHashMap, similar to 62e9044837 . 2022-07-26 15:09:11 +02:00
AndreaCatania
dacb9e650f Backported the Vector function to_byte_array and slice 2022-07-26 15:05:54 +02:00
RedHeadphone
fe77fedbbf validate input in Time.get_datetime_string_from_dict()
format fix

better fix to handle ERR_FAIL_COND_V_MSG return data type

(cherry picked from commit 7e35af3dc32870dcbbba95c13ccf6273ed7357ea)
2022-07-26 15:00:13 +02:00
kobewi
5467eddae8 Add optional 'default' argument to get_meta()
(cherry picked from commit 3eb7fc4bfd376bc27ea3313ccd1da4679c48f4cb)
2022-07-26 11:50:20 +02:00
Bartłomiej T. Listwon
ac5e352088 Remove get_data() from CowData 2022-07-25 18:49:24 +02:00
keptsecret
9ddf25e7ba fix unable to change directory in user access mode 2022-07-25 18:10:57 +02:00
Haoyu Qiu
10eba686fb Fix crash when exporting projects with shared libraries
(cherry picked from commit 680bcef82546fa0f50b431f20423b62621d1c5ac)
2022-07-25 17:43:42 +02:00
Hugo Locurcio
26dedeab0b Increase the maximum number of concurrent DNS queries from 32 to 256
This makes the following error message less likely to be printed
when performing many concurrent HTTP requests:

    Condition ' resolving == IP::RESOLVER_INVALID_ID ' is true. returned: ERR_BUG
2022-07-25 17:36:02 +02:00
fba03491ea Ported get_datetime_from_unix_time, and get_unix_time_from_datetime to OS from OS's binder class. 2022-07-16 00:22:17 +02:00
d618980dc9 Added 2 new helper methods to Color. 2022-07-15 17:08:48 +02:00
b8d602f847 Added a new helper method to DirAccess. 2022-07-03 17:29:52 +02:00
fa2ac74a7c Added 2 helper methods to Math. 2022-07-02 21:55:46 +02:00
02af86d362 Fix the logic of String::path_clean_end_slash(). 2022-07-02 19:55:18 +02:00
2a9b32847f Ported a few helper methods from my String implementation in rcpp_framework. 2022-06-26 03:38:28 +02:00
aa5a29444a Added find() and clear() methods to PoolVector. Also made sure they are callable by scripts (alongside contains). 2022-06-21 00:34:02 +02:00
667f466b9c Fix typo. 2022-06-11 23:01:00 +02:00
f0f41218df Cleaned up the log macros. 2022-06-11 18:07:21 +02:00
f911a9b363 Implement all the logging methods. 2022-06-11 18:01:27 +02:00
f3373e0fa4 Removed unnecessary methods from PLogger's bind class, and added properties. 2022-06-11 17:51:49 +02:00
b0ebe103f7 Added the new logging stuff to the build, and made everything compile. 2022-06-11 17:46:12 +02:00
fb125bac9d Binder class for the logger. 2022-06-11 17:15:51 +02:00
7d60706249 Logger API cleanup. 2022-06-11 16:55:09 +02:00
b52dd560ce Implemented the LoggerBackend. 2022-06-11 16:54:55 +02:00
26f0c17732 Initial cleanup for the logger. 2022-06-11 15:27:52 +02:00
9ceba2ce3b Added a logger backend skeleton class. 2022-06-11 15:27:33 +02:00
08efdb72ec Added my logger from rcpp_framework. It's not in the build yet. 2022-06-11 14:20:20 +02:00
dee3f6b05b Fix typo in CowData's fill(). This fixes the issues with WaveFormCollapse. 2022-04-23 21:32:33 +02:00
b0a042fb24 Added fill method to Vector and CowData. 2022-04-21 16:30:21 +02:00
93370e9c1d Move the definition of contains() from PoolVector class to the bottom of the file. I'm hoping to avoid a new potential divide by 0 warning on windows. 2022-04-19 00:33:35 +02:00
d252ecd131 Added contains method to PoolVector. 2022-04-18 12:58:39 +02:00
accd8458c8 Backported: Rename iterations_per_second to physics_ticks_per_second - Calinou - 937c1a716c 2022-03-24 11:10:56 +01:00
c054c4db58 Cleaned up more remnants of the mono module. 2022-03-23 23:10:27 +01:00
32f148ac0c Mass replaced godot to pandemonium. 2022-03-23 20:46:05 +01:00
174326d6c3 Fix an another warning. 2022-03-23 15:51:34 +01:00
efddf93a8e Added lookup_ptr method to OAHashMap. 2022-03-23 15:06:29 +01:00
53066a4a82 Added const qualifier to PoolVector's subarray(). 2022-03-23 15:05:33 +01:00
94d4abe77d Added is_null() helper method to variant. 2022-03-22 09:38:10 +01:00
fd20cdfb0f Fix regression with dictionaries because of the variant srtingname support. 2022-03-21 23:22:19 +01:00
8273710235 Implement stringname specific logic for variant::set, and Variant::get. 2022-03-21 22:38:25 +01:00
c9b612f012 Added StringName as a variant type, with eventually the help of 3c0059650d . 2022-03-21 21:29:06 +01:00
71f66e0622 Added the new variabt types to ResourceFormatBinary. 2022-03-21 18:20:41 +01:00
23a106b50c Implemented missing cases for the new variant types to marshalls. 2022-03-21 18:18:57 +01:00
527cfb88aa Added Vector2i, Vector3i, Rect2i, PoolVector2i, PoolVector3i, Vector<Vector2i>, Vector<Vector3i> classes as core variant binds. GDScript still need to be updated to be able to use them. 2022-03-21 14:01:31 +01:00
34547120dd Added Vector3i from godot4. 2022-03-21 02:13:08 +01:00
05d5f1b181 Now Rect2i is in it's own header and cpp file. 2022-03-21 02:08:38 +01:00
987f77442a Now Vector2i is in it's own header and cpp file. 2022-03-21 01:50:02 +01:00