Commit Graph

29 Commits

Author SHA1 Message Date
Birunthan Mohanathas
2083419fba Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-02-02 17:36:30 +02:00
Phil Ringnalda
b885c4b318 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
a93e22749f Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-01-31 17:12:12 +02:00
Jean-Yves Avenard
dff4c3e669 Bug 1227396: P11. Add IntervalSet::operator- operand. r=gerald
Also fix constness.
2015-11-30 11:29:36 +11:00
Jean-Yves Avenard
bf4621e7dd 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
09c1082ca1 Bug 1227396: P4. Add IntervalSet::Clear method. r=gerald 2015-11-30 11:29:31 +11:00
Jean-Yves Avenard
e0badfffeb Bug 1227396: P3. Add IntervalSet::LastInterval method. r=gerald 2015-11-30 11:29:30 +11:00
Michael Layzell
9e13f65f5c Bug 1202148 - Move current in only one location in Intervals.h, r=jya 2015-09-14 16:04:10 -04:00
Birunthan Mohanathas
fd290c6aa3 Bug 1185763 - Part 3: Rename nsTArray::MoveElementsFrom to AppendElements. r=froydnj 2015-08-11 08:29:46 -07:00
Sebastian Hengst
fb11d73de5 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)
2015-08-11 10:13:43 +02:00
Jean-Yves Avenard
a208b0e347 Bug 1184043: P1. Ignore empty interval in intervalset. r=mattwoodrow
Add IntersectsStrict method.
2015-07-16 14:31:51 +10:00
Birunthan Mohanathas
e52329c788 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
14e97a550f Bug 1171760: P1. Add IntervalSet operator-=. r=mattwoodrow 2015-07-01 11:42:49 +10:00
Bobby Holley
dc1ff953bc Bug 1175768 - Misc changes to Intervals/TimeUnit. r=jya 2015-06-27 01:19:11 -07:00
Ryan VanderMeulen
9d5966b120 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
2766956917 Bug 1175768 - Misc changes to Intervals/TimeUnit. r=jya 2015-06-22 22:53:08 -07:00
Jean-Yves Avenard
3543243012 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
97fc04bbf8 Bug 1171311: P11. Only perform fuzz search on the interval's start. r=mattwoodrow a=kwierso 2015-06-12 09:26:58 +10:00
Jean-Yves Avenard
e8cc781393 Bug 1171330: P2. Add -= and - operator to IntervalSet. r=mattwoodrow
Remove an interval from an interval set.
2015-06-11 15:49:49 +10:00
Jean-Yves Avenard
e847e83a18 Bug 1168004: Part1. Ensure buffered range referential starts at 0. r=bholley 2015-05-25 19:27:21 +10:00
Jean-Yves Avenard
b37bb7571f Bug 1166836: Part3. Optimise most common addition to IntervalSet. r=mattwoodrow 2015-05-25 15:09:16 +10:00
Jean-Yves Avenard
88bb1a8eb1 Bug 1166282: Have TimeIntervals and IntervalSet nsTArray_CopyChooser specialization. r=nfroyd 2015-05-25 15:09:16 +10:00
Jean-Yves Avenard
cb58d9f184 Bug 1163445: Part5. Replace dom::TimeRanges with TimeIntervals object. r=mattwoodrow 2015-05-18 16:15:47 +10:00
Jean-Yves Avenard
f85b6e4435 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
8228135876 Bug 1163445: Part3. Add IntervalSet::Contains(Interval) method. r=mattwoodrow 2015-05-18 16:13:20 +10:00
Jean-Yves Avenard
d4659e5b61 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
eed2c1cdee 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
bcba77afa1 Bug 1159579: Make IntervalSet destructor virtual r=mattwoodrow 2015-05-07 21:04:29 +10:00
Jean-Yves Avenard
4da1b9bbff 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