Граф коммитов

18 Коммитов

Автор SHA1 Сообщение Дата
Jean-Yves Avenard f80719a883 Bug 1222866: P1. Round second to closest microseconds. r=gerald.
Due to the internal double representation as per IEEE 754, during conversion the use of ints would have rounded down our value.
2015-11-20 22:59:51 +11:00
Carsten "Tomcat" Book a17d19d02b Backed out changeset 002714e2ccba (bug 1222866) for m2 test failures 2015-11-20 08:28:09 +01:00
Jean-Yves Avenard 7c8d6ceb7d Bug 1222866: P1. Round second to closest microseconds. r=gerald.
Due to the internal double representation as per IEEE 754, during conversion the use of ints would have rounded down our value.
2015-11-20 15:41:13 +11:00
Birunthan Mohanathas a8939590de Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
The bulk of this commit was generated by running:

  run-clang-tidy.py \
    -checks='-*,llvm-namespace-comment' \
    -header-filter=^/.../mozilla-central/.* \
    -fix
2015-07-13 08:25:42 -07:00
Jean-Yves Avenard c7b6fa505d Bug 1179094: Use TimeUnit in PlatformDecoderModule. r=cpearce 2015-07-08 10:56:16 +10:00
Jean-Yves Avenard 6565a01978 Bug 1171760: P2. Add TimeUnit operator/= (int). r=mattwoodrow 2015-07-01 11:42:50 +10:00
Bobby Holley 8a626bf7ae Bug 1175768 - Misc changes to Intervals/TimeUnit. r=jya 2015-06-27 01:19:11 -07:00
Ryan VanderMeulen d9ca5de3ed Backed out 8 changesets (bug 1175768) for frequent media test failures.
Backed out changeset a369cfb95b59 (bug 1175768)
Backed out changeset e02dd312d622 (bug 1175768)
Backed out changeset 6776ce74b9e5 (bug 1175768)
Backed out changeset 6aa5fa1d318e (bug 1175768)
Backed out changeset a8bd7a0d2aea (bug 1175768)
Backed out changeset 41ffc9a9ac48 (bug 1175768)
Backed out changeset 2d2cefa397dc (bug 1175768)
Backed out changeset 4e06368496d2 (bug 1175768)

CLOSED TREE
2015-06-23 16:20:15 -04:00
Bobby Holley c53070187f Bug 1175768 - Misc changes to Intervals/TimeUnit. r=jya 2015-06-22 22:53:08 -07:00
Jean-Yves Avenard 75acd77984 Bug 1171330: P3. Add -=, - and * (with integer) operators to TimeUnit. r=mattwoodrow
--HG--
extra : rebase_source : 2e74a69d9ee15e55276ba9e65b3422f415b44efd
2015-06-11 15:49:49 +10:00
Bobby Holley bcb8dfea10 Bug 1160695 - Miscellaneous changes to TimeUnit. r=jww
I contemplated using the mIsValid bit on CheckedInt for nullability, but
eventually decided that it's too much of an overload. typedef-ing a Maybe<>
solves things nicely.

The current clash between the constants makes it impossible to do using
|using namespace mozilla::media;| in most cpp files. It would be nice to
put the constants in mozilla::media, but that requires updating a bunch of
files, so I'm not doing it now.
2015-06-08 09:21:19 -07:00
Jean-Yves Avenard 97f3b3817f Bug 1165819: Part2. Use TimeUnits in SourceBuffer. r=mattwoodrow 2015-06-05 11:53:05 +10:00
Jean-Yves Avenard 8adb944d2f Bug 1166282: Have TimeIntervals and IntervalSet nsTArray_CopyChooser specialization. r=nfroyd 2015-05-25 15:09:16 +10:00
Jean-Yves Avenard 54a681396b Bug 1163445: Part5. Replace dom::TimeRanges with TimeIntervals object. r=mattwoodrow 2015-05-18 16:15:47 +10:00
Jean-Yves Avenard 664088737e Bug 1163445: Part2. Add TimeUnit infinity concept. r=mattwoodrow
We use the value INT64_MAX as meaning infinity. This allows to avoid taking
more storage space than necessary but may result in unpredictable behaviour
when performing calculations.
2015-05-18 16:13:20 +10:00
Jean-Yves Avenard 40e5cc7845 Bug 1159579: Add Interval and IntervalSet objects. r=mattwoodrow
Along with a TimeIntervals class that reimplement all of dom::TimeRanges
features.
2015-05-07 10:24:10 +10:00
Jean-Yves Avenard 3cba2c6e62 Bug 1159578: Add a TimeUnit object. r=mattwoodrow
A TimeUnit describes a point in time, without explicit units (it is not a
microseconds nor a second) though can be converted in one or the other.
2015-05-04 21:16:34 +10:00
Matt Woodrow 1eb445f8ba Bug 1138260 - Add typed Microseconds class and use it for the range removal algorithm. r=jya,kinetik 2015-03-03 17:38:45 +13:00