Eric Reed
b03f1e7357
Missed the methods of UdpWatcher.
2013-07-19 13:04:03 -07:00
Eric Reed
968f7f5d3d
Changed methods on UDP sockets and TCP/UDP watchers to &mut self to reflect that libuv may change the underlying handle.
2013-07-19 13:04:03 -07:00
bors
0d04aa78e5
auto merge of #7871 : pcwalton/rust/de-at-match, r=brson
...
This will be needed to add `'static` bounds to `@`.
r? @nikomatsakis
2013-07-19 04:10:32 -07:00
Michael Woerister
b52eb4a0ff
debuginfo: Fixed some merge fallout
2013-07-19 11:29:27 +02:00
bors
32586faa6a
auto merge of #7868 : pnkfelix/rust/issue6929-remove-bogus-sed-invoke-from-configure, r=brson
...
... in tree.
Fix #6929
2013-07-19 02:25:34 -07:00
bors
06fec5243b
auto merge of #7863 : catamorphism/rust/issue-5883, r=catamorphism
2013-07-19 00:25:36 -07:00
Michael Woerister
6aa43c77d4
debuginfo: Fixed some merge fallout.
2013-07-19 07:58:28 +02:00
Michael Woerister
d8c27c3446
debuginfo: Fixed issue 7712.
2013-07-19 07:58:28 +02:00
Michael Woerister
72cf2ee136
debuginfo: Implemented trait_method branch in create_function_metadata().
2013-07-19 07:58:28 +02:00
Michael Woerister
a1c5c798c7
debuginfo: Added some documenting comments to debuginfo.rs
2013-07-19 07:58:28 +02:00
Michael Woerister
e9baeab695
debuginfo: Adapted DI generation to new memory layout of unique vecs.
2013-07-19 07:58:28 +02:00
Michael Woerister
b2aeb4b04b
debuginfo: Cleaned up style issues for pull request.
2013-07-19 07:58:28 +02:00
Michael Woerister
eed2d0e1f2
debuginfo: Added support for Option<T>-like enums.
2013-07-19 07:57:39 +02:00
Michael Woerister
7af2e6ee45
debuginfo: Fixed unique pointers to data containing managed pointers.
2013-07-19 07:57:39 +02:00
Michael Woerister
e0108a47ab
debuginfo: DI generation for enums uses adt::represent_type() now.
2013-07-19 07:57:38 +02:00
Michael Woerister
70e5c08e39
debuginfo: Extended test suite with various tests for enums.
2013-07-19 07:57:38 +02:00
Michael Woerister
a33d1b8f1d
debuginfo: Major code cleanup in debuginfo.rs
2013-07-19 07:57:38 +02:00
Michael Woerister
12d87d39c1
Cleanup of ty::VariantInfo and related functions.
2013-07-19 07:57:38 +02:00
Michael Woerister
77a00cca03
debuginfo: Fixes related to changed memory layout of unique allocations
2013-07-19 07:55:25 +02:00
Michael Woerister
3b06df4e35
debuginfo: Added support for struct-style enums.
2013-07-19 07:55:25 +02:00
Michael Woerister
7cf0aac6cf
debuginfo: Better support for univariant tuple-style enums.
2013-07-19 07:55:24 +02:00
Michael Woerister
f389bd8f2a
debuginfo: Support for tuple-style enums (WIP)
2013-07-19 07:55:24 +02:00
Michael Woerister
739f3eece9
debuginfo: Added support for c-style enums.
2013-07-19 07:55:24 +02:00
Michael Woerister
99ebb816cf
debuginfo: Added test cases for packed structs (/w drop)
2013-07-19 07:55:24 +02:00
Michael Woerister
6230ec1482
debuginfo: Replaced vec::mapi with iterator version.
2013-07-19 07:55:24 +02:00
Michael Woerister
f424e931da
debuginfo: Refactoring of composite type info generation done.
...
There is no more StructContext now. Better support for boxed vectors in there too.
2013-07-19 07:55:24 +02:00
Michael Woerister
36ea756831
debuginfo: Refactored vec slice code to use the new infrastructure. Added test cases for vec slices.
2013-07-19 07:53:58 +02:00
Michael Woerister
7a31a3e071
debuginfo: Removed some misleading comments from test cases.
2013-07-19 07:53:57 +02:00
Michael Woerister
1b20831c1e
debuginfo: Renamed *reference-to-* test cases to *borrowed-*
2013-07-19 07:53:57 +02:00
Michael Woerister
976d7a53cb
debuginfo: Began refactoring of composite type handling.
2013-07-19 07:53:57 +02:00
bors
91ebfbb959
auto merge of #7859 : kmcallister/rust/rt-diag-messages, r=pcwalton
...
I added these while tracking down heap corruption in Servo.
2013-07-18 22:40:38 -07:00
bors
3514a5af06
auto merge of #7857 : blake2-ppc/rust/fix-test-warnings, r=alexcrichton
...
Fix warnings that only show up when compiling the tests for libstd, libextra and one in librusti. Only trivial changes.
2013-07-18 20:55:38 -07:00
bors
b70c045f38
auto merge of #7856 : brson/rust/no-thread-per-core, r=pcwalton
...
This doesn't make sense under the new scheduler.
2013-07-18 19:10:41 -07:00
Tim Chevalier
e39ea2a5c8
rustpkg: Make rustpkg commands work without a package ID
...
`rustpkg build`, if executed in a package source directory inside
a workspace, will now build that package. By "inside a workspace"
I mean that the parent directory has to be called `src`, and rustpkg
will create a `build` directory in .. if there isn't already one.
Same goes for `rustpkg install` and `rustpkg clean`.
For the time being, `rustpkg build` (etc.) will still error out if
you run it inside a directory whose parent isn't called `src`.
I'm not sure whether or not it's desirable to have it do something
in a non-workspace directory.
2013-07-18 17:28:40 -07:00
bors
f28e581268
auto merge of #7854 : brson/rust/rt-test-threads, r=pcwalton
2013-07-18 17:19:41 -07:00
Patrick Walton
9089cf2ec9
librustc: Forbid &
pointers (other than &'static
) inside @
boxes.
...
This makes custom borrowing implementations for custom smart pointers
sound.
2013-07-18 17:12:46 -07:00
bors
3bcc196f82
auto merge of #7847 : alexcrichton/rust/verbose-submodule, r=pnkfelix
...
Closes #3816 .
Without --quiet, git shows its own progress report of download. It's not really a progress bar, but it's a percentage and files incoming. This will help initial downloads of LLVM to not cause people to wonder why their configure script is hanging for hours.
r? @graydon
2013-07-18 15:34:38 -07:00
Michael Sullivan
002bfd7966
Export information about used default methods instead of regenerating it. Closes #7862 .
2013-07-18 13:56:15 -07:00
Michael Sullivan
8e714fa8d8
Refactor a handful of stuff in the metadata encoder.
2013-07-18 13:56:14 -07:00
Michael Sullivan
585e283769
Add provided method information to ty::Method. Get rid of ProvidedMethodSource.
2013-07-18 13:56:14 -07:00
Michael Sullivan
2ea61204f6
Get rid of resolve::MethodInfo. Closes #4946 .
2013-07-18 13:56:14 -07:00
Michael Sullivan
f0a69b1a43
Refactor some coherence/method trans code, add an impls map to tcx.
...
Rewrite method_with_name_or_default to use the new impls map.
Get rid of ProvidedMethodsMap.
2013-07-18 13:56:14 -07:00
Michael Sullivan
37702216eb
Start of data structure cleanup for trait system. Get rid of CoherenceInfo, make trait_impls less bogus.
2013-07-18 13:56:14 -07:00
bors
78f8b407e3
auto merge of #7846 : alexcrichton/rust/static-mut-dox, r=pnkfelix
...
It's probably a good idea to at least *mention* them somewhere.
2013-07-18 13:49:36 -07:00
Patrick Walton
93fa7a4b09
librustc: Remove &
inside @
from borrowck/check_loans.
2013-07-18 12:21:08 -07:00
bors
874eb1939b
auto merge of #7845 : gifnksm/rust/tutorial-remove-dup, r=cmr
...
`pandoc` issues warnings.
```
pandoc: Duplicate link reference `[macros]' "source" (line 2151, column 1)
pandoc: Duplicate link reference `[tasks]' "source" (line 2150, column 1)
pandoc: Duplicate link reference `[wiki-start]' "source" (line 92, column 1)
```
This PR also removes unused link references.
2013-07-18 12:04:39 -07:00
Patrick Walton
bb8b83a680
librustc: Remove a bunch of @
boxes from Match
.
...
This will be needed to add `'static` bounds to `@`.
2013-07-18 11:24:36 -07:00
bors
f83c118f42
auto merge of #7833 : blake2-ppc/rust/hashmap-consume, r=alexcrichton
...
Updated all users of HashMap, HashSet ::consume() to use
.consume_iter().
Since .consume_iter() takes the map or set by value, it needs awkward
extra code to in librusti's use of @mut HashMap, where the map value can
not be directly moved out.
Addresses issue #7719
2013-07-18 10:19:44 -07:00
bors
559d2ef925
auto merge of #7842 : thestinger/rust/closure, r=huonw
2013-07-18 08:37:39 -07:00
bors
babf741177
auto merge of #7840 : alexcrichton/rust/better-test-help, r=huonw
...
Progress on #7824 , closes #7825
2013-07-18 06:52:41 -07:00