PBKittyConfigStudio 0.2.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.2.0 → pbkittyconfigstudio-0.5.0}/.github/workflows/ci.yml +2 -2
  2. pbkittyconfigstudio-0.5.0/CHANGELOG.md +324 -0
  3. {pbkittyconfigstudio-0.2.0 → pbkittyconfigstudio-0.5.0}/CODING.md +209 -64
  4. {pbkittyconfigstudio-0.2.0 → pbkittyconfigstudio-0.5.0}/Makefile +7 -7
  5. {pbkittyconfigstudio-0.2.0 → pbkittyconfigstudio-0.5.0}/PBKittyConfigStudio.spec +41 -7
  6. {pbkittyconfigstudio-0.2.0 → pbkittyconfigstudio-0.5.0}/PKG-INFO +10 -3
  7. {pbkittyconfigstudio-0.2.0 → pbkittyconfigstudio-0.5.0}/README.md +9 -2
  8. {pbkittyconfigstudio-0.2.0 → pbkittyconfigstudio-0.5.0}/hatch_build.py +15 -13
  9. pbkittyconfigstudio-0.5.0/hooks/pyi_rth_fonts.py +90 -0
  10. {pbkittyconfigstudio-0.2.0 → pbkittyconfigstudio-0.5.0}/pyproject.toml +17 -9
  11. {pbkittyconfigstudio-0.2.0 → pbkittyconfigstudio-0.5.0}/schema_builder/README.md +15 -1
  12. pbkittyconfigstudio-0.5.0/schema_builder/build_actions.py +60 -0
  13. pbkittyconfigstudio-0.5.0/schema_builder/build_default_config.py +81 -0
  14. {pbkittyconfigstudio-0.2.0 → pbkittyconfigstudio-0.5.0}/schema_builder/build_kitty.sh +8 -0
  15. {pbkittyconfigstudio-0.2.0 → pbkittyconfigstudio-0.5.0}/schema_builder/build_schema.py +3 -28
  16. pbkittyconfigstudio-0.5.0/schema_builder/extract_actions.py +60 -0
  17. pbkittyconfigstudio-0.5.0/schema_builder/kitty_python.py +49 -0
  18. pbkittyconfigstudio-0.5.0/schema_builder/pixi.lock +1304 -0
  19. pbkittyconfigstudio-0.5.0/schema_builder/xx +3777 -0
  20. pbkittyconfigstudio-0.5.0/schema_builder/xx.bak_2026-08-27T13-04-19 +3777 -0
  21. {pbkittyconfigstudio-0.2.0 → pbkittyconfigstudio-0.5.0}/src/pb_kitty_config_studio/__init__.py +1 -1
  22. {pbkittyconfigstudio-0.2.0 → pbkittyconfigstudio-0.5.0}/src/pb_kitty_config_studio/__main__.py +36 -0
  23. {pbkittyconfigstudio-0.2.0 → pbkittyconfigstudio-0.5.0}/src/pb_kitty_config_studio/config/__init__.py +36 -1
  24. pbkittyconfigstudio-0.5.0/src/pb_kitty_config_studio/config/actions.json +780 -0
  25. pbkittyconfigstudio-0.5.0/src/pb_kitty_config_studio/config/kitty_default.conf +3427 -0
  26. pbkittyconfigstudio-0.5.0/src/pb_kitty_config_studio/config/kitty_version.json +4 -0
  27. pbkittyconfigstudio-0.5.0/src/pb_kitty_config_studio/core/actions.py +33 -0
  28. {pbkittyconfigstudio-0.2.0 → pbkittyconfigstudio-0.5.0}/src/pb_kitty_config_studio/core/kitty_conf.py +28 -80
  29. pbkittyconfigstudio-0.5.0/src/pb_kitty_config_studio/core/mappings.py +342 -0
  30. {pbkittyconfigstudio-0.2.0 → pbkittyconfigstudio-0.5.0}/src/pb_kitty_config_studio/locale/de/LC_MESSAGES/pb_kitty_config_studio.po +162 -16
  31. {pbkittyconfigstudio-0.2.0 → pbkittyconfigstudio-0.5.0}/src/pb_kitty_config_studio/locale/en/LC_MESSAGES/pb_kitty_config_studio.po +126 -14
  32. {pbkittyconfigstudio-0.2.0 → pbkittyconfigstudio-0.5.0}/src/pb_kitty_config_studio/locale/es/LC_MESSAGES/pb_kitty_config_studio.po +160 -16
  33. {pbkittyconfigstudio-0.2.0 → pbkittyconfigstudio-0.5.0}/src/pb_kitty_config_studio/locale/fr/LC_MESSAGES/pb_kitty_config_studio.po +130 -14
  34. {pbkittyconfigstudio-0.2.0 → pbkittyconfigstudio-0.5.0}/src/pb_kitty_config_studio/locale/it/LC_MESSAGES/pb_kitty_config_studio.po +162 -16
  35. {pbkittyconfigstudio-0.2.0 → pbkittyconfigstudio-0.5.0}/src/pb_kitty_config_studio/locale/ru/LC_MESSAGES/pb_kitty_config_studio.po +162 -16
  36. {pbkittyconfigstudio-0.2.0 → pbkittyconfigstudio-0.5.0}/src/pb_kitty_config_studio/locale/vi/LC_MESSAGES/pb_kitty_config_studio.po +160 -16
  37. {pbkittyconfigstudio-0.2.0 → pbkittyconfigstudio-0.5.0}/src/pb_kitty_config_studio/locale/zh_CN/LC_MESSAGES/pb_kitty_config_studio.po +149 -16
  38. {pbkittyconfigstudio-0.2.0 → pbkittyconfigstudio-0.5.0}/src/pb_kitty_config_studio/platform/auto_update.py +84 -22
  39. {pbkittyconfigstudio-0.2.0 → pbkittyconfigstudio-0.5.0}/src/pb_kitty_config_studio/ui/about_dialog.py +7 -0
  40. {pbkittyconfigstudio-0.2.0 → pbkittyconfigstudio-0.5.0}/src/pb_kitty_config_studio/ui/main_window.py +327 -20
  41. pbkittyconfigstudio-0.5.0/src/pb_kitty_config_studio/ui/mapping_dialogs.py +335 -0
  42. pbkittyconfigstudio-0.5.0/tests/fixtures/README.md +38 -0
  43. {pbkittyconfigstudio-0.2.0 → pbkittyconfigstudio-0.5.0}/tests/test_about_dialog.py +12 -0
  44. pbkittyconfigstudio-0.5.0/tests/test_actions.py +110 -0
  45. {pbkittyconfigstudio-0.2.0 → pbkittyconfigstudio-0.5.0}/tests/test_auto_update.py +130 -89
  46. {pbkittyconfigstudio-0.2.0 → pbkittyconfigstudio-0.5.0}/tests/test_kitty_conf.py +24 -122
  47. {pbkittyconfigstudio-0.2.0 → pbkittyconfigstudio-0.5.0}/tests/test_main_window.py +312 -23
  48. pbkittyconfigstudio-0.5.0/tests/test_mapping_dialogs.py +204 -0
  49. pbkittyconfigstudio-0.5.0/tests/test_mappings.py +262 -0
  50. {pbkittyconfigstudio-0.2.0 → pbkittyconfigstudio-0.5.0}/tests/test_schema.py +19 -0
  51. pbkittyconfigstudio-0.5.0/tests/test_schema_builder_extract_actions.py +91 -0
  52. pbkittyconfigstudio-0.5.0/tests/test_schema_builder_kitty_python.py +84 -0
  53. pbkittyconfigstudio-0.2.0/CHANGELOG.md +0 -141
  54. pbkittyconfigstudio-0.2.0/tests/fixtures/README.md +0 -35
  55. {pbkittyconfigstudio-0.2.0 → pbkittyconfigstudio-0.5.0}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
  56. {pbkittyconfigstudio-0.2.0 → pbkittyconfigstudio-0.5.0}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
  57. {pbkittyconfigstudio-0.2.0 → pbkittyconfigstudio-0.5.0}/.gitignore +0 -0
  58. {pbkittyconfigstudio-0.2.0 → pbkittyconfigstudio-0.5.0}/.markdownlint-cli2.yaml +0 -0
  59. {pbkittyconfigstudio-0.2.0 → pbkittyconfigstudio-0.5.0}/.pre-commit-config.yaml +0 -0
  60. {pbkittyconfigstudio-0.2.0 → pbkittyconfigstudio-0.5.0}/CLAUDE.md +0 -0
  61. {pbkittyconfigstudio-0.2.0 → pbkittyconfigstudio-0.5.0}/LICENSE +0 -0
  62. {pbkittyconfigstudio-0.2.0 → pbkittyconfigstudio-0.5.0}/babel.cfg +0 -0
  63. {pbkittyconfigstudio-0.2.0 → pbkittyconfigstudio-0.5.0}/pixi.lock +0 -0
  64. {pbkittyconfigstudio-0.2.0 → pbkittyconfigstudio-0.5.0}/schema_builder/extract_definition.py +0 -0
  65. {pbkittyconfigstudio-0.2.0 → pbkittyconfigstudio-0.5.0}/schema_builder/merge_schema.py +0 -0
  66. {pbkittyconfigstudio-0.2.0 → pbkittyconfigstudio-0.5.0}/schema_builder/pixi.toml +0 -0
  67. {pbkittyconfigstudio-0.2.0 → pbkittyconfigstudio-0.5.0}/schema_builder/rst_clean.py +0 -0
  68. {pbkittyconfigstudio-0.2.0 → pbkittyconfigstudio-0.5.0}/src/pb_kitty_config_studio/argparse_qt.py +0 -0
  69. {pbkittyconfigstudio-0.2.0 → pbkittyconfigstudio-0.5.0}/src/pb_kitty_config_studio/config/_babel_extractor.py +0 -0
  70. {pbkittyconfigstudio-0.2.0 → pbkittyconfigstudio-0.5.0}/src/pb_kitty_config_studio/config/schema.json +0 -0
  71. {pbkittyconfigstudio-0.2.0 → pbkittyconfigstudio-0.5.0}/src/pb_kitty_config_studio/core/__init__.py +0 -0
  72. {pbkittyconfigstudio-0.2.0 → pbkittyconfigstudio-0.5.0}/src/pb_kitty_config_studio/i18n.py +0 -0
  73. {pbkittyconfigstudio-0.2.0 → pbkittyconfigstudio-0.5.0}/src/pb_kitty_config_studio/platform/__init__.py +0 -0
  74. {pbkittyconfigstudio-0.2.0 → pbkittyconfigstudio-0.5.0}/src/pb_kitty_config_studio/platform/desktop.py +0 -0
  75. {pbkittyconfigstudio-0.2.0 → pbkittyconfigstudio-0.5.0}/src/pb_kitty_config_studio/resources/__init__.py +0 -0
  76. {pbkittyconfigstudio-0.2.0 → pbkittyconfigstudio-0.5.0}/src/pb_kitty_config_studio/resources/cancel.svg +0 -0
  77. {pbkittyconfigstudio-0.2.0 → pbkittyconfigstudio-0.5.0}/src/pb_kitty_config_studio/resources/clear-all-data.svg +0 -0
  78. {pbkittyconfigstudio-0.2.0 → pbkittyconfigstudio-0.5.0}/src/pb_kitty_config_studio/resources/help-about.svg +0 -0
  79. {pbkittyconfigstudio-0.2.0 → pbkittyconfigstudio-0.5.0}/src/pb_kitty_config_studio/resources/pbkittyconfigstudio.icns +0 -0
  80. {pbkittyconfigstudio-0.2.0 → pbkittyconfigstudio-0.5.0}/src/pb_kitty_config_studio/resources/pbkittyconfigstudio.ico +0 -0
  81. {pbkittyconfigstudio-0.2.0 → pbkittyconfigstudio-0.5.0}/src/pb_kitty_config_studio/resources/pbkittyconfigstudio.png +0 -0
  82. {pbkittyconfigstudio-0.2.0 → pbkittyconfigstudio-0.5.0}/src/pb_kitty_config_studio/resources/previous.svg +0 -0
  83. {pbkittyconfigstudio-0.2.0 → pbkittyconfigstudio-0.5.0}/src/pb_kitty_config_studio/resources/quit.svg +0 -0
  84. {pbkittyconfigstudio-0.2.0 → pbkittyconfigstudio-0.5.0}/src/pb_kitty_config_studio/resources/refresh.svg +0 -0
  85. {pbkittyconfigstudio-0.2.0 → pbkittyconfigstudio-0.5.0}/src/pb_kitty_config_studio/resources/save-as.svg +0 -0
  86. {pbkittyconfigstudio-0.2.0 → pbkittyconfigstudio-0.5.0}/src/pb_kitty_config_studio/resources/save.svg +0 -0
  87. {pbkittyconfigstudio-0.2.0 → pbkittyconfigstudio-0.5.0}/src/pb_kitty_config_studio/ui/__init__.py +0 -0
  88. {pbkittyconfigstudio-0.2.0 → pbkittyconfigstudio-0.5.0}/src/pb_kitty_config_studio/ui/widgets.py +0 -0
  89. {pbkittyconfigstudio-0.2.0 → pbkittyconfigstudio-0.5.0}/tests/conftest.py +0 -0
  90. {pbkittyconfigstudio-0.2.0 → pbkittyconfigstudio-0.5.0}/tests/fixtures/kitty_default.conf +0 -0
  91. {pbkittyconfigstudio-0.2.0 → pbkittyconfigstudio-0.5.0}/tests/test_argparse_qt.py +0 -0
  92. {pbkittyconfigstudio-0.2.0 → pbkittyconfigstudio-0.5.0}/tests/test_babel_extractor.py +0 -0
  93. {pbkittyconfigstudio-0.2.0 → pbkittyconfigstudio-0.5.0}/tests/test_desktop.py +0 -0
  94. {pbkittyconfigstudio-0.2.0 → pbkittyconfigstudio-0.5.0}/tests/test_i18n.py +0 -0
  95. {pbkittyconfigstudio-0.2.0 → pbkittyconfigstudio-0.5.0}/tests/test_main.py +0 -0
  96. {pbkittyconfigstudio-0.2.0 → pbkittyconfigstudio-0.5.0}/tests/test_resources.py +0 -0
  97. {pbkittyconfigstudio-0.2.0 → pbkittyconfigstudio-0.5.0}/tests/test_schema_builder_extract_definition.py +0 -0
  98. {pbkittyconfigstudio-0.2.0 → pbkittyconfigstudio-0.5.0}/tests/test_schema_builder_merge_schema.py +0 -0
  99. {pbkittyconfigstudio-0.2.0 → pbkittyconfigstudio-0.5.0}/tests/test_schema_builder_rst_clean.py +0 -0
  100. {pbkittyconfigstudio-0.2.0 → pbkittyconfigstudio-0.5.0}/tests/test_widgets.py +0 -0
  101. {pbkittyconfigstudio-0.2.0 → pbkittyconfigstudio-0.5.0}/tools/bump_version.py +0 -0
  102. {pbkittyconfigstudio-0.2.0 → pbkittyconfigstudio-0.5.0}/tools/extract_changelog.py +0 -0
  103. {pbkittyconfigstudio-0.2.0 → pbkittyconfigstudio-0.5.0}/tools/fix_po_files.py +0 -0
  104. {pbkittyconfigstudio-0.2.0 → pbkittyconfigstudio-0.5.0}/tools/git_version.sh +0 -0
  105. {pbkittyconfigstudio-0.2.0 → pbkittyconfigstudio-0.5.0}/tools/po_check.py +0 -0
  106. {pbkittyconfigstudio-0.2.0 → pbkittyconfigstudio-0.5.0}/tools/update_icons.py +0 -0
@@ -109,7 +109,7 @@ jobs:
109
109
  with:
110
110
  # One artifact per runner; merged in the release job.
111
111
  name: build-${{ runner.os }}
112
- path: dist/PBKittyConfigStudio-*
112
+ path: dist/pbkittyconfigstudio-*
113
113
  if-no-files-found: error
114
114
 
115
115
  # ── GitHub release ───────────────────────────────────────────────────────────
@@ -141,5 +141,5 @@ jobs:
141
141
  uses: softprops/action-gh-release@v3
142
142
  with:
143
143
  body: ${{ steps.changelog.outputs.body }}
144
- files: dist/PBKittyConfigStudio-*
144
+ files: dist/pbkittyconfigstudio-*
145
145
  fail_on_unmatched_files: true
@@ -0,0 +1,324 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
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
+
167
+ ## [0.3.0] - 2026-08-25
168
+
169
+ ### Changed
170
+
171
+ - PyInstaller executable and source-archive names are now lowercase
172
+ (`pbkittyconfigstudio-<version>-<os>-<arch>`), for consistency with the
173
+ other PB* tools — previously `PBKittyConfigStudio-…`. `--auto-update`
174
+ looks up release assets under the new prefix first, falling back to the
175
+ old `PBKittyConfigStudio-` prefix so a pre-rename install can still find
176
+ and download its update.
177
+
178
+ ### Fixed
179
+
180
+ - Linux PyInstaller builds: bundled fonts were resolved through a
181
+ fontconfig config file containing absolute paths hardcoded to the build
182
+ machine's environment, which don't exist on the target machine —
183
+ fontconfig failed to find its config there and Qt fell back to an
184
+ illegible default font. Fonts are now registered directly with
185
+ `QFontDatabase.addApplicationFont` (bypassing fontconfig entirely), with
186
+ the application font forced to Ubuntu; a PyInstaller runtime hook
187
+ (`hooks/pyi_rth_fonts.py`) also regenerates a portable `fonts.conf` at
188
+ startup so other rendering settings (anti-aliasing, hinting, …) are still
189
+ inherited from the target system.
190
+
191
+ ## [0.2.0] - 2026-08-21
192
+
193
+ ### Added
194
+
195
+ - German, Spanish, Italian, Russian, Vietnamese and Simplified Chinese
196
+ translations (`de`, `es`, `it`, `ru`, `vi`, `zh_CN`), alongside the
197
+ existing English and French catalogues. Every translated string is
198
+ tagged `# ==AUTO== Automatically translated` pending human review (see
199
+ `CLAUDE.md`'s new "I18n" section); `grep -r "==AUTO=="` lists what's
200
+ still pending.
201
+ - Per-row "revert to saved value" button (`previous.svg`, next to the
202
+ existing "reset to default" one): restores just that setting to the
203
+ value currently on disk, without rereading the whole file and losing
204
+ other unsaved edits (`core/kitty_conf.py:values_equal()`,
205
+ `ui/main_window.py:_SettingRow`).
206
+ - `config/schema.json` now has a top-level `information` section (sibling
207
+ of `groups`), always regenerated fresh from kitty by
208
+ `schema_builder/extract_definition.py`: `total_parameters_detected` (every
209
+ `Option`/`MultiOption` kitty declares, kept + ignored) and
210
+ `ignored_parameters` (the names of the undocumented `Option`s skipped,
211
+ e.g. the 240 `color16`..`color255` slots). See `CODING.md`.
212
+ - The sidebar is now a tree instead of a flat category list: a subgroup
213
+ (e.g. "Color scheme"'s color table, "Mouse"'s mouse actions) is a child
214
+ node with its own settings page, rather than being folded into its
215
+ parent's page as an inline section. A category with a large subgroup no
216
+ longer turns into one giant scrolling page burying that subgroup's
217
+ settings far below the fold — each is now a direct, one-click sidebar
218
+ destination.
219
+ - `tests/fixtures/kitty_default.conf`: a frozen, real snapshot of kitty's
220
+ own generated example configuration, used to test
221
+ `parse_config()`/`apply_settings()` against realistic content (mixed
222
+ active/commented/bare-marker/`#:`-documentation lines) instead of only
223
+ hand-written snippets — a static asset, not regenerated in CI. See
224
+ `tests/fixtures/README.md` and `CODING.md`.
225
+
226
+ ### Changed
227
+
228
+ - Reworded the French about-dialog credits line, which repeated "kitty"
229
+ twice and read awkwardly ("... l'équipe de développement de kitty pour
230
+ le terminal kitty ...").
231
+
232
+ ### Fixed
233
+
234
+ - `language_name` for the English catalogue was left as the literal
235
+ string `"language_name"` instead of `"English"`, so the language
236
+ selector showed the raw code `en` instead of a name like every other
237
+ language.
238
+ - A setting whose only existing line was a bare `# key` marker with no
239
+ value at all (kitty's own generated example config writes these for
240
+ settings with no meaningful default to show, e.g. `# symbol_map`, `# env`
241
+ — 14 such settings in total) was written at the *end* of the file
242
+ instead of replacing that marker in place: the regex locating the line
243
+ to rewrite required at least one value after the key, so it never
244
+ matched a bare marker (`core/kitty_conf.py:_line_regex_for()` /
245
+ `_all_lines_regex_for()`).
246
+ - `pyproject.toml`'s `[project.urls]` pointed `Homepage` at kitty's own
247
+ repository instead of this project's (copy-paste leftover) — PyPI showed
248
+ the wrong project link. Added `Repository`/`Issues` alongside it.
249
+
250
+ ## [0.1.1] - 2026-08-21
251
+
252
+ ### Fixed
253
+
254
+ - PyInstaller Linux build: `--auto-update` (and any other HTTPS request)
255
+ failed with `error: could not reach GitHub: <urlopen error unknown url
256
+ type: https>`. PyInstaller's automatic shared-library resolution picked
257
+ up the *system* `libssl.so.3`/`libcrypto.so.3` (registered in ldconfig's
258
+ cache) instead of the pixi/conda environment's own copy that Python's
259
+ `_ssl` extension was actually built against (only reachable via its
260
+ RPATH) — silently bundling an older OpenSSL missing symbol versions
261
+ `_ssl` needs, which made `import ssl` fail and left `urllib` with no
262
+ HTTPS support at all. `PBKittyConfigStudio.spec` now force-includes the
263
+ environment's own `libssl.so.3`/`libcrypto.so.3` explicitly on Linux.
264
+
265
+ ## [0.1.0] - 2026-08-21
266
+
267
+ ### Added
268
+
269
+ - Initial PySide6 desktop application for configuring kitty's `kitty.conf`.
270
+ - Declarative settings schema (`config/schema.py`) covering ~70 kitty
271
+ settings across 8 categories: fonts, cursor, scrolling & mouse, colors,
272
+ window layout, tab bar, bell, advanced and performance.
273
+ - Non-destructive `kitty.conf` read/write: targeted regex updates, timestamped
274
+ backup before every save, best-effort hot-reload via `SIGUSR1`.
275
+ - Gettext-based i18n (pybabel) with English and French catalogues.
276
+ - pixi-managed development environment and `Makefile` (venv, translate,
277
+ new-lang, test, lint, format, dist, srcdist, version bumping).
278
+ - PyInstaller packaging (`PBKittyConfigStudio.spec`).
279
+ - `schema_builder/`: a standalone tool, decoupled from `src/`, that clones
280
+ and builds kitty from source and regenerates
281
+ `config/schema.json` directly from kitty's own
282
+ `kitty.options.definition.definition` object — `schema_builder/build_kitty.sh`
283
+ / `make kitty-schema-skeleton`. RST descriptions are cleaned to HTML
284
+ (`rst_clean.py`); the real option/group tree is merged with the app's
285
+ current schema (`merge_schema.py`), carrying over curator-owned fields
286
+ (`icon`, `app_type`, `label`) and marking anything new `"UNKNOWN"`.
287
+ - The settings schema covers **~237 kitty settings across 12 categories**,
288
+ mirroring kitty's own grouping — including a subgroup for the color table
289
+ and one for mouse actions, rendered as in-page subsections.
290
+ - `config/__init__.py`: a startup guard (`SchemaNotCuratedError`) that
291
+ refuses to load a schema still containing the literal string `"UNKNOWN"`
292
+ anywhere, with a message listing every offending field — forces new
293
+ settings introduced by a kitty update to be curated before the app runs.
294
+ - `ui/widgets.py`: a multi-line list editor (`MultiLineSettingWidget`) for
295
+ repeatable settings (`font_features`, `modify_font`, and any other
296
+ `multi`-valued kitty setting).
297
+ - `ui/main_window.py`: a search box filtering settings by name/label across
298
+ every category, and a "default"/"modified" badge per row.
299
+ - `core/kitty_conf.py`: support for multi-value settings (every existing
300
+ line for a key is replaced by the full current set); a value equal to its
301
+ schema default is now written back as a commented-out line instead of an
302
+ active one (`kitty_conf.is_default_value()`, shared with the UI badge).
303
+ - `config/_babel_extractor.py`: a dedicated pybabel extraction method for
304
+ `schema.json` (group `title`, option `label`).
305
+ - `CODING.md`: developer-facing documentation of the schema generation/
306
+ curation pipeline, the `kitty.conf` read/write rules, and the i18n setup.
307
+ - "Restore Default Configuration…" File menu action: regenerates kitty's own
308
+ pristine, fully-commented example `kitty.conf` (by launching a throwaway
309
+ `kitty` instance and driving its remote-control `edit_config_file`
310
+ action, `core/kitty_conf.py:generate_default_config()`), then backs up and
311
+ overwrites the current file after a confirmation dialog. Disabled when no
312
+ `kitty` executable is found on `PATH` (`kitty_conf.kitty_available()`).
313
+ - PyInstaller executables carry the OS-level app icon: `.ico` embedded
314
+ in the Windows `EXE`, `.icns` in the macOS `.app` `BUNDLE`
315
+ (`PBKittyConfigStudio.spec`).
316
+ - `tools/update_icons.py` / `make update-icons`: syncs every bundled icon
317
+ (`resources/*.svg`, the app `.png`/`.ico`/`.icns`) from the `PBIcons`
318
+ project — a local sibling checkout if present, else GitHub.
319
+ - PyPI publishing: `make pypi-build` / `publish-pypi` / `publish-testpypi` /
320
+ `verify-pypi` / `verify-testpypi` targets (`build`/`twine`, see
321
+ `CODING.md`'s "Publishing to PyPI").
322
+ - `.markdownlint-cli2.yaml`: disables MD013 line-length checking for table
323
+ rows only (unwrappable without breaking table syntax), keeping the
324
+ 80-column limit for prose.