Commit Graph

11348 Commits (693b4c9e197e80e812bd457b7a049f95625021e9)
 

Author SHA1 Message Date
Wilfred Hughes 693b4c9e19 Consistent badge text 2022-09-28 23:21:47 +07:00
Wilfred Hughes f8c2258024 Make manual translation more prominent 2022-09-28 23:21:11 +07:00
Wilfred Hughes 7e102e1386
Merge pull request #393 from QuarticCat/master
Some optimizations
2022-09-28 23:11:57 +07:00
Wilfred Hughes b44a57733f
Merge pull request #392 from Yeegsing/translation
add a link to change the language version
2022-09-28 23:00:10 +07:00
QuarticCat b88625d09b
Further simplify stack 2022-09-28 20:07:36 +07:00
QuarticCat 3b0edb43a1
Change a RefCell in Vertex to Cell 2022-09-28 05:56:53 +07:00
QuarticCat 2c6972c1b2
Fix more clippy warnings 2022-09-28 05:47:34 +07:00
QuarticCat fa44d4cd5a
Fix the clippy::clone_double_ref warning 2022-09-28 05:36:08 +07:00
QuarticCat d48ee2dfdb
Use a faster stack impl 2022-09-28 04:08:42 +07:00
QuarticCat 06b46e9355
Enable thin-LTO 2022-09-28 00:24:18 +07:00
Eric Tao 84f65bd838
Merge branch 'Wilfred:master' into translation 2022-09-27 08:42:58 +07:00
Wilfred Hughes c638e8ab4b Factor out a file argument type 2022-09-26 09:23:25 +07:00
Wilfred Hughes 40aa103275 Remove obsolete TODO 2022-09-25 12:53:14 +07:00
Wilfred Hughes c3927fbb7b Improve error message when trying to diff a directory against a file 2022-09-25 12:35:27 +07:00
eric.tao 64fecb0ac1 add a link to change the language version 2022-09-25 15:14:45 +07:00
Wilfred Hughes 3d64da9161 Silence clippy warnings in build.rs 2022-09-24 19:40:30 +07:00
Wilfred Hughes 3bf7dea04f Fix clippy lint name 2022-09-24 19:38:46 +07:00
Wilfred Hughes 345a88fe53 Support - as a CLI argument
Fixes #389
2022-09-24 17:23:47 +07:00
Wilfred Hughes bec79cb40b Factor out a CLI file access helper function 2022-09-24 17:02:50 +07:00
Wilfred Hughes b7e95d2b1d Mention Chinese manual in changelog 2022-09-24 17:01:47 +07:00
Wilfred Hughes 62cb4573ad Spelling corrections 2022-09-23 23:20:23 +07:00
Wilfred Hughes 4c8779d61e Fix typo in Chinese manual 2022-09-23 23:13:09 +07:00
Wilfred Hughes 298a23ea5e Fix permissions on version placeholder script 2022-09-23 23:11:36 +07:00
Wilfred Hughes 78dabcabce Remove unused manual configuration item
This 'multlingual' option isn't mentioned in the mdbook docs as far as
I can see.
2022-09-23 23:08:54 +07:00
Wilfred Hughes b1fcd79da5 Configure translated manual deploy 2022-09-23 23:05:34 +07:00
Wilfred Hughes 4fa09c4cdf
Merge pull request #370 from Yeegsing/translation
manual's translation of zh-CN version
2022-09-23 22:55:43 +07:00
Wilfred Hughes ee688b43f2 --list-languages should respect --color
Fixes #387
2022-09-21 21:49:24 +07:00
Wilfred Hughes c602503dec Treat . as punctuation
Closes #388
2022-09-21 21:39:07 +07:00
Wilfred Hughes af73c27cd2 Prefer Option for converting tree-sitter nodes to difftastic nodes 2022-09-20 09:12:34 +07:00
Wilfred Hughes c67a3d339a Remove debugging code 2022-09-20 09:08:00 +07:00
Wilfred Hughes cc5580e930 cargo fmt 2022-09-20 09:07:20 +07:00
Wilfred Hughes 662b837ae3 Introduce a TreeSitterError atom kind
Starting work on #267
2022-09-19 09:47:55 +07:00
Wilfred Hughes f71ce08407 Don't assume that Windows is building on MSVC
The flag /utf-8 is supported by cl.exe, but gcc.exe interprets it as a
non-existent linker script.
2022-09-18 15:08:53 +07:00
Wilfred Hughes 17ec5de754 Next release should be 0.37 2022-09-18 15:07:31 +07:00
Wilfred Hughes 88222e83c4 Prepare for patch release with fixed Windows build 2022-09-17 23:55:00 +07:00
Wilfred Hughes d5ae17d3d5 Roll version following release 2022-09-17 20:18:59 +07:00
Wilfred Hughes 5d75d81b1e cargo fmt 2022-09-17 20:17:40 +07:00
Wilfred Hughes ba6d73bcf4 Document Hare in manual and changelog 2022-09-15 09:39:41 +07:00
Wilfred Hughes 39bd04002c
Merge pull request #369 from esawady/hare
Add Hare support
2022-09-15 09:33:07 +07:00
Wilfred Hughes cafd672cc8 Don't underline all changes in plaintext files
Fixes #371
2022-09-15 09:30:16 +07:00
Wilfred Hughes 7d849582ce Pass the detected language to the styling logic 2022-09-15 09:27:34 +07:00
Ember Sawady 7ed685ae52 Add support for Hare 2022-09-13 23:34:16 +07:00
Ember Sawady 6015c77a99 Add 'vendor/tree-sitter-hare/' from commit 'bc26a6a949f2e0d98b7bfc437d459b250900a165'
git-subtree-dir: vendor/tree-sitter-hare
git-subtree-mainline: 3c51f58d8e
git-subtree-split: bc26a6a949
2022-09-13 22:13:13 +07:00
Wilfred Hughes 3c51f58d8e Add Pascal support
Fixes #365
2022-09-13 00:05:23 +07:00
Wilfred Hughes 4c29035138 Add 'vendor/tree-sitter-pascal/' from commit '2fd40f477d3e2794af152618ccfac8d92eb72a66'
git-subtree-dir: vendor/tree-sitter-pascal
git-subtree-mainline: 4319a9db04
git-subtree-split: 2fd40f477d
2022-09-12 23:16:57 +07:00
Wilfred Hughes 4319a9db04 Almost 40 languages now! 2022-09-12 23:14:39 +07:00
Wilfred Hughes 23f6a15838 Update changelog for 888894d0f 2022-09-12 23:03:54 +07:00
Wilfred Hughes aff584af46 Don't crash when the line split boundary is on a combining character
Fixes #358
2022-09-12 23:02:20 +07:00
eric.tao e22ff2a84d zh-cn 2022-09-12 17:20:13 +07:00
Wilfred Hughes c03808537a Be defensive against extremely narrow (<10) terminal widths
Previously this would overflow.
2022-09-11 17:37:42 +07:00