| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2012-04-23 | Misc code cleanups using list::each for list iteration | Marijn Haverbeke | -71/+46 | |
| 2012-04-23 | Fix broken determination of external method type param count | Marijn Haverbeke | -4/+6 | |
| Closes #2185 | ||||
| 2012-04-21 | rustc: Cache constant C strings. Closes #2264 | Brian Anderson | -0/+11 | |
| 2012-04-20 | Print out return type correctly in typestate error message | Tim Chevalier | -6/+8 | |
| In the "not all paths return" error message, typestate was printing the AST type from the fn decl, not the ty::t type. This ended in tears when the AST return type was "ty_infer". Now it looks up the function node ID's type and uses util::ppaux::ty_to_str instead. Closes #2163. | ||||
| 2012-04-20 | Get borrowing working on fixed evecs. | Graydon Hoare | -8/+15 | |
| 2012-04-20 | Add new syntax for patterns that match the head constructor only | Tim Chevalier | -23/+41 | |
| Adds a new kind of pattern C(*) where C is a constructor that may have any number of fields. This pattern matches any value constructed with C, without binding names for any of the fields. Closes #1701. | ||||
| 2012-04-19 | make nominal types optionally parameterized by a self region. | Niko Matsakis | -789/+915 | |
| Issue #2201. | ||||
| 2012-04-19 | correct universally_quantify to use structure_of, and introduce a test for this | Niko Matsakis | -42/+49 | |
| 2012-04-19 | Annotate FIXMEs in parser | Tim Chevalier | -2/+4 | |
| Also, get rid of two FIXMEs by refactoring some code, and moving the call_expr check for be expressions into typeck, where it seems to make more sense. | ||||
| 2012-04-19 | Add a lint pass to check for while true { ... } loops | Tim Chevalier | -3/+37 | |
| And suggest changing them to loop { ... }. Had to fix the few remaining while true loops (in core::io). Closes #1962. | ||||
| 2012-04-19 | Get evec slices and unique-evec slice-borrowing working. | Graydon Hoare | -2/+12 | |
| 2012-04-19 | Disallow rebinding / matching against consts in alts | Tim Chevalier | -42/+46 | |
| As per Issue #1193. Closes #1193. I had to rename a few variables ("info" and "epsilon") to avoid clashing with in-scope constants, which is responsible for all the changes other than resolve and issue-1193.rs. | ||||
| 2012-04-19 | Get fixed-size evecs working. | Graydon Hoare | -56/+111 | |
| 2012-04-18 | Fix [] on str to exclude the trailing null. | Graydon Hoare | -5/+9 | |
| 2012-04-18 | Require values to be copyable when cast | Marijn Haverbeke | -10/+11 | |
| Closes #2222 | ||||
| 2012-04-18 | Fix oversight in type_use.rs | Marijn Haverbeke | -0/+15 | |
| Closes #2053 | ||||
| 2012-04-18 | Stop duplicating non-generic resource destructors | Marijn Haverbeke | -6/+17 | |
| Closes #2177 | ||||
| 2012-04-18 | Add a needs_drop intrinsic | Marijn Haverbeke | -1/+6 | |
| Closes #2055 | ||||
| 2012-04-18 | Fix use of wrong block context in return-from-loop code | Marijn Haverbeke | -2/+2 | |
| Closes #2142 | ||||
| 2012-04-17 | Implement slice-borrowing on estr-uniq and str values. | Graydon Hoare | -64/+86 | |
| 2012-04-17 | new debug flag, new test | Niko Matsakis | -1/+1 | |
| 2012-04-17 | repair LUB/GLB of free/scope regions, and enable test | Niko Matsakis | -35/+70 | |
| 2012-04-16 | rewrite region resolution so it takes place in typeck | Niko Matsakis | -875/+993 | |
| 2012-04-16 | Get explicit unique estrs working. | Graydon Hoare | -20/+22 | |
| 2012-04-15 | syntax: Cleanup attr module. Closes #1545 | Brian Anderson | -2/+2 | |
| 2012-04-15 | Forbid deinitializing upvars in typestate | Tim Chevalier | -15/+41 | |
| Closes #1965. | ||||
| 2012-04-14 | implement evec/estr subtyping/lub/glb/etc | Niko Matsakis | -7/+66 | |
| 2012-04-13 | integrate simple notion of borrowing into trans | Niko Matsakis | -19/+82 | |
| 2012-04-13 | store into the borrowings table | Niko Matsakis | -59/+61 | |
| 2012-04-13 | add initial code re: slices to borrowing, improve ty_to_str | Niko Matsakis | -0/+13 | |
| 2012-04-13 | first stab at type checking for borrow: not integrated into trans | Niko Matsakis | -333/+359 | |
| 2012-04-13 | Annotate FIXMEs in syntax::ast and syntax::ast_util | Tim Chevalier | -11/+11 | |
| The main non-comment change was to change simple_path to path, as per a FIXME in ast. | ||||
| 2012-04-12 | rustc: Fix handling of - and _ in lint pass | Brian Anderson | -1/+1 | |
| 2012-04-12 | Support general warnings and errors in lint pass via flags and attrs. Close ↵ | Graydon Hoare | -102/+216 | |
| #1543. | ||||
| 2012-04-11 | rustc: Long lines | Brian Anderson | -1/+2 | |
| 2012-04-11 | rustc: Fix typo in error message | Brian Anderson | -2/+2 | |
| 2012-04-11 | rewrite lookup_method(), lookup_method_inner(), and lookup_method_inner_() | Niko Matsakis | -302/+304 | |
| 2012-04-11 | refactor fixup_self | Niko Matsakis | -59/+88 | |
| 2012-04-11 | first attempt at an assignability check | Niko Matsakis | -61/+117 | |
| 2012-04-11 | simplify demand module | Niko Matsakis | -64/+23 | |
| 2012-04-11 | Allow classes to implement ifaces | Tim Chevalier | -72/+139 | |
| Introduce syntax like: iface animal { ... } class cat implements animal { ... } to allow classes to implement ifaces. Casting classes to ifaces is *not* yet supported. ifaces that a class implements are not yet included in metadata. The syntax is subject to change, and may go away completely if we decide to use duck typing to relate classes with ifaces (see http://smallcultfollowing.com/babysteps/blog/2012/04/10/declared-vs-duckish-typing/ ) | ||||
| 2012-04-11 | Translate slice-strings and make fixed-strings carry their null. | Graydon Hoare | -26/+35 | |
| 2012-04-11 | Improve region code surrounding slice types. | Graydon Hoare | -82/+78 | |
| 2012-04-11 | Add vstore/evec/estr to compiler. | Graydon Hoare | -60/+425 | |
| 2012-04-10 | Generic classes and generic class methods work cross-crate | Tim Chevalier | -58/+112 | |
| Classes can have ty params now. So can methods inside classes. That was probably true before, but now it should still work if you call methods in a class that's defined in a different crate. Yay! | ||||
| 2012-04-09 | make anything used in a resource body always reachable | Niko Matsakis | -1/+5 | |
| (they appear to be uncond. inlined) Fixes #2170. | ||||
| 2012-04-09 | rustc: External fns declared as fns not global variables | Haitao Li | -4/+11 | |
| Issue #2167 | ||||
| 2012-04-09 | rustc: Declare rust_start as a function | Haitao Li | -3/+1 | |
| Issue #2167 | ||||
| 2012-04-07 | Revert "Mangle exported names using node IDs rather than types" | Brian Anderson | -4/+4 | |
| This reverts commit c83d61de936f2910001fe72de01ac58479d90524. | ||||
| 2012-04-07 | Do not consider ty_bot to be a "resolved type". | Niko Matsakis | -2/+4 | |
| Fixes #2149. Fixes #2150. Fixes #2151. | ||||
