| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 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 | |
| 2012-01-14 | rustc: Output a note about how to debug unexpected failures | Brian Anderson | -0/+6 | |
| 2012-01-14 | rustc: Fix tests | Brian Anderson | -4/+4 | |
| 2012-01-14 | rustc: Run the compiler in a subtask and monitor the diagnostics | Brian Anderson | -6/+65 | |
| Since we are no longer logging to the console it's possible for us to hit a plain-old-fail statement and not output anything. This adds a defensive mechanism that will monitor the emitted errors and compare them to the result of the compiler task. If the compiler fails without emitting an error it results in an ICE. | ||||
| 2012-01-14 | rustc: Extract the logic for generating an ICE message | Brian Anderson | -2/+7 | |
| 2012-01-14 | rustc: Rename mk_codemap_handler to mk_handler | Brian Anderson | -4/+4 | |
| 2012-01-14 | rustc: Rename emit_diagnostic to emit | Brian Anderson | -5/+5 | |
| 2012-01-14 | rustc: Use the same diagnostic emmiter for both early errors and the session | Brian Anderson | -1/+2 | |
| This funnels all properly reported errors through a single closure. Yay. | ||||
| 2012-01-14 | rustc: Thread a diagnostic::emitter through driver | Brian Anderson | -16/+26 | |
| 2012-01-14 | rustc: Pull some uses of early_error up into build_target_config | Brian Anderson | -13/+19 | |
| 2012-01-14 | rustc: Rename diagnostic::diagnostictype to 'level' | Brian Anderson | -14/+14 | |
