summaryrefslogtreecommitdiff
path: root/xpcom
Commit message (Collapse)AuthorAge
* Issue #1980 - Fix build bustage for applications where WebRTC building is ↵Job Bautista2022-07-30
| | | | | | | | | | | | | | enabled. Turns out we have a duplicate VoidFunction callback in the WebIDLs. Per Mozilla bug 1324169, we should remove this callback from RTCPeerConnection.webidl and let Function.webidl handle it instead. The AttributeError faced by the new Basilisk dev wasn't helpful at all; and turns out Mozilla had this exact same issue on bug 1505504. We're also backporting that just in case we encounter another case of callback duplication. Also doing a minor fix in the MicroTaskRunnable class which Moonchild forgot to do while working on Issue #1895.
* [XPCOM] Crash safely when TArray replacements are OOB.Moonchild2022-07-03
| | | | | In the unlikely event of TArray element replacement calls are OOB, crash safely with a debug breakpoint instead of corrupting memory.
* Issue #1905 - Part 4d - Fix a crash calling a date and time function.Brian Smith2022-06-15
| | | | Fixed by updating the xptcinvoke ARM64 code to the latest Mozilla version.
* Issue #1905 - Part 3j - Rename the ARM64 assembly files to .S.Brian Smith2022-06-10
| | | | Missed the moz.build file in the last commit.
* Issue #1905 - Part 3i - Rename the ARM64 assembly files to .S.Brian Smith2022-06-10
| | | | Necessary because they now need to be preprocessed.
* Issue #1905 - Part 3g - Final set of changes connecting ARM64 support for Mac.Brian Smith2022-06-09
| | | | Back out some of the xptcstubs changes that are not viable for our codebase.
* Issue #1905 - Part 3f - Collection of fixes connecting ARM support to the ↵Brian Smith2022-06-09
| | | | | | Mac build. Also update ARM XPT code to add Mac/Apple support.
* [XPCOM] Simplify nsITimer API.Moonchild2022-05-30
| | | | | It's much simpler to hold a death grip on the timer than to have a fragile "release upon cancel" construct.
* [xpcom] Timer cleanup, assertions and comments.Moonchild2022-05-30
|
* Merge pull request 'Fix ASAN and clang crashes on Linux, BSD and MacOS.' ↵Moonchild2022-05-08
|\ | | | | | | | | | | (#1892) from dbsoft/UXP:fixxptcinvoke into master Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1892
| * Issue #1891 - Fix ASAN and clang crashes on Linux, BSD and MacOS.Brian Smith2022-05-05
| | | | | | | | | | | | Merge with the existing Solaris fix, by folding Solaris into the Linux/BSD section. Add Apple Silicon (ARM64) support. This should also address Issue #1884 by moving the offending code into assembly.
* | Issue #1895 - Implement queueMicroTask(callback())Moonchild2022-05-07
|/
* [XPCOM] Improve the conversion of line breaks.Stephen A Pohl2022-05-04
| | | | Fix an off-by-one error in CRLF checking.
* Merge branch 'master' into 1829Brian Smith2022-04-28
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: No issue - Update README and SECURITY Issue #1885 - Follow-up: Update error message if invalid rootMargin specified. Issue #1879 - Follow-up: Update config/external/nss/target to security/target. Issue #1885 - Allow unitless rootMargin entries for IntersectionObserver. Issue #1879 - Revert changes to cryptox.h Revert "Issue #1879 - spot-fix typo in cryptox.h" Issue #1879 - spot-fix typo in cryptox.h Issue #21 - Change MappedAttrParser to store its nsIPrincipal instead of nsSVGElement Issue #21 - Remove use counters telemetry Issue #1881 - Interpret empty or whitespace root margin string as zero length Issue #1877 - Resolve NIGHTLY_BUILD conditionals. Issue #1880 - Boot Comic Sans out of the font configuration.
| * Issue #1877 - Resolve NIGHTLY_BUILD conditionals.Moonchild2022-04-22
| |
* | Issue #1829 - Fix Mac breakage due to removal of Telemetry.Brian Smith2022-04-26
| |
* | Issue #1829 - Revert "Issue #1751 -- Remove XP_DARWIN"Brian Smith2022-04-26
| | | | | | | | This reverts commit 3d671e4275c73a1484c72713304c6e04ec4ffc7c.
* | Issue #1829 - Revert "Issue #1751 -- Remove XP_MACOSX conditionals and ↵Brian Smith2022-04-26
| | | | | | | | | | | | support files from /xpcom" This reverts commit 1bf0734a7249eb0dc1a96d825e7310eb46cac6dc.
* | Issue #1829 - Revert “Issue #1751 - Remove Mac code behind ↵Brian Smith2022-04-26
|/ | | | | | MOZ_WIDGET_TOOLKIT == 'cocoa’” This reverts commit 1fe9c19305dadf2d5bcaa0e589fcd250389dfa8a.
* Issue #1877 - Resolve RELEASE_OR_BETA conditionals.Moonchild2022-04-19
|
* Issue #1818 - Part 1: remove a number of old GCC hacks.trav902022-04-15
|
* Fix typoMoonchild2022-04-09
|
* [xpcom] xpcom Threadpool cleanupMoonchild2022-04-09
| | | | Make sure thread locks are in place to guard accesses.
* [XPCOM] xpcom/threads misc cleanupMoonchild2022-04-08
|
* Issue #953 - Neuter the user-facing controls for e10sMoonchild2022-04-08
| | | | | This should prevent people using a massive footgun that would blow off their entire legs. Requires appropriate FE changes.
* [XPCOM] Use swap in nsThread::SetObserver.Moonchild2022-04-07
|
* [Network] Escape external protocol handler URLsMoonchild2022-04-07
|
* Issue #21 - Remove remaining telemetry structs, callers and flags.Moonchild2022-04-02
|
* Issue #21 - Remove Telemetry plumbing and fix build.Moonchild2022-04-02
| | | | | Note this won't give working applications. Requires FE changes and additional js module changes (next part).
* Issue #1835 - Part 2: Remove config and most mentions of XULRunnerMatt A. Tobin2022-04-01
| | | | Resolves #1835
* Issue #1822 - Part 4: Remove URL classifier and internal blocklist errors.Moonchild2022-04-01
| | | | | This removes NS_ERROR_{TRACKING|MALWARE|PHISHING|UNWANTED|BLOCKED}_URI that are no longer in use.
* Issue #1053 - Remove Android systrace, more build system removals.Moonchild2022-04-01
| | | | Also updates more comments.
* Issue #1053 - Clean up docs and some code comments.Moonchild2022-04-01
| | | | Polish only, no code changes.
* No issue - Clean up some obsolete/archaic code paths.Moonchild2022-04-01
|
* [XPCOM] be more precise when counting the number of allocator usersOlli Pettay2022-04-01
| | | | | | This patch is based on code inspection. One could also move sAllocatorUsers to Free(), but it shouldn't matter in practice.
* Issue #1751 - Fix preprocessor typo to restore ARM Linux buildabilityMatt A. Tobin2021-08-25
|
* [no issue] Replace PurpleBlock with SegmentedVector to reduce indirect memoryMoonchild2021-07-23
| | | | | | | accesses when calling suspect Improves overall memory performance. Also prerequisite for further work on #1677.
* Issue #1751 - Remove Mac code behind MOZ_WIDGET_TOOLKIT == 'cocoa'Moonchild2021-06-21
|
* Issue #1772 - Stop using legacy code page conversion for file paths on Linux.Moonchild2021-05-14
| | | | | | | | OS.File already only supports UTF-8 paths on non-Windows systems, so this change makes our different ways of accessing file paths consistent with each other. This should prevent unexpected crashes in glibc that expect UTF-8. This resolves #1772.
* Issue #1751 -- Remove XP_MACOSX conditionals and support files from /xpcomMoonchild2021-05-03
|
* Issue #1751 -- Remove XP_DARWINMoonchild2021-05-02
|
* Issue #1751 -- Remove XP_IOSMoonchild2021-05-01
|
* Issue #1690 - Part 1: Fix MacOS version detection above 10.15.Brian Smith2020-11-23
| | | | Changes based on Mozilla bug 1616404 but supporting back to 10.7.
* [xpcom] Don't use realloc for shrinking nsTArrays when allowRealloc is false.Moonchild2020-11-19
| | | | | | | | | The original patch handled the grow case but not the shrink case. When the current and new allocation sizes are in different size classes, jemalloc's realloc will move the allocation when shrinking, not just truncate the existing one. Based on work by Jon Coppeard.
* [xpcom] Fix GetWindowsFolder storageDavid Major2020-11-18
|
* Issue #1656 - Part 8: Devtools and misc.Moonchild2020-09-24
|
* Issue #1656 - Part 6: Clean up the build filesMoonchild2020-09-23
|
* Issue #1656 - Part 4: Manual cleanupMoonchild2020-09-23
|
* Issue #1656 - Part 4: Tackle *.idl, *.css, *.ipdlh, *.webidl, *.ccMoonchild2020-09-23
|
* Issue #1656 - Part 1: Nuke most vim config lines in the tree.Moonchild2020-09-23
| | | | | | Since these are just interpreted comments, there's 0 impact on actual code. This removes all lines that match /* vim: set(.*)tw=80: */ with S&R -- there are a few others scattered around which will be removed manually in a second part.