Commit Graph

485394 Commits

Author SHA1 Message Date
Nathan Froyd
6a26598a10 Bug 1290160 - reduce codesize required by gfxPrefs; r=milan
Every gfxPrefs::PrefTemplate template declares its own virtual function
overrides for functions declared in gfxPrefs::Pref.  The compiler must
therefore create separate copies of each of these virtual functions when
it instantiates PrefTemplate.  Since several of these virtual functions
only depend on the template parameter T, the type of the pref, many
instantiations of the functions are identical.  The duplicate functions
would normally be merged by identical code folding performed in the
linker, but since these are virtual functions and therefore have their
addresses taken (to be stored in the class's vtable), the linker (at
least for the settings we use for identical code folding) cannot fold
duplicated functions together.

Therefore, we have to do the de-duplication ourselves, by creating an
intermediate templated base class that only depends on the type of the
pref.  With this class, only three copies of each virtual function will
be created (one each for bools, floats, and ints).  We sneak in
GetLiveValue() into this base class for another small codesize win, even
though it's not a virtual function.
2016-08-03 17:02:33 -04:00
Tom Schuster
473d3dc22d Bug 1197324 - Fix new warnings. r=froydnj 2016-08-03 14:37:31 +02:00
Tom Schuster
42824df666 Bug 1197324 - add format-string checking attribute to snprintf_literal. r=froydnj 2016-08-03 14:37:31 +02:00
Tom Schuster
0a0e3b7174 Bug 1251364 - Use more snprintf_literal in the JS engine. r=terrence 2016-08-03 14:37:31 +02:00
Nicolas B. Pierron
b4fb936f80 Bug 1289926 - Ensure enough ballast space while allocating each constant under inlineConstantStringSplitString. r=h4writer 2016-08-03 12:27:16 +00:00
Neil Deakin
2d46e97dbd Bug 1284914, add support in html for the ondragexit attribute, r=smaug 2016-08-03 07:45:46 -04:00
Neil Deakin
147caccc2c Bug 1194027, add a flag to select elements to indicate if the parent process has the popup open, r=mrbkap 2016-08-03 07:45:46 -04:00
Neil Deakin
16acfd6d48 Bug 1289528, add tests for keyboard and mouse selection of options, r=mconley 2016-08-03 07:45:45 -04:00
Neil Deakin
a59eab8dbf Bug 1289528, don't fire click event when option selected with keyboard, r=mconley 2016-08-03 07:45:45 -04:00
Neil Deakin
165602e28b Bug 1289528, fire click event at option, not at select, r=mconley 2016-08-03 07:45:45 -04:00
Neil Deakin
e375813b04 Bug 1159301, clear the mouse capture whenever a menu is opened, r=tn 2016-08-03 07:45:45 -04:00
Matt Woodrow
52628b0bb3 Bug 1230641 - Make our NSOpenGLContext opaque when in fullscreen mode. r=mstange 2016-08-03 22:48:03 +12:00
Benjamin Bouvier
2dae1411b6 Bug 1248555: Baseline fixes for handling custom NaN payloads; r=lth
MozReview-Commit-ID: FOXuJgKDS17

--HG--
extra : amend_source : 218cdaa13dc663f1a19736d69c34c2fb5f39fa06
2016-07-27 17:50:47 +02:00
Benjamin Bouvier
33c5779ed7 Bug 1248555: Changes to the ARM simulator; r=sunfish
MozReview-Commit-ID: HrQrszFCBWC

--HG--
extra : amend_source : ff3aa913e2ffcd7c5b425b0d0fd94dc2638230ba
2016-08-02 14:09:23 +02:00
Benjamin Bouvier
18e49ff665 Backed out changeset 3e7e914abf3d for landing with the wrong bug number;
MozReview-Commit-ID: 6kJyZWaluKF
2016-08-03 12:17:57 +02:00
Benjamin Bouvier
7fe7d589eb Backed out changeset 08cbf5bdf4f4 for landing with the wrong bug number;
MozReview-Commit-ID: 1xN0v0mphe
2016-08-03 12:17:40 +02:00
Benjamin Bouvier
83323511b7 Bug 1284855: Baseline fixes for handling custom NaN payloads; r=lth
MozReview-Commit-ID: FOXuJgKDS17

--HG--
extra : rebase_source : 626a2aa6543ec3748fc1cf6cec72018183d9dcaf
extra : histedit_source : 9dbd840f907adc4a91e59cc191119af7f5855f38
2016-07-27 17:50:47 +02:00
Benjamin Bouvier
56f730c7b9 Bug 1248555: Baldr: implement custom NaN payload semantics; r=sunfish
MozReview-Commit-ID: Fp41hQ9yYf6

--HG--
extra : rebase_source : 1c0508e81c6be0696024ad1fcf7f33fef7504254
extra : histedit_source : 1fd5118b430a5303e0559031c2d92e659b849eb3
2016-05-31 16:13:12 +02:00
Benjamin Bouvier
f7fca98be1 Bug 1248555: Baldr: Add support for testing NaN custom payloads; r=luke
MozReview-Commit-ID: AXqqmfg55ZS

--HG--
extra : rebase_source : ce5d1646eb14ccf042a2f5c3ddec8772076ece3c
extra : histedit_source : f6f0c2d0d0940bab1354e06aec559fc96cd32b1f
2016-08-02 15:23:53 +02:00
Benjamin Bouvier
92321a1bc5 Bug 1248555: Return floating-point values by out-param rather than by value; r=sunfish
This is done to workaround the fact that the x87 stack is used for returning
floating-point values, even with -msse2 -mfpmath=sse. WebAssembly wants to
support uncanonicalized NaNs with custom payloads, including NaNs which may
have the signaling bit set. So this change is needed to allow passing around
sNaN in C++.

MozReview-Commit-ID: 4QRQtyRHhZW

--HG--
extra : rebase_source : 1cbe9f748ea7780dbaf2a6720359fbbf074ced21
extra : histedit_source : 5ae140d5813a03efe29cc3b2f19d50bf4d2263a7
2016-08-01 18:41:10 +02:00
Benjamin Bouvier
ccdc2a6699 Bug 1249555: Changes to the ARM simulator; r=sunfish
MozReview-Commit-ID: HrQrszFCBWC

--HG--
extra : rebase_source : 7229143efaffd10123e8c90d74a8dcd3506927e8
extra : histedit_source : 340f21b33b687c6f33db97040f52d65519bbe605
2016-08-02 14:09:23 +02:00
Benjamin Bouvier
23575fdec5 Bug 1248555: Introduce variants of SpecificNaN / BitwiseCast that preserve the signaling NaN bit; r=froydnj
MozReview-Commit-ID: 5A8p06nBqyI

--HG--
extra : rebase_source : 87ebcc9792d42c6b2e6164a639340da37b4b602c
extra : histedit_source : b4ab7c6b9f4bb7fe2cc88a3208d6fa8e6fefce08
2016-08-01 20:02:05 +02:00
Tooru Fujisawa
36ab545d49 Bug 1290422 - Part 2: Add AutoMessageArgs RAII class to automatically free allocated args buffer. r=jwalden 2016-08-03 18:09:42 +09:00
Tooru Fujisawa
ad44dc986e Bug 1290422 - Part 1: Remove JSErrorReport.messageArgs. r=jwalden 2016-08-03 18:09:42 +09:00
Tooru Fujisawa
f9e30f8e42 Bug 1284099 - Part 2: Assert nsIScriptError.*Flags constants match to JSREPORT_*. r=baku 2016-08-03 18:09:42 +09:00
Tooru Fujisawa
b550522b60 Bug 1284099 - Part 1: Add JSREPORT_USER_1 for user-defined flag in JSErrorReport.flags. r=jwalden 2016-08-03 18:09:42 +09:00
Bob Owen
5df096d268 Bug 1287446: Check and add nsIPrintProgressParams and print progress listener separately in nsPrintEngine::ShowPrintProgress. r=tnikkel
MozReview-Commit-ID: GngheT4Mizd
2016-08-03 09:50:24 +01:00
Chris Peterson
6ae2ecbc02 Backed out changeset 3b1cf7c28eb7 (bug 1290646) for possibly breaking OS X debug mochitests. 2016-08-03 01:11:06 -07:00
Robert Longson
5d48332dcd Bug 843480 - zoom on iframe is applied twice. r=jwatt 2016-08-03 07:37:35 +01:00
Chris Peterson
6229606616 Bug 1290645 - Remove VS2013 workarounds in memory/. r=glandium 2016-07-28 11:46:30 -07:00
Chris Peterson
950fdff15d Bug 1290642 - Allow PGO of MobileConnection.cpp because we no longer compile with VS2013. r=glandium 2016-07-28 11:45:44 -07:00
Chris Peterson
1eccabf8d3 Bug 1290646 - Remove VS2012 crash workaround in nsTArray. r=jimm 2016-07-28 11:51:25 -07:00
Chris Peterson
39526a4f0c Bug 1290641 - Remove VS2013 wcstok() workaround from dom/plugins/. r=jimm 2016-07-28 11:46:13 -07:00
Rail Aliiev
e877323739 Bug 1291575 - Specify vcs_share_base in version bump builder r=nthomas a=release DONTBUILD
MozReview-Commit-ID: AMUoghepZbe

--HG--
extra : rebase_source : 08bdd16dc15bbc873be8e653768af0716d4bcf5c
2016-08-03 00:42:18 -04:00
Rail Aliiev
3375401340 Bug 1291562 - Updates builder failed in Firefox 49.0b1 r=nthomas a=release DONTBUILD
MozReview-Commit-ID: BUwJk8tnbto
2016-08-03 00:34:52 -04:00
Daniel Holbert
489e357178 Bug 1291423: Explicitly qualify the destructor call that we invoke in Maybe::reset. r=Waldo
MozReview-Commit-ID: 6vQouBSxnsZ
2016-08-02 21:19:08 -07:00
Nick Thomas
feea9d708d bug 1291530, Fennec 49.0b1 multilocale step broken, r=rail
--HG--
extra : source : 7a485f899de758d2ff25741afe5c9a752c06cd95
2016-08-03 15:19:38 +12:00
Matt Woodrow
80d8ecc1fd Bug 1284672 - Try use an exsiting D3D11 device for video rather than creating new ones. r=dvander
--HG--
extra : rebase_source : 16208d3a63ea64e824d283f57c8f53c958900de6
2016-08-02 18:46:27 +12:00
Matt Woodrow
51b6bd9f58 Bug 1289640 - Part 6: Allow access to the D3D11 content device from other threads. r=dvander
--HG--
extra : rebase_source : 63d31cb207e6d8903fb0bef268c4d1a1a24bf11f
2016-08-03 15:28:18 +12:00
Matt Woodrow
2254f8e498 Bug 1289640 - Part 5: Delete the D3D11 image bridge device since it no longer has any callers. r=dvander
--HG--
extra : rebase_source : 8ed9418b70d889f8544e23cd624925835e62e9dd
2016-08-02 17:58:17 +12:00
Matt Woodrow
2c65f7fdb0 Bug 1289640 - Part 4: Make SourceSurfaceImage::GetTextureClient use the threadsafe upload with D3D11 so that we no longer rely on having a separate device. r=nical
--HG--
extra : rebase_source : aa63efd52e1b013251392e3bd4ec29af0e1286f0
2016-08-02 17:57:41 +12:00
Matt Woodrow
cd24a38c5a Bug 1289640 - Part 3: Add a new constructor for D3D11TextureData that does threadsafe uploading. r=Bas
--HG--
extra : rebase_source : 5a57cf9addc68025cdaa13458c10ade3686bbec4
2016-08-02 17:55:44 +12:00
Matt Woodrow
7b18f355cb Bug 1289640 - Part 2: Stop using the D3D11 immediate context to upload texture data in IMFYCbCrImage and stick to threadsafe APIs so that we can use the content device. r=Bas
--HG--
extra : rebase_source : 1186b758656f07ef786f7d182a6474b050b9367e
2016-08-02 17:53:06 +12:00
Matt Woodrow
369e4deebe Bug 1289640 - Part 1: Make SharedSurfaceANGLE code use the content D3D11 device since we should only ever run on the main thread and would have used this device already. r=jgilbert
--HG--
extra : rebase_source : 9f698971f6b77161b2f7314befd889bc944aee2e
2016-08-02 17:52:29 +12:00
Kris Maglione
39b267f680 Bug 1290598: Move slower native messaging tests to a separate unit. r=aswan
MozReview-Commit-ID: 2kXbNae1bmR

--HG--
rename : toolkit/components/extensions/test/xpcshell/test_ext_native_messaging.js => toolkit/components/extensions/test/xpcshell/test_ext_native_messaging_unresponsive.js
extra : rebase_source : f977940505b7280432dd60802df10a302110f7fa
2016-07-29 14:35:04 -07:00
Kris Maglione
5bca7590fc Bug 1290598: Migrate native messaging tests to xpcshell. r=aswan
MozReview-Commit-ID: 4Uz73l8qGVE

--HG--
extra : rebase_source : 648a0975f8245e42fb1c4afadb841d9990f84714
2016-08-02 17:39:51 -07:00
Kris Maglione
6fa31b3322 Bug 1290598: Manage and terminate Windows subprocess trees as a single job object. r=mhowell
MozReview-Commit-ID: 80K5YyDWmn3

--HG--
extra : rebase_source : 281440bc64602a9243ac73c2d76829020fe931d1
2016-08-02 17:39:57 -07:00
Kris Maglione
588403959f Bug 1290598: Refactor native messaging test setup code into separate head file. r=aswan
MozReview-Commit-ID: BN9oeXt79eG

--HG--
rename : toolkit/components/extensions/test/xpcshell/test_ext_native_messaging.js => toolkit/components/extensions/test/xpcshell/test_ext_native_messaging_perf.js
extra : rebase_source : 6702a92e4e083cdd2ccc9aaefa479fd31b70e181
2016-07-29 14:42:03 -07:00
Cameron McCormack
e6a3498cde Bug 1288038 - Make fallible nsBaseHashtable::Put use fallible nsTHashtable::PutEntry. r=froydnj r=sfink
MozReview-Commit-ID: 8N32oU4V5zh
2016-08-03 09:18:35 +08:00
Jonathan Watt
db80f397f6 Bug 1058040, part 2 - Rename gfxTextContextPaint to SVGContextPaint and add some code comments. r=dholbert 2016-07-22 14:56:09 +01:00