Commit graph

134 commits

Author SHA1 Message Date
wolfbeast
0a50553673 Issue #187: Remove solaris 1st party code OS checks. 2019-04-04 20:26:29 +08:00
Gaming4JC
50bf383712 Issue #756 - Remove Contextual Identity from UnifiedComplete
reverts m-c 1287866
2019-03-29 22:26:12 +08:00
Gaming4JC
fbd9f1fcd4 Issue #756 - Remove contextual identity from BackgroundPageThumbs.jsm
reverts m-c 1279568, 1309699, 1310112
2019-03-29 22:23:03 +08:00
Ascrod
8d45fa6874 Remove obsolete getPref helpers. 2019-03-29 22:22:33 +08:00
Matt A. Tobin
fbac3d3bce Don't include nsDownloadManagerUI if the Communicator version is used
Maintain backwards compatibility with MOZ_SUITE
2019-03-09 10:22:42 +08:00
Matt A. Tobin
3b0f343401 Revert "Don't include nsDownloadManagerUI if the Communicator version is used"
This reverts commit 853fe00ba0cb91d564031706ef82038e9a4619ed.
2019-03-09 10:22:40 +08:00
Matt A. Tobin
3133535495 Don't include nsDownloadManagerUI if the Communicator version is used
Maintain backwards compatibility with MOZ_SUITE
2019-03-09 10:22:35 +08:00
wolfbeast
1e6b075d1d Make the Auth prompt DOS protection a browser-element opt-in feature. 2019-03-02 12:19:28 +08:00
wolfbeast
54df9f8a30 WIP fix 1 2019-03-02 12:19:23 +08:00
wolfbeast
46927bbb59 Remove toolkit/components/maintenanceservice/
Tag #145
2019-02-21 14:56:42 +08:00
wolfbeast
1a5eb981a7 Include blankthumb in the correct file. 2019-02-16 00:27:57 +08:00
wolfbeast
39d5eb7759 Remove NS_IMPL_CYCLE_COLLECTION_TRAVERSE_SCRIPT_OBJECTS 2019-02-16 00:27:49 +08:00
adeshkp
521c918660 Remove telemetry leftovers from JS engine. 2019-02-16 00:27:38 +08:00
David Teller
7d0bef1093 Reduce number of allocations in AutoStopwatch
This patch fixes two related issues.
1. The AutoStopwatch uses a stack-allocated `mozilla::Vector` to
communicate with its callback during each compartment switch.
This vector was designed to allow its contents to be stack-allocated
but they turned out to be accidentally heap-allocated.

2. During each tick, the stopwatch fills a vector `recentGroups_`.
This vector always started with minimal capacity and had to grow
repeatedly as groups were added, causing repeated reallocations.
This patch preallocates `recentGroups_` to have the same capacity as the
previous tick. We expect that this should eventually reach a stable size
that closely matches the actual needs of the process.
2019-02-16 00:27:30 +08:00
wolfbeast
dce38e8d76 Revert "Reduce number of allocations in AutoStopwatch"
This reverts commit 3476c1d60ec29c5497123194acd7a9310b1023d2.
2019-02-16 00:27:29 +08:00
David Teller
059aeea416 Reduce number of allocations in AutoStopwatch
This patch fixes two related issues.
1. The AutoStopwatch uses a stack-allocated `mozilla::Vector` to
communicate with its callback during each compartment switch.
This vector was designed to allow its contents to be stack-allocated
but they turned out to be accidentally heap-allocated.

2. During each tick, the stopwatch fills a vector `recentGroups_`.
This vector always started with minimal capacity and had to grow
repeatedly as groups were added, causing repeated reallocations.
This patch preallocates `recentGroups_` to have the same capacity as the
previous tick. We expect that this should eventually reach a stable size
that closely matches the actual needs of the process.
2019-02-16 00:27:28 +08:00
wolfbeast
19f9451de0 [WebExAM] Use proper application name in WebExtension API error message. 2019-02-16 00:24:10 +08:00
adeshkp
aea50f182f Telemetry: Remove stubs and related code 2019-02-16 00:24:04 +08:00
wolfbeast
69919870c1 Add performance warnings to Deprecated module.
Adds a dedicated handler for performance warnings to be logged to
consoles if known performance-impacting methods are called.
Search service init is changed from a deprecation warning to a
performance warning for synchronous init.
This also re-enables the warning for the Basilisk & Co. search service
initialization which was previously removed in [a930a79]

See also the discussion on #916.
2019-02-16 00:23:07 +08:00
wolfbeast
0298125fa6 Return an empty set if getting recipes for host fails.
This avoids errors when _recipeManager is not (yet) available.
This resolves #496.
2019-02-16 00:22:48 +08:00
Moonchild
b504989570 Update package.json
Update request version dependency
2019-02-16 00:20:08 +08:00
JustOff
5c9fd5c5c6 Use a separate process to generate thumbnails only when multi-process mode is enabled 2019-02-16 00:18:14 +08:00
Gaming4JC
3c4b6babee Issue #795 - Make nsIUserInfo component optional
This allows the nsIUserinfo component to be disabled with --disable-userinfo in mozconfig
at build time, but leaves it on by default to avoid any compatibility issues in existing
applications.
2019-02-16 00:18:11 +08:00
Moonchild
d0e0acb1fa Revert "Make nsIUserInfo component optional with --disable-userinfo at build time" 2019-02-16 00:18:05 +08:00
Gaming4JC
5d075cfe31 Issue #795 - Make nsIUserInfo component optional
This allows the nsIUserinfo component to be disabled with --disable-userinfo in mozconfig
at build time, but leaves it on by default to avoid any compatibility issues in existing
applications.
2019-02-16 00:17:59 +08:00
Ascrod
879373db7a Update Readability from mozilla-central release branch (FF 62.0.3). Tag #361. 2019-02-16 00:15:57 +08:00
Ascrod
30f3c09db5 Remove unused import from AboutReader module. Tag #361. 2019-02-16 00:15:55 +08:00
wolfbeast
a00d3a4d9e Fix a test (#670) 2019-02-16 00:15:48 +08:00
wolfbeast
775dc680e9 Remove cache I/O telemetry.
Tag #21.
2019-02-16 00:14:55 +08:00
wolfbeast
b882e7c6be Remove telemetry probes to get detailed disk cache hit rate.
Tag #21.
2019-02-16 00:14:54 +08:00
wolfbeast
e87890d893 Remove telemetry probes for cache file system. 2019-02-16 00:14:52 +08:00
wolfbeast
1f4a5663e9 Update telemetry whitelists.
Tag #21.
2019-02-16 00:14:48 +08:00
wolfbeast
f019ffbb0b Remove telemetry to find optimal cache entry hash size
Tag #21.
2019-02-16 00:14:40 +08:00
NTD
abaee14a7e Only opt-in to esr52 search service for select applications 2019-02-16 00:14:37 +08:00
JustOff
3b473f209a Remove window.sizeToContent() from commonDialog.js, as it's useless and leads to overflow in the basic auth dialog 2019-02-16 00:14:20 +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
wolfbeast
f99050d1d8 Write out serialized search engine files when rebuilding cache.
This makes sure that any in-browser edits of search engines (searchplugins) are made permanent on disk.
Ref: https://forum.palemoon.org/viewtopic.php?f=13&t=20296 (Ketmar)
2019-02-16 00:12:37 +08:00
wolfbeast
ad782894c8 Remove all C++ telemetry autotimers 2019-02-16 00:12:34 +08:00
wolfbeast
8c8145e620 Remove all C++ Telemetry Accumulation calls.
This creates a number of stubs and leaves some surrounding code that may be irrelevant (eg. recorded time stamps, status variables).
Stub resolution/removal should be a follow-up to this.
2019-02-16 00:12:32 +08:00
wolfbeast
3b27dfb5e3 Remove TelemetryStopwatch module.
Tag #21
2019-02-16 00:11:42 +08:00
wolfbeast
e3a9020c5d Remove TelemetryStopwatch call sites from toolkit components.
Tag #21
2019-02-16 00:11:38 +08:00
trav90
8fd121628a Remove the const to fix the -Wignored-qualifiers warning with GCC 8 (Part 2) 2019-02-16 00:11:03 +08:00
NTD
37bb4f9108 Fix include path 2019-02-16 00:10:51 +08:00
NTD
416b4ac960 Add a slightly modified version of the gecko/44 search service and use it when building Pale Moon 2019-02-16 00:10:50 +08:00
NTD
98656b3121 Move the "native" search service to a subdirectory 2019-02-16 00:10:48 +08:00
wolfbeast
6789cce7a5 Convert trinary to more explicit statement. 2019-02-16 00:10:00 +08:00
wolfbeast
61d4ea0009 Fix #include and potentially undefined Capture.options object. 2019-02-16 00:09:58 +08:00
wolfbeast
060aa7adeb Use a fixed thumbnail placeholder for blank thumbs (failed to capture). 2019-02-16 00:09:57 +08:00
wolfbeast
49f881cb96 Use try/catch in PageThumbs writeData to deal with null data from caller.
Quick fix for #670
2019-02-16 00:09:47 +08:00
janekptacijarabaci
54a727b3cb about:profiles - fix "Launch profile in new browser" (added "-no-remote" for Windows) 2019-02-16 00:09:46 +08:00