summary refs log tree commit diff
path: root/src
AgeCommit message (Collapse)AuthorLines
2012-03-28Fix long line. release-0.2 0.2Graydon Hoare-1/+2
2012-03-28refactor so that pretty mode tests also run aux-build. Fixes #2060.Niko Matsakis-14/+27
2012-03-28test: Un-XFAIL regions-mock-trans.rs and regions-mock-trans-impls.rsPatrick Walton-4/+0
2012-03-28Tidy up multiple declarations and STDC_FOO_MACROS guards in headers.Graydon Hoare-72/+33
2012-03-28rustc: Universally quantify regions when calling functions. Un-XFAIL ↵Patrick Walton-120/+106
regions-addr-of-ret.rs.
2012-03-28Allow references to "self" within classesTim Chevalier-33/+82
Allow writing self.f within a class that has a field f. Currently, the compiler accepts either self.f or f. In a future commit I'll require writing self.f and not f. Not sure whether self.f() works if f is a method (making sure that works next).
2012-03-28Fix some gcc-4.4-isms, should build now on 4.1+.Graydon Hoare-2/+10
2012-03-28Update crate URLs to point to interesting things.Graydon Hoare-6/+6
2012-03-28Update CC fuzzerJesse Ruderman-2/+2
2012-03-28Update AST fuzzerJesse Ruderman-10/+5
2012-03-28python scripts run with Python 2.4 (for RHEL5)Grahame Bowland-6/+12
2012-03-28Test case to make sure typestate checks the body of class constructorsTim Chevalier-0/+23
2012-03-28Make sure type_use.rs doesn't get lost in recursive enumsMarijn Haverbeke-7/+12
Closes #2059
2012-03-27Enforce mutability declarations in classes; correct shapes for classesTim Chevalier-40/+187
1. Enforce mutability declarations on class fields. Don't allow any mutation of class fields not declared as mutable (except inside the constructor). 2. Handle classes correctly in shape (treat classes like records).
2012-03-27make type_kind exhaustive, add an entry for type_self (in particular)Niko Matsakis-1/+3
2012-03-27emacs: Make 'mut' a keywordBrian Anderson-1/+1
2012-03-27core: Rename iter::to_list to to_vec. Closes #2056Brian Anderson-11/+11
2012-03-27rust: Remove extensions' dependency on the sessionBrian Anderson-12/+10
2012-03-27Emergency safe-ref-checker maintenanceMarijn Haverbeke-82/+92
It still has some big problems, but at least it more or less understands block arguments now. Closes #1925
2012-03-27Move some code over to iterator-for to see how it performs.Marijn Haverbeke-180/+194
2012-03-27Register new snapshotMarijn Haverbeke-0/+8
2012-03-27Add vec::each, vec::eachi, and list::eachMarijn Haverbeke-1/+49
For use with the new for construct. Issue #1619
2012-03-27Support returning from loop blocksMarijn Haverbeke-51/+243
The code is somewhat invasive, but it seems hard to do this in a clean way, since the design itself involves a bunch of 'action at a distance'. Issue #1819
2012-03-27Support an alternate for syntax that calls a higher-order functionMarijn Haverbeke-78/+123
The last argument of the call must be a block, and the type of this argument must a function returning bool. `break` and `cont` are supported in the body of the block, and return `false` or `true` from the function. When the end of the function is reached, `true` is implicitly returned. for vec::all([1, 2, 3]) {|elt| if elt == 2 { break; } log(error, elt); } Issue #1619
2012-03-26Register new snapshots.Graydon Hoare-0/+8
2012-03-26Bulk-edit mutable -> mut.Graydon Hoare-742/+742
2012-03-26Disable some advanced (post glibc-2.3) libuv features when building snaps.Graydon Hoare-1/+1
2012-03-26rustc: Begin eliminating ext's dependency on the sessionBrian Anderson-54/+67
2012-03-26rustc: Move eval_const_expr to its own modBrian Anderson-178/+180
2012-03-26rustc: Combine and unify regionsPatrick Walton-37/+88
2012-03-26rustc: "unkown" -> "unknown"Patrick Walton-1/+1
2012-03-26rustc: Fix typo in inferPatrick Walton-1/+1
2012-03-26rustc: Remove obsolete FIXME in inferPatrick Walton-3/+0
2012-03-26rustc: Generalize resolve_var to work with regions tooPatrick Walton-15/+12
2012-03-26Merge pull request #2054 from j3parker/masterBrian Anderson-2/+3
Minor fixes
2012-03-26In typeck, don't call ty::store_iface_methods on private methodsTim Chevalier-3/+37
This was resulting in a different error message depending on whether the private method you were trying to call was in the same crate or a different one.
2012-03-26Improve type inference to compute LUB/GLBNiko Matsakis-184/+765
2012-03-26Remove stray commentTim Chevalier-9/+0
2012-03-26Enforce privacy declarations for class fields and methodsTim Chevalier-58/+185
2012-03-26Fix return-in-block in cargoMarijn Haverbeke-6/+4
Which is apparently not built as part of make check
2012-03-26Check in a forgotten new fileMarijn Haverbeke-0/+54
2012-03-26Disallow ret inside of block functionsMarijn Haverbeke-150/+152
Also adds proper checking for cont/break being inside a loop. Closes #1854 Issue #1619
2012-03-26Fix bug in generation of non-generic resource dtorsMarijn Haverbeke-1/+1
Issue #1944
2012-03-25repair the build---also, make try/commit work over both ty/region varsNiko Matsakis-17/+34
2012-03-25Fixed vim highlighting for \' (and other) escapes in char literalsJacob Parker-2/+3
2012-03-24rustc: Generalize several parts of infer in preparation for using them for ↵Patrick Walton-94/+97
region bounds as well
2012-03-24correct more broken testsNiko Matsakis-12/+20
2012-03-24add test that was failing from tedhNiko Matsakis-0/+11
2012-03-24add annotation for variable that used to infer to botNiko Matsakis-1/+1
2012-03-24Avoid unifying vars when possible; handle bot (more) correctlyNiko Matsakis-32/+116