| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2012-03-02 | Move src/comp to src/rustc | Graydon Hoare | -12548/+0 | |
| 2012-03-02 | emit mthd data if marked inline | Niko Matsakis | -11/+8 | |
| 2012-03-02 | restructure to better support method inlining | Niko Matsakis | -118/+124 | |
| 2012-03-02 | retool inline encoding to handle methods, fix tests | Niko Matsakis | -35/+136 | |
| 2012-02-29 | optionally enforce local variable mutability | Niko Matsakis | -14/+30 | |
| 2012-02-29 | Recognize last uses for copied closed-over variables | Marijn Haverbeke | -6/+3 | |
| And clean up and fix some bad things in last_use.rs. Closes #1894 | ||||
| 2012-02-28 | add ability to run multi-crate tests, run tests with --inline | Niko Matsakis | -2/+3 | |
| 2012-02-28 | enumerate ids for arguments too | Niko Matsakis | -1/+5 | |
| 2012-02-28 | change def's that are always local to use node_id, add --inline opt | Niko Matsakis | -33/+31 | |
| 2012-02-28 | correct freevar encoding, add more debugging output | Niko Matsakis | -3/+16 | |
| 2012-02-24 | Encode/decode AST into metadata, re-instantiate inlined items | Niko Matsakis | -681/+9714 | |
| 2012-02-23 | Various cleanups and optimizations in core::str | Marijn Haverbeke | -1/+1 | |
| 2012-02-22 | Make the various from_str functions return options | Marijn Haverbeke | -9/+4 | |
| So that they can be used with user input without causing task failures. Closes #1335 | ||||
| 2012-02-21 | Include @ in crate_ctxt and fn_ctxt type definitions | Marijn Haverbeke | -2/+2 | |
| So that code using them doesn't have to spell it out constantly. | ||||
| 2012-02-17 | rustc: Make resolve more forgiving of missing external crates | Brian Anderson | -3/+4 | |
| Rustdoc needs to be able to resolve locals without resolving externals | ||||
| 2012-02-15 | make mut a keyword synonymous with mutable | Niko Matsakis | -14/+14 | |
| first step towards issue #1273 | ||||
| 2012-02-15 | Rewrite exhaustiveness checker | Marijn Haverbeke | -9/+9 | |
| 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-15 | Replace some explicit fails with 'alt check' invocations | Marijn Haverbeke | -2/+1 | |
| 2012-02-15 | Support 'alt check' syntax | Marijn Haverbeke | -1/+1 | |
| It is only a way to flag an alt as intentionally non-exhaustive right now. Issue #1679 | ||||
| 2012-02-14 | rustc: Add crust functions to the AST | Brian Anderson | -1/+6 | |
| 2012-02-13 | Remove some needlessly repetetive casts in metadata code | Marijn Haverbeke | -94/+93 | |
| 2012-02-13 | Track purity/unsafety of iface and impl methods | Marijn Haverbeke | -10/+24 | |
| Closes #1807 | ||||
| 2012-02-13 | add serialization library; convert ebml lib to use u64 internally | Niko Matsakis | -7/+7 | |
| 2012-02-11 | core: Change the argument order for vec::contains, vec::count | Brian Anderson | -2/+2 | |
| 2012-02-11 | core: Rename vec::member to vec::contains to match str mod | Brian Anderson | -2/+2 | |
| 2012-02-11 | correct fully qualified type names to include the crate; add tests (take 2) | Niko Matsakis | -1/+2 | |
| This reverts commit fc023d91c77f468211ba9f7681b4d2a6469aac74. | ||||
| 2012-02-11 | Revert prior commit until I have time to track down the valgrind error | Niko Matsakis | -2/+1 | |
| This reverts commit 2ec3a0b60833736a3c0d805768885b4392c36100. | ||||
| 2012-02-10 | correct fully qualified type names to include the crate; add tests | Niko Matsakis | -1/+2 | |
| fixes #1745 | ||||
| 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 | -12/+12 | |
| 2012-02-10 | put serializer into the build and encode full item paths | Niko Matsakis | -13/+98 | |
| 2012-02-10 | create serializer project which autogenerates serialization code | Niko Matsakis | -0/+653 | |
| 2012-02-10 | update ebml interface | Niko Matsakis | -22/+21 | |
| 2012-02-09 | Further WIP on classes | Tim Chevalier | -0/+7 | |
| Changes to resolve and typeck. Still nothning working yet. | ||||
| 2012-02-09 | Fix bug in decoding of method metadata | Marijn Haverbeke | -1/+1 | |
| 2012-02-09 | Remove some pointless imports | Marijn Haverbeke | -8/+0 | |
| 2012-02-07 | String split renaming: | Kevin Cantu | -1/+1 | |
| * Renamed str::split -> str::split_byte * Renamed str::splitn -> str::splitn_byte * Renamed str::split_func -> str::split * Renamed str::split_char -> str::split_char * Renamed str::split_chars_iter -> str::split_char_iter * Added u8::is_ascii * Fixed the behavior of str::split_str, so that it matches split_chars and split (i.e. ["", "XXX", "YYY", ""] == split_str(".XXX.YYY.", ".")) * Fixed str::split_byte and str::splitn_byte so that they handle splitting UTF-8 strings on a given UTF-8/ASCII byte and also handle "" as the others do | ||||
| 2012-02-07 | Minor class-related tweaks to the AST | Tim Chevalier | -2/+2 | |
| 2012-02-07 | Reuse monomorphized functions for different box types | Marijn Haverbeke | -0/+2 | |
| The free glue for opaque boxes will pick the actual tydesc out of the box, and call its glue. Issue #1736 | ||||
| 2012-02-06 | Make ty::t type self-sufficient | Marijn Haverbeke | -16/+15 | |
| 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-06 | Self types for ifaces | Marijn Haverbeke | -0/+12 | |
| This allows a 'Name:' to appear in front of an iface declaration's name, which will cause 'Name' to refer to the self type (with the same number of type parameters as the iface has) in the method signatures of the iface. For example: iface F: functor<A> { fn fmap<B>(f: fn(A) -> B) -> F<B>; } Issue #1718 | ||||
| 2012-02-05 | infer modes rather than overwriting with expected ty | Niko Matsakis | -6/+2 | |
| 2012-02-03 | Beginnings of front-end support for classes | Tim Chevalier | -0/+6 | |
| Added class support to the parser, prettyprinter, fold, and visit. (See Issue 1726.) This is WIP -- the test case is xfailed, and attempting to compile it will error out in resolve. | ||||
| 2012-02-03 | Store item paths in ast_map, get rid of trans::local_ctxt | Marijn Haverbeke | -2/+2 | |
| The direct motivation for this was that the monomorphizer needs to be able to generate sane symbols for random items. The typechecker can probably also use this in the future to provide more useful error messages. | ||||
| 2012-02-01 | Remove support for native types | Marijn Haverbeke | -13/+0 | |
| Issue #1673 | ||||
| 2012-01-31 | Change option::t to option | Tim Chevalier | -10/+10 | |
| 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/+12 | |
| middle::check_alt does the work. Lots of changes to add default cases into alts that were previously inexhaustive. | ||||
| 2012-01-30 | Substitute type parameters more eagerly | Marijn Haverbeke | -11/+11 | |
| This simplifies the typechecker a bit (no more ty_param_substs_opt_and_ty) and is needed for another experiment I'm playing with. I hope it also makes compilation faster (the bots will tell). | ||||
| 2012-01-30 | Revert self types | Marijn Haverbeke | -9/+7 | |
| 2012-01-27 | Merge remote-tracking branch 'killerswan/fixing_strings_2' | Brian Anderson | -14/+14 | |
| Conflicts: src/comp/driver/driver.rs src/comp/middle/trans/base.rs src/comp/syntax/parse/lexer.rs | ||||
