summary refs log tree commit diff
path: root/src/libstd
AgeCommit message (Collapse)AuthorLines
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
2012-07-16replace core::tuple functions with methodsGareth Daniel Smith-2/+2
2012-07-14improve failure message when key is not presentNiko Matsakis-1/+4
2012-07-14Tear out ty_str and ty_vec.Michael Sullivan-1/+1
2012-07-14Move the world over to using the new style string literals and types. Closes ↵Michael Sullivan-1157/+1166
#2907.
2012-07-13Support prefix notation for vstore strings. Closes #2906.Michael Sullivan-57/+57
2012-07-13Make push_str overallocate. Use it in some places that were still doing +=.Michael Sullivan-1/+1
2012-07-13More consistent use of backticks and "expected" in error messages.Lindsey Kuper-6/+6
Got some of the debug messages, here, too. I figure it doesn't hurt to get used to doing this even in places where users won't ever see it.
2012-07-12Fix the signature on vec::view.Eric Holk-2/+3
Due to limitations in region inference, this has the effect of making vec::view pretty much entirely unusable.
2012-07-12Merge remote-tracking branch 'origin/dist-snap' into incomingGraydon Hoare-2/+2
2012-07-12Accept prefix notation for writing the types of str/~ and friends.Michael Sullivan-14/+14
2012-07-12Get rid of all of the remaining /~s in the code base.Michael Sullivan-27/+27
2012-07-11Change the interface of placement new to take a tydesc as part of Issue #2831.Michael Sullivan-2/+10
2012-07-11Fix some version numbers.Graydon Hoare-2/+2