summary refs log tree commit diff
path: root/src/libstd
AgeCommit message (Collapse)AuthorLines
2012-08-05std: URLs without schemes parse as errors. Closes #3112Brian Anderson-1/+6
2012-08-03Long linesBrian Anderson-1/+2
2012-08-03std::net::url - change alt to match, ret to return, as per recent syntax changesDaniel Patterson-25/+25
2012-08-03std::net::url - eliminate out of date comment and switch to str::each_chari ↵Daniel Patterson-17/+12
instead of str_reader to make code cleaner
2012-08-03std::net::url - fix to_str to work with authorityless urls, add testDaniel Patterson-6/+16
2012-08-03std::net::url cleanups for lint checkDaniel Patterson-50/+61
2012-08-03std::net::url - making parsing of authority give error messages if in ↵Daniel Patterson-30/+331
encounters invalid stuff; support for ipv6, more tests.
2012-08-03std::net::url making scheme parsing compliant with rfc, give appropriate ↵Daniel Patterson-19/+59
error messages, better split fn
2012-08-03std::net::url - comment cleanup, new testDaniel Patterson-6/+24
2012-08-03std: integrating erickt's url encoding/decoding from ↵Daniel Patterson-4/+385
github.com/erickt/rust-uri into std::net::url
2012-08-03rustc: Remove all fixed-length strings from our codebasePatrick Walton-6/+6
2012-08-02Make comparisons between region pointers workTim Chevalier-2/+3
Region pointers were considered a scalar type, so compare_scalar_type would get called to compare region pointers in trans. This would fail, since compare_scalar_type has no case for region pointers. Changed type_is_scalar to return false for region pointers. This had the side effect of breaking casts to types of the form &T. To ameliorate that, I added library functions ptr::assimilate (taking a &T to a *T) and ptr::to_uint (taking a &T to a uint), both of which use reinterpret_cast. While I was at it, I removed ty::type_has_resources, which is dead code.
2012-08-02Purge placement new; Make borrowck know about unary move.Niko Matsakis-4/+13
cc #3071
2012-08-02Remove modes from map API and replace with regions.Niko Matsakis-178/+224
API is (for now) mostly by value, there are options to use it by reference if you like. Hash and equality functions must be pure and by reference (forward looking to the day when something like send_map becomes the standard map).
2012-08-02Remove std::utilBen Blum-23/+12
2012-08-01Convert ret to returnBrian Anderson-383/+393
2012-08-01Clean out transitional lint.Graydon Hoare-7/+0
2012-07-31Introduce 'return', 'match' and 'module' as synonymsBrian Anderson-10/+10
2012-07-31std: getopts::match -> matchesBrian Anderson-33/+33
2012-07-31Change remaining "iface" occurrences to "trait"; deprecate "iface"Lindsey Kuper-13/+13
2012-07-30Change syntax extension syntax: `#m[...]` -> `m!{...}`.Paul Stansifer-368/+368
2012-07-30Move send_map to libcoreBen Blum-347/+1
2012-07-29Rewrite bitv to use classes and optimize its representationTim Chevalier-330/+484
Rewrote bitv as a class that uses a 32-bit int as its representation for bit vectors of 32 bits or less, and a vector (the old representation) otherwise. I didn't benchmark very much, but a bit of informal benchmarking suggested this is a win. Closes #2341
2012-07-28std: Implement to_str for net::url::urlBrian Anderson-0/+6
2012-07-27libstd: Fix missing export from URL modulePatrick Walton-2/+2
2012-07-27rustc: Use coherence for operator overloading.Patrick Walton-0/+20
The only use of the old-style impls is now placement new.
2012-07-27change send_map tests to use ~linear_map, much more naturalNiko Matsakis-24/+24
2012-07-27export send_map and use fewer impl namesNiko Matsakis-8/+9
2012-07-27core: Trait-ify various overloaded operatorsPatrick Walton-4/+26
2012-07-27std: Make url a sendable typeBrian Anderson-8/+6
2012-07-27wip: add a sendable hashmap to stdlibNiko Matsakis-0/+346
caveats: - not efficient nor heavily tested - API subject to change and currently incompatible with map
2012-07-26std: Create correctly-sized buffers on TCP readBrian Anderson-2/+1
2012-07-26Removed the rest of the vec::view calls that were marked with #2880. Fixes ↵Eric Holk-1/+1
#2880.
2012-07-26Use iteration protocol for ebml, use vec::view in more places (issue #2880)Eric Holk-6/+9
2012-07-26Nomenclature fixes in the lint checker. Fewer double-negatives.Graydon Hoare-0/+7
New style is allow(foo), warn(foo), deny(foo) and forbid(foo), mirrored by -A foo, -W foo, -D foo and -F foo on command line. These replace -W no-foo, -W foo, -W err-foo, respectively. Forbid is new, and means "deny, and you can't override it".
2012-07-26core::io::writer : add get_type() methodDamian Gryski-0/+3
The get_type() method can hint to users what kind of item might be under the hood.
2012-07-26core: Mark a bunch of numeric functions as purePatrick Walton-5/+5
2012-07-253x faster typecheckingEric Holk-1/+1
2012-07-25Add #[inline(never)], and also fixed inlining on vec::pushEric Holk-1/+3
2012-07-24Update some str functions to slices, merge as_buf and unpack_slice.Graydon Hoare-8/+6
2012-07-23Add to_str for hashmap.Glenn Willen-1/+31
2012-07-23Switch reader to work with preallocated vecsErick Tryzelaar-21/+28
This closes #2901.
2012-07-23Convert std::test to new task_builder interfaceBen Blum-5/+6
2012-07-23Convert os/priv/uv to new task_builder interfaceBen Blum-11/+7
2012-07-23Adding simple net::url module to parse and format urls.Daniel Patterson-1/+246
2012-07-18prevent regions from escaping in ifaces; remove &r.T syntaxNiko Matsakis-1/+3
2012-07-17Fixing coherence error in bitvEric Holk-1/+23
2012-07-17Added liveness analysis for protocols, and removed warnings about empty states.Eric Holk-0/+8
2012-07-17Modernize bitv somewhatEric Holk-20/+41
2012-07-17rustc: Implement and enforce instance coherencePatrick Walton-28/+84