PBKittyConfigStudio 0.3.0__tar.gz → 0.5.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (106) hide show
  1. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.5.0}/CHANGELOG.md +159 -0
  2. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.5.0}/CODING.md +209 -64
  3. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.5.0}/Makefile +1 -1
  4. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.5.0}/PBKittyConfigStudio.spec +28 -3
  5. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.5.0}/PKG-INFO +10 -3
  6. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.5.0}/README.md +9 -2
  7. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.5.0}/hatch_build.py +15 -13
  8. pbkittyconfigstudio-0.5.0/hooks/pyi_rth_fonts.py +90 -0
  9. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.5.0}/pyproject.toml +9 -4
  10. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.5.0}/schema_builder/README.md +15 -1
  11. pbkittyconfigstudio-0.5.0/schema_builder/build_actions.py +60 -0
  12. pbkittyconfigstudio-0.5.0/schema_builder/build_default_config.py +81 -0
  13. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.5.0}/schema_builder/build_kitty.sh +8 -0
  14. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.5.0}/schema_builder/build_schema.py +3 -28
  15. pbkittyconfigstudio-0.5.0/schema_builder/extract_actions.py +60 -0
  16. pbkittyconfigstudio-0.5.0/schema_builder/kitty_python.py +49 -0
  17. pbkittyconfigstudio-0.5.0/schema_builder/pixi.lock +1304 -0
  18. pbkittyconfigstudio-0.5.0/schema_builder/xx +3777 -0
  19. pbkittyconfigstudio-0.5.0/schema_builder/xx.bak_2026-08-27T13-04-19 +3777 -0
  20. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.5.0}/src/pb_kitty_config_studio/__init__.py +1 -1
  21. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.5.0}/src/pb_kitty_config_studio/config/__init__.py +36 -1
  22. pbkittyconfigstudio-0.5.0/src/pb_kitty_config_studio/config/actions.json +780 -0
  23. pbkittyconfigstudio-0.5.0/src/pb_kitty_config_studio/config/kitty_default.conf +3427 -0
  24. pbkittyconfigstudio-0.5.0/src/pb_kitty_config_studio/config/kitty_version.json +4 -0
  25. pbkittyconfigstudio-0.5.0/src/pb_kitty_config_studio/core/actions.py +33 -0
  26. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.5.0}/src/pb_kitty_config_studio/core/kitty_conf.py +28 -80
  27. pbkittyconfigstudio-0.5.0/src/pb_kitty_config_studio/core/mappings.py +342 -0
  28. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.5.0}/src/pb_kitty_config_studio/locale/de/LC_MESSAGES/pb_kitty_config_studio.po +162 -16
  29. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.5.0}/src/pb_kitty_config_studio/locale/en/LC_MESSAGES/pb_kitty_config_studio.po +126 -14
  30. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.5.0}/src/pb_kitty_config_studio/locale/es/LC_MESSAGES/pb_kitty_config_studio.po +160 -16
  31. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.5.0}/src/pb_kitty_config_studio/locale/fr/LC_MESSAGES/pb_kitty_config_studio.po +130 -14
  32. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.5.0}/src/pb_kitty_config_studio/locale/it/LC_MESSAGES/pb_kitty_config_studio.po +162 -16
  33. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.5.0}/src/pb_kitty_config_studio/locale/ru/LC_MESSAGES/pb_kitty_config_studio.po +162 -16
  34. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.5.0}/src/pb_kitty_config_studio/locale/vi/LC_MESSAGES/pb_kitty_config_studio.po +160 -16
  35. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.5.0}/src/pb_kitty_config_studio/locale/zh_CN/LC_MESSAGES/pb_kitty_config_studio.po +149 -16
  36. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.5.0}/src/pb_kitty_config_studio/platform/auto_update.py +81 -29
  37. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.5.0}/src/pb_kitty_config_studio/ui/about_dialog.py +7 -0
  38. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.5.0}/src/pb_kitty_config_studio/ui/main_window.py +327 -20
  39. pbkittyconfigstudio-0.5.0/src/pb_kitty_config_studio/ui/mapping_dialogs.py +335 -0
  40. pbkittyconfigstudio-0.5.0/tests/fixtures/README.md +38 -0
  41. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.5.0}/tests/test_about_dialog.py +12 -0
  42. pbkittyconfigstudio-0.5.0/tests/test_actions.py +110 -0
  43. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.5.0}/tests/test_auto_update.py +138 -129
  44. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.5.0}/tests/test_kitty_conf.py +24 -122
  45. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.5.0}/tests/test_main_window.py +312 -23
  46. pbkittyconfigstudio-0.5.0/tests/test_mapping_dialogs.py +204 -0
  47. pbkittyconfigstudio-0.5.0/tests/test_mappings.py +262 -0
  48. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.5.0}/tests/test_schema.py +19 -0
  49. pbkittyconfigstudio-0.5.0/tests/test_schema_builder_extract_actions.py +91 -0
  50. pbkittyconfigstudio-0.5.0/tests/test_schema_builder_kitty_python.py +84 -0
  51. pbkittyconfigstudio-0.3.0/hooks/pyi_rth_fonts.py +0 -49
  52. pbkittyconfigstudio-0.3.0/tests/fixtures/README.md +0 -35
  53. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.5.0}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
  54. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.5.0}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
  55. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.5.0}/.github/workflows/ci.yml +0 -0
  56. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.5.0}/.gitignore +0 -0
  57. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.5.0}/.markdownlint-cli2.yaml +0 -0
  58. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.5.0}/.pre-commit-config.yaml +0 -0
  59. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.5.0}/CLAUDE.md +0 -0
  60. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.5.0}/LICENSE +0 -0
  61. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.5.0}/babel.cfg +0 -0
  62. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.5.0}/pixi.lock +0 -0
  63. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.5.0}/schema_builder/extract_definition.py +0 -0
  64. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.5.0}/schema_builder/merge_schema.py +0 -0
  65. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.5.0}/schema_builder/pixi.toml +0 -0
  66. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.5.0}/schema_builder/rst_clean.py +0 -0
  67. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.5.0}/src/pb_kitty_config_studio/__main__.py +0 -0
  68. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.5.0}/src/pb_kitty_config_studio/argparse_qt.py +0 -0
  69. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.5.0}/src/pb_kitty_config_studio/config/_babel_extractor.py +0 -0
  70. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.5.0}/src/pb_kitty_config_studio/config/schema.json +0 -0
  71. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.5.0}/src/pb_kitty_config_studio/core/__init__.py +0 -0
  72. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.5.0}/src/pb_kitty_config_studio/i18n.py +0 -0
  73. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.5.0}/src/pb_kitty_config_studio/platform/__init__.py +0 -0
  74. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.5.0}/src/pb_kitty_config_studio/platform/desktop.py +0 -0
  75. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.5.0}/src/pb_kitty_config_studio/resources/__init__.py +0 -0
  76. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.5.0}/src/pb_kitty_config_studio/resources/cancel.svg +0 -0
  77. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.5.0}/src/pb_kitty_config_studio/resources/clear-all-data.svg +0 -0
  78. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.5.0}/src/pb_kitty_config_studio/resources/help-about.svg +0 -0
  79. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.5.0}/src/pb_kitty_config_studio/resources/pbkittyconfigstudio.icns +0 -0
  80. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.5.0}/src/pb_kitty_config_studio/resources/pbkittyconfigstudio.ico +0 -0
  81. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.5.0}/src/pb_kitty_config_studio/resources/pbkittyconfigstudio.png +0 -0
  82. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.5.0}/src/pb_kitty_config_studio/resources/previous.svg +0 -0
  83. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.5.0}/src/pb_kitty_config_studio/resources/quit.svg +0 -0
  84. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.5.0}/src/pb_kitty_config_studio/resources/refresh.svg +0 -0
  85. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.5.0}/src/pb_kitty_config_studio/resources/save-as.svg +0 -0
  86. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.5.0}/src/pb_kitty_config_studio/resources/save.svg +0 -0
  87. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.5.0}/src/pb_kitty_config_studio/ui/__init__.py +0 -0
  88. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.5.0}/src/pb_kitty_config_studio/ui/widgets.py +0 -0
  89. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.5.0}/tests/conftest.py +0 -0
  90. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.5.0}/tests/fixtures/kitty_default.conf +0 -0
  91. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.5.0}/tests/test_argparse_qt.py +0 -0
  92. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.5.0}/tests/test_babel_extractor.py +0 -0
  93. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.5.0}/tests/test_desktop.py +0 -0
  94. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.5.0}/tests/test_i18n.py +0 -0
  95. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.5.0}/tests/test_main.py +0 -0
  96. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.5.0}/tests/test_resources.py +0 -0
  97. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.5.0}/tests/test_schema_builder_extract_definition.py +0 -0
  98. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.5.0}/tests/test_schema_builder_merge_schema.py +0 -0
  99. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.5.0}/tests/test_schema_builder_rst_clean.py +0 -0
  100. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.5.0}/tests/test_widgets.py +0 -0
  101. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.5.0}/tools/bump_version.py +0 -0
  102. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.5.0}/tools/extract_changelog.py +0 -0
  103. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.5.0}/tools/fix_po_files.py +0 -0
  104. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.5.0}/tools/git_version.sh +0 -0
  105. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.5.0}/tools/po_check.py +0 -0
  106. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.5.0}/tools/update_icons.py +0 -0
@@ -5,6 +5,165 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.5.0] - 2026-08-27
9
+
10
+ ### Added
11
+
12
+ - New **Mappings** tab, alongside the existing Options tab: lists the
13
+ active `map`/`mouse_map` lines from `kitty.conf` (`core/mappings.py`:
14
+ `parse_key_mappings()`/`parse_mouse_mappings()`,
15
+ `apply_key_mappings()`/`apply_mouse_mappings()`), with Add…/Edit…/Remove
16
+ buttons opening specialized dialogs (`ui/mapping_dialogs.py`:
17
+ `KeyMappingDialog`/`MouseMappingDialog`) instead of the generic
18
+ multi-line text editor used for other repeatable settings — a key-combo
19
+ field with non-blocking syntax hinting
20
+ (`mappings.looks_like_key_spec()`), an editable action-name combo box
21
+ pre-filled with common kitty actions, tooltips on every field, and a
22
+ "Help" button opening kitty's actions documentation.
23
+ - "Default Bindings…" button on each Mappings sub-page, opening a single
24
+ non-modal, singleton reference window (`ui/main_window.py`:
25
+ `_DefaultBindingsWindow`) with three tabs: **Keyboard Shortcuts** and
26
+ **Mouse** (kitty's compiled-in default bindings, parsed from the
27
+ commented example config into real, copy-pasteable HTML —
28
+ `core/mappings.py:default_bindings_html()`) and **Actions** (every
29
+ kitty action's description, from a new
30
+ `schema_builder/build_actions.py` pipeline — see below —
31
+ `core/actions.py:actions_reference_html()`).
32
+ - `schema_builder/extract_actions.py` / `build_actions.py`: a third
33
+ generated data file, `config/actions.json` (142 actions across 11
34
+ groups on the kitty revision this was generated from), extracted from
35
+ kitty's own `kitty.actions.get_all_actions()` registry, RST-cleaned to
36
+ HTML at generation time (`rst_clean.clean_long_text()`) so the runtime
37
+ app never has to parse RST.
38
+ - `schema_builder/build_default_config.py`: a fourth generated file,
39
+ `config/kitty_default.conf` — kitty's own pristine, fully-commented
40
+ example `kitty.conf` (`kitty.config.commented_out_default_config()`),
41
+ captured once at schema-generation time instead of queried from an
42
+ installed `kitty` at runtime (see "Changed" below). The same script also
43
+ writes `config/kitty_version.json` (`{"version", "revision"}`, from
44
+ `kitty.constants.str_version` and a `git rev-parse --short HEAD` on
45
+ `kitty_source`) — the exact kitty revision `schema.json`/`actions.json`/
46
+ `kitty_default.conf` were all generated from, so the three can never
47
+ drift apart by having been captured from different kitty versions.
48
+ - About dialog: a "Settings based on kitty:" row showing that version and
49
+ revision (e.g. "0.48.2 (6d5d0c440)").
50
+ - `schema_builder/kitty_python.py`: the re-exec-under-kitty's-bundled-
51
+ Python logic, extracted out of `build_schema.py` and shared with the two
52
+ new `build_actions.py`/`build_default_config.py` scripts.
53
+
54
+ ### Changed
55
+
56
+ - `core/kitty_conf.py:generate_default_config()` no longer queries an
57
+ installed `kitty` at runtime at all (previously: a throwaway `kitty`
58
+ window driven over remote control, then later `kitty +runpy`) — it now
59
+ reads the `config/kitty_default.conf` file bundled at build time (see
60
+ "Added" above), read once per process and cached. Both "Restore Default
61
+ Configuration…" and the Mappings tab's "Default Bindings…" window are
62
+ therefore no longer gated on a locally installed `kitty` and are always
63
+ enabled.
64
+ - The revert-to-saved-value/reset-to-default icon buttons on each setting
65
+ row are larger (14×14 → 24×24 icons) for legibility.
66
+ - `MainWindow`'s minimum width is now computed from the actual rendered
67
+ width every settings row needs to show its label and status/key badges
68
+ without a horizontal scrollbar (`_apply_minimum_window_width()`,
69
+ measured from real widget metrics at first show — font/DPI/style/
70
+ translation-aware, not a hardcoded pixel guess), capped at 75% of the
71
+ screen's available width (`_MAX_MINIMUM_WIDTH_SCREEN_FRACTION`) so an
72
+ unusually long translation can't demand a window wider than the screen.
73
+
74
+ ### Fixed
75
+
76
+ - A setting row's key/status badges stretched taller than their natural
77
+ height whenever that row's revert/reset buttons were visible (the
78
+ `QHBoxLayout` header stretched every child to the row's tallest item) —
79
+ now vertically centered instead.
80
+ - A long, unwrappable `<pre>` block in a setting's description (e.g.
81
+ `scrollback_pager`'s neovim example) forced its `QLabel`'s
82
+ `minimumSizeHint()` to ~900px despite word-wrap being enabled (which
83
+ `minimumSizeHint()` ignores), which in turn forced the *entire*
84
+ scrollable settings page never to shrink narrower than that — every
85
+ other row's buttons/badges got clipped off the visible edge on a
86
+ narrower window even though there was visible space for them. The
87
+ description label now uses an `Ignored` horizontal size policy so long
88
+ content wraps within whatever width it's actually given instead of
89
+ dictating it.
90
+
91
+ ### Removed
92
+
93
+ - `core/kitty_conf.py:kitty_available()` — no longer needed now that
94
+ nothing queries an installed `kitty` at runtime.
95
+
96
+ ## [0.4.1] - 2026-08-26
97
+
98
+ ### Changed
99
+
100
+ - `--auto-update` no longer queries the `api.github.com` JSON API to find
101
+ the latest release, which is capped at 60 anonymous requests/hour shared
102
+ across everyone behind the same source IP and easy to exhaust with no
103
+ per-user token to raise it. It now resolves the latest tag via the
104
+ redirect on `github.com/<repo>/releases/latest` (not subject to that
105
+ limit) and constructs the asset download URL directly from the known
106
+ `pbkittyconfigstudio-<version>-<os>-<arch>` naming convention, probed
107
+ with a `HEAD` request instead of listed from the API response.
108
+
109
+ ### Fixed
110
+
111
+ - Linux PyInstaller builds still printed fontconfig's "Unable to revert
112
+ mtime" warning on every launch after 0.4.0's `<cachedir>` fix, for
113
+ read-only, root-owned font directories such as distro-packaged
114
+ `msttcorefonts`: the warning comes from a separate mechanism — a
115
+ per-directory `.uuid` cache-key marker file that fontconfig writes
116
+ *inside* the scanned directory itself (not in `<cachedir>`), then tries
117
+ to revert that directory's mtime afterwards. The bundled fontconfig
118
+ (conda-forge, newer) treats the marker already written there by the
119
+ distro's own (older) fontconfig as stale and retries writing it on every
120
+ launch, failing every time since the app has no write access to a
121
+ root-owned directory. The runtime hook now silences stderr around the
122
+ forced `FcInit()` re-scan that triggers this, since it's cosmetic and
123
+ can't be fixed without ownership of the directory.
124
+
125
+ ## [0.4.0] - 2026-08-26
126
+
127
+ ### Changed
128
+
129
+ - `--auto-update`'s release-asset lookup no longer falls back to the old
130
+ PascalCase `PBKittyConfigStudio-` prefix — that fallback was added when
131
+ the executable was renamed to lowercase, but no lowercase-named release
132
+ had been published yet at that point, so there was no pre-rename install
133
+ it could ever have helped. `_ASSET_PREFIXES` keeps the ordered-list
134
+ lookup mechanism (a future rename can still prepend its new prefix ahead
135
+ of the current one), just with a single entry for now.
136
+
137
+ ### Fixed
138
+
139
+ - Saving a setting could silently kill the running PyInstaller-built
140
+ executable instead of reloading kitty: the hot-reload signal was sent
141
+ with `pkill -USR1 kitty`, which matches by substring against the
142
+ process name by default — `pbkittyconfigstudio` truncates to
143
+ `pbkittyconfigst` on Linux (15-character `comm` limit), which itself
144
+ contains `kitty`, so the app also signalled itself. `SIGUSR1` has no
145
+ handler installed and terminates a process by default, producing "User
146
+ defined signal 1" and exiting. `reload_kitty()` now uses `pkill -USR1 -x
147
+ kitty` (exact name match).
148
+ - `--auto-update` failed to validate GitHub's TLS certificate on any
149
+ machine other than the one it was built on:
150
+ `ssl.get_default_verify_paths()` resolves to a CA bundle path hardcoded
151
+ into the build machine's conda environment at OpenSSL compile time
152
+ (e.g. `.../envs/default/ssl/cert.pem`), which doesn't exist elsewhere,
153
+ and `SSL_CERT_FILE`/`SSL_CERT_DIR` aren't set to compensate. `certifi`'s
154
+ CA bundle is now bundled as a data file and used explicitly to build the
155
+ SSL context for every HTTPS request in `platform/auto_update.py`,
156
+ independent of the target machine's own certificate store.
157
+ - Linux PyInstaller builds could print fontconfig's "Unable to revert
158
+ mtime" warning on every single launch instead of just the first: the
159
+ runtime hook's generated `fonts.conf` never declared a `<cachedir>`, so
160
+ fontconfig fell back to its own default cache location (typically the
161
+ root-owned `/var/cache/fontconfig`, not writable), forcing a full
162
+ re-scan of every font directory — including read-only, root-owned ones
163
+ such as distro-packaged `msttcorefonts` — on every run instead of
164
+ reusing a persisted cache. The generated `fonts.conf` now points
165
+ `<cachedir>` at `$XDG_CACHE_HOME/fontconfig` (or `~/.cache/fontconfig`).
166
+
8
167
  ## [0.3.0] - 2026-08-25
9
168
 
10
169
  ### Changed
@@ -11,29 +11,40 @@ GUI exposes: it drives both the generated form (`ui/main_window.py`,
11
11
  (`core/kitty_conf.py`). It is *generated*, not hand-written from scratch —
12
12
  `schema_builder/` regenerates it directly from kitty's own option
13
13
  definitions, and a programmer curates the handful of fields kitty's data
14
- has no equivalent for. This file describes that whole loop.
14
+ has no equivalent for. `config/actions.json` (kitty's action registry, for
15
+ the "Actions" reference tab), `config/kitty_default.conf` (kitty's pristine
16
+ example config, for "Restore Default Configuration…" and the "Default
17
+ Bindings…" window) and `config/kitty_version.json` (which kitty revision
18
+ all of the above came from, shown in the About dialog) are generated by the
19
+ same tool, from the same kitty checkout, with no curation step — so the app
20
+ never needs a real kitty installed, and never mixes data from different
21
+ kitty versions. This file describes that whole loop.
15
22
 
16
23
  ## The schema pipeline
17
24
 
18
25
  ```text
19
26
  kitty's kitty/options/definition.py (upstream, cloned into kitty_source/)
20
- │
21
- │ schema_builder/build_kitty.sh — clone/pull + build kitty's
22
- │ fast_data_types C extension (only if needed)
23
- ▼
24
- schema_builder/extract_definition.py — walks the real `definition` object
25
- │ (kitty.conf.types.Definition), keeping only documented
26
- │ Option/MultiOption items — no key/mouse bindings, no
27
- │ internal-only options (e.g. the 240 color16..color255 slots)
28
- ▼
29
- schema_builder/merge_schema.py — merges that fresh data with the app's
30
- │ current config/schema.json: everything kitty provides is
31
- │ refreshed; a few UI-only fields are carried over from the
32
- │ previous file, or set to "UNKNOWN" if new
33
- ▼
27
+ |
28
+ | schema_builder/build_kitty.sh -- clone/pull + build kitty's
29
+ | fast_data_types C extension (only if needed)
30
+ v
31
+ schema_builder/extract_definition.py -- walks the real `definition` object
32
+ | (kitty.conf.types.Definition), keeping only documented
33
+ | Option/MultiOption items -- no key/mouse bindings, no
34
+ | internal-only options (e.g. the 240 color16..color255 slots)
35
+ v
36
+ schema_builder/merge_schema.py -- merges that fresh data with the app's
37
+ | current config/schema.json: everything kitty provides is
38
+ | refreshed; a few UI-only fields are carried over from the
39
+ | previous file, or set to "UNKNOWN" if new
40
+ v
34
41
  src/pb_kitty_config_studio/config/schema.json (committed to the repo)
35
42
  ```
36
43
 
44
+ (plain ASCII on purpose, not Unicode box-drawing characters -- those don't
45
+ have a guaranteed fixed-width glyph in every monospace font/viewer, which
46
+ can throw the alignment off depending on where this is read.)
47
+
37
48
  Run the whole thing with:
38
49
 
39
50
  ```bash
@@ -45,6 +56,40 @@ make kitty-schema-skeleton
45
56
  before overwriting it. See `schema_builder/README.md` for the build details
46
57
  (why kitty needs to be compiled, the Go/pixi setup, platform notes).
47
58
 
59
+ ### The action registry pipeline
60
+
61
+ `config/actions.json` — the data behind the Mappings tab's "Default
62
+ Bindings…" window's "Actions" tab (`core/actions.py`) — is generated by the
63
+ same `make kitty-schema-skeleton` run, from the same `kitty_source` build,
64
+ right after `schema.json`:
65
+
66
+ ```text
67
+ kitty's kitty/actions.py (upstream, cloned into kitty_source/)
68
+ |
69
+ v
70
+ schema_builder/extract_actions.py -- walks get_all_actions() (every
71
+ | Window/Tab/Boss action kitty registers) plus the groups dict
72
+ | (group code -> human title), cleaning each action's short/long
73
+ | help from RST to HTML via rst_clean.clean_long_text()
74
+ v
75
+ src/pb_kitty_config_studio/config/actions.json (committed to the repo)
76
+ ```
77
+
78
+ Deliberately **not** merged/curated like `schema.json` is — every field
79
+ comes straight from kitty, there's nothing a programmer needs to fill in,
80
+ so `build_actions.py` always writes a fresh file (no backup, no `"UNKNOWN"`
81
+ gate, no `load_actions()` validation beyond a plain JSON read).
82
+
83
+ Driving this from `schema_builder`, at build time, rather than querying an
84
+ installed `kitty` at runtime is deliberate: it ties the action registry to
85
+ the *exact same* kitty revision `schema.json` was generated from, so
86
+ options, default bindings' action names, and this reference tab can never
87
+ drift apart by having been captured from different kitty versions on
88
+ different machines. `config/kitty_default.conf` (see "kitty's default
89
+ configuration and bindings" below) is generated the same way and for the
90
+ same reason — none of the three generated files, nor the app itself, ever
91
+ queries a real kitty installation anymore.
92
+
48
93
  ### The `information` section
49
94
 
50
95
  `schema.json` has a top-level `information` object, a sibling of `groups`,
@@ -60,6 +105,17 @@ needed — `merge_schema.py` passes it through as-is):
60
105
  `color16`..`color255` slots). A `MultiOption` has no such per-item flag
61
106
  and is always kept, so it never appears here.
62
107
 
108
+ Both fields describe kitty's own `Option`/`MultiOption` declarations, not
109
+ this app's build process, which is why `config/kitty_version.json` (the
110
+ kitty revision `schema.json`/`actions.json`/`kitty_default.conf` were all
111
+ generated from — see "kitty's default configuration and bindings" below)
112
+ is a separate top-level file instead of a third field in here: it isn't
113
+ data kitty declares about itself, it's metadata *about the generation run*,
114
+ and folding the two together would blur "what kitty told us" (regenerated
115
+ by `extract_definition.py`, sibling of `groups`) with "what generated this
116
+ file" (stamped once by `build_default_config.py`, alongside three
117
+ independently-loaded files, not just this one).
118
+
63
119
  ### What's regenerated vs. what's curated
64
120
 
65
121
  Every field kitty itself declares is refreshed on every run: `name`,
@@ -167,11 +223,14 @@ number that's meant to answer one question (is the shipped app tested).
167
223
 
168
224
  Not every file in `schema_builder/` is testable the same way:
169
225
 
170
- - **`merge_schema.py`** and **`rst_clean.py`** are fully unit-tested
171
- (`test_schema_builder_merge_schema.py`, `test_schema_builder_rst_clean.py`).
172
- Both are pure by design — no kitty import, no filesystem access (see
173
- their own module docstrings) — so they run exactly like any other test in
174
- this project, no `kitty_source` build required.
226
+ - **`merge_schema.py`**, **`rst_clean.py`**, **`kitty_python.py`** and
227
+ **`extract_actions.py`** are fully unit-tested
228
+ (`test_schema_builder_merge_schema.py`, `test_schema_builder_rst_clean.py`,
229
+ `test_schema_builder_kitty_python.py`, `test_schema_builder_extract_actions.py`).
230
+ All four are pure by design — no kitty import, no dependency on a real
231
+ `kitty_source` build (`kitty_python.py`'s filesystem probing is exercised
232
+ against a faked directory layout under `tmp_path`; see their own module
233
+ docstrings) — so they run exactly like any other test in this project.
175
234
  - **`extract_definition.py`** imports the real `kitty.conf.types` (`Group`,
176
235
  `Option`, `MultiOption`), which only exists once `kitty_source/` is
177
236
  cloned and built (`build_kitty.sh` — Go, a C compiler, and a page of X11/
@@ -190,20 +249,27 @@ Not every file in `schema_builder/` is testable the same way:
190
249
  real import path end to end — do that after bumping which kitty revision
191
250
  the schema is generated from, not just when editing
192
251
  `extract_definition.py`.
193
- - **`build_schema.py`**'s pure helpers (`_backup`, `_bundled_python`,
194
- `_count`) are unit-testable in isolation the same way; its `main()` —
195
- re-execing into kitty's bundled interpreter, importing
196
- `kitty.options.definition` — needs the real build, same as
197
- `extract_definition.py`'s production path.
252
+ - **`build_schema.py`**'s pure helper (`_backup`, `_count`) is
253
+ unit-testable in isolation the same way; its `main()` — importing
254
+ `kitty.options.definition` under kitty's bundled interpreter — needs the
255
+ real build, same as `extract_definition.py`'s production path.
256
+ **`build_actions.py`**'s `main()` is in the same boat: it imports the
257
+ real `kitty.actions` (`get_all_actions()`, `groups`), only available
258
+ after `build_kitty.sh`; only `extract_actions.py`'s pure transform is
259
+ unit-tested directly (see above). **`build_default_config.py`**'s
260
+ `main()` too — it imports the real `kitty.config`/`kitty.constants` and
261
+ has no separate pure-transform module to test in isolation (unlike the
262
+ other two, it does no non-trivial transformation of kitty's data, just
263
+ writes it out — nothing to unit-test independently of the real import).
198
264
  - **`build_kitty.sh`** (clone + native build of kitty) has no automated
199
265
  test at all, and isn't expected to: a real run clones a large upstream
200
266
  repository over the network and compiles it (Go toolchain, several
201
267
  minutes), which is a fundamentally different cost profile from the rest
202
- of this suite (215 tests, sub-second, no network, no compilation) and
203
- would tie CI's health to whether kitty's *own* build happens to work that
204
- day. It stays a manual/occasional check — run it yourself before relying
205
- on a schema regenerated from a newer kitty — rather than part of `make
206
- test`.
268
+ of this suite (sub-second, no network, no compilation) and would tie
269
+ CI's health to whether kitty's *own* build happens to work that day. It
270
+ stays a manual/occasional check — run it yourself before relying on a
271
+ schema/action registry regenerated from a newer kitty — rather than part
272
+ of `make test`.
207
273
 
208
274
  ## `kitty.conf` read/write (`core/kitty_conf.py`)
209
275
 
@@ -257,23 +323,60 @@ kitty's real generated example configuration (see
257
323
  `parse_config()`/`apply_settings()` against realistic content no
258
324
  hand-written snippet reliably covers (mixed active/commented/bare-marker/
259
325
  `#:`-documentation lines). It's a static asset, refreshed manually and
260
- deliberately, not regenerated in CI — doing so would need a real,
261
- launchable `kitty` binary there, which every other test in this file
262
- (mocked `subprocess.Popen`/`.run()`) is careful to avoid needing.
326
+ deliberately, not regenerated in CI or tied to `config/kitty_default.conf`
327
+ (see below) — the two serve different purposes: this one is pinned so
328
+ parsing-edge-case tests never change out from under them, the other always
329
+ reflects the current `kitty_source` checkout.
263
330
 
264
- ### Restoring kitty's default configuration
331
+ ### kitty's default configuration and bindings
265
332
 
266
- `kitty_conf.generate_default_config()` reproduces the pristine, fully-
333
+ `kitty_conf.generate_default_config()` returns the pristine, fully-
267
334
  commented example `kitty.conf` kitty itself generates (the one bound to
268
- Ctrl+Shift+F2): it launches a throwaway `kitty` process in an isolated temp
269
- config directory (`KITTY_CONFIG_DIRECTORY`, `EDITOR=/usr/bin/true` so no
270
- real editor opens), triggers the `edit_config_file` action over kitty's own
271
- remote-control protocol (`kitty @ --to unix:<socket> action
272
- edit_config_file`), then reads the file kitty wrote before tearing the temp
273
- instance down. `kitty_conf.kitty_available()` gates the feature (a `kitty`
274
- executable must be on `PATH`); `ui/main_window.py`'s "Restore Default
275
- Configuration…" File menu action wires it up behind a confirmation dialog,
276
- backing up and overwriting the current file the same way a normal save does.
335
+ Ctrl+Shift+F2). Like `schema.json`/`actions.json`, this is bundled at build
336
+ time rather than fetched from an installed kitty at runtime:
337
+ `schema_builder/build_default_config.py` calls
338
+ `kitty.config.commented_out_default_config()` (a pure function of kitty's
339
+ own compiled-in option/mapping definitions) once, from the same
340
+ `kitty_source` checkout the other two files are generated from, and writes
341
+ the result to `config/kitty_default.conf` — `generate_default_config()` is
342
+ then just a cached read of that bundled file
343
+ (`config/__init__.py:load_default_config_text()`). The app needs no real
344
+ kitty installation for this (or for anything else, now that all three
345
+ generated files come from `schema_builder`), and the three can never drift
346
+ apart by having been captured from different kitty versions on different
347
+ machines — see "The action registry pipeline" above for the same rationale
348
+ applied to `actions.json`.
349
+
350
+ The same run also writes `config/kitty_version.json` (`{"version": ...,
351
+ "revision": ...}`, from `kitty.constants.str_version` and a `git rev-parse
352
+ --short HEAD` on `kitty_source`) — the exact kitty revision all three
353
+ generated files came from, shown in the About dialog
354
+ (`ui/about_dialog.py`, `config/__init__.py:load_kitty_version()`) as
355
+ "Settings based on kitty: 0.48.2 (6d5d0c440)" so a user always knows which
356
+ kitty version the exposed settings/actions/bindings reflect. The version
357
+ constant alone can be misleading — `kitty_source` is a shallow clone of
358
+ kitty's default branch, routinely well ahead of the last tagged release
359
+ (e.g. `git describe --tags` reporting `v0.48.2-519-g6d5d0c440` while
360
+ `str_version` still reads `0.48.2`) — hence pairing it with the commit hash.
361
+
362
+ Two features consume `generate_default_config()`:
363
+
364
+ - `ui/main_window.py`'s "Restore Default Configuration…" File menu action,
365
+ behind a confirmation dialog, backing up and overwriting the current file
366
+ the same way a normal save does.
367
+ - The Mappings tab's "Default Bindings…" button (`ui/main_window.py`'s
368
+ `_DefaultBindingsWindow`, one non-modal singleton with "Keyboard
369
+ Shortcuts"/"Mouse"/"Actions" tabs): the first two come from
370
+ `core/mappings.py`'s `default_bindings_html()`, which parses the
371
+ `# map ...`/`# mouse_map ...` comment blocks kitty documents its
372
+ compiled-in bindings with (grouped under `#: Title {{{`/`#: }}}`
373
+ sections, one optional `#::`-prefixed long description each) into a small
374
+ read-only HTML reference — real, copy-pasteable examples of every
375
+ default shortcut, since none of them show up in a user's own
376
+ `kitty.conf` unless overridden. "Actions" comes from
377
+ `core/actions.py:actions_reference_html()`, assembling the already-clean
378
+ HTML `config/actions.json` carries (see "The action registry pipeline"
379
+ above) — no parsing needed at this point, unlike the other two tabs.
277
380
 
278
381
  ## Icons
279
382
 
@@ -342,38 +445,80 @@ Since `.mo` catalogues are gitignored (see [i18n](#i18n) above), the
342
445
  sources at wheel-build time and force-includes the result — without it, a
343
446
  PyPI install would ship with no translations (`i18n.py`'s
344
447
  `available_languages()` discovers languages by globbing `.mo` files). The
345
- hook also force-includes `config/schema.json` (not picked up automatically
346
- by hatchling's normal "package code" inclusion, being a data file rather
347
- than Python source) and only runs for the `wheel` target; `babel` is a
348
- `[build-system] requires` dependency so it's available in the isolated
349
- build environment.
448
+ hook also force-includes `config/schema.json` and `config/actions.json`
449
+ (not picked up automatically by hatchling's normal "package code"
450
+ inclusion, being data files rather than Python source) and only runs for
451
+ the `wheel` target; `babel` is a `[build-system] requires` dependency so
452
+ it's available in the isolated build environment.
350
453
 
351
454
  ## Repository layout
352
455
 
353
456
  ```text
354
457
  schema_builder/ standalone tool, decoupled from src/ (see above)
458
+ |-- kitty_python.py re-exec under kitty's bundled Python (shared)
459
+ |-- extract_definition.py kitty options -> schema.json skeleton
460
+ |-- extract_actions.py kitty action registry -> actions.json skeleton
461
+ |-- merge_schema.py merges fresh options with curated schema.json fields
462
+ |-- rst_clean.py kitty's RST prose -> HTML
463
+ |-- build_schema.py orchestrates the schema.json pipeline
464
+ |-- build_actions.py orchestrates the actions.json pipeline
465
+ `-- build_default_config.py orchestrates kitty_default.conf + kitty_version.json
355
466
  src/pb_kitty_config_studio/
356
- ├── config/
357
- │ ├── schema.json the settings schema (source of truth, generated + curated)
358
- │ ├── _babel_extractor.py pulls label/title out of schema.json for pybabel
359
- │ └── __init__.py load_schema() [+ UNKNOWN gate], iter_settings()
360
- ├── core/
361
- │ └── kitty_conf.py read/parse/write kitty.conf, backup, hot-reload
362
- ├── ui/
363
- │ ├── widgets.py one widget class per app_type
364
- │ └── main_window.py sidebar + search + generated settings form
365
- ├── locale/ gettext catalogues (en, fr, …)
366
- └── resources/ bundled icon
467
+ |-- __main__.py CLI entry point (`python -m
468
+ | pb_kitty_config_studio` / the packaged
469
+ | executable): arg parsing, QApplication bootstrap
470
+ |-- __init__.py package version
471
+ |-- i18n.py gettext bootstrap: language detection/override,
472
+ | installs `_()`
473
+ |-- argparse_qt.py argparse helpers for Qt's own CLI flags
474
+ |-- config/
475
+ | |-- schema.json settings schema (source of truth,
476
+ | | generated + curated)
477
+ | |-- actions.json action registry (source of truth,
478
+ | | generated, no curation)
479
+ | |-- kitty_default.conf kitty's pristine example config
480
+ | | (generated, no curation)
481
+ | |-- kitty_version.json kitty_source revision all four files came from
482
+ | |-- _babel_extractor.py pulls label/title out of schema.json for pybabel
483
+ | `-- __init__.py load_schema() [+ UNKNOWN gate], load_actions(),
484
+ | load_default_config_text(), load_kitty_version(),
485
+ | iter_settings()
486
+ |-- core/
487
+ | |-- kitty_conf.py read/parse/write kitty.conf, backup,
488
+ | | hot-reload, default config
489
+ | |-- mappings.py read/edit map/mouse_map, default-bindings
490
+ | | HTML reference
491
+ | `-- actions.py actions.json -> HTML reference (Actions tab)
492
+ |-- platform/
493
+ | |-- auto_update.py `--auto-update`: replace the running
494
+ | | PyInstaller executable with the latest GitHub
495
+ | | release (not meaningful for a source checkout
496
+ | | or pip/PyPI install, updated through their own
497
+ | | channel)
498
+ | `-- desktop.py opt-in `.desktop` menu-entry install for a
499
+ | pip/PyPI install (Linux/XDG only -- a
500
+ | PyInstaller build has no such hook either)
501
+ |-- ui/
502
+ | |-- widgets.py one widget class per app_type
503
+ | |-- mapping_dialogs.py add/edit dialogs for map/mouse_map
504
+ | |-- main_window.py sidebar + search + generated settings form +
505
+ | | Mappings tab
506
+ | `-- about_dialog.py About box, shows the kitty version settings
507
+ | are based on
508
+ |-- locale/ gettext catalogues (en, fr, ...)
509
+ `-- resources/ bundled icon
367
510
  ```
368
511
 
369
512
  ## Commands
370
513
 
371
- - `make kitty-schema-skeleton` — regenerate `config/schema.json` from kitty
514
+ - `make kitty-schema-skeleton` — regenerate `config/schema.json`,
515
+ `config/actions.json`, `config/kitty_default.conf` and
516
+ `config/kitty_version.json` from kitty
372
517
  - `make venv` / `make test` / `make lint` / `make format`
373
518
  - `make translate` — extract + sync `.po`/`.mo` (see i18n above)
374
519
  - `make update-icons` — sync bundled icons from `PBIcons` (see Icons above)
375
- - `make dist` / `make srcdist` — packaging (both `config/schema.json` and
376
- the `.mo` catalogues are bundled as data files, see `hatch_build.py` /
377
- `PBKittyConfigStudio.spec`)
520
+ - `make dist` / `make srcdist` — packaging (all four `schema_builder`-generated
521
+ files plus the `.mo` catalogues are bundled as data files, see
522
+ `hatch_build.py` / `PBKittyConfigStudio.spec`)
378
523
  - `make pypi-build` / `publish-pypi` / `publish-testpypi` / `verify-pypi` /
379
524
  `verify-testpypi` — PyPI publishing (see [Publishing to PyPI](#publishing-to-pypi))
@@ -232,7 +232,7 @@ verify-testpypi: ## Install the latest TestPyPI package into a throwaway venv, s
232
232
 
233
233
  # ── Schema maintenance ───────────────────────────────────────────────────────
234
234
 
235
- kitty-schema-skeleton: ## Clone/build kitty and extract its config-option skeleton (schema_builder/)
235
+ kitty-schema-skeleton: ## Clone/build kitty and extract its config-option skeleton + action registry (schema_builder/)
236
236
  @bash schema_builder/build_kitty.sh
237
237
 
238
238
  # ── Versioning ────────────────────────────────────────────────────────────────
@@ -17,6 +17,8 @@ import sys
17
17
  import tomllib
18
18
  from pathlib import Path
19
19
 
20
+ import certifi
21
+
20
22
  # ---------------------------------------------------------------------------
21
23
  # Version — from PB_KITTY_CONFIG_STUDIO_VERSION env var (set by `make dist`
22
24
  # via tools/git_version.sh), falling back to pyproject.toml for direct
@@ -63,15 +65,28 @@ _datas = [
63
65
  for mo in sorted(_locale_root.glob("*/LC_MESSAGES/pb_kitty_config_studio.mo"))
64
66
  ]
65
67
 
66
- # The bundled app icon, plus the settings schema — a JSON data file
67
- # (config/schema.json), not part of the package's code, so it needs an
68
- # explicit data entry.
68
+ # The bundled app icon, plus the schema_builder-generated data files
69
+ # (config/schema.json, config/actions.json, config/kitty_default.conf,
70
+ # config/kitty_version.json), not part of the package's code, so they need
71
+ # explicit data entries.
69
72
  _datas += [
70
73
  ("src/pb_kitty_config_studio/resources", "pb_kitty_config_studio/resources"),
71
74
  (
72
75
  "src/pb_kitty_config_studio/config/schema.json",
73
76
  "pb_kitty_config_studio/config",
74
77
  ),
78
+ (
79
+ "src/pb_kitty_config_studio/config/actions.json",
80
+ "pb_kitty_config_studio/config",
81
+ ),
82
+ (
83
+ "src/pb_kitty_config_studio/config/kitty_default.conf",
84
+ "pb_kitty_config_studio/config",
85
+ ),
86
+ (
87
+ "src/pb_kitty_config_studio/config/kitty_version.json",
88
+ "pb_kitty_config_studio/config",
89
+ ),
75
90
  ]
76
91
 
77
92
  # The executable/app-bundle icon shown by the OS (Windows Explorer, macOS
@@ -106,6 +121,16 @@ _conda_fonts = Path(sys.base_prefix) / "fonts"
106
121
  if _conda_fonts.is_dir():
107
122
  _datas += [(str(_conda_fonts), "fonts")]
108
123
 
124
+ # CA bundle for --auto-update's HTTPS requests: ssl.get_default_verify_paths()
125
+ # resolves to a cafile path hardcoded into the conda environment's OpenSSL at
126
+ # compile time (e.g. .../envs/default/ssl/cert.pem), which only exists on the
127
+ # build machine — on any other machine, with no SSL_CERT_FILE/SSL_CERT_DIR set
128
+ # either, certificate verification has nothing to validate against and fails.
129
+ # certifi's cacert.pem is bundled and used explicitly instead (see
130
+ # platform/auto_update.py) so verification doesn't depend on the target
131
+ # machine's own CA store.
132
+ _datas += [(certifi.where(), ".")]
133
+
109
134
  # ---------------------------------------------------------------------------
110
135
  # Analysis
111
136
  # ---------------------------------------------------------------------------
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: PBKittyConfigStudio
3
- Version: 0.3.0
3
+ Version: 0.5.0
4
4
  Summary: A desktop GUI for configuring the kitty terminal
5
5
  Project-URL: Homepage, https://github.com/ppoilbarbe/PBKittyConfigStudio
6
6
  Project-URL: Repository, https://github.com/ppoilbarbe/PBKittyConfigStudio
@@ -77,7 +77,7 @@ Built with Python and PySide6 (Qt6), the app needs nothing else.
77
77
  - **Hot reload** — best-effort `SIGUSR1` to running kitty instances after a
78
78
  save.
79
79
  - **Restore default configuration** — regenerates kitty's own pristine,
80
- fully-commented example `kitty.conf` (via a throwaway `kitty` instance)
80
+ fully-commented example `kitty.conf` (bundled at build time, see below)
81
81
  and overwrites the current file, behind a confirmation dialog and the
82
82
  usual timestamped backup.
83
83
  - **Translated UI** — English and many other languages out of the box (see
@@ -89,9 +89,16 @@ Built with Python and PySide6 (Qt6), the app needs nothing else.
89
89
  ## Requirements
90
90
 
91
91
  - Python 3.12+
92
- - [kitty](https://github.com/kovidgoyal/kitty) terminal
93
92
  - [pixi](https://pixi.sh) (recommended) to manage the development environment
94
93
 
94
+ [kitty](https://github.com/kovidgoyal/kitty) itself is **not** required to
95
+ run this app: the settings schema, action reference and default
96
+ configuration are all generated once at build time from kitty's own source
97
+ (see [CODING.md](CODING.md)) and bundled with the app, so it never queries
98
+ an installed kitty. You'll obviously want kitty installed to actually use
99
+ the `kitty.conf` you edit with it, and running for hot reload after a save
100
+ to take effect.
101
+
95
102
  ## Quick Start
96
103
 
97
104
  ```bash
@@ -47,7 +47,7 @@ Built with Python and PySide6 (Qt6), the app needs nothing else.
47
47
  - **Hot reload** — best-effort `SIGUSR1` to running kitty instances after a
48
48
  save.
49
49
  - **Restore default configuration** — regenerates kitty's own pristine,
50
- fully-commented example `kitty.conf` (via a throwaway `kitty` instance)
50
+ fully-commented example `kitty.conf` (bundled at build time, see below)
51
51
  and overwrites the current file, behind a confirmation dialog and the
52
52
  usual timestamped backup.
53
53
  - **Translated UI** — English and many other languages out of the box (see
@@ -59,9 +59,16 @@ Built with Python and PySide6 (Qt6), the app needs nothing else.
59
59
  ## Requirements
60
60
 
61
61
  - Python 3.12+
62
- - [kitty](https://github.com/kovidgoyal/kitty) terminal
63
62
  - [pixi](https://pixi.sh) (recommended) to manage the development environment
64
63
 
64
+ [kitty](https://github.com/kovidgoyal/kitty) itself is **not** required to
65
+ run this app: the settings schema, action reference and default
66
+ configuration are all generated once at build time from kitty's own source
67
+ (see [CODING.md](CODING.md)) and bundled with the app, so it never queries
68
+ an installed kitty. You'll obviously want kitty installed to actually use
69
+ the `kitty.conf` you edit with it, and running for hot reload after a save
70
+ to take effect.
71
+
65
72
  ## Quick Start
66
73
 
67
74
  ```bash