]> git.lizzy.rs Git - rust.git/log
rust.git
9 years agoFixup tests
Marcus Klaas [Mon, 8 Jun 2015 16:22:55 +0000 (18:22 +0200)]
Fixup tests

9 years agoMerge pull request #84 from marcusklaas/tests
Nick Cameron [Mon, 8 Jun 2015 00:18:09 +0000 (12:18 +1200)]
Merge pull request #84 from marcusklaas/tests

Implement framework for system tests

9 years agoimplement framework for system tests
Marcus Klaas [Thu, 28 May 2015 17:23:07 +0000 (19:23 +0200)]
implement framework for system tests

9 years agoMerge pull request #94 from marcusklaas/fixes
Nick Cameron [Fri, 5 Jun 2015 00:07:58 +0000 (12:07 +1200)]
Merge pull request #94 from marcusklaas/fixes

Fix two TODO items

9 years agoRemove duplicate statement in make_comments_for_list
Marcus Klaas [Thu, 4 Jun 2015 13:05:50 +0000 (15:05 +0200)]
Remove duplicate statement in make_comments_for_list

9 years agoAdd macro for enum implementations of Decodable
Marcus Klaas [Thu, 4 Jun 2015 12:08:32 +0000 (14:08 +0200)]
Add macro for enum implementations of Decodable

9 years agoMove vertical mode override to write_list
Marcus Klaas [Thu, 4 Jun 2015 11:47:35 +0000 (13:47 +0200)]
Move vertical mode override to write_list

9 years agoRemove empty list imports
Marcus Klaas [Tue, 2 Jun 2015 16:44:33 +0000 (18:44 +0200)]
Remove empty list imports

9 years agoMerge pull request #89 from marcusklaas/enums
Nick Cameron [Tue, 2 Jun 2015 21:32:14 +0000 (09:32 +1200)]
Merge pull request #89 from marcusklaas/enums

Implement basic enum formatting

9 years agoImplement basic enum formatting
Marcus Klaas [Fri, 29 May 2015 10:41:26 +0000 (12:41 +0200)]
Implement basic enum formatting

9 years agoHighlight that we require nightly in the README
Nick Cameron [Tue, 2 Jun 2015 00:30:46 +0000 (12:30 +1200)]
Highlight that we require nightly in the README

9 years agoMerge pull request #85 from cassiersg/tuple
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

9 years agoHandle tuples of length 1
Gaëtan Cassiers [Sat, 30 May 2015 14:52:46 +0000 (16:52 +0200)]
Handle tuples of length 1

9 years agofix : width available
Gaëtan Cassiers [Sat, 30 May 2015 14:44:07 +0000 (16:44 +0200)]
fix : width available

9 years agoMerge pull request #81 from tdudziak/issue_31
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)

9 years agoImplement reformat of tuple litterals
Gaëtan Cassiers [Mon, 25 May 2015 20:14:05 +0000 (22:14 +0200)]
Implement reformat of tuple litterals

9 years agoUse config!(tab_spaces) instead of hardcoded `4`.
Tomasz Dudziak [Tue, 26 May 2015 07:31:16 +0000 (09:31 +0200)]
Use config!(tab_spaces) instead of hardcoded `4`.

9 years agoMerge pull request #80 from cassiersg/master
Nick Cameron [Mon, 25 May 2015 20:18:06 +0000 (08:18 +1200)]
Merge pull request #80 from cassiersg/master

Fix #79

9 years agoClarify indent calcs in `compute_budget_for_args`
Tomasz Dudziak [Mon, 25 May 2015 19:29:02 +0000 (21:29 +0200)]
Clarify indent calcs in `compute_budget_for_args`

9 years agoOptionally put the opening paren on the previous line 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

9 years agoadd test for const fn
Gaëtan Cassiers [Mon, 25 May 2015 11:25:06 +0000 (13:25 +0200)]
add test for const fn

9 years agoFix #79
Gaëtan Cassiers [Mon, 25 May 2015 11:21:29 +0000 (13:21 +0200)]
Fix #79

9 years agoMerge pull request #75 from nrc/structs
Nick Cameron [Mon, 25 May 2015 07:16:25 +0000 (19:16 +1200)]
Merge pull request #75 from nrc/structs

Structs

9 years agoStruct literals
Nick Cameron [Mon, 25 May 2015 07:11:53 +0000 (19:11 +1200)]
Struct literals

9 years agoPref for comma on the last field
Nick Cameron [Mon, 25 May 2015 05:14:39 +0000 (17:14 +1200)]
Pref for comma on the last field

9 years agoFormat structs
Nick Cameron [Sun, 24 May 2015 23:03:26 +0000 (11:03 +1200)]
Format structs

9 years agoMerge pull request #74 from cassiersg/paren-expr
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

9 years agoAvoid dangling )
Gaëtan Cassiers [Sun, 24 May 2015 21:46:02 +0000 (23:46 +0200)]
Avoid dangling )

9 years agosyle correction
Gaëtan Cassiers [Sun, 24 May 2015 21:35:40 +0000 (23:35 +0200)]
syle correction

9 years agoAdd idem test for paren
Gaëtan Cassiers [Sun, 24 May 2015 20:07:18 +0000 (22:07 +0200)]
Add idem test for paren

9 years agoAdd rewrite for ExprParen
Gaëtan Cassiers [Sun, 24 May 2015 17:57:13 +0000 (19:57 +0200)]
Add rewrite for ExprParen

9 years agoAdd config.rs which I forgot for the last commit
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

9 years agoUse config file for constants
Nick Cameron [Sat, 23 May 2015 05:02:59 +0000 (17:02 +1200)]
Use config file for constants

9 years agoAdd default.toml and modify the build system for it
Nick Cameron [Sat, 23 May 2015 03:28:41 +0000 (15:28 +1200)]
Add default.toml and modify the build system for it

9 years agoMake travis use Rust nightly
Nick Cameron [Fri, 22 May 2015 03:50:58 +0000 (15:50 +1200)]
Make travis use Rust nightly

9 years agoMerge pull request #71 from posix4e/master
Nick Cameron [Wed, 20 May 2015 21:59:17 +0000 (09:59 +1200)]
Merge pull request #71 from posix4e/master

Remove old box syntax

9 years agoRemove old box syntax
Alex HotShot Newman [Wed, 20 May 2015 18:20:15 +0000 (11:20 -0700)]
Remove old box syntax

9 years agoMerge pull request #70 from defyrlt/test_for_53
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.

9 years agoAdded regression test for #53.
defyrlt [Sun, 17 May 2015 11:35:11 +0000 (14:35 +0300)]
Added regression test for #53.

9 years agoMerge pull request #67 from marcusklaas/test-diff
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

9 years agoMerge pull request #65 from marcusklaas/required-methods
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

9 years agoFormat required methods on traits
Marcus Klaas [Sun, 3 May 2015 22:12:39 +0000 (00:12 +0200)]
Format required methods on traits

9 years agoShow diffs for failing tests
Marcus Klaas [Tue, 12 May 2015 00:16:46 +0000 (02:16 +0200)]
Show diffs for failing tests

9 years agoMerge pull request #48 from oli-obk/newlines
Nick Cameron [Mon, 11 May 2015 22:33:42 +0000 (10:33 +1200)]
Merge pull request #48 from oli-obk/newlines

handle windows newlines

9 years agoMerge pull request #61 from oli-obk/master
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

9 years agoMerge branch 'mattyhall-single-import'
Nick Cameron [Mon, 11 May 2015 22:06:12 +0000 (10:06 +1200)]
Merge branch 'mattyhall-single-import'

9 years agoMerge branch 'single-import' of https://github.com/mattyhall/rustfmt into mattyhall...
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

9 years agoMerge pull request #68 from marcusklaas/import-breaks
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

9 years agoMerge pull request #69 from oli-obk/patch-1
Nick Cameron [Mon, 11 May 2015 20:23:19 +0000 (08:23 +1200)]
Merge pull request #69 from oli-obk/patch-1

typo

9 years agotypo
Oliver Schneider [Mon, 11 May 2015 13:05:12 +0000 (15:05 +0200)]
typo

9 years agodon't create a thread just for panic-isolation
Oliver Schneider [Tue, 5 May 2015 14:56:29 +0000 (16:56 +0200)]
don't create a thread just for panic-isolation

9 years agoKeep import lists on a single line when possible
Marcus Klaas [Mon, 4 May 2015 15:16:51 +0000 (17:16 +0200)]
Keep import lists on a single line when possible

9 years agoprevent bogus whitespace error messages due to \r
Oliver Schneider [Mon, 4 May 2015 12:32:48 +0000 (14:32 +0200)]
prevent bogus whitespace error messages due to \r

9 years agohandle windows newlines
Oliver Schneider [Thu, 30 Apr 2015 11:13:20 +0000 (13:13 +0200)]
handle windows newlines

9 years agoaddressed comments
Oliver Schneider [Mon, 4 May 2015 09:00:14 +0000 (11:00 +0200)]
addressed comments

9 years agorustfmt dislikes tabs and some newlines
Oliver Schneider [Mon, 4 May 2015 08:09:41 +0000 (10:09 +0200)]
rustfmt dislikes tabs and some newlines

9 years agoMerge pull request #62 from marcusklaas/use-indent
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

9 years agoCorrectly indent use items and functions
Marcus Klaas [Sat, 2 May 2015 17:12:16 +0000 (19:12 +0200)]
Correctly indent use items and functions

9 years agoMerge pull request #63 from nicholasbishop/bishop-missing-verb
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

9 years agoFix 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

9 years agoChange import lists with one item to single import
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``.

9 years agoResolved #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.

9 years agoforgot newline at eof
Oliver Schneider [Sat, 2 May 2015 15:09:33 +0000 (17:09 +0200)]
forgot newline at eof

rustfmt found it

9 years agopass single filename instead of full argument list to idem_check
Oliver Schneider [Sat, 2 May 2015 14:56:46 +0000 (16:56 +0200)]
pass single filename instead of full argument list to idem_check

9 years agofirst step to a non-panicking idem_check function
Oliver Schneider [Sat, 2 May 2015 14:50:33 +0000 (16:50 +0200)]
first step to a non-panicking idem_check function

9 years agoMerge pull request #60 from oli-obk/master
Nick Cameron [Sat, 2 May 2015 06:47:27 +0000 (18:47 +1200)]
Merge pull request #60 from oli-obk/master

babysteps towards #51

9 years agosplit main function and test function into their own files
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

9 years agomain.rs -> lib.rs
Oliver Schneider [Fri, 1 May 2015 16:40:05 +0000 (18:40 +0200)]
main.rs -> lib.rs

9 years agoMerge pull request #58 from Stebalien/borrow
Nick Cameron [Fri, 1 May 2015 18:59:00 +0000 (06:59 +1200)]
Merge pull request #58 from Stebalien/borrow

Trust the borrow checker.

9 years agoTrust the borrow checker.
Steven Allen [Fri, 1 May 2015 16:17:14 +0000 (12:17 -0400)]
Trust the borrow checker.

9 years agoMerge pull request #57 from defyrlt/issue_56
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.

9 years agoResolved #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.

9 years agoMerge pull request #55 from tedsta/master
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

9 years agoSpaces around in type bounds
Theodore DeRego [Fri, 1 May 2015 02:52:11 +0000 (16:52 -1000)]
Spaces around  in type bounds

9 years agoMerge pull request #44 from tbu-/pr_bin
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

9 years agoMerge pull request #50 from aepsil0n/patch-1
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

9 years agoMerge pull request #49 from oli-obk/gitignore
Nick Cameron [Thu, 30 Apr 2015 19:18:57 +0000 (07:18 +1200)]
Merge pull request #49 from oli-obk/gitignore

add gitignore

9 years agoRename `src/mod.rs` to `src/main.rs` to adhere to the standard crate format
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

9 years agoAdd a missing "not" to readme
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.

9 years agoadd gitignore
Oliver Schneider [Thu, 30 Apr 2015 11:01:35 +0000 (13:01 +0200)]
add gitignore

9 years agoMerge pull request #43 from tbu-/pr_nostaticmut
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`

9 years agoMerge pull request #45 from tbu-/pr_toowned
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`

9 years agoMerge pull request #46 from tbu-/pr_testwarnings
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`

9 years agoMerge pull request #47 from tbu-/pr_cargolock
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

9 years agoUse `AtomicUsize` instead of `static mut` that require `unsafe`
Tobias Bucher [Thu, 30 Apr 2015 08:40:37 +0000 (10:40 +0200)]
Use `AtomicUsize` instead of `static mut` that require `unsafe`

9 years agoChange `to_string` to `to_owned` when it just creates a `String` from a `&str`
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.

9 years agoMerge pull request #39 from Manishearth/pubuse
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)

9 years agoHandle pub use (fixes #23)
Manish Goregaokar [Thu, 30 Apr 2015 08:03:26 +0000 (13:33 +0530)]
Handle pub use (fixes #23)

9 years agoMerge pull request #40 from Manishearth/travis
Nick Cameron [Thu, 30 Apr 2015 08:19:04 +0000 (20:19 +1200)]
Merge pull request #40 from Manishearth/travis

Travisify

9 years agotravisify
Manish Goregaokar [Thu, 30 Apr 2015 08:16:18 +0000 (13:46 +0530)]
travisify

9 years agoAdd `Cargo.lock` file, because this application is a program
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.

9 years agoFix warnings in `cargo test`
Tobias Bucher [Thu, 30 Apr 2015 07:32:38 +0000 (09:32 +0200)]
Fix warnings in `cargo test`

9 years agoAdd a line about nightly builds to the readme
Nick Cameron [Thu, 30 Apr 2015 04:19:54 +0000 (16:19 +1200)]
Add a line about nightly builds to the readme

9 years agoAdd README.md
Nick Cameron [Thu, 30 Apr 2015 03:09:33 +0000 (15:09 +1200)]
Add README.md

9 years agoUse + for type bounds
Nick Cameron [Wed, 29 Apr 2015 04:44:29 +0000 (16:44 +1200)]
Use + for type bounds

9 years agoPreserve linebreaks in doc comments
Nick Cameron [Wed, 29 Apr 2015 04:21:04 +0000 (16:21 +1200)]
Preserve linebreaks in doc comments

9 years agoBetter handle trait items
Nick Cameron [Wed, 29 Apr 2015 03:24:20 +0000 (15:24 +1200)]
Better handle trait items

9 years agoBetter attribute handling
Nick Cameron [Wed, 29 Apr 2015 03:00:58 +0000 (15:00 +1200)]
Better attribute handling

9 years agoFix trailing commas in where clauses
Nick Cameron [Tue, 28 Apr 2015 21:53:33 +0000 (09:53 +1200)]
Fix trailing commas in where clauses

9 years agoTweak rules around attributes for modules
Nick Cameron [Tue, 28 Apr 2015 10:19:25 +0000 (22:19 +1200)]
Tweak rules around attributes for modules