about summary refs log tree commit diff
path: root/src/rustc
AgeCommit message (Collapse)AuthorLines
2012-04-18Add a needs_drop intrinsicMarijn Haverbeke-1/+6
Closes #2055
2012-04-18Fix use of wrong block context in return-from-loop codeMarijn Haverbeke-2/+2
Closes #2142
2012-04-17Implement slice-borrowing on estr-uniq and str values.Graydon Hoare-64/+86
2012-04-17new debug flag, new testNiko Matsakis-9/+16
2012-04-17repair LUB/GLB of free/scope regions, and enable testNiko Matsakis-35/+70
2012-04-17change printout to be what users will expectNiko Matsakis-1/+7
2012-04-16rewrite region resolution so it takes place in typeckNiko Matsakis-883/+995
2012-04-16Get explicit unique estrs working.Graydon Hoare-23/+31
2012-04-16rustc: Resolve external impls defined in yet other crates. Issue #2196Brian Anderson-6/+17
2012-04-16rustc: -L also indicates the location of native librariesBrian Anderson-0/+16
-L currently specifies paths to search for Rust crates Building crates that use native libraries is difficult. When the library is located somewhere unexpected there is no way to tell rustc additional paths to look in. If libclang is located at `.` then rustc is not going to know that and linking will fail. To get around that I often end up inserting #[link_args = "-L."] native mod m { } into other crates to get them to build. Now you just `rustc -L .` and it builds. This doesn't do any rpathing so it's still up to somebody else to put the library somewhere it will be found or use LD_LIBRARY_PATH This feature comes with a single, XFAILed test, because I could not think of a way to test it. Odd.
2012-04-15syntax: Cleanup attr module. Closes #1545Brian Anderson-10/+11
2012-04-15Forbid deinitializing upvars in typestateTim Chevalier-15/+41
Closes #1965.
2012-04-14implement evec/estr subtyping/lub/glb/etcNiko Matsakis-7/+66
2012-04-13rustc: Don't hardcode -lmBrian Anderson-3/+0
It does not appear to serve a purpose
2012-04-13integrate simple notion of borrowing into transNiko Matsakis-19/+82
2012-04-13store into the borrowings tableNiko Matsakis-59/+61
2012-04-13add initial code re: slices to borrowing, improve ty_to_strNiko Matsakis-8/+46
2012-04-13use find not echo; this also brings fuzzer under the iron fist of tidy.py!Niko Matsakis-1/+1
2012-04-13first stab at type checking for borrow: not integrated into transNiko Matsakis-342/+386
2012-04-13Annotate FIXMEs in syntax::ast and syntax::ast_utilTim Chevalier-14/+15
The main non-comment change was to change simple_path to path, as per a FIXME in ast.
2012-04-12rustc: Fix handling of - and _ in lint passBrian Anderson-1/+1
2012-04-12Support general warnings and errors in lint pass via flags and attrs. Close ↵Graydon Hoare-118/+237
#1543.
2012-04-11rustc: Long linesBrian Anderson-1/+2
2012-04-11rustc: Fix typo in error messageBrian Anderson-2/+2
2012-04-11rewrite lookup_method(), lookup_method_inner(), and lookup_method_inner_()Niko Matsakis-302/+304
2012-04-11refactor fixup_selfNiko Matsakis-59/+88
2012-04-11first attempt at an assignability checkNiko Matsakis-61/+117
2012-04-11simplify demand moduleNiko Matsakis-64/+23
2012-04-11Allow classes to implement ifacesTim Chevalier-76/+143
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-11Translate slice-strings and make fixed-strings carry their null.Graydon Hoare-26/+35
2012-04-11Improve region code surrounding slice types.Graydon Hoare-82/+78
2012-04-11Add enough tyencode stuff to stop faulting when we hit error messages.Graydon Hoare-2/+45
2012-04-11Add vstore/evec/estr to compiler.Graydon Hoare-60/+427
2012-04-10Generic classes and generic class methods work cross-crateTim Chevalier-72/+153
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-09make anything used in a resource body always reachableNiko Matsakis-1/+5
(they appear to be uncond. inlined) Fixes #2170.
2012-04-09rustc: Add more creader loggingBrian Anderson-0/+17
2012-04-09rustc: External fns declared as fns not global variablesHaitao Li-4/+11
Issue #2167
2012-04-09rustc: Declare rust_start as a functionHaitao Li-3/+1
Issue #2167
2012-04-08Check metadata hash when loading transitive dependent cratesHaitao Li-24/+33
Fix issue #2138
2012-04-08Remove a FIXME note about closed issue #1001Haitao Li-1/+0
2012-04-07rustc: Hash the CMH into symbol namesBrian Anderson-2/+1
2012-04-07rustc: Append the crate version to symbolsBrian Anderson-4/+2
2012-04-07Revert "Mangle exported names using node IDs rather than types"Brian Anderson-9/+10
This reverts commit c83d61de936f2910001fe72de01ac58479d90524.
2012-04-07Do not consider ty_bot to be a "resolved type".Niko Matsakis-2/+4
Fixes #2149. Fixes #2150. Fixes #2151.
2012-04-08Check version when resolving transitive dependent cratesHaitao Li-6/+12
Issue #2138
2012-04-08Encode crate dependencies' hash and version dataHaitao Li-26/+57
2012-04-07Refactor inference so that subtyping/lub/glb share more codeNiko Matsakis-645/+435
2012-04-07Use version and hash in crate_map nameHaitao Li-6/+24
Related issue #2137
2012-04-07Use real crate name in crate_map nameHaitao Li-1/+5
`use` statement may introduce an crate name alias. This patch always uses the link attrbute "name" as the crate's name when building the crate map. Closes #1706
2012-04-06Re-rename option functionsTim Chevalier-38/+38
get_with_default (nee from_maybe) => get_default with_option (nee maybe) => map_default with_option_do (nee may) => iter As per discussion of 21be1379d561b6679a8a2ea47dce88f948c5acca