Commit Graph

545991 Commits

Author SHA1 Message Date
Carsten "Tomcat" Book
d767449ced Backed out changeset 0cd32b60dabe (bug 1376964) 2017-07-12 12:41:37 +02:00
Carsten "Tomcat" Book
23de9ec977 Backed out changeset 6bfb66a2c03e (bug 1376964) 2017-07-12 12:41:35 +02:00
Carsten "Tomcat" Book
b38c357c57 Backed out changeset 65e34c5fa167 (bug 1376964) 2017-07-12 12:41:33 +02:00
Carsten "Tomcat" Book
614a232c25 Backed out changeset d9a88d8324ff (bug 1376964) 2017-07-12 12:41:31 +02:00
Carsten "Tomcat" Book
a269ba0e44 Backed out changeset aafb719b4379 (bug 1376964) 2017-07-12 12:41:29 +02:00
Carsten "Tomcat" Book
4e6ba1d0fc Backed out changeset 610204957f40 (bug 1376964) 2017-07-12 12:41:27 +02:00
Carsten "Tomcat" Book
4177255107 Backed out changeset 041b34959d76 (bug 1376964) 2017-07-12 12:41:25 +02:00
Carsten "Tomcat" Book
cefff8d9f4 Backed out changeset c40e5fbbdccf (bug 1376964) 2017-07-12 12:41:22 +02:00
Sean Lee
748a9b8709 Bug 1378694 - Make sure no null pointer before trimming string in FormAutofillUtils.toOneLineAddress. r=lchang
MozReview-Commit-ID: KAelqPAMrwY

--HG--
extra : rebase_source : f8220fb116e8b66a0b3f02afb1d16e33b7ae1615
2017-07-08 00:41:54 +08:00
Johann Hofmann
a4ce956932 Backed out changeset 4488424e14ae for causing Bug 1377802. r=tnikkel
MozReview-Commit-ID: 8KUWWoWvCvF

--HG--
extra : rebase_source : 69ab6bbf9db8b9feb46e116f2fe82d0b526a74d8
2017-07-11 23:18:35 +02:00
Johann Hofmann
a84fe102d8 Bug 1377802 - Check if bookmarking UI is visible before anchoring bookmarking popup. r=mak
This also avoids flushing when bounds checking the identity popup for visibility.

MozReview-Commit-ID: EBUR7RIB0w6

--HG--
extra : rebase_source : 496811988d26be3065888845c699663f0cc20d52
2017-07-11 23:17:07 +02:00
Wei-Cheng Pan
ef1ad5c8c6 Bug 1366964 - Update style context generation after style resolved. r=heycam
Adds another restyle generation which represents the dirty state of raw
style changes, so that getComputedStyle() wont be confused by optimizations
made by style engines.

MozReview-Commit-ID: 7RYeNCzFygO

--HG--
extra : rebase_source : e2a6bd73f4b2b71115abe68b5cce95be57cbd9b2
2017-05-23 14:13:47 +08:00
Cameron McCormack
55c888b885 Bug 1376964 - Part 10: Allow style worker threads to pick fonts out of the user font cache. r=jfkthame
MozReview-Commit-ID: FX0T5ltA2u4

--HG--
extra : rebase_source : fc8a271f5ae1e0a897cd051b30da252be4176a4e
2017-07-12 16:36:46 +08:00
Cameron McCormack
82079904e6 Bug 1376964 - Part 9: Use gfxFontSrcPrincipal in the user font set and cache. r=jfkthame
MozReview-Commit-ID: LRRFbkhbgts

--HG--
extra : rebase_source : 1dac8a8e9a817edb086bb75f9f842c1d4df37a1a
2017-07-12 16:36:42 +08:00
Cameron McCormack
8f58fdb304 Bug 1376964 - Part 8: Add OMT wrapper for nsIPrincipals useful for font stuff. r=jfkthame
MozReview-Commit-ID: L6gUnvDx7D2

--HG--
extra : rebase_source : ce93ba941418a33d3631132b58e39624fedb719e
2017-07-12 16:36:36 +08:00
Cameron McCormack
ab22ddb3c6 Bug 1376964 - Part 7: Remove unused nsIURI argument from gfxPlatform::IsFontFormatSupported. r=jfkthame
MozReview-Commit-ID: LJ6nnZEGz7D

--HG--
extra : rebase_source : a12c270beb85467955c044c9c068d22de5db8f45
2017-07-12 16:36:15 +08:00
Cameron McCormack
47621aa57e Bug 1376964 - Part 6: Use gfxFontSrcURI in the user font set and cache. r=jfkthame
MozReview-Commit-ID: 7eWOTs4kF4v

--HG--
extra : rebase_source : 9cb5a0f71ad756b224ebc01d13437a8113e53bb1
2017-07-12 16:36:14 +08:00
Cameron McCormack
440837d515 Bug 1376964 - Part 5: Add OMT wrapper for nsIURIs useful for font stuff. r=jfkthame
MozReview-Commit-ID: FkBYOoqC6x6

--HG--
extra : rebase_source : 28a6528ecd2e05d6d6f4e9863f74660bb4cdc6ba
2017-07-12 16:36:10 +08:00
Cameron McCormack
a6f94afca7 Bug 1376964 - Part 4: Call FontLoadAllowed ahead of time and cache the results for style worker threads. r=jfkthame
Handling a document's node principal changing is done in part 9.

MozReview-Commit-ID: 1gPtRpddys5

--HG--
extra : rebase_source : def889e9ae4a428ccc02f9b5ac18f2ce640dc652
2017-07-12 16:35:46 +08:00
Cameron McCormack
439419baf9 Bug 1376964 - Part 3: Add a generation counter to the user font cache. r=jfkthame
MozReview-Commit-ID: 3zCPC9Pfikc

--HG--
extra : rebase_source : 7186ed96da1b1a6710ef4f5b2f1443ddfe0ddc29
2017-07-12 16:35:45 +08:00
Cameron McCormack
bb7733edcd Bug 1376964 - Part 2: Record the docshell's "private browsing" flag on FontFaceSet. r=jfkthame
MozReview-Commit-ID: 3j0RISufybF

--HG--
extra : rebase_source : 265a46c59b14af4d9e66688942408533c1cb94e1
2017-07-12 16:35:44 +08:00
Cameron McCormack
1f2b492e8c Bug 1376964 - Part 1: Record the docshell's "bypass cache" flag on FontFaceSet. r=jfkthame
MozReview-Commit-ID: FW19nms4ZEB

--HG--
extra : rebase_source : c6407c336cd3187ed66781f717bff079616c97ba
2017-07-12 16:35:44 +08:00
Henry Chang
6d648badcb Bug 1348591 - Support custom default segment buffer list size. r=billm
MozReview-Commit-ID: 2Nkj6RPx62f

--HG--
extra : rebase_source : 4e763563e3f9e9927314e804ba4e0fbd291fc9e8
2017-06-21 17:55:13 +08:00
Brian Birtles
58682d9ad9 servo: Merge #17683 - Tidy up check for zero-length lists when interpolating (from birtles:tidy-list-length-check); r=emilio
<!-- Please describe your changes on the following line: -->
Address feedback from https://github.com/servo/servo/pull/17613#discussion_r125775874

---
<!-- 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 are a code tidy up only with no functional changes.

<!-- 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: 76e2af4420c9916dfc673a1527e83e176976c7dd

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 751279caa843e54e90bea370d0b1f0b7b97499c2
2017-07-12 01:22:26 -07:00
Carsten "Tomcat" Book
bf8ecdbf1a Merge mozilla-central to autoland 2017-07-12 11:18:59 +02:00
Carsten "Tomcat" Book
0edfa97e38 merge mozilla-inbound to mozilla-central a=merge 2017-07-12 11:07:09 +02:00
Carsten "Tomcat" Book
92bc591b74 merge autoland to mozilla-central a=merge 2017-07-12 11:06:00 +02:00
David Anderson
6e75188a07 Cache MLGBuffers for systems that don't support constant buffer offsetting. (bug 1379714 part 2, r=bas) 2017-07-11 21:18:45 -07:00
David Anderson
4877a071cd Remove Advanced Layers' buffer cache in preparation for a new one. (bug 1379714 part 1, r=bas) 2017-07-11 21:17:30 -07:00
Brian Birtles
1fe4c641fc Bug 1379582 - Disable frames() timing function using a pref on release/beta channels; r=hiro
MozReview-Commit-ID: 4B8NwMAfyrS

--HG--
extra : rebase_source : 08becf963a57eda8e335b1c43672b25a25dbd81d
2017-07-12 08:41:58 +09:00
Brian Birtles
b34d64d020 servo: Merge #17682 - Check Gecko pref before parsing frames() timing function (from birtles:check-pref-for-frames-timing); r=hiro
These are the Servo-side changes for [Gecko bug 1379582](https://bugzilla.mozilla.org/show_bug.cgi?id=1379582).

They have been reviewed by @hiikezoe.

Source-Repo: https://github.com/servo/servo
Source-Revision: 882fc4731cbc435bb16a5f338abf1f394bb5c0d4

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 87d2f1defbc6405d9348322114eeeb0ef3f13fa7
2017-07-11 17:28:29 -07:00
ffxbld
d37d297687 No bug, Automated HPKP preload list update from host bld-linux64-spot-306 - a=hpkp-update 2017-07-11 09:00:05 -07:00
ffxbld
d3d35b9d2b No bug, Automated HSTS preload list update from host bld-linux64-spot-306 - a=hsts-update 2017-07-11 09:00:02 -07:00
Dão Gottwald
7951f8095e Bug 1379268 - Don't apply the accent color beyond the title bar when the native title bar is enabled. r=johannh
MozReview-Commit-ID: HUe1XuncqND

--HG--
extra : rebase_source : 9a07eef658a34b2db1c0a88bb6b332ba4346f201
2017-07-11 15:28:49 +02:00
Carsten "Tomcat" Book
31311070d9 merge mozilla-inbound to mozilla-central a=merge 2017-07-11 12:51:59 +02:00
Stone Shih
1da6cd22e9 Backed out changeset 367b6f947f87 (bug 1370630) for breaking mozilla-internal jenkins site. r=backout. 2017-07-11 15:59:03 +08:00
Andi-Bogdan Postelnicu
139730a55e Bug 1328454 - add footer for static analysis job. r=gps
MozReview-Commit-ID: GqGSPDccHDU
2017-07-11 10:37:49 +03:00
David Anderson
399881cdfc Report when constant buffer offsetting doesn't work. (bug 1379413 part 2, r=bas)
--HG--
extra : rebase_source : 881471eca6ae17e4b9810bc34b609d58c6eb0b3d
2017-07-11 00:13:26 -07:00
David Anderson
ad257fcdb1 Use a runtime test for constant buffer offsetting. (bug 1379413 part 1, r=bas)
--HG--
extra : rebase_source : 9ceae88aac296f8429b9fc83d48aa0b6de325056
2017-07-11 00:13:21 -07:00
Carsten "Tomcat" Book
31c3b0bf6f Backed out changeset 7b267e692c04 (bug 1379864) for assertion failure in stylo tests 2017-07-11 09:07:53 +02:00
Carsten "Tomcat" Book
33a98da603 Backed out changeset 57800baf24a3 (bug 1379864) 2017-07-11 09:06:27 +02:00
Christoph Kerschbaumer
250d4b1ff8 Bug 1377426 - Set CSP on freshly created nullprincipal when iframe is sandboxed. r=dveditz 2017-07-11 08:48:37 +02:00
David Anderson
88d86847fe Don't use constant buffers for ancillary vertex data. (bug 1379314 part 3, r=mattwoodrow) 2017-07-11 00:05:30 -07:00
David Anderson
912a83e3b7 Refactor how vertices are added to unit-triangle shaders. (bug 1379314 part 2, r=mattwoodrow) 2017-07-11 00:04:50 -07:00
David Anderson
16a351a5e5 Use unit triangles for full polgyon shaders. (bug 1379314 part 1, r=mattwoodrow)
Previously, we submitted polygons as a list of triangles, duplicating
some ancillary data with each vertex. As we move away from constant
buffers for some of this ancillary data, it will bloat the size of each
vertex. To avoid this, we will now instance over a unit triangle
instead. Each instance contains three triangle coordinates and ancillary
data can be shared between them. The target vertex is computed similarly
to how we handle rects in the unit quad shaders.
2017-07-11 00:04:14 -07:00
Bob Owen
b2ce31f287 Bug 1365601 Part 2: Disable parts of the Print Preview toolbar until update has finished. r=mconley 2017-07-11 07:38:36 +01:00
Mike Hommey
1246710041 Bug 1379890 - Remove unused mozjemalloc stats. r=njn
Since bug 1378258 remove malloc_print_stats, there are a bunch of
allocator stats that are now unused, reducing the memory footprint of
allocator metadata.

--HG--
extra : rebase_source : 337ef3b647c20119334b6576d591006f6bb3dd16
2017-07-11 14:42:57 +09:00
Mike Hommey
1ecc9df3fc Bug 1379878 - Use C++ templates to make _malloc_message calls cleaner. r=njn
--HG--
extra : rebase_source : 695fd9ce6b1f216a8bda29b849e1372601a43fe4
2017-07-11 14:15:04 +09:00
Mike Hommey
26fb8eb7b0 Bug 1379878 - Remove umax2s, its last use was removed in bug 1378258. r=njn
--HG--
extra : rebase_source : d9cb0631662ec0015e9c6d268884adb31c5a38bb
2017-07-11 14:09:09 +09:00
Mike Hommey
860374cbca Bug 1360772 - Allow to initialize non-zeroed arena chunks. r=njn
When initializing a new chunk for use as an arena, we started by zeroing
out the chunk (if that wasn't the case) and then initializing a new
arena chunk in there. It turns out this can have a noticeable overhead,
especially when e.g. the new arena chunk is used for a large allocation
filled out by something that is realloc()ated.

OTOH, the chunk recycle code only ever keeps zeroed or arena chunks
around (there is a "recycled" type too, but in practice, at the moment,
this means they were arena chunks before). Arena chunks that were
recycled were totally emptied, so all the runs they may contain will
contain zeroed-out or poisoned data. They also contain a header, that is
overwritten by the new arena chunk initialization.

This means we can get away with reusing non-zeroed recycled chunks
without zeroing them, as long as the arena chunk header marks the runs
as madvised instead of zeroed.

Code-wise, this would benefit from getting a ChunkType out of
chunk_alloc, but this would require more refactoring than I'm willing to
do at the moment.
2017-07-11 13:55:26 +09:00