| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2013-06-25 | auto merge of #7269 : luqmana/rust/drop, r=thestinger | bors | -32/+32 | |
| Finally rename finalize to drop. Closes #4332. | ||||
| 2013-06-25 | Merge remote-tracking branch 'mozilla/master' into incoming | Brian Anderson | -643/+1147 | |
| Conflicts: src/librustc/middle/astencode.rs src/librustc/middle/check_const.rs | ||||
| 2013-06-25 | Change finalize -> drop. | Luqman Aden | -32/+32 | |
| 2013-06-25 | Deny common lints by default for lib{std,extra} | Alex Crichton | -24/+17 | |
| 2013-06-25 | Converted UdpSocket into a newtype struct and (dis)connecting uses move ↵ | Eric Reed | -27/+12 | |
| semantics rather than ~. | ||||
| 2013-06-25 | converted UvUdpSocket into a newtype struct | Eric Reed | -14/+5 | |
| 2013-06-25 | changed outdated match on IpAddr | Eric Reed | -4/+2 | |
| 2013-06-25 | IPv6 struct | Eric Reed | -2/+4 | |
| 2013-06-25 | removed obsolete FIXMEs. formatting changes. | Eric Reed | -54/+24 | |
| 2013-06-25 | satisfy the formatting check | Eric Reed | -15/+19 | |
| 2013-06-25 | remove `each` from vec, HashMap and HashSet | Daniel Micay | -127/+8 | |
| 2013-06-25 | container: remove internal iterators from Map | Daniel Micay | -64/+52 | |
| the maps are being migrated to external iterators | ||||
| 2013-06-25 | removed unncessary unsafe block that was stopping compliation. | Eric Reed | -1/+1 | |
| 2013-06-25 | Merge remote-tracking branch 'upstream/io' into io | Eric Reed | -2265/+2699 | |
| Conflicts: src/rt/rustrt.def.in | ||||
| 2013-06-25 | UDP networking with tests | Eric Reed | -61/+366 | |
| 2013-06-25 | auto merge of #7371 : alexcrichton/rust/trying, r=cmr | bors | -0/+0 | |
| This is an attempt at a smaller request than #7113, it's just the first two commits | ||||
| 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 | -0/+1 | |
| 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 | -80/+217 | |
| 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-24 | auto merge of #7370 : Aatch/rust/snapshot, r=huonw | bors | -60/+1 | |
| 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 | -2/+0 | |
| 2013-06-25 | Remove stage0 cfgs | James Miller | -57/+0 | |
| 2013-06-25 | Set #[no_drop_flag] on Rc<T> and AtomicOption. Add Test | James Miller | -0/+1 | |
| 2013-06-24 | extra: Make test runner compatible with newsched | Brian Anderson | -7/+14 | |
| 2013-06-24 | std::rt: deny(unused_unsafe) | Brian Anderson | -4/+5 | |
| 2013-06-24 | std: Make unlinking and task notification work with newsched | Brian Anderson | -3/+44 | |
| 2013-06-24 | std: Make box annihilator work with newsched | Brian Anderson | -131/+94 | |
| 2013-06-24 | std: Move dynamic borrowck code from unstable::lang to rt::borrowck | Brian Anderson | -229/+294 | |
| 2013-06-24 | std: Rewrite vec_reserve_shared_actual in Rust | Brian Anderson | -25/+56 | |
| 2013-06-24 | Merge remote-tracking branch 'reusee/master' into HEAD | Brian Anderson | -2/+2 | |
| 2013-06-24 | libc: (u)int => c_(u)int for consts | Fedor Indutny | -750/+785 | |
| 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 | iterator: Add `IteratorUtil::flat_map_` method | blake2-ppc | -0/+67 | |
| flat_map_ produces an iterator that maps each element to an iterator, and yields the elements of the produced iterators. This is the monadic bind :: M a -> (a -> M b) -> M b for iterators. Named just like the vec method, but with a trailing underline until the method resolution bug is resolved. | ||||
| 2013-06-24 | work around ICE from default method | Daniel Micay | -2/+2 | |
| issue #7341 | ||||
| 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 | remove old_iter | Daniel Micay | -326/+15 | |
| 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-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-23 | Remove unused TyDesc parameter from the glue functions | Philipp Brüschweiler | -3/+34 | |
| To remove the environment pointer, support for function pointers without an environment argument is needed (i.e. a fixed version of #6661). | ||||
| 2013-06-23 | Remove rust_call_tydesc_glue | Philipp Brüschweiler | -48/+8 | |
| Towards #4812. Also includes some minor cleanups. | ||||
| 2013-06-23 | Remove unused shape fields from typedescs | Philipp Brüschweiler | -2/+0 | |
| 2013-06-23 | Remove intrinsic module | Philipp Brüschweiler | -50/+195 | |
| To achieve this, the following changes were made: * Move TyDesc, TyVisitor and Opaque to std::unstable::intrinsics * Convert TyDesc, TyVisitor and Opaque to lang items instead of specially handling the intrinsics module * Removed TypeDesc, FreeGlue and get_type_desc() from sys Fixes #3475. | ||||
| 2013-06-23 | Fix get_tydesc() return type | Philipp Brüschweiler | -0/+3 | |
| This fixes part of #3730, but not all. Also changes the TyDesc struct to be equivalent with the generated code, with the hope that the above issue may one day be closed for good, i.e. that the TyDesc type can completely be specified in the Rust sources and not be generated. | ||||
| 2013-06-23 | hashmap: add FIXME number | Daniel Micay | -1/+1 | |
| 2013-06-23 | std::to_str: Use .iter() for HashMap and HashSet | blake2-ppc | -2/+3 | |
| 2013-06-23 | std::hashmap: Remove BaseIter impl for HashSet | blake2-ppc | -7/+6 | |
| Remove the BaseIter impl, while keeping the .each method until callers are converted. | ||||
| 2013-06-23 | std::hashmap: Use .iter() instead of .each and similar | blake2-ppc | -8/+7 | |
| 2013-06-23 | std::hashmap: Add test_iterate for HashSet | blake2-ppc | -0/+14 | |
