43 Commits
Author SHA1 Message Date
Storm Dragon 41d15315bb Version bump. 2026-12-02 23:24:21 -05:00
Storm Dragon 6bdd04cce1 Fix browser node lifetime and fail closed on unknown protection
Retire ATK nodes without accessing freed children or retaining dangling parent and ID pointers. Treat failed and malformed MSAA state queries as protected, and initialize worker logging before argument validation.

Add publisher lifetime and worker privacy regressions, correct the publisher build target dependency, and remove both browser artifacts during uninstall.

Validation: build, all 12 CTests, updated startup-error regression, AddressSanitizer lifetime check, shellcheck, and temporary-prefix removal check passed. Live speech and Braille acceptance remains separate.
2026-12-02 23:22:12 -05:00
Storm DragonandClaude Opus 5.5 9c1fc644ba Add browser accessibility for Chromium windows
Chromium-based Windows applications under Wine (Electron, CEF) exposed only
what the legacy MSAA path could announce, one event at a time. The helper now
starts a publisher for each Chromium window: a PE worker reads the page
through MSAA and IAccessible2 inside the prefix, and a native ATK publisher
presents it on the accessibility bus as toolkit Chromium, matching native
Linux Chromium, so the reader's own browser support handles browse mode,
structural navigation, forms, tables and live regions. Once a window is
published, legacy announcements for it stop, so nothing is spoken twice; if
the publisher fails, the window returns to the legacy path and the helper
retries with backoff. Publishers follow the helper's lifetime.

The publisher marks itself with WINE_ACCESS_BROWSER_PUBLISHER=1 and gives each
frame a wine-access-x11-window attribute so readers can verify window
ownership. Password text, values and boundaries never leave the worker.
Design, mapping rules and verification are in docs/browser.md; the
IAccessible2 IDL is vendored in third_party/ia2.

Checked: xvfb-run ctest (all 10, including the new
browser-publisher-snapshot comparison with native Chromium 158 and Electron
42), menu_integration.py with the menu and edit fixtures, the Orca extension
unit tests, and tests/browser/live_checks.sh against Electron 45: worker
protocol, helper lifecycle (publish, no legacy announcements while typing,
restart, no orphans), and live tree, text boundaries and AT-SPI event
sequence matching native Chromium. A live test with Cthulhu on Electron 45
read the fixture page correctly.

Remaining live checks: Orca with the extension, Firefox, WebView2, 32-bit
browsers, iframes, and window switching under other window managers.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-02 23:15:21 -05:00
Storm Dragon 13b25b581a Documentation update. 2026-11-29 17:28:02 -05:00
Storm Dragon f9aa0dabed Code review and fixes. 2026-11-03 00:04:28 -05:00
Storm Dragon 989ecb681d Preserve staged helper builds and exclude hooks before attachment 2026-10-31 15:21:01 -04:00
Storm Dragon 9cdc903451 Replace the legacy Cthulhu Wine helper package 2026-10-31 00:48:49 -04:00
Storm Dragon cff2a47243 Releaseing for first tag. 2026-10-31 00:14:01 -04:00
Storm Dragon 24c35d7954 Add ability to report version to cthulhu. 2026-10-24 15:08:19 -04:00
Storm Dragon de31e5b513 Updated PKGBUILD and docs. 2026-10-23 12:37:12 -04:00
Storm Dragon dbf3cebe88 Version bump. 2026-10-23 01:28:45 -04:00
Storm Dragon dcc68e87e2 Fix Orca extension startup and disable lifecycle
An approved and enabled Wine Access extension could remain completely
inactive: no Wine D-Bus endpoint was published and no helper was launched,
leaving even Wine Notepad silent. The extension implemented on_ready(),
on_enabled(), and on_disabled(), but the installed Orca 51 extension loader
does not invoke those callbacks.

Start Wine Access from set_up_commands(), which Orca's loader actually
calls, after preserving the base class setup and checking the disabled
state. Override disable() to remove timers, stop managed helpers, and
unpublish the endpoint before delegating to Orca's base implementation.
Keep on_shutdown() cleanup, the existing delayed bus startup retry, and
the guard against duplicate startup.

Add five lifecycle regression tests using an installed Orca's actual
extension loader, with helper launches, the bus, and timers mocked. Cover
startup and repeated setup, disabled extensions, delayed bus availability,
shutdown, and disabling both active and pending startup. Document how to
run these checks without changing the running reader.

The existing integration harness publishes its own endpoint and starts
the helper directly, while the API check only instantiates the extension
and checks APIs. Neither exercised normal extension startup, which let
this failure escape their coverage.

Validation:
- Before the fix, four of the five lifecycle tests failed; all five pass
  with the corrected callbacks:
  GSETTINGS_BACKEND=memory python3 orca/tests/test_lifecycle.py
- All 45 existing extension tests passed:
  python3 -m pytest orca/tests/test_presenter.py orca/tests/test_manager.py
      orca/tests/test_service.py orca/tests/test_review.py
- The installed-Orca API check passed:
  GSETTINGS_BACKEND=memory python3 orca/tests/orca_api_check.py
- A private D-Bus probe loaded the approved package through Orca's actual
  loader, verified delayed publication of the Wine interface and helper
  supervision timer, and verified loader shutdown cleanup.
- Existing Wine integration checks passed on a private display, session
  bus, and disposable prefix:
  dbus-run-session -- xvfb-run -a python3 orca/tests/integration_test.py
      --build-dir build
  These covered Notepad editing feedback, menus, save dialog controls and
  message, NVDA Controller speech/cancellation/braille calls, and helper
  shutdown after the prefix became idle. Recorded output does not prove
  physical braille or audible speech.
- After installing the fix, reapproving the extension, and restarting
  Orca, the user confirmed successful live use in three applications.
- git diff --check passed.
2026-10-23 01:25:58 -04:00
Storm Dragon 28dd2f02dc Version bump. 2026-10-22 01:33:55 -04:00
Storm Dragon b57681d159 Updated AGENTS.md 2026-10-20 16:49:19 -04:00
Storm Dragon c02889b0f4 Merged changes from deedra. 2026-10-20 13:23:43 -04:00
Storm Dragon 16fe68d5bc Actually remembered to push the change to the public url instead of overwriting it and thinking it was fixed. lol 2026-10-19 23:12:57 -04:00
Storm Dragon 2dfd5b200a Merged from branch deedra after conflict fixes. 2026-10-19 22:52:05 -04:00
Storm Dragon e0c83859f5 Battle.net installer now working. It crashes when the login page loads, but that seems to be fixed in upcoming version and the controls did read. 2026-10-16 12:26:59 -04:00
Storm Dragon 38358ad27a Updated PKGBUILD. 2026-10-15 18:10:38 -04:00
Storm Dragon 52a3fddc77 Bug fixes for reclaiming focus. 2026-10-15 13:39:39 -04:00
Storm Dragon ea509509e4 Better window detection for when a window regains focus. 2026-10-15 13:25:47 -04:00
Storm Dragon e3de71e594 Improved self-cleaning tests. 2026-10-15 13:12:15 -04:00
Storm Dragon 77db0b83ab Version and better logging added. 2026-10-15 12:49:33 -04:00
Storm Dragon 4c47cc5fc4 Merge branch 'deedra' 2026-10-14 20:13:11 -04:00
Storm Dragon ed8c8e2467 Make wine-access more generic, not specifically cthulhu pathed. 2026-10-14 16:19:52 -04:00
Storm Dragon 417ee40dda Make the process of adding an orca extension easier. 2026-10-14 03:35:00 -04:00
Storm Dragon a8118c12cf Docs updated. 2026-10-14 03:11:58 -04:00
Storm Dragon 95cb78d3e4 Merge branch 'deedra'
Resolve tests/README.md by retaining both UIA notification and MSAA/reader reply stall guidance. Preserve master's notification hooks and Deedra's responsiveness fixes.

Validation: CMake configure/build, all four CTest checks, nine stall integration variants, 64-bit and 32-bit UIA notification checks, menus, 64-bit and 32-bit editing, actual Wine Notepad, and git diff --check. Live speech and physical braille acceptance remain pending.
2026-10-13 19:34:31 -04:00
Storm Dragon 6e92ad13d1 Updates for when prism doesn't behave. 2026-10-13 17:42:56 -04:00
Storm Dragon 0d9cc2651d Merge branch 'deedra' 2026-10-12 19:12:05 -04:00
Storm Dragon 4f2f72e945 Removed unused directory. 2026-10-12 18:10:15 -04:00
Storm Dragon d9aa40e16c Some lists were not auto reading results. Hopefully fixed. 2026-10-12 04:55:31 -04:00
Storm Dragon 0f59809e9a Make d-bus available to orca if someone decides they want to implement it. 2026-10-12 04:37:12 -04:00
Storm Dragon c3e981b4c2 Restore wine access after program loses and regains focus. 2026-10-12 04:17:31 -04:00
Storm Dragon df7879acb5 Notepad++ should work now. 2026-10-10 22:39:24 -04:00
Storm Dragon 5f78168c57 More accessibility fixes using foobar2000 as a test. 2026-10-10 15:30:23 -04:00
Storm Dragon 22f50402c4 Added installation help to AGENTS.md. 2026-10-10 13:16:17 -04:00
Storm Dragon c3b70469d8 Improved build.sh file and added AGENTS.md 2026-10-10 13:09:38 -04:00
Storm Dragon 6976c83294 Initialize COM for application-owned Wine accessibility objects 2026-10-10 12:41:45 -04:00
Storm Dragon 25e38907d3 Read Windows Forms login fields and associate their labels 2026-10-10 02:55:42 -04:00
Storm Dragon d7ea005a1f Read native Wine list-view rows in 32-bit and 64-bit applications 2026-10-10 02:03:56 -04:00
Storm Dragon 9aad6748e0 Coupple regressions fixed. 2026-10-10 01:02:34 -04:00
Storm Dragon 39b7488aea Fixes for edit boxes in wine. 2026-10-10 00:34:54 -04:00