Commit Graph

864 Commits

Author SHA1 Message Date
Tony Garnock-Jones 1955298ba0 Improve README slightly 2023-11-17 14:12:14 +01:00
Tony Garnock-Jones 8f30b198a7 Publish
- @syndicate-lang/core@0.19.0
 - @syndicate-lang/create@0.17.0
 - @syndicate-lang/fs@0.19.0
 - @syndicate-lang/html@0.19.0
 - @syndicate-lang/service@0.19.0
 - @syndicate-lang/syndicatec@0.19.0
 - @syndicate-lang/timer@0.19.0
 - @syndicate-lang/ts-plugin@0.19.0
 - @syndicate-lang/tsc@0.19.0
 - @syndicate-lang/ws-relay@0.20.0
2023-10-31 22:06:59 +01:00
Tony Garnock-Jones c488d6d75a Update preserves dependency to 0.991 2023-10-31 22:06:08 +01:00
Tony Garnock-Jones e026f42452 Merge latest changes from the syndicate-protocols repository 2023-10-31 21:57:25 +01:00
Tony Garnock-Jones fe9ceaf65c Update comment syntax for Preserves 0.991 2023-10-31 21:56:44 +01:00
Tony Garnock-Jones 0dfa34f209 Update examples 2023-10-19 02:56:27 +02:00
Tony Garnock-Jones 8bc7285747 Publish
- @syndicate-lang/html@0.18.2
 - @syndicate-lang/syndicatec@0.18.2
2023-10-19 02:43:19 +02:00
Tony Garnock-Jones 3d695954b7 Remove unneeded dependency 2023-10-19 02:43:06 +02:00
Tony Garnock-Jones 4c2f7e01c6 Repair syndicatec compilation 2023-10-19 02:40:35 +02:00
Tony Garnock-Jones 98fb03bc79 Publish
- @syndicate-lang/core@0.18.1
 - @syndicate-lang/create@0.16.1
 - @syndicate-lang/fs@0.18.1
 - @syndicate-lang/html@0.18.1
 - @syndicate-lang/service@0.18.1
 - @syndicate-lang/syndicatec@0.18.1
 - @syndicate-lang/timer@0.18.1
 - @syndicate-lang/ts-plugin@0.18.1
 - @syndicate-lang/tsc@0.18.1
 - @syndicate-lang/ws-relay@0.19.1
2023-10-19 02:33:52 +02:00
Tony Garnock-Jones 6caf35f20e Update to @preserves/schema and @preserves/schema-cli 2023-10-19 02:33:00 +02:00
Tony Garnock-Jones f6a35a6d4d Update examples 2023-10-18 14:55:57 +02:00
Tony Garnock-Jones a2f36d94d0 Publish
- @syndicate-lang/core@0.18.0
 - @syndicate-lang/create@0.16.0
 - @syndicate-lang/fs@0.18.0
 - @syndicate-lang/html@0.18.0
 - @syndicate-lang/service@0.18.0
 - @syndicate-lang/syndicatec@0.18.0
 - @syndicate-lang/timer@0.18.0
 - @syndicate-lang/ts-plugin@0.18.0
 - @syndicate-lang/tsc@0.18.0
 - @syndicate-lang/ws-relay@0.19.0
2023-10-18 14:16:35 +02:00
Tony Garnock-Jones d076761f87 How did these sneak in? 2023-10-18 14:15:41 +02:00
Tony Garnock-Jones 836d06aca2 Update preserves 2023-10-18 14:14:40 +02:00
Tony Garnock-Jones f698b8cdb3 Merge latest changes from the syndicate-protocols repository 2023-10-18 14:04:31 +02:00
Tony Garnock-Jones 72566ac223 Update for Preserves 0.990 2023-10-18 14:02:28 +02:00
Tony Garnock-Jones cd2d710692 Repair resolving of longer chains when reconnects happen 2023-10-11 21:03:43 +02:00
Tony Garnock-Jones c8fc52a685 Terser logging 2023-10-11 21:03:21 +02:00
Tony Garnock-Jones 5338890e76 Publish
- @syndicate-lang/core@0.17.1
 - @syndicate-lang/create@0.15.1
 - @syndicate-lang/fs@0.17.1
 - @syndicate-lang/html@0.17.1
 - @syndicate-lang/service@0.17.1
 - @syndicate-lang/syndicatec@0.17.1
 - @syndicate-lang/timer@0.17.1
 - @syndicate-lang/ts-plugin@0.17.2
 - @syndicate-lang/tsc@0.17.2
 - @syndicate-lang/ws-relay@0.18.1
2023-10-02 21:07:55 +02:00
Tony Garnock-Jones 93bc596f37 Remove unused import 2023-10-02 21:05:36 +02:00
Tony Garnock-Jones bfd1f13c19 Bump preserves dep 2023-10-02 21:05:27 +02:00
Tony Garnock-Jones 54e9633791 Publish
- @syndicate-lang/ws-relay@0.18.0
2023-09-29 19:38:52 +02:00
Tony Garnock-Jones 06bf888bd8 Allow supply of WebSocket constructor 2023-09-29 19:31:43 +02:00
Tony Garnock-Jones 2dc7fc3e9c Publish
- @syndicate-lang/core@0.17.0
 - @syndicate-lang/fs@0.17.0
 - @syndicate-lang/html@0.17.0
 - @syndicate-lang/service@0.17.0
 - @syndicate-lang/syndicatec@0.17.0
 - @syndicate-lang/timer@0.17.0
 - @syndicate-lang/ts-plugin@0.17.1
 - @syndicate-lang/tsc@0.17.1
 - @syndicate-lang/ws-relay@0.17.0
2023-06-16 21:32:46 +02:00
Tony Garnock-Jones 28dee5f098 Store the whole assertion when crossSpace 2023-06-16 21:31:51 +02:00
Tony Garnock-Jones da29412e91 Update example-simple-chat 2023-06-16 13:10:58 +02:00
Tony Garnock-Jones 6afa4ba87f Publish
- @syndicate-lang/core@0.16.0
 - @syndicate-lang/create@0.15.0
 - @syndicate-lang/fs@0.16.0
 - @syndicate-lang/html@0.16.0
 - @syndicate-lang/service@0.16.0
 - @syndicate-lang/syndicatec@0.16.0
 - @syndicate-lang/timer@0.16.0
 - @syndicate-lang/ts-plugin@0.17.0
 - @syndicate-lang/tsc@0.17.0
 - @syndicate-lang/ws-relay@0.16.0
2023-06-16 13:05:41 +02:00
Tony Garnock-Jones b4a54d6f94 Track inbound/outbound assertions across spaces 2023-06-16 13:02:34 +02:00
Tony Garnock-Jones 0533b3fd0f Expose queuedTasks 2023-06-01 23:27:44 +02:00
Tony Garnock-Jones 1de1e9d382 DataspaceObserver, for reflection 2023-05-28 12:25:44 +02:00
Tony Garnock-Jones 7b8526dfcf Facet.idChainValues 2023-05-28 12:24:28 +02:00
Tony Garnock-Jones 2a2b7da4bc Switch to proper schema 2023-05-28 12:03:45 +02:00
Tony Garnock-Jones 021fdf06bb Remove unneeded spawningFacet field; mark StopOnRetract entities 2023-05-28 11:38:05 +02:00
Tony Garnock-Jones 39fb9cb92e Task descriptions 2023-05-28 11:18:29 +02:00
Tony Garnock-Jones d55e322a0e Expose Dataspace value in Entity's data field 2023-05-25 23:46:29 +02:00
Tony Garnock-Jones 818f35c471 Introduce ActorSpace 2023-05-19 14:58:42 +02:00
Tony Garnock-Jones 70f1289057 Publish
- @syndicate-lang/core@0.15.1
 - @syndicate-lang/create@0.14.2
 - @syndicate-lang/fs@0.15.2
 - @syndicate-lang/html@0.15.2
 - @syndicate-lang/service@0.15.2
 - @syndicate-lang/syndicatec@0.15.1
 - @syndicate-lang/timer@0.15.2
 - @syndicate-lang/ts-plugin@0.16.2
 - @syndicate-lang/tsc@0.16.1
 - @syndicate-lang/ws-relay@0.15.2
2023-05-12 11:33:15 +02:00
Tony Garnock-Jones 7b2ea2aae9 Bump preserves version, other deps 2023-05-12 11:32:17 +02:00
Tony Garnock-Jones 3a78f6c46c Publish
- @syndicate-lang/fs@0.15.1
 - @syndicate-lang/html@0.15.1
 - @syndicate-lang/service@0.15.1
 - @syndicate-lang/timer@0.15.1
 - @syndicate-lang/ts-plugin@0.16.1
 - @syndicate-lang/ws-relay@0.15.1
2023-05-05 13:56:27 +02:00
Tony Garnock-Jones aafb654687 Try harder to be incremental in editContent 2023-05-03 18:20:26 +03:00
Tony Garnock-Jones 1f72baf3ad Log expansion delay 2023-05-03 18:19:48 +03:00
Tony Garnock-Jones 9cf00720f8 Publish
- @syndicate-lang/core@0.15.0
 - @syndicate-lang/fs@0.15.0
 - @syndicate-lang/html@0.15.0
 - @syndicate-lang/service@0.15.0
 - @syndicate-lang/syndicatec@0.15.0
 - @syndicate-lang/timer@0.15.0
 - @syndicate-lang/ts-plugin@0.16.0
 - @syndicate-lang/tsc@0.16.0
 - @syndicate-lang/ws-relay@0.15.0
2023-05-02 16:26:30 +03:00
Tony Garnock-Jones b2084c4d1d Factor out different kinds of IndexObserver 2023-05-02 16:19:38 +03:00
Tony Garnock-Jones 998c4442c9 Publish
- @syndicate-lang/fs@0.14.7
 - @syndicate-lang/html@0.14.7
 - @syndicate-lang/service@0.14.7
 - @syndicate-lang/timer@0.14.7
 - @syndicate-lang/ts-plugin@0.15.3
 - @syndicate-lang/ws-relay@0.14.7
2023-05-02 13:10:59 +03:00
Tony Garnock-Jones a0f87bf687 Monkeypatch ScriptInfo instead of subclassing-and-replacing.
This means we can ditch the whole approach of trying to remove
stale ScriptInfo instances at plugin startup, instead just
endowing existing ones with new behaviour.

This repairs an error where renaming an identifer would perform
spurious edits.
2023-05-02 12:57:22 +03:00
Tony Garnock-Jones 2eb7045b5c Publish
- @syndicate-lang/fs@0.14.6
 - @syndicate-lang/html@0.14.6
 - @syndicate-lang/service@0.14.6
 - @syndicate-lang/timer@0.14.6
 - @syndicate-lang/ts-plugin@0.15.2
 - @syndicate-lang/ws-relay@0.14.6
2023-04-29 09:42:12 +02:00
Tony Garnock-Jones 1008d6acca Update ts-plugin README 2023-04-28 10:38:35 +02:00
Tony Garnock-Jones 075893fc85 Fix up a few of the more egregious problems with the plugin.
TypeScript has been moving on while the plugin has been staying still, and
that has caused the plugin to stop working well. This patch gets things
back into somewhat workable state, but I'm sure more will be required.

Changes include:

 - `hookHost` is no longer required: instead, we hook ts.createSourceFile.

 - `shouldExpand` abstracts away details of whether a file is considered
   Syndicateish or not.

 - The code that does the Syndicate expansion has been abstracted out of
   the detail of how expansion is invoked by the language server.

 - I've had to monkey-patch ScriptInfo in order to get access to the
   `editContent` method.

 - As a consequence, at plugin startup, we invalidate existing ScriptInfo
   instances so they are rebuilt with our SyndicateScriptInfo constructor.
2023-04-28 10:32:49 +02:00
Tony Garnock-Jones 3384acbd62 Cosmetic 2023-04-28 10:23:57 +02:00