about summary refs log tree commit diff
path: root/src
AgeCommit message (Collapse)AuthorLines
2011-10-28Move to short type parameter keywordsMarijn Haverbeke-24/+24
Issue #1076
2011-10-28Register snapshotMarijn Haverbeke-0/+5
2011-10-28Move to short kind kinds words in test suiteMarijn Haverbeke-39/+39
Issue #1076
2011-10-28Start accepting short keywords for parameter kindsMarijn Haverbeke-3/+5
This is a pre-snapshot commit to be able to implement #1076 without the bootstrap compiler getting in my way.
2011-10-27Remove whitespaceBrian Anderson-2/+2
2011-10-27Add std::vec::foldrBrian Anderson-1/+24
2011-10-27Add a test for std::vec::iter2Brian Anderson-0/+11
2011-10-27Add reverse iterators to std::vecBrian Anderson-0/+57
2011-10-27Remove std::vec::eachi. Same function as iter2.Brian Anderson-24/+11
2011-10-27Implement vec::foldl without recursionBrian Anderson-6/+16
2011-10-27Add std::vec::iterBrian Anderson-1/+26
2011-10-27Remove std::int::eq_aliasBrian Anderson-3/+0
This is the exact same function as int::eq
2011-10-27Make option::is_some option::is_none pureBrian Anderson-2/+2
2011-10-27Make vec::reversed take [mutable? T]Brian Anderson-1/+8
2011-10-27Make std:vec::grow_fn take an init_op typeBrian Anderson-2/+2
2011-10-27Reorder std::vec so the documentation renders betterBrian Anderson-34/+35
Put all types first, then predicates, then functions
2011-10-27Convert various functions in std to take lambda blocksBrian Anderson-5/+5
2011-10-27Document std::bitvBrian Anderson-3/+125
2011-10-27Add more std docsBrian Anderson-27/+145
2011-10-27Use the std::term color constants in the codemapBrian Anderson-3/+3
Exported constants work now. Woo!
2011-10-27Remove uint::max/min in favor if math::max/minMatt Brubeck-9/+7
2011-10-27Add documentation to std::uintMatt Brubeck-10/+73
2011-10-27Add std documentation for float and u8 functionsMatt Brubeck-0/+41
2011-10-27Mark uint add/sub/mul/div/rem functions as pureMatt Brubeck-5/+5
2011-10-27Add function aliases for float operatorsMatt Brubeck-0/+30
2011-10-27Add tests for the 'as' (cast) operatorMatt Brubeck-0/+269
2011-10-27Add more std docsBrian Anderson-7/+164
2011-10-27Cleanup in std::taskBrian Anderson-14/+14
2011-10-27More std docsBrian Anderson-3/+26
2011-10-26Remove task::join_idBrian Anderson-32/+0
This is the old, racy way of joining to a task. It is no longer used.
2011-10-26Add more std documentationBrian Anderson-80/+858
2011-10-26Add more std documentationBrian Anderson-20/+211
2011-10-25Begin documenting std and add doc generation using naturaldocsBrian Anderson-109/+1114
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-25Properly take mutable object fields into account during alias analysisMarijn Haverbeke-29/+35
Closes #1055
2011-10-25Update our code to new type parameter kind syntaxMarijn Haverbeke-288/+289
Closes #1067
2011-10-25Remove support for @/~-style type param kind annotationMarijn Haverbeke-9/+2
Issue #1067
2011-10-25Register new snapshotMarijn Haverbeke-0/+5
2011-10-25Step one towards new type param kind syntaxMarijn Haverbeke-5/+9
Issue #1067 Needs a snapshot to finalize.
2011-10-24Fix long linesBrian Anderson-1/+2
2011-10-24fix c-stack-cdecl when used w/ i64Niko Matsakis-5/+40
2011-10-24kill errant log_errNiko Matsakis-2/+0
2011-10-24remove (unused) fn rust_list_files from win32_fs; that isNiko Matsakis-1/+0
defined in fs.rs
2011-10-24switch over sqrt from llvm to c-stack-cdecl, exposing a bug inNiko Matsakis-9/+31
the supported return types of upcall_c_stack
2011-10-24add implicit ctxNiko Matsakis-1/+1
2011-10-24remove unused task ptr argNiko Matsakis-7/+5
2011-10-24update intrinsics fileNiko Matsakis-10/+9
2011-10-24move uses of rust ABI in tests to cdecl or c-stack-cdecl as apprNiko Matsakis-17/+26
Note: I found a bug in c-stack-cdecl which codes not permit such native functions to be used as values. I added an xfail-test (c-stack-as-value) documenting it.
2011-10-24move remaining task natives to cdecl ABI (run on rust stack)Niko Matsakis-10/+12
2011-10-24isolate those funcs in task that can run on the c stackNiko Matsakis-19/+20
2011-10-24work around bug when calling c-stack-cdecl fns from outside crateNiko Matsakis-1/+14
In the main test, I call the wrapper instead of the native fn, as intended. I also added an xfail-test that exercises the broken code path. Will file a bug. Description of the broken code path: The code path is that when we look up the external identifier we go through trans_external_path() -> type_of_ty_param_kinds_and_ty() -> type_of_fn_from_ty() -> type_of_fn(), and type_of_fn() adds a lot of external parameters. Problem is, I guess, that we don't pass the native ABI (or even the fact that it's a native function!), just the types and kinds of the parameters.