about summary refs log tree commit diff
path: root/src/libstd/rope.rs
AgeCommit message (Collapse)AuthorLines
2012-02-23(core::str) mostly rename len -> len_charsKevin Cantu-3/+3
2012-02-12(core::str) rename byte_len_range -> substr_len_bytes andKevin Cantu-5/+5
rename char_len_range -> substr_len_chars
2012-02-12(core::str) rename byte_len -> len_bytes and rename char_len -> lenKevin Cantu-8/+9
2012-02-07core: make str::substr use char positions (and replace other uses)Kevin Cantu-3/+4
2012-01-31Change option::t to optionTim Chevalier-8/+8
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-23s/block()/fn()/gNiko Matsakis-5/+5
2012-01-21issue #1352: change param order on vec::init_elt, putting block in final ↵Graham Fawcett-5/+5
position. To match the init_fn() and init_fn_mut() changes.
2012-01-19lib: ";" to "," in enumsPatrick Walton-4/+4
2012-01-19stdlib: "tag" -> "enum"Patrick Walton-2/+2
2012-01-18Remove '.' after nullary tags in patternsTim Chevalier-34/+34
Does what it says on the tin. The next commit will remove support for this syntax.
2012-01-17libstd: Move std tests into libstdBrian Anderson-0/+163
2012-01-17Allow omission of the '.' after nullary tag patternsTim Chevalier-7/+7
This commit allows patterns like: alt x { some(_) { ... } none { } } without the '.' after none. The parser suspends judgment about whether a bare ident is a tag or a new bound variable; instead, the resolver disambiguates. This means that any code after resolution that pattern-matches on patterns needs to call pat_util::normalize_pat, which consults an environment to do this disambiguation. In addition, local variables are no longer allowed to shadow tag names, so this required changing some code (e.g. renaming variables named "mut", and renaming ast::sub to subtract). The parser currently accepts patterns with and without the '.'. Once the compiler and libraries are changed, it will no longer accept the '.'.
2012-01-05Moved generic float::min, max to core::math and cleaned up some importsStefan Plantikow-5/+1
2012-01-03Allow tail expressions even in no_value blocks. Type checkerNiko Matsakis-1/+1
will guarantee they have unit type.
2011-12-19preparing for removing math from stdStefan Plantikow-1/+1
2011-12-16std: declared fns as pure where sensibleStefan Plantikow-1/+1
2011-12-13Copy first batch of material from libstd to libcore.Graydon Hoare-1/+2
2011-12-06Establish 'core' library separate from 'std'.Graydon Hoare-0/+1337