about summary refs log tree commit diff
path: root/src/rustc
AgeCommit message (Collapse)AuthorLines
2012-04-06Remove support for old-style forMarijn Haverbeke-81/+3
Closes #1619
2012-04-06Convert old-style for loops to new-styleMarijn Haverbeke-429/+431
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-06continue refactoring to remove commutativity assumptionNiko Matsakis-165/+275
and introduce more indirection where it may be needed
2012-04-06Make tps invariant for now. Fixes #1973.Niko Matsakis-8/+8
2012-04-06further refactoring away from commutativityNiko Matsakis-14/+34
2012-04-06refactor to make combine less inherently commutativeNiko Matsakis-3/+28
2012-04-06improve error messagesNiko Matsakis-39/+72
2012-04-05add static region and also fix regions to be contravariantNiko Matsakis-71/+114
2012-04-05utilities for indented logsNiko Matsakis-0/+18
2012-04-05rustc: Don't assume that all crates with the same name are the sameBrian Anderson-21/+59
2012-04-05Explicitly use version 0.2 of cratesBrian Anderson-6/+13
2012-04-05Mangle exported names using node IDs rather than typesTim Chevalier-10/+9
Use node IDs rather than types to ensure exported names are unique. duplicate symbol. Closes #2074.
2012-04-05simplify typing rule for vector addition: use mutability of LHSNiko Matsakis-13/+417
2012-04-05Print "expected a record with field..." fields in the right orderTim Chevalier-9/+12
Because terr_record_mismatch was getting called by infer::flds, which takes types a and b where it's trying to prove a <: b, the expected and actual fields were switched. Fixed it. Closes #2094
2012-04-04wip: refactor repr of regionsNiko Matsakis-946/+1319
- we now distinguish bound/free parameters (see region-param test case for why this is necessary) - we also track bounds on region variables - also, restructure fold_ty() to have multiple variants without duplication instead of one overloaded folder. This also allows for using block functions.
2012-04-04refactor to condense common usage patternNiko Matsakis-33/+25
2012-04-04Make nonconstructable enums noncopyable, close #1907.Graydon Hoare-6/+11
2012-04-04rustc: Don't allow recursive constantsBrian Anderson-6/+68
2012-04-04rustc: Allow consts to refer to other constsBrian Anderson-6/+44
2012-04-03std: Rename result::methods to result::extensionsErick Tryzelaar-2/+2
2012-04-03std: change timeval to ns resolution timespecErick Tryzelaar-4/+4
This lets us use the more precise clock_gettime on posix machines.
2012-04-03std: change time::timeval to be {sec: i64, usec: i32}.Erick Tryzelaar-1/+1
It's possible to have negative times if expressing time before 1970, so we should use signed types. Other platforms can return times at a higher resolution, so we should use 64 bits.
2012-04-03Monomorphize class constructors, support generic classes and class methodsTim Chevalier-114/+152
Allow class methods to have type parameters (this is a change from the original classes proposal). Add test cases for classes with type parameters, and classes with methods that have their own type parameters.
2012-04-03Output type sizes in reinterpret_cast error messageMarijn Haverbeke-6/+8
Closes #2095
2012-04-03Ensure method names in iface and impl items are uniqueMarijn Haverbeke-8/+10
Closes #2114
2012-04-02Construct new strings through upcalls.Graydon Hoare-8/+7
2012-04-02Rename some core::option functionsTim Chevalier-36/+36
from_maybe => get_with_default maybe => with_option may => with_option_do I know these names are kind of ridiculous, but it's the best I could think of. Feel free to bikeshed. Closes #2081
2012-04-02Remove redundant **tydesc gepi/load pair in call_tydesc_glue_full.Graydon Hoare-3/+1
2012-04-01Fixing issue 1919. list_dir is the more general version that returns a ↵Jonathan Sternberg-1/+1
vector with the contents of the directory. list_dir_path contains the old behavior (as a convenience function).
2012-03-30rustc: Convert some error logs to debugBrian Anderson-2/+2
2012-03-30Change a span_err back to span_fatalMarijn Haverbeke-1/+1
Closes #2073
2012-03-29add some comments explaining how the tables workNiko Matsakis-0/+35
2012-03-29refactor to store the types during inference in tables in the fcxNiko Matsakis-177/+351
this is a step towards separating out the repr. of types during inference from the repr. in later stages.
2012-03-29generate correct constraints for assignmentsNiko Matsakis-2/+2
2012-03-29resolve type variables with no constraints to botNiko Matsakis-4/+12
2012-03-29rustc: Generate fewer landing padsBrian Anderson-5/+34
2012-03-29rustc: Only invoke when there are cleanupsBrian Anderson-17/+63
2012-03-29rustc: Delete some unused invoke codeBrian Anderson-21/+3
2012-03-29rustc: Don't generate landing pad cleanups for boxy thingsBrian Anderson-10/+89
2012-03-29rustc: Move ext to librustsyntaxBrian Anderson-2803/+2
2012-03-29rustc: Remove the rustsyntax::attr wrapper in frontBrian Anderson-24/+21
2012-03-29rustc: CleanupBrian Anderson-9/+2
2012-03-29rustc: Move attr, parse, print to rustsyntaxBrian Anderson-5718/+12
2012-03-29rustc: Move lexer and token to rustsyntaxBrian Anderson-950/+7
2012-03-29rustc: Remove the session dependency from front::attrBrian Anderson-6/+7
2012-03-29rustc: Add an accessor to get the diagnostic handler from the sessionBrian Anderson-0/+3
2012-03-29rustc: Move diagnostic to rustsyntaxBrian Anderson-257/+5
2012-03-29rustc: Move fold to rustsyntaxBrian Anderson-773/+3