Wilfred Hughes
7c5a0aec0c
Merge commit 'a03f1d2d1dfbf6f8e0fdca5f9ff030228241eb57'
2021-11-19 23:57:48 +07:00
Wilfred Hughes
153cc5eeca
Merge commit '203e239408d642be83edde8988d6e7b20a19f0e8'
2021-11-19 23:56:55 +07:00
Wilfred Hughes
f8427c6970
Merge commit 'fdeb68ac8d2bd5a78b943528bb68ceda3aade2eb'
2021-11-19 23:54:58 +07:00
Wilfred Hughes
4761f3872a
Add a command for tracking parser updates
2021-11-19 23:46:18 +07:00
Wilfred Hughes
7fdbaff6fe
Update build dependencies
2021-11-19 23:29:17 +07:00
Wilfred Hughes
7f6b8174d5
Update pretty_assertions and use consistently
2021-11-19 23:27:41 +07:00
Wilfred Hughes
9079567695
Update radix-heap
...
Upstream has had some optimisations and it saves 7% in instructions
executed for slow_before/slow_after.rs according to `perf stat`.
2021-11-19 23:20:37 +07:00
Damien Guard
d26b3dfed6
0.19.1 ( #216 )
2021-11-19 13:13:43 +07:00
Wilfred Hughes
e8f45d91b8
Roll version
2021-11-19 00:49:14 +07:00
Wilfred Hughes
440ca8d0de
Style single-line display consistently with other displays
2021-11-19 00:31:55 +07:00
Wilfred Hughes
70f384652a
Remove dead code
2021-11-19 00:29:29 +07:00
Wilfred Hughes
c2570d379c
Don't truncate long lines on single-column display
2021-11-19 00:25:18 +07:00
Wilfred Hughes
e128e64b56
Colour line numbers on full file add/remove consistent with smaller changes
2021-11-19 00:21:54 +07:00
Wilfred Hughes
5708308e55
Don't let-bind variables outside that are only used in one pattern
2021-11-19 00:17:58 +07:00
Wilfred Hughes
204b85e273
Display file header for single-column (i.e. deletion/addition) changes too
2021-11-19 00:14:57 +07:00
Wilfred Hughes
8cb321ebf6
Document logging used for debugging
2021-11-19 00:06:09 +07:00
Wilfred Hughes
7ee37868a1
Make 1-indexed display of LineNumber values explicit
...
This fixes .. (or 'missing') line numbers on boundaries, where we'd
show too few dots after 10 or 100.
2021-11-18 23:24:39 +07:00
Wilfred Hughes
b65d9d8c90
Fix formatting
2021-11-18 23:21:22 +07:00
Wilfred Hughes
e9792db333
Remove duplicated definition
2021-11-18 23:15:50 +07:00
Wilfred Hughes
e1ffa2af2a
Prefer chain over manually building a vec
2021-11-18 23:11:46 +07:00
Wilfred Hughes
90122a6d3c
Also consider matched lines when calculating which lines to show after
...
After merging hunks, we may have lines on the opposite side.
2021-11-18 23:02:10 +07:00
Wilfred Hughes
f675ce3ecc
Add regression unit test for LHS/RHS bug in previous commit
2021-11-18 22:51:01 +07:00
Douglas Creager
f1ff027722
Merge pull request #193 from aibaars/pattern-matching
...
Pattern matching
2021-11-17 13:27:49 +07:00
Arthur Baars
73750085fe
Update highlights.scm
2021-11-17 18:01:21 +07:00
Arthur Baars
2ca1233331
Update generated code
2021-11-16 21:20:43 +07:00
Arthur Baars
76cbd1bb75
Add _expression and _simple_numeric to supertypes list
2021-11-16 21:20:43 +07:00
Arthur Baars
2a98a53b45
Add supertypes for pattern rules
2021-11-16 21:20:43 +07:00
Arthur Baars
d3955c7ae5
split case / case_match
2021-11-16 21:20:43 +07:00
Arthur Baars
df3a7ca99b
Add test cases
2021-11-16 21:20:43 +07:00
Arthur Baars
f7528122d6
Make grammar rules more tree-sitter-like
2021-11-16 21:20:37 +07:00
Wilfred Hughes
09eea0b93d
Fix column width calculation due to LHS/RHS typo
...
Fixes #57
2021-11-15 22:59:02 +07:00
Arthur Baars
00d4cdc038
Add pattern matching
2021-11-15 08:45:01 +07:00
Wilfred Hughes
56d6e4d814
Don't repeat the line number columns if they're identical
2021-11-14 22:44:01 +07:00
Wilfred Hughes
579d21eeb9
Only use a single column if hunk line numbers are <= 9
2021-11-14 22:33:39 +07:00
Wilfred Hughes
9d8d37957f
Use the max opposite line when computing after context
...
Previously we'd use the maximum line of the current side, leading us
to try to access nonexistent line numbers. This occurred when diffing
old/new.jsx from sample_files/.
2021-11-14 22:24:33 +07:00
Wilfred Hughes
a5965b8292
Update screenshots for 0.12
2021-11-14 17:05:53 +07:00
Wilfred Hughes
d2f73e343c
Document newer haskell parser commit
2021-11-14 16:51:47 +07:00
Wilfred Hughes
987791253c
Merge commit 'd72f2e42c0d5ccf8e8b1c39e3642428317e8fe02'
2021-11-14 16:51:15 +07:00
Wilfred Hughes
546391e9c0
Fix subword highlighting in multiline comments
2021-11-14 16:48:55 +07:00
Wilfred Hughes
6e955793db
Tweak wording on manual intro
2021-11-14 15:29:40 +07:00
Torsten Schmits
d72f2e42c0
skip initial whitespace instead of consuming it ( #48 )
2021-11-14 23:21:37 +07:00
Wilfred Hughes
67bea22434
Rename Java sample file for consistency
2021-11-14 13:34:46 +07:00
Wilfred Hughes
9693d813d2
Document Haskell parser upgrade
2021-11-14 13:27:55 +07:00
Wilfred Hughes
36bb384b82
Merge commit '6668085e7d3dc6205a3ef27e6293988cf4a10419'
2021-11-14 13:25:34 +07:00
Wilfred Hughes
1ad04f10bb
Add a Haskell sample file
2021-11-14 13:18:58 +07:00
Wilfred Hughes
932b4ba0f1
Clarify that changed MatchedPos may be Novel or ChangedCommentPart
2021-11-14 13:13:18 +07:00
Wilfred Hughes
15b6172ed1
Remove unused function
2021-11-14 13:11:16 +07:00
Wilfred Hughes
bc96b702ba
Update screenshot repro commands
2021-11-14 13:11:08 +07:00
Wilfred Hughes
25dae40dfa
Display the file name even when there are no syntactic changes
2021-11-14 13:04:06 +07:00
Wilfred Hughes
8f0603e22b
Merge branch 'truncate_lines'
2021-11-14 13:02:56 +07:00