Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
1 change: 1 addition & 0 deletions .github/workflows/quillscan-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
shell: pwsh
needs: wheels
runs-on: windows-2022
timeout-minutes: 90
steps:
- uses: actions/checkout@v7
- uses: actions/setup-python@v7
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/quillscan-pagescan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
run:
shell: pwsh
runs-on: windows-2022
timeout-minutes: 30
steps:
- uses: actions/checkout@v7
- uses: actions/setup-python@v7
Expand Down
3 changes: 2 additions & 1 deletion quill/apps/scan.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
from quill.platform.announce_engine import AnnouncementEngine
from quill.stability.safe_mode import should_enable_safe_mode
from quill.ui import app_context_help, menu_palette
from quill.ui.dialog_contract import show_message_box, show_modal_dialog
from quill.ui.dialog_contract import apply_modal_ids, show_message_box, show_modal_dialog
from quill.ui.native_status_bar import native_status_text, sync_native_status_bar
from quill.ui.spoken_name import set_spoken_name

Expand Down Expand Up @@ -560,6 +560,7 @@ def about(self):
layout.Add(link, 0, wx.ALL, 5)
layout.Add(dialog.CreateButtonSizer(wx.OK), 0, wx.ALL, 5)
dialog.SetSizerAndFit(layout)
apply_modal_ids(dialog, affirmative_id=wx.ID_OK, escape_id=wx.ID_OK)
show_modal_dialog(dialog, "About QUILL Scan")

def close(self, event):
Expand Down
3 changes: 2 additions & 1 deletion quill/apps/scan_ocr_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import wx

from quill.io.scanning.recognition import Preferences
from quill.ui.dialog_contract import show_modal_dialog
from quill.ui.dialog_contract import apply_modal_ids, show_modal_dialog
from quill.ui.spoken_name import set_spoken_name


Expand Down Expand Up @@ -42,6 +42,7 @@ def edit_preferences(parent, prefs):
layout.Add(control, 0, wx.EXPAND | wx.ALL, 4)
layout.Add(dialog.CreateButtonSizer(wx.OK | wx.CANCEL), 0, wx.ALL, 6)
dialog.SetSizerAndFit(layout)
apply_modal_ids(dialog, affirmative_id=wx.ID_OK, escape_id=wx.ID_CANCEL)
engine.SetFocus()
if show_modal_dialog(dialog, "OCR settings") == wx.ID_OK:
return Preferences(
Expand Down
4 changes: 2 additions & 2 deletions quill/core/release_catalog.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def lookup_asset_prefix(self) -> str:
ReleaseProduct(
"quillpress",
"QuillPress",
"quill-press-v",
"quill-quillpress-v",
"Quill-Press",
"quill/apps/quillpress.py",
"_VERSION",
Expand All @@ -125,7 +125,7 @@ def lookup_asset_prefix(self) -> str:
ReleaseProduct(
"quillgithub",
"Quill GitHub",
"quill-github-v",
"quill-quillgithub-v",
"Quill-GitHub",
"quill/apps/quillgithub.py",
"_VERSION",
Expand Down
4 changes: 4 additions & 0 deletions quill/core/runtime_apps.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,10 @@ def launcher_exe(self) -> str:
),
RuntimeApp("beacon", "quill.apps.beacon", "Quill Beacon", "CommunityAccess.QuillBeacon"),
RuntimeApp("social", "quill_social", "QUILL Social", "CommunityAccess.QuillSocial"),
RuntimeApp(
"quillgithub", "quill.apps.quillgithub", "Quill GitHub", "CommunityAccess.QuillGitHub"
),
RuntimeApp("quillpress", "quill.apps.quillpress", "Quill Press", "CommunityAccess.QuillPress"),
)


Expand Down
2 changes: 2 additions & 0 deletions quill/core/storage_mode.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@
"QuillBeacon.exe",
"QuillSocial.exe",
"QuillMediaPlayer.exe",
"QuillPress.exe",
"QuillGitHub.exe",
)


Expand Down
24 changes: 23 additions & 1 deletion standalone/quillgithub/quill-github.spec
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ import os
from PyInstaller.utils.hooks import collect_all

quill_datas, quill_binaries, quill_hiddenimports = collect_all("quill")
# No bug-report credential ships in any QuillVille build (2026-09-26; feedback
# is email-only). collect_all("quill") would sweep a stale, gitignored
# quill/_feedback_token.py left in the checkout, so drop it here, exclude it
# below, and let scripts/check_no_credentials.py refuse the build if it or
# feedback_hub reaches the archive anyway.
quill_hiddenimports = [m for m in quill_hiddenimports if m != "quill._feedback_token"]
nacl_datas, nacl_binaries, nacl_hiddenimports = collect_all("nacl")

a = Analysis(
Expand All @@ -11,8 +17,24 @@ a = Analysis(
binaries=quill_binaries + nacl_binaries,
datas=quill_datas + nacl_datas,
hiddenimports=quill_hiddenimports + nacl_hiddenimports,
excludes=["torch", "numpy.f2py", "PIL", "Pillow", "matplotlib", "scipy"],
excludes=[
"quill._feedback_token",
"feedback_hub",
"torch",
"numpy.f2py",
"PIL",
"Pillow",
"matplotlib",
"scipy",
],
)
import sys as _sys # noqa: E402

_sys.path.insert(0, os.path.join(SPECPATH, "..", "..", "scripts"))
from check_no_credentials import assert_toc_clean # noqa: E402

assert_toc_clean(a.pure)

pyz = PYZ(a.pure)
exe = EXE(pyz, a.scripts, exclude_binaries=True, name="QuillGitHub", console=False)
coll = COLLECT(exe, a.binaries, a.datas, name="QuillGitHub", upx=False)
24 changes: 23 additions & 1 deletion standalone/quillpress/quill-press.spec
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ import os
from PyInstaller.utils.hooks import collect_all

quill_datas, quill_binaries, quill_hiddenimports = collect_all("quill")
# No bug-report credential ships in any QuillVille build (2026-09-26; feedback
# is email-only). collect_all("quill") would sweep a stale, gitignored
# quill/_feedback_token.py left in the checkout, so drop it here, exclude it
# below, and let scripts/check_no_credentials.py refuse the build if it or
# feedback_hub reaches the archive anyway.
quill_hiddenimports = [m for m in quill_hiddenimports if m != "quill._feedback_token"]
nacl_datas, nacl_binaries, nacl_hiddenimports = collect_all("nacl")

a = Analysis(
Expand All @@ -11,8 +17,24 @@ a = Analysis(
binaries=quill_binaries + nacl_binaries,
datas=quill_datas + nacl_datas,
hiddenimports=quill_hiddenimports + nacl_hiddenimports,
excludes=["torch", "numpy.f2py", "PIL", "Pillow", "matplotlib", "scipy"],
excludes=[
"quill._feedback_token",
"feedback_hub",
"torch",
"numpy.f2py",
"PIL",
"Pillow",
"matplotlib",
"scipy",
],
)
import sys as _sys # noqa: E402

_sys.path.insert(0, os.path.join(SPECPATH, "..", "..", "scripts"))
from check_no_credentials import assert_toc_clean # noqa: E402

assert_toc_clean(a.pure)

pyz = PYZ(a.pure)
exe = EXE(pyz, a.scripts, exclude_binaries=True, name="QuillPress", console=False)
coll = COLLECT(exe, a.binaries, a.datas, name="QuillPress", upx=False)
14 changes: 14 additions & 0 deletions standalone/runtime/app-profiles.json
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,20 @@
"GitHub provider, account, review and Workbench modules."
]
},
"quillscan": {
"name": "QUILL Scan",
"entry": "quill/apps/scan.py",
"standalone": "standalone/quillscan",
"components": [],
"optional_components": [],
"layers": [],
"notes": [
"Does not install the shared runtime: it ships its own self-contained",
"Windows x64 installer (release_catalog shared_runtime=False). Declared",
"here so the profile gate sees every entry point; it names no",
"shared-runtime layers and no shared components."
]
},
"converter": {
"name": "Quill Converter",
"entry": "quill/apps/converter.py",
Expand Down
2 changes: 2 additions & 0 deletions tests/unit/core/test_tls_one_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,8 @@ def _calls_configure_first(main: ast.FunctionDef) -> bool:
"quill/apps/inkwell.py",
"quill/apps/player.py",
"quill/apps/podcasts.py",
"quill/apps/quillgithub.py",
"quill/apps/quillpress.py",
"quill/apps/radio.py",
"quill/apps/studio.py",
"quill/apps/transcribe.py",
Expand Down
2 changes: 2 additions & 0 deletions tests/unit/structure/test_shared_runtime_installer.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@ def test_the_skip_test_compares_the_payload_build_against_the_installed_one() ->
"standalone/converter/installer/quill-converter.iss",
"standalone/inkwell/installer/quill-inkwell.iss",
"standalone/transcribe/installer/quill-transcribe.iss",
"standalone/quillgithub/installer/quill-github.iss",
"standalone/quilllite/installer/quilllite.iss",
"standalone/quillpress/installer/quill-press.iss",
"standalone/radio/installer/quill-radio.iss",
"standalone/social/installer/quill-social-shared.iss",
"standalone/studio/installer/quill-audio-studio.iss",
Expand Down
3 changes: 2 additions & 1 deletion tests/unit/tools/test_release_catalog.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ def test_release_catalog_agrees_with_every_release_consumer() -> None:


def test_every_product_has_one_maintained_release_identity() -> None:
assert len(PRODUCTS) == 13
assert len(PRODUCTS) == 15
assert BY_KEY["quillpress"].wave == BY_KEY["quillgithub"].wave == "held"
assert BY_KEY["quillscan"].wave == "held"
assert not BY_KEY["quillscan"].shared_runtime
assert len(BY_KEY) == len(PRODUCTS)
Expand Down
Loading