about summary refs log tree commit diff
path: root/src
AgeCommit message (Collapse)AuthorLines
2011-12-16std: declared fns as pure where sensibleStefan Plantikow-8/+9
2011-12-16core: marked fns as pure where possibleStefan Plantikow-14/+14
2011-12-16update to not look at descs[], which is not necessarily validNiko Matsakis-8/+10
if the input is a statically allocated type_desc
2011-12-16add test that requires capturing generic descriptorsNiko Matsakis-0/+36
2011-12-16first test of sendable fns (passes)Niko Matsakis-0/+20
2011-12-16revoke cleanup of sendable closure once construction completesNiko Matsakis-0/+1
2011-12-16extend with ty_send_type and ty_opaque_closureNiko Matsakis-2/+11
2011-12-16reorder block() argument to bitv::process()Niko Matsakis-4/+4
2011-12-16std: added either::flip, to_result and result::to_eitherStefan Plantikow-3/+35
2011-12-16rename iter2 to iteri to match typical conventionNiko Matsakis-13/+13
2011-12-16reorder args to the various vec, option fns so blk comes lastNiko Matsakis-169/+170
2011-12-16Write impl data to crate library filesMarijn Haverbeke-1/+41
(No one is actually reading it yet.) Issue #1227
2011-12-16Make polymorphic impl methods workMarijn Haverbeke-56/+82
Something will still have to be done to the AST to make it possible to say `x.foo::<int>()`, since currently field access never allows type parameters. Issue #1227
2011-12-16Change syntax for implMarijn Haverbeke-20/+34
Move the name of the bundle to the front, allow type parameters (not handled yet), and add a 'for' keyword: impl utils for int { fn str() -> str { int::str(self) } fn times(f: block()) { ... } }
2011-12-16Make 1.f parse as a field access on the integer 1Marijn Haverbeke-8/+8
A dot is only considered part of a number when not followed by a letter Closes #1306
2011-12-16Improve resolution of implsMarijn Haverbeke-18/+33
Issue #1227
2011-12-16Make uses of self in impls compileMarijn Haverbeke-203/+137
Get rid of expr_self_call, introduces def_self. `self` is now, syntactically, simply a variable. A method implicitly brings a `self` binding into scope. Issue #1227
2011-12-16Get very simple impl method calls to compileMarijn Haverbeke-60/+103
Resolution is still dumb, and no self support yet.
2011-12-16Get a very primitive form of typechecking/resolving to work for implsMarijn Haverbeke-62/+93
No conflict resolution or polymorphism yet. Issue #1227
2011-12-16Parse and resolve implementations.Marijn Haverbeke-81/+261
Issue #1227
2011-12-16cargo: Fix long linesHaitao Li-6/+11
2011-12-16rustc: Implement non-renamed re-export across cratesHaitao Li-38/+108
First patch for issue #1115. Not yet ready for re-exported modules which are renamed when importing them.
2011-12-15Merge pull request #1314 from elly/cargoBrian Anderson-0/+36
Cargo: install-by-name and install-by-uuid
2011-12-15cargo: update to new rust-pkg-index API.Elly Jones-2/+2
2011-12-15stdlib: Add a str::split_str() to split on a delimiter string of any lengthPatrick Walton-5/+55
2011-12-15cargo: support uuid:<uuid> and shortname package forms.Elly Jones-0/+36
'cargo install rustcrypto' now works.
2011-12-15rustc: Box tag variants to avoid copiesBrian Anderson-5/+5
2011-12-15rustc: Box the vectors returned from ty::tag_variantsBrian Anderson-37/+39
2011-12-15rustc: Cache results of ty::tag_variantsBrian Anderson-5/+16
2011-12-15Add an --out-dir option to rustc.Graydon Hoare-34/+70
2011-12-15Merge pull request #1307 from elly/cargoBrian Anderson-4/+5
cargo: detect library installs properly
2011-12-15restore old buggy behavior where n_obj_params is always 0 for fnsNiko Matsakis-1/+9
2011-12-15massive refactor of how closures workNiko Matsakis-552/+683
2011-12-15resurrect tps_fn() and put it to use this time.Niko Matsakis-3/+5
2011-12-15Fix bug in library output filename construction: /tmp/foo.rc was being ↵Graydon Hoare-1/+11
linked as lib/tmp/foo-<hash>-<vers>.so not /tmp/foo-<hash>-<vers>.so
2011-12-15cargo: detect library installs properlyElly Jones-4/+5
2011-12-15Suppress unused variable warnings in cargoMarijn Haverbeke-1/+1
2011-12-15Iterate over an array when creating the parser's reserved word tableMarijn Haverbeke-38/+8
2011-12-15Don't try to look up crate modules in ext_map in resolveMarijn Haverbeke-1/+1
Closes #1305
2011-12-14Remove some duplicated unused parts of std now that they're present in core.Graydon Hoare-3936/+3
2011-12-14remove unused tps_fn(); comment out unused varNiko Matsakis-4/+3
2011-12-14Fixed type resolution error in math testsStefan Plantikow-8/+70
2011-12-14Moved std::math to std::coreStefan Plantikow-33/+789
- merges math and float into core::float - Splits core::ctypes into core::ctypes and core::mtypes - cmath is not exported - stdtest::math passes
2011-12-14std: export math_f* as math::f* submods and use tailcalls in std::mathStefan Plantikow-41/+45
2011-12-14refactor trans into trans_closure; restore original closure reprNiko Matsakis-415/+442
2011-12-14treat native fns as shared closuresNiko Matsakis-0/+1
2011-12-14insert a field into the closure storing number of ty descsNiko Matsakis-19/+24
2011-12-14pull out the code from iter_structural_ty for handling functions,Niko Matsakis-29/+55
as we will have to do very careful and non-generic things
2011-12-14treat different kinds of closures differentlyNiko Matsakis-19/+53
2011-12-14export upcall_clone_type_descNiko Matsakis-2/+3