| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2017-12-21 | docs: do not call integer overflows as underflows | Trevor Spiteri | -1/+1 | |
| 2017-12-20 | Rollup merge of #46828 - vi:hash_for_systemtime_instant, r=dtolnay | kennytm | -2/+2 | |
| Add Hash impl for SystemTime and Instant Closes #46670. Not sure how to actually test non-Linux platforms. `rustc --target=i686-pc-windows-gnu --crate-name std --crate-type rlib src/libstd/lib.rs -o q.rlib` works a bit, but for Redox I'm not sure what to do. r? @dtolnay | ||||
| 2017-12-19 | Add Hash impl for SystemTime and Instant | Vitaly _Vi Shukela | -2/+2 | |
| Closes #46670. | ||||
| 2017-12-11 | Add more Duration methods for consistency. | Clar Charr | -1/+62 | |
| 2017-09-23 | Auto merge of #44436 - MicroJoe:master, r=alexcrichton | bors | -0/+23 | |
| Add Duration::from_micros This fixes #44400 that explains why it could be useful for embedded designs timing. | ||||
| 2017-09-13 | from_micros: add feature name | Romain Porte | -1/+2 | |
| 2017-09-10 | from_micros: added issue number and fixed typo | Romain Porte | -2/+2 | |
| 2017-09-10 | from_micros: Fix missing { | Romain Porte | -0/+1 | |
| 2017-09-09 | from_micros: Added unstable annotation | Romain Porte | -0/+1 | |
| 2017-09-09 | from_micros: Inlined return for consistency | Romain Porte | -4/+1 | |
| 2017-09-08 | Add Duration::from_micros | Romain Porte | -0/+23 | |
| 2017-09-07 | Disable the 80-year-difference test on 32-bit-time_t platforms. | kennytm | -3/+6 | |
| 2017-09-07 | Fix incorrect test in `time::tests::system_time_math`. | kennytm | -1/+1 | |
| 2017-09-04 | std/time: Give an example to get UNIX_EPOCH in seconds | Alexander von Gluck IV | -0/+11 | |
| 2017-08-17 | Rollup merge of #43891 - Fourchaux:master, r=steveklabnik | Corey Farwell | -1/+1 | |
| Fix typos & us spellings Fixing some typos and non en-US spellings. (Update of PR https://github.com/rust-lang/rust/pull/42812 ) | ||||
| 2017-08-15 | use field init shorthand EVERYWHERE | Zack M. Davis | -4/+4 | |
| Like #43008 (f668999), but _much more aggressive_. | ||||
| 2017-08-15 | Fix typos & us spellings | Fourchaux | -1/+1 | |
| 2017-08-09 | Fix grammar | Steven Fackler | -1/+1 | |
| 2017-08-08 | Instant is monotonically nondecreasing | Steven Fackler | -2/+2 | |
| We don't want to guarantee that `Instant::now() != Instant::now()` is always true since that depends on the speed of the processor and the resolution of the clock. | ||||
| 2017-07-24 | Add a disabled builder for aarch64 emulated tests | Alex Crichton | -2/+10 | |
| This commit adds a disabled builder which will run all tests for the standard library for aarch64 in a QEMU instance. Once we get enough capacity to run this on Travis this can be used to boost our platform coverage of AArch64 | ||||
| 2017-07-23 | Auto merge of #43256 - Others:patch-1, r=steveklabnik | bors | -4/+1 | |
| Improve panic docs for Instant::duration_since The docs for Instant::duration_since has a confusing section on panicking. It's much more clear without the second two sentences of description. | ||||
| 2017-07-17 | `std::time::Duration`: improve _precision_ of terminology in docs | Collin J. Sutton | -14/+16 | |
| Changed wording of docs on `std::time::Duration` for better clarity w.r.t. the contents of the type and the purpose of its methods. | ||||
| 2017-07-15 | Improve panic docs for Instant::duration_since | Others | -4/+1 | |
| The docs for Instant::duration_since has a confusing section on panicking. It's much more clear without the second two sentences of description. | ||||
| 2017-05-03 | Add doc example for how to determine total number of secs in Duration. | Corey Farwell | -0/+15 | |
| 2017-05-02 | Update Duration::as_secs doc example to demonstrate truncation. | Corey Farwell | -2/+2 | |
| 2017-05-02 | Update Duration::from_millis doc example to show underlying values. | Corey Farwell | -1/+4 | |
| 2017-05-02 | Update Duration::from_secs doc example to show underlying values. | Corey Farwell | -1/+4 | |
| 2017-01-25 | std: Stabilize APIs for the 1.16.0 release | Alex Crichton | -12/+4 | |
| This commit applies the stabilization/deprecations of the 1.16.0 release, as tracked by the rust-lang/rust issue tracker and the final-comment-period tag. The following APIs were stabilized: * `VecDeque::truncate` * `VecDeque::resize` * `String::insert_str` * `Duration::checked_{add,sub,div,mul}` * `str::replacen` * `SocketAddr::is_ipv{4,6}` * `IpAddr::is_ipv{4,6}` * `str::repeat` * `Vec::dedup_by` * `Vec::dedup_by_key` * `Result::unwrap_or_default` * `<*const T>::wrapping_offset` * `<*mut T>::wrapping_offset` * `CommandExt::creation_flags` (on Windows) * `File::set_permissions` * `String::split_off` The following APIs were deprecated * `EnumSet` - replaced with other ecosystem abstractions, long since unstable Closes #27788 Closes #35553 Closes #35774 Closes #36436 Closes #36949 Closes #37079 Closes #37087 Closes #37516 Closes #37827 Closes #37916 Closes #37966 Closes #38080 | ||||
| 2017-01-19 | Auto merge of #38712 - clarcharr:duration_sum, r=sfackler | bors | -0/+15 | |
| Sum for Duration Implemented the `Sum` trait for `Duration`. Seems reasonable. | ||||
| 2017-01-13 | Rollup merge of #38362 - GuillaumeGomez:instant_doc, r=frewsxcv | Guillaume Gomez | -14/+115 | |
| Instant doc r? @frewsxcv | ||||
| 2017-01-05 | Add time module missing docs | Guillaume Gomez | -14/+115 | |
| 2016-12-30 | Sum for Duration. | Clar Charr | -0/+15 | |
| 2016-12-14 | Add missing Duration examples | Guillaume Gomez | -13/+66 | |
| 2016-11-10 | std: Derive `Default` for `Duration`. | Alex Crichton | -1/+1 | |
| Discussed in #37546 the libs team reached the conclusion that a default zero duration seems like a reasonable implementation of the `Default` trait. Closes #37546 | ||||
| 2016-09-29 | Reword description of SystemTimeError. | Tomasz Miąsko | -1/+1 | |
| Repalce timestamp with a system time, to be more consistent with remaining documentation. | ||||
| 2016-09-19 | Replace 'e.g.' by 'i.e.' | Guillaume Gomez | -2/+2 | |
| 2016-09-14 | Add feature crate attribute for duration_checked_ops to docs | Eugene Bulkin | -0/+8 | |
| 2016-09-14 | Fix doc-tests for Duration | Eugene Bulkin | -2/+10 | |
| 2016-09-13 | Implement add, sub, mul and div methods using checked methods for Duration | Eugene Bulkin | -35/+4 | |
| 2016-09-13 | Fix Duration::checked_mul documentation | Eugene Bulkin | -1/+1 | |
| 2016-09-13 | Add checked operation methods to Duration | Eugene Bulkin | -0/+162 | |
| 2016-09-07 | Add doc example for `std::time::Instant::elapsed`. | Corey Farwell | -0/+12 | |
| 2016-05-30 | std: Clean out old unstable + deprecated APIs | Alex Crichton | -15/+0 | |
| These should all have been deprecated for at least one cycle, so this commit cleans them all out. | ||||
| 2016-05-12 | Use the correct word in the explanation | Stefan Schindler | -1/+1 | |
| 2016-04-18 | Panic on overflow in `Duration::new` constructor | Tobias Bucher | -1/+7 | |
| Panicking on overflow is also done for `+`, and it replaces the currently incorrect overflow behavior of wrapping around, which does not make sense for `Duration`s. | ||||
| 2016-04-02 | Inline Duration constructors and accessors | Steven Fackler | -0/+5 | |
| These are all super small functions | ||||
| 2016-03-26 | Rollup merge of #32448 - sfackler:time-augmented-assignment, r=alexcrichton | Manish Goregaokar | -2/+58 | |
| Add augmented assignment operator impls for time types r? @alexcrichton | ||||
| 2016-03-23 | Add code examples for libstd/time | Guillaume Gomez | -0/+50 | |
| 2016-03-22 | Add augmented assignment operator impls for time types | Steven Fackler | -2/+58 | |
| 2016-03-12 | std: Clean out deprecated APIs | Alex Crichton | -16/+0 | |
| Removes all unstable and deprecated APIs prior to the 1.8 release. All APIs that are deprecated in the 1.8 release are sticking around for the rest of this cycle. Some notable changes are: * The `dynamic_lib` module was moved into `rustc_back` as the compiler still relies on a few bits and pieces. * The `DebugTuple` formatter now special-cases an empty struct name with only one field to append a trailing comma. | ||||
