Commit Graph

13727 Commits

Author SHA1 Message Date
Graydon Hoare
f4e107e6c7 whitespace police 2 2012-11-13 11:30:37 -08:00
Graydon Hoare
d2f93fd290 whitespace police 2012-11-13 11:16:19 -08:00
Graydon Hoare
ac0fd0ddc9 rustc: fix pp build breakage. 2012-11-13 10:54:10 -08:00
Brian Anderson
e9e4e7c0fd Add Chris Pressey to AUTHORS.txt 2012-11-13 10:47:23 -08:00
Patrick Walton
db9f8db741 librustc: Implement deriving with a unit return type. r=tjc 2012-11-13 10:37:58 -08:00
Graydon Hoare
c6d0117bf6 rustc: add new token-tree based quasiquoter. 2012-11-13 08:57:31 -08:00
Graydon Hoare
12b212f38c rustc: Remove the case of foo![...] as invocation syntax. foo!(...) and foo!{...} only. 2012-11-13 08:57:31 -08:00
Graydon Hoare
f7960ac549 Revert "m1!{...} is now forbidden. Use m1!(...) instead."
This reverts commit 89bbaff84f.
2012-11-13 08:57:31 -08:00
Graydon Hoare
4e1ce014c8 cleanup: convert some remaining #foo invocations to foo! form. 2012-11-13 08:57:31 -08:00
Patrick Walton
2b93ab5a21 rustc: Make static methods not leak out of traits. r=brson 2012-11-12 22:11:22 -08:00
Brian Anderson
a0fda80a52 Merge remote-tracking branch 'catseye/tutorial-grammar-fixes' 2012-11-12 18:09:20 -08:00
Brian Anderson
1ead8aa0b5 Merge pull request #3954 from burg/result-chain
Fix Result::chain, Result::chain_err to not require Copy bounds.
2012-11-12 18:05:29 -08:00
Brian J. Burg
37ed7fcaae Fix Result::chain, Result::chain_err to not require Copy bounds. 2012-11-12 17:53:08 -08:00
Patrick Walton
fe02814a63 rustc: Implement floating point literal inference. r=nmatsakis 2012-11-12 10:39:08 -08:00
Cat's Eye Technologies
7c35f7ed04 Minor grammatical edits; use preferred nomenclature consistently. 2012-11-11 16:19:40 +00:00
Brian Anderson
f05e2da709 Add a test for multiple main functions 2012-11-09 12:13:55 -08:00
Brian Anderson
3f816bdd57 xfail-fast run-pass/pub-use-xcrate 2012-11-08 19:02:25 -08:00
Brian Anderson
166c10e666 std: Eliminate copy warning 2012-11-08 17:14:02 -08:00
Brian Anderson
c78020ef4f Whitespace 2012-11-08 17:11:44 -08:00
Brian Anderson
8643f757a2 rustc: Fix cross-crate reexports. #3908. r=pcwalton 2012-11-08 17:10:48 -08:00
Brian J. Burg
a5718ba377 Change option::expect to not require a Copy bound, and move instead. 2012-11-08 16:25:22 -08:00
Brian Anderson
17020244e4 Merge pull request #3923 from am0d/master
Fixes issue #3891
2012-11-08 12:35:14 -08:00
Brian Anderson
9f15237937 Attempt to fix tools.mk under cross-compile 2012-11-07 21:19:01 -08:00
a_m0d
062ac8cb97 Fix whitespace issues from previous commits.
Also added test for #3891.
2012-11-07 23:49:01 -05:00
Patrick Walton
0fc952372a rustc: Support irrefutable patterns in function arguments. r=nmatsakis 2012-11-07 19:29:30 -08:00
Patrick Walton
b223c9c465 rustc: Autovivify modules even when a type def is present in resolve. Closes #3931. rs=nasty-bug 2012-11-07 14:28:16 -08:00
Brian Anderson
13c01dd48a Fix make install rules for new libraries 2012-11-07 14:05:45 -08:00
Brian Anderson
c2ffa3e916 Fix install target for new libraries 2012-11-07 14:05:45 -08:00
Brian Anderson
69a8b4d8e2 Rename src/rustc to src/librustc. Use the driver crate 2012-11-07 13:53:39 -08:00
Patrick Walton
f72ef31ede rustc: Long lines 2012-11-07 13:48:09 -08:00
Patrick Walton
2904095570 rustc: Implement the Drop trait. r=brson 2012-11-07 12:34:32 -08:00
Patrick Walton
70886d314d libstd: Implement a thread pool. r=brson 2012-11-07 12:05:41 -08:00
Brian Anderson
c88c969b3e Merge pull request #3932 from z0w0/mutptr
Implement Ptr trait for mutable unsafe pointers. Closes #3926.
2012-11-06 22:56:12 -08:00
Zack Corr
a54d046174 Implement Ptr trait for mutable unsafe pointers. Closes #3926. 2012-11-07 16:24:29 +10:00
Graydon Hoare
92e3a8c17e rustc: reuse const vals, translate fn paths as consts. Close #2530. 2012-11-06 17:13:52 -08:00
a_m0d
d42cf97bcc Fix trailing whitespace issues 2012-11-06 19:16:01 -05:00
a_m0d
59a592f4c4 Add end_of_file handling to TcpBufferedSocket.
This fixes #3891.

Also removed debug!(...) statement from socket destructor which causes a
crash when the logging level is set to debug.
2012-11-06 19:12:26 -05:00
Niko Matsakis
b0ed151539 Cleanup how we handle proto in types, remove unsound subtyping
Fixes #1896 which was never truly fixed, just masked.
The given tests would have failed had they used `~fn()` and
not `@fn()`.  They now result in compilation errors.

Fixes #2978.

Necessary first step for #2202, #2263.
2012-11-06 08:56:29 -08:00
Brian Anderson
53ec6c3f9b rt: Remove shape code 2012-11-05 15:22:35 -08:00
Brian Anderson
bc3f89e92b rustc: Stop declaring unused upcalls 2012-11-05 15:22:35 -08:00
Patrick Walton
449f4fbb07 rustc: Implement deriving involving generic bounded traits. r=brson 2012-11-05 13:38:45 -08:00
Patrick Walton
be93b29d30 rustc: Implement parsing and typechecking for "once fn" 2012-11-05 13:17:02 -08:00
Brian Anderson
9aadfc3f4b Make std::rl unsafe. #3921 2012-11-05 11:20:44 -08:00
Brian Anderson
c8b4dea4e0 Merge pull request #3919 from dbp/install-fix
make: change to LIB prefixed for fuzzer, carge, rustdoc, rusti uninstall
2012-11-04 20:38:05 -08:00
Daniel Patterson
0e5d0768df make: change to LIB prefixed for fuzzer, carge, rustdoc, rusti uninstall 2012-11-04 23:33:50 -05:00
Brian Anderson
849d3ff703 rusti: main must be public 2012-11-04 17:51:57 -08:00
Brian Anderson
6a332b235f rusti's crate type is 'lib' 2012-11-04 17:48:47 -08:00
Brian Anderson
a3c6b6a642 Fix rusti check targets some more 2012-11-04 17:25:46 -08:00
Brian Anderson
ee120decd9 Add missing rusti check targets 2012-11-04 17:17:04 -08:00
Brian Anderson
84208b2d26 Librarify rusti, etc. 2012-11-04 17:14:52 -08:00