about summary refs log tree commit diff
path: root/src/lib/_str.rs
AgeCommit message (Collapse)AuthorLines
2011-05-17Finally rename std::_xxx to std::xxxMarijn Haverbeke-490/+0
Except for _task, which is still a keyword.
2011-05-16Rewrite everything to use [] instead of vec() in value position.Graydon Hoare-6/+6
2011-05-12Downcase std modules again, move to :: for module dereferencingMarijn Haverbeke-0/+490
This should be a snapshot transition.
2011-05-06Rename std modules to be camelcasedMarijn Haverbeke-501/+0
(Have fun mergining your stuff with this.)
2011-05-05Remove 'deprecated mutable...' from our codeMarijn Haverbeke-1/+1
This should make compilation a bit less noisy.
2011-05-02Un-revert "Use different syntax for checks that matter to typestate", fixing ↵Patrick Walton-7/+7
the problem. This reverts commit d08b443fffb1181d8d45ae5d061412f202dd4118.
2011-05-02Revert "Use different syntax for checks that matter to typestate"Graydon Hoare-7/+7
This reverts commit aa25f22f197682de3b18fc4c8ba068d1feda220f. It broke stage2, not sure why yet.
2011-05-02Use different syntax for checks that matter to typestateTim Chevalier-7/+7
This giant commit changes the syntax of Rust to use "assert" for "check" expressions that didn't mean anything to the typestate system, and continue using "check" for checks that are used as part of typestate checking. Most of the changes are just replacing "check" with "assert" in test cases and rustc.
2011-04-27Fix _str.bytes to trivial version.Graydon Hoare-4/+2
2011-04-26Add _str.slice to std libMarijn Haverbeke-2/+6
2011-04-19Remove effect system from src.Graydon Hoare-2/+2
2011-04-13Add support for upper-case hex and binary output to #fmt.Brian Anderson-0/+18
Only works for uints at present. Necessitated the addition of _str.to_upper.
2011-03-25Start making the standard-lib utf-8 awareMarijn Haverbeke-3/+164
Finally implements _str.is_utf8, adds from_chars, from_char, to_chars, char_at, char_len, (push|pop|shift|unshift)_char. Also, proper character I/O for streams.
2011-03-22stdlib: Make writers seekable; switch file writers to the C FILE interface ↵Patrick Walton-2/+11
to make this work
2011-03-18Fix bug in string comparison. std.rc typechecks now.Patrick Walton-1/+1
2011-03-16rustc: Add str_from_cstr() and str_from_buf() functions to the standard ↵Patrick Walton-0/+10
library, as well as a test case
2011-03-16Switch all vases of vec += elt to vec += vec. Prohibit former in rustboot. ↵Graydon Hoare-6/+36
Tweak std lib vec fns in process.
2011-03-14Add basic file-system functionalityMarijn Haverbeke-0/+5
std.fs.list_dir will list the files in a directory, std.fs.file_is_dir will, given a pathname, determine whether it is a directory or not.
2011-03-09Remove redundant imports in lib (rustc doesn't like 'std' as a synonym for ↵Graydon Hoare-1/+1
root within std.rc anyway)
2011-03-06Make _str.bytes use _vec.init_fn. Remove FIXME.Brian Anderson-18/+3
2011-01-03Add _str.starts_with and ends_with.Graydon Hoare-0/+29
2010-12-21Sort methods in object types.Graydon Hoare-0/+25
2010-11-09Support a special const-value refcount, use it for const strings.Graydon Hoare-2/+7
2010-09-22Reformat standard library; no code changes.Graydon Hoare-135/+136
2010-09-22Add some basic string functions: index, rindes, find, substr, split, concat, ↵Graydon Hoare-0/+119
connect.
2010-08-24Make _str.eq suitable for map.hashmap; add _str.hash that does simple djb-hash.Graydon Hoare-1/+12
2010-08-20Test the buffered reader and writer in _io.Roy Frostig-0/+16
2010-08-11Add native vec[u8] to str converter. Put in workaround for leak in str to ↵Roy Frostig-4/+31
vec[u8] converter. Add testcase exercising both. Drive-by fix a potential array-out-of-bounds write on rust_str buffers.
2010-08-06Implement _str.len() to return the number of bytes, rename it to byte_len(),Jeffrey Yasskin-5/+10
and add a test.
2010-08-05Mop up workarounds in stdlib no longer required as issue #93 is closed.Graydon Hoare-3/+2
2010-08-04Add to std._io some formatter/type-specific-writer mechanism. Make a few ↵Roy Frostig-0/+19
type-specific buffered writers as wrappers of buf_writer.
2010-07-16Ensure that functions that should return a value do; issue 41Patrick Walton-0/+1
2010-07-13Add differently-typed refcount synonyms to _str and _vec.Graydon Hoare-0/+1
2010-07-05Uint-ify various bits of _str and _vec, enrich _vec a bit.Graydon Hoare-2/+2
2010-06-23Populate tree.Graydon Hoare-0/+23