summary refs log tree commit diff
path: root/src/rustc/metadata/creader.rs
AgeCommit message (Collapse)AuthorLines
2012-07-04convert doc-attributes to doc-comments using ↵Gareth Daniel Smith-5/+1
./src/etc/sugarise-doc-comments.py (and manually tweaking) - for issue #2498
2012-07-03Switch 'native' to 'extern' (or 'foreign' in some descriptions)Graydon Hoare-2/+2
2012-07-01Convert to new closure syntaxBrian Anderson-9/+9
2012-06-30Eliminate usages of old sugared call syntaxBrian Anderson-2/+2
2012-06-29Switch the compiler over to using ~[] notation instead of []/~. Closes #2759.Michael Sullivan-12/+12
2012-06-28Replaced almost all vector+ in rustc (#2719)Eric Holk-1/+1
Didn't update shape because the changes were causing segfaults.
2012-06-26Change 'native' and 'crust' to 'extern'.Graydon Hoare-7/+7
This comes with a terminology change. All linkage-symbols are 'extern' now, including rust syms in other crates. Some extern ABIs are merely "foreign". The term "native" is retired, not clear/useful. What was "crust" is now "extern" applied to a _definition_. This is a bit of an overloading, but should be unambiguous: it means that the definition should be made available to some non-rust ABI.
2012-06-25Make vectors uglier ([]/~). Sorry. Should be temporary. Closes #2725.Michael Sullivan-11/+11
2012-06-21Tag all remaining FIXMEs with bugs. Install rule in tidy script to enforce this.Graydon Hoare-2/+2
2012-06-20Remove bind. Issue #2189Brian Anderson-2/+2
2012-06-13Box AST identsBrian Anderson-18/+18
2012-06-06move to dvec in metadataNiko Matsakis-13/+16
2012-05-29rustc: Move filesearch into metadata modBrian Anderson-1/+1
It's not that related to metadata, but metadata needs it and it will probably be useful for doing dynamic loading.
2012-05-22rustc: Eliminate metadata's dependency on sessionBrian Anderson-20/+32
2012-05-22rustc: Eliminate some session deps from metadata::loaderBrian Anderson-2/+10
2012-05-17Annotate or fix FIXMEs in LLVM bindings and metadata codeTim Chevalier-0/+1
Fixed up a few FIXMEs in lib/llvm to use more descriptive data types. Covered FIXMEs in metadata::{creader, csearch, decoder} and one in encoder.
2012-05-15rustc: Extract loader mod from creader modBrian Anderson-199/+10
loader is a utility for locating crates and loading their metadata. creader is a compiler pass that loads metadata for all used libraries.
2012-04-30Stop inferring bot/static when types/regions are unconstrained.Niko Matsakis-4/+4
Also, some other changes that came up along the way: - add a 'blk' region for the current block. - detect unused type/region variables.
2012-04-15syntax: Cleanup attr module. Closes #1545Brian Anderson-5/+6
2012-04-09rustc: Add more creader loggingBrian Anderson-0/+17
2012-04-08Check metadata hash when loading transitive dependent cratesHaitao Li-24/+33
Fix issue #2138
2012-04-08Check version when resolving transitive dependent cratesHaitao Li-6/+12
Issue #2138
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-06Convert old-style for loops to new-styleMarijn Haverbeke-4/+4
Most could use the each method, but because of the hack used to disambiguate old- and new-style loops, some had to use vec::each. (This hack will go away soon.) Issue #1619
2012-04-06rustc: Warn when linking to multiple versions of the same crateBrian Anderson-23/+67
This is not something most people want to be doing and may be a source of error.
2012-04-06rustc: Fail when there are multiple matches for 'use'Brian Anderson-6/+28
2012-04-05rustc: Don't assume that all crates with the same name are the sameBrian Anderson-21/+59
2012-03-29rustc: Remove the rustsyntax::attr wrapper in frontBrian Anderson-1/+1
2012-03-29rustc: Remove the session dependency from front::attrBrian Anderson-1/+1
2012-03-26Bulk-edit mutable -> mut.Graydon Hoare-2/+2
2012-03-21add mut decls to rustc and make them mandatoryNiko Matsakis-1/+1
2012-03-19core: Move unsafe conversions to str::unsafeBrian Anderson-1/+1
2012-03-14Convert *u8 native string users to *c_charBrian Anderson-3/+3
2012-03-14core: Rename str::from_cstr et. al to from_bufBrian Anderson-1/+1
2012-03-14std: Rename the hashmap constructors to conform to new standardsBrian Anderson-3/+3
Instead of using the new_ prefix just name them after their type
2012-03-12Libc/os/run/rand/io reorganization. Close #1373. Close #1638.Graydon Hoare-2/+1
- Move io, run and rand to core. - Remove incorrect ctypes module (use libc). - Remove os-specific modules for os and fs. - Split fs between core::path and core::os.
2012-03-08Rename last to last_opt, last_unsafe to lastTim Chevalier-1/+1
As per discussion on IRC. I am about to file an RFC for further discussion about the more general issue of whether to enforce invariants through types, typestate, or dynamic checks, but for now, removing the misleading name "last_unsafe".
2012-03-05rustc: Lower case error messagesBrian Anderson-1/+1
2012-03-02Move src/comp to src/rustcGraydon Hoare-0/+307