Basilisk-Dev
e7d6301c75
Make WeakRef support always enabled
2026-05-18 12:52:09 +02:00
Moonchild
a703325af2
[DOM] Improve CC/WrapperCache for nursery objects.
2026-04-24 09:15:19 +02:00
Moonchild
4bd6812d9c
[XPCOM] Update list of executable extensions on Windows.
2026-04-22 08:20:43 +02:00
Moonchild
56a2627104
[XPCOM] Add more validation to SnappyUncompressInputStream
2026-04-01 14:49:47 +02:00
Moonchild
5f03b88dd3
Merge pull request 'Switch to Python 3.' ( #3024 ) from athenian200/UXP:python3-clean into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/3024
2026-04-01 11:57:01 +00:00
Jeremy Andrews
4ff3a75296
Issue #2974 - Part 67: Last-minute FreeBSD fixes.
...
Something went wrong on FreeBSD... I hope I don't have to go back
to the drawing board again.
2026-03-28 11:13:20 -05:00
Basilisk-Dev
facdbf7bc0
Issue #3007 - remove VERY obsolete HTML files in XPCOM
2026-03-28 09:08:54 -04:00
Basilisk-Dev
8f54050907
Issue #3007 - remove 32-bit SPARC OpenBSD support in XPCOM
2026-03-28 08:50:38 -04:00
Basilisk-Dev
2fbe032ee9
Issue #3007 - remove some obsolete HTML files in xpcom
2026-03-28 08:46:49 -04:00
Basilisk-Dev
a8a68383cb
Issue #3007 - Remove bitrig support from XPCOM.
2026-03-28 08:44:21 -04:00
Basilisk-Dev
e3f67c01a2
Issue #3007 - remove remaining HP-UX references in XPCOM
2026-03-28 08:39:01 -04:00
athenian200
b9842306a4
merge upstream
2026-03-26 02:29:44 +00:00
Jeremy Andrews
16f351a14c
Issue #2974 - Part 63: Bring in lex and yacc from "dirty" migration.
...
These versions work on 3.14, my attempt at a cleaner solution did not.
Besides, they apparently were designed for Python 3 to start with.
The mid-to-late parts of that migration were mostly correct, it seems.
Ref: https://repo.palemoon.org/athenian200/UXP/commit/4117ccfc36284845cb4c75cf4e3d5a8997417225#diff-48dc6c6013e343ba4e196819d2cd873b3d576140
2026-03-25 01:27:12 -05:00
Jeremy Andrews
8ff0eb3b1c
Issue #2974 - Part 58: Fix regexes and lexer on Python 3.11+
...
Newest versions of Python 3 do not like lex.py or the regexes used by
xpidl. These workarounds allow it to work anyway.
2026-03-23 12:09:24 -05:00
Basilisk-Dev
944299ed6c
Issue #3007 - Remove Itanium/ia64 support from xpcom
2026-03-23 08:15:51 -04:00
Jeremy Andrews
04e6f86a60
Issue #2974 - Part 36: Fix XPIDL and XPT generator.
...
Most of this is taken from my original port, but I did revisit xpt.py
and rework the way cmp was translated to Python 3 by using a
ComparableMixin class.
2026-03-14 01:27:31 -05:00
Jeremy Andrews
af6ae6a1d3
Issue #2974 - Part 17: Use new unittest names.
...
2to3 . --fix asserts -wpn
Ref:
https://docs.python.org/3.11/library/unittest.html#deprecated-aliases
2026-03-05 21:11:31 -06:00
Jeremy Andrews
0c61ee391c
Issue #2974 - Part 14: Moved libraries and imports.
...
reduce is moved to functools, urllib reogranized.
2to3 . --fix urllib -wpn
2to3 . --fix reduce -wpn
2to3 . --fix import -wpn
2to3 . --fix imports -wpn
2to3 . --fix imports2 -wpn
Ref: PEP 3108, PEP 3100
https://peps.python.org/pep-3108/
https://peps.python.org/pep-3100/
2026-03-04 20:24:12 -06:00
Jeremy Andrews
5af8e3ba5c
Issue #2974 - Part 12: Adapt metaclass syntax.
...
It seems to have moved out of the body of the function,
into the class definition. Hit this a couple times...
2to3 . --fix metaclass -wpn
Ref: PEP 3115
https://peps.python.org/pep-3115/
2026-03-04 18:55:13 -06:00
Jeremy Andrews
46f126c10c
Issue #2974 - Part 8: Adapt except
...
2to3 . --fix except -wpn
Python 3 exception syntax is different. Comma-based syntax is gone,
much like print syntax is changed.
This lets you have the old behavior. Mechanical.
Ref: PEP 3110
https://peps.python.org/pep-3110/
2026-03-04 15:00:58 -06:00
Jeremy Andrews
8c0f0ccdcf
Issue #2974 - Part 6: Adapt dict
...
2to3 . --fix dict -wpn
Py2 dict was a list by default, the iterator versions
were switched around to be the default.
This lets you have the old behavior. Mechanical.
Ref: PEP 3106
https://peps.python.org/pep-3106/
2026-03-04 13:56:53 -06:00
Jeremy Andrews
49615281cd
Issue #2974 - Part 2: Adapt range/xrange.
...
2to3 . --fix xrange -wpn
range takes the place of Py2 xrange.
Py2 range was a list. Mechanical, did
it by hand several times...
Ref:
https://docs.python.org/3/whatsnew/3.0.html#range
2026-03-04 08:33:16 -06:00
Jeremy Andrews
e11fc9b4cf
Issue #2974 - Part 1: Adapt all print statements.
...
2to3 . --fix print -wn
Essentially, print is a function instead of statement.
Ref:
PEP 3105
https://peps.python.org/pep-3105/
2026-03-04 03:48:01 -06: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