| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2011-12-06 | Establish 'core' library separate from 'std'. | Graydon Hoare | -835/+0 | |
| 2011-11-30 | Fix typo in stdlib docs. | Lindsey Kuper | -1/+1 | |
| 2011-11-21 | Separate vec::map and vec::map_mut | Marijn Haverbeke | -1/+13 | |
| The safe-reference checker requires a copy of each mapped-over element only when the vector is mutable. Let's not pay that cost for immutable vectors. | ||||
| 2011-11-18 | Update stdlib, compiler, and tests to new kind system | Marijn Haverbeke | -44/+38 | |
| This involved adding 'copy' to more generics than I hoped, but an experiment with making it implicit showed that that way lies madness -- unless enforced, you will not remember to mark functions that don't copy as not requiring copyable kind. Issue #1177 | ||||
| 2011-11-18 | Implement a last-use-of-local finding algorithm | Marijn Haverbeke | -2/+2 | |
| Issue #925 | ||||
| 2011-11-17 | remove compile-command from local variable blocks | Niko Matsakis | -1/+0 | |
| 2011-11-16 | Replace 'mutable?' with 'const' | Brian Anderson | -31/+31 | |
| 2011-11-16 | Use attributes for native module ABI and link name | Haitao Li | -2/+4 | |
| This patch changes how to specify ABI and link name of a native module. Before: native "cdecl" mod llvm = "rustllvm" {...} After: #[abi = "cdecl"] #[link_name = "rustllvm"] native mod llvm {...} The old optional syntax for ABI and link name is no longer supported. Fixes issue #547 | ||||
| 2011-11-09 | Rename "c-stack-cdecl" ABI to "cdecl" | Brian Anderson | -1/+1 | |
| 2011-11-04 | vec: take [mutable? T] instead of [T] | Elly Jones | -2/+2 | |
| 2011-11-02 | Add vec::permute to the standard library (#1013) | Matt Brubeck | -0/+25 | |
| 2011-10-29 | stdlib: Add vec::concat to concatenate a vector of vectors | Brian Anderson | -0/+13 | |
| Compare to str::concat | ||||
| 2011-10-28 | stdlib: Add vec::init. Returns all but the last element. | Brian Anderson | -1/+17 | |
| Per haskell, to go with head/tail, and last. | ||||
| 2011-10-27 | Add std::vec::foldr | Brian Anderson | -1/+14 | |
| 2011-10-27 | Add reverse iterators to std::vec | Brian Anderson | -0/+29 | |
| 2011-10-27 | Remove std::vec::eachi. Same function as iter2. | Brian Anderson | -24/+11 | |
| 2011-10-27 | Implement vec::foldl without recursion | Brian Anderson | -6/+6 | |
| 2011-10-27 | Add std::vec::iter | Brian Anderson | -1/+12 | |
| 2011-10-27 | Make vec::reversed take [mutable? T] | Brian Anderson | -1/+1 | |
| 2011-10-27 | Make std:vec::grow_fn take an init_op type | Brian Anderson | -2/+2 | |
| 2011-10-27 | Reorder std::vec so the documentation renders better | Brian Anderson | -34/+35 | |
| Put all types first, then predicates, then functions | ||||
| 2011-10-27 | Convert various functions in std to take lambda blocks | Brian Anderson | -3/+3 | |
| 2011-10-26 | Add more std documentation | Brian Anderson | -1/+6 | |
| 2011-10-25 | Begin documenting std and add doc generation using naturaldocs | Brian Anderson | -21/+366 | |
| Naturaldocs isn't really that great but it seems easier to get something working than with doxygen, for which we would need to convert rust code to something C++ish. We probably want to just write a rustdoc utility at some point. | ||||
| 2011-10-25 | Update our code to new type parameter kind syntax | Marijn Haverbeke | -37/+37 | |
| Closes #1067 | ||||
| 2011-10-24 | remove unused task ptr arg | Niko Matsakis | -7/+5 | |
| 2011-10-24 | purge log_err | Niko Matsakis | -1/+0 | |
| 2011-10-24 | update vec libs to use c-stack-cdecl calling convention | Niko Matsakis | -6/+14 | |
| 2011-10-21 | Remove last uses of iterators from stdlib | Marijn Haverbeke | -2/+2 | |
| Issue #1056 | ||||
| 2011-10-20 | Make fn denote a bare function. Convert fn to fn@ as needed | Brian Anderson | -1/+1 | |
| 2011-10-17 | Don't unify from mutable? to immutable | Brian Anderson | -2/+2 | |
| Immutable is supposed to be a subtype of mutable-huh. | ||||
| 2011-10-12 | reimplement some of the unsafe stuff which got lost | Niko Matsakis | -7/+5 | |
| - blocks inherit unsafety - remove the --check-unsafe flag - add unsafe annotations where needed to get things to compile | ||||
| 2011-10-12 | Add unsafe blocks, unsafe functions, and two rudimentary tests | Niko Matsakis | -1/+3 | |
| related to them | ||||
| 2011-10-10 | Make vectors and strings immediates again | Marijn Haverbeke | -1/+1 | |
| There's no good reason to force them to be spilled anymore. Some pieces of trans become more elegant this way, and less stack allocs and load/stores are needed. Issue #1021 | ||||
| 2011-10-07 | Give up on providing a by-value version of map, convert fold over to | Marijn Haverbeke | -11/+0 | |
| passing pointers by ref Issue #1008 | ||||
| 2011-10-07 | Parse and typecheck by-value and by-ref arg specs | Marijn Haverbeke | -0/+11 | |
| Add sprinkle && throughout the compiler to make it typecheck again. Issue #1008 | ||||
| 2011-09-29 | stdlib: Add vec::eachi to the standard library | Patrick Walton | -0/+10 | |
| 2011-09-27 | Don't ever raise unique kinds of pinned kinds to shared (again) | Brian Anderson | -3/+3 | |
| So *resource, ~resource, [resource] are all pinned. This is counter to the design of the kind system, but this way is a much clearer path to type safety. Once we've established a good baseline with lots of tests, then we can try to make raising pinned kinds work. | ||||
| 2011-09-24 | Mark vec::len as pure | Jesse Ruderman | -4/+2 | |
| 2011-09-24 | Vectors containing pinned kinds become pinned | Brian Anderson | -1/+1 | |
| Otherwise they could be copied | ||||
| 2011-09-23 | Add vec::filter | Jesse Ruderman | -0/+11 | |
| 2011-09-12 | Factor imports mindlessly. | Graydon Hoare | -2/+1 | |
| 2011-09-12 | Pretty-print for new arg-mode syntax | Marijn Haverbeke | -9/+9 | |
| 2011-09-12 | Reformat for new mode syntax, step 1 | Marijn Haverbeke | -40/+39 | |
| Long lines were fixed in a very crude way, as I'll be following up with another reformat in a bit. | ||||
| 2011-09-02 | Reformat. Issue #855 | Brian Anderson | -22/+9 | |
| 2011-09-02 | Rename std::vec::unsafe::ivec_repr to vec_repr. Issue #855 | Brian Anderson | -5/+5 | |
| 2011-08-30 | Add a total version of vec::last that has a precondition | Tim Chevalier | -0/+5 | |
| 2011-08-30 | Add a precondition on vec::zip | Tim Chevalier | -2/+35 | |
| vec::zip now has the precondition that the two argument vectors are the same length. Changed uses of it to reflect that. Also added a few vector-enumerating utilities to vec.rs, which necessitated in making some functions in u8 declared-pure. | ||||
| 2011-08-29 | Implement non-internal ivecs | Marijn Haverbeke | -33/+21 | |
| Vectors are now similar to our old, pre-internal vectors, except that they are uniquely owned, not refcounted. Their name should probably change too, then. I've renamed them to vec in the runtime, will do so throughout the compiler later. | ||||
| 2011-08-25 | Change "pred" to "pure fn" in all libraries and test cases | Tim Chevalier | -2/+2 | |
