Gecko engine for Wine
Go to file
Chris Double 562454d806 Bug 1055904 - Improve MSE eviction calculation - r=jya
Fixes a bug in the SourceBufferResource eviction code where it was
using the mOffset of the resource as the min bound for what to evict.
This offset is almost always zero though due to ReadFromCache being
used which never updates the offset. This prevented eviction from
happening in most cases.

Moves the code to remove old decoders so that it does this during
the same loop as that which remove data from existing decoders.
This more aggressively prunes old decoders and is more likely to
keep data in the current playing decoder around for seeking, etc.

Prevent removing any decoder that the MediaSourceReader is
currently using for playback to prevent RemoveDecoder crashes.

Add a threshold to subtract from the current time when working out
the time bound to evict before to make it less likely to evict
current data that is needed for current playback.

Remove all data from evicted decoders in the initial iteration then
iterate after to remove empty decoders to put the RemoveDecoder
logic in one place.

Iterate decoders in order that they were added rather than sorted
by time so the logic that removes entire decoders can do it only
to those old decoders that existed before the existing one was
created.

Keeps track of the time that was evicted from the current decoder
and uses that as the time to EvictBefore for all decoders in the
track buffer when doing MediaSource::NotifyEvict.

--HG--
extra : rebase_source : f7b4fe263a8041b3882585caea389742b2a1a9b3
2015-01-16 16:14:56 +13:00
accessible bug 1120285 - correctly shutdown outer doc accessible proxies r=davidb 2015-01-14 23:12:07 -05:00
addon-sdk Backout 2815bfd2ccb5 (bug 1114752) for apparently breaking b2g builds and tests on a CLOSED TREE 2015-01-11 22:02:02 -08:00
b2g Merge inbound to m-c a=merge 2015-01-15 16:14:14 -08:00
browser Bug 1109945 - Rewrite shader/program handling. - r=kamidphish 2015-01-15 15:40:39 -08:00
build merge fx-team to mozilla-central a=merge 2015-01-13 14:27:06 +01:00
caps Bug 1119268 - Mark virtual overridden functions as MOZ_OVERRIDE in misc code; r=bsmedberg 2015-01-12 23:26:30 -05:00
chrome Bug 1119264 - Mark virtual overridden functions as MOZ_OVERRIDE in chrome; r=bsmedberg 2015-01-12 23:26:28 -05:00
config Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2015-01-12 15:33:37 -05:00
content
db/sqlite3 Bug 1108328 - Upgrade SQLite to version 3.8.7.4. r=mak 2014-12-10 10:02:17 -05:00
docshell Bug 1039165: Replace spammy NS_ENSURE_TRUE in nsDocShell::CheckLoadingPermissions with simple early-return. r=bholley 2015-01-14 22:54:39 -08:00
dom Bug 1055904 - Improve MSE eviction calculation - r=jya 2015-01-16 16:14:56 +13:00
editor Bug 1110469 - Remove NS_OpenURI (r=sworkman) 2015-01-11 20:26:40 -08:00
embedding Bug 1121304 (part 2, attempt 2) - Remove PLDHashTableOps::{alloc,free}Table. r=froydnj. 2015-01-14 14:35:56 -08:00
extensions Bug 1122051: Convert extremely-spammy-during-mochitests NS_ENSURE_TRUE in SpellCheckRange() to a simple check-and-return. r=ehsan 2015-01-15 18:11:31 -08:00
gfx Bug 1121304 (part 2, attempt 2) - Remove PLDHashTableOps::{alloc,free}Table. r=froydnj. 2015-01-14 14:35:56 -08:00
hal Bug 1082290 - Add memory cgroup support to FxOS process control. r=gsvelto 2015-01-13 12:12:32 -08:00
image Bug 1122297 - Adjust existing Mac OS X reftest failure annotations that also show up on 10.10. r=philor 2015-01-15 18:00:49 -08:00
intl Bug 1005863 - Part 1: Use props2arrays for langGroups.properties. r=hsivonen 2015-01-14 07:30:49 +02:00
ipc Bug 966439 - BroadcastChannel API - patch 1 - BroadcastChannel for main-thread, r=smaug, r=bent 2015-01-15 16:58:40 +00:00
js bug 1077549 - remove useless gcc version checks r=glandium 2015-01-15 21:30:05 -05:00
layout Bug 1121304 (part 2, attempt 2) - Remove PLDHashTableOps::{alloc,free}Table. r=froydnj. 2015-01-14 14:35:56 -08:00
media Bug 1116056 - Change MOZ_ASSERT() to NS_WARNING() in Box::Read(); r=jya 2015-01-14 16:57:14 +13:00
memory Bug 1121314 - Avoid needing the arena in chunk_alloc_default to avoid possible infinite loops involving a0malloc. r=njn 2015-01-14 15:18:49 +09:00
mfbt bug 1077549 - remove useless gcc version checks r=glandium 2015-01-15 21:30:05 -05:00
mobile Merge fx-team to m-c a=merge 2015-01-15 17:06:55 -08:00
modules Bug 1121304 (part 2, attempt 2) - Remove PLDHashTableOps::{alloc,free}Table. r=froydnj. 2015-01-14 14:35:56 -08:00
mozglue Bug 1120062 - Part 1: Remove most Nullptr.h includes. r=waldo 2015-01-11 11:34:52 +09:00
netwerk Bug 1121304 (part 2, attempt 2) - Remove PLDHashTableOps::{alloc,free}Table. r=froydnj. 2015-01-14 14:35:56 -08:00
nsprpub Bug 1120778: Update NSPR to NSPR 4.10.8 beta 3 (NSPR_4_10_8_BETA3), r=me 2015-01-12 19:29:56 -08:00
other-licenses Bug 1090535 - Add Windows Firewall whitelist entry. r=bbondy 2014-12-26 13:57:33 -08:00
parser Bug 1121304 (part 2, attempt 2) - Remove PLDHashTableOps::{alloc,free}Table. r=froydnj. 2015-01-14 14:35:56 -08:00
probes
profile Backed out changeset bf25101e66cf (bug 1095098) for build bustage 2014-12-08 16:27:12 -08:00
python Bug 1118228 - Add an lldb helper that allows calling functions without debug info. r=jrmuizel, r=ehsan 2015-01-14 19:04:24 -05:00
rdf Bug 1121304 (part 2, attempt 2) - Remove PLDHashTableOps::{alloc,free}Table. r=froydnj. 2015-01-14 14:35:56 -08:00
security Bug 1121304 (part 2, attempt 2) - Remove PLDHashTableOps::{alloc,free}Table. r=froydnj. 2015-01-14 14:35:56 -08:00
services Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2015-01-12 15:33:37 -05:00
startupcache Bug 1110031 - Part 1: Mark more directories as FAIL_ON_WARNINGS. r=gps 2014-12-10 22:56:31 -08:00
storage Bug 1119268 - Mark virtual overridden functions as MOZ_OVERRIDE in misc code; r=bsmedberg 2015-01-12 23:26:30 -05:00
testing Merge fx-team to m-c a=merge 2015-01-15 17:06:55 -08:00
toolkit Bug 756885 - Bail out of test_bug624329.xul early on 10.10, where win.maximize() gives us a resize without actually maximizing 2015-01-14 22:30:04 -08:00
tools Bug 1121591 - Add nsIProfiler.dumpProfileToFile. r=BenWa 2015-01-14 19:05:32 -05:00
uriloader Bug 786938 - disable test_handlerApps.xhtml on OS X 10.10 where it's permaorange 2015-01-14 22:30:03 -08:00
view Bug 1120211 - Don't force the innerwindow size to the outerwindow size if the viewport is overridden. r=dbaron 2015-01-11 18:26:39 -05:00
webapprt Bug 1116765 - Fix browser_noperm.js test to consider indexedDB an always allowed permission. r=myk 2014-12-31 07:05:00 +01:00
widget Bug 1120753 - Fallback to software vsync if hardware vsync fails to initialize on b2g. r=kats,mwu 2015-01-15 07:56:12 -08:00
xpcom bug 1077549 - remove useless gcc version checks r=glandium 2015-01-15 21:30:05 -05:00
xpfe Bug 1118605 - Mark virtual overridden functions as MOZ_OVERRIDE in xpfe/appshell; r=bsmedberg 2015-01-12 16:30:52 -05:00
xulrunner Bug 1119776, Part 7: Avoid defining snprintf when MSVC provides it (other), r=bsmedberg 2015-01-08 22:35:33 -08:00
.clang-format
.clang-format-ignore
.gdbinit
.gitignore Bug 1098239 - Rewrite mobile/android Gradle integration. r=me 2014-12-22 19:49:04 -08:00
.hgignore Bug 1098239 - Rewrite mobile/android Gradle integration. r=me 2014-12-22 19:49:04 -08:00
.hgtags No bug - Tagging mozilla-central 2c951493eef5 with FIREFOX_AURORA_37_BASE a=release DONTBUILD CLOSED TREE 2015-01-12 15:30:49 -05:00
.lldbinit
aclocal.m4 Bug 1117068 - Part b: Remove checks for GCC PR 39608; r=mshal 2015-01-05 19:18:58 +01:00
Android.mk
AUTHORS Bug 1119560 - remove unused browser.search.param.yahoo-fr* prefs. r=gavin 2015-01-13 03:27:00 +01:00
client.mk
client.py
CLOBBER Bug 1101553 - touching CLOBBER to fix build bustage 2015-01-14 11:28:17 +01:00
configure.in bug 1077549 - remove useless gcc version checks r=glandium 2015-01-15 21:30:05 -05:00
LEGAL
LICENSE
mach
Makefile.in
moz.build
mozilla-config.h.in
README.txt

An explanation of the Mozilla Source Code Directory Structure and links to
project pages with documentation can be found at:

    https://developer.mozilla.org/en/Mozilla_Source_Code_Directory_Structure

For information on how to build Mozilla from the source code, see:

    http://developer.mozilla.org/en/docs/Build_Documentation

To have your bug fix / feature added to Mozilla, you should create a patch and
submit it to Bugzilla (https://bugzilla.mozilla.org). Instructions are at:

    http://developer.mozilla.org/en/docs/Creating_a_patch
    http://developer.mozilla.org/en/docs/Getting_your_patch_in_the_tree

If you have a question about developing Mozilla, and can't find the solution
on http://developer.mozilla.org, you can try asking your question in a
mozilla.* Usenet group, or on IRC at irc.mozilla.org. [The Mozilla news groups
are accessible on Google Groups, or news.mozilla.org with a NNTP reader.]

You can download nightly development builds from the Mozilla FTP server.
Keep in mind that nightly builds, which are used by Mozilla developers for
testing, may be buggy. Firefox nightlies, for example, can be found at:

    ftp://ftp.mozilla.org/pub/firefox/nightly/latest-trunk/
            - or -
    http://nightly.mozilla.org/