Commit Graph

534300 Commits

Author SHA1 Message Date
Sebastian Hengst
258857a6e9 Backed out changeset b79cbaa5cf1a (bug 1322650) 2017-05-05 18:53:50 +02:00
Sebastian Hengst
8eeeb93b94 Backed out changeset 0c01bf8a1bd9 (bug 1322650) 2017-05-05 18:53:45 +02:00
Sebastian Hengst
f3bfd1e1da Backed out changeset d6516a10c808 (bug 1322650) 2017-05-05 18:53:40 +02:00
Sebastian Hengst
2340610625 Backed out changeset 9d3843274c67 (bug 1322650) 2017-05-05 18:53:36 +02:00
Sebastian Hengst
a73c158876 Backed out changeset adf185af7963 (bug 1322650) 2017-05-05 18:53:31 +02:00
Sebastian Hengst
dea4ddd4c5 Backed out changeset f94c4f5bf53a (bug 1322650) 2017-05-05 18:53:26 +02:00
Sebastian Hengst
b66276dd92 Backed out changeset 698a25fb6e01 2017-05-05 18:53:21 +02:00
Sebastian Hengst
6ae312ded4 Backed out changeset d047739306d9 (bug 1322650) 2017-05-05 18:53:00 +02:00
Franziskus Kiefer
66955a7251 Bug 1345368 - land NSS 236a06d9c3c4, r=me
--HG--
extra : rebase_source : b097dd39571750acd76656e275e6899c95d52269
2017-05-05 16:07:08 +02:00
James Willcox
dddf3fc25d Bug 1322650 - back out f94c4f5bf53a for test failures r=me 2017-05-05 11:04:57 -05:00
Mark Banner
0f020586ea Bug 1356243 - Enable Screenshots by default. r=Mossop
MozReview-Commit-ID: 9g7dLGzI1Hg
2017-04-30 17:20:28 +01:00
Nathan Froyd
844bb853dd Bug 1362390 - make Base64Encode tolerant of allocation failures; r=mccr8 2017-05-05 11:33:36 -04:00
Nathan Froyd
880d162a51 Bug 1362194 - part 3 - make Base64Decode even more tolerant of allocation failures; r=mccr8
The lossy conversion to ASCII here can also fail; we should handle that
as well.  Rewriting the code to use MakeScopeExit also avoids tangled
logic and/or duplicating calls to ensure the destination string is
truncated on failure.
2017-05-05 11:33:36 -04:00
Nathan Froyd
8b000da91e Bug 1362194 - part 2 - make Base64Decode tolerant of allocation failures; r=mccr8
We need to use a fallible CopyASCIItoUTF16 function, since we might not
have enough memory to perform the copy.
2017-05-05 11:33:36 -04:00
Nathan Froyd
f6465f98b9 Bug 1362194 - part 1 - add a fallible CopyASCIItoUTF16 function; r=mccr8
We already have all the machinery to expose a function like this, we
just need to write it.
2017-05-05 11:33:36 -04:00
Neil Deakin
38846a0f8f Bug 1358713, when a popup's anchor does not have a frame originally, don't have the popup update its position to follow it, r=tn 2017-05-05 11:13:56 -04:00
James Willcox
5d0885869a No bug, fix up checkstyle failure NOBUILD
MozReview-Commit-ID: 3itUJgA2AKg
2017-05-05 09:14:35 -05:00
James Willcox
1a52479e8f Bug 1322650 - Don't use AndroidBridge to get API version in media stack r=jolin
AndroidBridge is not available in child processes.

MozReview-Commit-ID: KlBs8F1Bu1O
2017-05-05 08:56:40 -05:00
James Willcox
2fec319cd5 Bug 1322650 - Add jni::GetAPIVersion() to get Android API version r=jchen
MozReview-Commit-ID: EfPMfS7RmcH
2017-05-05 08:56:39 -05:00
James Willcox
daee505699 Bug 1322650 - Update JNI bindings r=jchen
MozReview-Commit-ID: EjRjyY8BQxw
2017-05-05 08:56:38 -05:00
James Willcox
9392b1227a Bug 1322650 - Adjust Android Flash support to API changes r=jchen
MozReview-Commit-ID: CmMINaGcTER
2017-05-05 08:56:36 -05:00
James Willcox
f8f0fe9303 Bug 1322650 - Support a 'continuous' mode for SurfaceTexture r=jgilbert
This is needed to support Flash on Android

MozReview-Commit-ID: 5yNIoZHonla
2017-05-05 08:56:35 -05:00
James Willcox
086a858585 Bug 1322650 - Don't use inout param for Surface in ICodec r=jolin
It's unnecessary, and the serialization goes wrong with GeckoSurface on the return trip.

MozReview-Commit-ID: 9DUMoLQFhlv
2017-05-05 08:56:34 -05:00
James Willcox
e92f96eef9 Bug 1322650 - Make video decoding work with new SurfaceTexture API r=jolin
MozReview-Commit-ID: EXQ5YDSMMGL
2017-05-05 08:56:32 -05:00
James Willcox
83de9ddd9d Bug 1322650 - Allow access to TexturePoolOGL from Java r=jchen 2017-05-05 08:56:31 -05:00
James Willcox
2e6e69148c Bug 1322650 - Disable blitting from a SurfaceTexture r=jgilbert
This has been broken for a while anyway, because we
disabled SurfaceTexture detachment in most cases.

MozReview-Commit-ID: 6ysRGDNCQa0
2017-05-05 08:56:30 -05:00
James Willcox
a7f7a7b630 Bug 1322650 - Use SurfaceTexture for WebGL on Android in E10S r=jgilbert
The main advantage here is that it works cross-process.

MozReview-Commit-ID: 7YUTVB4Bydg
2017-05-05 08:56:28 -05:00
James Willcox
6b95623eac Bug 1322650 - Add GeckoSurfaceTexture, GeckoSurface and associated Android Service r=jchen
This allows us to allocate an Android SurfaceTexture in the compositor process as well
as an accompanying Surface. We can then transfer the Surface back to the content process
via binder, where it can be used for things like WebGL and video decoding.

Each SurfaceTexture/Surface pair has a unique handle. We use this handle in
layer transactions to locate the SurfaceTexture for a given Surface and composite it
appropriately.

MozReview-Commit-ID: 68VSbXdfsMH
2017-05-05 08:56:27 -05:00
Carsten "Tomcat" Book
170faef00b Merge mozilla-central to mozilla-inbound 2017-05-05 15:25:16 +02:00
Carsten "Tomcat" Book
fdc689ba16 merge mozilla-inbound to mozilla-central a=merge 2017-05-05 15:17:26 +02:00
Carsten "Tomcat" Book
71adb3de58 merge autoland to mozilla-central a=merge 2017-05-05 15:13:36 +02:00
Andrea Marchesini
33e3c76f21 Bug 1360807 - FileReaderSync must work with sync inputStream - part 4 - Base64EncodeInputStream needs a sync inputStream, r=smaug 2017-05-05 14:45:14 +02:00
Andrea Marchesini
cffbaf4514 Bug 1360807 - FileReaderSync must work with sync inputStream - part 3 - tests, r=smaug 2017-05-05 14:45:12 +02:00
Andrea Marchesini
ac75e334d3 Bug 1360807 - FileReaderSync must work with sync inputStream - part 2 - nsIConverterInputStream needs a syncInputStream, r=smaug 2017-05-05 14:44:18 +02:00
Andrea Marchesini
8e58d3e350 Bug 1360807 - FileReaderSync must work with sync inputStream - part 1 - SyncRead should read as much as required, r=smaug 2017-05-05 14:43:58 +02:00
Tim Taubert
00fc6cad00 Bug 1362058 - Further limit the amount of sessionStorage data we store and serialize r=mikedeboer 2017-05-05 12:17:09 +02:00
Cameron McCormack
53bb158a26 Bug 1341102 - Adjust test expectations. r=me 2017-05-05 16:53:03 +08:00
Olli Pettay
a991315918 Bug 1358761 - dummy handling for return values in test, r=bustage 2017-05-05 10:43:37 +03:00
JW Wang
5d7a4ae4c9 Bug 1362258 - Reduce ref-counting overhead of TrackBuffersManager::AppendData(). r=jya
http://searchfox.org/mozilla-central/rev/6580dd9a4eb0224773897388dba2ddf5ed7f4216/dom/media/mediasource/TrackBuffersManager.cpp#127

We can pass already_AddRefed<MediaByteBuffer> to InvokeAsync to avoid unnecessary AddRef/Release pairs.

MozReview-Commit-ID: ErXompyX8ua

--HG--
extra : rebase_source : f086e4ef5fda9f0dca8bfb0e2b4c74967e3f8323
2017-05-05 10:27:51 +08:00
Martin Robinson
387c611ae8 servo: Merge #16735 - Rename PushScrollRoot and remove PopScrollRoot (from mrobinson:push-pop-scroll-root); r=glennw
PopScrollRoot was unused and PushScrollRoot no longer pushes a scroll
root, but defines a new one.

<!-- Please describe your changes on the following line: -->

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because they should not change behavior.

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: f832052d9500e1102ebf43450087a7f51bfcb60e

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 8f5eaa0100709586c0321ee817f98ae6dde7909c
2017-05-05 02:21:12 -05:00
Olli Pettay
0096f25b51 Bug 1358761 - replace PurpleBlock with SegmentedVector to reduce indirect memory accesses when calling suspect, r=mccr8,nfroyd
--HG--
extra : rebase_source : e74be6bfb9efbba9361d2ce3c22518379a332200
2017-05-05 00:49:22 +03:00
Morris Tseng
16ab02aa27 Bug 929484 - Turn on some passed tests. r=mstange
MozReview-Commit-ID: A0gsDnCETCU
2017-05-05 14:30:16 +08:00
Morris Tseng
104664213e Bug 929484 - Create nsDisplayTableBackgroundImage to avoid display item collision when processing background image of table. r=mattwoodrow
MozReview-Commit-ID: LR3Lta3MHt5
2017-05-05 14:30:16 +08:00
Morris Tseng
e60d34dd29 Bug 929484 - Create nsDisplayTableFixedPosition to avoid display list collision when processing background image of table. r=mattwoodrow
MozReview-Commit-ID: 2DKdqk5kbHt
2017-05-05 14:30:16 +08:00
Morris Tseng
c09ed5d520 Bug 929484 - Remove nsTableBorderBackground displayitem and nsTablePainter. r=mstange
MozReview-Commit-ID: 1HmfGyBqWnf
2017-05-05 14:30:15 +08:00
Morris Tseng
b16599bc8f Bug 929484 - Draw each table's background on their own display item. r=mstange
This patch do following things:
1. Create nsDisplayTableBorderCollapse that draws all collapse border of
table.
2. Don't use nsDisplayTableBorderBackground.
3. Let column and column group frame generate display items.
4. When traversing the table, also traverse the column and column group
frames.
5. For each type of table frame (col group, col, row group, row and
cell), draw their own background.

MozReview-Commit-ID: 1s2VLv6G8xi
2017-05-05 14:30:15 +08:00
vincentliu
1af34c7c2f Bug 1357307 - Make sure gfxPrefs instance is created before accessing it. r=milan 2017-05-05 14:22:51 +08:00
JW Wang
240b996f12 Bug 1361964 - WebMBufferedState::UpdateIndex() should read from cache. r=jya
We don't want to trigger download when calculating buffer ranges since download
changes buffer ranges.

MozReview-Commit-ID: Be8qFUQ5PpR

--HG--
extra : rebase_source : 4fd77e031577332d9d112faef869cd935275b1af
2017-05-04 21:32:13 +08:00
Sebastian Hengst
96151b2b6b Backed out changeset 2febf984044a (bug 1356033) for bustage due to now unused pattern "gcli*" in browser/base/content/moz.build. r=backout on a CLOSED TREE
--HG--
rename : devtools/client/themes/images/gcli_sec_bad.svg => browser/base/content/gcli_sec_bad.svg
rename : devtools/client/themes/images/gcli_sec_good.svg => browser/base/content/gcli_sec_good.svg
rename : devtools/client/themes/images/gcli_sec_moderate.svg => browser/base/content/gcli_sec_moderate.svg
2017-05-05 09:43:54 +02:00
Cameron McCormack
14b955a5aa Bug 1361985 - Whitelist Gecko_NewGridTemplateAreasValue from heap write hazard checking, since it pokes at stuff in the object it just created. r=me (CLOSED TREE)
--HG--
extra : amend_source : be20cfdd93de65557b1e343504051c476e17db24
2017-05-05 15:43:37 +08:00