about summary refs log tree commit diff
path: root/src/libcore
AgeCommit message (Collapse)AuthorLines
2013-01-14Merge pull request #4477 from jld/char-reprBrian Anderson-1/+1
Reflect on char as u32, not uint (which may be u64).
2013-01-14spelling fixes for iter module docstringsDaniel Micay-3/+3
2013-01-13Reflect on char as u32, not uint (which may be u64).Jed Davis-1/+1
Fixes mozilla/rust#4473.
2013-01-13Support ARM and Androidkyeongwoon-2/+33
Conflicts: src/libcore/os.rs src/librustc/back/link.rs src/librustc/driver/driver.rs src/librustc/metadata/loader.rs src/librustc/middle/trans/base.rs
2013-01-13Long linesTim Chevalier-4/+8
2013-01-13Merge pull request #4474 from tychosci/readlink_safeTim Chevalier-2/+11
core: Use libc::readlink function properly
2013-01-13Merge pull request #4411 from wting/4203_rename_memcpyTim Chevalier-28/+28
Rename memcpy, memmove, memset
2013-01-13Make vectors (& old ports) of zero-size types allocate one byte each.Jed Davis-12/+44
2013-01-14core: Use libc::readlink function properlyTycho Sci-2/+11
The specification of readlink() says it's not guaranteed that the returned contents of the symbolic link is null-terminated.
2013-01-13core: Align cmp::le() with the other implementationsPeter Williams-4/+10
Also add comments reminding that IEEE 754 requires unusual semantics for comparison operators as applied to NaNs (x != x, if x = NaN), in case someone in the future wants to get clever.
2013-01-13Merge pull request #4465 from thestinger/optionTim Chevalier-1/+42
improvements to option module
2013-01-13add Option methods for in-place mutationDaniel Micay-0/+16
2013-01-14Inlining methods/functions in core.gifnksm-0/+338
Also inlining some functions which take functions as arguments.
2013-01-13avoid unwrap in Option::map_consume implementationDaniel Micay-1/+1
2013-01-13add Option map_consume_default methodDaniel Micay-0/+7
2013-01-13add Option methods for swap_unwrap and map_consumeDaniel Micay-0/+18
2013-01-11Merge pull request #4443 from wting/4386_add_privsTim Chevalier-1/+2
Adds priv qualifiers where they have been commented out before implementation.
2013-01-11Merge pull request #4445 from apasel422/notopTim Chevalier-3/+7
Allow logical negation operator (!) to be overloaded
2013-01-11Long linesBrian Anderson-2/+5
2013-01-11Add core::private::run_in_bare_threadBrian Anderson-0/+34
This begins executing Rust code in a fresh context with no runtime environment
2013-01-11allow logical negation operator (!) to be overloadedAndrew Paseltiner-3/+7
2013-01-11Adds priv qualifiers where they have been commented out before implementation.William Ting-1/+2
Updates #4386.
2013-01-10libcore: Fix core test more. rs=brokenPatrick Walton-6/+8
2013-01-10libcore: Fix core test. rs=brokenPatrick Walton-77/+85
2013-01-10libcore: Fix windows bustage. rs=bustagePatrick Walton-18/+20
2013-01-10libcore: Fix linux/windows bustage. rs=firePatrick Walton-7/+11
2013-01-10librustc: Make all external functions unsafe. r=tjcPatrick Walton-846/+1259
2013-01-10core: Change XXXs into proper FIXMEs with issue numbersTim Chevalier-17/+18
2013-01-10Use deriving_eq for TaskTim Chevalier-6/+1
2013-01-10mode: reset mode on entry to fn body.Niko Matsakis-1/+1
This is an interim fix to address the "Beware!" unsoundness. I have a more comprehensive rewrite of mode.rs in the pipeline. r=pcwalton
2013-01-10Rename memcpy, memmove, memset to prevent any confusion with the C equivalents.William Ting-28/+28
Closes #4203.
2013-01-09libcore: Fix missing `off_t` import on Mac. rs=bustagePatrick Walton-1/+1
2013-01-09libcore: Some more fixes to Windows libc stuff. rs=bustagePatrick Walton-4/+11
2013-01-09libcore: Fix Windows resolve errors. rs=bustagePatrick Walton-12/+14
2013-01-09libcore: Fix import in libc. rs=bustagePatrick Walton-1/+1
2013-01-09core: fix crashing vec methods due to non-working moved self.Graydon Hoare-6/+11
2013-01-09A collection of refactorings that I found it hard/tiresome to divide:Niko Matsakis-1/+1
- Make `extern fn()` assignable to any closure type, rather than a subtype. - Remove unused int_ty_set and float_ty_set - Refactor variable unification and make it more DRY - Do fn sub/lub/glb on the level of fn_sig - Rename infer::to_str::ToStr to infer::to_str::InferStr - Capitalize names of various types - Correct hashing of FnMeta - Convert various records-of-fns into structs-of-fns. This is both eliminating use of deprecated features and more forwards compatible with fn reform. r=pcwalton
2013-01-09rustc: yet more arch-specific fallout from 2db3abdGraydon Hoare-1/+16
2013-01-09rustc: more arch-specific fallout from 2db3abdGraydon Hoare-4/+10
2013-01-09core: try to fix arch- and platform-specific fallout from 2db3abdGraydon Hoare-0/+19
2013-01-09core: ignore recent should_fail tests on windowsGraydon Hoare-1/+4
2013-01-09core: add vec.filter that moves elems out of the vectorErick Tryzelaar-0/+21
2013-01-09core: rename vec.filter to vec.filteredErick Tryzelaar-6/+6
2013-01-09core: add vec.partition and vec.partitionedErick Tryzelaar-2/+79
2013-01-09core: add a vec.consume methodErick Tryzelaar-0/+5
2013-01-09core: add self to all vec methodsErick Tryzelaar-55/+60
2013-01-09core: rename MutableVector to OwnedVectorErick Tryzelaar-25/+24
2013-01-09core: inline all vec methods and add whitespaceErick Tryzelaar-0/+24
2013-01-09core: fix libc linux fallout from 2db3abddcd67Graydon Hoare-3/+3
2013-01-08librustc: Make unqualified identifier searches terminate at the nearest ↵Patrick Walton-60/+346
module scope. r=tjc