Commit Graph

451405 Commits

Author SHA1 Message Date
Boris Zbarsky
dd86a620e3 Bug 1224596 part 12. Switch ServiceWorkerRegistration to using the new WorkerMainThreadRunnable::Dispatch signature. r=khuey 2015-11-24 00:04:21 -05:00
Boris Zbarsky
fbb3dec310 Bug 1224596 part 11. Switch WorkerNavigator to using the new WorkerMainThreadRunnable::Dispatch signature. r=khuey 2015-11-24 00:04:21 -05:00
Boris Zbarsky
c47a933f93 Bug 1224596 part 10. Switch DataStoreCursor to using the new WorkerMainThreadRunnable::Dispatch signature. r=khuey 2015-11-24 00:04:21 -05:00
Boris Zbarsky
9db75e5551 Bug 1224596 part 9. Switch DataStore to using the new WorkerMainThreadRunnable::Dispatch signature. r=khuey 2015-11-24 00:04:20 -05:00
Boris Zbarsky
d0184c54fe Bug 1224596 part 8. Switch Notification to using the new WorkerMainThreadRunnable::Dispatch signature. r=khuey 2015-11-24 00:04:20 -05:00
Boris Zbarsky
dc20817615 Bug 1224596 part 7. Switch ImageBitmap to using the new WorkerMainThreadRunnable::Dispatch signature. r=khuey 2015-11-24 00:04:20 -05:00
Boris Zbarsky
ca5db745f2 Bug 1224596 part 6. Switch BroadcastChannel to using the new WorkerMainThreadRunnable::Dispatch signature. r=khuey 2015-11-24 00:04:20 -05:00
Boris Zbarsky
653d239045 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
b204c573ff 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
d3ea5a3ffc 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
2506749ff3 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
c30d4923b5 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
52b3d826da Bug 1225007 (part 1, attempt 3) - Use LayoutDevicePixel more in Cocoa widget code. r=kats.
--HG--
extra : rebase_source : e4b3bb36c18822557f7724a58979eddd9d8cac62
2015-11-19 14:10:38 +11:00
Jeff Gilbert
87397c265b Bug 1221822 - Finish the WebGL texture refactor. r=kamidphish,mattwoodrow,bz 2015-11-23 19:27:13 -08:00
Jonas Sicking
66bbe5bc72 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
d11a49f869 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
394d50aba5 Bug 1226119 - Clear pending exception from script cache writing failure. r=bholley 2015-11-24 11:29:14 +09:00
Mike Hommey
fb7b4a5eae 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
7e4bd1e0e1 Bug 1187152 (part 3) - Replace nsBaseHashtable::Enumerate() calls in modules/ with iterators. r=froydnj. 2015-11-22 18:52:40 -08:00
Nicholas Nethercote
7f26939fe8 Bug 1187152 (part 2) - Replace nsBaseHashtable::Enumerate() calls in modules/ with iterators. r=froydnj. 2015-11-22 18:52:40 -08:00
Nicholas Nethercote
f3b832777a Bug 1187152 (part 1) - Replace nsBaseHashtable::Enumerate() calls in modules/ with iterators. r=mwu. 2015-11-22 18:52:40 -08:00
Nicholas Nethercote
39043b2d44 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
bb8aa825e5 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
f0c8452657 Merge m-c to inbound, a=merge
--HG--
extra : commitid : Gy2ERoPoroD
2015-11-23 16:53:18 -08:00
Wes Kocher
2d81687dcc Merge b2ginbound to central, a=merge
--HG--
extra : commitid : lsgxpSuDc9
2015-11-23 16:29:07 -08:00
Chris Pearce
220ccc0478 Bug 1223980 - Add iterable<ArrayBuffer,MediaKeyStatus> to MediaKeyStatusMap. r=bz 2015-11-24 13:13:21 +13:00
Chris Pearce
2e8e9b44e1 Bug 1223980 - Move CopyArrayBufferViewOrArrayBufferData to EMEUtis and add GetArrayBufferViewOrArrayBufferData. r=bz 2015-11-24 13:13:11 +13:00
Wes Kocher
65da5f2e98 Bug 1221499 - Skip some failing tests on the recently enabled e10s+windows combo a=me
--HG--
extra : commitid : LF5MtJB0x2U
extra : amend_source : ccbe4b80338733acb7a6860c143bb8fb030adad1
extra : histedit_source : ea7cb7a9f352b9e2c0aa83938f0b4db5a9a7b568%2Cf3712d40a460bb7e3d3b0786d407024def589c60
2015-11-23 16:08:25 -08:00
Jakob Olesen
072dbcf1f7 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
2257ab0488 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
137875511b 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
c6a6ebb4a0 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
7f1734b658 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
1369a4294b 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
4fd935c057 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
0d7845c409 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
79b20824a5 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
8d5ec0ea2d Bug 1210554 - Fix unified build breakage. r=sfink 2015-11-23 15:28:46 -08:00
Xidorn Quan
b0bfc6460a Bug 1227001 part 3 - Remove no longer used mChangedBreaks from BreakSink. r=jfkthame
--HG--
extra : source : d279e229470cab165e28274b5e6045e2ea62f1b7
2015-11-24 10:23:05 +11:00
Xidorn Quan
a6caf098a4 Bug 1227001 part 2 - Remove no longer used mExistingTextRun from BreakSink. r=jfkthame
--HG--
extra : source : a1d68557e1c90b62a3318a81d814c21c75f45ec0
2015-11-24 10:23:05 +11:00
Xidorn Quan
03bc38abaf Bug 1227001 part 1 - Remove SetupBreakSinksFlags from BuildTextRunsScanner. r=jfkthame
--HG--
extra : source : 2ef65b73284b28557846d737f704552a2a474389
2015-11-24 10:23:05 +11:00
Blake Kaplan
62f9ceed14 Bug 1196159 - Set nsGlobalWindow::mIsClosed properly after window.close(). r=billm 2015-11-23 15:08:14 -08:00
B2G Bumper Bot
0264c9c22d Bumping manifests a=b2g-bump 2015-11-23 09:11:51 -08:00
B2G Bumper Bot
31d0002374 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
f7c2637784 Bumping manifests a=b2g-bump 2015-11-23 08:51:58 -08:00
B2G Bumper Bot
03248be961 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
26d74a3c21 Bumping manifests a=b2g-bump 2015-11-23 07:16:49 -08:00
B2G Bumper Bot
2bed520c1a 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
2dd57597de Merge mozilla-central to b2g-inbound 2015-11-23 14:53:00 +01:00
Carsten "Tomcat" Book
5f1ac1afb3 merge mozilla-inbound to mozilla-central a=merge 2015-11-23 14:08:50 +01:00