| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2012-01-19 | Handle predicates that recurse in a check() expression | Tim Chevalier | -9/+10 | |
| typestate was using the enclosing function ID for the "this function returns" constraint, which meant confusion and panic in the case where a predicate p includes "check p()". Fixed it to use a fresh ID. Closes #933 | ||||
| 2012-01-19 | Additional ; to , changes, disable "tag" and ";" in parser. Close #1430. ↵ | Graydon Hoare | -6/+6 | |
| Close #1428. | ||||
| 2012-01-19 | rustc: Stop parsing "tag" | Patrick Walton | -2/+2 | |
| 2012-01-19 | rustc: Make the pretty printer output commas after enum variants. Update all ↵ | Patrick Walton | -1/+1 | |
| tests accordingly. | ||||
| 2012-01-19 | rustc: Fix fun_to_str | Brian Anderson | -0/+14 | |
| 2012-01-19 | rustc: ";" to "," in enums | Patrick Walton | -450/+450 | |
| 2012-01-19 | rustc: Remove trailing whitespace | Patrick Walton | -1/+1 | |
| 2012-01-19 | Compute typestates for FRU exprs correctly, plus a bit of cleanup | Tim Chevalier | -50/+36 | |
| The code in Issue 948 was causing typestate to diverge because it was using the prestate for the whole expression -- not the post- state for the fields list -- as the prestate for the record base expression. Fixed. Closes #948 | ||||
| 2012-01-19 | Handle log expressions with a _|_-typed level | Tim Chevalier | -0/+6 | |
| If we have log(foo, quux) where foo:_|_, just translate foo and ignore the rest of the expression. Closes #1459 | ||||
| 2012-01-19 | rustc: Fix long lines | Patrick Walton | -5/+6 | |
| 2012-01-19 | rustc: "tag" -> "enum" | Patrick Walton | -183/+183 | |
| 2012-01-19 | Use fn~ to simplify the core::test interface | Brian Anderson | -10/+1 | |
| 2012-01-19 | In trans, allow _|_-typed things to be the argument to fail | Tim Chevalier | -1/+1 | |
| Rationale: _|_-typed things diverge, so it's safe to use them in any context. Closes #1465 | ||||
| 2012-01-19 | Partial fix for #1561, doesn't actually "fix" the problem but you get output ↵ | Graydon Hoare | -3/+3 | |
| now. There's still something wrong with #error here, possibly cross-crate issue. | ||||
| 2012-01-19 | Rename fn*() to fn() as originally planned. | Niko Matsakis | -8/+10 | |
| 2012-01-19 | treat fn*() as fn&() | Niko Matsakis | -11/+5 | |
| This is not my ideal way of going about things. I'd prefer not to have expressions typed as fn*(), for example, but I couldn't get that to work together with inferring the modes of arguments and other corner cases. | ||||
| 2012-01-19 | rustc: Refactor lint check and avoid a segv fault | Haitao Li | -23/+16 | |
| The segv fault issue is #1566 | ||||
| 2012-01-19 | rustc: Name the lint-style check module `lint` | Haitao Li | -69/+89 | |
| Issue #1543 | ||||
| 2012-01-19 | rustc: Add a usage pass to collect one-off analyses | Haitao Li | -30/+70 | |
| This patch starts from move the analysis which checkes of probably incorrectly usage of `int|uint` in native fn. Issue #1543 | ||||
| 2012-01-19 | rustc: Use io::println for time-passes data | Haitao Li | -2/+2 | |
| Issue #1561 | ||||
| 2012-01-19 | Remove support for the '.' after a nullary tag in a pattern | Tim Chevalier | -95/+90 | |
| (Commit also includes lots of changes to remove '.'s that a git merge messed up, or else it was monkeys.) | ||||
| 2012-01-18 | Remove '.' after nullary tags in patterns | Tim Chevalier | -1214/+1214 | |
| Does what it says on the tin. The next commit will remove support for this syntax. | ||||
| 2012-01-18 | Allow any alternative (not just a block) to follow a nullary tag pattern | Tim Chevalier | -3/+1 | |
| 2012-01-18 | allow dotless nullary patterns inside or-patterns | Tim Chevalier | -1/+2 | |
| 2012-01-18 | Another minor parser fix for nullary-tag patterns | Tim Chevalier | -1/+1 | |
| 2012-01-18 | Allow nullary tag names to be qualified | Tim Chevalier | -3/+2 | |
| 2012-01-18 | rustc: Assert that the parser doesn't assign node id 0 | Brian Anderson | -0/+2 | |
| It is reserved for indicating the crate, but doesn't exist in the AST | ||||
| 2012-01-18 | Fix --out-dir a bit more in driver. | Graydon Hoare | -3/+5 | |
| 2012-01-18 | remove align_mode and rewrite GEP_tup_like to align correctly | Niko Matsakis | -97/+64 | |
| Although the old version of GEP_tup_like was incorrect in some cases, I do not believe we ever used it in an incorrect fashion. In particular, it could go wrong with extended index sequences like [0, 1, 3], but as near as I can tell we only ever use it with short sequences like [0, i]. | ||||
| 2012-01-18 | correct use of GEP_tup_like in closure constr | Niko Matsakis | -28/+36 | |
| also, streamline type_is_tup_like() to the cases which actually work | ||||
| 2012-01-18 | rustc: Accept commas to separate tag variants | Patrick Walton | -3/+12 | |
| 2012-01-19 | rustc: Use integer from ctypes consistently | Haitao Li | -47/+54 | |
| 2012-01-19 | Use ctypes in native function declarations | Haitao Li | -207/+234 | |
| 2012-01-19 | rustc: Warn when int or uint is used in a native type decl | Haitao Li | -0/+29 | |
| Issue #1403 | ||||
| 2012-01-17 | use 64-bit memset on 64-bit platforms. Fixes #1546. Fixes #843. | Niko Matsakis | -22/+12 | |
| Actually, we don't "fix" #843 so much as close it: as with memmove, we simply use an alignment of 1 with dynamically sized types. | ||||
| 2012-01-17 | roll back commit 1c7a62 | Niko Matsakis | -18/+16 | |
| 2012-01-17 | rustc: Allow std to be built as a test runner | Brian Anderson | -3/+16 | |
| 2012-01-17 | Rename some readmes and fix some dist logic. | Graydon Hoare | -0/+0 | |
| 2012-01-17 | Update crates with correct crate_type attribute | Brian Anderson | -1/+1 | |
| 2012-01-17 | rustc: --test overrides the crate_type attribute | Brian Anderson | -13/+30 | |
| 2012-01-17 | Merge pull request #1544 from kevina/issue-1393 | Graydon Hoare | -4/+4 | |
| Minor cleanups to custom discriminator code. | ||||
| 2012-01-17 | encode variant names and have log print them out. | Niko Matsakis | -5/+20 | |
| 2012-01-17 | Allow omission of the '.' after nullary tag patterns | Tim Chevalier | -182/+387 | |
| This commit allows patterns like: alt x { some(_) { ... } none { } } without the '.' after none. The parser suspends judgment about whether a bare ident is a tag or a new bound variable; instead, the resolver disambiguates. This means that any code after resolution that pattern-matches on patterns needs to call pat_util::normalize_pat, which consults an environment to do this disambiguation. In addition, local variables are no longer allowed to shadow tag names, so this required changing some code (e.g. renaming variables named "mut", and renaming ast::sub to subtract). The parser currently accepts patterns with and without the '.'. Once the compiler and libraries are changed, it will no longer accept the '.'. | ||||
| 2012-01-17 | Fail slightly more gracefully when given an -o filename that doesn't have an ↵ | Tim Chevalier | -1/+4 | |
| extension | ||||
| 2012-01-17 | Prevent pretty-printer from trying to consume stdin twice | Marijn Haverbeke | -15/+15 | |
| Why this didn't fail on my machine, I don't know. | ||||
| 2012-01-17 | Try to fix pretty-printer failure | Marijn Haverbeke | -9/+8 | |
| I can't reproduce it on my side, unfortunately. | ||||
| 2012-01-17 | Fix --pretty normal, reorganize some code in driver.rs | Marijn Haverbeke | -48/+63 | |
| There is now only one path doing crate expanding and typechecking, which should make it less likely for the pretty-printing code to be broken by changes to the compilation pipeline. Closes #1536 | ||||
| 2012-01-17 | Use a memset upcall to zero things without static alignment | Marijn Haverbeke | -16/+18 | |
| This fixes issues #843 and #1546. The cost of an upcall is unfortunate, though. I assume there must be a way to simply manually compute the pointer or size, using something akin to the formula in `align_to` in `rust_util.h`. I could not get this to work, unfortunately. | ||||
| 2012-01-16 | rustc: Move some attribute accessors from rustdoc to rustc | Brian Anderson | -0/+50 | |
| 2012-01-16 | Minor cleanups to custom discriminator code. | Kevin Atkinson | -4/+4 | |
| Mostly updates to the comments and docs from Pull Request #1537. | ||||
