Brian Anderson
018dfaf9a6
core::rt: Unignore a fixed TCP test
2013-05-15 13:57:08 -07:00
bors
6a9c3bd86e
auto merge of #6418 : catamorphism/rust/rustpkg, r=catamorphism
...
r? @brson This patch implements package IDs like
github.com/catamorphism/test-pkg.
To support such package IDs, I changed the PkgId struct to contain
a LocalPath and a RemotePath field, where the RemotePath reflects
the actual URL and the LocalPath reflects the file name of the cached
copy. Right now, the only difference is that the local path doesn't
contain dashes, but this will change when we implement #6407 .
Also, PkgIds now have a short_name field -- though the short name
can be derived from the LocalPath, I thought it was cleaner not to
call option::get() wantonly.
2013-05-15 13:28:49 -07:00
Daniel Micay
22c3db5df7
add a Clone impl for borrowed pointers
2013-05-15 15:58:20 -04:00
bors
8a15333c06
auto merge of #6498 : thestinger/rust/deep_clone, r=thestinger
...
This is mostly for `std::rc` and `std::arc` (but I haven't implemented it for ARC yet).
Implementing it correctly for managed boxes is *very* non-trivial. It would probably require an unholy mix of reflection and TLS.
2013-05-15 12:22:58 -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
Brian Anderson
0acb0d91c0
Remove stray binary
2013-05-15 11:21:49 -07:00
bors
f4c88c7da0
auto merge of #6495 : thestinger/rust/vim, r=luqmana
2013-05-15 11:20:01 -07:00
Corey Richardson
6ef226d5d9
Add unsetenv wrapper
2013-05-15 13:40:35 -04: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
Youngsoo Son
f11297f608
rename at_vec::from_owned
and at_vec::from_slice
to at_vec::to_managed_consume
and at_vec::to_managed
2013-05-16 00:33:54 +09: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
Junyoung Cho
37fe2b60d5
Merge type_span and type_def, and ditto with value_span and value_def
2013-05-15 21:33:33 +09:00
Lenny222
017df987b8
remove deriving_eq, deriving_iter_bytes, deriving_clone (deprecated in 0.6)
2013-05-15 10:51:40 +02:00
Daniel Micay
cda3ac905a
rc: fix tests
2013-05-15 04:34:31 -04:00
bors
4e4f90d4a0
auto merge of #6482 : catamorphism/rust/unsafe-fn-autoderef, r=catamorphism
2013-05-14 23:59:19 -07:00
Björn Steinbrink
109bb7c78b
Allow static strings to be used with keyword checks
2013-05-15 08:01:04 +02: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
Daniel Micay
75822f2894
add a DeepClone trait
...
for deep copies through shared ownership boundaries
2013-05-15 01:36:41 -04: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
Daniel Micay
fa45958ec8
clone: clarify docstring
2013-05-15 00:42:52 -04:00
Daniel Micay
298a72602b
vim: be
is still a reserved keyword
2013-05-15 00:03:55 -04:00
Daniel Micay
d65a136cb0
vim: no more drop blocks
2013-05-15 00:01:58 -04:00
Daniel Micay
17a68d1e8d
vim: swap operator is gone
2013-05-14 23:59:55 -04: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