about summary refs log tree commit diff
path: root/src/libcore/to_bytes.rs
AgeCommit message (Collapse)AuthorLines
2013-05-22libstd: Rename libcore to libstd and libstd to libextra; update makefiles.Patrick Walton-354/+0
This only changes the directory names; it does not change the "real" metadata names.
2013-05-19Register snapshotsBrian Anderson-346/+2
2013-05-14Add inlining for iter_bytes for types used as hashmap keysBjörn Steinbrink-0/+1
Not inlining these affects the hash table performance quite badly.
2013-05-13Remove re-exports from libcore/core.rcAlex Crichton-0/+1
Also fix up all the fallout elsewhere throughout core. It's really nice being able to have the prelude.
2013-05-10core: Use the new `for` protocolAlex Crichton-66/+328
2013-05-05Merge remote-tracking branch 'mozilla/incoming' into issue-5910-dyna-freezeNiko Matsakis-2/+1
Conflicts: src/libcore/core.rc src/libcore/hashmap.rs src/libcore/num/f32.rs src/libcore/num/f64.rs src/libcore/num/float.rs src/libcore/num/int-template.rs src/libcore/num/num.rs src/libcore/num/strconv.rs src/libcore/num/uint-template.rs src/libcore/ops.rs src/libcore/os.rs src/libcore/prelude.rs src/libcore/rt/mod.rs src/libcore/unstable/lang.rs src/librustc/driver/session.rs src/librustc/middle/astencode.rs src/librustc/middle/borrowck/check_loans.rs src/librustc/middle/borrowck/gather_loans.rs src/librustc/middle/borrowck/loan.rs src/librustc/middle/borrowck/preserve.rs src/librustc/middle/liveness.rs src/librustc/middle/mem_categorization.rs src/librustc/middle/region.rs src/librustc/middle/trans/base.rs src/librustc/middle/trans/inline.rs src/librustc/middle/trans/reachable.rs src/librustc/middle/typeck/check/_match.rs src/librustc/middle/typeck/check/regionck.rs src/librustc/util/ppaux.rs src/libstd/arena.rs src/libstd/ebml.rs src/libstd/json.rs src/libstd/serialize.rs src/libstd/std.rc src/libsyntax/ast_map.rs src/libsyntax/parse/parser.rs src/test/compile-fail/borrowck-uniq-via-box.rs src/test/compile-fail/regions-infer-borrow-scope-within-loop.rs src/test/run-pass/borrowck-nested-calls.rs
2013-05-03FIX: Export to_bytes::ToBytesDaniel Ralston-2/+1
2013-04-30new borrow checker (mass squash)Niko Matsakis-1/+1
2013-03-26librustc: Modify all code to use new lifetime binder syntaxPatrick Walton-5/+5
2013-03-26libcore: Change `[const T]` to `const [T]` everywherePatrick Walton-1/+1
2013-03-22libcore: Remove `pure` from libcore. rs=depurePatrick Walton-34/+34
2013-03-18librustc: Convert all uses of old lifetime notation to new lifetime ↵Patrick Walton-5/+5
notation. rs=delifetiming
2013-03-06Add manual &self/ and &static/ and /&self declarations thatNiko Matsakis-4/+4
are currently inferred. New rules are coming that will require them to be explicit. All add some explicit self declarations.
2013-02-27librustc: Forbid `pub` or `priv` before trait implementationsPatrick Walton-2/+2
2013-02-20librustc: Separate most trait bounds with '+'. rs=plussingPatrick Walton-11/+11
2013-02-15librustc: Stop parsing `impl Type : Trait` and fix several declarations that ↵Patrick Walton-2/+2
slipped through. r=tjc
2013-02-14librustc: Replace `impl Type : Trait` with `impl Trait for Type`. ↵Patrick Walton-25/+25
rs=implflipping
2013-02-07Make ~fn non-copyable, make &fn copyable, split barefn/closure types,Niko Matsakis-5/+1
correct handling of moves for struct-record update. Part of #3678. Fixes #2828, #3904, #4719.
2013-01-09core: try to fix arch- and platform-specific fallout from 2db3abdGraydon Hoare-0/+2
2013-01-08librustc: Make unqualified identifier searches terminate at the nearest ↵Patrick Walton-0/+3
module scope. r=tjc
2013-01-08Revert "librustc: Make unqualified identifier searches terminate at the ↵Patrick Walton-3/+0
nearest module scope. r=tjc" This reverts commit a8d37af2473da79be704c9ce2374f278c47177b6.
2013-01-08librustc: Make unqualified identifier searches terminate at the nearest ↵Patrick Walton-0/+3
module scope. r=tjc
2012-12-27librustc: Terminate name searches at the nearest module scope for paths that ↵Patrick Walton-0/+2
contain at least two components. r=graydon
2012-12-05Merge remote-tracking branch 'rntz/tuple-iterbytes'Brian Anderson-7/+10
Conflicts: src/libcore/to_bytes.rs
2012-12-03Update license, add license boilerplate to most files. Remainder will follow.Graydon Hoare-0/+10
2012-12-02call out to iter_bytes_{2,3} in IterBytes instances for pairs, triplesMichael Arntzenius-5/+2
This means we will exit early if requested based on the return value of the callback we're given.
2012-12-02libcore/to_bytes.rs: fix IterBytes instances for pairs, triples to not cause ↵Michael Arntzenius-7/+13
ICE when used
2012-11-30libs: Remove transitionary material on iter_bytes, add workcache to build.Graydon Hoare-335/+0
2012-11-28librustc: Add explicit self to IterBytes. r=nmatsakisPatrick Walton-12/+350
2012-11-28libcore/to_bytes.rs: add IterBytes impls for pairs and triples. r=pcwaltonMichael Arntzenius-0/+19
2012-11-28libcore/to_bytes.rs: add IterBytes impls for pairs and triplesMichael Arntzenius-0/+19
2012-09-28De-export logging, to_str, to_bytes, from_str, util. Part of #3583.Graydon Hoare-8/+8
2012-09-28core: Demode patternsBrian Anderson-1/+1
2012-09-20Make + mode by-value if the type is immediate, by-ref otherwiseNiko Matsakis-0/+9
Fixes #3523
2012-09-19core: Clean up crate docs and give all mods a brief descriptionBrian Anderson-0/+6
2012-09-18libcore: make a copyless io::BytesWriterErick Tryzelaar-4/+4
2012-09-12Document IterBytes, Eq, Cmp, Hash. Close #3449.Graydon Hoare-0/+21
2012-09-12fixup mutability of vec::each, make iter_bytes pureNiko Matsakis-34/+41
also, change DVec() to work with imm vectors rather than mut ones
2012-09-07Migrate std::map to use core::hash::Hash trait. Disable many hokey hashes.Graydon Hoare-177/+203
2012-09-04libcore: "import" -> "use"Patrick Walton-1/+1
2012-08-30Migrate core::send_map to random, keyed hashes w/ hash::Hash trait.Graydon Hoare-0/+13
2012-08-30Start moving core::hash to support a Hash trait. Add to_bytes::IterBytes trait.Graydon Hoare-10/+302
2012-08-23Rename str::bytes to str::to_bytesTim Chevalier-2/+2
Closes #3245
2012-08-14De-mode more pieces of core.Graydon Hoare-0/+4
2012-08-13core: Camel case some lesser-used modulesBrian Anderson-5/+5
2012-08-08Convert impls to new syntaxBrian Anderson-4/+4
2012-07-31Change remaining "iface" occurrences to "trait"; deprecate "iface"Lindsey Kuper-1/+1
2012-07-14Move the world over to using the new style string literals and types. Closes ↵Michael Sullivan-2/+2
#2907.
2012-07-12Accept prefix notation for writing the types of str/~ and friends.Michael Sullivan-1/+1
2012-07-03Add a to_bytes iface and a handful of implsErick Tryzelaar-0/+19