about summary refs log tree commit diff
path: root/src
AgeCommit message (Collapse)AuthorLines
2013-01-14allowing the entry point name to be something other than mainILyoan-14/+127
add build tests
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-14Add cfg attrs to handle auto_encode transitionBrian Anderson-0/+58
2013-01-14Merge remote-tracking branch 'mneumann/f-serialize'Brian Anderson-10/+12
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-13Win32 build fixBrian Anderson-1/+1
2013-01-13Add FIXME's for #4404. Android JNI hacksBrian Anderson-0/+2
2013-01-13More android supportILyoan-3/+17
Conflicts: Makefile.in cmakeFiles/rustllvm.cmake
2013-01-13Support ARM and Androidkyeongwoon-28/+597
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-13Update libuv for AndroidBrian Anderson-0/+0
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-29/+29
Rename memcpy, memmove, memset
2013-01-13Merge pull request #4444 from JensNockert/pub-semaphoreTim Chevalier-1/+1
Make std::sync::semaphore() public
2013-01-13Merge pull request #4459 from jld/constenumTim Chevalier-50/+185
Allow consts to be initialized by non-nullary enum constructors
2013-01-13Make vectors (& old ports) of zero-size types allocate one byte each.Jed Davis-15/+59
2013-01-13Make empty structs debug-printableJed Davis-5/+8
2013-01-13Correct (I hope) amd64 ABI handling for empty structsJed Davis-14/+14
2013-01-13One more place where for loops and their bodies need to be unconfused.Jed Davis-1/+1
2013-01-13Fix long lines in for loop trans changeJed Davis-7/+9
2013-01-13For `for` loop bodies, translate the type of the closureNiko Matsakis-11/+35
based on the expr_loop_body expression and not the inner closure
2013-01-13Make () actually size 0Jed Davis-19/+2
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-12libstd: "target_os = win32", not "target_os = windows". rs=bustagePatrick Walton-2/+2
2013-01-11Regression tests for passing enum-typed consts by reference.Jed Davis-0/+48
If the PointerCast in trans_def_lvalue is removed, these cases cause LLVM assertion failures.
2013-01-11Add more tests for enum constants.Jed Davis-1/+67
The tests have consts defined both before and after their uses in order to prevent bugs that depend on the order in which they are translated.
2013-01-11Omit needless zeroes for C-like variants of non-C-like enumsJed Davis-12/+1
2013-01-11Allow consts to be non-nullary enum constructorsJed Davis-1/+20
2013-01-11Allow consts' LLVM types to depend on their initializers.Jed Davis-12/+22
Loosening the connection between the LLVM type and the Rust type is necessary to use non-nullary enum constructors as const initializers, because the const needs to be initialized with data of the actual type of the variant in question, which is (generally) not the same as the u8 array in the `type_of` type. Thus, referring to a const now requires casting the LLVM global to the expected pointer type instead of using it as-is.
2013-01-11Factor out base::get_discrim_val from const translationJed Davis-24/+27
2013-01-11Merge pull request #4443 from wting/4386_add_privsTim Chevalier-6/+7
Adds priv qualifiers where they have been commented out before implementation.
2013-01-11Merge pull request #4445 from apasel422/notopTim Chevalier-45/+70
Allow logical negation operator (!) to be overloaded
2013-01-11libsyntax: Fix name generation in condition! macroAndrew Paseltiner-1/+1
2013-01-11Long linesBrian Anderson-2/+5
2013-01-11libstd: Ignore failing test on WindowsPatrick Walton-0/+3
2013-01-11Make ast_util::path_name_i take a slice vector, eliminate a bad copyTim Chevalier-3/+2
2013-01-11Add core::private::run_in_bare_threadBrian Anderson-0/+67
This begins executing Rust code in a fresh context with no runtime environment
2013-01-11Comment out test_decode_form_urlencoded again. Filed issue 4449. rs=breakageTim Chevalier-0/+4
2013-01-11test: add test for overloading logical negation operatorAndrew Paseltiner-0/+11
2013-01-11allow logical negation operator (!) to be overloadedAndrew Paseltiner-45/+59
2013-01-11test: XFAIL issue_3882 due to strange Windows failure. rs=failurePatrick Walton-0/+2
2013-01-11libstd: Fix std test. rs=bustedPatrick Walton-86/+111