| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2013-06-25 | xfail test hitting a codegen bug (issue #7385) | Daniel Micay | -1/+2 | |
| 2013-06-25 | remove `each` from vec, HashMap and HashSet | Daniel Micay | -210/+95 | |
| 2013-06-25 | container: remove internal iterators from Map | Daniel Micay | -137/+104 | |
| the maps are being migrated to external iterators | ||||
| 2013-06-25 | remove the redundant `each` method from OptVec | Daniel Micay | -26/+19 | |
| 2013-06-25 | auto merge of #7371 : alexcrichton/rust/trying, r=cmr | bors | -2/+42 | |
| This is an attempt at a smaller request than #7113, it's just the first two commits | ||||
| 2013-06-25 | Add the `warnings` lint attribute | Alex Crichton | -2/+42 | |
| 2013-06-25 | Rename all files with the 'rc' extension | Alex Crichton | -0/+0 | |
| 2013-06-25 | auto merge of #7317 : Aatch/rust/no-drop-flag, r=thestinger | bors | -19/+112 | |
| This adds a `#[no_drop_flag]` attribute. This attribute tells the compiler to omit the drop flag from the struct, if it has a destructor. When the destructor is run, instead of setting the drop flag, it instead zeroes-out the struct. This means the destructor can run multiple times and therefore it is up to the developer to use it safely. The primary usage case for this is smart-pointer types like `Rc<T>` as the extra flag caused the struct to be 1 word larger because of alignment. This closes #7271 and #7138 | ||||
| 2013-06-25 | auto merge of #7254 : Blei/rust/intrinsic-overhaul, r=cmr | bors | -654/+565 | |
| This sets the `get_tydesc()` return type correctly and removes the intrinsic module. See #3730, #3475. Update: this now also removes the unused shape fields in tydescs. | ||||
| 2013-06-25 | auto merge of #7291 : alexcrichton/rust/static-mut, r=huonw | bors | -109/+358 | |
| This adds both `static mut` items and `static mut` foreign items. This involved changing far less code than I thought it was going to, but the tests seem to pass and the variables seem functional. I'm more than willing to write more tests, so suggestions are welcome! Closes #553 | ||||
| 2013-06-24 | auto merge of #7370 : Aatch/rust/snapshot, r=huonw | bors | -68/+13 | |
| I also cleaned up the warnings. | ||||
| 2013-06-25 | Add missing import to tests | James Miller | -1/+1 | |
| 2013-06-25 | Warning police | James Miller | -10/+4 | |
| 2013-06-25 | Remove stage0 cfgs | James Miller | -57/+0 | |
| 2013-06-25 | Update snapshots file | James Miller | -0/+8 | |
| 2013-06-25 | Zero the struct in the take glue, not the drop glue | James Miller | -6/+17 | |
| 2013-06-25 | Set #[no_drop_flag] on Rc<T> and AtomicOption. Add Test | James Miller | -9/+39 | |
| 2013-06-25 | Add support for #[no_drop_flag] attribute | James Miller | -11/+63 | |
| 2013-06-24 | libc: (u)int => c_(u)int for consts | Fedor Indutny | -750/+785 | |
| 2013-06-24 | Fix test failure on windows | Philipp Brueschweiler | -3/+1 | |
| This patch ensures that the multiple extern definitions of `free` in the run-pass tests have the same declaration, working around #7352. | ||||
| 2013-06-24 | libc: add POSIX-compatible sysconf consts | Fedor Indutny | -0/+254 | |
| Because its part of POSIX. Values are taken from FreeBSD, linux and OSX header files. | ||||
| 2013-06-24 | libc: support functions from sys/mman.h | Fedor Indutny | -2/+269 | |
| Because its part of POSIX. Values are taken from FreeBSD, linux and OSX header files. | ||||
| 2013-06-24 | Fix 'static mut' tests | Alex Crichton | -2/+2 | |
| 2013-06-24 | auto merge of #7193 : Thiez/rust/fixbench, r=cmr | bors | -56/+62 | |
| This PR fixes a few problems with the benchmark, mentioned in #2913. Since I do not have a 4GB RAM machine (I run rust on a puny 2GB RAM VM) I can't test binarytrees with N=20. If it works we can close #2913. Fixes: 1) binarytrees prints "long lived trees of depth" instead of "long lived tree of depth" Fixes: 2) chameneosredux -- the whitespace printed by show_number should be the same as printed by show_color Already fixed: 3) spectralnorm prints an extra Fixes: 4) threadring prints an extra Fixes: 5) fasta -- strangely, output stops half-way through line 169 -- with another 8166 lines still to do. Could not test: 6) the latest binarytrees fails with input N=20 on a 4GB machine. r? | ||||
| 2013-06-24 | auto merge of #7334 : thestinger/rust/old_iter, r=Aatch | bors | -799/+257 | |
| the `test/run-pass/class-trait-bounded-param.rs` test was xfailed and written in an ancient dialect of Rust so I've just removed it this also removes `to_vec` from DList because it's provided by `std::iter::to_vec` an Iterator implementation is added for OptVec but some transitional internal iterator methods are still left | ||||
| 2013-06-24 | work around ICE from default method | Daniel Micay | -2/+2 | |
| issue #7341 | ||||
| 2013-06-24 | xfail-pretty on un-xfailed test | Daniel Micay | -0/+1 | |
| 2013-06-24 | iterator: implement `collect` with FromIterator | Daniel Micay | -5/+16 | |
| This makes it take advantage of the size hint for pre-allocation. | ||||
| 2013-06-24 | implement Clone for slices | Daniel Micay | -0/+12 | |
| 2013-06-24 | deal with windows | Daniel Micay | -1/+5 | |
| 2013-06-24 | xfail tests again for now (issues #7336, #7340) | Daniel Micay | -0/+7 | |
| 2013-06-24 | Fix/annotate a variety of xfails | Corey Richardson | -246/+98 | |
| 2013-06-24 | remove old_iter | Daniel Micay | -549/+120 | |
| the `test/run-pass/class-trait-bounded-param.rs` test was xfailed and written in an ancient dialect of Rust so I've just removed it this also removes `to_vec` from DList because it's provided by `std::iter::to_vec` an Iterator implementation is added for OptVec but some transitional internal iterator methods are still left | ||||
| 2013-06-24 | Implement the fixed output size versions of the SHA-2 digest functions. | Palmer Cox | -0/+1127 | |
| 2013-06-24 | Create a Digest trait for common methods on digests and convert the SHA-1 ↵ | Palmer Cox | -37/+119 | |
| implementation to use it. The DigestUtil trait was created for helper methods since default methods still have issues. | ||||
| 2013-06-24 | Improve the SHA-1 implementation | Palmer Cox | -237/+206 | |
| * Rename struct Sha1State to Sha1 * Remove all use of @ types * Use fixed length vectors * Move all of the inner functions from inside sha1() to top level, private functions * Sha1 instances are now created via Sha1::new() * Update all constant names to uppercase * Remove unecessary assert_eq!s * Remove check_vec_eq() helper function; use vec::eq() instead | ||||
| 2013-06-23 | Create a crypto submodule and move the SHA-1 implementation into it. | Palmer Cox | -1/+4 | |
| 2013-06-23 | Support foreign 'static mut' variables as well | Alex Crichton | -40/+129 | |
| 2013-06-23 | Add 'static mut' items to the language | Alex Crichton | -70/+230 | |
| 2013-06-23 | auto merge of #7279 : hanny24/rust/master, r=msullivan | bors | -0/+17 | |
| This commit adds filtered method for Option type. It is not exactly necessary (chain method can be used instead), however I believe that this approach using extra filtered method is more convinient. | ||||
| 2013-06-24 | Changed Arena API to make it usable once more. | Matthijs Hofstra | -11/+11 | |
| 2013-06-23 | auto merge of #7314 : bblum/rust/trait-bounds2, r=nikomatsakis | bors | -180/+583 | |
| Fixed a merge conflict, some tests, some bitrotting, etc., from #7248. | ||||
| 2013-06-23 | Fix pretty-printing builtin bounds on closures and traits | Ben Blum | -2/+6 | |
| 2013-06-23 | Check existential type contents against destination trait bounds. | Ben Blum | -25/+31 | |
| 2013-06-23 | Allow ~fn:Copy() to be copied. | Ben Blum | -7/+73 | |
| 2013-06-23 | Updated shootout-fasta.rs copyright years, removed stuff that caused lint to ↵ | Matthijs Hofstra | -18/+12 | |
| complain. | ||||
| 2013-06-23 | Fixed shootout-fasta.rs output | Matthijs Hofstra | -10/+14 | |
| 2013-06-23 | Added missing copyright notice to shootout-spectralnorm. | Matthijs Hofstra | -0/+10 | |
| 2013-06-23 | Changed shootout-chameneos-redux output to conform to the 'official' output ↵ | Matthijs Hofstra | -1/+1 | |
| format. | ||||
| 2013-06-23 | Updated copyright year on shootout-binarytrees.rs | Matthijs Hofstra | -21/+17 | |
