Chris Josten
5ee2869db9
Fix a few bugs regarding loaders and models
...
* Properly keep track of the current offset and total recourd count in
models.
* Catch exceptions and store them in errorString properties wherever
applicable in loaders.
2021-08-23 01:48:35 +02:00
Chris Josten
5a24bdee59
Loader: catch exceptions and reemit them as errors
...
This reduces application crashes when an invalid JSON response has been
returned.
2021-08-22 14:50:15 +02:00
Chris Josten
4bbc86d31c
Convert Loader-related thread-code to async code
...
Closes #10
2021-08-22 02:33:04 +02:00
Chris Josten
729e343661
WIP: HttpLoader seems to work, Model still borked
2021-03-28 04:00:00 +02:00
Chris Josten
e421adf733
WIP: Reimplementation of ListModels.
2021-03-26 21:27:35 +01:00
Chris Josten
9643482ae1
WIP: Refractor C++-side. Loader should be working again
2021-03-25 17:45:53 +01:00
Chris Josten
2360b261f7
WIP: logic rewrite
...
WIP: adding loaders
2021-03-24 20:04:03 +01:00
Chris Josten
0358418926
Adjust codegeneration to emit simpler classes
2021-03-20 03:30:50 +01:00
Chris Josten
17d4b2c24b
WIP: extract loading logic from model
...
Loading logic should be extracted from the model, to make
loading the data from other sources, such as a local database for
synchronised items, possible.
2021-03-05 15:34:10 +01:00