Lukas Tenbrink
|
25cd923ea1
Destruct `CowData` more graciously by avoiding accidentally exposing a half-destructed buffer. This can avoid problems if any of the destructed objects tries to access the data while it's being destructed.
|
8 kuukautta sitten |
Thaddeus Crews
|
151e7fc687
Merge pull request #100477 from Ivorforce/cowdata-move-insert-n-remove
|
8 kuukautta sitten |
Thaddeus Crews
|
1b8a2d930f
Merge pull request #100474 from Ivorforce/cowdata-abstract-realloc
|
8 kuukautta sitten |
Lukas Tenbrink
|
8483d794ff
Abstract `CowData`'s reallocations into `_realloc` to consolidate duplicate logic.
|
8 kuukautta sitten |
Thaddeus Crews
|
361e3b4fe8
Core: Expand `std::initializer_list` support
|
1 vuosi sitten |
Lukas Tenbrink
|
a636c04244
Optimize `CowData` and `LocalVector` functions `.insert` and `.remove_at` by using move semantics.
|
8 kuukautta sitten |
Lukas Tenbrink
|
57073ba14e
Add move constructor and move assignment to CowData, String, Char16String, CharString and Vector.
|
8 kuukautta sitten |
Adam Scott
|
0d350e7108
Set clang-format `RemoveSemicolon` rule to `true`
|
10 kuukautta sitten |
Rémi Verschelde
|
f1d6677713
Merge pull request #95469 from bruvzg/cowdata_unref
|
1 vuosi sitten |
bruvzg
|
273ba27c2f
`CowData` remove hardcoded offset and unused argument from `_unref`.
|
1 vuosi sitten |
aaronp64
|
c1afe7dcdf
Improve CowData::insert performance
|
1 vuosi sitten |
Thaddeus Crews
|
9903e6779b
Enforce template syntax `typename` over `class`
|
1 vuosi sitten |
bruvzg
|
7bcb419149
[Core] Improve `CowData` and `Memory` metadata alignment.
|
1 vuosi sitten |
vittorioromeo
|
55ed34e37c
Use '_v' shorthand for type traits and 'if constexpr' where appropriate
|
1 vuosi sitten |
Juan Linietsky
|
24fe0715b5
Promote CowData to 64 bits
|
1 vuosi sitten |
A Thousand Ships
|
c48b189e14
Fix allocation size overflow check in `CowData`
|
1 vuosi sitten |
A Thousand Ships
|
893f889d74
[Core] Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicable
|
2 vuotta sitten |
Rémi Verschelde
|
d95794ec8a
One Copyright Update to rule them all
|
2 vuotta sitten |
Rémi Verschelde
|
54418ea659
Remove NO_THREADS fallback code, Godot 4 requires thread support
|
2 vuotta sitten |
Rémi Verschelde
|
57aac04480
Merge pull request #63906 from Faless/fix/4.x_warnings
|
3 vuotta sitten |
Fabio Alessandrelli
|
6f02183f8c
[Core] Use std type traits to check operations triviality.
|
3 vuotta sitten |
Rémi Verschelde
|
c717d5c64b
Arrays: Zero new items of trivial types on resize() (bindings only)
|
3 vuotta sitten |
Haoyu Qiu
|
380a53f02f
Add search methods for packed arrays
|
3 vuotta sitten |
Bartłomiej T. Listwon
|
6dfcfecd3d
Remove get_data() from CowData
|
3 vuotta sitten |
Rémi Verschelde
|
fe52458154
Update copyright statements to 2022
|
3 vuotta sitten |
Lightning_A
|
e078f970db
Rename `remove()` to `remove_at()` when removing by index
|
4 vuotta sitten |
Grigoris Pavlakis
|
abef2b7194
Fix placement new on zero-sized region warning on GCC 11.1
|
4 vuotta sitten |
AndreaCatania
|
98ceb60eb4
Refactors the memnew_placement.
|
4 vuotta sitten |
Rafał Mikrut
|
bb6ece1450
Change CRASH_COND to ERR_FAIL in Cowdata::set
|
4 vuotta sitten |
Pedro J. Estébanez
|
e3ec31f999
Improve robustness of atomics
|
4 vuotta sitten |