Commit Graph

12 Commits

Author SHA1 Message Date
jay 9f2046c7cb merge: feat/p2-t2-4-modifierbar 2026-05-15 19:04:52 +02:00
jay 5a4e814d9f merge: feat/p2-tests-2 2026-05-15 19:04:44 +02:00
jay 45a0884beb test(T-2.4/2.5/2.9): ModifierState, ScrollbackCache, DeviceTokenRegistrar tests 2026-05-15 19:03:56 +02:00
jay dc4f08d8ee feat(T-2.4): ModifierBar, ModifierState, PasteSheet 2026-05-15 18:57:42 +02:00
Johannes Merz 6b953008ce merge: 78 unit tests (FrameCodec, ResumeCursor, Pairing, Keychain, Theme) 2026-05-15 18:34:36 +02:00
jay 27d0a43dbe merge: T-2.2 Pairing/Keychain/QR + T-2.3 TerminalView/Themes/Fonts 2026-05-15 18:34:25 +02:00
jay d6062000e8 merge: T-2.1 WebSocketClient + FrameCodec + ResumeCursor 2026-05-15 18:34:16 +02:00
jay 89c27c0eae test(T-2.1/2.2/2.3): unit tests for FrameCodec, ResumeCursor, Pairing, Keychain, Theme
78 test functions across 5 test files:
- FrameCodecTests.swift (24): BinaryFrame.decode, ClientToServer encoding,
  ServerToClient decoding, round-trip — full IC-1 field name verification
- ResumeCursorTests.swift (12): save/load, overwrite, UInt64.max, clear,
  multi-session isolation — each test uses isolated UserDefaults suite
- PairingTests.swift (18): parseQR happy-path, missing params, wrong scheme,
  missing port, error type assertions
- KeychainTests.swift (7): round-trip SidecarCredential, upsert, notFound,
  delete, production key guard, generic Codable
- ThemeTests.swift (17): ansiColors count, color range, dark≠github,
  SwiftTerm conversion, ThemeStore select, Codable round-trip

Review notes: Tests/CoreTests/REVIEW_NOTES.md
- feat/p2-t2-2-pairing branch was EMPTY; Auth/Pairing code on t2-3-terminal
- IC-1 compliance: all JSON field names correct including 'awaiting-input'
- Minor: Keychain.encodingFailed used for decode failure (misleading name)
- Merge order: t2-1 → t2-3 → t2-2 (empty) → p2-tests
2026-05-15 18:33:26 +02:00
jay 9fb5f813a1 feat(T-2.1): WebSocketClient + FrameCodec + ResumeCursor 2026-05-15 18:27:48 +02:00
jay 49667667eb feat(T-2.3): TerminalView UIKit wrapper, theme store, font store 2026-05-15 18:26:12 +02:00
jay f6396bc70e feat(T-2.2): Pairing flow, Keychain, QR scanner, TLS pinning stub 2026-05-15 18:21:40 +02:00
Johannes Merz aa010cf874 feat(T-2.0): Xcode project scaffold — SwiftUI shell, SwiftTerm + Starscream SPM deps
- xcodegen project.yml: de.vpsj.pi-remote, team KNXX8R3648, iOS 17+
- SwiftTerm 1.13.0, Starscream 4.0.8 resolved
- App entry point + ContentView hello shell
- Push Notifications entitlement (aps-environment: development)
- pi-remote:// URL scheme registered
- NSCameraUsageDescription (QR pairing), NSFaceIDUsageDescription
- UIBackgroundModes: remote-notification
2026-05-15 13:19:48 +02:00