Commit Graph

548629 Commits

Author SHA1 Message Date
Andrew Osmond
93efb56fbf Bug 1315554 - Part 3. Expose Decoder::IsValidICOResource for all decoders. r=tnikkel 2017-07-22 07:50:31 -04:00
Andrew Osmond
e5537d8caf Bug 1315554 - Part 2. The BMP decoder should be responsible for adjusting its size when embedded inside an ICO. r=tnikkel 2017-07-22 07:50:31 -04:00
Andrew Osmond
ac14e4f8f5 Bug 1315554 - Part 1. Enforce the parent decoder size (ICO) for child decoders (BMP, PNG). r=tnikkel 2017-07-22 07:50:31 -04:00
Sebastian Hengst
6319821925 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-07-22 13:14:27 +02:00
Shu-yu Guo
32c821d11e Bug 1377016 - Take both with-wrapped and unwrapped enclosing environments when getting non-syntactic lexical environments. (r=jorendorff) 2017-07-22 12:45:26 +02:00
Sebastian Hengst
943e69c7fa merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-07-22 12:43:58 +02:00
Bob Owen
847e4be624 Bug 1364137: Get both 32-bit and 64-bit registry values when searching for the Windows SDK. r=glandium
The values that we need to find in the registry can be inconsistent across
different installations, so we retrieve values from both views in our search
for a valid SDK. This also ensures this works for 32-bit and 64-bit python.
2017-07-22 11:32:24 +01:00
Sebastian Hengst
a5b5831097 Backed out changeset da7ad37975f1 (bug 1377016) on suspicion of frequently asserting at dom/script/ScriptLoader.cpp:649 during wpt instantiation-error-2.html. r=backout 2017-07-22 11:08:53 +02:00
Sebastian Hengst
cc27374338 Backed out changeset fd310390a64a (bug 1315554) for failing GTest's ImageDecoders.LargeICOWithPNGSingleChunk on OS X opt. r=backout 2017-07-22 11:05:35 +02:00
Sebastian Hengst
b33e39c76b Backed out changeset e1eec63b920f (bug 1315554) 2017-07-22 11:04:22 +02:00
Sebastian Hengst
7197a59a77 Backed out changeset 9780a01b3e94 (bug 1315554) 2017-07-22 11:04:17 +02:00
Sebastian Hengst
501b9eab08 Backed out changeset e67f6df41836 (bug 1315554) 2017-07-22 11:04:12 +02:00
Sebastian Hengst
c8ba1dd256 Backed out changeset 6fa3ad97ce9c (bug 1315554) 2017-07-22 11:04:07 +02:00
Sebastian Hengst
b2ef50b2fe Backed out changeset e39309b6fe7f (bug 1315554) 2017-07-22 11:04:02 +02:00
Sebastian Hengst
767a09b296 Backed out changeset dbae61d1cbee (bug 1315554) 2017-07-22 11:03:57 +02:00
Sebastian Hengst
5981e481e8 Backed out changeset d46b7e02802c (bug 1315554) 2017-07-22 11:03:52 +02:00
Sebastian Hengst
8604a9cc71 Backed out changeset 18614b05270d (bug 1315554) 2017-07-22 11:03:46 +02:00
Sebastian Hengst
d4bb320357 Backed out changeset abc949687bdc (bug 1315554) 2017-07-22 11:03:41 +02:00
Andrew Osmond
8202116fbd Bug 1315554 - Part 10. Add large embedded PNG/BMP ICO tests. r=me 2017-07-22 00:15:00 -04:00
Andrew Osmond
081dd8f0be Bug 1315554 - Part 9. Get the ICO size from the resource instead of the dir entry if unspecified. r=tnikkel 2017-07-22 00:14:59 -04:00
Andrew Osmond
ea108d0367 Bug 1315554 - Part 8. Allow DecoderFactory::CreateDecoderForICOResource to create metadata decoders. r=tnikkel 2017-07-22 00:14:59 -04:00
Andrew Osmond
1c5f449591 Bug 1315554 - Part 7. Remove unnecessary buffering of BMP header in ICO decoder. r=tnikkel 2017-07-22 00:14:59 -04:00
Andrew Osmond
88e2751836 Bug 1315554 - Part 6. Reuse the same SourceBuffer when decoding a resource within an ICO. r=tnikkel 2017-07-22 00:14:59 -04:00
Andrew Osmond
1404a847cc Bug 1315554 - Part 5. Add method to clone a SourceBufferIterator when decoding. r=tnikkel 2017-07-22 00:14:59 -04:00
Andrew Osmond
10a558df00 Bug 1315554 - Part 4. Combine nsICODecoder::ReadBMP and ::ReadPNG. r=tnikkel 2017-07-22 00:14:59 -04:00
Andrew Osmond
a5bb792dc9 Bug 1315554 - Part 3. Expose Decoder::IsValidICOResource for all decoders. r=tnikkel 2017-07-22 00:14:59 -04:00
Andrew Osmond
27542e8875 Bug 1315554 - Part 2. The BMP decoder should be responsible for adjusting its size when embedded inside an ICO. r=tnikkel 2017-07-22 00:14:59 -04:00
Andrew Osmond
1e83b97079 Bug 1315554 - Part 1. Enforce the parent decoder size (ICO) for child decoders (BMP, PNG). r=tnikkel 2017-07-22 00:14:58 -04:00
Ehsan Akhgari
ef2b77779d Bug 1383142 - Avoid the presshell AddRef() in Element::GetBindingURL(); r=heycam 2017-07-21 23:48:46 -04:00
Shu-yu Guo
7d11c7980b Bug 1377016 - Take both with-wrapped and unwrapped enclosing environments when getting non-syntactic lexical environments. (r=jorendorff) 2017-07-21 19:25:57 -07:00
Sebastian Hengst
4218b5b991 merge autoland to mozilla-central. r=merge a=merge
MozReview-Commit-ID: EdYDXWoGZXA
2017-07-21 11:12:24 +02:00
Timothy Guan-tin Chien
c2ddda3deb Bug 1382649 - Take the process count value set by e10s rollout as the default in the about:preferences UI, r=evanxd,jaws,mrbkap
When the user sets browser.preferences.defaultPerformanceSettings.enabled to false and want to set custom process count,
we want to offer the process count value given by e10s rollout add-on as the default, instead of the default value
of dom.ipc.processCount.

MozReview-Commit-ID: 1hXWHA9j4xw

--HG--
extra : rebase_source : 5d6001a5f0585b2cd98fbeb85493bb20482bc3df
2017-07-21 12:42:19 +08:00
Tim Huang
87f6957631 Bug 1382840 - Making the nsRFPService::UpdatePref() to copy the string which been passed to PR_SetEnv(). r=Ehsan
The PR_SetEnv() needs the passing string been intentionally leaked. However,
nsRFPService::UpdatePref() uses PR_SetEnv() without leaking the input string.
This patch is going to fix this by using ToNewCString().

MozReview-Commit-ID: 97QQUk2sjM9

--HG--
extra : rebase_source : 10205fe2e9577d5c985572256a5e9842c46d39be
2017-07-21 11:49:21 +08:00
Emilio Cobos Álvarez
3fa27b8306 servo: Merge #17837 - style: Avoid looking at descendant hints to check whether the element needs a restyle (from emilio:assert-fix); r=hiikezoe
This makes us hit some assertions in Gecko.

Source-Repo: https://github.com/servo/servo
Source-Revision: 9f412caab21ae407173187cdb5d0250fb1ae6b37

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : ae0e07a5ec6e096ffed718463f616fcbf03ef913
2017-07-24 04:49:08 -07:00
Sylvestre Ledru
ca5e1f2280 Bug 1383657 - Fix the incorrectly placed 'break;' in the switch/case declaration r=mayhemer=mayhemer
MozReview-Commit-ID: 3BmLPWOLovj

--HG--
extra : rebase_source : 1070f1a07e893217b1b71329d8856734403960bc
2017-07-24 11:29:01 +02:00
Keith Yeung
ae2fb90fe1 servo: Merge #17835 - Make network error messages more specific (from KiChjang:clearer-network-error); r=emilio
Instead of having a bogus "Network error" string, we extract the NetworkError struct from the Response and send it back to FetchResponseListener.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : b0a3c424ac279bfe1ba948672b4e4cd5f2a189d9
2017-07-24 03:07:26 -07:00
Marco Bonardo
ddce39c3bd Bug 1378035 - Allow the urlbar prefs to define different buckets for different contexts. r=Paolo
MozReview-Commit-ID: 2O58OkhFygl

--HG--
extra : rebase_source : 56773db404ae260ddb6ee1191d6432fe95567a30
2017-07-21 15:01:56 +02:00
Sebastian Hengst
9fc62e5079 Backed out changeset a4ea1d5fcb4e (bug 1197045) for eslint failure at Troubleshoot.jsm:401: 'winUtils' is assigned a value but never used. r=backout 2017-07-24 13:24:28 +02:00
Sebastian Hengst
0a44c0dc0a Backed out changeset cf756c62b0a6 (bug 1197045) 2017-07-24 13:23:48 +02:00
Sebastian Hengst
2856cb892f Backed out changeset fd48cc71efef (bug 1197045) 2017-07-24 13:23:42 +02:00
Sebastian Hengst
7d2406912a Backed out changeset 3af0f387a8f2 (bug 1197045) 2017-07-24 13:23:37 +02:00
Timothy Guan-tin Chien
f3372fc646 Bug 1382649 - Unset dom.ipc.processCount pref value should be taken as a user opt-in value if browser.preferences.defaultPerformanceSettings.enabled is false. r=mrbkap
MozReview-Commit-ID: 5zSix0koTc4

--HG--
extra : rebase_source : 2b033328830e4f5d5293b204b1613c90f9d00e58
2017-07-21 11:48:07 +08:00
gasolin
7204d28172 Bug 1381650 - Update bottom tag line on the stub installer;r=mhowell
MozReview-Commit-ID: EVtY8ouhSa0

--HG--
extra : rebase_source : 8b060b4a04331c06e7bdf1c9463f93ee104869cc
2017-07-21 16:13:04 +08:00
Ray Lin
f7280e2caa Bug 1371131 - Part 4. Hide form autofill footer notes if no warning data in the results. r=lchang,seanlee
MozReview-Commit-ID: AAOEu2JVHnO

--HG--
extra : rebase_source : d5170fd86b7e8b6e81064905b406b05579046552
2017-07-25 10:25:02 +08:00
Ray Lin
10f4426cb9 Bug 1371131 - Part 3. Create address and credit card result subclasses. r=lchang,steveck
MozReview-Commit-ID: 25TNvIQL6ob

--HG--
extra : rebase_source : d4bfd322e9100363b921bf0ad7541604ee15ed56
2017-07-24 11:50:58 +08:00
Ray Lin
118c203023 Bug 1371131 - Part 2. Refactor ProfileAutoCompleteResult to using class syntax. r=lchang,steveck
MozReview-Commit-ID: GDsLZrhcSBx

--HG--
extra : rebase_source : f6030f309e626f3d4d340a6de767656e5645aa96
2017-07-24 11:41:33 +08:00
Ray Lin
3a5dd6f9cc Bug 1371131 - Part 1. Replace the "cc-number-masked" field name in form autofill storage with "cc-number". r=lchang
MozReview-Commit-ID: 1RGL4gu7JrK

--HG--
extra : rebase_source : a88e2bef04b47f76ac7e3ebb901fb958d73aa6aa
2017-07-24 11:41:13 +08:00
Tom Ritter
3efa760176 Bug 1370007 Generate Shaders on a MinGW Cross Compile on Linux r=dvander,ted
Bug 1365859 introduced a dependency on the Visual Studio binary 'fxc'
to generate Shader bytecode. This was unavailable when compiling for
Windows on Linux as part of a MinGW build.

This commit adds a configure check for fxc, and also searches for
fxc2, which was written (https://github.com/tomrittervg/fxc2) to be
a tiny application that wraps D3DCompileFromFile and can produce
similar (but not exactly the same) output as fxc.

fxc2 is compiled using MinGW for Windows, and runs under wine, so
we need to check for wine also.

Finally, fxc outputs some include information fxc2 doesn't, so
we will just change that assert to not take effect.

MozReview-Commit-ID: 8LVxuODi6cV

--HG--
extra : rebase_source : 9116d266663284d6594e34aa53bd37eae01ba67f
2017-07-24 14:32:08 -05:00
Kris Maglione
2ed607e9ac Bug 1382904: Optimize XPCOMUtils.generateQI. r=florian
XPCOMUtils.generateQI is called a lot, and the current implementation is
especially inefficient. It relies on calling the stringification slow path
twice for each interface ID, which begins to add up fast given how often it's
called.

MozReview-Commit-ID: 2O87wBVMA2G

--HG--
extra : rebase_source : b3d43fbe77990e82702491a58d59c4e439d3d2f8
2017-07-20 18:38:14 -07:00
Jonathan Guillotte-Blouin
4c0b01afcd Bug 1382839 - add pre-processor guards around payments manifest. r=MattN,rail
MozReview-Commit-ID: JYCodxosxyL

--HG--
extra : rebase_source : ad0aac2bb2469975415e6c7f2c5490e25882dcf2
2017-07-20 17:02:23 -07:00