about summary refs log tree commit diff
path: root/src/libcore/uint.rs
AgeCommit message (Collapse)AuthorLines
2012-04-16core: Factor out uint/u8/16/32/64 mods into uint-templateBrian Anderson-290/+0
2012-03-15core: Make some functions pureBrian Anderson-2/+2
2012-03-14adjust auto_serialize to generate fns named serialize_T()Niko Matsakis-8/+0
We used to generate a module T with a serialize() and deserialize() fn, but this was suboptimal for a number of reasons: - it required moving serialization into core so that uint etc worked - it was harder to override the serialization behavior locally (this is now trivial)
2012-03-13first (functional) version of the auto_serialize syntax extNiko Matsakis-0/+8
2012-03-10Use loop instead of while(true) in libraries and compiler itselfTim Chevalier-3/+2
And remove spurious fails/unreachable() calls.
2012-03-10core: FormattingBrian Anderson-1/+1
2012-03-09core: Convert to rustdocBrian Anderson-140/+63
2012-03-09Add an infinite loop constructTim Chevalier-2/+2
Add a loop {} construct for infinite loops, and use it in test cases. See #1906 for details.
2012-03-07add mutability annotations to libcoreNiko Matsakis-11/+11
2012-03-05rewrite vec to be more unsafe, more inlinedNiko Matsakis-0/+1
2012-02-23(core::str) remove len_bytes aliasKevin Cantu-1/+1
2012-02-22Make the various from_str functions return optionsMarijn Haverbeke-56/+27
So that they can be used with user input without causing task failures. Closes #1335
2012-02-12core: Add compl functions for the rest of the integer typesBrian Anderson-1/+1
2012-02-12(core::str) rename byte_len -> len_bytes and rename char_len -> lenKevin Cantu-1/+1
2012-02-11core: Add min/max functions for all int typesBrian Anderson-6/+6
2012-02-11core: Make uint::min/max pureBrian Anderson-2/+2
2012-02-11core: Fill out missing functions for basic typesBrian Anderson-1/+1
2012-02-11core: Add modules for remaining scalar typesBrian Anderson-0/+2
2012-02-10put serializer into the build and encode full item pathsNiko Matsakis-0/+23
2012-01-24Replace uses of str::unsafe_from_byteKevin Cantu-2/+2
2012-01-23s/block()/fn()/gNiko Matsakis-2/+2
2012-01-17libcore: Move core tests into libcoreBrian Anderson-0/+110
2012-01-06libcore: add a trivial uint hash function.Erick Tryzelaar-0/+7
2011-12-22Register snapshots and switch logging over to use of log_full or #error / ↵Graydon Hoare-1/+1
#debug.
2011-12-13Copy first batch of material from libstd to libcore.Graydon Hoare-0/+254