| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 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. | ||||
| 2012-01-16 | Ensure library file always has a proper suffix. | Josh Matthews | -1/+1 | |
| 2012-01-16 | Don't write out type names when hashing types | Marijn Haverbeke | -3/+5 | |
| I hope this is why my patch made things so much slower... | ||||
| 2012-01-16 | Remove misguided indirect return in trans_closure | Marijn Haverbeke | -8/+4 | |
| Closes #1528 | ||||
| 2012-01-16 | Store type names in crate metadata | Marijn Haverbeke | -3/+22 | |
| Improves type error messages referring to external types. Issue #1507 | ||||
| 2012-01-16 | When pretty-printing fn types, leave off arg modes when they are the default | Marijn Haverbeke | -2/+10 | |
| This reduces ++/&& spam in the output to a bare minimum. Issue #1507 | ||||
| 2012-01-16 | Don't evaluate discriminator value constants when parsing. | Kevin Atkinson | -51/+98 | |
| Remove disr_val from ast::variant_ and always use ty::variant_info when the value is needed. Move what was done during parsing into other passes, primary typeck.rs. This move also correctly type checks the disr. value expression; thus, fixing rustc --pretty=typed when disr. values are used. | ||||
| 2012-01-16 | Be more careful about pretty-printing literals | Marijn Haverbeke | -12/+19 | |
| Before, literal printing would basically get derailed completely when a literal was encountered that did not end up being printed. This caused the strangeness seen in #1532. Also cleans up pretty-printing of discriminants a little. Closes #1510 Closes #1532 | ||||
| 2012-01-16 | Update pretty printer to print out disr. values. | Kevin Atkinson | -0/+8 | |
| Partly fixes issue #1510. "rustc --pretty=typed" fails. | ||||
| 2012-01-16 | Properly print u suffix for uint literals | Marijn Haverbeke | -1/+1 | |
| Issue #1532 | ||||
| 2012-01-15 | rustc: Parse fn inner attributes. Closes #1506 | Brian Anderson | -30/+109 | |
| 2012-01-15 | rustc: Extract comman parts of view parsing | Brian Anderson | -7/+13 | |
