Commit Graph

948 Commits

Author SHA1 Message Date
warmonipa
9b6aea9c59
Resolve the visual glitch of Mericus & Merikle. (#26)
Some checks failed
Tests / build (push) Has been cancelled
2025-03-29 23:11:20 +01:00
Daan Vanden Bosch
61949b2377 Undid temporary code change necessary for early versions of Kotlin 2.
Some checks failed
Tests / build (push) Has been cancelled
2025-03-21 14:14:37 +01:00
Daan Vanden Bosch
0bde9390a8 Increased Kotlin daemon max heap size.
Some checks are pending
Tests / build (push) Waiting to run
2025-03-21 13:51:34 +01:00
Daan Vanden Bosch
15bc398294 All code now compiles with Kotlin 2.1.20, all tests pass, development builds work and production builds work. 2025-03-21 13:17:19 +01:00
Daan Vanden Bosch
a8b1a00e06 All code now compiles with Kotlin 2.0.0 and all tests pass. 2024-07-18 18:24:10 +02:00
Daan Vanden Bosch
22d01776d0 Added world position to the entity info widget. 2024-07-14 12:51:29 +02:00
Daan Vanden Bosch
62a49b067c Worked on mipmapping and anisotropy. 2023-06-02 22:35:00 +02:00
Daan Vanden Bosch
423c3e252b Fixed camera reset bug in model viewer. 2022-11-01 23:02:22 +01:00
Daan Vanden Bosch
9cbc12cc24 Fixed bug that would result in nested tabs "forgetting" which tab was active. 2022-11-01 22:47:51 +01:00
Daan Vanden Bosch
4a2b859cad Added some observe extension methods, added a mutation test and removed old commented-out code. 2022-11-01 21:55:48 +01:00
Daan Vanden Bosch
c33d8c0b77 Added several cell extension methods. Removed RegularCellTests, extension tests are now run just once instead of for every "regular" cell implementation. 2022-11-01 21:21:13 +01:00
Daan Vanden Bosch
e10ac484d7 Made cell implementations internal and added some factory methods. 2022-11-01 17:41:48 +01:00
Daan Vanden Bosch
2bcde67e18 Renamed LeafDependent.pull to LeafDependent.dependenciesChanged and added some documentation. 2022-11-01 14:58:15 +01:00
Daan Vanden Bosch
33ccf90874 Fixed bug in short path of AbstractFilteredListCell.computeValueAndEvent. 2022-11-01 12:26:58 +01:00
Daan Vanden Bosch
e671e27c02 Added more FilteredListCell tests. 2022-11-01 11:13:54 +01:00
Daan Vanden Bosch
597bf5390e List cells now internally change their backing list, this means that list cell values and events are no longer immutable. This does simplify the code and probably improves performance. 2022-10-31 22:44:41 +01:00
Daan Vanden Bosch
f5b1008c48 Filtered list cells now support changing multiple times in a single mutation. 2022-10-31 20:59:13 +01:00
Daan Vanden Bosch
c3be91a05e MutationManager now supports nested mutations. Deferred mutations are now actual mutations. Added several mutation-related tests, six of which fail at the moment. 2022-06-05 13:29:40 +02:00
Daan Vanden Bosch
e6ca3b9871 Moved dependency test to CellTests. 2022-06-04 22:16:43 +02:00
Daan Vanden Bosch
82524f1f2d Removed Observable from observable project and renamed observable project to cell. Cell is now the most basic interface for users. 2022-06-04 21:33:29 +02:00
Daan Vanden Bosch
b389cb9521 Moved code shared between FlatteningDependentCell and FlatteningDependentListCell to supper class AbstractFlatteningDependentCell. 2022-05-12 16:29:17 +02:00
Daan Vanden Bosch
9cc6c51b9c Added mutateDeferred and made some other changes to avoid having to use setTimeout to change observables in response to observables changing. This fixes some unit tests. 2022-05-11 17:07:32 +02:00
Daan Vanden Bosch
9aa963fd3b Implemented most of the new observable algorithm. 2022-05-10 14:00:43 +02:00
Daan Vanden Bosch
0cea2d816d Renamed FilteredListCell to SimpleFilteredListCell. Added a more complex version of FilteredListCell with bugs which highlighted a fundamental problem with the observable system. Various other improvements to the observable system. 2022-04-23 22:14:10 +02:00
Daan Vanden Bosch
276ffcb80b Made some code in ViewerWidget clearer. 2021-12-11 22:35:33 +01:00
Daan Vanden Bosch
89ea739c65 Improved observable API and slightly simplified implementation of some observables. 2021-12-04 20:55:12 +01:00
Daan Vanden Bosch
b84ef99e22 Optimized and improved code that would be buggy once we support multiple private servers. 2021-12-04 15:44:03 +01:00
Daan Vanden Bosch
64fb12f985 Added more logging to Persister. 2021-12-04 14:49:45 +01:00
Daan Vanden Bosch
4792dc1172 Slightly optimized bindChildrenTo for the frequent case where all list cell elements have been replaced. 2021-12-03 22:22:26 +01:00
Daan Vanden Bosch
e492b28aac Fixed bug that made some table cells unselectable when table controller had no loadingStatus. 2021-12-03 22:22:26 +01:00
Daan Vanden Bosch
ecb95b5f5e Turned most cell convenience methods into extension methods to avoid circular dependencies between different cell implementations. Added simple implementation of ListCell<E>.sortedWith and ListCell<E>.filtered with predicate cell. 2021-12-03 22:22:26 +01:00
Daan Vanden Bosch
f10a4ebe6c Improved LoadingStatusCell and its usage in Table, TableController and HuntMethodStore. Added a unit test for MethodsForEpisodeController. 2021-12-02 22:08:26 +01:00
Daan Vanden Bosch
9807418435 Improved Karma config. The middleware now caches files in memory and sends the correct content-type header for json files. 2021-12-02 17:25:18 +01:00
Daan Vanden Bosch
3e17865346 Added LoadingStatusCell, a cell that shows the status of some loadable data. Table and TableController make use of it to show a notification on the first load and on errors. 2021-11-30 22:17:59 +01:00
Daan Vanden Bosch
6374a3f054 Persisters now use an injected KeyValueStore to facilitate testing of persistence code. Added LocalStorage and in-memory implementation of KeyValueStore. 2021-11-30 22:13:46 +01:00
Daan Vanden Bosch
f629f56e3a Removed bug from bugs list because it was fixed. 2021-11-30 16:07:33 +01:00
Daan Vanden Bosch
5c605fafbc Renamed StaticCell to ImmutableCell and StaticListCell to ImmutableListCell. 2021-11-30 16:05:16 +01:00
Daan Vanden Bosch
b7fc6a260b The 3-D view now becomes focussed when dropping an entity on it. This is done mainly so that the main undo stack becomes active. 2021-11-30 15:45:47 +01:00
Daan Vanden Bosch
9caeab579a Fixed bug related to ListCell.value by returning a lazy copy list. 2021-11-29 22:50:45 +01:00
Daan Vanden Bosch
ed0db920d1 Fixed bug in 3D view developer tool. 2021-11-29 22:47:28 +01:00
Daan Vanden Bosch
9653a982c0 Improvements to JS-specific code and documentation and added a unit test. 2021-11-28 19:11:16 +01:00
Daan Vanden Bosch
f4ad5b93f9 Suppress boolean literal warning in Opcodes.kt. 2021-11-25 22:07:21 +01:00
Daan Vanden Bosch
973f96731c Added bug to list. 2021-10-23 13:28:50 +02:00
Daan Vanden Bosch
ab21cb25c2 Temporary fix for issue with incompatible webpack-cli and @webpack-cli versions. 2021-10-16 11:28:54 +02:00
Daan Vanden Bosch
28ee405980 Upgraded Kotlin from 1.5.30 to 1.5.31. 2021-10-16 11:28:48 +02:00
Daan Vanden Bosch
fab0c5a77a Using fontawesome JS SVG core API instead of simple API. 2021-09-17 16:06:44 +02:00
Daan Vanden Bosch
19d3030d20 Upgraded Kotlin from 1.5.21 to 1.5.30. Also upgraded kotlinx.coroutines and kotlin logging. Now using languageSettings.optIn everywhere instead of compiler options. 2021-09-06 14:17:20 +02:00
Daan Vanden Bosch
7cdeb1b816 Updated readme. 2021-09-06 13:08:40 +02:00
Daan Vanden Bosch
c2f50e6827 Added lobbies and party creation. Broadcast messages are now broadcast to other clients (without verification). 2021-08-25 21:19:21 +02:00
Daan Vanden Bosch
b038851a29 Added ping and broadcast messages to psoserv. Message flags are now logged when non-zero. 2021-08-15 17:31:09 +02:00