summaryrefslogtreecommitdiff
path: root/xpcom
Commit message (Collapse)AuthorAge
* Issue #2343 - replace MOZ_FALLTHROUGH with [[fallthrough]]Moonchild2023-11-11
| | | | Basically a S&R. Removed the macro and adjusts IDL codegen accordingly.
* Issue #2342 - Fix attribute order in nsIPipe.idlMoonchild2023-11-10
|
* Issue #2342: Use [[nodiscard]] in /xpcom and xpidl parserMoonchild2023-11-08
|
* Issue #2281 - Add some deduction guides for class template arguments.Moonchild2023-11-05
| | | | | This is necessary if we want to start using Span() constructors instead of the MakeSpan() kludge.
* [XPCOM] Add several app/msi file types to the executables list (Win).Moonchild2023-10-25
| | | | | | | | This errs on the side of caution for what are installer packages, but people getting conned into thinking this is safe is a bit too common. They are akin in danger to .exe files in that respect as it installs software, and should be treated similarly, so, warn about the potential danger.
* Make Gecko Media Plugins optional when not building EME or WebRTCMatheus Marinho2023-08-31
| | | | Co-authored-by: Moonchild <moonchild@palemoon.org>
* [XPCOM] Add xll files to the executables list.Moonchild2023-08-30
|
* No Issue - Fix debug builds on ARM Mac.Brian Smith2023-07-07
| | | | | mach_override used by the IO Poisoner used in debug mode is not support on ARM. https://bugzilla.mozilla.org/show_bug.cgi?id=1658385
* [XPCOM] Win: Update executable extension listMoonchild2023-07-05
|
* Issue #1691 - Follow-up: Print leaking class name and remove crash reporter ↵FranklinDM2023-06-19
| | | | dependency
* Issue #1656 - Remove more vim control lines.Moonchild2023-05-05
| | | | | | | | Vim control lines were re-introduced or not entirely cleaned up. This nukes them again. Removing from accessible, [root], tools, uriloader, widget, xpcom and xpfe. Resolves #1656
* Merge pull request 'Implement Dynamic Module Import and its various ↵Moonchild2023-04-30
|\ | | | | | | | | | | dependencies.' (#2215) from dbsoft/UXP:d-m-i into master Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2215
| * Issue #1691 - Part 10: Add and use method to annotate CC crashes with a ↵Brian Smith2023-04-27
| | | | | | | | | | | | | | | | | | | | class name. https://bugzilla.mozilla.org/show_bug.cgi?id=1277260 Make PtrInfo into a class and mark it final. Also fix an erroneous debug assert because mBaseURL not set in one code path. (cherry picked from commit a1890054011adf0cf87be0d56047418c9f201420)
| * Issue #1691 - Part 7e: Dependencies for required to finish part 7d.Brian Smith2023-04-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://bugzilla.mozilla.org/show_bug.cgi?id=1331662 Reimplement EvaluateString using the ExecutionContext class. https://bugzilla.mozilla.org/show_bug.cgi?id=1316078 Extract redudant code into StartOffThreadParseTask. Use an ExclusiveContext instead of a JSContext in XDR functions. Add a script decoder as a valid off-main-thread parse-task. https://bugzilla.mozilla.org/show_bug.cgi?id=900784 Add nsJSUtils functions for encoding and decoding the bytecode. https://bugzilla.mozilla.org/show_bug.cgi?id=1316081 Add XDRIncrementalEncoder to replace delazified LazyScript in the encoded XDR buffer. Add an XDRIncrementalEncoder instance on the ScriptSource. Expose a new JSAPI to incrementally encode bytecode when it is generated. https://bugzilla.mozilla.org/show_bug.cgi?id=1334091 XDR function use the sourceObject instead of the enclosingScript as argument. (cherry picked from commit d6de9a669f4b2f5115670bd771cd53d7cfb3956a)
| * Issue #1691 - Part 6a: Support private values which contain pointers to ↵Brian Smith2023-04-27
| | | | | | | | | | | | | | | | cycle-collected C++ objects https://bugzilla.mozilla.org/show_bug.cgi?id=1342012 (cherry picked from commit 1286cca73d58332ba0becd0011f747713b8acfac)
* | Issue #2218 - Part 1: Add nsExpirationTracker::NotifyEndTransaction(Locked) ↵FranklinDM2023-04-30
|/ | | | | | callbacks for subclasses to know when an aging iteration is complete Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1389479
* Issue #2053 - Follow-up: Clear the performance entries buffer if full.Moonchild2023-04-13
| | | | | | | | Also enlarged the buffer to 16k entries which should be enough for all legitimate use of performance measurements (and then some). This throws a quota exceeded error if sites want to record more entries into the buffer and just clears it (similar to Moz's behaviour under memory pressure) ready for fresh entries to be added again.
* Issue #2053 - Part 5: Throw a DOMException instead of a JS exception for ↵FranklinDM2023-04-10
| | | | some errors
* No issue - Use pre-C++17 static_assert() by adding reason for assert.Brian Smith2023-03-12
| | | | This fixes warnings with clang and build failures with Visual C versions prior to 2022.
* Issue #1375 - Part 1: Allow moving a reference into nsInterfaceHashtableFranklinDM2023-02-28
|
* Merge pull request 'Make RegExpShared into a proper GC thing' (#2095) from ↵Moonchild2023-01-31
|\ | | | | | | | | | | jobbautista9/UXP:2083-regexpshared-gc-final into master Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2095
| * Issue #2083 - Part 1: Make RegExpShared a GC thing.Job Bautista2023-01-26
| | | | | | | | | | | | | | | | | | | | Based on Mozilla bug 1345177. Changes from the original bug's patch: - We don't have JS::CurrentThreadIsHeapCollecting, so let's use trc->runtime()->isHeapCollecting() instead. - Mozilla bug 1337117 renamed runtimeFromMainThread to runtimeFromActiveCooperatingThread for Firefox 54, so let's use the former
* | [xpcom] remove incorrect assertion.Moonchild2023-01-29
|/ | | | See https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2095#issuecomment-33796
* Issue #2065 - Part 3: Process install manifests with --track in the ↵FranklinDM2022-12-24
| | | | | | | recursive make backend This excludes parts that remove support for building the Mozilla SDK. Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1390916
* Issue #2027 - Use reserved stack space instead of heap allocation in nsLocalFileFranklinDM2022-11-20
| | | | | | This should resolve the build bustage associated with c127f58ef3. Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1371279
* [XPCOM] Deal with lstat potentially lying in nsLocalFileUnix.Moonchild2022-11-19
|
* [XPCOM] Fix Base64 off-by-one issue and safeguard against this mistake in ↵Moonchild2022-10-26
| | | | the future.
* 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.