Brian Anderson
018dfaf9a6
core::rt: Unignore a fixed TCP test
2013-05-15 13:57:08 -07:00
Brian Anderson
0d1331f4a0
Merge remote-tracking branch 'brson/io' into incoming
2013-05-15 12:09:15 -07:00
Brian Anderson
d951da8276
core::rt: Fix TCP test on mac
2013-05-15 12:19:17 -07:00
Brian Anderson
2bc1e6ba60
core::rt: Copy many of the old io extensions to the new io
...
Some resolve problem is keeping the tests from working
2013-05-15 12:19:16 -07:00
Brian Anderson
d45dc8df72
core::rt: More work on Reader extensions and error handling
2013-05-15 12:19:16 -07:00
Brian Anderson
28a13ec8d7
core::rt: Make push_bytes raise read_error on EOF
2013-05-15 12:19:16 -07:00
Brian Anderson
1c1f11e649
core::rt: Warnings
2013-05-15 12:19:16 -07:00
Brian Anderson
390dde571e
core::rt: Rename Task to Coroutine
2013-05-15 12:19:16 -07:00
Brian Anderson
7f5746f6d2
core::rt: Rename Sched.task_queue to work_queue
2013-05-15 12:19:16 -07:00
Brian Anderson
56c0b188b6
rt: Rename sched_key to rt_key
...
It is more general-purpose than holding scheduler pointers
2013-05-15 12:19:16 -07:00
Brian Anderson
c42b03de17
core::rt: Fix scheduling logic for enqueued tasks
2013-05-15 12:19:15 -07:00
Brian Anderson
4724966b06
core::rt: Add uv timer bindings
2013-05-15 12:19:15 -07:00
Brian Anderson
76e097761e
core::rt: read raises read_error
2013-05-15 12:19:15 -07:00
Brian Anderson
b764d4cb4f
core::rt: Begin implementing Reader extension methods
2013-05-15 12:19:15 -07:00
Brian Anderson
013b7760b7
core: Turn task::unkillable, etc. into no-ops in newsched. #6377
...
Not necessary just yet but they make ARC not work.
2013-05-15 12:19:15 -07:00
Brian Anderson
afcf4f2639
core::rt: Don't abort when reporting an unknown uv error
2013-05-15 12:19:15 -07:00
Brian Anderson
174ec1e422
core::rt: Error handling for TcpStream.read
2013-05-15 12:19:15 -07:00
Brian Anderson
0a54bad3d1
core::rt: Initialize logging
2013-05-15 12:19:14 -07:00
Brian Anderson
cc2897d559
core: Replace use of libc::getenv with os::getenv
2013-05-15 12:19:14 -07:00
Brian Anderson
f6401bad24
core: Use a global lock instead of runtime lock for os::getenv, etc. #4726
2013-05-15 12:19:14 -07:00
Brian Anderson
36ad366519
core::rt: Add a test of standalone use of the runtime
2013-05-15 12:19:14 -07:00
Brian Anderson
bfd9aa9755
core:rt: A few micro-opts
2013-05-15 12:19:14 -07:00
bors
bcec83aaee
auto merge of #6493 : brson/rust/tls, r=thestinger
2013-05-15 10:14:04 -07:00
bors
d806c96ffb
auto merge of #6490 : brson/rust/rusti, r=brson
2013-05-15 09:14:05 -07:00
bors
4e82610099
auto merge of #6487 : recrack/rust/vec_len, r=thestinger
...
Rename vec::len(var) to var.len()
```
libcore, libfuzzer, librustc, librustdoc, libstd, libsyntax
test/auxiliary
test/bench
test/run-pass
```
2013-05-15 07:38:07 -07:00
bors
803c12d85f
auto merge of #6486 : recrack/rust/gitignore, r=catamorphism
...
add *.swo (vi tempory file)
2013-05-15 06:38:01 -07:00
bors
62c7027a32
auto merge of #6485 : cmr/rust/local_rename_import_error, r=catamorphism
2013-05-15 05:43:58 -07:00
bors
4e4f90d4a0
auto merge of #6482 : catamorphism/rust/unsafe-fn-autoderef, r=catamorphism
2013-05-14 23:59:19 -07:00
bors
217f96339a
auto merge of #6224 : erickt/rust/rustc-cleanup, r=erickt
...
Just a couple minor cleanups and renames of librustc
2013-05-14 22:57:37 -07:00
bors
31cedf6927
auto merge of #6478 : dotdash/rust/inlining, r=catamorphism
...
Not inlining these affects the hash table performance quite badly.
2013-05-14 22:00:01 -07:00
Brian Anderson
5af8646a8b
core: Fix leak in TLS. #6231
2013-05-14 20:50:43 -07:00
Erick Tryzelaar
729708d112
rustc: rename ty::method to ty::Method and add ctor
2013-05-14 20:10:46 -07:00
Erick Tryzelaar
18f6a51d0a
rustc: rename ast::self_ty and related fields to explicit_self
2013-05-14 20:10:46 -07:00
Erick Tryzelaar
70e02cf445
rustc: rename a method receiver type to rcvr_ty
2013-05-14 20:10:46 -07:00
Erick Tryzelaar
8d19f44c9d
syntax: add IterBytes impls for some ast types
2013-05-14 20:10:46 -07:00
Erick Tryzelaar
4bfe0f717f
rustc: rename some ty_self variables to self_arg
2013-05-14 20:10:45 -07:00
Erick Tryzelaar
9c80cf548a
rustc: Remove ty::arg
2013-05-14 20:10:45 -07:00
Erick Tryzelaar
191fdda46a
rustc: minor cleanup
2013-05-14 20:10:45 -07:00
Brian Anderson
2d35c01a28
rusti: Ignore tests. Failing on i686. #6489
2013-05-14 19:11:57 -07:00
bors
2fc6b0998b
auto merge of #6475 : sonwow/rust/tutorials, r=brson
2013-05-14 19:08:19 -07:00
Brian Anderson
6a6076ae81
core::rt: Ignore tcp test multiple_connect_interleaved_lazy_schedule
...
Hangs on mac.
2013-05-14 19:06:22 -07:00
Youngmin Yoo
a2a8596c3d
Rename vec::len(var) to var.len()
2013-05-15 11:05:28 +09:00
bors
cf0f760560
auto merge of #6333 : bjz/rust/cond-macro, r=thestinger
...
Addressing issue #6037 , this Scheme-style conditional helps to improve code clarity in instances where the `if`, `else if`, and `else` keywords obscure predicates undesirably.
Here is an example:
~~~rust
let clamped =
if x > mx { mx }
else if x < mn { mn }
else { x };
~~~
Using `cond!`, the above could be written as:
~~~rust
let clamped = cond!(
(x > mx) { mx }
(x < mn) { mn }
_ { x }
);
~~~
The optional default case is denoted by `_`.
I have altered `std::fun_treemap` to demonstrate it in use. I am definitely interested in using it for some of the numeric functions, but I will have to wait for it to reach `stage0` first.
2013-05-14 18:11:00 -07:00
Brendan Zabarauskas
7e4a176dd3
Use parentheses for cond! macro instead of preceding pipes
...
This is temporary. Once the macro parser has improved or been re-written these can be removed.
2013-05-15 11:02:17 +10:00
Corey Richardson
68863153bb
Fix resolution tests
2013-05-14 20:34:12 -04:00
Corey Richardson
8a69dba84a
Fix ICE
2013-05-14 20:34:05 -04:00
Corey Richardson
3bfc1ca91d
Get span from import_directive
2013-05-14 19:28:28 -04:00
Corey Richardson
62cbea1ca1
Add span to some import resolution errors
2013-05-14 18:52:31 -04:00
Corey Richardson
52f8b22d4f
Add test for resolution errors
2013-05-14 18:51:37 -04:00
Corey Richardson
03f75b629a
Better error reporting with renaming imports
2013-05-14 18:51:36 -04:00