Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
77 commits
Select commit Hold shift + click to select a range
a6d8eeb
Add support for arithmetic expressions and comparison.
gnachman Jan 19, 2026
5776975
Cache margin preferences using FAST_INT_ACCESSOR
chall37 Jan 14, 2026
c70730e
Fix multi-tab performance degradation by removing redundant sync
chall37 Jan 16, 2026
72ead1a
Fix join mechanism with timeout and fatal error on failure
chall37 Jan 20, 2026
9fbf7b6
Add backpressure counter for monitoring token queue load
chall37 Jan 20, 2026
9116061
Fix backpressure counter initialization and document high-priority by…
chall37 Jan 20, 2026
03083d2
Add TODOs for taskPaused and shortcutNavigationMode correctness issues
chall37 Jan 20, 2026
489d17a
Reuse GCD timer instead of cancel/create on cadence changes
chall37 Jan 21, 2026
7ef5eb5
Optimize iTermProcessCache with coalesced incremental refresh
chall37 Jan 21, 2026
976614f
Fix performance issues in process cache incremental refresh
chall37 Jan 21, 2026
e2c7a29
Add implementation and testing plans for fairness scheduler
chall37 Jan 25, 2026
d5833d2
Add high-priority token analysis documentation
chall37 Jan 25, 2026
d876972
Add test infrastructure for FairnessScheduler (Phase 1)
chall37 Jan 26, 2026
65c5b42
Implement FairnessScheduler round-robin scheduling (Phase 1)
chall37 Jan 26, 2026
30767fd
Add Phase 2 TokenExecutor tests and update documentation
chall37 Jan 26, 2026
cb3838d
Implement TokenExecutor FairnessScheduler integration (Milestone 2)
chall37 Jan 26, 2026
19ff36a
Add PTYTask dispatch source infrastructure (Milestone 3)
chall37 Jan 26, 2026
7b65e4b
Add test infrastructure for TaskNotifier changes (Milestone 4)
chall37 Jan 26, 2026
69b7184
Implement TaskNotifier dispatch source integration (Milestone 4)
chall37 Jan 26, 2026
3f02fd3
Add integration test infrastructure (Milestone 5)
chall37 Jan 26, 2026
d635cdf
Implement fairness scheduler integration (Milestone 5)
chall37 Jan 26, 2026
3000d30
Add comprehensive fairness scheduler tests
chall37 Jan 26, 2026
768da67
Add thread safety to FairnessScheduler via iTermGCD.mutationQueue
chall37 Jan 26, 2026
25fe37a
Add MockTaskNotifierTask for real behavioral testing
chall37 Jan 26, 2026
fec970a
Add behavioral tests for PTYTaskDispatchSource
chall37 Jan 26, 2026
549eaeb
Update integration tests to exercise actual call sites
chall37 Jan 26, 2026
9c95553
Add tests for no-overlapping-turns safety property
chall37 Jan 26, 2026
2302b49
Add proper group-boundary budget enforcement tests
chall37 Jan 26, 2026
ebf3b51
Replace flaky asyncAfter tests with proper synchronization
chall37 Jan 26, 2026
cd3f4ef
Add comprehensive PTYTask read/write state transition tests
chall37 Jan 26, 2026
591f5e6
Add comprehensive fairness scheduler tests and consolidate mocks
chall37 Jan 26, 2026
85e1e81
Add ioAllowed predicate tests, same-queue group boundary tests, and r…
chall37 Jan 26, 2026
883c4b6
Add PTYSession wiring tests for unpause/shortcut re-kick
chall37 Jan 26, 2026
7b8f3fb
Fix backpressureLevel for negative availableSlots and add slot accoun…
chall37 Jan 26, 2026
447bc67
Add write-source dispatch state transition tests
chall37 Jan 26, 2026
d36bd65
Replace Thread.sleep with waitForCondition in dispatch source tests
chall37 Jan 26, 2026
25e343c
Replace Bool.random() with deterministic distribution coverage in que…
chall37 Jan 26, 2026
5d77278
Document potential O(1) optimization for discardAllAndReturnCount
chall37 Jan 26, 2026
809731e
Add tests to verify budget uses token count, not lengthTotal
chall37 Jan 26, 2026
06222ed
Add high-priority token array ordering tests and backpressure assertions
chall37 Jan 26, 2026
7352697
Add high-priority synchronous kick tests and fix executor queue setup
chall37 Jan 26, 2026
b0fa621
Add integration tests for production dispatch source activation path
chall37 Jan 26, 2026
61d7125
Replace timing-sensitive test waits with deterministic synchronization
chall37 Jan 26, 2026
57f0a17
Fix misleading test name and comments for availableSlots semantics
chall37 Jan 26, 2026
d56bad1
Add execution tracking hooks and fix re-kick integration tests
chall37 Jan 26, 2026
158702a
Fix testBackpressureReleaseHandlerCalled to verify actual behavior
chall37 Jan 26, 2026
80678f0
Fix testBackgroundSessionNotPreemptedByForeground to add foreground t…
chall37 Jan 26, 2026
5dd058f
Fix testConcurrentAddAndConsumeDoesNotCorruptSlots assertion
chall37 Jan 26, 2026
86e0f2f
Add tests for automatic scheduling contract on addTokens()
chall37 Jan 26, 2026
456907e
Add XCTSkipUnless for tests requiring ITERM_DEBUG hooks
chall37 Jan 26, 2026
eb4e621
Add tests for background/foreground fairness after removing activeSes…
chall37 Jan 26, 2026
046c68e
Add execution history tracking to verify round-robin fairness invariant
chall37 Jan 26, 2026
a141a26
Replace timeout-based waits with deterministic queue synchronization
chall37 Jan 26, 2026
e06d1eb
Fix testZeroBudgetBehavior to test actual progress guarantee
chall37 Jan 26, 2026
5f36656
Fix testBackpressureHandlerCalledOnBackpressureRelease to test real b…
chall37 Jan 26, 2026
e48e912
Fix use-after-free race conditions in tests with background threads
chall37 Jan 26, 2026
df89285
Fix testHighThroughputSuspended to actually assert suspended state
chall37 Jan 26, 2026
6512ac0
Fix testBackpressureIsolation to actually test isolation
chall37 Jan 26, 2026
d0ed567
Fix testMutateAsynchronouslyIsNonBlocking to run assertion from backg…
chall37 Jan 26, 2026
cadcf0c
Add crash detection to test runner and document crash reporting
chall37 Jan 26, 2026
d2a44a0
Fix testActiveSessionsWithTokensRemoved to verify property removal
chall37 Jan 26, 2026
645ef8d
Fix testHighPriorityTokenArraysExecuteBeforeNormalTokenArrays assertions
chall37 Jan 26, 2026
3ba01de
Fix testMultipleGroupsInSameQueueWithBudgetSemantics to use known tok…
chall37 Jan 26, 2026
1cccc9e
Add tests for backpressureReleaseHandler → updateReadSourceState wiring
chall37 Jan 27, 2026
8d1e845
Replace timing-based tests with deterministic assertions (Phase 1)
chall37 Jan 27, 2026
1e7111b
Replace timing-based concurrent tests with bounded-progress (Phase 2)
chall37 Jan 27, 2026
ff3d0d3
Fix dispatch source teardown race and simplify coprocess tests
chall37 Jan 27, 2026
729600d
Add test coverage for .heavy backpressure with positive availableSlots
chall37 Jan 27, 2026
7b0cce1
Fix non-blocking tests to actually prevent token consumption
chall37 Jan 27, 2026
5637667
Add end-to-end test proving session isolation with dispatch sources
chall37 Jan 27, 2026
2969cd9
Bridge coprocess data flow with dispatch_source PTY I/O
chall37 Jan 27, 2026
b0f1488
Fix writeTask deadlock and add coprocess bridge tests
chall37 Jan 27, 2026
101152f
Fix dispatch source teardown race and expand test coverage
chall37 Jan 27, 2026
a9c2b43
Add test coverage for plan gaps and fix racy assertion
chall37 Jan 27, 2026
48c03c9
Revert local Makefile changes and dependency rebuilds
chall37 Jan 28, 2026
1683c3f
Revert README.md to upstream
chall37 Jan 28, 2026
13a67b5
Remove internal planning docs from PR
chall37 Jan 28, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,3 @@
- In Swift, use it_fatalError and it_assert instead of fatalError and assert, which do not create useful crash logs.
- Don't write more than one line of inline javascript, html, or css. Instead create a new file and load it using iTermBrowserTemplateLoader.swift
- Don't create dependency cycles. Use delegates or closures instead.
- To run unit tests in ModernTests, use tools/run_tests.expect. It takes an argument naming the test or tests, such as `tools/run_tests.expect ModernTests/iTermScriptFunctionCallTest/testSignature`
- When renaming a file tracked by git (and almost all of them are) use `git mv` instead of `mv`
- To make a debug build run `make Development`
3 changes: 0 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -195,9 +195,6 @@ sparkle: force
cd submodules/Sparkle && xcodebuild -scheme Sparkle -configuration Release 'CONFIGURATION_BUILD_DIR=$$(SRCROOT)/Build/$$(CONFIGURATION)'
mv submodules/Sparkle/Build/Release/Sparkle.framework ThirdParty/Sparkle.framework

paranoid-coreparse: force
/usr/bin/sandbox-exec -f deps.sb $(MAKE) CoreParse

paranoid-swiftymarkdown: force
/usr/bin/sandbox-exec -f deps.sb $(MAKE) SwiftyMarkdown

Expand Down
Loading