Commit Graph

14222 Commits

Author SHA1 Message Date
Jesse Jones
eca23da98b Instead of returning a bool (which everyone ignored) pop asserts 2012-12-15 22:38:20 -08:00
Jesse Jones
6bab226fc5 Check for realloc failure and bad subscripts 2012-12-15 22:38:20 -08:00
Jesse Jones
cf1c3d2da0 polymorphic indexed_list fixes:
1) indexed_list no longer has virtual methods. It's not actually subclassed
and there is very rarely good reason to subclass collection classes.
2) Added a virtual dtor to indexed_list_object which is intended to be
subclassed. This allows derived dtors to be called if the object is
deleted with a indexed_list_object*.
2012-12-15 22:38:20 -08:00
Jesse Jones
fc740a7297 Improvements to array_list, hash_map, and indexed_list:
* Disabled copying.
* Added const where appropiate.
2012-12-15 22:38:19 -08:00
Brian Anderson
d4daa78aa3 Update docs for crate file changes 2012-12-15 19:55:25 -08:00
Tim Taubert
2f3d4f6181 rewrite uint::to_str_bytes to avoid raw pointers 2012-12-15 18:45:40 +01:00
Patrick Walton
ebd9ad4d04 librustc: Add a lint mode for deprecated self. r=brson 2012-12-14 19:46:55 -08:00
Patrick Walton
41c0d7083e librustc: Fix type_use for generic newtype structs. Closes #4188. rs=bugfix 2012-12-14 19:44:07 -08:00
Patrick Walton
8a9ccf81b0 librustc: Implement a lint mode for default methods. r=brson 2012-12-14 19:28:43 -08:00
Brian Anderson
d719eac8aa Use the term 'trait constraints' instead of 'inheritance' in release notes 2012-12-14 19:26:54 -08:00
Patrick Walton
99fa9c3cab Revert "librustc: Implement a lint mode for default methods"
This reverts commit 53b181dd47.
2012-12-14 19:13:59 -08:00
Patrick Walton
593f414254 test: Add a test for trait inheritance with self as a type parameter. rs=test-only 2012-12-14 19:12:29 -08:00
Patrick Walton
53b181dd47 librustc: Implement a lint mode for default methods 2012-12-14 19:07:20 -08:00
Patrick Walton
bdb2d659ae librustc: Ensure that no moves from the inside of @ or & boxes occur. rs=crashing-servo 2012-12-14 18:19:07 -08:00
Brian Anderson
e67190a0d2 Display the full TOC in the manual. Closes #4194 2012-12-14 18:06:21 -08:00
Brian Anderson
309cdfd835 Remove more uses of 'move' from core::vec 2012-12-14 17:12:41 -08:00
Brian Anderson
2c21f348a4 Rewrite core::vec::shift to not allocate 2012-12-14 17:09:44 -08:00
Brian Anderson
dbc52ce505 xfail-fast run-pass/stat.rs 2012-12-14 16:50:08 -08:00
Brian Anderson
fbf43492d5 Add check-stageN-doc target. Closes #4007 2012-12-14 16:48:32 -08:00
Brian Anderson
b0fc222fda Fix broken tests 2012-12-14 16:36:32 -08:00
Brian Anderson
a9601bce10 Fix broken tests 2012-12-14 15:58:06 -08:00
Tim Chevalier
47faeb9228 [docs] Note that types and modules share the same namespace 2012-12-14 15:42:34 -08:00
Brian Anderson
0afe002757 Fix broken test 2012-12-14 15:38:53 -08:00
Brian Anderson
88add6cbac Add a note about oldcomm to release notes 2012-12-14 15:31:55 -08:00
Tim Chevalier
3a5b6a79c6 Fix trait-inheritance-overloading-xc and un-xfail 2012-12-14 15:25:32 -08:00
Brian Anderson
0b3cc15a00 Add Daniel Micay to AUTHORS.txt 2012-12-14 15:23:56 -08:00
Brian Anderson
0a1ac75d1a Merge remote-tracking branch 'thestinger/vim' 2012-12-14 15:23:23 -08:00
Brian Anderson
8979695496 Fix broken tests 2012-12-14 15:10:45 -08:00
Tim Chevalier
abe33f165e Un-xfail tests that work now 2012-12-14 15:05:48 -08:00
Brian Anderson
3eb15b80d7 Merge pull request #4190 from brson/oldcomm
Work on removing comm
2012-12-14 15:03:20 -08:00
Brian Anderson
e6d1b02359 Rename core::comm to core::oldcomm 2012-12-14 14:59:32 -08:00
Brian Anderson
80ef7243ea Remove spawn_listener, spawn_conversation
These are not needed in a pipe-based Rustiverse
2012-12-14 14:59:32 -08:00
Brian Anderson
dff2853e4d Remove bench/shootout-threadring.rs
Will need to be completely rewritten for pipes
2012-12-14 14:59:32 -08:00
Brian Anderson
05a35a2e5c Remove two comm-oriented benchmarks that have pipe equivs 2012-12-14 14:59:32 -08:00
Brian Anderson
01a6524d00 Stop using spawn_conversation in chan_from_global_ptr 2012-12-14 14:59:32 -08:00
Brian Anderson
c35a8589ab Fix broken tests 2012-12-14 14:58:16 -08:00
Brian Anderson
ebc19034ee Fix broken tests 2012-12-14 14:26:57 -08:00
Daniel Micay
c7f7be83f5 update syntax/rust.vim for keyword changes 2012-12-14 17:13:11 -05:00
Patrick Walton
1b9f740f2f librustc: Reset the mode context to MoveValue for block lambdas. rs=bugfix 2012-12-13 21:44:19 -08:00
Brian Anderson
4559895b12 Update src/test/run-pass/static-fn-trait-xc.rs 2012-12-13 22:17:11 -07:00
Brian Anderson
b07a78b7cb Fix broken tests 2012-12-13 19:06:27 -08:00
Brian Anderson
9677fff0f9 Fix benchmarks 2012-12-13 18:24:15 -08:00
Erick Tryzelaar
786c143a70 Begin renaming serialization to std::serialize. (snapshot) 2012-12-13 18:16:31 -08:00
Patrick Walton
c3f0aa973e test: Fix last-use-corner-cases. rs=bustage 2012-12-13 18:08:52 -08:00
Patrick Walton
57e4ed479e librustc: Add missing case in mem_categorization. rs=bugfix 2012-12-13 18:03:48 -08:00
Brian Anderson
55c9cf72e3 Merge pull request #4181 from andrew-d/andrew-doc-fix1
Fix example in docs
2012-12-13 17:28:23 -08:00
Andrew Dunham
08b1c841da Rename "to_str" to "make_string" in the docs
There's already a "to_str" impl for string, so it fails here.
2012-12-13 20:07:58 -05:00
Graydon Hoare
885bdf7179 clean.mk: remove snapshot binaries as well. 2012-12-13 16:42:27 -08:00
Patrick Walton
cf02c2badf etc: Update RELEASES.txt with some new features 2012-12-13 16:25:24 -08:00
Patrick Walton
036b26a197 librustc: Remove merge markers. rs=oops 2012-12-13 16:17:57 -08:00