Skip to content

v0.6.0

Latest

Choose a tag to compare

@github-actions github-actions released this 19 Oct 12:32
· 134 commits to master since this release

Features

  • (cjls) a diagnostic pull answers unchanged when the report is the same (#51, D131) (#428) - (f61d6c6) - FilaCo
  • (cjls) textDocument/completion and completionItem/resolve (#203) (#362) - (d5d5e5f) - FilaCo
  • (cjls) expand macro, as cjls/expandMacro and as a read-only .cj.macrocall (#325) (#327) - (8e19341) - FilaCo
  • (cjls) the workspace's macros built by cjc and run in the SDK's macro server (#176) (#326) - (f5309a1) - FilaCo
  • (cjls) the server's own directory, /.cache/cjls, with a layout, a cleanup and a lock (#333) (#335) - (12ea73e) - FilaCo
  • (cjls) semantic tokens augment the client's grammar (D105) (#331) - (8eb1515) - FilaCo
  • (cjls) a document opened blank is given its package line (#294) (#301) - (2434a60) - FilaCo
  • (cjsyntax) reparse the block around an edit, for completion's marker (D110) (#350) - (8d01b20) - FilaCo
  • (loupe) an operator none of whose candidates fits is reported at the operator (#244, D134) (#438) - (e13eb88) - FilaCo
  • (loupe) the members a member overrides or implements, and those overriding it (#389, D128) (#410) - (260190e) - FilaCo
  • (loupe) references read only the files whose words name the name (#415) - (9d99921) - FilaCo
  • (loupe) a test file sees std.unittest and its macros unimported, as cjc --test does (#255) (#412) - (1a72fe1) - FilaCo
  • (loupe) a generic call is solved for each combination of the overloads its arguments name (#243) (#411) - (5ba6ef9) - FilaCo
  • (loupe) an expression macro's expansion is parsed by where its call stands and read as a file (#368) (#409) - (5d41d84) - FilaCo
  • (loupe) completion outside a body: types, imports, keywords, overrides (#401, D127) (#407) - (34de89a) - FilaCo
  • (loupe) an overloaded function passed to overloads fits only those of a parameter one of it takes (#243) (#400) - (a0bb4be) - FilaCo
  • (loupe) std's macros run in the macro server, under the calls cjls expands itself (#176, D123) (#384) - (6108442) - FilaCo
  • (loupe) references across the workspace, searched where the declaration is visible (#387, D124) (#395) - (1b86519) - FilaCo
  • (loupe) a workspace macro called in a body is asked of the macro server, and expand macro shows it (D117) (#383) - (c68a12e) - FilaCo
  • (loupe) a lambda passed to a call that fails has parameters of why it fails (#282) (#382) - (72f6cf0) - FilaCo
  • (loupe) std.unittest's attribute arguments read as code — x in src, @configure, @types (#191, D115) (#372) - (3d3961a) - FilaCo
  • (loupe) hover on the names of an import and on a package (#379) - (012af48) - FilaCo
  • (loupe) a body cjls writes in an expansion of its own is a comment naming the macro (D118) (#376) - (0ed05b6) - FilaCo
  • (loupe) a quote's interpolations read as code of the macro (#195, D116) (#366) - (41b4fbb) - FilaCo
  • (loupe) expand macro in a whole declaration, hover on a macro call, @derive in a workspace macro's input (D114) (#360) - (1f26204) - FilaCo
  • (loupe) completions at a cursor, members after a dot and names in scope (#203, D111) (#352) - (d551ebe) - FilaCo
  • (loupe) a call's arguments matched to each candidate's parameters before it is tried (D110) (#254) (#351) - (82acceb) - FilaCo
  • (loupe) go to definition on imports and packages; hover shows the docs and interfaces macros hide (#348) - (8028633) - FilaCo
  • (loupe) hover tells what the language builds in, from the Cangjie docs (#344) (#347) - (86ef4dd) - FilaCo
  • (loupe) the macro server's answers as an input, and the requests for them (#176) (#314) - (d79aed1) - FilaCo
  • (loupe) @when evaluated against the package's cfg, inactive code greyed (#149) (#302) - (ca1bf93) - FilaCo
  • (loupe) mismatches and counts of arguments reported, the diagnostics gate (#53) (#296) - (4d7a016) - FilaCo
  • (macro_server) cjsyntax's tokens as cjc's, numbered by the SDK's Tokens.inc (#176) (#305) - (6718d6a) - FilaCo
  • (macro_server) the SDK's LSPMacroServer driven over its own protocol (#176) (#295) - (82b939b) - FilaCo
  • (project_model) multiplatform source sets and common/specific (#318) (#323) - (90fa6b2) - FilaCo

Bug Fixes

  • (ci) run cjc behind a shim that closes inherited descriptors (#342, D125) (#394) - (78abaff) - FilaCo
  • (cjls) a read-only request the files changed under runs again on a fresh snapshot (D122) (#381) - (a1f088f) - FilaCo
  • (cjls) cjc links a macro library on macOS without envsetup's SDKROOT (#361) - (36eef08) - FilaCo
  • (cjls) give way before stdin's read blocks, so a request's spawn starts (#324) (#330) - (e18df1f) - FilaCo
  • (cjls) diagnostics pulled again after another file changes (D100) (#317) - (46a87a6) - FilaCo
  • (loupe) an item the macro server's output replaces is checked in that output alone (D132) (#439) - (a8f8ddd) - FilaCo
  • (loupe) hover shows what @Derive/@DeriveExt add once the macro server expanded them (#430) - (40c3b50) - FilaCo
  • (loupe) a file that is no test sees no constructor only a test imports (#429) - (b3d8d1c) - FilaCo
  • (loupe) a name after an enum's constructors lists the member keywords (#427) - (eebb59f) - FilaCo
  • (loupe) completion lists no operator function as a member (#419) - (b5e8e00) - FilaCo
  • (loupe) a type parameter's declaring name means the type parameter (#398) (#416) - (5488198) - FilaCo
  • (loupe) a parameter in a macro call is a parameter of its declaration (#413) - (5a2c198) - FilaCo
  • (loupe) doc comments and macro calls on primary constructor parameters (#377, #357) (#380) - (b4bf468) - FilaCo
  • (loupe) macro attributes keep nested brackets; go to definition picks the macro overload a call runs (#349) - (3d69914) - FilaCo
  • (loupe) a file of no package finds lang items in the SDK's std.core, as it finds a builtin type's extends (#319) (#321) - (4d6cbc6) - FilaCo
  • (loupe) the false mismatches the gate found on std's sources (#287) (#303) - (677e146) - FilaCo
  • (macro_host) each macro package built into its own project's macro-build (#338) (#408) - (2600250) - FilaCo
  • (macro_server) the server loads its own SDK's libraries before inherited ones (#310) (#414) - (af391d7) - FilaCo
  • (project_model) the macros' error roots held by D108's gate, which merged before them (#343) - (4f9021a) - FilaCo
  • (rope) lineStart and lineEnd throw for a line outside the text (#426) - (60a490c) - FilaCo

Documentation

  • (adr) semantic tokens are sent whole, no full/delta (D136) (#442) - (b369d97) - FilaCo
  • (adr) workspace/diagnostic is not offered (D135) (#440) - (9ca2d12) - FilaCo
  • (adr) a client's version is the pinned cjls's minor with a patch of its own (D133) (#436) - (4f4d1b8) - FilaCo
  • (adr) an item a macro's output replaces is read through that output alone (D132) (#435) - (05d7115) - FilaCo
  • (adr) expression macros, std.unittest's included, asked with the file's calls and read while current (D117) (#374) - (86f6fc7) - FilaCo
  • (adr) a client's settings are made again when its pin moves, never checked against the cjls under test (D107) (#336) - (69c1f7f) - FilaCo
  • (adr) one release supports a window of SDKs (D94) (#304) - (e75c37a) - FilaCo
  • (prior-art) R9 tried again: it builds and answers, slowly (#22) (#329) - (5305006) - FilaCo
  • the code style follows std where the compiler leaves a choice, checked by cjlint (D126) (#396) - (82f875c) - FilaCo

Tests

  • (cjls) a macro past its deadline is tested on deadlines fired by hand (#373) - (e445b21) - FilaCo
  • (e2e) the overload of go to definition picked with an SDK or without (#320) - (a321ae5) - FilaCo
  • (loupe) a trailing lambda goes to a named last parameter past ones of a default value (#280) (#392) - (4296ee3) - FilaCo
  • (loupe) a call the analysis cannot type in an argument leaves its candidate undecided (#281) (#364) - (245ae2d) - FilaCo
  • (loupe) cases over a list of inputs are parameterized (#363) - (bbc288a) - FilaCo
  • (loupe) a result keeping its evicted tree is told by the tree it holds, not by a weak reference (#316) - (60b7ac0) - FilaCo
  • (loupe) a variadic function of a .cjo, called with its array's elements (#315) - (1f1be1e) - FilaCo
  • (project_model) this repository's error roots held to a count that only shrinks (D108) (#341) - (a9ee0ec) - FilaCo

Build system

  • (githooks) pre-push runs cjc behind CI's shim (#342) (#399) - (05dca1d) - FilaCo
  • (githooks) pre-push checks the format as CI's Format job does (#378) - (dfcd812) - FilaCo
  • pin the 1.3.0-alpha.20261014001050 nightly (#355) - (b25c503) - FilaCo
  • the unused warnings off in every module, the dead names they found removed (D97) (#313) - (61cc934) - FilaCo

Continuous Integration

  • (coverage) the gate is tagged out of the coverage run, fixtures for what it alone reached (D120) (#385) - (42958b8) - FilaCo
  • hold every Cangjie file to cjls fmt (#356) - (d956089) - FilaCo
  • build the binary and run the tests in two jobs side by side, each with its own cache (D96) (#312) - (eed2d7a) - FilaCo

Refactoring

  • (macro_host) the macro host is a library module, cjls keeps only the thread that drives it (#393) - (27d1513) - FilaCo
  • (platform) hostArch is the one @when of the code, files named for what they hold (D113) (#354) - (ecaa70a) - FilaCo