]>
git.lizzy.rs Git - rust.git/log
kyeongwoon [Fri, 30 Nov 2012 00:21:49 +0000 (09:21 +0900)]
Support ARM and Android
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
Brian Anderson [Tue, 8 Jan 2013 22:39:31 +0000 (14:39 -0800)]
Update libuv for Android
Tim Chevalier [Mon, 14 Jan 2013 00:34:54 +0000 (16:34 -0800)]
Long lines
Tim Chevalier [Sun, 13 Jan 2013 23:10:33 +0000 (15:10 -0800)]
Merge pull request #4474 from tychosci/readlink_safe
core: Use libc::readlink function properly
Tim Chevalier [Sun, 13 Jan 2013 22:58:24 +0000 (14:58 -0800)]
Merge pull request #4411 from wting/4203_rename_memcpy
Rename memcpy, memmove, memset
Tim Chevalier [Sun, 13 Jan 2013 22:56:14 +0000 (14:56 -0800)]
Merge pull request #4444 from JensNockert/pub-semaphore
Make std::sync::semaphore() public
Tim Chevalier [Sun, 13 Jan 2013 22:42:57 +0000 (14:42 -0800)]
Merge pull request #4459 from jld/constenum
Allow consts to be initialized by non-nullary enum constructors
Jed Davis [Tue, 8 Jan 2013 08:24:43 +0000 (00:24 -0800)]
Make vectors (& old ports) of zero-size types allocate one byte each.
Jed Davis [Tue, 8 Jan 2013 08:24:25 +0000 (00:24 -0800)]
Make empty structs debug-printable
Jed Davis [Tue, 8 Jan 2013 08:24:06 +0000 (00:24 -0800)]
Correct (I hope) amd64 ABI handling for empty structs
Jed Davis [Tue, 8 Jan 2013 08:23:25 +0000 (00:23 -0800)]
One more place where for loops and their bodies need to be unconfused.
Jed Davis [Sat, 12 Jan 2013 07:42:07 +0000 (23:42 -0800)]
Fix long lines in for loop trans change
Niko Matsakis [Mon, 7 Jan 2013 18:16:30 +0000 (10:16 -0800)]
For `for` loop bodies, translate the type of the closure
based on the expr_loop_body expression and not the inner closure
Jed Davis [Tue, 8 Jan 2013 03:10:16 +0000 (19:10 -0800)]
Make () actually size 0
Tycho Sci [Sun, 13 Jan 2013 22:33:47 +0000 (07:33 +0900)]
core: Use libc::readlink function properly
The specification of readlink() says it's not guaranteed that the
returned contents of the symbolic link is null-terminated.
Peter Williams [Sat, 12 Jan 2013 23:48:19 +0000 (18:48 -0500)]
core: Align cmp::le() with the other implementations
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.
Tim Chevalier [Sun, 13 Jan 2013 22:29:05 +0000 (14:29 -0800)]
Merge pull request #4465 from thestinger/option
improvements to option module
Tim Chevalier [Sun, 13 Jan 2013 22:15:25 +0000 (14:15 -0800)]
Merge pull request #4467 from gifnksm/inlining-core
Inlining methods/functions in core.
Tim Chevalier [Sun, 13 Jan 2013 22:06:21 +0000 (14:06 -0800)]
Merge pull request #4460 from pkgw/pr-tut-typo
doc: Fix spelling error in macro tutorial
Daniel Micay [Sun, 13 Jan 2013 16:09:09 +0000 (11:09 -0500)]
add Option methods for in-place mutation
gifnksm [Sun, 13 Jan 2013 14:37:30 +0000 (23:37 +0900)]
Inlining methods/functions in core.
Also inlining some functions which take functions as arguments.
Daniel Micay [Sun, 13 Jan 2013 06:38:20 +0000 (01:38 -0500)]
avoid unwrap in Option::map_consume implementation
Daniel Micay [Sun, 13 Jan 2013 05:56:50 +0000 (00:56 -0500)]
add Option map_consume_default method
Daniel Micay [Sun, 13 Jan 2013 05:47:00 +0000 (00:47 -0500)]
add Option methods for swap_unwrap and map_consume
Peter Williams [Sun, 30 Dec 2012 16:49:08 +0000 (11:49 -0500)]
doc: Fix spelling error in macro tutorial
Patrick Walton [Sat, 12 Jan 2013 18:11:44 +0000 (10:11 -0800)]
libstd: "target_os = win32", not "target_os = windows". rs=bustage
Jed Davis [Mon, 7 Jan 2013 10:07:56 +0000 (02:07 -0800)]
Regression tests for passing enum-typed consts by reference.
If the PointerCast in trans_def_lvalue is removed, these cases cause
LLVM assertion failures.
Jed Davis [Fri, 4 Jan 2013 09:22:56 +0000 (01:22 -0800)]
Add more tests for enum constants.
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.
Jed Davis [Mon, 31 Dec 2012 04:51:53 +0000 (20:51 -0800)]
Omit needless zeroes for C-like variants of non-C-like enums
Jed Davis [Mon, 31 Dec 2012 04:39:15 +0000 (20:39 -0800)]
Allow consts to be non-nullary enum constructors
Jed Davis [Mon, 31 Dec 2012 04:30:23 +0000 (20:30 -0800)]
Allow consts' LLVM types to depend on their initializers.
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.
Jed Davis [Mon, 31 Dec 2012 04:29:17 +0000 (20:29 -0800)]
Factor out base::get_discrim_val from const translation
Tim Chevalier [Sat, 12 Jan 2013 04:12:29 +0000 (20:12 -0800)]
Add William Ting to AUTHORS
Tim Chevalier [Sat, 12 Jan 2013 04:11:57 +0000 (20:11 -0800)]
Merge pull request #4443 from wting/4386_add_privs
Adds priv qualifiers where they have been commented out before implementation.
Tim Chevalier [Sat, 12 Jan 2013 04:10:51 +0000 (20:10 -0800)]
Merge pull request #4445 from apasel422/notop
Allow logical negation operator (!) to be overloaded
Tim Chevalier [Sat, 12 Jan 2013 04:09:54 +0000 (20:09 -0800)]
Merge pull request #4452 from apasel422/cond-macro-fix
libsyntax: Fix name generation in condition! macro
Tim Chevalier [Sat, 12 Jan 2013 04:09:14 +0000 (20:09 -0800)]
Merge pull request #4453 from crabtw/clang3.2
support clang 3.2
Jyun-Yan You [Sat, 12 Jan 2013 04:02:22 +0000 (12:02 +0800)]
support clang 3.2
Andrew Paseltiner [Sat, 12 Jan 2013 02:32:10 +0000 (21:32 -0500)]
libsyntax: Fix name generation in condition! macro
Brian Anderson [Sat, 12 Jan 2013 01:59:35 +0000 (17:59 -0800)]
Long lines
Patrick Walton [Fri, 11 Jan 2013 23:46:07 +0000 (15:46 -0800)]
libstd: Ignore failing test on Windows
Tim Chevalier [Fri, 11 Jan 2013 23:18:01 +0000 (15:18 -0800)]
Make ast_util::path_name_i take a slice vector, eliminate a bad copy
Brian Anderson [Fri, 11 Jan 2013 03:03:13 +0000 (19:03 -0800)]
Add core::private::run_in_bare_thread
This begins executing Rust code in a fresh context with no runtime environment
Tim Chevalier [Fri, 11 Jan 2013 21:40:15 +0000 (13:40 -0800)]
Comment out test_decode_form_urlencoded again. Filed issue 4449. rs=breakage
Andrew Paseltiner [Fri, 11 Jan 2013 21:27:12 +0000 (16:27 -0500)]
test: add test for overloading logical negation operator
Andrew Paseltiner [Fri, 11 Jan 2013 17:16:58 +0000 (12:16 -0500)]
allow logical negation operator (!) to be overloaded
Patrick Walton [Fri, 11 Jan 2013 18:57:24 +0000 (10:57 -0800)]
test: XFAIL issue_3882 due to strange Windows failure. rs=failure
Patrick Walton [Fri, 11 Jan 2013 17:22:23 +0000 (09:22 -0800)]
libstd: Fix std test. rs=busted
Jens Nockert [Fri, 11 Jan 2013 11:51:16 +0000 (12:51 +0100)]
Make std::sync::semaphore() public
William Ting [Fri, 11 Jan 2013 08:27:01 +0000 (02:27 -0600)]
Adds priv qualifiers where they have been commented out before implementation.
Updates #4386.
Patrick Walton [Fri, 11 Jan 2013 07:08:17 +0000 (23:08 -0800)]
libcore: Fix core test more. rs=broken
Patrick Walton [Fri, 11 Jan 2013 06:36:54 +0000 (22:36 -0800)]
libcore: Fix core test. rs=broken
Patrick Walton [Fri, 11 Jan 2013 05:58:30 +0000 (21:58 -0800)]
libcore: Fix windows bustage. rs=bustage
Patrick Walton [Fri, 11 Jan 2013 05:49:31 +0000 (21:49 -0800)]
libcore: Fix linux/windows bustage. rs=fire
Patrick Walton [Thu, 10 Jan 2013 07:17:57 +0000 (23:17 -0800)]
librustc: Implement a #[no_mangle] attribute to suppress name mangling. r=brson
This is very helpful for SDL, as SDL wants you to define a function named
`SDL_main`.
Tim Chevalier [Fri, 11 Jan 2013 05:18:12 +0000 (21:18 -0800)]
Use filtered instead of filter in rustdoc. Fixes segfault.
...of course, it shouldn't be segfaulting, but this fixes the
build.
rs=breakage
Patrick Walton [Fri, 11 Jan 2013 05:23:07 +0000 (21:23 -0800)]
librustc: Make all external functions unsafe. r=tjc
Brian Anderson [Fri, 11 Jan 2013 04:49:28 +0000 (20:49 -0800)]
Add John Clements to AUTHORS
John Clements [Fri, 11 Jan 2013 00:28:36 +0000 (16:28 -0800)]
corrected imprecision in description of mutable fields
Tim Chevalier [Fri, 11 Jan 2013 00:43:04 +0000 (16:43 -0800)]
Properly suppress derived type error messages
Previously, the typechecker suppressed many but not all errors,
by suppressing errors where the actual type was either ty_err, or
a function type whose result was ty_err. Added a has_ty_err flag
to the type flags so as to suppress errors for any types involving
ty_err.
r=nmatsakis
Tim Chevalier [Fri, 11 Jan 2013 04:09:26 +0000 (20:09 -0800)]
std: Address XXXes in flatpipes
Tim Chevalier [Fri, 11 Jan 2013 04:09:16 +0000 (20:09 -0800)]
std: Fix pattern match on reference, address an XXX
Tim Chevalier [Fri, 11 Jan 2013 04:08:49 +0000 (20:08 -0800)]
std: Fix net_url test that was commented out
Tim Chevalier [Fri, 11 Jan 2013 04:08:36 +0000 (20:08 -0800)]
std: Fix test that was commented out
Tim Chevalier [Thu, 10 Jan 2013 23:16:15 +0000 (15:16 -0800)]
core: Change XXXs into proper FIXMEs with issue numbers
Lindsey Kuper [Thu, 10 Jan 2013 21:29:15 +0000 (16:29 -0500)]
Update Lindsey's email address
Tim Chevalier [Thu, 10 Jan 2013 23:16:15 +0000 (15:16 -0800)]
core: Change XXXs into proper FIXMEs with issue numbers
Tim Chevalier [Thu, 10 Jan 2013 23:15:53 +0000 (15:15 -0800)]
Use deriving_eq for Task
Tim Chevalier [Thu, 10 Jan 2013 23:15:24 +0000 (15:15 -0800)]
Add xfailed test for #3973
Brian Anderson [Thu, 10 Jan 2013 23:22:22 +0000 (15:22 -0800)]
tutorial: Remove memory model section
Niko Matsakis [Thu, 10 Jan 2013 22:16:49 +0000 (14:16 -0800)]
add two more copies required in word-count rs=breakage
Tim Chevalier [Thu, 10 Jan 2013 22:37:59 +0000 (14:37 -0800)]
Add working test for issue 3935 and xfailed test for issue 3888
Tim Chevalier [Thu, 10 Jan 2013 22:15:17 +0000 (14:15 -0800)]
Add test cases: one xfailed, one not
Niko Matsakis [Thu, 10 Jan 2013 21:57:38 +0000 (13:57 -0800)]
correct expected error msgs in various tests rs=breakage
Tim Chevalier [Thu, 10 Jan 2013 21:44:27 +0000 (13:44 -0800)]
tests: Add two test cases, one xfailed
Niko Matsakis [Thu, 10 Jan 2013 14:29:26 +0000 (06:29 -0800)]
mode: reset mode on entry to fn body.
This is an interim fix to address the "Beware!" unsoundness. I have a
more comprehensive rewrite of mode.rs in the pipeline.
r=pcwalton
Brian Anderson [Thu, 10 Jan 2013 19:19:11 +0000 (11:19 -0800)]
Merge pull request #4414 from gifnksm/bigint-test
Issue 4393 BigInt tests fail on 32-bit platforms
Patrick Walton [Thu, 10 Jan 2013 19:16:54 +0000 (11:16 -0800)]
librustc: Implement `&static` as the replacement for `Durable`. r=nmatsakis
Patrick Walton [Wed, 9 Jan 2013 22:12:28 +0000 (14:12 -0800)]
librustc: Allow the type parameter version of `Self` to be spelled with a capital S
Graydon Hoare [Thu, 10 Jan 2013 18:24:18 +0000 (10:24 -0800)]
test: fix check-fast breakage.
gifnksm [Thu, 10 Jan 2013 13:47:55 +0000 (22:47 +0900)]
Fix: BigInt tests fail on 32-bit platforms
William Ting [Thu, 10 Jan 2013 07:11:04 +0000 (01:11 -0600)]
Rename memcpy, memmove, memset to prevent any confusion with the C equivalents.
Closes #4203.
Patrick Walton [Thu, 10 Jan 2013 05:15:27 +0000 (21:15 -0800)]
libcore: Fix missing `off_t` import on Mac. rs=bustage
Patrick Walton [Thu, 10 Jan 2013 05:14:28 +0000 (21:14 -0800)]
libcore: Some more fixes to Windows libc stuff. rs=bustage
Patrick Walton [Thu, 10 Jan 2013 04:39:37 +0000 (20:39 -0800)]
libcore: Fix Windows resolve errors. rs=bustage
Patrick Walton [Thu, 10 Jan 2013 03:24:02 +0000 (19:24 -0800)]
libcore: Fix import in libc. rs=bustage
Graydon Hoare [Thu, 10 Jan 2013 03:12:51 +0000 (19:12 -0800)]
std: fix net::tcp::test fallout from
2db3abd harder
Graydon Hoare [Thu, 10 Jan 2013 01:14:30 +0000 (17:14 -0800)]
core: fix crashing vec methods due to non-working moved self.
Brian Anderson [Wed, 9 Jan 2013 23:25:48 +0000 (15:25 -0800)]
rt: Remove unused command line parsing
Niko Matsakis [Tue, 8 Jan 2013 22:00:45 +0000 (14:00 -0800)]
A collection of refactorings that I found it hard/tiresome to divide:
- 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
Graydon Hoare [Wed, 9 Jan 2013 22:11:45 +0000 (14:11 -0800)]
rustc: yet more arch-specific fallout from
2db3abd
Brian Anderson [Wed, 9 Jan 2013 19:33:13 +0000 (11:33 -0800)]
Add Ilyong Cho to AUTHORS
Graydon Hoare [Wed, 9 Jan 2013 18:43:16 +0000 (10:43 -0800)]
rustc: more arch-specific fallout from
2db3abd
Graydon Hoare [Wed, 9 Jan 2013 17:49:11 +0000 (09:49 -0800)]
rustc: more fallout from
2db3abd
Graydon Hoare [Wed, 9 Jan 2013 17:48:17 +0000 (09:48 -0800)]
compiletest: more win32 fallout from
2db3abd
Graydon Hoare [Wed, 9 Jan 2013 17:26:40 +0000 (09:26 -0800)]
core: try to fix arch- and platform-specific fallout from
2db3abd
Graydon Hoare [Wed, 9 Jan 2013 17:05:06 +0000 (09:05 -0800)]
std: fix net::tcp::test fallout from
2db3abd
Graydon Hoare [Wed, 9 Jan 2013 16:16:31 +0000 (08:16 -0800)]
core: ignore recent should_fail tests on windows
Erick Tryzelaar [Tue, 8 Jan 2013 05:16:19 +0000 (21:16 -0800)]
core: add vec.filter that moves elems out of the vector
Erick Tryzelaar [Tue, 8 Jan 2013 05:15:25 +0000 (21:15 -0800)]
core: rename vec.filter to vec.filtered