Commit Graph

273872 Commits

Author SHA1 Message Date
Boris Zbarsky
8a80b97b4d Bug 1224596 part 5. Switch nsPerformance to using the new WorkerMainThreadRunnable::Dispatch signature. r=khuey 2015-11-24 00:04:20 -05:00
Boris Zbarsky
44eff75fdc Bug 1224596 part 4. Switch WebSocket to using the new WorkerMainThreadRunnable::Dispatch signature. r=khuey 2015-11-24 00:04:20 -05:00
Boris Zbarsky
8d014d5567 Bug 1224596 part 3. Make some WebSocket(Impl) methods whose return value is totally ignored void. r=khuey 2015-11-24 00:04:20 -05:00
Boris Zbarsky
9d46ecf208 Bug 1224596 part 2. Switch Navigator to using the new WorkerMainThreadRunnable::Dispatch signature. r=khuey 2015-11-24 00:04:20 -05:00
Boris Zbarsky
fc10952171 Bug 1224596 part 1. Add a version of WorkerMainThreadRunnable::Dispatch that takes an ErrorResult to report failure to dispatch on. r=khuey 2015-11-24 00:04:20 -05:00
Nicholas Nethercote
929ee0f0bf Bug 1225007 (part 1, attempt 3) - Use LayoutDevicePixel more in Cocoa widget code. r=kats. 2015-11-19 14:10:38 +11:00
Jeff Gilbert
d0de8b7a9a Bug 1221822 - Finish the WebGL texture refactor. r=kamidphish,mattwoodrow,bz 2015-11-23 19:27:13 -08:00
Jonas Sicking
a87c07ef3a Bug 1217456: Add a security flag for controlling redirects. Use this flag in fetch() implementation. r=bkelly,jduell 2015-11-23 18:47:10 -08:00
Mike Hommey
78dd2f3222 Bug 1224000 - Install defaults/permissions file under browser/ instead of under browser/chrome/browser. r=mshal,r=MattN
And restore resource://app/ to its true meaning.
2015-11-24 11:29:14 +09:00
Mike Hommey
bad75c0288 Bug 1226119 - Clear pending exception from script cache writing failure. r=bholley 2015-11-24 11:29:14 +09:00
Mike Hommey
2411b7899a Bug 1151124 - Add a simplified version of pymake's clinetoargv to mozbuild and use it. r=gps
Pymake's clinetoargv is very specific to pymake's use case, yet has been abused
as a replacement for shlex because shlex doesn't handle things properly for our
use cases.

Using pymake's clinetoargv, however, has shortcomings, and we're better off
importing its code in mozbuild, simplifying it a little, and using that
instead.

Plus, less dependencies on pymake will help kill it for good some day.
2015-11-24 11:29:14 +09:00
Nicholas Nethercote
b78a6d4156 Bug 1187152 (part 3) - Replace nsBaseHashtable::Enumerate() calls in modules/ with iterators. r=froydnj. 2015-11-22 18:52:40 -08:00
Nicholas Nethercote
06a99424d9 Bug 1187152 (part 2) - Replace nsBaseHashtable::Enumerate() calls in modules/ with iterators. r=froydnj. 2015-11-22 18:52:40 -08:00
Nicholas Nethercote
ea636ec9df Bug 1187152 (part 1) - Replace nsBaseHashtable::Enumerate() calls in modules/ with iterators. r=mwu. 2015-11-22 18:52:40 -08:00
Nicholas Nethercote
048edd8456 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
acd960ccbb 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
cd20de3742 Merge m-c to inbound, a=merge 2015-11-23 16:53:18 -08:00
Wes Kocher
062541f3b8 Merge b2ginbound to central, a=merge 2015-11-23 16:29:07 -08:00
Chris Pearce
da735de450 Bug 1223980 - Add iterable<ArrayBuffer,MediaKeyStatus> to MediaKeyStatusMap. r=bz 2015-11-24 13:13:21 +13:00
Chris Pearce
52912161b3 Bug 1223980 - Move CopyArrayBufferViewOrArrayBufferData to EMEUtis and add GetArrayBufferViewOrArrayBufferData. r=bz 2015-11-24 13:13:11 +13:00
Wes Kocher
fee050837f 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
f6d504087a 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
84bd668572 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
2f98ce7eb0 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
fc786e3993 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
ed5d5d43c7 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
62f472c5b6 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
973e864282 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
e1be6dfb0a 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
bd4ef415b5 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
f039e968c0 Bug 1210554 - Fix unified build breakage. r=sfink 2015-11-23 15:28:46 -08:00
Xidorn Quan
5b77fbea7b Bug 1227001 part 3 - Remove no longer used mChangedBreaks from BreakSink. r=jfkthame 2015-11-24 10:23:05 +11:00
Xidorn Quan
6f2535fcab Bug 1227001 part 2 - Remove no longer used mExistingTextRun from BreakSink. r=jfkthame 2015-11-24 10:23:05 +11:00
Xidorn Quan
98e7fd9638 Bug 1227001 part 1 - Remove SetupBreakSinksFlags from BuildTextRunsScanner. r=jfkthame 2015-11-24 10:23:05 +11:00
Blake Kaplan
c3ae982381 Bug 1196159 - Set nsGlobalWindow::mIsClosed properly after window.close(). r=billm 2015-11-23 15:08:14 -08:00
B2G Bumper Bot
219d40b4f3 Bumping manifests a=b2g-bump 2015-11-23 09:11:51 -08:00
B2G Bumper Bot
24696089a7 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
91ccefea43 Bumping manifests a=b2g-bump 2015-11-23 08:51:58 -08:00
B2G Bumper Bot
1681e2f182 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
a70e675c65 Bumping manifests a=b2g-bump 2015-11-23 07:16:49 -08:00
B2G Bumper Bot
9d043fce87 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
030dad9fd5 Merge mozilla-central to b2g-inbound 2015-11-23 14:53:00 +01:00
Carsten "Tomcat" Book
e8329a26bf merge mozilla-inbound to mozilla-central a=merge 2015-11-23 14:08:50 +01:00
B2G Bumper Bot
87d67d8db9 Bumping manifests a=b2g-bump 2015-11-23 04:24:28 -08:00
B2G Bumper Bot
c6d2abf6d6 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
16320f848b Bumping manifests a=b2g-bump 2015-11-23 03:54:28 -08:00
B2G Bumper Bot
bf16f3e986 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
2f3ebd68f1 Bumping manifests a=b2g-bump 2015-11-23 03:45:53 -08:00
B2G Bumper Bot
fe42abfcb2 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
b0334490bc merge fx-team to mozilla-central on a CLOSED TREE 2015-11-23 11:52:13 +01:00