Commit Graph

13695 Commits (syntactic_context)
 

Author SHA1 Message Date
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
Rodolphe Blancho f502c82cda Merge remote-tracking branch 'myfork/feature/salesforce_apex_support' into feature/salesforce_apex_support 2023-10-11 09:59:09 +07:00
Rodolphe Blancho 5256d9c98e Merge branch 'master' into feature/salesforce_apex_support 2023-10-11 09:56:51 +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
Rodolphe Blancho 3c3246586b
Merge branch 'Wilfred:master' into feature/salesforce_apex_support 2023-10-06 11:42:16 +07:00
Rodolphe Blancho 05d78ca741 add support for Salesforce Apex
Apex Language documentation:
https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_dev_guide.htm

Uses https://github.com/aheber/tree-sitter-sfapex
2023-10-06 11:08:02 +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
Amaan Qureshi 1c5435cb0d chore: generate 2023-10-04 21:19:11 +07:00
Amaan Qureshi aebbb7f167 fix: number definition, tidying 2023-10-04 21:19:05 +07:00
Rodolphe Blancho b818b47091 Add 'vendored_parsers/tree-sitter-sfapex/' from commit 'a768c956b6aee72ffebb5df7f7c0b3702eaa2fbd'
git-subtree-dir: vendored_parsers/tree-sitter-sfapex
git-subtree-mainline: 1d32b477c1
git-subtree-split: a768c956b6
2023-10-05 08:37:36 +07:00
fwcd 7587b4a7f1 Add npm and crates.io badges 2023-10-02 20:33:40 +07:00