Basilisk-Dev
944299ed6c
Issue #3007 - Remove Itanium/ia64 support from xpcom
2026-03-23 08:15:51 -04:00
Moonchild
f39980b4c7
Issue #2928 - Add extra checks to nsExpirationTracker.
...
Turn some asserts into early exits and add sanity checks.
Also check main thread access for the fake mutex and report.
2026-02-05 13:44:21 +01:00
Francis Dominic Fajardo
07b05ebc21
Issue #2916 - Restore the ability to set a default log level when using MOZ_LOG
2026-01-26 19:04:37 +08:00
Moonchild
fa7638a731
[XPCOM] Add hashkey helper classes for future use.
...
These aren't currently used but will be good to have in case we need them
for future porting from Mozilla.
2026-01-15 10:27:53 +01:00
trav90
93883d5823
Issue #1636 - Part 3 - Remove Gconf
2026-01-12 08:01:44 -06:00
Basilisk-Dev
969217dc2f
MoonchildProductions/UXP#2897 : backport upstream xptcinvoke and xptcstubs for Loongarch64
2026-01-08 10:27:45 -05:00
Moonchild
a17b54921c
Merge pull request 'Issue Pale-Moon#2002 - Remove FreeBSD compat13x dependency on 15.x.' ( #2880 ) from dbsoft/UXP:freebsd15fix into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2880
2025-12-16 20:50:42 +00:00
Brian Smith
4a4ddda621
Issue Pale-Moon#2002 - Remove FreeBSD compat13x dependency on 15.x.
...
Remove the 2 libutil OS_LIBS and dynamically load libutil.so instead.
2025-12-16 01:26:00 -06:00
Moonchild
b4fbbdc29a
Issue #2869 - Make Purple Buffer additions check if cell is tenured.
...
This should avoid a CTD if `cell` is not tenured by moving this check to
CC instead of having it fatally fail at marking grey.
Resolves #2869
2025-11-22 17:46:36 +01:00
Moonchild
1e6ede5663
[XPCOM] Add Mac-specific executable extensions
2025-06-26 01:51:02 +02:00
Moonchild
38e6049f3e
Issue #2703 - Part 0: Add UnorderedRemoveElement[s]At to nsTArray
2025-03-29 21:15:00 +01:00
Moonchild
0603b037ef
Issue #2678 - Remove NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION_INHERITED
...
This no longer does anything at this point, except add indirection.
2025-01-18 16:15:51 +01:00
Moonchild
641fc9df3a
Issue #2678 - Remove unnecessary second QI for nsCycleCollectionISupports.
...
Also moves NS_IMPL_QUERY_CYCLE_COLLECTION_ISUPPORTS to nsAgg.h, since it's
only needed there, for clarity.
2025-01-17 17:24:34 +01:00
Moonchild
7d7ccb2dae
Issue #2678 - Default NS_INTERFACE_TABLE_HEAD_CYCLE_COLLECTION_INHERITED
...
to NS_ERROR_FAILURE
2025-01-17 15:49:23 +01:00
Moonchild
5be7b41a1e
Issue #2678 - Define a new macro for CC isupports.
...
The main purpose of defining this is to make conversion of places that use
the non-CC variant easier.
2025-01-17 15:16:54 +01:00
Moonchild
7612dff522
Issue #2678 - Optimize inherited cycle-collectible QueryInterface()
...
implementations for nsCycleCollectionISupports;
2025-01-17 14:54:40 +01:00
Moonchild
bd584e4c5f
Issue #2678 - Avoid QIing for NoteXPCOMRoot.
...
This callback is only used in very limited ways, so just require that the
caller passes in the canonical supports pointer plus the participant.
This probably won't affect performance much.
2025-01-17 10:55:29 +01:00
Moonchild
7b2f3c538f
Issue #2678 - Don't use QI to canonicalize nsISupports pointers in the purple buffer.
...
The nsISupports objects added to the purple buffer are already canonical,
so we can avoid some overhead by not QIing them to
`nsCycleCollectionISupports`.
2025-01-16 21:56:13 +01:00
Moonchild
3a26f14966
[XPCOM] Warn about .library-ms files on Windows (treat as executable)
2024-11-28 09:59:45 +01:00
Martin Husemann
07bb7f379b
Make NetBSD use the same xptcall support as others.
...
These functions are only ELF ABI specific, not really OS specific.
Add powerpc, powerpc64 and sparc64 support for NetBSD
by using the same code as other ELF systems do.
2024-09-22 11:56:04 +02:00
Moonchild
ac36221d70
[XPCOM] Warn about .xrm-ms files on Windows (treat as executable)
2024-04-17 16:30:00 +02:00
FranklinDM
e8e43b846c
Issue #58 - Follow-up: Remove Rust binding leftovers
2024-03-26 02:21:52 +08:00
Martok
252c4bdc74
Issue #2452 - Handle re-entrant Microtask checkpoints from Events dispatched by StableState callbacks
2024-01-16 11:04:58 +01:00
Martok
a9f263c081
Issue #2452 - Fix getter constness
...
https://bugzilla.mozilla.org/show_bug.cgi?id=1443429 Pt. 2
2024-01-16 11:02:51 +01:00
Martok
6cd9f36c28
Issue #2452 - Ensure DOM events aren't dispatched at unexpected time
...
https://bugzilla.mozilla.org/show_bug.cgi?id=1409985
https://bugzilla.mozilla.org/show_bug.cgi?id=1443746
2024-01-16 11:02:50 +01:00
Martok
d4070c7554
Issue #2452 - Declare the NS_ERROR_DOCSHELL_DYING error
...
From https://bugzilla.mozilla.org/show_bug.cgi?id=1337537
2024-01-16 11:02:50 +01:00
Martok
ae667c9a36
Issue #2435 - Re-Implement rejected Promises events according to spec
...
Own implementation; upstream gets several things wrong.
2024-01-05 17:19:51 +01:00
Martok
14826c037b
Issue #2435 - Implement notifying of rejected promises
...
Based-on: m-c 1362272
2024-01-05 17:19:51 +01:00
Martok
0dde96ba82
Issue #2240 - Align Microtasks and promises scheduling with spec
...
Microtasks, resolved Promises and Observers are handled after the sync
task that caused them, in the order they were generated.
Also simplifies reentrancy handling.
Based-on: m-c 1193394
2024-01-05 17:19:42 +01:00
Moonchild
9a3ac861de
Revert "[XPCOM] Compare return value of readlink in nsLocalFileUnix::GetNativeTarget"
...
This reverts commit 66b07ce699 .
2023-12-21 14:04:34 +01:00
Barret Rennie
66b07ce699
[XPCOM] Compare return value of readlink in nsLocalFileUnix::GetNativeTarget
2023-12-20 18:33:23 +01:00
mrnhmath
f9898e24e9
Merge branch 'master' into xulrunner-work
2023-11-30 16:39:41 +00:00
Matheus Marinho
169518553e
Issue #2391 - Part 1: Revert XULRunner removal
...
This reverts commits 0f52679d2e and 4a7af0d90f .
Also accounts for non-comm building and comment changes.
2023-11-25 18:49:17 -03:00
Brian Smith
8cffdc299f
Issue #2051 - Part 1 - Initial changes to get UXP building on Mac 10.5 PowerPC.
...
Additionally update the version detection back to 10.5 and forward to 14.
Fill some parts with code from TenFourFox when changes are not obvious.
Using gcc 7 from MacPorts, the gcc 4.8 TenFourFox used is too old.
Don't use GNU as on MacPPC it is too old.
Fix struct/class sizes by limiting bool size.
2023-11-23 01:42:11 -06:00
Gerald Squelart
3a092d3ae6
Bug 1332825 - Use move semantics in MozPromise::All() and AllPromiseHolder.
...
MozPromise::All sets up 'Then' lambdas on all sub-promises, each one
taking the resolve/reject object by value. Since this value will not be
used again in the lambda, it is safe to Move it, and from there
MozPromiseHolder::Resolve/Reject can also Move it again into the holder
storage, potentially saving two copies per Resolve/Reject. Also, once
all sub-promises have been resolved, the resolve-values can be Move'd
into the joining promise's Resolve function.
2023-11-19 16:19:11 +01:00
Moonchild
734f0957fb
Issue #2343 - replace MOZ_FALLTHROUGH with [[fallthrough]]
...
Basically a S&R. Removed the macro and adjusts IDL codegen accordingly.
2023-11-11 14:27:03 +01:00
Moonchild
c43a68113f
Issue #2342 - Fix attribute order in nsIPipe.idl
2023-11-10 13:50:37 +01:00
Moonchild
292ece5fde
Issue #2342 : Use [[nodiscard]] in /xpcom and xpidl parser
2023-11-08 13:50:12 +01:00
Moonchild
c87116b332
Issue #2281 - Add some deduction guides for class template arguments.
...
This is necessary if we want to start using Span() constructors
instead of the MakeSpan() kludge.
2023-11-05 13:16:39 +01:00
Moonchild
98c3aa5743
[XPCOM] Add several app/msi file types to the executables list (Win).
...
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.
2023-10-25 18:20:53 +02:00
Matheus Marinho and Moonchild
c94c303447
Make Gecko Media Plugins optional when not building EME or WebRTC
...
Co-authored-by: Moonchild <moonchild@palemoon.org >
2023-08-31 17:04:44 -03:00
Moonchild
7fdc866b5a
[XPCOM] Add xll files to the executables list.
2023-08-30 12:48:43 +02:00
Brian Smith
7a2f114334
No Issue - Fix debug builds on ARM Mac.
...
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
2023-07-07 17:38:09 -05:00
Moonchild
af5dbfc120
[XPCOM] Win: Update executable extension list
2023-07-05 22:08:40 +02:00
FranklinDM
32751e3d8f
Issue #1691 - Follow-up: Print leaking class name and remove crash reporter dependency
2023-06-19 15:15:47 +08:00
Moonchild
e7e10ab287
Issue #1656 - Remove more vim control lines.
...
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
2023-05-05 15:53:29 +02:00
Moonchild
732e1bb7f7
Merge pull request 'Implement Dynamic Module Import and its various dependencies.' ( #2215 ) from dbsoft/UXP:d-m-i into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2215
2023-04-30 10:51:26 +00:00
FranklinDM
608f037816
Issue #2218 - Part 1: Add nsExpirationTracker::NotifyEndTransaction(Locked) callbacks for subclasses to know when an aging iteration is complete
...
Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1389479
2023-04-30 18:17:24 +08:00
Brian Smith
22d254b479
Issue #1691 - Part 10: Add and use method to annotate CC crashes with a 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)
2023-04-27 13:35:07 -05:00
Brian Smith
8431e52405
Issue #1691 - Part 7e: Dependencies for required to finish part 7d.
...
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)
2023-04-27 13:34:41 -05:00