]>
git.lizzy.rs Git - rust.git/log
Marcus Klaas [Thu, 28 May 2015 17:23:07 +0000 (19:23 +0200)]
implement framework for system tests
Nick Cameron [Fri, 5 Jun 2015 00:07:58 +0000 (12:07 +1200)]
Merge pull request #94 from marcusklaas/fixes
Fix two TODO items
Marcus Klaas [Thu, 4 Jun 2015 13:05:50 +0000 (15:05 +0200)]
Remove duplicate statement in make_comments_for_list
Marcus Klaas [Thu, 4 Jun 2015 12:08:32 +0000 (14:08 +0200)]
Add macro for enum implementations of Decodable
Marcus Klaas [Thu, 4 Jun 2015 11:47:35 +0000 (13:47 +0200)]
Move vertical mode override to write_list
Nick Cameron [Tue, 2 Jun 2015 21:32:14 +0000 (09:32 +1200)]
Merge pull request #89 from marcusklaas/enums
Implement basic enum formatting
Marcus Klaas [Fri, 29 May 2015 10:41:26 +0000 (12:41 +0200)]
Implement basic enum formatting
Nick Cameron [Tue, 2 Jun 2015 00:30:46 +0000 (12:30 +1200)]
Highlight that we require nightly in the README
Nick Cameron [Sun, 31 May 2015 08:11:10 +0000 (20:11 +1200)]
Merge pull request #85 from cassiersg/tuple
Implement reformat of tuple litterals
Gaëtan Cassiers [Sat, 30 May 2015 14:52:46 +0000 (16:52 +0200)]
Handle tuples of length 1
Gaëtan Cassiers [Sat, 30 May 2015 14:44:07 +0000 (16:44 +0200)]
fix : width available
Nick Cameron [Thu, 28 May 2015 23:59:37 +0000 (11:59 +1200)]
Merge pull request #81 from tdudziak/issue_31
Optionally put the opening paren on the previous line for args (Issue #31)
Gaëtan Cassiers [Mon, 25 May 2015 20:14:05 +0000 (22:14 +0200)]
Implement reformat of tuple litterals
Tomasz Dudziak [Tue, 26 May 2015 07:31:16 +0000 (09:31 +0200)]
Use config!(tab_spaces) instead of hardcoded `4`.
Nick Cameron [Mon, 25 May 2015 20:18:06 +0000 (08:18 +1200)]
Merge pull request #80 from cassiersg/master
Fix #79
Tomasz Dudziak [Mon, 25 May 2015 19:29:02 +0000 (21:29 +0200)]
Clarify indent calcs in `compute_budget_for_args`
Tomasz Dudziak [Mon, 25 May 2015 14:02:38 +0000 (16:02 +0200)]
Optionally put the opening paren on the previous line for args
Gaëtan Cassiers [Mon, 25 May 2015 11:25:06 +0000 (13:25 +0200)]
add test for const fn
Gaëtan Cassiers [Mon, 25 May 2015 11:21:29 +0000 (13:21 +0200)]
Fix #79
Nick Cameron [Mon, 25 May 2015 07:16:25 +0000 (19:16 +1200)]
Merge pull request #75 from nrc/structs
Structs
Nick Cameron [Mon, 25 May 2015 07:11:53 +0000 (19:11 +1200)]
Struct literals
Nick Cameron [Mon, 25 May 2015 05:14:39 +0000 (17:14 +1200)]
Pref for comma on the last field
Nick Cameron [Sun, 24 May 2015 23:03:26 +0000 (11:03 +1200)]
Format structs
Nick Cameron [Sun, 24 May 2015 21:57:20 +0000 (09:57 +1200)]
Merge pull request #74 from cassiersg/paren-expr
Add reformating for parentheses
Gaëtan Cassiers [Sun, 24 May 2015 21:46:02 +0000 (23:46 +0200)]
Avoid dangling )
Gaëtan Cassiers [Sun, 24 May 2015 21:35:40 +0000 (23:35 +0200)]
syle correction
Gaëtan Cassiers [Sun, 24 May 2015 20:07:18 +0000 (22:07 +0200)]
Add idem test for paren
Gaëtan Cassiers [Sun, 24 May 2015 17:57:13 +0000 (19:57 +0200)]
Add rewrite for ExprParen
Nick Cameron [Sat, 23 May 2015 10:25:36 +0000 (22:25 +1200)]
Add config.rs which I forgot for the last commit
Closes #73
Nick Cameron [Sat, 23 May 2015 05:02:59 +0000 (17:02 +1200)]
Use config file for constants
Nick Cameron [Sat, 23 May 2015 03:28:41 +0000 (15:28 +1200)]
Add default.toml and modify the build system for it
Nick Cameron [Fri, 22 May 2015 03:50:58 +0000 (15:50 +1200)]
Make travis use Rust nightly
Nick Cameron [Wed, 20 May 2015 21:59:17 +0000 (09:59 +1200)]
Merge pull request #71 from posix4e/master
Remove old box syntax
Alex HotShot Newman [Wed, 20 May 2015 18:20:15 +0000 (11:20 -0700)]
Remove old box syntax
Nick Cameron [Sun, 17 May 2015 11:39:32 +0000 (23:39 +1200)]
Merge pull request #70 from defyrlt/test_for_53
Added regression test for #53.
defyrlt [Sun, 17 May 2015 11:35:11 +0000 (14:35 +0300)]
Added regression test for #53.
Nick Cameron [Wed, 13 May 2015 01:03:11 +0000 (13:03 +1200)]
Merge pull request #67 from marcusklaas/test-diff
Show diffs for failing tests
Nick Cameron [Tue, 12 May 2015 01:08:11 +0000 (13:08 +1200)]
Merge pull request #65 from marcusklaas/required-methods
Format required methods on traits
Marcus Klaas [Sun, 3 May 2015 22:12:39 +0000 (00:12 +0200)]
Format required methods on traits
Marcus Klaas [Tue, 12 May 2015 00:16:46 +0000 (02:16 +0200)]
Show diffs for failing tests
Nick Cameron [Mon, 11 May 2015 22:33:42 +0000 (10:33 +1200)]
Merge pull request #48 from oli-obk/newlines
handle windows newlines
Nick Cameron [Mon, 11 May 2015 22:31:51 +0000 (10:31 +1200)]
Merge pull request #61 from oli-obk/master
a panic->Result conversion approach to idem test
Nick Cameron [Mon, 11 May 2015 22:06:12 +0000 (10:06 +1200)]
Merge branch 'mattyhall-single-import'
Nick Cameron [Mon, 11 May 2015 22:03:25 +0000 (10:03 +1200)]
Merge branch 'single-import' of https://github.com/mattyhall/rustfmt into mattyhall-single-import
Rebased:
src/imports.rs
Nick Cameron [Mon, 11 May 2015 21:39:22 +0000 (09:39 +1200)]
Merge pull request #68 from marcusklaas/import-breaks
Keep import lists on a single line when possible
Nick Cameron [Mon, 11 May 2015 20:23:19 +0000 (08:23 +1200)]
Merge pull request #69 from oli-obk/patch-1
typo
Oliver Schneider [Mon, 11 May 2015 13:05:12 +0000 (15:05 +0200)]
typo
Oliver Schneider [Tue, 5 May 2015 14:56:29 +0000 (16:56 +0200)]
don't create a thread just for panic-isolation
Marcus Klaas [Mon, 4 May 2015 15:16:51 +0000 (17:16 +0200)]
Keep import lists on a single line when possible
Oliver Schneider [Mon, 4 May 2015 12:32:48 +0000 (14:32 +0200)]
prevent bogus whitespace error messages due to \r
Oliver Schneider [Thu, 30 Apr 2015 11:13:20 +0000 (13:13 +0200)]
handle windows newlines
Oliver Schneider [Mon, 4 May 2015 09:00:14 +0000 (11:00 +0200)]
addressed comments
Oliver Schneider [Mon, 4 May 2015 08:09:41 +0000 (10:09 +0200)]
rustfmt dislikes tabs and some newlines
Nick Cameron [Mon, 4 May 2015 07:28:21 +0000 (19:28 +1200)]
Merge pull request #62 from marcusklaas/use-indent
Correctly indent use items and functions
Marcus Klaas [Sat, 2 May 2015 17:12:16 +0000 (19:12 +0200)]
Correctly indent use items and functions
Nick Cameron [Sat, 2 May 2015 23:49:36 +0000 (11:49 +1200)]
Merge pull request #63 from nicholasbishop/bishop-missing-verb
Fix a missing word in the README
Nicholas Bishop [Sat, 2 May 2015 23:15:00 +0000 (19:15 -0400)]
Fix a missing word in the README
Matthew Hall [Fri, 1 May 2015 16:27:54 +0000 (17:27 +0100)]
Change import lists with one item to single import
Changes lists such as ``use std::{fmt}`` to a form without a list, eg
``use std::fmt``.
defyrlt [Fri, 1 May 2015 11:08:22 +0000 (14:08 +0300)]
Resolved #56 -- `mut` was eaten out of `mut self` in fn args.
Oliver Schneider [Sat, 2 May 2015 15:09:33 +0000 (17:09 +0200)]
forgot newline at eof
rustfmt found it
Oliver Schneider [Sat, 2 May 2015 14:56:46 +0000 (16:56 +0200)]
pass single filename instead of full argument list to idem_check
Oliver Schneider [Sat, 2 May 2015 14:50:33 +0000 (16:50 +0200)]
first step to a non-panicking idem_check function
Nick Cameron [Sat, 2 May 2015 06:47:27 +0000 (18:47 +1200)]
Merge pull request #60 from oli-obk/master
babysteps towards #51
Oliver Schneider [Fri, 1 May 2015 16:43:36 +0000 (18:43 +0200)]
split main function and test function into their own files
small modifications to make executable and test compile properly
Oliver Schneider [Fri, 1 May 2015 16:40:05 +0000 (18:40 +0200)]
main.rs -> lib.rs
Nick Cameron [Fri, 1 May 2015 18:59:00 +0000 (06:59 +1200)]
Merge pull request #58 from Stebalien/borrow
Trust the borrow checker.
Steven Allen [Fri, 1 May 2015 16:17:14 +0000 (12:17 -0400)]
Trust the borrow checker.
Nick Cameron [Fri, 1 May 2015 11:16:54 +0000 (23:16 +1200)]
Merge pull request #57 from defyrlt/issue_56
`mut` was eaten out of `mut self` in fn args.
defyrlt [Fri, 1 May 2015 11:08:22 +0000 (14:08 +0300)]
Resolved #56 -- `mut` was eaten out of `mut self` in fn args.
Nick Cameron [Fri, 1 May 2015 02:58:53 +0000 (14:58 +1200)]
Merge pull request #55 from tedsta/master
Spaces around in type bounds
Theodore DeRego [Fri, 1 May 2015 02:52:11 +0000 (16:52 -1000)]
Spaces around in type bounds
Nick Cameron [Thu, 30 Apr 2015 20:22:13 +0000 (08:22 +1200)]
Merge pull request #44 from tbu-/pr_bin
Rename `src/mod.rs` to `src/main.rs` to adhere to the standard crate format
Nick Cameron [Thu, 30 Apr 2015 20:21:39 +0000 (08:21 +1200)]
Merge pull request #50 from aepsil0n/patch-1
Add a missing "not" to readme
Nick Cameron [Thu, 30 Apr 2015 19:18:57 +0000 (07:18 +1200)]
Merge pull request #49 from oli-obk/gitignore
add gitignore
Tobias Bucher [Thu, 30 Apr 2015 08:26:59 +0000 (10:26 +0200)]
Rename `src/mod.rs` to `src/main.rs` to adhere to the standard crate format
Eduard Bopp [Thu, 30 Apr 2015 11:26:51 +0000 (13:26 +0200)]
Add a missing "not" to readme
This is probably how it was meant. The imaginary HIR is pretty much equivalent to semantics, as far as I understand.
Oliver Schneider [Thu, 30 Apr 2015 11:01:35 +0000 (13:01 +0200)]
add gitignore
Nick Cameron [Thu, 30 Apr 2015 09:13:36 +0000 (21:13 +1200)]
Merge pull request #43 from tbu-/pr_nostaticmut
Use `AtomicUsize` instead of `static mut` that require `unsafe`
Nick Cameron [Thu, 30 Apr 2015 09:10:54 +0000 (21:10 +1200)]
Merge pull request #45 from tbu-/pr_toowned
Change `to_string` to `to_owned` when it just creates a `String` from a `&str`
Nick Cameron [Thu, 30 Apr 2015 09:10:25 +0000 (21:10 +1200)]
Merge pull request #46 from tbu-/pr_testwarnings
Fix warnings in `cargo test`
Nick Cameron [Thu, 30 Apr 2015 09:10:03 +0000 (21:10 +1200)]
Merge pull request #47 from tbu-/pr_cargolock
Add `Cargo.lock` file, because this application is a program
Tobias Bucher [Thu, 30 Apr 2015 08:40:37 +0000 (10:40 +0200)]
Use `AtomicUsize` instead of `static mut` that require `unsafe`
Tobias Bucher [Thu, 30 Apr 2015 08:31:42 +0000 (10:31 +0200)]
Change `to_string` to `to_owned` when it just creates a `String` from a `&str`
This means that it doesn't have to go through the formatting hierarchy and can
just immediately reserve enough memory.
Nick Cameron [Thu, 30 Apr 2015 08:26:22 +0000 (20:26 +1200)]
Merge pull request #39 from Manishearth/pubuse
Handle pub use (fixes #23)
Manish Goregaokar [Thu, 30 Apr 2015 08:03:26 +0000 (13:33 +0530)]
Handle pub use (fixes #23)
Nick Cameron [Thu, 30 Apr 2015 08:19:04 +0000 (20:19 +1200)]
Merge pull request #40 from Manishearth/travis
Travisify
Manish Goregaokar [Thu, 30 Apr 2015 08:16:18 +0000 (13:46 +0530)]
travisify
Tobias Bucher [Thu, 30 Apr 2015 07:33:13 +0000 (09:33 +0200)]
Add `Cargo.lock` file, because this application is a program
Do this so you can reliably build `rustfmt` in the future, even if one of the
dependencies (in this case, only `strings.rs`) makes backward-incompatible
changes.
See also http://doc.crates.io/guide.html#cargo.toml-vs-cargo.lock.
Tobias Bucher [Thu, 30 Apr 2015 07:32:38 +0000 (09:32 +0200)]
Fix warnings in `cargo test`
Nick Cameron [Thu, 30 Apr 2015 04:19:54 +0000 (16:19 +1200)]
Add a line about nightly builds to the readme
Nick Cameron [Thu, 30 Apr 2015 03:09:33 +0000 (15:09 +1200)]
Add README.md
Nick Cameron [Wed, 29 Apr 2015 04:44:29 +0000 (16:44 +1200)]
Use + for type bounds
Nick Cameron [Wed, 29 Apr 2015 04:21:04 +0000 (16:21 +1200)]
Preserve linebreaks in doc comments
Nick Cameron [Wed, 29 Apr 2015 03:24:20 +0000 (15:24 +1200)]
Better handle trait items
Nick Cameron [Wed, 29 Apr 2015 03:00:58 +0000 (15:00 +1200)]
Better attribute handling
Nick Cameron [Tue, 28 Apr 2015 21:53:33 +0000 (09:53 +1200)]
Fix trailing commas in where clauses
Nick Cameron [Tue, 28 Apr 2015 10:19:25 +0000 (22:19 +1200)]
Tweak rules around attributes for modules
Nick Cameron [Tue, 28 Apr 2015 09:57:16 +0000 (21:57 +1200)]
Comments on their own lines between args
Nick Cameron [Tue, 28 Apr 2015 09:36:31 +0000 (21:36 +1200)]
Absolute paths
Nick Cameron [Tue, 28 Apr 2015 09:24:56 +0000 (21:24 +1200)]
Comments after return