| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2015-11-20 | Unwrap match arms that are simple blocks | Marcus Klaas | -3/+1 | |
| 2015-11-19 | Use argv[0] for usage output | Steven Fackler | -1/+1 | |
| Usage messages traditionally use this as it contains the path that the user provided to run the executable (e.g. `rustfmt` instead of `/usr/local/bin/rustfmt`). | ||||
| 2015-11-15 | Add verbose mode | Seo Sanghyeon | -11/+18 | |
| 2015-11-13 | Correct some non-idiomatic code | Jan Likar | -6/+2 | |
| 2015-11-13 | Enable rustfmt to format a list of files | Jan Likar | -14/+24 | |
| Fix #580 by allowing rustfmt to accept a list of files. This also enables usage of shell wildcard expansion, although notably this does not work with cmd.exe on Windows. For example: 'rustfmt *.rs' will format all rust files in the current working directory. - Change usage text to show rustfmt will accept a list of files - Change "Using rustfmt config file: {}" message to "Using rustfmt config file {} for {}" - Change Operation::Format(PathBuf, WriteMode) to Operation::Format(Vec<PathBuf>, WriteMode) - Loop through Vec<PathBuf>, load config and call 'run' for each path | ||||
| 2015-11-09 | Check if the CWD contains a config (previously it only checked parents) | Jørn Lode | -4/+5 | |
| 2015-11-07 | Move config help to dedicated --config-help flag | Kamal Marhubi | -1/+14 | |
| The existing help output is very verbose, overflowing a 50+ line terminal. This moves the configuration options to a separate help flag to make a mistyped command less annoying! | ||||
| 2015-11-05 | fix unused variable `path` warning | Mitsutaka Mimura | -1/+1 | |
| 2015-11-03 | Address review concerns | Johann | -17/+4 | |
| 2015-11-02 | Stdin support | Johann | -6/+42 | |
| Adds support for receiving input from stdin in case no file was specified. This is useful for editor/IDE integrations and other tooling. To achieve clean output a new write-mode option called plain was added, this option is mandatory when using stdin. | ||||
| 2015-10-24 | Print configuration options once in help message | Marcus Klaas | -40/+53 | |
| 2015-10-24 | show rustfmt coverage! | Ravi Shankar | -1/+1 | |
| 2015-10-24 | Lookup rustfmt.toml file is relative from input file, not from current directory | defuz | -13/+20 | |
| 2015-10-23 | Move option parsing to crates.io-based getopts crate | Alex Crichton | -36/+40 | |
| Should help adding more options in the future as well! | ||||
| 2015-10-23 | Remove usage of many unstable features | Alex Crichton | -4/+3 | |
| This removes usage of: * PathExt * split_last * split_last_mut * catch_panic The catch_panic one was a little tricky as the ident interner needed to be cloned across threads (a little unsafely), but it should otherwise be good to go. | ||||
| 2015-10-23 | Use the log/env_logger crates from crates.io | Alex Crichton | -0/+3 | |
| 2015-09-29 | Refactoring configuration | Scyptnex | -7/+1 | |
| 2015-09-18 | Refactor test code | Marcus Klaas | -2/+5 | |
| No longer use callbacks or thread::catch_panic; reduce stdout spew; guard against rustfmt breaking the column limit. | ||||
| 2015-09-14 | Changed ConfigType trait to only return a string of variants, rather than a vec | Aaron Lobb | -8/+2 | |
| 2015-09-14 | Merged config imports | Aaron Lobb | -2/+1 | |
| 2015-09-14 | Fixed https://github.com/nrc/rustfmt/issues/291; added output to --help ↵ | Aaron Lobb | -0/+11 | |
| runtime option with possible config values | ||||
| 2015-09-11 | Break chains that don't start with path expressions | Marcus Klaas | -2/+3 | |
| 2015-09-10 | Add diff write mode https://github.com/nrc/rustfmt/issues/261 | Sinh Pham | -1/+1 | |
| 2015-09-04 | fix outdated help text | Christoph Burgdorf | -1/+1 | |
| 2015-08-28 | Simplify match expression | Mika Attila | -1/+1 | |
| 2015-08-28 | Don't pass --write-mode argument to rustc | Mika Attila | -14/+12 | |
| Fixes regression introduced by 660f41865b43f38d68b649328c04b1702e37655e | ||||
| 2015-08-28 | Only exit after running all destructors and flushing stdout | Mika Attila | -18/+42 | |
| 2015-08-26 | Fix usage of the tool. Provide -h and --help | Alex HotShot Newman | -4/+22 | |
| 2015-08-25 | Add project-specific configuration file support | Simon Bernier St-Pierre | -10/+43 | |
| 2015-08-19 | Add an option to forgo backups | Marcus Klaas | -2/+26 | |
| 2015-08-18 | Provide information about default.toml | Alex Newman | -1/+3 | |
| 2015-06-22 | Rustup | Marcus Klaas | -23/+1 | |
| 2015-05-23 | Use config file for constants | Nick Cameron | -2/+10 | |
| 2015-05-12 | Format required methods on traits | Marcus Klaas | -0/+1 | |
| 2015-05-01 | split main function and test function into their own files | Oliver Schneider | -0/+42 | |
| small modifications to make executable and test compile properly | ||||
