Commit Graph

13620 Commits (3e5783c2a78f316bfb15ccc87f8504e1c170a935)
 

Author SHA1 Message Date
Wilfred Hughes 3e5783c2a7 Treat --sort-paths as a flag option 2023-11-24 01:11:26 +07:00
Wilfred Hughes 4c6336fe33 Document change to directory diffing 2023-11-24 01:03:41 +07:00
Wilfred Hughes 6eeb86addc Use a newer version of the ignore crate 2023-11-24 01:01:21 +07:00
Nimrod Kor e9a8fda9cb
Skip dirs specified in gitignore (#574)
Take ignored dirs into consideration when calculating diff

Co-authored-by: Nimrod <nimrod@getbaz.com>
2023-11-24 00:48:55 +07:00
yusancky 1c0074f7ba
Update Chinese translation of manual (#594)
* Translate fossil.md

* Update translation of 2 files

* Update translation of usage.md

* Update tricky_cases.md
2023-11-24 00:48:05 +07:00
Milan Damen a8d6253509
Sort by path before outputting directory diff so that the order is always the same (#593)
* Sort by path before outputting directory diff so that the order is always the same

* Added feature flag --sort-paths (DFT_SORT_PATHS) to enable/disable sorting paths when diffing directory (default disabled)
2023-11-20 10:24:35 +07:00
Wilfred Hughes 1ec868e1df Update to latest line-numbers 2023-11-19 13:11:07 +07:00
Wilfred Hughes 1dbcd08a90 cargo fmt 2023-11-19 13:10:41 +07:00
Wilfred Hughes 8fd79c2885 Remove unused content length calculations 2023-11-18 17:31:40 +07:00
Wilfred Hughes fe62cf4cf5 Don't ignore novel blank lines
Fixes #575
2023-11-18 17:27:41 +07:00
Wilfred Hughes 1138a4623d Remove unused commit_hash struct field 2023-11-18 16:46:13 +07:00
Wilfred Hughes 4c387e4cfe Remove unused struct field 2023-11-18 16:46:13 +07:00
Wilfred Hughes f2b3b34bec Use pub(crate) everywhere for visibility
This isn't strictly necessary since difftastic is a binary-only
crate. However, it improves compiler warnings (see next commit) and
potentially helps future changes to make difftastic available as a
library.
2023-11-18 16:46:13 +07:00
Wilfred Hughes 60d0f61cbd Define a separate words module 2023-11-18 16:46:13 +07:00
Wilfred Hughes 635e62c19b Support .snap files
Closes #571
2023-11-18 14:50:54 +07:00
Wilfred Hughes 2e415f687d cargo fmt 2023-11-11 20:57:41 +07:00
Wilfred Hughes 142144e484 Clarify doc comment 2023-11-11 11:16:52 +07:00
Wilfred Hughes 27b14ae4c7 Clarify probably_punctuation 2023-11-11 11:14:49 +07:00
Wilfred Hughes 7321f663dc Enable some more clippy warnings 2023-11-11 10:48:22 +07:00
Wilfred Hughes 848984d482 Silence some clippy warnings 2023-11-11 10:47:26 +07:00
Wilfred Hughes 994dc95d96 Fix regex and memchr dependencies for rust 1.60 2023-10-31 21:16:00 +07:00
Wilfred Hughes f4af58524e Pin is-terminal for MSRV 2023-10-31 21:07:04 +07:00
Wilfred Hughes 74ee99b5ea Bump regex version 2023-10-31 16:45:54 +07:00
Wilfred Hughes 4284c3578a Increase MSRV to 1.60 2023-10-31 16:34:59 +07:00
Wilfred Hughes debadb64f2 Update to latest pretty_env_logger 2023-10-31 16:32:42 +07:00
Wilfred Hughes ca7cce01a4 Update to latest crossterm 2023-10-31 16:06:30 +07:00
Wilfred Hughes 778a6bee9a Flatten nullable types in Kotlin
Workaround for #589 and #411
2023-10-26 08:56:37 +07:00
Wilfred Hughes 8400000b3b Merge commit '494fb7644a9d2bbe4c7a0c5db2ef94d2aad6b0d8' 2023-10-26 08:46:53 +07:00
Vladimir Makaev 494fb7644a
Merge pull request #104 from reddaly/reddaly/value-classes
Add value class support.
2023-10-24 23:46:40 +07:00
Wilfred Hughes 21ed3ec48b Add missing environment variable for --skip-unchanged
Fixes #581
2023-10-13 08:41:38 +07:00
Wilfred Hughes dfe48a29e1 Format bytes counts in logging in a human-friendly manner 2023-10-11 20:30:01 +07:00
Wilfred Hughes 69060fd617 Document SCSS support 2023-10-11 20:00:44 +07:00
Wilfred Hughes 81714c17ce
Merge pull request #573 from brneor/scss
Add Scss parser
2023-10-11 08:57:58 +07:00
Red Daly 80834a1515 Add value class support.
Value class syntax is similar to data class syntax and is described here:
https://kotlinlang.org/docs/inline-classes.html.

Fixes https://github.com/fwcd/tree-sitter-kotlin/issues/102
2023-10-10 09:02:12 +07:00
Wilfred Hughes 67dbf0e962 Add --strip-cr
Closes #486
2023-10-10 08:36:57 +07:00
Wilfred Hughes b0dac91e50 Roll version 2023-10-08 20:07:24 +07:00
Wilfred Hughes b07e5198b5 Remove prebuilt musl binaries in release config 2023-10-08 15:40:39 +07:00
Wilfred Hughes 6ac7fd01a4 Revert "Enable the parallel feature on the cc crate"
This reverts commit 71bf6b6a97.

Using the parallel feature on cc requires Rust 1.61 or higher, see
https://github.com/rust-lang/cc-rs/pull/849
2023-10-08 15:33:33 +07:00
Wilfred Hughes ab1966b7d2 Merge commit '3fef30de8aee74600f25ec2e319b62a1a870d51e'
Update JSON parser. This allows multiple items, so JSONL is no longer
a parse error.

Fixes #528
2023-10-07 10:47:05 +07:00
fwcd 5baa0fe228
Merge pull request #95 from amaanq/conflicts
fix: remove unnecessary conflicts
2023-10-06 13:00:16 +07:00
fwcd ea3c8b5126 Bump version to 0.3.2 2023-10-06 12:44:20 +07:00
fwcd be65fd6952
Merge pull request #99 from fwcd/build-wasm-ci
Build WASM binary in normal build workflow
2023-10-06 12:41:33 +07:00
fwcd 9c5cbfaf2f Install emscripten 2.0.17 in CI
As per https://github.com/fwcd/tree-sitter-kotlin/issues/98#issuecomment-1743758082
2023-10-06 11:03:40 +07:00
fwcd 14837d2880 Build WASM binary in normal build workflow too 2023-10-06 11:00:11 +07:00
Wilfred Hughes 71bf6b6a97 Enable the parallel feature on the cc crate
This doesn't seem to help much (libraries are already built in
parallel), but it doesn't hurt.
2023-10-05 00:49:15 +07:00
Amaan Qureshi 3fef30de8a ci: fix windows 2023-10-04 21:46:34 +07:00
Amaan Qureshi 2036eff6d3 0.20.1 2023-10-04 21:42:20 +07:00
Amaan Qureshi ea01558a00 ci: update CI action, add lint and publish actions 2023-10-04 21:42:13 +07:00
Amaan Qureshi bb87e1c574 chore: update manifests 2023-10-04 21:42:13 +07:00
Amaan Qureshi 926c6e6566 feat: add and apply eslint formatting 2023-10-04 21:36:47 +07:00