Commit graph

8 commits

Author SHA1 Message Date
cschen
539a4e4e5e wip: huge refactor with smarter and simpler struture
Former-commit-id: fbd0bca8094642dd8d2cf6c3f154af3b10dff95b
2024-09-18 17:42:56 +02:00
cschen
6c54a15560 feat: move the library to be bundled together with the repo directly.
This approach will allow us to install directly through package control
by just specifying the repo!


Former-commit-id: 3df245186298042dfd4d8e0bf65844a283a571dd
2024-09-07 14:24:51 +02:00
cschen
1e5aeda755 BIG CHANGE: fanculo avevo scritto un poema non ho voglia di riscriverlo.
TLDR: updated bindings, "virtual" classes now do less, and only deal with
managing the persistence of the codemp object within the editor.
the actual commands do the interaction with codemp.

moved away from asyncio, now its callbacks spawned on the async sublime thread.

the client now is much more central and knows everything.

split the join command into join workspace and join buffer, as it was before.
simpler and better ux.


Former-commit-id: 71c96d321fef2620da4301a8f7af5dff138921cd
2024-08-23 20:59:06 +02:00
cschen
507fca5057 wip: moved to the promise model from the glue
Former-commit-id: be08024cd256b631697b6c8fda6d99f8ccb4ece8
2024-08-21 21:35:57 +02:00
Camillo Schenone
705c5e014e feat: major refactor.
the client doesn't hold the task manager anymore, instead it is now a
singleton that all objects dump their tasks into to be managed.
This allows to better separate the responsibilities of the various
virtual-objects. The client now is also a module-singleton which allows
us to remove that ugly global variable.

fixup: uses relative imports instead that absolute ones with Codemp in front.
rename of codemp_client.py into just client.py

Former-commit-id: 4a0cc20e82f9631931ba2f61379a61c461b1f291
2024-08-04 19:57:59 +02:00
Camillo Schenone
4c89544981 Added tracing logging, removed some unhelpful python level logging messages
Former-commit-id: 68610be7c21c24dc9c354fc0162bed4dd3438606
2024-03-02 15:28:39 +01:00
Camillo Schenone
8a67c7ce93 feat: Stacco nuova version.
feat: Added single Join command
chore: separated input handlers and commands, minor cleanup.

Former-commit-id: 29a49bd8dbdeaf24f988e0a382e74d7e14d957a8
2024-02-24 17:00:29 +01:00
Camillo Schenone
ff883c8e58 chore: cleaned up old comments, refactored code into separate files, used dictionaries for buffer bookkeeping internally.
Former-commit-id: fd646cf6dc08e29167ce048705d51c01e06fd6ae
2024-02-23 13:25:01 +01:00