Commit graph

95 commits

Author SHA1 Message Date
cschen
a996e9d558 fix :readme 2024-11-30 15:38:53 +01:00
cschen
1141c81d16 fix: remove old comments 2024-11-30 15:36:53 +01:00
cschen
2b8eec4d9e fix: remove .no-sublime-package and update readme 2024-11-30 15:34:17 +01:00
cschen
17ad35dfd7 try an async sending. 2024-11-30 15:12:38 +01:00
cschen
5821b6b354 eheh, fix 2024-11-30 15:09:37 +01:00
cschen
d07d2f144e Merge branch 'viewtag' into dev 2024-11-30 14:58:19 +01:00
cschen
63da225cbe disables using change_id() as it was introducing complications.
moved view population outside of buffer adding, but it is still broken.
2024-11-19 19:50:31 +01:00
cschen
b378173fb4 feat: Add sync command. 2024-11-19 19:46:44 +01:00
cschen
a01fb8f291 fix/tweaks: minor changes and fixes 2024-11-03 17:59:17 +01:00
cschen
d03b7753cc fix: wrongly calling command to create workspace instead of buffer. 2024-11-03 17:58:45 +01:00
cschen
713fe3a30c chore: disable create on missing behaviour for now 2024-11-03 17:58:17 +01:00
cschen
93f3e38c75 feat(WIP): added quick panel browsing for server and workspace! 2024-11-03 17:57:31 +01:00
cschen
c222aec013 chore: missed the file with the text change listener class. It was moved in its own file because
this function is crucial and needs some extra attention.
2024-11-02 18:30:13 +01:00
cschen
75f4e185a8 chore: continuing refactor. should be almost done now. Cleaned up registries, commands and improved lookup logic. 2024-11-02 18:26:37 +01:00
cschen
e0b56ccc29 fix: switched to the proper config
chore: switched to bundled codemp library in sublime
fix: fixed circular dependency
contd: small step towards rewrite.
2024-09-28 19:55:20 +02:00
cschen
7cf6ac7cbc fix: the fuck, where do these CIs come from??? 2024-09-20 17:26:33 +02:00
cschen
2077773cd9 fix: clarify message that the plugin is not functional at the moment
Former-commit-id: 689ae167668fbfff637db22c73821911f4c661e8
2024-09-20 17:26:33 +02:00
cschen
fa479f7d64 fix: the fuck, where do these CIs come from??? 2024-09-20 17:24:53 +02:00
cschen
93ab4151e1 fix: clarify message that the plugin is not functional at the moment
Former-commit-id: 689ae167668fbfff637db22c73821911f4c661e8
2024-09-18 23:45:52 +02:00
cschen
da7c2bb60a wip: continuing refactor, added buffers
Former-commit-id: 96208df478a2b9534668331d6a25118778822f9b
2024-09-18 17:43:33 +02:00
cschen
a8cc089624 wip: huge refactor with smarter and simpler struture
Former-commit-id: fbd0bca8094642dd8d2cf6c3f154af3b10dff95b
2024-09-18 17:42:56 +02:00
cschen
bc28cc651b chore: point to the future library installed by package control
Former-commit-id: 6284f9af3d496ea9d74602cb5b1ccd02644e0f18
2024-09-18 17:40:29 +02:00
cschen
c7eb6b3e2a chore: removing traces of old library
Former-commit-id: f1a04758bd7d96e606be29fd55682306e5ec44a2
2024-09-18 17:38:59 +02:00
cschen
89933719aa chore: prepares for automatic lib satisfaction
Former-commit-id: 4abaf0e79a67dc7ec3c31e1bada330402584da08
2024-09-18 17:30:46 +02:00
cschen
db23277fe0 chore: minor cleanup and remove arbitrary names from lambdas
Former-commit-id: 2c474ea008d1b287b8e7daf293d4029a6f9f3527
2024-09-17 17:20:00 +02:00
cschen
5d855c4aff remove the lib from the repo itself
Former-commit-id: 7471f9b3e8b4ab68ff4267a2abade17bb3aa0d90
2024-09-17 16:30:24 +02:00
cschen
0bbf9e6cda refactor into smaller files.
Former-commit-id: 37ef53ddc4524891b0b3cddb6af9eabc020055da
2024-09-17 16:23:19 +02:00
cschen
28ec54d549 fix: specify the bindings are only for mac at the moment
Former-commit-id: 92822b8bb11e6fd4f5360221d33ac50677ed1ffb
2024-09-09 08:19:25 +02:00
cschen
7b4f3d1386 chore: added licence
Former-commit-id: 8961d4b05676665fe7088756b3ea59cac81b99f2
2024-09-09 08:17:24 +02:00
cschen
b830f9ef13 chore: codemp.dev -> code.mp
Former-commit-id: f791da84ee439ec196efdd0e947e1d6a52d76b98
2024-09-07 22:21:20 +02:00
cschen
b308bb3b21 fix: installation steps
Former-commit-id: aefcb5ac499215896e3e20cd30d68339f5cb718e
2024-09-07 16:17:42 +02:00
cschen
be581aea10 fix: wrong name...
Former-commit-id: b7ee38d8e54b73080d60611fd67fc1198f96c13e
2024-09-07 16:11:16 +02:00
cschen
91df886cc5 fix: typo
Former-commit-id: 4e67713866ac233bd221b068d822f2df55949bd9
2024-09-07 16:10:16 +02:00
cschen
726ebbc6b7 chore: make readme, clean up some leftover old stuff
Former-commit-id: 2542b39c99e620c7fab17b532d30bfd0381373a2
2024-09-07 15:59:00 +02:00
cschen
742787b413 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
b844594a53 chore: remove sublime-asyncio dependency and old build file.
Former-commit-id: dd689650d2756ce4c4e97de0f8dd9a2d88063a37
2024-09-05 20:56:10 +02:00
cschen
13d1024979 chore: minor fixups and better logging messages
Former-commit-id: 6ec86c4fe78cb40a555c9279b509a6b966934186
2024-09-02 11:39:01 +02:00
cschen
a8b38e1307 feat: new commands
Former-commit-id: 13cb46afc8f68d0c053ad02ff4426634020be0bd
2024-09-02 11:38:29 +02:00
cschen
364c01d194 fix: attach listener upon creation to go around the on_activate event not firing on
a newly spawned view.

Former-commit-id: 078a306921278905a50fc97630012a06a00b0cd3
2024-09-02 11:38:11 +02:00
cschen
16e1436165 fix: simplify simplify simplify
Former-commit-id: 3e093fcaba0026c2585aca0ea9b714852f5e9839
2024-08-31 15:24:22 +02:00
cschen
822dc9a045 fix: miscelaneous fixes
Former-commit-id: f008552b7a5ca5f57a9802df6e7b1a09102afc74
2024-08-29 08:17:52 +02:00
cschen
127e103d03 feat: added last two commands: create and delete buffer.
we need testing now.

Former-commit-id: 0a35d398abdd0c39837902aaab3b5842f428c137
2024-08-25 20:27:29 +02:00
cschen
77ca8ab93d feat: added leave buffer command.
feat: new generic input handler for sequence of text inputs with defaults.
chore: minor fixes and improvements

Former-commit-id: 73ea017903fd717d894092871b7b62f827df4ff2
2024-08-24 18:45:42 +02:00
cschen
37b67aa1ea 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
153eea95d8 wip: moved to the promise model from the glue
Former-commit-id: be08024cd256b631697b6c8fda6d99f8ccb4ece8
2024-08-21 21:35:57 +02:00
cschen
9ed58d4ee1 feat: fixes in the runtime, added block_on
Former-commit-id: 282251232e15fbca4f7d6f591293cfc010bc63de
2024-08-20 12:06:46 +02:00
cschen
79c64d01f4 feat: dispatch now runs on our custom loop
and can be started outside of `plugin_loaded()`

Former-commit-id: 9c8c99ed5704b4b18312e73b9b31c192805ad524
2024-08-10 19:05:04 +02:00
cschen
c32b159f9c feat: spawn run_forever loop on a separate thread which will receive tasks
to run.
feat: add a special function to run blocking functions on the worker thread
fix: wait for the thread to finish when stopping.

Former-commit-id: 33a10f6a22be1a46f272da198f6e672a798ee2c6
2024-08-10 19:03:44 +02:00
cschen
dc89b35108 feat: wrote executor on the sublime worker thread, (should be correct)
started working on the runtime, first attepts were not very good... xD

Former-commit-id: e3f07d5fc4fb6189931f6673cab9295eaebfb05d
2024-08-09 20:33:56 +02:00
cschen
46b20d0959 feat: improved logging system
fix: remove hard dependency from virtual workspace from virtual buffer

Former-commit-id: cb765c754d225d6a5beb6963facffd4211737bd2
2024-08-09 19:20:58 +02:00