Commit graph

7,744 commits

Author SHA1 Message Date
win7-7
ed1899df7b Fix idle runnable DOM issues 1367905 fixes.
Fix idle runnable DOM issues 1367905 fixes.

Sadly this still does not compile. It just get further.

nsThreadUtils.cpp is still not fully fixed and nsCOMPtr.h has some conversion errors.
2026-08-01 03:07:32 +01:00
win7-7
a503bda1e4 Fix compilation of do_CreateInstance
Fix compilation of do_CreateInstance.
2026-08-01 03:07:32 +01:00
win7-7
f399229746 Fallout from mozilla version of file.
Fallout from mozilla version of file.
2026-08-01 03:07:32 +01:00
win7-7
436a8d5697 Part 4 could not suck more.
Part 4 could not suck more.

Sigh..

do_CreateInstance where was this defined so identifier is found..
2026-08-01 03:07:32 +01:00
win7-7
f109b02bc3 1325254 - optimize TimerThread data structures
1325254 P1 Make TimerThread::mTimers store RefPtr<nsTimerImpl> objects.

1325254 P2 Make TimerThread list store an entry struct and just drop nsTimerImpl ref on cancel.

1325254 P3 Sort TimerThread list as a binary heap.

1325254 P4 Dynamically allocate Entry structs stored in TimerThread::mTimers.

1325254 P5 Make nsITimer::Cancel() O(c).
2026-08-01 03:07:32 +01:00
win7-7
be3e4b917d Hmph.. another issue due needing 1325254 (which does not just work) or figuring out way get rid of Value.
Hmph.. another issue due needing 1325254 or figuring out way get rid of Value.
2026-08-01 03:07:32 +01:00
win7-7
ab6a9b981b Just import file from Mozilla.
Just import file from Mozilla.

It does help with templates but of course there is another issue.
2026-08-01 03:07:31 +01:00
win7-7
c4bf9a7b32 1358476, add support for timeout when doing idle dispatch
Templates suck. I cannot make this work likely.
2026-08-01 03:07:31 +01:00
win7-7
5499c5f9a3 1311425 - Make requestIdleCallback aware of timeouts.
Prepare for handling several sources of idleness.

Make idle callbacks aware of nsITimers.

Add pref for how far into the timer queue.

1311425 - Avoid expiration timers when scheduling idle runnables.

review comment fix to ensure low priority timers aren't taken into account when calling NS_GetTimerDeadlineHintOnCurrentThread.
2026-08-01 03:07:31 +01:00
win7-7
464b839bbd 1366750 - Rename nsIIncrementalRunnable to nsIIdleRunnable
1366750 - Rename nsIIncrementalRunnable to nsIIdleRunnable.
2026-08-01 03:07:31 +01:00
win7-7
b12cefe841 1371242 - Investigate if CC slices could use idle periods more likely
1371242, try to run CC slices more likely during idle periods.
2026-08-01 03:07:31 +01:00
win7-7
5893bbe274 I might revert this depending what it does on outside Android in memory usage since its Android relevant.
1397864, put back the higher GC budget when GC is triggered by a timer
2026-08-01 03:07:31 +01:00
win7-7
fa9a1402d5 1368972 - Increase slice time for long-running incremental GCs
1368972 - Increase slice time for long-running incremental GCs when CC has tried to run.
2026-08-01 03:07:31 +01:00
win7-7
d3450c11de 1376614 - Pass budget to forgetSkippable and return early when budget has been used
1376614 - Pass budget to forgetSkippable and return early when budget has been used,
2026-08-01 03:07:30 +01:00
win7-7
50944ecb18 1373067 - Ensure CC isn't started too often
1373067 - Ensure CC isn't started too often.
2026-08-01 03:07:30 +01:00
win7-7
137e995c26 1367905 - Try to run GC/CC slices, including forgetSkippable, during idle time
1367905 - Try to run GC/CC slices, including forgetSkippable, during idle time.

1367905 - Try to run GC/CC slices, including forgetSkippable, during idle time, tweaks to keep reftest memory usage lower.
2026-08-01 03:07:30 +01:00
wuggy
85f7844b5a Merge pull request 'Catch up with UXP (ES2023 and nested CSS)' (#27) from uxpcatchup into main 13.2.1-rc1
Reviewed-on: https://repo.dactyloidae.xyz/Dactyloidae/UXP/pulls/27
2026-07-31 19:58:41 +01:00
Basilisk-Dev
75db223e08 Issue #2551 - comment toSorted implementation 2026-07-31 19:46:56 +01:00
Moonchild
d4658401f7 No Issue - Remove redundant OS check for toolkit/fonts
This is already guarded by MOZ_BUNDLED_FONTS one level higher and blocks
--enable-bundled-fonts from working on other OSes
2026-07-31 19:46:55 +01:00
Basilisk-Dev
d3764451e2 Issue #2551 - Add toSorted test and do some final tweaks to toSorted to be compliant 2026-07-31 19:46:55 +01:00
Basilisk-Dev
4edeca8c62 Issue #2551 - Ensure toSorted is 100% spec compliant per multiple tests 2026-07-31 19:46:55 +01:00
Basilisk-Dev
18c04a471d Issue #2551 - Initial attempt at toSorted implementation 2026-07-31 19:46:21 +01:00
Moonchild
bc0dbe9abb Issue #2928 - Improve imgLoader cache queue handling.
- Convert the imgCacheQueue to nsTArray from Vector
- Avoid marking the queue dirty when element operations are performed
that don't upset the sort order. This should improve performance as well.
2026-07-31 19:46:21 +01:00
Moonchild
3b799da2f8 Issue #2928 - Avoid searching the image cache queue for an entry after we just popped it off the queue. 2026-07-31 19:46:21 +01:00
Moonchild
252cbabfd4 Issue #2928 - Always refresh dirty queue. 2026-07-31 19:46:21 +01:00
Moonchild
7332833ecc Issue #2928 - Re-order imgLoader::RemoveFromCache
Remove from tracker first before removing from cache, and if the cache
queue is dirty, refresh it (causes a re-heap) before manipulating further.
2026-07-31 19:46:21 +01:00
Moonchild
f7820b0ab5 Issue #2928 - Check mCacheQueue size before removing entries.
Resolves #2928
2026-07-31 19:46:20 +01:00
Basilisk-Dev
c88750f498 Issue #2862 - css nesting pref true by default 2026-07-31 19:28:34 +01:00
Basilisk-Dev
700d17fea8 Issue #2862 - Remove unused vars in CSS flattener 2026-07-31 19:28:34 +01:00
Basilisk-Dev
df9550ae5a Issue #2862 - Change tests from lowering to flattening 2026-07-31 19:28:34 +01:00
Basilisk-Dev
64d55b0a2e Issue #2862 - Change code references from CSS lowering to CSS flattening 2026-07-31 19:28:33 +01:00
Basilisk-Dev
505600c45e Issue #2862 - handle more edge cases in css lowering 2026-07-31 19:28:33 +01:00
Basilisk-Dev
2a0179437f Issue #2862 - more tests files for nested css 2026-07-31 19:28:33 +01:00
Basilisk-Dev
c12883cfcf Issue #2862 - Split the css lowering functionality out to a separate file for easier maintenance 2026-07-31 19:28:33 +01:00
Basilisk-Dev
f2560c57b6 Issue #2862 - Fix a few nested selectors 2026-07-31 19:28:33 +01:00
Basilisk-Dev
c794e74cf0 Issue #2862 - Modify the css lowerer so that the lowering pass now recognizes bare type-selector nested rules and combinator-led cases 2026-07-31 19:28:33 +01:00
Basilisk-Dev
54262457d2 Issue #2862 - add initial nested css test file 2026-07-31 19:28:32 +01:00
Basilisk-Dev
1453b6fd78 Issue #2862 - Initial attempt at a css lowering 2026-07-31 19:28:32 +01:00
wuggy
c733f8d1d1 [13.2.1] Fix YouTube UAO 2026-07-31 15:25:03 -03:00
wuggy
91b45c0d14 Dactyloidae Milsko Widget initial commit 2026-07-28 23:21:45 +01:00
wuggy
2e7355c0ef 13.2.1 pt 2 2026-07-28 22:11:58 +01:00
wuggy
bbc9a10f93 13.2.1 pt 1 2026-07-28 22:11:45 +01:00
wuggy
7792452105 More optimisations n shit 2026-07-22 15:14:39 -07:00
wuggy
414ce93828 Merge pull request 'Implement TypedArray.toSorted' (#25) from 13.2-release into main
Reviewed-on: https://repo.dactyloidae.xyz/Dactyloidae/UXP/pulls/25
2026-07-14 02:05:07 +01:00
wuggy
cac6802c55 Implement TypedArray.prototype.toSorted 13.2 2026-07-13 18:02:11 -07:00
wuggy
ac5a46c3bc dactyloidae 7zstub 2026-07-13 13:41:30 -07:00
wuggy
741ba79bfe Merge pull request 'basilisk internal userscripts' (#23) from 13.2-release into main
Reviewed-on: https://repo.dactyloidae.xyz/Dactyloidae/UXP/pulls/23
2026-07-13 17:52:39 +01:00
wuggy
b3590b8a98 Update MSVC 64 bit mozconfig with main 2026-07-13 17:52:27 +01:00
wuggy
f7f5623a62 Update mozconfigs/windows/uxp-win64-msvc 2026-07-13 17:51:28 +01:00
wuggy
e57af6ecab Update MSVC 32 bit mozconfig for 64 bit changes 2026-07-13 17:50:57 +01:00