Commit Graph

45 Commits

Author SHA1 Message Date
984e8715d7 Fix desktop designer click handling and add goHome API
Designer click handling:
- Fix DPI scaling in MouseButtonCallback and CursorPosCallback
- Scale coordinates from window space to framebuffer/RmlUi context
- Remove window resizing in ResizeToPhone (caused DPI mismatches)

Test framework:
- Fix SendMouseDown to use MOUSEEVENTF_MOVE before button down
- Remove double-scaling in ScaleToPhysical (WindowController handles it)
- All 5 UI navigation tests now pass

Kernel API:
- Add goHome() Lua function to return to home screen
- Stops any running third-party apps before navigating

Test app:
- Update sandbox-test to use goHome() instead of goBack()

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-19 14:52:15 +01:00
d6b7504408 implement third-party app launching from home screen 2026-01-19 13:50:05 +01:00
ad28cf2360 add local app discovery: scan apps folder, render on home screen 2026-01-19 13:20:21 +01:00
bb31dcee00 fix remaining logger includes in Android source
Update kernel.cpp and apps/*.cpp to use core library logger.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-19 12:30:55 +01:00
486c194f08 update Android to use shared mosis-core library
- Remove duplicate sandbox sources from Android (now in core/)
- Update Android CMakeLists to link mosis-core
- Add OpenSSL crypto support for Android
- Update all includes to use core library headers
- Remove duplicate logger from Android (use core logger)
- Add openssl to Android vcpkg dependencies

This removes ~5,500 lines of duplicate code by sharing
the sandbox implementation between desktop and Android.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-19 12:14:34 +01:00
2364d0d327 integrate sandbox manager with app lifecycle (LaunchApp, StopApp, IsAppRunning) 2026-01-18 23:11:24 +01:00
0278acc0fc fix build errors: add missing include, LOG_* macros, stub sandbox integration 2026-01-18 22:55:20 +01:00
60d1a75838 integrate AppManager and UpdateService into kernel with Lua API registration 2026-01-18 22:38:02 +01:00
3ab586956e add app management sources and dependencies to build system 2026-01-18 22:36:14 +01:00
5ea0cdde63 add device-side app management with AppManager, UpdateService and App Store UI (M10) 2026-01-18 22:33:15 +01:00
9805bdf175 implement Milestone 20: Kernel Integration with LuaSandboxManager (149 tests) 2026-01-18 16:54:02 +01:00
372a293bd0 implement Milestone 18: inter-app MessageBus with intent system 2026-01-18 16:36:08 +01:00
72a06f542b implement Milestone 17: Contacts interface with read/write permissions 2026-01-18 16:29:07 +01:00
00b9ceb467 implement Milestone 16: Bluetooth interface with user consent 2026-01-18 16:21:06 +01:00
4ab5e52259 implement Milestone 15: sensor interface with fingerprinting prevention 2026-01-18 16:14:18 +01:00
779f66b2bb implement Milestone 14: location interface with coarse/fine precision and rate limiting 2026-01-18 16:07:32 +01:00
c2e8b8c212 implement Milestone 13: audio output with volume limits and concurrent sound management 2026-01-18 16:02:31 +01:00
d61b8f0bd8 implement Milestone 12: Microphone interface with permission and user gesture requirements 2026-01-18 15:45:30 +01:00
5eb1113c1a implement Milestone 11: Camera interface with permission and user gesture requirements 2026-01-18 15:38:58 +01:00
0c19247838 implement Milestone 10: WebSocket with connection limits and SSRF prevention 2026-01-18 15:30:13 +01:00
c0baa673b8 implement Milestone 9: Network HTTP with SSRF prevention 2026-01-18 15:24:56 +01:00
a94e0d5d63 implement Milestone 8: SQLite Database with injection prevention 2026-01-18 15:18:47 +01:00
2bb083fd7d add virtual filesystem with path sandboxing and quotas (milestone 7 complete) 2026-01-18 15:04:46 +01:00
be663282d7 add JSON and crypto APIs with sandbox protection (milestone 6 complete) 2026-01-18 14:44:51 +01:00
a4ecb0f132 add Lua sandbox with timer system (milestones 1-5 complete) 2026-01-18 14:28:44 +01:00
a35c222570 save state 2026-01-16 16:34:32 +01:00
fbb6917812 make ui bigger 2026-01-16 14:52:18 +01:00
2e2a9d0603 apps ui 2026-01-16 13:53:59 +01:00
c8ee7defe8 work in progress 2026-01-16 12:43:06 +01:00
77a9579025 save state 2026-01-16 08:15:28 +01:00
4d5b4c2455 add data model 2026-01-14 14:47:57 +01:00
c101d647dd add touch events handling 2026-01-08 22:35:59 +01:00
1074a1e59a integrate RMLUI library 2026-01-03 12:17:19 +01:00
784e054105 setup vcpkg 2026-01-02 21:38:41 +01:00
16dd10f9a6 support multiple listeners based on pid 2026-01-02 15:01:16 +01:00
3a410775b5 async tasks 2025-12-31 16:12:43 +01:00
f3a69571a2 more refactoring 2025-12-30 19:05:02 +01:00
ce19309e05 refactor into files 2025-12-30 15:17:18 +01:00
d3eae79aa3 assets manager and shader classes 2025-12-30 14:19:13 +01:00
e576011ebb fix hardware buffer aidl 2025-12-30 13:49:01 +01:00
2ee6543d51 fix egl extensions loader 2025-12-30 09:58:43 +01:00
66df0e66e2 add events listener object, create kernel context and some gl resources 2025-12-29 19:16:05 +01:00
6830c61e31 client egl context and viewport in kotlin UI 2025-12-28 21:46:18 +01:00
19400fd2b2 native service, EGL, native test client 2025-12-28 20:30:55 +01:00
de82e50bd5 init 2025-12-28 10:54:06 +01:00