Anton Tarasenko
41909851f5
Refactor `Commands_Feature` to use API
2 years ago
Anton Tarasenko
087d8624d3
Change how config is swapped for `Feature`s
...
Before config was allowed to be swapped while `Feature` was enabled,
which has led to a lot of loading code being moved into the
`SwapConfig()` method, making `Feature` initialization code way more
complex than it needed to be.
This patch forces `Feature` to get disabled before config swap. This
adds some verhead for swapping configs for already running `Feature`s,
but that's a small cost for way simpler implementations.
2 years ago
Anton Tarasenko
58d1d686b9
Add auto-highlighting of commands' descriptions
2 years ago
Anton Tarasenko
06915cbddf
Change auto-alias resolving in commands to be useful
...
Previously auto-resolved aliases overwrote user-provided value,
which made it difficult to print response/error messages as a result
of a command, rendering auto-resolving unusable.
This patch fixes that problem by recording both alias and resolved
value inside a `HashTable` value.
2 years ago
Anton Tarasenko
626124335d
Fix style for `CommandDataBuilder`
2 years ago
Anton Tarasenko
82ff13e230
Change directory structure and `CoreAPI` naming
2 years ago
Anton Tarasenko
21a60482d5
Add `FreeN()` set of methods
2 years ago
Anton Tarasenko
1e1b3b3739
Fix `Api` capitalization in API class names
2 years ago
Anton Tarasenko
ea79a1bc33
Fix style for `EnvironmentApi`
2 years ago
Anton Tarasenko
5bba953cb0
Fix style for `SchedulerApi`
2 years ago
Anton Tarasenko
15a49d8ddc
Fix style for `BigInt`
2 years ago
Anton Tarasenko
7b2747b7c8
Fix `MathApi` formatting/documentation
2 years ago
Anton Tarasenko
d10860cb3f
Fix style for `MemoryAPI` tests
2 years ago
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
863e440149
Fix style for `Global`
2 years ago
Anton Tarasenko
c8c70836c8
Gix style for `_manifest` base class
2 years ago
Anton Tarasenko
a6738c55ad
Fix style of `Iter` and all related classes
2 years ago
Anton Tarasenko
78aff18cad
Refactor `UserAPI`
2 years ago
Anton Tarasenko
36c8f7f65a
Add methods for scheduling `AcediaConfig` saving
2 years ago
Anton Tarasenko
adabf42176
Add default config for databases
2 years ago
Anton Tarasenko
566e5866be
Fix potential usage of deallocated objects
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
bdaccd4586
Add accessors to generic Core API to Acedia's objects and actors
2 years ago
Anton Tarasenko
9bb471bdf4
Add tests for new `JSONPointer` methods
2 years ago
Anton Tarasenko
09731be8c3
Add auxiliary methods for JSONPointer
2 years ago
Anton Tarasenko
dbf55dfa17
Add ability to copy only part of `JSONPointer`
2 years ago
Anton Tarasenko
822d9507bf
Add method for incrementing JSON values into `JSONAPI`
2 years ago
Anton Tarasenko
974f7ee183
Add methods for deep copying of JSON-compatible data
2 years ago
Anton Tarasenko
e562072a90
Add methods for testing casing of `BaseText`'s charracters
2 years ago
Anton Tarasenko
74be378e5e
Move `DBAPI` from base realm into core realm
2 years ago
Anton Tarasenko
290f756264
Add generic accessors for Core-related API
2 years ago
Anton Tarasenko
d709461b9c
Remove excessive definition of `sideEffectAPIClass` in `AcediaAdapter`
...
All classes are supposed to be defined (and are already defined)
inside child classes.
2 years ago
Anton Tarasenko
007fd29bc3
Change `Global` to create `JSONAPI` earlier in the API chain
2 years ago
Anton Tarasenko
82cb46d886
Clarify documentation for `Feature`'s `EnableMe()`
2 years ago
Anton Tarasenko
82c598c210
Fix bad arg index in error message
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
70d3dc5957
Move command classes into CoreRealm
2 years ago
Anton Tarasenko
cd056b9daa
Document commands-related classes
2 years ago
Anton Tarasenko
187e69eedc
Fix command classes formatting
2 years ago