Commit Graph

189 Commits (0e4723cf0ebe513fc7ee83bdc77ee5cd0e66fd43)

Author SHA1 Message Date
Wilfred Hughes 345a88fe53 Support - as a CLI argument
Fixes #389
2022-09-24 17:23:47 +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 ba6d73bcf4 Document Hare in manual and changelog 2022-09-15 09:39:41 +07:00
Wilfred Hughes 4319a9db04 Almost 40 languages now! 2022-09-12 23:14:39 +07:00
Yuya Nishihara 84f0b25fb6 Add support for QML
QML is a UI language, and its syntax is basically JSON-like structure
+ JavaScript. The tree-sitter parser is named after the upstream grammar
file qmljs.g, but the canonical language name is QML. So I choose Qml as
the Language enum.

https://doc.qt.io/qt-6/qmlapplications.html
2022-09-10 11:38:35 +07:00
Wilfred Hughes 4c9a12a905 Clarify position symbols in diff diagrams in manual 2022-09-05 17:20:13 +07:00
Wilfred Hughes 7422cb8f2e Document nested sliders case in manual 2022-09-05 15:06:10 +07:00
Wilfred Hughes a9866e1187 Mention --list-languages in the manual 2022-09-02 12:58:36 +07:00
Wilfred Hughes 659f2dd6bd Add support for Makefiles 2022-08-28 16:26:01 +07:00
Wilfred Hughes ae799f39d9 Document environment variables in manual 2022-08-27 17:53:18 +07:00
Wilfred Hughes 734a638ca2 Difftastic uses several factors to detect the language 2022-08-27 17:30:22 +07:00
Wilfred Hughes 515932151f Merge branch 'cmake' 2022-08-20 18:36:07 +07:00
Wilfred Hughes bbdc324b7f Add CMake support
Fixes #333
2022-08-20 18:32:32 +07:00
Wilfred Hughes eb0817468e Update manual for rustc bump 2022-08-12 21:51:34 +07:00
Wilfred Hughes 5d93efa51a Document Elm support in the manual and changelog
This was added in 0.26.
2022-08-02 09:15:11 +07:00
Wilfred Hughes b9f048e87e Add newlines for clarity 2022-07-21 00:45:37 +07:00
Wilfred Hughes 8547987830 Add Hacklang support 2022-07-11 22:13:37 +07:00
Wilfred Hughes e8865905b7 Mention SQL in the manual 2022-07-11 19:28:13 +07:00
Wilfred Hughes 75fe85017b Add Julia to languages table 2022-07-04 22:44:36 +07:00
Wilfred Hughes 5fcd778503 Clarify wording for adding syntax highlighting 2022-07-04 19:16:31 +07:00
Benjamin Manns 99813e7ff0 Add entry to adding_a_parser.md about sliders 2022-07-01 12:23:36 +07:00
Benjamin Manns d131ae1d35 Add HTML parser 2022-07-01 12:23:20 +07:00
Wilfred Hughes 43a03d2939 Tweak slogan to clarify that difftastic understands structure
"Understands syntax" is sometimes confused with syntax highlighting.
2022-05-23 23:39:15 +07:00
Wilfred Hughes 6970b443b0 Document MIME database configuration and paths 2022-05-19 23:19:54 +07:00
Wilfred Hughes 8e48c303dc Clarify which manual pages are focused on internals 2022-05-09 20:27:33 +07:00
Wilfred Hughes 1ae5404dbd Treat languages supported as a top-level manual section 2022-05-08 13:12:03 +07:00
Seokchan Sean Ahn b9244aa348 Update getting_started.md 2022-05-08 13:07:24 +07:00
Seokchan Sean Ahn 7fa0a2e830 Add homebrew installation guide 2022-05-08 13:07:24 +07:00
cherryblossom defc084637
Add Elvish support
Add support for [Elvish](https://elv.sh).
2022-05-07 20:12:43 +07:00
cherryblossom b87d6c99f7
Add Swift support 2022-04-26 17:08:23 +07:00
Wilfred Hughes f7c09510a1 HCL: document and add more file extensions 2022-04-24 20:21:10 +07:00
Wilfred Hughes bfcd4cc88a Add docs and syntax highlighting for Perl 2022-04-23 10:44:52 +07:00
Wilfred Hughes 80429e9697 Include cargo version in the generated manual 2022-04-21 00:31:06 +07:00
Wilfred Hughes d12c19a99a Link to the relevant tree-sitter-rust branch 2022-04-17 19:11:49 +07:00
Wilfred Hughes 3ba0a6808a Rewrite manual introduction page
Fixes #249
2022-04-16 17:16:29 +07:00
Wilfred Hughes abc1adf11c Mention --skip-unchanged 2022-04-16 16:31:13 +07:00
Wilfred Hughes 607a05a0a5 Add GitHub link to manual header 2022-04-16 13:44:01 +07:00
Wilfred Hughes b6e554f5b6 Don't provide copy buttons on code samples
They're rarely useful on the examples on the manual, which often
include command names, output, and even dollar signs.
2022-04-16 13:33:59 +07:00
Wilfred Hughes 68f90de5c0 Use colour to show desired diff result in case studies 2022-04-15 22:40:47 +07:00
Wilfred Hughes a6b4940d09 Rename parser page to focus on why it's relevant to users 2022-04-15 19:05:08 +07:00
Wilfred Hughes 10fa9f4982 Split programming languages and structured text parser tables 2022-04-15 09:35:31 +07:00
Wilfred Hughes dbed43e5e4 Move vendoring to a separate page in the manual 2022-04-15 09:33:20 +07:00
Wilfred Hughes e9d1f93848 Add TOML to language list 2022-04-14 21:49:06 +07:00
Wilfred Hughes 18b1204b3a Rename Getting Started to Installation in the manual 2022-04-14 21:26:36 +07:00
Wilfred Hughes 6b24e28c28 Add support for TOML 2022-04-14 21:21:36 +07:00
Wilfred Hughes 059fc824ff Add Kotlin support
Closes #220
2022-04-14 00:21:29 +07:00
Wilfred Hughes cbd93bc2ea Update output examples for --dump-ts 2022-04-14 00:02:22 +07:00
Wilfred Hughes cf2a8544d0 Separate usage from installation in manual
Also document language overriding.
2022-04-10 16:18:19 +07:00
Wilfred Hughes 8dd639d4d4 Mention GitHub releases in manual 2022-04-10 16:09:28 +07:00
Wilfred Hughes b4afa6a80e Mention CC and CXX env vars when building
Fixes #244
2022-04-09 15:56:06 +07:00
Wilfred Hughes 053de5acbe Update to Clojure parser with separate symbol positions
See discussion in https://github.com/sogaiu/tree-sitter-clojure/issues/21
2022-04-09 12:41:49 +07:00
Wilfred Hughes 0c1e539373 Update CHANGELOG and manual for new languages 2022-04-03 22:10:09 +07:00
Wilfred Hughes 9245aada8f Merge remote-tracking branch 'alexmanno/add_yaml_support'
Closes #208
2022-04-03 22:08:44 +07:00
Wilfred Hughes 03b8a4cb5a Update changelog and parser docs for recent additions 2022-04-02 17:21:39 +07:00
Wilfred Hughes 9606afad46
Merge pull request #218 from Andoryuuta/zig-support
Add Zig support
2022-04-02 17:08:13 +07:00
Wilfred Hughes 1df4971deb Grammar fix in manual 2022-04-02 16:12:13 +07:00
Wilfred Hughes 16d5d2350d Clarify wording 2022-04-01 09:30:07 +07:00
Wilfred Hughes 1f8b6fe377 Mention the minimum GCC version following #187 2022-04-01 09:24:16 +07:00
Andrew Gutekanst 82071d70c1 Merge upstream changes and resolve conflict 2022-03-31 12:42:57 +07:00
Alessandro Manno f0ea7dc44e
Merge branch 'master' into add_yaml_support
# Conflicts:
#	README.md
2022-03-31 11:23:15 +07:00
Wilfred Hughes 8d44b2476a Expand 'Adding a parser' as a separate chapter in the manual 2022-03-30 23:58:50 +07:00
Wilfred Hughes c4c05fdde5 Prefer a single language list, in the manual
It's easy for these to get out of sync.
2022-03-30 22:50:17 +07:00
Wilfred Hughes e653b77194 Hack is not currently supported 2022-03-30 22:46:40 +07:00
Andrew Gutekanst 6075f70a84 Update documentation to include Zig 2022-03-30 23:39:01 +07:00
Alessandro Manno ffddaa645e
Added yaml support 2022-03-30 12:43:01 +07:00
Wilfred Hughes 16ecf15867 Mention prebuilt packages and expand build instructions
Fixes #202
2022-03-29 23:20:22 +07:00
Wilfred Hughes ecdf993ff1 Add support for Nix
Closes #196
2022-03-29 22:46:09 +07:00
Jafar eb29b824c3
Merge branch 'master' into pr-add_lua_parser 2022-03-30 06:23:20 +07:00
JafarAbdi b850d41fa5 Add lua support 2022-03-30 06:21:10 +07:00
Wilfred Hughes 646ab39cbb Mention that Janet is supported 2022-03-29 19:50:25 +07:00
Felix Yan d92cb9633f
Correct a typo in tricky_cases.md 2022-03-30 02:23:07 +07:00
Wilfred Hughes 29050f00ce Configure language and fix highlighting for dart 2022-03-20 11:36:12 +07:00
Ömer Sinan Ağacan a2488f984c Add support for Dart 2022-03-20 11:07:32 +07:00
Wilfred Hughes ed0bde6b91 Adding support for PHP 2022-03-09 23:52:31 +07:00
Wilfred Hughes 2d4ec0a4be Bump minimum Rust version to 1.56 for rpds support 2022-03-05 10:42:52 +07:00
Wilfred Hughes 78d4d59c0c Documenting some recently found tricky cases 2022-02-25 00:43:18 +07:00
Wilfred Hughes b0e835feb6 Document the release script 2022-02-20 16:48:58 +07:00
Wilfred Hughes 7291900b56 Remove Hack parser
Waiting on upstream to merge my changes first.
2022-02-07 21:43:37 +07:00
Wilfred Hughes 80ed279bb5 Run cargo-flamegraph with debug symbols 2022-02-06 14:39:55 +07:00
Wilfred Hughes 9e48b64d2c Add a --missing-as-empty flag to allow non-existent paths
By default, difftastic now errors if paths don't exist.
2022-02-03 21:26:51 +07:00
Wilfred Hughes 3400a97a9d Add Scala to introduction in manual 2022-02-02 23:24:50 +07:00
Wilfred Hughes 43605bd5e8 Add support for Hack 2022-02-02 23:22:15 +07:00
Wilfred Hughes 6aa7d59540 Expand and improve glossary 2022-01-30 14:22:42 +07:00
Wilfred Hughes af52cc060f Suggest a pager and an alias with difftool
Suggested in #29
2022-01-24 09:29:18 +07:00
Wilfred Hughes 4e33a0c4bc Add a benchmarking example of a larger file 2022-01-22 18:59:32 +07:00
Wilfred Hughes fb680ccdb3 Document diffing directories
Also add sample directories to exercise this.

Helps with #98.
2022-01-22 18:58:04 +07:00
Wilfred Hughes 68d60f076c Fix wording in manual 2022-01-22 11:26:55 +07:00
Hugo van Rijswijk 3eee1e32db Add scala to upstream_parsers.md 2022-01-19 09:09:19 +07:00
Wilfred Hughes d68b6d5909 Expanding related projects page in manual 2022-01-10 16:37:23 +07:00
Wilfred Hughes 79281ea98d Add glossary
Closes #87
2022-01-09 12:06:20 +07:00
Wilfred Hughes 6257bce826 Document the string literal problem
Closes #69
2021-12-30 09:58:56 +07:00
Wilfred Hughes 9a8441ecbf Document blank line challenges
See #69
2021-12-30 09:47:44 +07:00
Wilfred Hughes 2d16d4aec4 Clarify comment prefix/suffix matching 2021-12-30 09:39:00 +07:00
Wilfred Hughes 24bbff1bbe Improve headings 2021-12-30 09:37:16 +07:00
Wilfred Hughes b5aaf1f2f2 Document punctuation from autoformatter challenge
See #69
2021-12-30 09:35:34 +07:00
Wilfred Hughes 0227104ea8 We're now on elixir-lang's parser 2021-12-29 10:36:04 +07:00
Wilfred Hughes 2dde483a16 Update which files need changing for a new parser 2021-12-28 10:24:38 +07:00
Wilfred Hughes 06ad384243 Document the best we can do for mercurial log viewing
Closes #61
2021-12-17 09:46:50 +07:00
Wilfred Hughes efafd817ef Reorder and polish contributing page 2021-12-17 09:39:13 +07:00
Wilfred Hughes 1fc9f3f07a Give git and mercurial their own pages in the manual 2021-12-17 09:38:09 +07:00