]>
git.lizzy.rs Git - rust.git/log
Paul Stansifer [Thu, 26 Jul 2012 23:16:12 +0000 (16:16 -0700)]
Merge branch 'master' of github.com:paulstansifer/rust
Conflicts:
mk/docs.mk
src/libsyntax/ext/base.rs
Paul Stansifer [Thu, 26 Jul 2012 22:31:21 +0000 (15:31 -0700)]
Register snapshots.
Eric Holk [Thu, 26 Jul 2012 02:13:58 +0000 (19:13 -0700)]
Make parsing about 0.3 seconds faster.
Eric Holk [Thu, 26 Jul 2012 01:00:29 +0000 (18:00 -0700)]
3x faster typechecking
Eric Holk [Thu, 26 Jul 2012 00:29:34 +0000 (17:29 -0700)]
Add #[inline(never)], and also fixed inlining on vec::push
Paul Stansifer [Thu, 26 Jul 2012 17:14:01 +0000 (10:14 -0700)]
Change `#macro` to `macro_rules!` in some cases.
Paul Stansifer [Fri, 13 Jul 2012 00:59:59 +0000 (17:59 -0700)]
Allow old-style syntax extensions to be called with new syntax.
Ben Blum [Wed, 25 Jul 2012 22:01:48 +0000 (18:01 -0400)]
Fix asserts & short-read bug in isaac_seed (#2870)
Ben Blum [Wed, 25 Jul 2012 21:37:40 +0000 (17:37 -0400)]
Fix os::env race (#2870)
Graydon Hoare [Wed, 25 Jul 2012 21:50:02 +0000 (14:50 -0700)]
Merge pull request #3014 from elliottslaughter/fix-failed-build-by-xfailing-tests
Fix build by xfailing tests which produce irreducible CFGs.
Elliott Slaughter [Wed, 25 Jul 2012 21:42:37 +0000 (14:42 -0700)]
Fix build by xfailing tests which produce irreducible CFGs.
Eric Holk [Wed, 25 Jul 2012 17:13:37 +0000 (10:13 -0700)]
Polymorphic protocols work well enough to do MapReduce.
I did some horrible things with type variable naming here. It should do the right thing in most cases, but we'll need to go through and make it correct someday.
Eric Holk [Wed, 25 Jul 2012 01:00:08 +0000 (18:00 -0700)]
Bounded protocols work well enough to compile core, but map reduce has too many type parameters, so we have to get fancier.
Eric Holk [Tue, 24 Jul 2012 23:58:48 +0000 (16:58 -0700)]
Thread spans through the pipe compiler. They aren't perfect, but they make debugging far easier than core.rc:0:0.
Changed the is_bounded check, so we fail compiling core right now due to not supporting type parameters.
Eric Holk [Tue, 24 Jul 2012 19:11:29 +0000 (12:11 -0700)]
More purity to make it easier to borrow strings in format strings.
Eric Holk [Tue, 24 Jul 2012 16:35:44 +0000 (09:35 -0700)]
Added infrastructure to spin for a bit on recv. A spin count > 0 makes bench/pingpong.rs about 10x faster, but makes msgsend-ring-pipes unbearably slow.
Eric Holk [Tue, 24 Jul 2012 05:14:43 +0000 (22:14 -0700)]
Added a benchmark of bounded vs unbounded. Bounded is 8-12% faster. The macros currently don't work without pretty printing first.
Eric Holk [Tue, 24 Jul 2012 01:50:53 +0000 (18:50 -0700)]
Compiled a bounded version of pingpong.
There are some failures in the other pipe tests, but these seem to just be a matter of generalizing the library code.
Updating pipes library so all tests pass again
Eric Holk [Mon, 23 Jul 2012 21:46:39 +0000 (14:46 -0700)]
Generate buffer type for bounded protocols
Eric Holk [Mon, 23 Jul 2012 20:50:12 +0000 (13:50 -0700)]
Refactor the bounded pingpong example to avoid needing to generate unsafe code.
Took some steps towards bounded codegen.
Eric Holk [Mon, 23 Jul 2012 18:51:12 +0000 (11:51 -0700)]
Allow logging slices
Eric Holk [Mon, 23 Jul 2012 18:28:38 +0000 (11:28 -0700)]
Hand-written bounded pingpong implementation.
Eric Holk [Sat, 21 Jul 2012 02:06:32 +0000 (19:06 -0700)]
Refactoring pipes to allow implementing bounded protocols.
Eric Holk [Wed, 18 Jul 2012 23:28:58 +0000 (16:28 -0700)]
Started playing with macros to make receiving easier
Eric Holk [Wed, 18 Jul 2012 22:03:46 +0000 (15:03 -0700)]
Tighten pipe exports, and refactor traits.
Ben Blum [Wed, 25 Jul 2012 17:29:50 +0000 (13:29 -0400)]
(minor) remove config_notify from rustrt.def.in
Ben Blum [Wed, 25 Jul 2012 17:24:00 +0000 (13:24 -0400)]
minor rt cleanup
Ben Blum [Wed, 25 Jul 2012 04:53:43 +0000 (00:53 -0400)]
Remove notification channels in runtime (closes #1078)
Ben Blum [Wed, 25 Jul 2012 04:47:25 +0000 (00:47 -0400)]
Handle notification channels in task.rs
Graydon Hoare [Wed, 25 Jul 2012 17:20:40 +0000 (10:20 -0700)]
Merge pull request #3009 from elliottslaughter/utf8-idents-test-fix
Fix test floating point comparison to tolerate imprecise FPUs.
Niko Matsakis [Wed, 25 Jul 2012 17:19:28 +0000 (10:19 -0700)]
adjust deprecated_use not to warn about sugared closures
Niko Matsakis [Wed, 25 Jul 2012 16:19:59 +0000 (09:19 -0700)]
fix oversight in ty_decode.
I thought this case would not come up.
Niko Matsakis [Wed, 25 Jul 2012 13:41:56 +0000 (06:41 -0700)]
add new deprecated_mode lint pass
It will warn you if you use the default mode for something that
is expensive to copy, and it will warn you if you use any explicit
mode other than copy. So you should migrate over to using the
default mode for most things (and borrowed pointers when you don't
want to copy) and copy mode for things you really wanted to copy.
Niko Matsakis [Tue, 24 Jul 2012 23:23:23 +0000 (16:23 -0700)]
avoid capture of bound regions when infering types for closure
expressions. cc #2981
Niko Matsakis [Tue, 24 Jul 2012 15:12:15 +0000 (08:12 -0700)]
comment various region-related things better
Niko Matsakis [Fri, 20 Jul 2012 23:37:45 +0000 (16:37 -0700)]
make unique pointers inherit mutability from owner
Niko Matsakis [Fri, 20 Jul 2012 23:37:06 +0000 (16:37 -0700)]
from_fn and ref_set do not require copy bound
Niko Matsakis [Fri, 20 Jul 2012 23:36:42 +0000 (16:36 -0700)]
range() is pure
Niko Matsakis [Fri, 20 Jul 2012 03:13:00 +0000 (20:13 -0700)]
correct treatment of mutability for deref'd components
Fixes #2980
Patrick Walton [Wed, 25 Jul 2012 04:09:42 +0000 (21:09 -0700)]
vim: Highlight "struct"
Ben Blum [Wed, 25 Jul 2012 00:28:30 +0000 (20:28 -0400)]
rust_cond_lock acquire/release should be inside the atomically { .. }
Ben Blum [Wed, 25 Jul 2012 00:18:11 +0000 (20:18 -0400)]
Add 2-degree familial relations linked failure tests & fix secondborn behaviour
Elliott Slaughter [Mon, 25 Jun 2012 16:54:12 +0000 (09:54 -0700)]
Remove rustllvm functions which have moved upstream.
Graydon Hoare [Tue, 24 Jul 2012 23:42:11 +0000 (16:42 -0700)]
Bump LLVM, clang and compiler-rt, integrating eds' work.
Zack Corr [Sat, 21 Jul 2012 07:20:45 +0000 (17:20 +1000)]
Only initialize targets that are actually supported / linked to in RustWrapper
Zack Corr [Sat, 21 Jul 2012 06:10:04 +0000 (16:10 +1000)]
Allow 3.0, 3.1, 3.0svn and 3.1svn for llvm-root
Graydon Hoare [Tue, 24 Jul 2012 21:32:06 +0000 (14:32 -0700)]
Add core::hash containing SipHash-2-4 implementation. Re: #1616 and #859.
Patrick Walton [Wed, 25 Jul 2012 00:06:32 +0000 (17:06 -0700)]
rustc: Write impl attributes into the metadata
Patrick Walton [Tue, 24 Jul 2012 23:39:26 +0000 (16:39 -0700)]
test: Add a max/min classes test case
Patrick Walton [Tue, 24 Jul 2012 23:38:24 +0000 (16:38 -0700)]
rustc: Parse new-style impl declarations
Elliott Slaughter [Tue, 24 Jul 2012 22:48:18 +0000 (15:48 -0700)]
Fix test floating point comparison to tolerate imprecise FPUs.
Patrick Walton [Tue, 24 Jul 2012 22:29:14 +0000 (15:29 -0700)]
rustc: Don't require that structs have constructors
Ben Blum [Tue, 24 Jul 2012 22:22:44 +0000 (18:22 -0400)]
Change yield() and wait_event() to be MUST_CHECK and return the killed flag. (closes #2875)
Ben Blum [Tue, 24 Jul 2012 22:04:26 +0000 (18:04 -0400)]
Change task linked failure interface in manual
Eric Holk [Tue, 24 Jul 2012 21:56:59 +0000 (14:56 -0700)]
Fix xfail comment
Eric Holk [Tue, 24 Jul 2012 21:55:38 +0000 (14:55 -0700)]
Test case for #3005
Ben Blum [Tue, 24 Jul 2012 21:35:08 +0000 (17:35 -0400)]
tiny runtime cleanup
Ben Blum [Tue, 24 Jul 2012 21:31:43 +0000 (17:31 -0400)]
Remove unsupervise
Ben Blum [Tue, 24 Jul 2012 20:45:49 +0000 (16:45 -0400)]
task.rs remove old builder interface
Ben Blum [Tue, 24 Jul 2012 19:46:40 +0000 (15:46 -0400)]
Add option::unwrap_expect
Graydon Hoare [Tue, 24 Jul 2012 21:08:12 +0000 (14:08 -0700)]
Fix more windows breakage.
Patrick Walton [Tue, 24 Jul 2012 20:58:46 +0000 (13:58 -0700)]
rustc: Translate struct literals
Graydon Hoare [Tue, 24 Jul 2012 20:53:15 +0000 (13:53 -0700)]
Fix windows breakage.
Graydon Hoare [Tue, 24 Jul 2012 20:49:24 +0000 (13:49 -0700)]
Merge pull request #3003 from elliottslaughter/free-cant-fail
Don't emit invoke instructions inside landing pads.
Graydon Hoare [Tue, 24 Jul 2012 20:21:25 +0000 (13:21 -0700)]
Fix whitespace.
Graydon Hoare [Tue, 24 Jul 2012 19:35:34 +0000 (12:35 -0700)]
Update some str functions to slices, merge as_buf and unpack_slice.
Ben Blum [Tue, 24 Jul 2012 19:27:45 +0000 (15:27 -0400)]
Add 'do atomically { .. }' for exclusives
Elliott Slaughter [Mon, 23 Jul 2012 23:00:19 +0000 (16:00 -0700)]
Don't emit invoke instructions inside landing pads.
We can't throw an exception from inside a landing pad without
corrupting the exception handler, so we have no hope of dealing with
these exceptions anyway. See:
http://llvm.org/docs/ExceptionHandling.html#cleanups
Part of #2861.
Paul Stansifer [Tue, 24 Jul 2012 18:44:32 +0000 (11:44 -0700)]
Bugfix: enable transcription to deal with zero-repetition cases.
Paul Stansifer [Tue, 24 Jul 2012 18:44:17 +0000 (11:44 -0700)]
Improve an error message a little.
Paul Stansifer [Mon, 23 Jul 2012 22:34:43 +0000 (15:34 -0700)]
Bugfix: make the parser handle the case where zero repetitions occur, by handling parse results on the basis of what names the matcher expects to bind, not on what names are actually bound.
Paul Stansifer [Fri, 20 Jul 2012 22:33:18 +0000 (15:33 -0700)]
Add `5.timesi() |idx| { ... }`
Paul Stansifer [Wed, 18 Jul 2012 01:32:04 +0000 (18:32 -0700)]
Make rustdoc deal with macros. Rustdoc still fails, though; we think it needs to do an unparallelized, non-failure-ignoring resolve.
Patrick Walton [Tue, 24 Jul 2012 18:27:37 +0000 (11:27 -0700)]
rustc: Typecheck struct literals
Eric Holk [Tue, 24 Jul 2012 17:51:30 +0000 (10:51 -0700)]
Import reader_util
Tim Chevalier [Tue, 24 Jul 2012 16:42:58 +0000 (09:42 -0700)]
Typos in tutorial
Patrick Walton [Tue, 24 Jul 2012 01:44:59 +0000 (18:44 -0700)]
rustc: Resolve struct names in struct literals
Patrick Walton [Tue, 24 Jul 2012 01:49:34 +0000 (18:49 -0700)]
syntax: Expect the closing brace after struct literals
Ted Horst [Wed, 18 Jul 2012 04:13:11 +0000 (23:13 -0500)]
call task::yield in comm::peek
Glenn Willen [Fri, 13 Jul 2012 07:01:26 +0000 (03:01 -0400)]
Add to_str for hashmap.
Erick Tryzelaar [Sat, 21 Jul 2012 04:49:20 +0000 (21:49 -0700)]
Switch reader to work with preallocated vecs
This closes #2901.
Erick Tryzelaar [Sat, 21 Jul 2012 03:40:47 +0000 (20:40 -0700)]
tests: Rename to avoid colliding with real rust-zmq.
Erick Tryzelaar [Sat, 21 Jul 2012 02:20:23 +0000 (19:20 -0700)]
libcore: whitespace cleanup.
Erick Tryzelaar [Sat, 21 Jul 2012 02:20:13 +0000 (19:20 -0700)]
libcore: add vec memcpy and memmove fns
Erick Tryzelaar [Sat, 21 Jul 2012 02:19:44 +0000 (19:19 -0700)]
libcore: add vec::{mut_view, const_view}.
Erick Tryzelaar [Sat, 21 Jul 2012 02:18:41 +0000 (19:18 -0700)]
libcore: Modernize a docstring
Ben Blum [Tue, 24 Jul 2012 00:00:43 +0000 (20:00 -0400)]
Convert std::test to new task_builder interface
Ben Blum [Mon, 23 Jul 2012 23:58:47 +0000 (19:58 -0400)]
Convert bench and run-pass tests to new task_builder interface
Ben Blum [Mon, 23 Jul 2012 23:53:22 +0000 (19:53 -0400)]
Convert os/priv/uv to new task_builder interface
Ben Blum [Mon, 23 Jul 2012 23:40:25 +0000 (19:40 -0400)]
Get rid of task::future_task
Ben Blum [Mon, 23 Jul 2012 23:27:44 +0000 (19:27 -0400)]
Add task::task_builder interface for improved spawning (related #2585)
Graydon Hoare [Mon, 23 Jul 2012 23:47:35 +0000 (16:47 -0700)]
Merge pull request #2998 from elliottslaughter/no-landing-pads
Add debug flag to turn off landing pads.
Patrick Walton [Mon, 23 Jul 2012 23:39:18 +0000 (16:39 -0700)]
rustc: Max/min classes: Add struct literal syntax
Daniel Patterson [Mon, 9 Jul 2012 18:08:07 +0000 (14:08 -0400)]
Adding simple net::url module to parse and format urls.
Tim Chevalier [Mon, 23 Jul 2012 21:43:11 +0000 (14:43 -0700)]
Add Damian Gryski to AUTHORS
Tim Chevalier [Mon, 23 Jul 2012 21:39:08 +0000 (14:39 -0700)]
Merge pull request #3000 from dgryski/master
Fix formatting of multiline code blocks in asm-comments
Ben Blum [Mon, 23 Jul 2012 21:35:28 +0000 (17:35 -0400)]
Oops, xfail-win32 task-killjoin-rsrc
Damian Gryski [Mon, 23 Jul 2012 21:18:12 +0000 (23:18 +0200)]
Fix formatting of multi-line blocks in asm-comments
Patrick Walton [Mon, 23 Jul 2012 20:24:58 +0000 (13:24 -0700)]
syntax: Remove reference to typestate in a comment
Patrick Walton [Mon, 23 Jul 2012 17:11:10 +0000 (10:11 -0700)]
rustc: Make vtables use the coherence tables