Commit graph

2,222 commits

Author SHA1 Message Date
trav90
74983ef77e Don't use PodCopy/PodMove to implement typed-array element-to-element copying
Standard std::copy and std::copy_n are readily optimized to the same thing, and they don't have a non-obvious requirement that the type being copied be trivial.
2019-02-16 00:14:10 +08:00
trav90
3bfbbf5d40 Give uint8_clamped a defaulted (and also trivial) default constructor, copy constructor, and copy-assignment operator.
This also allows uint8_clamped to be permissibly memmove'd and memcpy'd.
2019-02-16 00:14:09 +08:00
JustOff
23665c9250 [PALEMOON] Restore strings mistakenly removed by [8be0c16be614d54183ee3d4877e2243cb9e468c8] 2019-02-16 00:14:07 +08:00
Mihail Zenkov
640ededc60 Fix timer overflow on converting from sec to msec in idleService 2019-02-16 00:14:06 +08:00
wolfbeast
07df2cf12a Add a null check in nsHttpTransaction::Close.
This resolves #776.
2019-02-16 00:14:04 +08:00
wolfbeast
5a03a408a8 Send worker-runnables destined for the main thread actually to the main thread.
A case of "one queue too many" here. Instead of worker runnables being sent to the main thread
where they are supposed to run, they are put in a task queue per-worker. This is devastating
for performance if many workers are running.
2019-02-16 00:14:03 +08:00
wolfbeast
73b9f505a1 Stop using the worker MainThreadTaskQueue from dom/fetch. 2019-02-16 00:14:01 +08:00
wolfbeast
3b98b8ca9a Stop using the MainThreadTaskQueue from service workers. 2019-02-16 00:14:00 +08:00
wolfbeast
01216fbc62 Rewrite the Code of Conduct document.
This is a rewrite of the document by Moonchild. Although the rough layout of the previous document is maintained, it is a significantly expanded and rewritten version no longer related to the contributor-covenant version that was initially used.
2019-02-16 00:13:58 +08:00
JustOff
0c0d82689f Use SessionStore.promiseInitialized() to avoid race condition in "about:home" (#774)
* Use SessionStore.promiseInitialized() to avoid race condition in "about:home"

* Improve code style of [d6c3adb91c9f29786f8ed8d93baa14c076494017]
2019-02-16 00:13:57 +08:00
wolfbeast
a8ea1c8875 New cycle version bump. 2019-02-16 00:13:55 +08:00
JustOff
ee4ef937d9 [BASILISK] Skip notifications for background tabs when restoring a session 2019-02-16 00:13:53 +08:00
JustOff
c79f106dcc [PALEMOON] Skip notifications for background tabs when restoring a session 2019-02-16 00:13:51 +08:00
trav90
4b23aec47e Don't memset-zero the BacktrackingAllocator::vregs array of non-trivial VirtualRegister instances 2019-02-16 00:13:50 +08:00
trav90
4d089648be Call memset on a void*, not a T*, in js_delete_poison to avoid memset-on-nontrivial warnings with gcc that don't matter for an object whose lifetime is about to end 2019-02-16 00:13:48 +08:00
trav90
fbef1917ad Initialize some asm.js structures using in-class initializers instead of PodZero 2019-02-16 00:13:46 +08:00
trav90
02e07860b2 Stop using PodZero in several places to initialize values of non-trivial type 2019-02-16 00:13:45 +08:00
wolfbeast
ee1233bb0c Fix wrong SVG sizes with non-integer values for viewBox width/height.
Includes a standalone reftest.
2019-02-16 00:13:43 +08:00
trav90
4f41aebb67 Update HSTS preload list
Tag #447
2019-02-16 00:13:42 +08:00
wolfbeast
eff8a32348 Fix clang build bustage.
Follow-up to 9830cd079d8306abc223461190553af64b6fd0ca
2019-02-16 00:13:40 +08:00
wolfbeast
20acf1e808 Flush some more buildlog output to screen when prudent. 2019-02-16 00:13:39 +08:00
wolfbeast
58f6d1953c Add findbar.termPerTab
Allow the pref to switch between global search term and per-tab search term
2019-02-16 00:13:37 +08:00
wolfbeast
6663a8fe28 Ensure the findbar target content browser follows the active tab. 2019-02-16 00:13:36 +08:00
wolfbeast
2f16623ba1 Revert "Minimal easy fix -- move findbar getters to tabbrowser."
This reverts commit fb291846a59f9b8eaf8bba29e0d9794893e895bf.
2019-02-16 00:13:34 +08:00
wolfbeast
36bcd9863f Revert "Transfer findbar data to torn-off tabs."
This reverts commit 333142b5af61c3fd67ad4e79467c03efb3641b20.
2019-02-16 00:13:33 +08:00
wolfbeast
29aff48629 Revert "[PALEMOON] Findbar - remove unnecessary code (Findbar is no longer in the gBrowser)"
This reverts commit 38f30cdf759e4f6da96da777c3216b5047d672c1.
2019-02-16 00:13:31 +08:00
wolfbeast
79cddc2b9c Revert "[PALEMOON] Findbar - added the listener also to tabbrowser.xml, remove "_fastFind", a better focus() for the method "updateCurrentBrowser""
This reverts commit 63b10a9b4f8644550a89022b8d0d53ee26fc150b.
2019-02-16 00:13:29 +08:00
wolfbeast
e044dab0bb Revert "Add tabbrowser findbar styling"
This reverts commit c96d9e5bdd064252c2b6d303c1db9209bf4814c9.
2019-02-16 00:13:28 +08:00
wolfbeast
1edb6c3921 Revert "Add tabbrowser findbar styling for Linux and OSX"
This reverts commit e4b01ba84463fbaf5209ae8d2bb6a612f491bb5b.
2019-02-16 00:13:26 +08:00
wolfbeast
2f2751e46c Bug 1466991 - Part 2: Reparent nodes when they start being in the XBL scope. 2019-02-16 00:13:24 +08:00
wolfbeast
34f16bf61c Bug 1466991 - Part 1: Factor out ShouldUseXBLScope. 2019-02-16 00:13:22 +08:00
wolfbeast
44998d1f5b Bug 1472925 - Keep a strong reference to MediaStreamGraph from GraphDriver. 2019-02-16 00:13:21 +08:00
wolfbeast
d3a845d2fc Bug 1469309 - Remove an unused sensor type. 2019-02-16 00:13:19 +08:00
wolfbeast
c858b4cc75 Fix build bustage in cbfef7fcdb853916ff04015f6ee2d4b86f424a08
- imageDetails.format() needs a cast to SurfaceFormat
- style nit: wrap long lines.
2019-02-16 00:13:18 +08:00
wolfbeast
f3a19b8e9b Release mapped surface memory on size check failure to plug a leak. 2019-02-16 00:13:16 +08:00
wolfbeast
918ef0183a Move surface data checking to a separate function to make it less "totally nuts" 2019-02-16 00:13:15 +08:00
wolfbeast
80e25ee7e5 Bug 1467363 - Protect access to mTransparentSurface with a lock. 2019-02-16 00:13:13 +08:00
wolfbeast
6d43998298 Bug 1478575 - Unify CamerasChild shutdown paths. 2019-02-16 00:13:12 +08:00
wolfbeast
a924e0f4e1 Bug 1473113 - Defer initializing the MAR index until it's needed. 2019-02-16 00:13:10 +08:00
wolfbeast
56e32f933a Cherry-pick libvpx upstream 52add5896661d186dec284ed646a4b33b607d2c7. 2019-02-16 00:13:09 +08:00
wolfbeast
f2dad4be1f Bug 1470260 - Part 2: Make RefreshDriverTimer ref-counted and hold a strong ref on it on the stack when nsRefreshDriver::Tick can be reached. 2019-02-16 00:13:07 +08:00
wolfbeast
6f120a942c Bug 1470260 - Part 1: Ensure that 'this' stays alive for the duration of the TickRefreshDriver call. 2019-02-16 00:13:06 +08:00
wolfbeast
38a520c28a Remove some unnecessary dependencies from HAL. 2019-02-16 00:13:04 +08:00
wolfbeast
69c4dd8992 Replace the custom logic in ObserverList with an nsTObserverArray which has all the necessary logic for stable iteration over a potentially changing list of items. 2019-02-16 00:13:02 +08:00
trav90
fc1e50d7e9 Fix build bustage 2019-02-16 00:13:01 +08:00
trav90
78d0ec7fc9 Call the relevant scope-data constructor when allocating it, and poison/mark as undefined the memory for the trailing array of BindingNames, ratther than impermissibly PodZero-ing non-trivial classes. 2019-02-16 00:12:59 +08:00
trav90
4cbf54089a Convert the trailing array of BindingNames at the end of the various kinds of scope data into raw unsigned chars into which those BindingNames are placement-new'd, rather than memcpy-ing non-trivial classes around and failing to comply with the C++ object model 2019-02-16 00:12:57 +08:00
trav90
36607675b2 Make nsScannerIterator a trivial type in order to use memset 2019-02-16 00:12:55 +08:00
Ketmar Dark
59440a335d fix mozilla regression in search service (saving user-defined search engines)
this restores some API that is used by search engine management extensions, and
  tells "browser-search-engine-modified"/"engine-changed" signal to save user-defined
  search engines to "%PROFILE%/searchplugins", as it did in Good Old Times.
2019-02-16 00:12:54 +08:00
trav90
cab0faa710 Silence the -Wuninitialized warning in mozjemalloc
GCC 7+ warns about too many false positives.
2019-02-16 00:12:52 +08:00