Jean-Yves Avenard
137766e6ad
Bug 1354090: P2. Add operator+(val). r=gerald
...
Such that:
[x, y] + a = [x+a, y+a]
MozReview-Commit-ID: HlyI9KmVtTg
--HG--
extra : rebase_source : ef5d9e942d365fbcffd796a1762bd89a042272e7
2017-04-07 11:31:00 +02:00
Jean-Yves Avenard
fb042f363f
Bug 1298606: P3. Fix coding style. r=gerald
...
MozReview-Commit-ID: L5MHnYOkyDV
--HG--
extra : rebase_source : 5da52435a47cc1dae14459ad44e910329c702ce4
2016-08-29 16:59:17 +10:00
Jean-Yves Avenard
e45036c616
Bug 1298606: P1. Add Intervals::ContainsStrict method. r=gerald
...
MozReview-Commit-ID: 7XA8xVUWSi7
--HG--
extra : rebase_source : e8123ed9a11063a5e0e83f4b31bb9cafec7f02b4
2016-08-27 20:24:31 +10:00
Jean-Yves Avenard
a3cc5764c1
Bug 1297580: P1. Remove broken optimisation in IntervalSet. r=gerald
...
Interval.LeftOf would always return true if the length of the interval
is less than the fuzzing value.
MozReview-Commit-ID: L9uyZjQXnGA
--HG--
extra : rebase_source : af14038da603b928c7a4942f1b37f031908e61bb
2016-08-24 17:17:25 +12:00
Birunthan Mohanathas
d7371d07d0
Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj
2016-02-02 17:36:30 +02:00
Phil Ringnalda
d381b4bca6
Back out 7 changesets (bug 1235261) for cpptest failures in TestTArray
...
CLOSED TREE
Backed out changeset d66c3f19a210 (bug 1235261)
Backed out changeset 467d945426bb (bug 1235261)
Backed out changeset 32b61df13142 (bug 1235261)
Backed out changeset c50bb8ed4196 (bug 1235261)
Backed out changeset 0ff0fa6fe81f (bug 1235261)
Backed out changeset df70e89669da (bug 1235261)
Backed out changeset 064969357fc9 (bug 1235261)
2016-01-31 10:10:57 -08:00
Birunthan Mohanathas
373593275e
Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj
2016-01-31 17:12:12 +02:00
Jean-Yves Avenard
5c7a8901c8
Bug 1227396: P11. Add IntervalSet::operator- operand. r=gerald
...
Also fix constness.
2015-11-30 11:29:36 +11:00
Jean-Yves Avenard
dd73df2954
Bug 1227396: P5. Make Interval::Span ignore empty interval. r=gerald
...
An interval with a length of 0 doesn't really exist and will be removed when used in an IntervalSet. As such, calculating a Span with an empty intervals didn't really make sense
2015-11-30 11:29:33 +11:00
Jean-Yves Avenard
f84dc2e04c
Bug 1227396: P4. Add IntervalSet::Clear method. r=gerald
2015-11-30 11:29:31 +11:00
Jean-Yves Avenard
5499ac5293
Bug 1227396: P3. Add IntervalSet::LastInterval method. r=gerald
2015-11-30 11:29:30 +11:00
Michael Layzell
469890ae16
Bug 1202148 - Move `current` in only one location in Intervals.h, r=jya
2015-09-14 16:04:10 -04:00
Birunthan Mohanathas
2b4a52cf2e
Bug 1185763 - Part 3: Rename nsTArray::MoveElementsFrom to AppendElements. r=froydnj
2015-08-11 08:29:46 -07:00
Sebastian Hengst
c2581fad83
Backed out 8 changesets (bug 1183910, bug 1190281)
...
Backed out changeset 6ddbdbd66174 (bug 1190281)
Backed out changeset c85c1d11bd72 (bug 1190281)
Backed out changeset 7f904a453bdb (bug 1190281)
Backed out changeset e17123b5bafd (bug 1190281)
Backed out changeset 50edbeb8912e (bug 1190281)
Backed out changeset cf98685302b6 (bug 1190281)
Backed out changeset e98a176b4e0b (bug 1190281)
Backed out changeset e7b3b23bcc82 (bug 1183910)
--HG--
rename : gfx/src/DriverCrashGuard.cpp => gfx/src/DriverInitCrashDetection.cpp
rename : gfx/src/DriverCrashGuard.h => gfx/src/DriverInitCrashDetection.h
2015-08-11 10:13:43 +02:00
Jean-Yves Avenard
7aa2dd9036
Bug 1184043: P1. Ignore empty interval in intervalset. r=mattwoodrow
...
Add IntersectsStrict method.
2015-07-16 14:31:51 +10: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
d78812b1ff
Bug 1171760: P1. Add IntervalSet operator-=. r=mattwoodrow
2015-07-01 11:42:49 +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
df197c4651
Bug 1174583: P1. Add iterators to IntervalSet. r=mattwoodrow
...
Make for more elegant loops.
2015-06-19 16:45:17 +10:00
Jean-Yves Avenard
e31b450b56
Bug 1171311: P11. Only perform fuzz search on the interval's start. r=mattwoodrow a=kwierso
...
--HG--
extra : rebase_source : ff2546bad00f2e79888bb24c4b8a928d707af383
2015-06-12 09:26:58 +10:00
Jean-Yves Avenard
e70b22a0e9
Bug 1171330: P2. Add -= and - operator to IntervalSet. r=mattwoodrow
...
Remove an interval from an interval set.
--HG--
extra : rebase_source : f3d54343f49a3d982512fe9e0e9b445afe7b11b2
2015-06-11 15:49:49 +10:00
Jean-Yves Avenard
37f6e4ba89
Bug 1168004: Part1. Ensure buffered range referential starts at 0. r=bholley
2015-05-25 19:27:21 +10:00
Jean-Yves Avenard
defc1834b4
Bug 1166836: Part3. Optimise most common addition to IntervalSet. r=mattwoodrow
2015-05-25 15:09:16 +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
e6216240f5
Bug 1163445: Part4. Add IntervalSet::SetFuzz method. r=mattwoodrow
...
Will be required for fuzzy search in MediaSource until full conversion to
Interval/IntervalSet.
2015-05-18 16:13:20 +10:00
Jean-Yves Avenard
640e48194f
Bug 1163445: Part3. Add IntervalSet::Contains(Interval) method. r=mattwoodrow
2015-05-18 16:13:20 +10:00
Jean-Yves Avenard
98e9b02398
Bug 1163445: Part1. Keep IntervalSet normalized. r=mattwoodrow
...
This is the easiest to ensure consistency when making calculations on them.
2015-05-18 16:13:20 +10:00
Jean-Yves Avenard
60e64f0add
Bug 1163453: Rename Interval<T>::Union into ::Span. r=mattwoodrow
...
When two intervals aren't intersecting it has nothing to do with an union.
2015-05-18 16:13:20 +10:00
Jean-Yves Avenard
e53336e678
Bug 1159579: Make IntervalSet destructor virtual r=mattwoodrow
2015-05-07 21:04:29 +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