Anton Tarasenko
86648239f9
Add dirty changes made thus far
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
Anton Tarasenko
940885f883
Add new `ArrayList` collection
2 years ago
Anton Tarasenko
1e62edfc93
Refactor text classes to subclass on `BaseText`
2 years ago
Anton Tarasenko
5f66705386
Fix commit about creation of test database
3 years ago
Anton Tarasenko
952e6e5496
Add logging to `DBAPI`
3 years ago
Anton Tarasenko
68bd7265f8
Fix database creating/loading methods
...
Methods didn't do `none` checks where necessary and passed `MutableText`
as a key, where `Text` keys were expected.
3 years ago
Anton Tarasenko
8e32e550bd
Add `Database` reference to db query replies
3 years ago
Anton Tarasenko
0e328b48ce
Remove methods for creating "Acedia structure"
3 years ago
Anton Tarasenko
2e3b58821c
Fix iterator not being deallocated (again)
3 years ago
Anton Tarasenko
d6e293c06e
Add test for deallocating keys in AssociativeArray
3 years ago
Anton Tarasenko
ca21077fe1
Change how local databases are loaded
...
This patch addresses issues with inability to define and create a new
database from scratch from configs, as well as invalid definition of
database links that required them to contain "/" character.
3 years ago
Anton Tarasenko
a5df8ff5ef
Add disk updates to local database
3 years ago
Anton Tarasenko
3911ebb819
Fix possible access to `none`
3 years ago
Anton Tarasenko
0aa3ba9fb2
Add database links support into `DBAPI`
3 years ago
Anton Tarasenko
ad3d786960
Rename `ToPlainString()` method into `ToString()`
3 years ago