Wilfred Hughes
2d845d9026
Simplify screenshot to exclude window chrome
2021-09-06 00:15:50 +07:00
Wilfred Hughes
de87522631
Treat codecov as informational and never mark the status as red
2021-09-05 20:18:53 +07:00
Wilfred Hughes
d29bd46969
Associate more file extensions with Clojure
...
Fixes #31
2021-09-05 19:43:47 +07:00
Wilfred Hughes
34a5bd768d
TSX is now supported
2021-09-05 19:37:28 +07:00
Wilfred Hughes
9f525b78d0
Configure typescript TSX
2021-09-05 19:35:23 +07:00
Wilfred Hughes
6d98fd86ab
Configure typescript parser
2021-09-05 19:26:44 +07:00
Wilfred Hughes
008f55203e
Add 'vendor/tree-sitter-typescript/' from commit '83816f563c8d9d2f1b9c921206a7944d0c5904ad'
...
git-subtree-dir: vendor/tree-sitter-typescript
git-subtree-mainline: e96a724176
git-subtree-split: 83816f563c
2021-09-05 19:05:06 +07:00
Wilfred Hughes
e96a724176
Always print a trailing blank line, even if there are no changes
2021-09-05 15:40:53 +07:00
Wilfred Hughes
b6b0f8057b
Treat integer values as atoms in CSS
2021-09-05 11:39:49 +07:00
Wilfred Hughes
dcd8f4608f
Fix a clippy lint
2021-09-05 11:24:44 +07:00
Wilfred Hughes
e3b2994aa9
Java parser was added in 0.7 too
2021-09-05 11:23:21 +07:00
Wilfred Hughes
0f042fb160
Roll version
2021-09-05 11:23:00 +07:00
Wilfred Hughes
d99ada1573
Preserve leading whitespace when constructing comment nodes
...
Display relies on accurate content values. If we transform comment
contents, we would colour the wrong part of the source code when
displaying. See before/after.java sample files.
2021-09-05 11:13:05 +07:00
Wilfred Hughes
99a2fffd60
Simplify pattern match
2021-09-05 10:56:56 +07:00
Wilfred Hughes
a02cedd358
crates.io badge should link to the relevant crates.io page
2021-09-05 10:44:10 +07:00
Wilfred Hughes
e734aa3730
cargo fmt
2021-09-05 01:04:22 +07:00
Wilfred Hughes
69981c96cc
Convert tree-sitter output to syntax nodes in smoke test
2021-09-05 01:02:08 +07:00
Wilfred Hughes
2aad08a179
Add smoke test for tree-sitter parsing
2021-09-05 00:43:38 +07:00
Wilfred Hughes
86f7f557b5
Add unit tests for mark_syntax
2021-09-04 23:18:07 +07:00
Wilfred Hughes
b8be456309
Don't return empty spans when splitting comments on word boundaries
2021-09-04 22:59:47 +07:00
Wilfred Hughes
6664eaa243
Add a unit test for split_comment_words
2021-09-04 22:54:20 +07:00
Wilfred Hughes
fcf1b8349f
cargo fmt
2021-09-04 22:19:15 +07:00
Wilfred Hughes
90156a8d54
Updating test names to match current function name
2021-09-04 22:02:49 +07:00
Wilfred Hughes
ceb42a6ad2
Add Java test file
2021-09-04 19:04:21 +07:00
Wilfred Hughes
85f2376dbb
Add Java support
2021-09-04 18:59:16 +07:00
Wilfred Hughes
52f7d8be56
Add 'vendor/tree-sitter-java/' from commit '2efe37f92d2e6aeb25186e9da07455bb4a30163c'
...
git-subtree-dir: vendor/tree-sitter-java
git-subtree-mainline: e4b5bd4e19
git-subtree-split: 2efe37f92d
2021-09-04 18:31:31 +07:00
Wilfred Hughes
e4b5bd4e19
Remove Scheme support
...
There's no tree-sitter parser available sadly, and I eventually plan
to drop the regex parser.
2021-09-04 18:30:17 +07:00
Wilfred Hughes
be12924b24
Tweak wording
2021-09-04 18:28:12 +07:00
Wilfred Hughes
ae0ebbd3ca
Prefer jumping to the readme beginning over the top of the page
2021-09-04 17:17:05 +07:00
Wilfred Hughes
50868f09ec
Linking the logo isn't useful
2021-09-04 17:16:32 +07:00
Wilfred Hughes
809d6383ad
Document Python support
2021-09-04 17:05:11 +07:00
Wilfred Hughes
8d92590dad
Add link to crates.io too
2021-09-04 16:44:36 +07:00
Wilfred Hughes
87171399e6
Tweak alignment of badge
2021-09-04 16:39:40 +07:00
Wilfred Hughes
79a56954c3
Adding a logo
...
The font used is Fontdiner Swanky, under the Apache license and
available on Google fonts.
2021-09-04 16:39:08 +07:00
Wilfred Hughes
0141a348b6
Add codecov badge
2021-09-04 16:07:05 +07:00
Wilfred Hughes
a17542034d
Try llvm-cov for coverage
...
tarpaulin is missing coverage entirely in several files.
2021-09-04 16:00:22 +07:00
Wilfred Hughes
aee35f6921
Configure codecov to ignore rust in sample files or vendored code
2021-09-04 15:56:10 +07:00
Wilfred Hughes
768b93a501
Add action to compute test coverage
2021-09-04 15:49:20 +07:00
Wilfred Hughes
433b20ff8a
Ensure that LHS and RHS syntax nodes have different IDs
2021-09-04 11:04:30 +07:00
Wilfred Hughes
86a330c44e
Add debug logging and log stats on shortest path found
2021-09-04 10:46:51 +07:00
Wilfred Hughes
2cb1f02f62
Add todo for incorrect diffs when changing node depth
2021-08-30 21:20:24 +07:00
Wilfred Hughes
28d7b85e6b
Simplify Python example file
2021-08-30 21:20:17 +07:00
Wilfred Hughes
d00a20366f
Init info in AST when offering a debug view
2021-08-30 19:30:21 +07:00
Wilfred Hughes
974655aea8
Add a test file that shows how Python diffing is currently broken
2021-08-29 23:59:24 +07:00
Wilfred Hughes
d1354c7174
Use a single-column display when whole files are added or removed
2021-08-29 23:42:59 +07:00
Wilfred Hughes
d4121b6c0e
Clarify motivations in comment
2021-08-29 23:30:59 +07:00
Wilfred Hughes
6d270d8206
Add basic python parsing support
2021-08-29 22:33:30 +07:00
Wilfred Hughes
f2b6f32325
Add 'vendor/tree-sitter-python/' from commit 'd6210ceab11e8d812d4ab59c07c81458ec6e5184'
...
git-subtree-dir: vendor/tree-sitter-python
git-subtree-mainline: cc93976969
git-subtree-split: d6210ceab1
2021-08-29 22:22:12 +07:00
Wilfred Hughes
cc93976969
Handle SIGPIPE
...
Based on the sample code in
https://stackoverflow.com/a/65760807/509706
Closes #28
2021-08-29 16:50:05 +07:00
Wilfred Hughes
475eb804ab
Clariy known issues in README
2021-08-29 15:28:38 +07:00