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
Tony Garnock-Jones
abaf23920b
Upgrade typescript-language-server to 3.3.2
2023-04-28 10:20:10 +02:00
Tony Garnock-Jones
40844d2806
Publish
...
- @syndicate-lang/compiler@0.13.2
- @syndicate-lang/core@0.14.2
- @syndicate-lang/fs@0.14.5
- @syndicate-lang/html@0.14.5
- @syndicate-lang/service@0.14.5
- @syndicate-lang/syndicatec@0.14.2
- @syndicate-lang/timer@0.14.5
- @syndicate-lang/ts-plugin@0.15.1
- @syndicate-lang/tsc@0.15.2
- @syndicate-lang/ws-relay@0.14.5
2023-03-06 23:27:14 +01:00
Tony Garnock-Jones
cbcb692db8
Allow fully-discard constructor parameter dicts
2023-03-06 23:26:34 +01:00
Tony Garnock-Jones
545282be32
Repair nested-binder-patterns
2023-03-06 23:26:15 +01:00
Tony Garnock-Jones
44d7d16a82
Publish
...
- @syndicate-lang/fs@0.14.4
- @syndicate-lang/html@0.14.4
- @syndicate-lang/service@0.14.4
- @syndicate-lang/timer@0.14.4
- @syndicate-lang/ts-plugin@0.15.0
- @syndicate-lang/ws-relay@0.14.4
2023-02-14 12:08:24 +01:00
Tony Garnock-Jones
0962c5e41a
Implement getDefinitionAndBoundSpan
2023-02-14 12:06:31 +01:00
Tony Garnock-Jones
8a51e87f38
Avoid double-translation of positions (?)
2023-02-14 12:06:19 +01:00
Tony Garnock-Jones
a761e7a5b7
Publish
...
- @syndicate-lang/fs@0.14.3
- @syndicate-lang/html@0.14.3
- @syndicate-lang/service@0.14.3
- @syndicate-lang/timer@0.14.3
- @syndicate-lang/tsc@0.15.1
- @syndicate-lang/ws-relay@0.14.3
2023-02-14 11:44:04 +01:00
Tony Garnock-Jones
fe78147cb8
Another repair to diagnostic fixup
2023-02-14 11:43:05 +01:00
Tony Garnock-Jones
fec72f1269
Publish
...
- @syndicate-lang/fs@0.14.2
- @syndicate-lang/html@0.14.2
- @syndicate-lang/service@0.14.2
- @syndicate-lang/timer@0.14.2
- @syndicate-lang/tsc@0.15.0
- @syndicate-lang/ws-relay@0.14.2
2023-02-14 11:32:52 +01:00
Tony Garnock-Jones
14702c66b9
Dramatic simplifications from using TypeScript-provided machinery which appeared sometime between when this code was originally written and now
2023-02-14 11:32:21 +01:00
Tony Garnock-Jones
958cbae171
Update example lockfiles
2023-02-11 22:10:38 +01:00
Tony Garnock-Jones
ef665c0998
Publish
...
- @syndicate-lang/core@0.14.1
- @syndicate-lang/create@0.14.1
- @syndicate-lang/fs@0.14.1
- @syndicate-lang/html@0.14.1
- @syndicate-lang/service@0.14.1
- @syndicate-lang/syndicatec@0.14.1
- @syndicate-lang/timer@0.14.1
- @syndicate-lang/ts-plugin@0.14.1
- @syndicate-lang/tsc@0.14.1
- @syndicate-lang/ws-relay@0.14.1
2023-02-11 22:06:28 +01:00
Tony Garnock-Jones
a51851283f
Repair route with no steps
2023-02-11 22:01:19 +01:00
Tony Garnock-Jones
7a09be7141
Merge latest changes from the syndicate-protocols repository
2023-02-11 21:54:43 +01:00
Tony Garnock-Jones
d8a139b23a
Switch back to transport sequence representation
2023-02-11 21:49:49 +01:00
Tony Garnock-Jones
9b109023d3
Update lockfile
2023-02-11 20:30:34 +01:00
Tony Garnock-Jones
d6c4db6a09
Bump again
2023-02-11 18:12:42 +01:00
Tony Garnock-Jones
04ebe2b8e6
Bump required deps
2023-02-11 18:00:41 +01:00
Tony Garnock-Jones
18a4690609
Merge latest changes from the syndicate-protocols repository
2023-02-11 17:48:32 +01:00
Tony Garnock-Jones
46fd2dec3b
Set of any for transports in gatekeeper.Route
2023-02-11 17:43:42 +01:00
Tony Garnock-Jones
38dad13f33
Update example lockfiles
2023-02-10 16:55:20 +01:00
Tony Garnock-Jones
ea212ade8c
Publish
...
- @syndicate-lang/core@0.14.0
- @syndicate-lang/create@0.14.0
- @syndicate-lang/fs@0.14.0
- @syndicate-lang/html@0.14.0
- @syndicate-lang/service@0.14.0
- @syndicate-lang/syndicatec@0.14.0
- @syndicate-lang/timer@0.14.0
- @syndicate-lang/ts-plugin@0.14.0
- @syndicate-lang/tsc@0.14.0
- @syndicate-lang/ws-relay@0.14.0
2023-02-10 16:49:37 +01:00
Tony Garnock-Jones
1f9ee7a745
Merge latest changes from the syndicate-protocols repository
2023-02-09 23:08:23 +01:00
Tony Garnock-Jones
1ae2583414
Remove accidental self-qualification
2023-02-09 23:07:43 +01:00
Tony Garnock-Jones
cd5452b624
Implement new gatekeeper protocol for syndicate-js
2023-02-09 22:41:43 +01:00
Tony Garnock-Jones
f4c0c826df
Merge latest changes from the syndicate-protocols repository
2023-02-09 00:17:37 +01:00
Tony Garnock-Jones
f3c9662607
Another small error
2023-02-08 23:43:51 +01:00
Tony Garnock-Jones
82624d3007
Another small error
2023-02-08 23:39:42 +01:00
Tony Garnock-Jones
8b690b9103
Repair minor error
2023-02-08 23:36:21 +01:00
Tony Garnock-Jones
5a52f243e5
Adjust steps in noise and sturdy
2023-02-08 23:11:05 +01:00
Tony Garnock-Jones
6224baa2b6
Avoid variable-arity steps
2023-02-08 23:04:42 +01:00
Tony Garnock-Jones
5111a0c141
Merge latest changes from the syndicate-protocols repository
2023-02-08 22:28:19 +01:00
Tony Garnock-Jones
8619342e5e
Refinements
2023-02-08 22:11:45 +01:00
Tony Garnock-Jones
32428e9e67
Merge latest changes from the syndicate-protocols repository
2023-02-08 20:36:50 +01:00
Tony Garnock-Jones
5bcb268ff8
Adjust ResolvePath/TransportConnection/PathStep
2023-02-08 20:36:14 +01:00
Tony Garnock-Jones
d32805e1fb
Merge latest changes from the syndicate-protocols repository
2023-02-08 19:39:58 +01:00
Tony Garnock-Jones
ce56a67377
PROTOCOLS_BRANCH
2023-02-08 19:39:14 +01:00
Tony Garnock-Jones
9cd2e6776c
Refactor gatekeeper protocols.
2023-02-08 17:46:47 +01:00
Tony Garnock-Jones
a086c1d721
Repair typo
2023-02-07 13:18:18 +01:00
Tony Garnock-Jones
bc41182533
Another small repair
2023-02-07 13:11:14 +01:00
Tony Garnock-Jones
2ad99b56b8
Be more precise about HMAC-BLAKE2s-256 and the key length
2023-02-07 12:44:47 +01:00
Tony Garnock-Jones
ce7b18a2de
Bring examples up-to-date
2023-02-06 23:29:35 +01:00
Tony Garnock-Jones
31d2eba8b6
Publish
...
- @syndicate-lang/compiler@0.13.1
- @syndicate-lang/core@0.13.1
- @syndicate-lang/fs@0.13.2
- @syndicate-lang/html@0.13.2
- @syndicate-lang/service@0.13.2
- @syndicate-lang/syndicatec@0.13.2
- @syndicate-lang/timer@0.13.2
- @syndicate-lang/ts-plugin@0.13.2
- @syndicate-lang/tsc@0.13.2
- @syndicate-lang/ws-relay@0.13.2
2023-02-06 23:14:09 +01:00
Tony Garnock-Jones
b361f3a40e
Require fixed salty-crypto package
2023-02-06 23:13:14 +01:00