summaryrefslogtreecommitdiffstats
path: root/toolkit/components
Commit message (Collapse)AuthorAgeLines
* Reduce number of allocations in AutoStopwatchDavid Teller2019-01-29-3/+10
| | | | | | | | | | | | | | | 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.
* Revert "Reduce number of allocations in AutoStopwatch"wolfbeast2019-01-29-7/+3
| | | | This reverts commit 3476c1d60ec29c5497123194acd7a9310b1023d2.
* Reduce number of allocations in AutoStopwatchDavid Teller2019-01-28-3/+7
| | | | | | | | | | | | | | | 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.
* [WebExAM] Use proper application name in WebExtension API error message.wolfbeast2019-01-14-1/+2
|
* Telemetry: Remove stubs and related codeadeshkp2019-01-12-228/+2
|
* Add performance warnings to Deprecated module.wolfbeast2018-12-24-3/+12
| | | | | | | | | | | 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.
* Return an empty set if getting recipes for host fails.wolfbeast2018-12-21-2/+7
| | | | | This avoids errors when _recipeManager is not (yet) available. This resolves #496.
* Update package.jsonMoonchild2018-11-20-2/+2
| | | Update request version dependency
* Use a separate process to generate thumbnails only when multi-process mode ↵JustOff2018-10-27-1/+5
| | | | is enabled
* Merge pull request #854 from g4jc/nsuserinfoMoonchild2018-10-26-17/+22
|\ | | | | Issue #795 - Make nsIUserInfo component optional
| * Issue #795 - Make nsIUserInfo component optionalGaming4JC2018-10-25-17/+22
| | | | | | | | | | | | 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.
* | Revert "Make nsIUserInfo component optional with --disable-userinfo at build ↵Moonchild2018-10-24-22/+17
| | | | | | | | time"
* | Merge pull request #796 from g4jc/nsuserinfoMoonchild2018-10-24-17/+22
|\ \ | | | | | | Make nsIUserInfo component optional with --disable-userinfo at build time
| * | Issue #795 - Make nsIUserInfo component optionalGaming4JC2018-10-12-17/+22
| |/ | | | | | | | | | | 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.
* | Merge branch 'master' of https://github.com/MoonchildProductions/UXPwolfbeast2018-10-19-86/+165
|\ \
| * | Update Readability from mozilla-central release branch (FF 62.0.3). Tag #361.Ascrod2018-10-15-85/+165
| | |
| * | Remove unused import from AboutReader module. Tag #361.Ascrod2018-10-15-1/+0
| |/
* / Fix a test (#670)wolfbeast2018-10-19-6/+0
|/
* Remove cache I/O telemetry.wolfbeast2018-09-30-72/+0
| | | | Tag #21.
* Remove telemetry probes to get detailed disk cache hit rate.wolfbeast2018-09-30-17/+0
| | | | Tag #21.
* Remove telemetry probes for cache file system.wolfbeast2018-09-29-17/+0
|
* Update telemetry whitelists.wolfbeast2018-09-29-3/+0
| | | | Tag #21.
* Remove telemetry to find optimal cache entry hash sizewolfbeast2018-09-29-6/+0
| | | | Tag #21.
* Only opt-in to esr52 search service for select applicationsMatt A. Tobin2018-09-28-3/+3
|
* Remove window.sizeToContent() from commonDialog.js, as it's useless and ↵JustOff2018-09-23-2/+0
| | | | leads to overflow in the basic auth dialog
* fix mozilla regression in search service (saving user-defined search engines)Ketmar Dark2018-09-10-5/+18
| | | | | | 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.
* Write out serialized search engine files when rebuilding cache.wolfbeast2018-09-05-0/+5
| | | | | 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)
* Remove all C++ telemetry autotimerswolfbeast2018-09-04-28/+9
|
* Remove all C++ Telemetry Accumulation calls.wolfbeast2018-09-03-129/+2
| | | | | 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.
* Remove TelemetryStopwatch module.wolfbeast2018-08-20-493/+0
| | | | Tag #21
* Remove TelemetryStopwatch call sites from toolkit components.wolfbeast2018-08-20-29/+0
| | | | Tag #21
* Remove the const to fix the -Wignored-qualifiers warning with GCC 8 (Part 2)trav902018-08-10-2/+2
|
* Fix include pathMatt A. Tobin2018-08-06-1/+1
|
* Add a slightly modified version of the gecko/44 search service and use it ↵Matt A. Tobin2018-08-06-3/+5709
| | | | when building Pale Moon
* Move the "native" search service to a subdirectoryMatt A. Tobin2018-08-06-24/+33
|
* Convert trinary to more explicit statement.wolfbeast2018-07-26-3/+6
|
* Fix #include and potentially undefined Capture.options object.wolfbeast2018-07-26-2/+2
|
* Use a fixed thumbnail placeholder for blank thumbs (failed to capture).wolfbeast2018-07-25-5/+97
|
* Use try/catch in PageThumbs writeData to deal with null data from caller.wolfbeast2018-07-25-1/+9
| | | | Quick fix for #670
* about:profiles - fix "Launch profile in new browser" (added "-no-remote" for ↵janekptacijarabaci2018-07-25-0/+5
| | | | Windows)
* Merge pull request #606 from Ascrod/masterMoonchild2018-07-07-38/+16
|\ | | | | Updates to Reader and Narrator components.
| * Revert "Bug 1456652 - SameSite cookie Reader view patch bypass"Ascrod2018-07-07-12/+1
| | | | | | | | This reverts commit 6f64e487f35986f093dbb002d12554a61021b2c9.
| * Bug 1456652 - SameSite cookie Reader view patch bypassAscrod2018-07-05-1/+12
| |
| * Remove telemetry from NarrateControls.jsm.Ascrod2018-07-04-23/+0
| |
| * Fix local link handling in Reader Mode.Ascrod2018-07-04-15/+16
| |
* | On failure, save a dummy file from the background page thumb capture module.wolfbeast2018-07-04-1/+6
|/ | | | | | | | | If a background page thumbnail capture fails (e.g. due to too heavy scripting), we should write -something- to the thumbnail cache, because otherwise it will try again and again, which is problematic for bad trap pages, that even if the user has left the page never to return again, the thumbnail service may still try to capture, and fail. This resolves the only problem for us in #592.
* Re-implement prompts.tab_modal.focusSwitch control in toolkit.wolfbeast2018-07-03-3/+9
|
* Prevent suppressing executable warnings using the "don't ask me this again" ↵wolfbeast2018-07-02-34/+17
| | | | | | | | | | checkbox. A hidden preference matching the behavior of "browser.download.manager.alertOnEXEOpen" is kept, but is renamed in order to recover cases where the checkbox was used accidentally. While there, simplify the `confirmLaunchExecutable` function by converting from promises to async function. Since Basilisk moved this prompting to toolkit, we also clean up some unused duplicate strings from application/basilisk while we're there. This resolves #581
* Remove SSL Error Reporting telemetrywolfbeast2018-06-29-145/+0
|
* Add HYPE_ICEWEASEL where appropriateMatt A. Tobin2018-06-28-2/+6
|