summary refs log tree commit diff
path: root/src/libstd/rope.rs
AgeCommit message (Collapse)AuthorLines
2012-07-09Switch 'cont' to 'again' everywhere. Close #2229.Graydon Hoare-1/+1
2012-07-05Comments only: change TODOs to FIXMEs and annotate themTim Chevalier-3/+5
2012-07-04convert doc-attributes to doc-comments using ↵Gareth Daniel Smith-479/+480
./src/etc/sugarise-doc-comments.py (and manually tweaking) - for issue #2498
2012-07-01Convert to new closure syntaxBrian Anderson-9/+9
2012-06-30Eliminate usages of old sugared call syntaxBrian Anderson-1/+1
2012-06-29Switch the compiler over to using ~[] notation instead of []/~. Closes #2759.Michael Sullivan-9/+9
2012-06-25Make vectors uglier ([]/~). Sorry. Should be temporary. Closes #2725.Michael Sullivan-8/+8
2012-06-21Move vector addition out of trans and into libcore.Eric Holk-1/+1
2012-06-08Convert reinterpret_cast + forget to 'transmute'Brian Anderson-3/+1
2012-05-26core: Make range follow the for loop protocolBrian Anderson-6/+6
2012-05-24std: Remove unused variablesBrian Anderson-2/+0
2012-05-24remove dead assignmentsNiko Matsakis-3/+1
2012-05-18introduce a few copies here and thereNiko Matsakis-1/+1
2012-04-18Fix [] on str to exclude the trailing null.Graydon Hoare-0/+1
2012-03-26Bulk-edit mutable -> mut.Graydon Hoare-20/+20
2012-03-26Disallow ret inside of block functionsMarijn Haverbeke-4/+4
Also adds proper checking for cont/break being inside a loop. Closes #1854 Issue #1619
2012-03-22make --enforce-mut-vars always on, add mut annotations to remaining filesNiko Matsakis-12/+12
2012-03-20core: Rename unsafe::leak to unsafe::forget. Closes #2031Brian Anderson-2/+2
2012-03-14annotate libstd and start enforcing mutabilityNiko Matsakis-24/+25
2012-03-13Overhaul constructor naming in libsBrian Anderson-5/+5
2012-03-10Use loop instead of while(true) in libraries and compiler itselfTim Chevalier-21/+15
And remove spurious fails/unreachable() calls.
2012-03-10core: Remove the nearly empty math moduleBrian Anderson-1/+1
This mod only had two functions, all of whose users have been changed to use the uint module.
2012-03-09std: Convert to rustdocBrian Anderson-390/+296
2012-03-08Change util::unreachable to core::unreachableTim Chevalier-6/+6
Closes #1931
2012-03-05std: Use util::unreachableBrian Anderson-6/+6
2012-03-02core: Remove _mut functions from vecBrian Anderson-4/+4
Instead, use vec::to_mut/from_mut to transform vectors in place as needed.
2012-02-23Finish cleanup of core::strMarijn Haverbeke-11/+11
Closes #1849
2012-02-23(core::str) rename substr_len_bytes to substr_len, and delete unused ↵Kevin Cantu-3/+3
byte_index[_from]
2012-02-23(core::str) remove len_bytes aliasKevin Cantu-5/+5
2012-02-23(core::str) replace uses of unsafe::slice_bytes; replace find[_from]_bytes ↵Kevin Cantu-1/+1
with find[_from]
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