Skip to content

Commit bccf41e

Browse files
committed
Modernize the external winEventLimiter for 2026 NVDA
1 parent f2ed977 commit bccf41e

97 files changed

Lines changed: 5293 additions & 2846 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/testAndPublish.yml

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,6 +341,27 @@ jobs:
341341
annotate_only: true
342342
report_paths: testOutput/unit/unitTests.xml
343343

344+
cxxUnitTests:
345+
name: Run C++ unit tests
346+
runs-on: ${{ needs.matrix.outputs.defaultRunner }}
347+
needs: matrix
348+
permissions:
349+
contents: read
350+
steps:
351+
- name: Checkout NVDA
352+
# A bare checkout suffices: the C++ tests only need the Visual Studio
353+
# toolchain and Windows SDK on the runner, not submodules or a built tree.
354+
uses: actions/checkout@v6
355+
- name: Build and run C++ unit tests
356+
shell: cmd
357+
run: runcxxtests.bat
358+
- name: Upload C++ unit test results
359+
if: ${{ failure() }}
360+
uses: actions/upload-artifact@v7
361+
with:
362+
name: Cxx unit tests results
363+
path: testOutput/cxx/
364+
344365
crowdinUpload:
345366
name: Upload translations to Crowdin
346367
runs-on: ${{ needs.matrix.outputs.defaultRunner }}
@@ -615,7 +636,7 @@ jobs:
615636
name: Check if all tests pass
616637
runs-on: ubuntu-latest
617638
if: always()
618-
needs: [buildNVDA, typeCheckPyright, typeCheckTy, checkPo, checkPot, licenseCheck, unitTests, createLauncher, systemTests, createSymbols]
639+
needs: [buildNVDA, typeCheckPyright, typeCheckTy, checkPo, checkPot, licenseCheck, unitTests, cxxUnitTests, createLauncher, systemTests, createSymbols]
619640
permissions:
620641
contents: read
621642
steps:

nvdaHelper/archBuild_sconscript

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -248,10 +248,10 @@ if isNVDAHelperLocalArch:
248248
if signExec:
249249
env.AddPostAction(UIARemoteLib[0], [signExec])
250250
env.Install(libInstallDir, UIARemoteLib)
251-
eventHandlerLib = env.SConscript("eventHandler/eventHandler/sconscript")
251+
winEventLimiterDll = env.SConscript("winEventLimiter/dll/sconscript")
252252
if signExec:
253-
env.AddPostAction(eventHandlerLib[0], [signExec])
254-
env.Install(libInstallDir, eventHandlerLib)
253+
env.AddPostAction(winEventLimiterDll[0], [signExec])
254+
env.Install(libInstallDir, winEventLimiterDll)
255255

256256
clientLib = env.SConscript("client/sconscript")
257257
Export("clientLib")

nvdaHelper/eventHandler/.gitattributes

Lines changed: 0 additions & 63 deletions
This file was deleted.

nvdaHelper/eventHandler/.gitignore

Lines changed: 0 additions & 261 deletions
This file was deleted.

0 commit comments

Comments
 (0)