summary refs log tree commit diff
path: root/src/libstd
AgeCommit message (Collapse)AuthorLines
2012-02-11core::str rename [r]index -> [r]index_bytesKevin Cantu-5/+5
2012-02-10create serialization lib and update serializer to use itNiko Matsakis-13/+268
2012-02-10put serializer into the build and encode full item pathsNiko Matsakis-6/+12
2012-02-10update ebml interfaceNiko Matsakis-2/+22
2012-02-09Remove some pointless importsMarijn Haverbeke-2/+2
2012-02-09Increase precedence of as operatorMarijn Haverbeke-38/+36
Closes #1717
2012-02-07std: Use correct split function in generic_os::envBrian Anderson-1/+1
2012-02-07Make process-spawning take environments and working directories, remove ↵Graydon Hoare-36/+127
procsrv task from compiletest.
2012-02-07core: make str::substr use char positions (and replace other uses)Kevin Cantu-7/+9
2012-02-07String split renaming:Kevin Cantu-5/+11
* Renamed str::split -> str::split_byte * Renamed str::splitn -> str::splitn_byte * Renamed str::split_func -> str::split * Renamed str::split_char -> str::split_char * Renamed str::split_chars_iter -> str::split_char_iter * Added u8::is_ascii * Fixed the behavior of str::split_str, so that it matches split_chars and split (i.e. ["", "XXX", "YYY", ""] == split_str(".XXX.YYY.", ".")) * Fixed str::split_byte and str::splitn_byte so that they handle splitting UTF-8 strings on a given UTF-8/ASCII byte and also handle "" as the others do
2012-02-05std: Use ctypes::c_int in path_is_dirBrian Anderson-4/+1
2012-02-05Merge remote-tracking branch 'erickt/master'Brian Anderson-2/+3
Conflicts: src/libcore/vec.rs src/libstd/getopts.rs
2012-02-03core: rename str::lteq to str::leTom Lee-1/+1
2012-02-03std: rename sort::lteq to sort::le.Tom Lee-17/+17
2012-02-02Update libuv.Graydon Hoare-112/+96
2012-02-02Win32 warning police.Graydon Hoare-115/+116
2012-02-01Rename str::char_slice -> str::sliceKevin Cantu-9/+9
2012-02-01Rename (again) str::unsafe::slice -> str::unsafe::slice_bytes andKevin Cantu-4/+5
str::unsafe::safe_slice -> str::unsafe::slice_bytes_safe_range
2012-02-01Propagating unsafe::slice 2Kevin Cantu-6/+6
2012-02-01Propagating unsafe::slice 1Kevin Cantu-3/+3
2012-02-01Remove native types from stdlibMarijn Haverbeke-56/+67
2012-01-31Change option::t to optionTim Chevalier-59/+59
Now that core exports "option" as a synonym for option::t, search-and- replace option::t with option. The only place that still refers to option::t are the modules in libcore that use option, because fixing this requires a new snapshot (forthcoming).
2012-01-31Rename str::loop_chars to str::all,Kevin Cantu-2/+2
rename str::loop_chars_sub to str::substr_all, and propagate this change to std::rope and rustdoc's calls to these
2012-01-31Require alts to be exhaustiveTim Chevalier-13/+28
middle::check_alt does the work. Lots of changes to add default cases into alts that were previously inexhaustive.
2012-01-30Change all ternary ops to if/then/elsePaul Woolcock-1/+1
All the files below had at least one instance of the ternary operator present in the source. All have been changed to the equivalent if/then/else expression.
2012-01-28std: Whitespace cleanup.Erick Tryzelaar-1/+2
2012-01-28core: rename vec::position* functionsErick Tryzelaar-1/+1
Almost all of the vec functions that predicates don't have a corresponding function that takes a single element, so this commit renames the common fn usecase to be the default.
2012-01-27Merge remote-tracking branch 'killerswan/fixing_strings_2'Brian Anderson-13/+20
Conflicts: src/comp/driver/driver.rs src/comp/middle/trans/base.rs src/comp/syntax/parse/lexer.rs
2012-01-27std: Long linesBrian Anderson-1/+2
2012-01-27Re-apply fixes brson made.Donovan Preston-4/+4
2012-01-27Implement timers.Donovan Preston-7/+18
2012-01-27Make occurs check in ty::fixup_vars more reliableMarijn Haverbeke-1/+1
It wouldn't detect cycles that went through several type vars before. Closes #1464
2012-01-26std: Fix types in uvtmp testsBrian Anderson-4/+4
2012-01-26Shuffle around to work with rust-spidermonkeyDonovan Preston-14/+21
2012-01-25(TEMPORARY) Break something by making io::mem_buffer_str UTF-8 safeKevin Cantu-1/+1
2012-01-25Replacing str::unsafe_from_bytes with str::from_bytes (part 6)Kevin Cantu-1/+4
2012-01-25Replacing str::unsafe_from_bytes with str::from_bytes (part 5)Kevin Cantu-3/+3
2012-01-25Replacing str::unsafe_from_bytes with str::from_bytes (part 1)Kevin Cantu-9/+13
2012-01-23s/block()/fn()/gNiko Matsakis-32/+32
2012-01-22std: Add some hacks to use libuvBrian Anderson-1/+151
2012-01-21use u64 and not uint; otherwise shift results are undef. in 32 bitNiko Matsakis-7/+7
Fixes #1605.
2012-01-21update to use u64; u32 has undefined resultsNiko Matsakis-1/+6
2012-01-21std: Remove extfmt. Has been moved to core. Closes #1600Brian Anderson-455/+1
2012-01-21issue #1352: change param order on {std,core}::extfmt::str_init_elt to ↵Graham Fawcett-4/+4
mirror vec::init_elt.
2012-01-21issue #1352: change param order on vec::init_elt, putting block in final ↵Graham Fawcett-18/+18
position. To match the init_fn() and init_fn_mut() changes.
2012-01-21fix #1352: change param order on vec::init_fn (and vec::init_fn_mut), ↵Graham Fawcett-2/+2
putting block in final position.
2012-01-19Additional ; to , changes, disable "tag" and ";" in parser. Close #1430. ↵Graydon Hoare-7/+7
Close #1428.
2012-01-19lib: ';' to ',' in enums in more placesPatrick Walton-8/+8
2012-01-19lib: ";" to "," in enumsPatrick Walton-67/+67
2012-01-19libcore: Use 4x the number of scheduler threads for testingBrian Anderson-1/+5
An arbitrary number. I've done no measurements but it's intended to overcome the effects of tasks randomly being scheduled to threads and no work stealing. If scheduler threads == 1 then we just use a single test task.