Commit graph

5422 commits

Author SHA1 Message Date
Amaan Qureshi
5d99014bb8 style: rephrase extends beyond to contains or starts after 2024-12-28 18:53:08 -05:00
Amaan Qureshi
d2db7eb8ef
docs: add back detailed info about points 2024-12-28 16:12:45 -05:00
Will Lillis
4f9869142f
fix(rust): adapt to a few new nightly lints 2024-12-28 01:17:04 -05:00
Amaan Qureshi
48fe030bdd
fix(playground): gracefully fallback to JavaScript if the select info is undefined 2024-12-27 17:08:49 -05:00
Amaan Qureshi
9228a31f94
fix(playground): restore select value's text from local storage 2024-12-26 00:17:49 -05:00
Amaan Qureshi
e3b2545ab7 fix(playground): add back underline on tree nodes, and query error underline 2024-12-25 21:23:36 -05:00
Amaan Qureshi
b70843a033 fix(playground): add dark theme, align ui more akin to upstream playground 2024-12-25 21:23:36 -05:00
Amaan Qureshi
5bd0d11982 fix(playground): ensure local playground is initialized 2024-12-25 21:23:36 -05:00
Amaan Qureshi
bd6aa2be2b fix(playground): correct link to upstream playground 2024-12-25 21:23:36 -05:00
Amaan Qureshi
87c4df3ff3 docs: add favicon and logo 2024-12-25 21:23:36 -05:00
Amaan Qureshi
dda45cfbb6 docs: move assets to correct path 2024-12-25 21:23:36 -05:00
Amaan Qureshi
694d636322 fix(lib): correct fix for parsing hang with ranges containing empty points
It's more correct to check the bytes of the `size` length, rather than
use the point as a condition for resetting the lexer's token start
position
2024-12-25 04:49:39 -05:00
Amaan Qureshi
f3d50f273b fix(lib): add saturating subtraction to prevent integer underflow 2024-12-25 04:49:39 -05:00
WillLillis
7ba0f297e5 fix: re-export StreamingIterator and StreamingIteratorMut 2024-12-24 23:19:33 -05:00
Amaan Qureshi
e9b95078c7 ci(bindgen): only check bindgen output when api.h or bindings.rs changes 2024-12-24 23:09:44 -05:00
Amaan Qureshi
f6c325df0b ci(docs): only re-deploy docs when any file in docs has changed 2024-12-24 23:09:44 -05:00
Amaan Qureshi
72807e187e ci: don't run ci if documentation files & friends have changed 2024-12-24 23:09:44 -05:00
Amaan Qureshi
432f4fd9b5 docs: add guide on contributing to docs 2024-12-24 22:43:06 -05:00
Amaan Qureshi
03b7760275 docs(scanner): add overview to the scan function
Co-authored-by: David Baynard <git@baynard.dev>
2024-12-24 22:43:06 -05:00
Amaan Qureshi
28f7c6bdb2 docs: fix link to contributing.md 2024-12-24 22:43:06 -05:00
Amaan Qureshi
043969ef18 docs: migrate to mdbook 2024-12-24 20:54:59 -05:00
Max Brunsfeld
201b41cf11
feat: add 'reserved word' construct
Co-authored-by: Amaan Qureshi <amaanq12@gmail.com>
2024-12-23 03:06:32 -05:00
Will Lillis
2a63077cac
style: correct typos 2024-12-23 02:11:09 -05:00
WillLillis
faf97b896a fix(cli): use xdg config directory on macOS
fix: address feedback
2024-12-23 02:09:06 -05:00
WillLillis
b747261929 feat(cli): display parse and edit times separately for parse --time 2024-12-23 02:06:13 -05:00
Will Lillis
5d9870ebee
feat(cli): show parse times in testing output 2024-12-23 01:22:37 -05:00
Amaan Qureshi
8744a4e3f2 feat(lib): use const for TSCharacterRanges 2024-12-23 01:19:10 -05:00
Amaan Qureshi
00674e3162 docs: clarify the start rule of a grammar 2024-12-22 23:35:13 -05:00
dependabot[bot]
f7def174cd build(deps): bump clap_complete from 4.5.38 to 4.5.39 in the cargo group
Bumps the cargo group with 1 update: [clap_complete](https://github.com/clap-rs/clap).


Updates `clap_complete` from 4.5.38 to 4.5.39
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.38...clap_complete-v4.5.39)

---
updated-dependencies:
- dependency-name: clap_complete
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-22 23:32:07 -05:00
Juyeong Maing
b68c64b332
docs: fix typo 2024-12-22 18:43:22 -05:00
Wilfred Hughes
90666c951d
Fix typo in doc comment (#4022) 2024-12-19 22:49:54 -08:00
Amaan Qureshi
c132f1928f fix(xtask): add emscription version in commit msg 2024-12-19 11:49:12 -05:00
Amaan Qureshi
47a2f042d5 ci: add workflow to update emscripten 2024-12-19 08:00:51 -05:00
Amaan Qureshi
1b1e99bf1a feat: add xtask to bump emscripten-version 2024-12-19 08:00:51 -05:00
Amaan Qureshi
7d3dbc062d build: bump deps 2024-12-16 01:22:58 -05:00
Amaan Qureshi
214b3dc2e6 fix(cli): handle nested tags test files 2024-12-16 00:25:43 -05:00
Amaan Qureshi
2374bca62a fix(cli): gracefully handle OOB assertions 2024-12-16 00:15:02 -05:00
Felix Roos
6c4a50a9c7 docs(web): add instructions for Vite 2024-12-16 00:09:42 -05:00
Ramkumar Ramachandra
07aaf2322e
fix: keep highlight names list consistent in the docs and cli
Co-authored-by: Amaan Qureshi <amaanq12@gmail.com>
2024-12-15 23:29:43 -05:00
Amaan Qureshi
9e1a2a701b fix(cli): correct default query paths 2024-12-15 23:05:54 -05:00
Amaan Qureshi
e2d1e40a4d fix(cli): correct warning message 2024-12-15 23:05:54 -05:00
StratusFearMe21
c053b63be8
docs(rust): update doc comment on node ids 2024-12-15 22:52:46 -05:00
Gabriel Holodak
f279d10aa2 fix(cli): count skipped tests correctly 2024-12-15 16:09:51 -05:00
Gabriel Holodak
8de3a2ee13 fix(cli): replace nerd font symbols with unicode symbols 2024-12-15 16:09:51 -05:00
Jonathan Raphaelson
8368f9994d
feat: add flag to output css classes instead of inline styles in HTML highlighter output
Co-authored-by: Amaan Qureshi <amaanq12@gmail.com>
2024-12-15 01:43:22 -05:00
Riley Bruins
495fe2a6c5
feat: support querying missing nodes
Co-authored-by: Amaan Qureshi <amaanq12@gmail.com>
2024-12-14 14:57:36 -05:00
kylegoetz
cd94dbd57f
feat(cli): don't validate email addresses in init command
Co-authored-by: Amaan Qureshi <amaanq12@gmail.com>
2024-12-12 20:00:48 -05:00
Patrick Thomson
530e0571c9
feat(highlight): mark TSHighlighter fields as pub 2024-12-10 19:37:15 -05:00
Amaan Qureshi
ea9aa018b3
feat(cli): add nushell completions 2024-12-10 19:35:58 -05:00
Amaan Qureshi
69d977d736 fix(lib): use clock_gettime on macOS again 2024-12-03 18:12:32 -05:00