]>
git.lizzy.rs Git - rust.git/log
summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
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
Nick Cameron [Tue, 28 Apr 2015 08:56:01 +0000 (20:56 +1200)]
Comments in function decls and annotations/doc comments
Nick Cameron [Thu, 23 Apr 2015 06:43:46 +0000 (18:43 +1200)]
Indenting for modules
rustfmt now bootstraps!
Nick Cameron [Thu, 23 Apr 2015 06:30:12 +0000 (18:30 +1200)]
Arg/line length bug
Nick Cameron [Thu, 23 Apr 2015 06:10:43 +0000 (18:10 +1200)]
minor reformatting
Nick Cameron [Thu, 23 Apr 2015 06:02:55 +0000 (18:02 +1200)]
trailing newline hell fixed
Nick Cameron [Thu, 23 Apr 2015 05:04:07 +0000 (17:04 +1200)]
terminating newline bug
Nick Cameron [Thu, 23 Apr 2015 04:30:19 +0000 (16:30 +1200)]
Fix formatting in changes.rs
Nick Cameron [Thu, 23 Apr 2015 04:25:48 +0000 (16:25 +1200)]
Test the skip attribute
Nick Cameron [Thu, 23 Apr 2015 04:23:20 +0000 (16:23 +1200)]
Our first test!
Nick Cameron [Thu, 23 Apr 2015 04:22:48 +0000 (16:22 +1200)]
Idempotent tests and comments in function decls
Nick Cameron [Tue, 21 Apr 2015 10:50:43 +0000 (22:50 +1200)]
Keep comments on fn arguments
Nick Cameron [Tue, 21 Apr 2015 09:01:19 +0000 (21:01 +1200)]
Extract out more files
Nick Cameron [Tue, 21 Apr 2015 08:40:36 +0000 (20:40 +1200)]
Refactor missing spans and fix bug with trailing whitespace
Nick Cameron [Tue, 21 Apr 2015 07:59:48 +0000 (19:59 +1200)]
Extract some methods for functions.
Nick Cameron [Tue, 21 Apr 2015 04:49:16 +0000 (16:49 +1200)]
Trivial reformatting
Nick Cameron [Tue, 21 Apr 2015 04:47:15 +0000 (16:47 +1200)]
Pull out some functionality into separate files
Nick Cameron [Tue, 21 Apr 2015 04:28:10 +0000 (16:28 +1200)]
Write output to files
Nick Cameron [Tue, 21 Apr 2015 00:02:30 +0000 (12:02 +1200)]
Some configuration options for function layout
Nick Cameron [Mon, 20 Apr 2015 21:54:04 +0000 (09:54 +1200)]
By value self in functions
Nick Cameron [Mon, 20 Apr 2015 21:38:16 +0000 (09:38 +1200)]
Function visibility
Nick Cameron [Tue, 14 Apr 2015 09:52:12 +0000 (21:52 +1200)]
Work across multiple files
Nick Cameron [Tue, 14 Apr 2015 01:12:56 +0000 (13:12 +1200)]
Use strings.rs rather than local modules
Nick Cameron [Tue, 14 Apr 2015 01:00:46 +0000 (13:00 +1200)]
New reformatting of fns
Nick Cameron [Sun, 22 Mar 2015 19:28:48 +0000 (08:28 +1300)]
Merge pull request #13 from Stebalien/fix-fkmethod
Update for new FnKind::FkMethod signature
Steven Allen [Sun, 22 Mar 2015 16:30:04 +0000 (09:30 -0700)]
Update for new FnKind::FkMethod signature
Nick Cameron [Fri, 20 Mar 2015 05:44:00 +0000 (18:44 +1300)]
Merge pull request #12 from djg/fix-convert-path-to-pathbuf
Update from Path to PathBuf
Dan Glastonbury [Mon, 9 Mar 2015 06:17:14 +0000 (16:17 +1000)]
Update from Path to PathBuf
Nick Cameron [Mon, 9 Mar 2015 04:18:48 +0000 (17:18 +1300)]
A different, more pretty printing approach.
No longer uses the Rope data strucure.
Nick Cameron [Sun, 8 Mar 2015 06:24:56 +0000 (19:24 +1300)]
Add string_buffer (not used yet)
Nick Cameron [Sat, 7 Mar 2015 22:46:35 +0000 (11:46 +1300)]
Working prototype
Implements a few formatting options using an approach where we modify the source using a rope. Uses very ad-hoc rules for formatting.
Nick Cameron [Mon, 2 Feb 2015 08:59:03 +0000 (21:59 +1300)]
Save changes in the rope.
Also changes to using the new rustc interface
Nick Cameron [Mon, 26 Jan 2015 02:16:37 +0000 (15:16 +1300)]
Commit changes code using map of adjustments