| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2012-03-02 | Move src/comp to src/rustc | Graydon Hoare | -577/+0 | |
| 2012-03-02 | restructure to better support method inlining | Niko Matsakis | -1/+1 | |
| 2012-02-24 | Encode/decode AST into metadata, re-instantiate inlined items | Niko Matsakis | -7/+19 | |
| 2012-02-22 | Make the various from_str functions return options | Marijn Haverbeke | -7/+2 | |
| So that they can be used with user input without causing task failures. Closes #1335 | ||||
| 2012-02-15 | Rewrite exhaustiveness checker | Marijn Haverbeke | -4/+4 | |
| Issue #352 Closes #1720 The old checker would happily accept things like 'alt x { @some(a) { a } }'. It now properly descends into patterns, checks exhaustiveness of booleans, and complains when number/string patterns aren't exhaustive. | ||||
| 2012-02-13 | Remove some needlessly repetetive casts in metadata code | Marijn Haverbeke | -27/+25 | |
| 2012-02-13 | Track purity/unsafety of iface and impl methods | Marijn Haverbeke | -1/+6 | |
| Closes #1807 | ||||
| 2012-02-13 | add serialization library; convert ebml lib to use u64 internally | Niko Matsakis | -6/+6 | |
| 2012-02-10 | create serialization lib and update serializer to use it | Niko Matsakis | -3/+3 | |
| 2012-02-10 | use absolute names when pretty-printing types | Niko Matsakis | -4/+6 | |
| 2012-02-10 | put serializer into the build and encode full item paths | Niko Matsakis | -0/+30 | |
| 2012-02-09 | Fix bug in decoding of method metadata | Marijn Haverbeke | -1/+1 | |
| 2012-02-06 | Make ty::t type self-sufficient | Marijn Haverbeke | -3/+3 | |
| It is now no longer needed to have a ty::ctxt to get at the contents of a ty::t. The straight-forward approach of doing this, simply making ty::t a box type, unfortunately killed our compiler performance (~15% slower) through refcounting cost. Thus, this patch now represents ty::t as an unsafe pointer, assuming that the ty::ctxt, which holds these boxes alive, outlives any uses of the ty::t values. In the current compiler this trivially holds, but it is does of course add a new potential pitfall. ty::get takes a ty::t and returns a boxed representation of the type. I've changed calls to ty::struct(X) to do ty::get(X).struct. Type structs are full of vectors, and copying them every time we wanted to access them was a bit of a cost. | ||||
| 2012-02-01 | Remove support for native types | Marijn Haverbeke | -1/+0 | |
| Issue #1673 | ||||
| 2012-01-31 | Change option::t to option | Tim Chevalier | -5/+5 | |
| Now that core exports "option" as a synonym for option::t, search-and- replace option::t with option. The only place that still refers to option::t are the modules in libcore that use option, because fixing this requires a new snapshot (forthcoming). | ||||
| 2012-01-31 | Require alts to be exhaustive | Tim Chevalier | -1/+4 | |
| middle::check_alt does the work. Lots of changes to add default cases into alts that were previously inexhaustive. | ||||
| 2012-01-30 | Revert self types | Marijn Haverbeke | -9/+7 | |
| 2012-01-27 | Merge remote-tracking branch 'killerswan/fixing_strings_2' | Brian Anderson | -10/+10 | |
| Conflicts: src/comp/driver/driver.rs src/comp/middle/trans/base.rs src/comp/syntax/parse/lexer.rs | ||||
| 2012-01-26 | Remove ty_native_fn | Marijn Haverbeke | -3/+0 | |
| It was being used as a clumsy synonym of ty_fn. | ||||
| 2012-01-25 | Implement implicit self type parameters for ifaces | Marijn Haverbeke | -7/+9 | |
| Closes #1661 | ||||
| 2012-01-25 | Rename tag to enum throughout the compiler | Marijn Haverbeke | -8/+8 | |
| This should reduce confusion of people trying to read the code. | ||||
| 2012-01-25 | Replacing str::unsafe_from_bytes with str::from_bytes (part 4) | Kevin Cantu | -10/+10 | |
| 2012-01-23 | s/block()/fn()/g | Niko Matsakis | -1/+1 | |
| 2012-01-21 | rustc: Always resolve reexported names from original def | Haitao Li | -5/+39 | |
| Issue #1501 | ||||
| 2012-01-19 | rustc: "tag" -> "enum" | Patrick Walton | -2/+2 | |
| 2012-01-18 | Remove '.' after nullary tags in patterns | Tim Chevalier | -3/+3 | |
| Does what it says on the tin. The next commit will remove support for this syntax. | ||||
| 2012-01-17 | encode variant names and have log print them out. | Niko Matsakis | -2/+3 | |
| 2012-01-11 | Fix dependency bug iface-did-of-impl resolving | Marijn Haverbeke | -12/+1 | |
| By simply not resolving that def id until the typeck pass. Closes #1494 | ||||
| 2012-01-11 | Major clean-up of std::io | Marijn Haverbeke | -0/+1 | |
| Use ifaces instead of objs, stop wrapping everything in two (or three) layers of no-value-added indirection, and remove some of the more pointless/outdated idioms from the code. | ||||
| 2012-01-11 | Fix regression in resolving of external impls | Marijn Haverbeke | -4/+4 | |
| 2012-01-10 | Support explicit discriminant numbers on tag variants. | Kevin Atkinson | -1/+19 | |
| Addresses issue #1393. For now disallow disr. values unless all variants use nullary contractors (i.e. "enum-like"). Disr. values are now encoded in the crate metadata, but only when it will differ from the inferred value based on the order. | ||||
| 2012-01-05 | Clean up translating of def_ids in metadata reader | Marijn Haverbeke | -70/+65 | |
| Reduces the amount of closure allocation, and makes the code cleaner. | ||||
| 2012-01-05 | Get external interfaces / impls working | Marijn Haverbeke | -49/+72 | |
| Issue #1227 | ||||
| 2012-01-05 | Write the iface type of an impl in the crate data | Marijn Haverbeke | -1/+19 | |
| Also, move checking of ifaces into the collect phase of typeck to give further passes some guarantees. Issue #1227 | ||||
| 2012-01-02 | Box arrays of parameter bounds | Marijn Haverbeke | -4/+4 | |
| 2012-01-02 | Check that type parameter bounds are interface types | Marijn Haverbeke | -5/+2 | |
| Issue #1227 | ||||
| 2011-12-29 | Box ty_param_bounds_and_ty | Marijn Haverbeke | -1/+1 | |
| It contains a vector, which shouldn't be copied all the time. | ||||
| 2011-12-28 | Change representation of type params to handle interface bounds | Marijn Haverbeke | -48/+33 | |
| Issue #1227 | ||||
| 2011-12-23 | Use the same type of record in ty::ty_fn and ty::method | Marijn Haverbeke | -6/+3 | |
| Removes some more code duplication. | ||||
| 2011-12-20 | rustc: Implement re-export of renamed modules | Haitao Li | -1/+0 | |
| Issue #1115 | ||||
| 2011-12-19 | Associate names with types introduced by items | Marijn Haverbeke | -2/+10 | |
| Issue #828 This is not a full solution yet. To really get sane error messages, we'll also have to guess the name to apply to literals, which seems non-trivial. | ||||
| 2011-12-16 | Finish resolving and calling of crate-external impls | Marijn Haverbeke | -2/+48 | |
| Issue #1227 | ||||
| 2011-12-16 | reorder args to the various vec, option fns so blk comes last | Niko Matsakis | -1/+0 | |
| 2011-12-16 | rustc: Implement non-renamed re-export across crates | Haitao Li | -8/+3 | |
| First patch for issue #1115. Not yet ready for re-exported modules which are renamed when importing them. | ||||
| 2011-12-15 | rustc: Box tag variants to avoid copies | Brian Anderson | -1/+1 | |
| 2011-12-13 | Copy first batch of material from libstd to libcore. | Graydon Hoare | -1/+2 | |
| 2011-12-12 | rustc: Encode crate hash into metadata | Haitao Li | -3/+11 | |
| 2011-11-18 | Preparation for kind system overhaul | Marijn Haverbeke | -3/+3 | |
| This goes before a snapshot, so that subsequenct patches can make the transition without breaking the build. Disables kind checking pass, makes parser accept both new and old-style kind annotation. Issue #1177 | ||||
| 2011-11-17 | remove compile-command from local variable blocks | Niko Matsakis | -1/+0 | |
| 2011-11-10 | Cleanup unused imports | Haitao Li | -2/+0 | |
