about summary refs log tree commit diff
path: root/src/test/stdtest
AgeCommit message (Collapse)AuthorLines
2011-12-16reorder args to the various vec, option fns so blk comes lastNiko Matsakis-25/+25
2011-12-15stdlib: Add a str::split_str() to split on a delimiter string of any lengthPatrick Walton-0/+14
2011-12-14Moved std::math to std::coreStefan Plantikow-1/+1
- 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-0/+3
2011-12-13Copy first batch of material from libstd to libcore.Graydon Hoare-76/+146
2011-12-07Disallow binding by-mut-ref and by-move argumentsMarijn Haverbeke-2/+2
Fix bug in bound by-copy arguments. Closes #1261
2011-12-01stdlib: Implement some preliminary libuv bindingsBrian Anderson-0/+45
std::uv is intended to be low-level, exactly mirroring the C API. Difficult to continue the implementation now without scheduler improvements.
2011-11-29update io test to use tmp directory, and update configure to create itNiko Matsakis-1/+1
2011-11-28Ignore some should_fail tests on win32Brian Anderson-0/+2
2011-11-28c_vec: add testsJoshua Wise-0/+58
2011-11-24Comment-out some math tests that produce different results on win32Brian Anderson-7/+9
2011-11-24std: math: renaming and documentation fixesStefan Plantikow-1/+2
2011-11-24std: factored f32 and f64 out from mathStefan Plantikow-2/+4
2011-11-24std: added missing calls to math; covers C95 completely now, includes testsStefan Plantikow-9/+225
2011-11-24std: rewrote math to support most C95 libmath calls on f32, f64 and floatStefan Plantikow-6/+6
2011-11-22Add fs::rmdir() and tempfile/gen_str() tests.Elly Jones-0/+29
2011-11-21stdlib: added (2,3,4)-valued logic ADTsStefan Plantikow-0/+292
This is useful for writing caches and perhaps in typestate predicates. It also adds a companion module for bool with from_str, to_str, ... fns.
2011-11-21Ignore test_log_functions test for nowMarijn Haverbeke-0/+1
It fails under valgrind
2011-11-21Added logarithm functions for floats to std::mathStefan Plantikow-0/+39
Thanks to marijn for helping with #[link_name]
2011-11-18Add tests for unsafe::reinterpret_castBrian Anderson-0/+14
2011-11-18stdlib: Add tests for sys::size_of and sys::align_ofBrian Anderson-0/+45
2011-11-18Update stdlib, compiler, and tests to new kind systemMarijn Haverbeke-2/+2
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-17remove compile-command from local variable blocksNiko Matsakis-6/+0
2011-11-16refactor all unix typesNiko Matsakis-6/+8
2011-11-16Fix S_IRUSR/S_IWUSR constants on mac. Closes #726Brian Anderson-6/+0
2011-11-15Replaced constant functions with actual constants in std and updated testsStefan Plantikow-22/+22
Fixes issue #1165
2011-11-10str: add escape()Elly Jones-0/+8
Signed-off-by: Elly Jones <elly@leptoquark.net>
2011-11-10Cleanup unused imports in testsHaitao Li-4/+0
2011-11-08Remove all uses of native cdecl except for those that yieldBrian Anderson-5/+5
2011-11-07json: betterify for brsonElly Jones-6/+55
Signed-off-by: Elly Jones <ellyjones@google.com>
2011-11-06[Test] rope.rs: testing concatDavid Rajchenbach-Teller-0/+16
2011-11-05Fixup: forgotten stdtest/rope.rsDavid Rajchenbach-Teller-0/+148
2011-11-05stdlib: Added a small rope libraryDavid Rajchenbach-Teller-0/+1
2011-11-05uint.rs: added functions div_ceil, div_floor, div_roundDavid Rajchenbach-Teller-0/+7
2011-11-02Add vec::permute to the standard library (#1013)Matt Brubeck-0/+21
2011-11-02Rename car/cdr to head/tail in std::listMarijn Haverbeke-8/+8
Closes #1086
2011-11-02Make ptr::addr_of return an immutable vec, add mut_addr_ofMarijn Haverbeke-1/+1
2011-11-01Ignore another test involving failure on windowsBrian Anderson-0/+1
2011-11-01Ignore should_fail tests on windowsBrian Anderson-0/+10
2011-11-01Add should_fail annotation for unit testsMatt Brubeck-5/+82
This allows test cases to assert that a function is expected to fail. Tests annotated with "should_fail" will succeed only if the function fails.
2011-10-31Fix the filenames used in some IO testsBrian Anderson-4/+4
These tests are relying on not being able to open certain files, but did not work correctly when run as root.
2011-10-31Add a char::to_digit functionMatt Brubeck-0/+29
2011-10-31Correct handling of non-numeric chars in parse_bufMatt Brubeck-1/+43
Without this fix, int::parse_buf and uint::parse_buf return incorrect results for any strings that contain non-numeric characters. Fixes #1102.
2011-10-31Rename std::str::chars to iter_charsMarijn Haverbeke-2/+2
2011-10-31Add a way to iterate over a str's chars to std::strMarijn Haverbeke-0/+13
2011-10-30Fix int::parse_buf for negative numbers (#1102)Matt Brubeck-1/+16
2011-10-30Make float::from_str ignore whitespace (#1089)Matt Brubeck-1/+22
Discard leading and trailing whitespace, for consistency with C/JS/Java/etc. Also, don't allow floating point numbers that start or end with 'e'.
2011-10-29Cleanup the existing platform-specific ignored testsBrian Anderson-55/+11
2011-10-29stdlib: Add vec::concat to concatenate a vector of vectorsBrian Anderson-0/+5
Compare to str::concat
2011-10-29stdlib: Make io failures recoverable by returning a resultBrian Anderson-2/+48