Commit Graph

273859 Commits

Author SHA1 Message Date
Nicholas Nethercote
d71cb426cd Bug 1187152 (part 1) - Replace nsBaseHashtable::Enumerate() calls in modules/ with iterators. r=mwu. 2015-11-22 18:52:40 -08:00
Nicholas Nethercote
f01997aef8 Bug 1187116 (part 6) - Replace nsBaseHashtable::EnumerateRead() calls in dom/indexedDB/ with iterators. r=khuey. 2015-11-18 21:04:22 -08:00
Nicholas Nethercote
6afdc6b0fd Bug 1187116 (part 5) - Replace nsBaseHashtable::EnumerateRead() calls in dom/indexedDB/ with iterators. r=khuey. 2015-11-18 21:04:10 -08:00
Wes Kocher
f8c7a2c527 Merge m-c to inbound, a=merge 2015-11-23 16:53:18 -08:00
Wes Kocher
626de9b1b3 Merge b2ginbound to central, a=merge 2015-11-23 16:29:07 -08:00
Chris Pearce
a7a3ab63e7 Bug 1223980 - Add iterable<ArrayBuffer,MediaKeyStatus> to MediaKeyStatusMap. r=bz 2015-11-24 13:13:21 +13:00
Chris Pearce
6bc30cf1e5 Bug 1223980 - Move CopyArrayBufferViewOrArrayBufferData to EMEUtis and add GetArrayBufferViewOrArrayBufferData. r=bz 2015-11-24 13:13:11 +13:00
Wes Kocher
c88a68af6c Bug 1221499 - Skip some failing tests on the recently enabled e10s+windows combo a=me 2015-11-23 16:08:25 -08:00
Jakob Olesen
04852dd654 Bug 1210554 - Handle toggled calls in CodeFromJump(). r=sstangl
When handed a call that had been disabled by ToggleCall(), this
function would crash.
2015-11-23 15:28:46 -08:00
Jakob Olesen
ca93710124 Bug 1210554 - Dynamically track short-range branches. r=sstangl
Add a branch range argument to LinkAndGetOffsetTo(): ARM64 branches
can't encode arbitrary ranges, so the linked list of unbound label uses
needs some consideration. We can't assume that a newly assembled branch
instruction will be able to point backwards to label->offset().

Change LinkAndGetOffsetTo() to a normal function instead of a template.
We don't need the code duplication just to apply different scale
factors. Throw the premature microoptimizers a bone by replacing the
element_size template argument with its logarithm.

Implement Assembler::PatchShortRangeBranchToVeneer() to insert the
veneer branch after the original short-range branch in the linked list
of uses of the unbound label.

Fix Assembler::bind() to understand that not all branches can reach the
label. Verify that these branches jump to a veneer instead.

Register short-range branches in LinkAndGetOffsetTo(), and unregister
them again in Assembler::bind().
2015-11-23 15:28:46 -08:00
Jakob Olesen
58af8b67c7 Bug 1210554 - Change representation of unbound Label linked lists. r=sstangl
Instead of storing byte offsets in the branch instructions using a
label, store instruction offsets, just like the finished branches do.
Use a 0 pc offset to terminate the linked list instead of -1.

This increases the maximum distance between linked branches to be the
same as the range of the branch instrructions. Previously, the
supported range was only 1/4 of what the branch instructions can
encode.

Provide protected functions for manipulating the linked list in
MozBaseAssembler, and rewrite Assembler::bind() and retarget() to use
them instead of decoding branches manually.

Move the LinkAndGet*OffsetTo functions into MozBaseAssembler. Our
version of these functions is completely different from the VIXL
versions.
2015-11-23 15:28:46 -08:00
Jakob Olesen
a6b1e06ca2 Bug 1210554 - Add enum ImmBranchRangeType. r=sstangl
We already have an ARM64 ImmBranchType which classifies the branch
instructions in the ISA. The /range/ classification is required because
we need unique small integers to pass to
AssemblerBufferWithConstantPool::registerBranchDeadline(). The b.cond
and cbz instructions have the same range, but different branch types.

Classify the 32 KB and 1 MB range branches as 'short-range'. Request
these branch ranges to be tracked by the new
AssemblerBufferWithConstantPools::NumShortBranchRanges faclity.

Also add two functions for computing the maximum forward and backward
reach of branches given their range enumerator.
2015-11-23 15:28:46 -08:00
Jakob Olesen
57a4d24b34 Bug 1210554 - Add PatchShortRangeBranchToVeneer(). r=nbp
This is the second part of the short branch handling in
AssemblerBufferWithConstantPools. The PatchShortRangeBranchToVeneer()
callback is called from finishPool() to patch short-range branches that
are about to expire.

Implement no-op versions of the callback for ARM and ARM64. These
versions will never be called as long as no short-line branches are
registered. They only exist to prevent linker errors in unoptimized
builds. In an optimized build, the unused function calls will be
optimized out because DeadlineSet<0>::empty() is hardwired to return
true.
2015-11-23 15:28:46 -08:00
Jakob Olesen
a1bbbf28d7 Bug 1210554 - Implement constant pool test. r=nbp
Test the existing functionality of AssemblerBufferWithConstantPools
using a fake ISA that is much more constrained than ARM and ARM64.

Documant the Assembler callback that are required to use
AssemblerBufferWithConstantPools, and implement mock versions for the
unit test.
2015-11-23 15:28:46 -08:00
Jakob Stoklund Olesen
f669093811 Bug 1210554 - Wire up branchDeadlines_ partially. No Asm callbacks yet. r=nbp
AssemblerBufferWithConstantPools geta a branchDeadlines_ member which keeps
track of forward branch to unbound labels.

Add a hasSpaceForInsts() method which collects the logic for checking for
available space in one place. Insert a constant pool both when constant pool
loads are about to go out of range, and when short-range branch deadlines are
about to expire.

Add registerBranchDeadline() and unregisterBranchDeadline() methods that the
assembler will use to add and remove branches to be tracked.
2015-11-23 15:28:46 -08:00
Jakob Olesen
f61bf360d4 Bug 1210554 - Implement BranchDeadlineSet. r=nbp
This is the data structure that will be used to keep track of
unresolved forward short-range branches.
2015-11-23 15:28:46 -08:00
Jakob Olesen
6e00468ee7 Bug 1210554 - Add testAssemblerBuffer to jsapi-tests. r=sstangl
Also minor fixes to the AssemblerBuffer class:

- Tighten encapsulation / data hiding.
- Use consistent types size_t + void* for raw byte data.
2015-11-23 15:28:46 -08:00
Jakob Olesen
a971a298d8 Bug 1210554 - Fix unified build breakage. r=sfink 2015-11-23 15:28:46 -08:00
Xidorn Quan
81957d8bcb Bug 1227001 part 3 - Remove no longer used mChangedBreaks from BreakSink. r=jfkthame 2015-11-24 10:23:05 +11:00
Xidorn Quan
32098e9c64 Bug 1227001 part 2 - Remove no longer used mExistingTextRun from BreakSink. r=jfkthame 2015-11-24 10:23:05 +11:00
Xidorn Quan
fecd22dd91 Bug 1227001 part 1 - Remove SetupBreakSinksFlags from BuildTextRunsScanner. r=jfkthame 2015-11-24 10:23:05 +11:00
Blake Kaplan
b750b89be6 Bug 1196159 - Set nsGlobalWindow::mIsClosed properly after window.close(). r=billm 2015-11-23 15:08:14 -08:00
B2G Bumper Bot
3fd58e0932 Bumping manifests a=b2g-bump 2015-11-23 09:11:51 -08:00
B2G Bumper Bot
0477e812a3 Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/f5fc1ed93387
Author: Gareth Aye <gareth.aye@gmail.com>
Desc: Merge pull request #33148 from mikehenrty/bug-1223877-better-screenshot-on-timeout

Bug 1223877 - Switch to system app before taking screenshot on timeout

========

https://hg.mozilla.org/integration/gaia-central/rev/2ad31df5644f
Author: Michael Henretty <michael.henretty@gmail.com>
Desc: Bug 1223877 - Switch to system app before taking screenshot on timeout
2015-11-23 09:10:13 -08:00
B2G Bumper Bot
45de53a891 Bumping manifests a=b2g-bump 2015-11-23 08:51:58 -08:00
B2G Bumper Bot
94683c6a9d Bumping gaia.json for 6 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/0fef610681a3
Author: evelynhung <jj.evelyn@gmail.com>
Desc: Merge pull request #33325 from evelynhung/issue-1226573

Bug 1226573 - manually handle focus movement between promotion list and app list, r=rex

========

https://hg.mozilla.org/integration/gaia-central/rev/6398cec52a2b
Author: Evelyn Hung <jj.evelyn@gmail.com>
Desc: Bug 1226573 - manually handle focus movement between promotion list and app list.

1. remove promotion list from app's spatialNavigator control.
2. set a flag to indicate focusing area when focus moves between promotion list and app list.
3. in each area, call its spatial navigator to move focus.

========

https://hg.mozilla.org/integration/gaia-central/rev/08bdb8dad8cc
Author: Fernando Jiménez Moreno <ferjmoreno@gmail.com>
Desc: Merge pull request #33316 from ferjm/bug1219259.tv.sync.enabled.popup

Bug 1219259 - [TV Data Sync] There should be a pop-up window if a use…

========

https://hg.mozilla.org/integration/gaia-central/rev/484a8234ca91
Author: Fernando Jiménez Moreno <ferjmoreno@gmail.com>
Desc: Bug 1219259 - [TV Data Sync] There should be a pop-up window if a user signs in successfully. r=yifan

========

https://hg.mozilla.org/integration/gaia-central/rev/60548a53ad1b
Author: Fernando Jiménez Moreno <ferjmoreno@gmail.com>
Desc: Merge pull request #33319 from ferjm/bug1224194.lastsync.hide

Bug 1224194 - Template string 'Last synced {{ when }}' visible in pho…

========

https://hg.mozilla.org/integration/gaia-central/rev/a9f02fbdfd2f
Author: Fernando Jiménez Moreno <ferjmoreno@gmail.com>
Desc: Bug 1224194 - Template string 'Last synced {{ when }}' visible in phone UI when syncing for the first time. r=yzen
2015-11-23 08:50:35 -08:00
B2G Bumper Bot
97980bf304 Bumping manifests a=b2g-bump 2015-11-23 07:16:49 -08:00
B2G Bumper Bot
a9d8c3e7a9 Bumping gaia.json for 4 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/22ffd41b8311
Author: Gabriele Svelto <gsvelto@mozilla.com>
Desc: Merge pull request #33192 from gabrielesvelto/bug-1080482-always-show-call-duration-in-dual-sim-mode

Bug 1080482 - Show the call duration when the keypad is open in multi-call mode r=thills

========

https://hg.mozilla.org/integration/gaia-central/rev/e639d4c0f187
Author: Gabriele Svelto <gsvelto@mozilla.com>
Desc: Bug 1080482 - Show the call duration when the keypad is open in multi-call mode r=thills

========

https://hg.mozilla.org/integration/gaia-central/rev/23ef23756df0
Author: Wilson Page <wilsonpage@me.com>
Desc: Merge pull request #33230 from wilsonpage/1217779

Bug 1217779 - [RTL][Music]The parenthesis in search result list are displayed incorrectly

========

https://hg.mozilla.org/integration/gaia-central/rev/8141b7f3fc37
Author: Wilson Page <wilsonpage@me.com>
Desc: Bug 1217779 - [RTL][Music]The parenthesis in search result list are displayed incorrectly
2015-11-23 07:15:27 -08:00
Carsten "Tomcat" Book
d6cede4d9c Merge mozilla-central to b2g-inbound 2015-11-23 14:53:00 +01:00
Carsten "Tomcat" Book
b1abac7a51 merge mozilla-inbound to mozilla-central a=merge 2015-11-23 14:08:50 +01:00
B2G Bumper Bot
0f39c8d6b3 Bumping manifests a=b2g-bump 2015-11-23 04:24:28 -08:00
B2G Bumper Bot
c9f5f1b93d Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/64e17d89777e
Author: Luke Chang <luke-chang@users.noreply.github.com>
Desc: Merge pull request #33134 from luke-chang/1212402_remote_control_visual

Bug 1212402 - [TV 2.5] Apply visual spec to the TV remote control app, r=rexboy

========

https://hg.mozilla.org/integration/gaia-central/rev/f497a55b19df
Author: Luke Chang <lchang@mozilla.com>
Desc: Bug 1212402 - [TV 2.5] Apply visual spec to the TV remote control app
2015-11-23 04:23:07 -08:00
B2G Bumper Bot
98df1a4224 Bumping manifests a=b2g-bump 2015-11-23 03:54:28 -08:00
B2G Bumper Bot
55ea32db13 Bumping gaia.json for 1 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/4525cca0e02f
Author: Evelyn Hung <jj.evelyn@gmail.com>
Desc: Revert "Merge pull request #33297 from evelynhung/issue-1226573"

This reverts commit ab4c01c2799ab10d41bd937426a4e93907b44304, reversing
changes made to bae13c9ac6a91beecd7c94384e2aef25ed1a3214.
2015-11-23 03:53:08 -08:00
B2G Bumper Bot
3c62c39c9f Bumping manifests a=b2g-bump 2015-11-23 03:45:53 -08:00
B2G Bumper Bot
0bd0304223 Bumping gaia.json for 4 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/f242a2530918
Author: Scott Wu <scottwu@mozilla.com>
Desc: Merge pull request #33264 from scottwu/1219693-gij-usb-storage

Bug 1219693 - Improved existing test cases for USB settings. r=gasolin

========

https://hg.mozilla.org/integration/gaia-central/rev/56b0d0b25e87
Author: Scott Wu <scottcwwu@gmail.com>
Desc: Bug 1219693 - Improved existing test cases for USB settings

========

https://hg.mozilla.org/integration/gaia-central/rev/a9ced138eea2
Author: evelynhung <jj.evelyn@gmail.com>
Desc: Merge pull request #33297 from evelynhung/issue-1226573

Bug 1226573 - manually handle focus movement between promotion list and app list, r=rex

========

https://hg.mozilla.org/integration/gaia-central/rev/ea55fcd92b2b
Author: Evelyn Hung <jj.evelyn@gmail.com>
Desc: Bug 1226573 - manually handle focus movement between promotion list and app list.

1. remove promotion list from app's spatialNavigator control.
2. set a flag to indicate focusing area when focus moves between promotion list and app list.
3. in each area, call its spatial navigator to move focus.
2015-11-23 03:44:31 -08:00
Carsten "Tomcat" Book
db1ae6a946 merge fx-team to mozilla-central on a CLOSED TREE 2015-11-23 11:52:13 +01:00
Carsten "Tomcat" Book
d46955b874 merge b2g-inbound to mozilla-central on a CLOSED TREE 2015-11-23 11:50:58 +01:00
Carsten "Tomcat" Book
3e084231b3 Backed out changeset 162ded2e49c8 (bug 1223696) for failing on own test on a CLOSED TREE 2015-11-23 09:48:56 +01:00
Wes Kocher
2e7f2539d9 Backed out changeset 7b113a6167e9 (bug 1215265) for mass bustage CLOSED TREE 2015-11-22 23:02:18 -08:00
Wes Kocher
f663748358 Backed out changeset 0cbe4b80d443 (bug 1215265) for mass bustage CLOSED TREE 2015-11-22 23:02:10 -08:00
Wes Kocher
757fdbb644 Backed out changeset 3f51676191a6 (bug 1225703) for cpp unittest failures on at least Windows CLOSED TREE 2015-11-22 23:00:58 -08:00
B2G Bumper Bot
7e0e2b5ffd Bumping manifests a=b2g-bump 2015-11-22 20:47:00 -08:00
B2G Bumper Bot
1fd03f95ee Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/6cc37ebe3f9f
Author: Rex KM Lee <rexboy@mozilla.com>
Desc: Merge pull request #33208 from rexboy7/1225062-fte-focus-on-click

Bug 1225062 - [TV][FTE] Catch focus on mouse click.r=ehung

========

https://hg.mozilla.org/integration/gaia-central/rev/7f5ae7eab7de
Author: Rex Lee <rexboy@mozilla.com>
Desc: Bug 1225062 - [TV][FTE] Catch focus on mouse click
2015-11-22 20:45:37 -08:00
B2G Bumper Bot
48f1fd3923 Bumping manifests a=b2g-bump 2015-11-22 20:16:39 -08:00
B2G Bumper Bot
6ac5510af3 Bumping gaia.json for 6 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/bf611d7ca0fe
Author: Evan Tseng <itoyxd@gmail.com>
Desc: Merge pull request #33160 from evanxd/bug-1214908

Bug 1214908 - Change audio channel type of unlock audio as system r=snowmantw

========

https://hg.mozilla.org/integration/gaia-central/rev/57888f0c52ba
Author: Evan Xd <itoyxd@gmail.com>
Desc: Bug 1214908 - Change audio channel type of unlock audio as system r=snowmantw

========

https://hg.mozilla.org/integration/gaia-central/rev/a3e16695ffc9
Author: danhuang1202 <dhuang@mozilla.com>
Desc: Merge pull request #33290 from danhuang1202/1226078_revise_fxaccount_enter_email_page_title

Bug 1226078 - revise title in fxaccount enter password page in TV bro…

========

https://hg.mozilla.org/integration/gaia-central/rev/a5a90424a544
Author: danhuang1202 <danhuang1202@gmail.com>
Desc: Bug 1226078 - revise title in fxaccount enter password page in TV browser. r=seanlee

========

https://hg.mozilla.org/integration/gaia-central/rev/aa0b753c85d9
Author: danhuang1202 <dhuang@mozilla.com>
Desc: Merge pull request #33289 from danhuang1202/1225431_revise_l10n_from_disconnect_to_signout

Bug 1225431 - revice l10 String to fxsync-sign-out and fxsync-confirm…

========

https://hg.mozilla.org/integration/gaia-central/rev/47454211c9d6
Author: danhuang1202 <danhuang1202@gmail.com>
Desc: Bug 1225431 - revice l10 String to fxsync-sign-out and fxsync-confirm-sign-out. r=seanlee
2015-11-22 20:15:16 -08:00
B2G Bumper Bot
a6e6d3f02a Bumping manifests a=b2g-bump 2015-11-22 18:36:38 -08:00
JW Wang
6710bc74bc Bug 1226569. Part 2 - assert functions that should never be called after shutdown. r=jya. 2015-11-23 10:35:56 +08:00
JW Wang
9e010b5272 Bug 1226569. Part 1 - Use MediaEventSource to publish MetadataLoaded and FirstFrameLoaded events. r=jya. 2015-11-23 10:35:18 +08:00
B2G Bumper Bot
566648c0ff Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/cd5d8df70c19
Author: Sean Lee <weilonge@gmail.com>
Desc: Merge pull request #33144 from michielbdejong/1223420-avoid-intermediate-array

Bug 1223420 - Avoid creating intermediate array in DataAdapters, r=seanlee

========

https://hg.mozilla.org/integration/gaia-central/rev/2142f135de4e
Author: Michiel de Jong <mbdejong@mozilla.com>
Desc: Bug 1223420 - Avoid creating intermediate array in DataAdapters, r=weilonge
2015-11-22 18:35:16 -08:00