Anton Tarasenko
e027c3cc53
Refactor `MemoryAPI` to only work with `AcediaObject`s
...
`MemoryAPI` is a part of base realm and should not work with `Actor`s.
2 years ago
Anton Tarasenko
a6738c55ad
Fix style of `Iter` and all related classes
2 years ago
Anton Tarasenko
e553d1a08e
Fix `DBAPI` relying on server core API instead of generic one
2 years ago
Anton Tarasenko
90abd8f80e
Add `DBConnection` class
2 years ago
Anton Tarasenko
190a609b33
Add tests for new collections' `Append()` methods
2 years ago
Anton Tarasenko
59d6ca492d
Add `Append` method to `HashTable`
2 years ago
Anton Tarasenko
f4f3684f3f
Add methods for checking value existence for `Collection`s
2 years ago
Anton Tarasenko
e46debe99f
Add specialized getters for returning `Collection`s to themselves
2 years ago
Anton Tarasenko
56933914fa
Fix some bugs with dynamic array allocation
2 years ago
Anton Tarasenko
4db04c726c
Remove useless code from `ArrayList`
2 years ago
Anton Tarasenko
4a464b025e
Add `Append()` method for `ArrayList`
2 years ago
Anton Tarasenko
845a6a944a
Fix `LocalDatabase` not supporting database API changes
2 years ago
Anton Tarasenko
71dba2bac7
Add request ID support to `DBAPI`
2 years ago
Anton Tarasenko
816bf3968d
Fix memory leak in `DBAPI`'s `LoadLocal()`
2 years ago
Anton Tarasenko
f9841fd473
Remove unnecessary text type conversion in `DBAPI`
2 years ago
Anton Tarasenko
6a0c8ba5ee
Fix `Collection.GetItemByJSON()` method mishandling reference counting
2 years ago
Anton Tarasenko
acd7f311fe
Add implicit conversion between `int` and `float` inside collections
2 years ago
Anton Tarasenko
874a95602d
Change naming of `BaseText` -> `string` methods
2 years ago
Anton Tarasenko
9f22d6cc31
Add `BigInt` storage support into `DBRecord`
2 years ago
Anton Tarasenko
22fcdab0a0
Refactor `BigInt` and add subtraction
2 years ago
Anton Tarasenko
5616bc817e
Add addition and subtraction to `BigInt`
2 years ago
Anton Tarasenko
f85d2fb3c3
Add initial `BigInt` version
2 years ago
Anton Tarasenko
2ad90b32e6
Fix `HashTable` badly handling reference counts
...
When `HashTable` was told to replace an object with itself, it ended up
incrementing its reference count because of the legacy equality check
(previously `FreeSelf()` completely deallocated an object, so the check
was warranted).
2 years ago
Anton Tarasenko
8362d261c8
Rename TextAPI.ToString() to TextAPI.IntoString()
2 years ago
Anton Tarasenko
0b33d18927
Add `SchedulerAPI`
2 years ago
Anton Tarasenko
66d02e3c8c
Finish `Collection`s refactoring
2 years ago
Anton Tarasenko
5e6f414c0b
Move `UnrealAPI` into `ServerGlobal`
2 years ago
Anton Tarasenko
b569e8e563
Change `Iter` to be general iterator class
...
Previously `Iter` was meant to be a collection iterator class, but now
we need a more generalized notion of iterator, so we move some
collection-specific methods out and designate `Iter` a general iterator
class, while `CollectionIterator` takes its former place.
2 years ago
Anton Tarasenko
e045f9785c
Add `Vector` support to new Acedia collections
2 years ago
Anton Tarasenko
5e511f79d5
Change databases to use new collections
2 years ago
Anton Tarasenko
b8647154fd
Add more convenience `string` getters and setters
2 years ago
Anton Tarasenko
6f88b7c228
Add string getters and setters to new collections
2 years ago
Anton Tarasenko
8cfc42eda4
Squashed commit of the following:
...
commit dd6f236b360640b4c5ca2bfefdddf11482ab1bcf
Author: Anton Tarasenko <dkanus@gmail.com>
Date: Mon Jul 4 03:55:45 2022 +0700
Change `AcediaConfig` to use new collections
2 years ago
Anton Tarasenko
e2abcb3fd4
Change old mixed collection tests into new ones
2 years ago
Anton Tarasenko
10daee4220
Add `Collection` methods for ArrayList/HashTable
2 years ago
Anton Tarasenko
6a0eda9362
Add tests for `ArrayList`/`HashTable` iterators
2 years ago
Anton Tarasenko
c961b67e58
Fix `Iter` comments
2 years ago
Anton Tarasenko
fbe3e5073a
Add LeaveOnlyNotNone() method in the parent class
2 years ago
Anton Tarasenko
1a42354cd2
Fix `HashTable` iterator not being created
...
Messed up during converting code for `AssociativeArray`'s iterator by
not paying enough attention and using old class instead of `HashTable`.
2 years ago
Anton Tarasenko
1b69b2484c
Add API methods for creating `HashTable`s
2 years ago
Anton Tarasenko
14f2bfc407
Add `HashTable` collection tests
2 years ago
Anton Tarasenko
506f2633d2
Add tests for `ArrayList`
2 years ago
Anton Tarasenko
777c1f1b9f
Fix `ArrayList.GetItem()` removing returned item
2 years ago
Anton Tarasenko
3045c6904f
Fix `Set...()` methods leaking memory in ArrayList
2 years ago
Anton Tarasenko
184bdf247a
Add spaces after declarations into ArrayList class
2 years ago
Anton Tarasenko
e6f2254c35
Add `HashTable` colelction
2 years ago
Anton Tarasenko
9c4966e93a
Fix issues with ArrayList conversion
...
We are just copying `DynamicArray` into `ArrayList` with slightly
different behavior. There are still no tests and some small errors pop
up due to changes being made. This patch fixes them.
2 years ago
Anton Tarasenko
2ca4e3aa61
Change `ArrayListIterator` to use filter method
2 years ago
Anton Tarasenko
65c6706062
Remove life version checks from `ArrayList`
2 years ago
Anton Tarasenko
7dae012f33
Change database API to validate new dbs' names
2 years ago