PBKittyConfigStudio 0.3.0__tar.gz → 0.7.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 (129) hide show
  1. pbkittyconfigstudio-0.7.0/CHANGELOG.md +454 -0
  2. pbkittyconfigstudio-0.7.0/CODING.md +604 -0
  3. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.7.0}/Makefile +1 -1
  4. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.7.0}/PBKittyConfigStudio.spec +32 -3
  5. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.7.0}/PKG-INFO +10 -3
  6. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.7.0}/README.md +9 -2
  7. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.7.0}/hatch_build.py +16 -13
  8. pbkittyconfigstudio-0.7.0/hooks/pyi_rth_fonts.py +90 -0
  9. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.7.0}/pyproject.toml +10 -4
  10. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.7.0}/schema_builder/README.md +22 -1
  11. pbkittyconfigstudio-0.7.0/schema_builder/build_actions.py +60 -0
  12. pbkittyconfigstudio-0.7.0/schema_builder/build_default_config.py +81 -0
  13. pbkittyconfigstudio-0.7.0/schema_builder/build_key_names.py +84 -0
  14. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.7.0}/schema_builder/build_kitty.sh +28 -3
  15. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.7.0}/schema_builder/build_schema.py +3 -28
  16. pbkittyconfigstudio-0.7.0/schema_builder/extract_actions.py +60 -0
  17. pbkittyconfigstudio-0.7.0/schema_builder/extract_key_names.py +70 -0
  18. pbkittyconfigstudio-0.7.0/schema_builder/kitty_python.py +49 -0
  19. pbkittyconfigstudio-0.7.0/schema_builder/pixi.lock +1268 -0
  20. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.7.0}/schema_builder/pixi.toml +1 -0
  21. pbkittyconfigstudio-0.3.0/src/pb_kitty_config_studio/config/schema.json → pbkittyconfigstudio-0.7.0/schema_builder/xx +497 -619
  22. pbkittyconfigstudio-0.7.0/schema_builder/xx.bak_2026-08-27T13-04-19 +3777 -0
  23. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.7.0}/src/pb_kitty_config_studio/__init__.py +1 -1
  24. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.7.0}/src/pb_kitty_config_studio/__main__.py +15 -12
  25. pbkittyconfigstudio-0.7.0/src/pb_kitty_config_studio/app_settings.py +68 -0
  26. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.7.0}/src/pb_kitty_config_studio/config/__init__.py +49 -1
  27. pbkittyconfigstudio-0.7.0/src/pb_kitty_config_studio/config/actions.json +805 -0
  28. pbkittyconfigstudio-0.7.0/src/pb_kitty_config_studio/config/key_names.json +642 -0
  29. pbkittyconfigstudio-0.7.0/src/pb_kitty_config_studio/config/kitty_default.conf +3718 -0
  30. pbkittyconfigstudio-0.7.0/src/pb_kitty_config_studio/config/kitty_version.json +4 -0
  31. pbkittyconfigstudio-0.7.0/src/pb_kitty_config_studio/config/schema.json +3966 -0
  32. pbkittyconfigstudio-0.7.0/src/pb_kitty_config_studio/core/actions.py +36 -0
  33. pbkittyconfigstudio-0.7.0/src/pb_kitty_config_studio/core/key_names.py +171 -0
  34. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.7.0}/src/pb_kitty_config_studio/core/kitty_conf.py +28 -80
  35. pbkittyconfigstudio-0.7.0/src/pb_kitty_config_studio/core/mappings.py +362 -0
  36. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.7.0}/src/pb_kitty_config_studio/i18n.py +5 -5
  37. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.7.0}/src/pb_kitty_config_studio/locale/de/LC_MESSAGES/pb_kitty_config_studio.po +270 -36
  38. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.7.0}/src/pb_kitty_config_studio/locale/en/LC_MESSAGES/pb_kitty_config_studio.po +208 -31
  39. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.7.0}/src/pb_kitty_config_studio/locale/es/LC_MESSAGES/pb_kitty_config_studio.po +268 -36
  40. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.7.0}/src/pb_kitty_config_studio/locale/fr/LC_MESSAGES/pb_kitty_config_studio.po +216 -33
  41. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.7.0}/src/pb_kitty_config_studio/locale/it/LC_MESSAGES/pb_kitty_config_studio.po +270 -36
  42. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.7.0}/src/pb_kitty_config_studio/locale/ru/LC_MESSAGES/pb_kitty_config_studio.po +270 -36
  43. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.7.0}/src/pb_kitty_config_studio/locale/vi/LC_MESSAGES/pb_kitty_config_studio.po +268 -36
  44. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.7.0}/src/pb_kitty_config_studio/locale/zh_CN/LC_MESSAGES/pb_kitty_config_studio.po +255 -36
  45. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.7.0}/src/pb_kitty_config_studio/platform/auto_update.py +81 -29
  46. pbkittyconfigstudio-0.7.0/src/pb_kitty_config_studio/platform/xdg.py +48 -0
  47. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.7.0}/src/pb_kitty_config_studio/resources/__init__.py +46 -1
  48. pbkittyconfigstudio-0.7.0/src/pb_kitty_config_studio/resources/collapse-all.svg +1 -0
  49. pbkittyconfigstudio-0.7.0/src/pb_kitty_config_studio/resources/expand-all.svg +1 -0
  50. pbkittyconfigstudio-0.7.0/src/pb_kitty_config_studio/resources/help-config-options.svg +1 -0
  51. pbkittyconfigstudio-0.7.0/src/pb_kitty_config_studio/resources/help-user-manual.svg +1 -0
  52. pbkittyconfigstudio-0.7.0/src/pb_kitty_config_studio/resources/next.svg +1 -0
  53. pbkittyconfigstudio-0.7.0/src/pb_kitty_config_studio/resources/preferences-system.svg +1 -0
  54. pbkittyconfigstudio-0.7.0/src/pb_kitty_config_studio/resources/search.svg +1 -0
  55. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.7.0}/src/pb_kitty_config_studio/ui/about_dialog.py +7 -0
  56. pbkittyconfigstudio-0.7.0/src/pb_kitty_config_studio/ui/main_window.py +1210 -0
  57. pbkittyconfigstudio-0.7.0/src/pb_kitty_config_studio/ui/mapping_dialogs.py +348 -0
  58. pbkittyconfigstudio-0.7.0/src/pb_kitty_config_studio/ui/preferences_dialog.py +88 -0
  59. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.7.0}/tests/conftest.py +23 -1
  60. pbkittyconfigstudio-0.7.0/tests/fixtures/README.md +38 -0
  61. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.7.0}/tests/test_about_dialog.py +12 -0
  62. pbkittyconfigstudio-0.7.0/tests/test_actions.py +112 -0
  63. pbkittyconfigstudio-0.7.0/tests/test_app_settings.py +57 -0
  64. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.7.0}/tests/test_auto_update.py +138 -129
  65. pbkittyconfigstudio-0.7.0/tests/test_key_names.py +134 -0
  66. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.7.0}/tests/test_kitty_conf.py +24 -122
  67. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.7.0}/tests/test_main.py +35 -15
  68. pbkittyconfigstudio-0.7.0/tests/test_main_window.py +1347 -0
  69. pbkittyconfigstudio-0.7.0/tests/test_mapping_dialogs.py +233 -0
  70. pbkittyconfigstudio-0.7.0/tests/test_mappings.py +295 -0
  71. pbkittyconfigstudio-0.7.0/tests/test_preferences_dialog.py +134 -0
  72. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.7.0}/tests/test_resources.py +7 -0
  73. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.7.0}/tests/test_schema.py +19 -0
  74. pbkittyconfigstudio-0.7.0/tests/test_schema_builder_extract_actions.py +91 -0
  75. pbkittyconfigstudio-0.7.0/tests/test_schema_builder_extract_key_names.py +41 -0
  76. pbkittyconfigstudio-0.7.0/tests/test_schema_builder_kitty_python.py +84 -0
  77. pbkittyconfigstudio-0.7.0/tests/test_xdg.py +62 -0
  78. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.7.0}/tools/extract_changelog.py +12 -2
  79. pbkittyconfigstudio-0.3.0/CHANGELOG.md +0 -165
  80. pbkittyconfigstudio-0.3.0/CODING.md +0 -379
  81. pbkittyconfigstudio-0.3.0/hooks/pyi_rth_fonts.py +0 -49
  82. pbkittyconfigstudio-0.3.0/src/pb_kitty_config_studio/ui/main_window.py +0 -548
  83. pbkittyconfigstudio-0.3.0/tests/fixtures/README.md +0 -35
  84. pbkittyconfigstudio-0.3.0/tests/test_main_window.py +0 -488
  85. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.7.0}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
  86. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.7.0}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
  87. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.7.0}/.github/workflows/ci.yml +0 -0
  88. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.7.0}/.gitignore +0 -0
  89. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.7.0}/.markdownlint-cli2.yaml +0 -0
  90. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.7.0}/.pre-commit-config.yaml +0 -0
  91. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.7.0}/CLAUDE.md +0 -0
  92. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.7.0}/LICENSE +0 -0
  93. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.7.0}/babel.cfg +0 -0
  94. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.7.0}/pixi.lock +0 -0
  95. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.7.0}/schema_builder/extract_definition.py +0 -0
  96. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.7.0}/schema_builder/merge_schema.py +0 -0
  97. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.7.0}/schema_builder/rst_clean.py +0 -0
  98. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.7.0}/src/pb_kitty_config_studio/argparse_qt.py +0 -0
  99. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.7.0}/src/pb_kitty_config_studio/config/_babel_extractor.py +0 -0
  100. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.7.0}/src/pb_kitty_config_studio/core/__init__.py +0 -0
  101. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.7.0}/src/pb_kitty_config_studio/platform/__init__.py +0 -0
  102. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.7.0}/src/pb_kitty_config_studio/platform/desktop.py +0 -0
  103. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.7.0}/src/pb_kitty_config_studio/resources/cancel.svg +0 -0
  104. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.7.0}/src/pb_kitty_config_studio/resources/clear-all-data.svg +0 -0
  105. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.7.0}/src/pb_kitty_config_studio/resources/help-about.svg +0 -0
  106. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.7.0}/src/pb_kitty_config_studio/resources/pbkittyconfigstudio.icns +0 -0
  107. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.7.0}/src/pb_kitty_config_studio/resources/pbkittyconfigstudio.ico +0 -0
  108. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.7.0}/src/pb_kitty_config_studio/resources/pbkittyconfigstudio.png +0 -0
  109. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.7.0}/src/pb_kitty_config_studio/resources/previous.svg +0 -0
  110. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.7.0}/src/pb_kitty_config_studio/resources/quit.svg +0 -0
  111. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.7.0}/src/pb_kitty_config_studio/resources/refresh.svg +0 -0
  112. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.7.0}/src/pb_kitty_config_studio/resources/save-as.svg +0 -0
  113. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.7.0}/src/pb_kitty_config_studio/resources/save.svg +0 -0
  114. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.7.0}/src/pb_kitty_config_studio/ui/__init__.py +0 -0
  115. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.7.0}/src/pb_kitty_config_studio/ui/widgets.py +0 -0
  116. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.7.0}/tests/fixtures/kitty_default.conf +0 -0
  117. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.7.0}/tests/test_argparse_qt.py +0 -0
  118. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.7.0}/tests/test_babel_extractor.py +0 -0
  119. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.7.0}/tests/test_desktop.py +0 -0
  120. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.7.0}/tests/test_i18n.py +0 -0
  121. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.7.0}/tests/test_schema_builder_extract_definition.py +0 -0
  122. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.7.0}/tests/test_schema_builder_merge_schema.py +0 -0
  123. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.7.0}/tests/test_schema_builder_rst_clean.py +0 -0
  124. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.7.0}/tests/test_widgets.py +0 -0
  125. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.7.0}/tools/bump_version.py +0 -0
  126. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.7.0}/tools/fix_po_files.py +0 -0
  127. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.7.0}/tools/git_version.sh +0 -0
  128. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.7.0}/tools/po_check.py +0 -0
  129. {pbkittyconfigstudio-0.3.0 → pbkittyconfigstudio-0.7.0}/tools/update_icons.py +0 -0
@@ -0,0 +1,454 @@
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.7.0]](https://github.com/ppoilbarbe/PBKittyConfigStudio/compare/v0.6.0...v0.7.0) - 2026-11-29
9
+
10
+ ### Added
11
+
12
+ - Settings for the 8 options introduced by kitty 0.51.1:
13
+ `detect_url_regex` (URL Detection Regex), `hyperlink_target_position`
14
+ (Hyperlink Target Position), `render_interval` (Render Interval),
15
+ `gpu_driver` (GPU Drivers), `window_border_radius` (Border Radius),
16
+ `collapse_window_margins` (Collapse Window Margins),
17
+ `restore_session_after_logout` (Restore Session After Logout) and
18
+ `ime_preedit_style` (IME Pre-edit Style).
19
+ - "Default Bindings…" window: every tab is now split into collapsible
20
+ sections (one per kitty group, e.g. "Clipboard", "Scrolling"), collapsed
21
+ by default; clicking a section heading expands or collapses it
22
+ (`ui/main_window.py:_CollapsibleSectionsBrowser`). New "Expand All" /
23
+ "Collapse All" buttons in the search bar act on the current tab
24
+ (`resources/expand-all.svg`/`collapse-all.svg`, copied from PBIcons). A
25
+ search first expands the sections containing the searched text.
26
+ - "Default Bindings…" window: new "Key Names" tab, in English only, listing
27
+ every name kitty accepts in a mapping: modifiers and their aliases
28
+ (including `kitty_mod`, with the `kitty_mod` option's default), functional
29
+ keys grouped by family (navigation, function, keypad, media, modifier
30
+ keys pressed alone such as `left_super`), named characters (`plus`,
31
+ `space`…) and the other ways to name a key (plain characters, XKB names,
32
+ raw `0x` codes, `>` sequences). Its data, `config/key_names.json`, is
33
+ generated from kitty's own key-name tables by
34
+ `schema_builder/build_key_names.py` (`extract_key_names.py`), in the same
35
+ `make kitty-schema-skeleton` run as the other generated files.
36
+
37
+ ### Changed
38
+
39
+ - Generated data refreshed from kitty 0.51.1 (`84a6e2096`, previously
40
+ 0.48.2): `schema.json`, `actions.json` (new actions
41
+ `clear_bell_indicators`, `set_session`, `shader_event`,
42
+ `toggle_float_focus`, `toggle_floating_window`), `kitty_default.conf`
43
+ and `kitty_version.json`. The `repaint_delay`, `input_delay` and
44
+ `sync_to_monitor` settings are gone, removed by kitty
45
+ (`render_interval` replaces `repaint_delay` and `sync_to_monitor`).
46
+ - `core/mappings.py:default_bindings_html()` and
47
+ `core/actions.py:actions_reference_html()` are replaced by
48
+ `default_bindings_sections()`/`actions_reference_sections()`, returning
49
+ one `(title, body HTML)` pair per section instead of a single page.
50
+ - Links inside the "Default Bindings…" window's content now open in the
51
+ external browser.
52
+ - `schema_builder`: Go 1.27 (required by kitty's `go.mod`) and `fribidi`
53
+ (new kitty build dependency) in its pixi environment.
54
+
55
+ ### Fixed
56
+
57
+ - `make kitty-schema-skeleton` failed with `AttributeError: module
58
+ 'kitty.fast_data_types' has no attribute 'MOUSE_WHEEL_UP'` after kitty's
59
+ source was updated: `build_kitty.sh` reused any previously built
60
+ `fast_data_types` extension, even one compiled from older sources. It now
61
+ records the kitty commit each build was made from
62
+ (`kitty_source/.fast_data_types.build-commit`) and rebuilds when
63
+ `kitty_source` has moved to another commit.
64
+ - The Add/Edit Key Mapping dialog flagged any key combination ending with
65
+ a punctuation key (`ctrl+shift+)`, `kitty_mod+/`, `ctrl++`…) as invalid,
66
+ although kitty accepts any single character as a key. It also no longer
67
+ warns while a combination is still being typed (`kitty_mod+`, `ctrl+x>`).
68
+
69
+ ## [[0.6.0]](https://github.com/ppoilbarbe/PBKittyConfigStudio/compare/v0.5.0...v0.6.0) - 2026-08-28
70
+
71
+ ### Added
72
+
73
+ - **Preferences** dialog (`ui/preferences_dialog.py`), opened from a new
74
+ File > Preferences… menu action (`resources/preferences-system.svg`,
75
+ copied from PBIcons, bound to `Ctrl+,` — not
76
+ `QKeySequence.StandardKey.Preferences`, which on a Linux desktop with no
77
+ window-manager-defined `Ctrl+,` binding falls back to the XF86Settings
78
+ multimedia key and its oddly-localized display name): language override
79
+ (replaces the old top-level "&Language" menu) and logging verbosity
80
+ (`ERROR`/`WARNING`/`INFO`/`DEBUG`, default `INFO`).
81
+ - `MainWindow` and the "Default Bindings…" reference window now remember
82
+ their position and size across restarts, saved on close and restored on
83
+ next launch (`app_settings.py`:
84
+ `save_window_geometry()`/`load_window_geometry()`).
85
+ - `platform/xdg.py`: standard per-platform user config directory
86
+ (`$XDG_CONFIG_HOME/pbkittyconfigstudio` on Linux, `~/Library/Application
87
+ Support/PBKittyConfigStudio` on macOS, `%APPDATA%\PBKittyConfigStudio` on
88
+ Windows), independent of Qt's own org/app-name-based resolution.
89
+ - Icons and F1/F2 keyboard shortcuts on the Help menu's "kitty
90
+ Documentation" and "kitty Options Reference" actions
91
+ (`resources/help-user-manual.svg`/`help-config-options.svg`, copied from
92
+ PBIcons).
93
+ - Two toolbars, sharing their `QAction`s with the menus (`MainWindow.
94
+ _build_toolbars()`): Quit / Save / Save As… / Reread File / Restore
95
+ Default Configuration… / Preferences…, and kitty Documentation / kitty
96
+ Options Reference.
97
+ - Quitting (Quit action, toolbar, or closing the window) with unsaved
98
+ changes — to either settings or key/mouse mappings — now asks for
99
+ confirmation instead of silently discarding them
100
+ (`MainWindow._has_unsaved_changes()`/`closeEvent()`).
101
+ - A search bar in the "Default Bindings…" reference window (search field +
102
+ Search/Previous/Next toolbuttons, sized from
103
+ `QStyle.PixelMetric.PM_ToolBarIconSize` like the setting-row revert/reset
104
+ buttons — `resources/search.svg`/`next.svg`, copied from PBIcons;
105
+ `previous.svg` reused from the revert button): searches the currently
106
+ visible tab's text and selects a match, wrapping circularly at the
107
+ start/end of the document. When nothing matches, reports it in a dialog
108
+ and disables the Previous/Next buttons until the query changes or a
109
+ search succeeds.
110
+
111
+ ### Changed
112
+
113
+ - Application settings (language override, and now window geometry and log
114
+ level) are stored under the platform's standard config directory instead
115
+ of `~/.config/cardolan/` on Linux — see `app_settings.py`/`platform/xdg.py`.
116
+ - Log messages now use the `AAAA-MM-JJ HH:MM:SS niveau message` format
117
+ (previously `HH:MM:SS niveau nom: message`), and default to `INFO`
118
+ instead of `WARNING` — the CLI's remaining one-shot `print()` calls
119
+ (`--auto-update`, `--install-desktop-entry`/`--uninstall-desktop-entry`,
120
+ the schema-not-curated startup error) are now logged at `INFO` instead.
121
+ - A setting row's revert/reset `QToolButton` icons now size themselves from
122
+ `QStyle.PixelMetric.PM_ToolBarIconSize` (matching the new toolbars, and
123
+ the current theme/OS) instead of a hardcoded 24x24.
124
+
125
+ ### Fixed
126
+
127
+ - The Add/Edit Key/Mouse Mapping dialogs no longer block the separate
128
+ "Default Bindings…" reference window — they were application-modal
129
+ (`QDialog.exec()`'s default), which also blocked *every* other window in
130
+ the app, defeating the point of keeping that window open to copy from
131
+ while filling the dialog in. Switching the dialogs to window-modal alone
132
+ wasn't enough: Qt's window-modal blocking also covers the whole owned
133
+ sub-tree of the blocked window, and the reference window was a Qt child
134
+ of `MainWindow` — it no longer is (`MainWindow` still owns and closes it
135
+ explicitly, from `closeEvent()`, since Qt won't do that automatically
136
+ anymore).
137
+
138
+ ## [[0.5.0]](https://github.com/ppoilbarbe/PBKittyConfigStudio/compare/v0.4.1...v0.5.0) - 2026-08-27
139
+
140
+ ### Added
141
+
142
+ - New **Mappings** tab, alongside the existing Options tab: lists the
143
+ active `map`/`mouse_map` lines from `kitty.conf` (`core/mappings.py`:
144
+ `parse_key_mappings()`/`parse_mouse_mappings()`,
145
+ `apply_key_mappings()`/`apply_mouse_mappings()`), with Add…/Edit…/Remove
146
+ buttons opening specialized dialogs (`ui/mapping_dialogs.py`:
147
+ `KeyMappingDialog`/`MouseMappingDialog`) instead of the generic
148
+ multi-line text editor used for other repeatable settings — a key-combo
149
+ field with non-blocking syntax hinting
150
+ (`mappings.looks_like_key_spec()`), an editable action-name combo box
151
+ pre-filled with common kitty actions, tooltips on every field, and a
152
+ "Help" button opening kitty's actions documentation.
153
+ - "Default Bindings…" button on each Mappings sub-page, opening a single
154
+ non-modal, singleton reference window (`ui/main_window.py`:
155
+ `_DefaultBindingsWindow`) with three tabs: **Keyboard Shortcuts** and
156
+ **Mouse** (kitty's compiled-in default bindings, parsed from the
157
+ commented example config into real, copy-pasteable HTML —
158
+ `core/mappings.py:default_bindings_html()`) and **Actions** (every
159
+ kitty action's description, from a new
160
+ `schema_builder/build_actions.py` pipeline — see below —
161
+ `core/actions.py:actions_reference_html()`).
162
+ - `schema_builder/extract_actions.py` / `build_actions.py`: a third
163
+ generated data file, `config/actions.json` (142 actions across 11
164
+ groups on the kitty revision this was generated from), extracted from
165
+ kitty's own `kitty.actions.get_all_actions()` registry, RST-cleaned to
166
+ HTML at generation time (`rst_clean.clean_long_text()`) so the runtime
167
+ app never has to parse RST.
168
+ - `schema_builder/build_default_config.py`: a fourth generated file,
169
+ `config/kitty_default.conf` — kitty's own pristine, fully-commented
170
+ example `kitty.conf` (`kitty.config.commented_out_default_config()`),
171
+ captured once at schema-generation time instead of queried from an
172
+ installed `kitty` at runtime (see "Changed" below). The same script also
173
+ writes `config/kitty_version.json` (`{"version", "revision"}`, from
174
+ `kitty.constants.str_version` and a `git rev-parse --short HEAD` on
175
+ `kitty_source`) — the exact kitty revision `schema.json`/`actions.json`/
176
+ `kitty_default.conf` were all generated from, so the three can never
177
+ drift apart by having been captured from different kitty versions.
178
+ - About dialog: a "Settings based on kitty:" row showing that version and
179
+ revision (e.g. "0.48.2 (6d5d0c440)").
180
+ - `schema_builder/kitty_python.py`: the re-exec-under-kitty's-bundled-
181
+ Python logic, extracted out of `build_schema.py` and shared with the two
182
+ new `build_actions.py`/`build_default_config.py` scripts.
183
+
184
+ ### Changed
185
+
186
+ - `core/kitty_conf.py:generate_default_config()` no longer queries an
187
+ installed `kitty` at runtime at all (previously: a throwaway `kitty`
188
+ window driven over remote control, then later `kitty +runpy`) — it now
189
+ reads the `config/kitty_default.conf` file bundled at build time (see
190
+ "Added" above), read once per process and cached. Both "Restore Default
191
+ Configuration…" and the Mappings tab's "Default Bindings…" window are
192
+ therefore no longer gated on a locally installed `kitty` and are always
193
+ enabled.
194
+ - The revert-to-saved-value/reset-to-default icon buttons on each setting
195
+ row are larger (14×14 → 24×24 icons) for legibility.
196
+ - `MainWindow`'s minimum width is now computed from the actual rendered
197
+ width every settings row needs to show its label and status/key badges
198
+ without a horizontal scrollbar (`_apply_minimum_window_width()`,
199
+ measured from real widget metrics at first show — font/DPI/style/
200
+ translation-aware, not a hardcoded pixel guess), capped at 75% of the
201
+ screen's available width (`_MAX_MINIMUM_WIDTH_SCREEN_FRACTION`) so an
202
+ unusually long translation can't demand a window wider than the screen.
203
+
204
+ ### Fixed
205
+
206
+ - A setting row's key/status badges stretched taller than their natural
207
+ height whenever that row's revert/reset buttons were visible (the
208
+ `QHBoxLayout` header stretched every child to the row's tallest item) —
209
+ now vertically centered instead.
210
+ - A long, unwrappable `<pre>` block in a setting's description (e.g.
211
+ `scrollback_pager`'s neovim example) forced its `QLabel`'s
212
+ `minimumSizeHint()` to ~900px despite word-wrap being enabled (which
213
+ `minimumSizeHint()` ignores), which in turn forced the *entire*
214
+ scrollable settings page never to shrink narrower than that — every
215
+ other row's buttons/badges got clipped off the visible edge on a
216
+ narrower window even though there was visible space for them. The
217
+ description label now uses an `Ignored` horizontal size policy so long
218
+ content wraps within whatever width it's actually given instead of
219
+ dictating it.
220
+
221
+ ### Removed
222
+
223
+ - `core/kitty_conf.py:kitty_available()` — no longer needed now that
224
+ nothing queries an installed `kitty` at runtime.
225
+
226
+ ## [[0.4.1]](https://github.com/ppoilbarbe/PBKittyConfigStudio/compare/v0.4.0...v0.4.1) - 2026-08-26
227
+
228
+ ### Changed
229
+
230
+ - `--auto-update` no longer queries the `api.github.com` JSON API to find
231
+ the latest release, which is capped at 60 anonymous requests/hour shared
232
+ across everyone behind the same source IP and easy to exhaust with no
233
+ per-user token to raise it. It now resolves the latest tag via the
234
+ redirect on `github.com/<repo>/releases/latest` (not subject to that
235
+ limit) and constructs the asset download URL directly from the known
236
+ `pbkittyconfigstudio-<version>-<os>-<arch>` naming convention, probed
237
+ with a `HEAD` request instead of listed from the API response.
238
+
239
+ ### Fixed
240
+
241
+ - Linux PyInstaller builds still printed fontconfig's "Unable to revert
242
+ mtime" warning on every launch after 0.4.0's `<cachedir>` fix, for
243
+ read-only, root-owned font directories such as distro-packaged
244
+ `msttcorefonts`: the warning comes from a separate mechanism — a
245
+ per-directory `.uuid` cache-key marker file that fontconfig writes
246
+ *inside* the scanned directory itself (not in `<cachedir>`), then tries
247
+ to revert that directory's mtime afterwards. The bundled fontconfig
248
+ (conda-forge, newer) treats the marker already written there by the
249
+ distro's own (older) fontconfig as stale and retries writing it on every
250
+ launch, failing every time since the app has no write access to a
251
+ root-owned directory. The runtime hook now silences stderr around the
252
+ forced `FcInit()` re-scan that triggers this, since it's cosmetic and
253
+ can't be fixed without ownership of the directory.
254
+
255
+ ## [[0.4.0]](https://github.com/ppoilbarbe/PBKittyConfigStudio/compare/v0.3.0...v0.4.0) - 2026-08-26
256
+
257
+ ### Changed
258
+
259
+ - `--auto-update`'s release-asset lookup no longer falls back to the old
260
+ PascalCase `PBKittyConfigStudio-` prefix — that fallback was added when
261
+ the executable was renamed to lowercase, but no lowercase-named release
262
+ had been published yet at that point, so there was no pre-rename install
263
+ it could ever have helped. `_ASSET_PREFIXES` keeps the ordered-list
264
+ lookup mechanism (a future rename can still prepend its new prefix ahead
265
+ of the current one), just with a single entry for now.
266
+
267
+ ### Fixed
268
+
269
+ - Saving a setting could silently kill the running PyInstaller-built
270
+ executable instead of reloading kitty: the hot-reload signal was sent
271
+ with `pkill -USR1 kitty`, which matches by substring against the
272
+ process name by default — `pbkittyconfigstudio` truncates to
273
+ `pbkittyconfigst` on Linux (15-character `comm` limit), which itself
274
+ contains `kitty`, so the app also signalled itself. `SIGUSR1` has no
275
+ handler installed and terminates a process by default, producing "User
276
+ defined signal 1" and exiting. `reload_kitty()` now uses `pkill -USR1 -x
277
+ kitty` (exact name match).
278
+ - `--auto-update` failed to validate GitHub's TLS certificate on any
279
+ machine other than the one it was built on:
280
+ `ssl.get_default_verify_paths()` resolves to a CA bundle path hardcoded
281
+ into the build machine's conda environment at OpenSSL compile time
282
+ (e.g. `.../envs/default/ssl/cert.pem`), which doesn't exist elsewhere,
283
+ and `SSL_CERT_FILE`/`SSL_CERT_DIR` aren't set to compensate. `certifi`'s
284
+ CA bundle is now bundled as a data file and used explicitly to build the
285
+ SSL context for every HTTPS request in `platform/auto_update.py`,
286
+ independent of the target machine's own certificate store.
287
+ - Linux PyInstaller builds could print fontconfig's "Unable to revert
288
+ mtime" warning on every single launch instead of just the first: the
289
+ runtime hook's generated `fonts.conf` never declared a `<cachedir>`, so
290
+ fontconfig fell back to its own default cache location (typically the
291
+ root-owned `/var/cache/fontconfig`, not writable), forcing a full
292
+ re-scan of every font directory — including read-only, root-owned ones
293
+ such as distro-packaged `msttcorefonts` — on every run instead of
294
+ reusing a persisted cache. The generated `fonts.conf` now points
295
+ `<cachedir>` at `$XDG_CACHE_HOME/fontconfig` (or `~/.cache/fontconfig`).
296
+
297
+ ## [[0.3.0]](https://github.com/ppoilbarbe/PBKittyConfigStudio/compare/v0.2.0...v0.3.0) - 2026-08-25
298
+
299
+ ### Changed
300
+
301
+ - PyInstaller executable and source-archive names are now lowercase
302
+ (`pbkittyconfigstudio-<version>-<os>-<arch>`), for consistency with the
303
+ other PB* tools — previously `PBKittyConfigStudio-…`. `--auto-update`
304
+ looks up release assets under the new prefix first, falling back to the
305
+ old `PBKittyConfigStudio-` prefix so a pre-rename install can still find
306
+ and download its update.
307
+
308
+ ### Fixed
309
+
310
+ - Linux PyInstaller builds: bundled fonts were resolved through a
311
+ fontconfig config file containing absolute paths hardcoded to the build
312
+ machine's environment, which don't exist on the target machine —
313
+ fontconfig failed to find its config there and Qt fell back to an
314
+ illegible default font. Fonts are now registered directly with
315
+ `QFontDatabase.addApplicationFont` (bypassing fontconfig entirely), with
316
+ the application font forced to Ubuntu; a PyInstaller runtime hook
317
+ (`hooks/pyi_rth_fonts.py`) also regenerates a portable `fonts.conf` at
318
+ startup so other rendering settings (anti-aliasing, hinting, …) are still
319
+ inherited from the target system.
320
+
321
+ ## [[0.2.0]](https://github.com/ppoilbarbe/PBKittyConfigStudio/compare/v0.1.1...v0.2.0) - 2026-08-21
322
+
323
+ ### Added
324
+
325
+ - German, Spanish, Italian, Russian, Vietnamese and Simplified Chinese
326
+ translations (`de`, `es`, `it`, `ru`, `vi`, `zh_CN`), alongside the
327
+ existing English and French catalogues. Every translated string is
328
+ tagged `# ==AUTO== Automatically translated` pending human review (see
329
+ `CLAUDE.md`'s new "I18n" section); `grep -r "==AUTO=="` lists what's
330
+ still pending.
331
+ - Per-row "revert to saved value" button (`previous.svg`, next to the
332
+ existing "reset to default" one): restores just that setting to the
333
+ value currently on disk, without rereading the whole file and losing
334
+ other unsaved edits (`core/kitty_conf.py:values_equal()`,
335
+ `ui/main_window.py:_SettingRow`).
336
+ - `config/schema.json` now has a top-level `information` section (sibling
337
+ of `groups`), always regenerated fresh from kitty by
338
+ `schema_builder/extract_definition.py`: `total_parameters_detected` (every
339
+ `Option`/`MultiOption` kitty declares, kept + ignored) and
340
+ `ignored_parameters` (the names of the undocumented `Option`s skipped,
341
+ e.g. the 240 `color16`..`color255` slots). See `CODING.md`.
342
+ - The sidebar is now a tree instead of a flat category list: a subgroup
343
+ (e.g. "Color scheme"'s color table, "Mouse"'s mouse actions) is a child
344
+ node with its own settings page, rather than being folded into its
345
+ parent's page as an inline section. A category with a large subgroup no
346
+ longer turns into one giant scrolling page burying that subgroup's
347
+ settings far below the fold — each is now a direct, one-click sidebar
348
+ destination.
349
+ - `tests/fixtures/kitty_default.conf`: a frozen, real snapshot of kitty's
350
+ own generated example configuration, used to test
351
+ `parse_config()`/`apply_settings()` against realistic content (mixed
352
+ active/commented/bare-marker/`#:`-documentation lines) instead of only
353
+ hand-written snippets — a static asset, not regenerated in CI. See
354
+ `tests/fixtures/README.md` and `CODING.md`.
355
+
356
+ ### Changed
357
+
358
+ - Reworded the French about-dialog credits line, which repeated "kitty"
359
+ twice and read awkwardly ("... l'équipe de développement de kitty pour
360
+ le terminal kitty ...").
361
+
362
+ ### Fixed
363
+
364
+ - `language_name` for the English catalogue was left as the literal
365
+ string `"language_name"` instead of `"English"`, so the language
366
+ selector showed the raw code `en` instead of a name like every other
367
+ language.
368
+ - A setting whose only existing line was a bare `# key` marker with no
369
+ value at all (kitty's own generated example config writes these for
370
+ settings with no meaningful default to show, e.g. `# symbol_map`, `# env`
371
+ — 14 such settings in total) was written at the *end* of the file
372
+ instead of replacing that marker in place: the regex locating the line
373
+ to rewrite required at least one value after the key, so it never
374
+ matched a bare marker (`core/kitty_conf.py:_line_regex_for()` /
375
+ `_all_lines_regex_for()`).
376
+ - `pyproject.toml`'s `[project.urls]` pointed `Homepage` at kitty's own
377
+ repository instead of this project's (copy-paste leftover) — PyPI showed
378
+ the wrong project link. Added `Repository`/`Issues` alongside it.
379
+
380
+ ## [[0.1.1]](https://github.com/ppoilbarbe/PBKittyConfigStudio/compare/v0.1.0...v0.1.1) - 2026-08-21
381
+
382
+ ### Fixed
383
+
384
+ - PyInstaller Linux build: `--auto-update` (and any other HTTPS request)
385
+ failed with `error: could not reach GitHub: <urlopen error unknown url
386
+ type: https>`. PyInstaller's automatic shared-library resolution picked
387
+ up the *system* `libssl.so.3`/`libcrypto.so.3` (registered in ldconfig's
388
+ cache) instead of the pixi/conda environment's own copy that Python's
389
+ `_ssl` extension was actually built against (only reachable via its
390
+ RPATH) — silently bundling an older OpenSSL missing symbol versions
391
+ `_ssl` needs, which made `import ssl` fail and left `urllib` with no
392
+ HTTPS support at all. `PBKittyConfigStudio.spec` now force-includes the
393
+ environment's own `libssl.so.3`/`libcrypto.so.3` explicitly on Linux.
394
+
395
+ ## [0.1.0] - 2026-08-21
396
+
397
+ ### Added
398
+
399
+ - Initial PySide6 desktop application for configuring kitty's `kitty.conf`.
400
+ - Declarative settings schema (`config/schema.py`) covering ~70 kitty
401
+ settings across 8 categories: fonts, cursor, scrolling & mouse, colors,
402
+ window layout, tab bar, bell, advanced and performance.
403
+ - Non-destructive `kitty.conf` read/write: targeted regex updates, timestamped
404
+ backup before every save, best-effort hot-reload via `SIGUSR1`.
405
+ - Gettext-based i18n (pybabel) with English and French catalogues.
406
+ - pixi-managed development environment and `Makefile` (venv, translate,
407
+ new-lang, test, lint, format, dist, srcdist, version bumping).
408
+ - PyInstaller packaging (`PBKittyConfigStudio.spec`).
409
+ - `schema_builder/`: a standalone tool, decoupled from `src/`, that clones
410
+ and builds kitty from source and regenerates
411
+ `config/schema.json` directly from kitty's own
412
+ `kitty.options.definition.definition` object — `schema_builder/build_kitty.sh`
413
+ / `make kitty-schema-skeleton`. RST descriptions are cleaned to HTML
414
+ (`rst_clean.py`); the real option/group tree is merged with the app's
415
+ current schema (`merge_schema.py`), carrying over curator-owned fields
416
+ (`icon`, `app_type`, `label`) and marking anything new `"UNKNOWN"`.
417
+ - The settings schema covers **~237 kitty settings across 12 categories**,
418
+ mirroring kitty's own grouping — including a subgroup for the color table
419
+ and one for mouse actions, rendered as in-page subsections.
420
+ - `config/__init__.py`: a startup guard (`SchemaNotCuratedError`) that
421
+ refuses to load a schema still containing the literal string `"UNKNOWN"`
422
+ anywhere, with a message listing every offending field — forces new
423
+ settings introduced by a kitty update to be curated before the app runs.
424
+ - `ui/widgets.py`: a multi-line list editor (`MultiLineSettingWidget`) for
425
+ repeatable settings (`font_features`, `modify_font`, and any other
426
+ `multi`-valued kitty setting).
427
+ - `ui/main_window.py`: a search box filtering settings by name/label across
428
+ every category, and a "default"/"modified" badge per row.
429
+ - `core/kitty_conf.py`: support for multi-value settings (every existing
430
+ line for a key is replaced by the full current set); a value equal to its
431
+ schema default is now written back as a commented-out line instead of an
432
+ active one (`kitty_conf.is_default_value()`, shared with the UI badge).
433
+ - `config/_babel_extractor.py`: a dedicated pybabel extraction method for
434
+ `schema.json` (group `title`, option `label`).
435
+ - `CODING.md`: developer-facing documentation of the schema generation/
436
+ curation pipeline, the `kitty.conf` read/write rules, and the i18n setup.
437
+ - "Restore Default Configuration…" File menu action: regenerates kitty's own
438
+ pristine, fully-commented example `kitty.conf` (by launching a throwaway
439
+ `kitty` instance and driving its remote-control `edit_config_file`
440
+ action, `core/kitty_conf.py:generate_default_config()`), then backs up and
441
+ overwrites the current file after a confirmation dialog. Disabled when no
442
+ `kitty` executable is found on `PATH` (`kitty_conf.kitty_available()`).
443
+ - PyInstaller executables carry the OS-level app icon: `.ico` embedded
444
+ in the Windows `EXE`, `.icns` in the macOS `.app` `BUNDLE`
445
+ (`PBKittyConfigStudio.spec`).
446
+ - `tools/update_icons.py` / `make update-icons`: syncs every bundled icon
447
+ (`resources/*.svg`, the app `.png`/`.ico`/`.icns`) from the `PBIcons`
448
+ project — a local sibling checkout if present, else GitHub.
449
+ - PyPI publishing: `make pypi-build` / `publish-pypi` / `publish-testpypi` /
450
+ `verify-pypi` / `verify-testpypi` targets (`build`/`twine`, see
451
+ `CODING.md`'s "Publishing to PyPI").
452
+ - `.markdownlint-cli2.yaml`: disables MD013 line-length checking for table
453
+ rows only (unwrappable without breaking table syntax), keeping the
454
+ 80-column limit for prose.