From 3120fa3c77e9b31530b9994cac9e06a713d04f94 Mon Sep 17 00:00:00 2001 From: Benoit Pierre Date: Sun, 15 May 2022 01:27:59 +0200 Subject: [PATCH] release 4.0.0.dev11 --- NEWS.md | 76 +++++++++++++++++++++++++++++++++++ news.d/api/1332.break.md | 4 -- news.d/api/1362.break.md | 1 - news.d/api/1375.break.md | 1 - news.d/api/1501.break.md | 1 - news.d/bugfix/1351.ui.md | 1 - news.d/bugfix/1364.core.md | 8 ---- news.d/bugfix/1365.core.md | 8 ---- news.d/bugfix/1375.core.md | 1 - news.d/bugfix/1388.core.md | 1 - news.d/bugfix/1420.ui.md | 1 - news.d/bugfix/1422.ui.md | 1 - news.d/bugfix/1463.dict.md | 1 - news.d/bugfix/1481.ui.md | 1 - news.d/bugfix/1495.windows.md | 1 - news.d/bugfix/1504.core.md | 1 - news.d/bugfix/1507.core.md | 1 - news.d/bugfix/1507.windows.md | 1 - news.d/bugfix/1508.windows.md | 1 - news.d/bugfix/1512.core.md | 1 - news.d/feature/1308.ui.md | 6 --- news.d/feature/1332.ui.md | 6 --- news.d/feature/1333.ui.md | 1 - news.d/feature/1362.core.md | 1 - news.d/feature/1362.ui.md | 3 -- news.d/feature/1364.core.md | 1 - news.d/feature/1365.core.md | 1 - news.d/feature/1391.core.md | 1 - news.d/feature/1417.core.md | 1 - news.d/feature/1434.ui.md | 6 --- news.d/feature/1451.ui.md | 6 --- news.d/feature/1452.core.md | 1 - news.d/feature/1491.core.md | 1 - news.d/feature/1496.linux.md | 1 - news.d/feature/1498.linux.md | 1 - news.d/feature/1501.ui.md | 3 -- news.d/feature/1513.core.md | 1 - plover/__init__.py | 2 +- 38 files changed, 77 insertions(+), 78 deletions(-) delete mode 100644 news.d/api/1332.break.md delete mode 100644 news.d/api/1362.break.md delete mode 100644 news.d/api/1375.break.md delete mode 100644 news.d/api/1501.break.md delete mode 100644 news.d/bugfix/1351.ui.md delete mode 100644 news.d/bugfix/1364.core.md delete mode 100644 news.d/bugfix/1365.core.md delete mode 100644 news.d/bugfix/1375.core.md delete mode 100644 news.d/bugfix/1388.core.md delete mode 100644 news.d/bugfix/1420.ui.md delete mode 100644 news.d/bugfix/1422.ui.md delete mode 100644 news.d/bugfix/1463.dict.md delete mode 100644 news.d/bugfix/1481.ui.md delete mode 100644 news.d/bugfix/1495.windows.md delete mode 100644 news.d/bugfix/1504.core.md delete mode 100644 news.d/bugfix/1507.core.md delete mode 100644 news.d/bugfix/1507.windows.md delete mode 100644 news.d/bugfix/1508.windows.md delete mode 100644 news.d/bugfix/1512.core.md delete mode 100644 news.d/feature/1308.ui.md delete mode 100644 news.d/feature/1332.ui.md delete mode 100644 news.d/feature/1333.ui.md delete mode 100644 news.d/feature/1362.core.md delete mode 100644 news.d/feature/1362.ui.md delete mode 100644 news.d/feature/1364.core.md delete mode 100644 news.d/feature/1365.core.md delete mode 100644 news.d/feature/1391.core.md delete mode 100644 news.d/feature/1417.core.md delete mode 100644 news.d/feature/1434.ui.md delete mode 100644 news.d/feature/1451.ui.md delete mode 100644 news.d/feature/1452.core.md delete mode 100644 news.d/feature/1491.core.md delete mode 100644 news.d/feature/1496.linux.md delete mode 100644 news.d/feature/1498.linux.md delete mode 100644 news.d/feature/1501.ui.md delete mode 100644 news.d/feature/1513.core.md diff --git a/NEWS.md b/NEWS.md index 11c83a5f1..977529ff7 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,79 @@ +# v4.0.0.dev11 (2022-05-15) + +## Features + +### Core + +- Switch to `plover_stroke` for better steno handling: faster and stricter. (#1362, #1417, #1452) +- New faster and improved RTF/CRE parser. (#1364, #1365) +- Correctly handle formatting currency with thousands separator(s): `23,000.15{:retro_currency:$c}` => `$23,000.15`. (#1391) +- Improve “English stenotype” system compatibility with RTF/CRE spec: support arbitrary placement of the number sign when parsing steno (e.g. `18#`, `#18`, and `1#8` are all valid and equivalent). (#1491) +- Improve translation stage: cut down on unnecessary / duplicate dictionary lookups. (#1513) + +### User Interface + +- Improve accessibility: + - Disable tab-key navigation in tables, so focusing a table does not lock global tab-key navigation to it. + - Remove some container widgets, tweak focus rules to avoid extra unnecessary steps when using tab-key navigation (like selecting the dictionaries widget outer frame). + - In form layouts, link each widget to its label (like each option in the configuration dialog). + - Set the accessible name / description of focusable widgets. + - Use lists for the dictionaries widget, suggestions widget, and the paper tape. (#1308, #1332, #1434, #1451) +- Show a message when hiding to tray. (#1333) +- Improved steno handling: + - validate inputs in the "add translation" dialog and dictionary editor + - sort on steno order in the dictionary editor, and signal invalid steno entries (#1362, #1501) + +### Linux + +- Improve D-Bus logger implementation. (#1496) +- Add `WM_CLASS` property to windows (`WM_CLASS(STRING) = "plover", "Plover"`). (#1498) + +## Bugfixes + +### Core + +- New reworked RTF/CRE support: + - correctly handle multi-lines mappings + - detect syntax errors (with recovery) + - use `\n\n` for new paragraphs (instead of non-undoable `{#Return}{#Returns}`) + - similarly, use `\t` and `\n` for `\tab` and `\line` + - correctly escape `{}\` on save + - use custom ignored groups for Plover macros and metas + - use groups to improve round-tripping affixes (so there's no ambiguity when parsing back, e.g. `{^in^}fix` -> `{\cxds in \cxds}fix` instead of `\cxds in\cxds fix`) (#1364, #1365) +- Fixed a memory leak on reloading externally modified dictionaries. (#1375) +- Do not discard existing filters on dictionaries reload. (#1388) +- Fix engine's running state: make sure the translator' state is empty when enabling output for the first time. (#1504) +- Fix exit handlers not getting always executed. (#1507) +- Fix `StenoDictionaryCollection.longest_key` implementation: ignore disabled dictionaries! (#1512) + +### Dictionaries + +- Fix `KHR*PB` stroke to not be misinterpreted as a command. (#1463) + +### User Interface + +- Speedup dictionary editor startup (avoid duplicate sort). (#1351) +- Updated Spanish translation. (#1420) +- Updated French translation. (#1422) +- Speedup suggestions widget implementation: should noticeably improve performance when there's a large scrollback. (#1481) + +### Windows + +- Drop launch option from installer's final page: avoid possible issues (e.g. permission errors with the controller's pipe) because Plover was run as admin. (#1495) +- Fix notifications behavior: no persistent duplicated icons (one for each notification). (#1507, #1508) + +## API + +### Breaking Changes + +- The custom `test` command implementation provided by `plover_build_utils.setup.Test` has been removed: + - support for it on setuptools' side has been deprecated since version 41.5.0 + - the custom handling of arguments conflicts with the use of some pytest options (e.g. `-m MARKEXPR`) + - the workaround for pytest cache handling is not necessary anymore (#1332) +- The `steno` helpers (`Stroke` class, `normalize_stroke`, …) now raise a `ValueError` exception in case of invalid steno. (#1362, #1501) +- The support for `StenoDictionary` and `StenoDictionaryCollection` longest key callbacks is gone, use the `longest_key` properties instead. (#1375) + + # v4.0.0.dev10 (2021-06-19) ## Features diff --git a/news.d/api/1332.break.md b/news.d/api/1332.break.md deleted file mode 100644 index 268a01cfd..000000000 --- a/news.d/api/1332.break.md +++ /dev/null @@ -1,4 +0,0 @@ -The custom `test` command implementation provided by `plover_build_utils.setup.Test` has been removed: -- support for it on setuptools' side has been deprecated since version 41.5.0 -- the custom handling of arguments conflicts with the use of some pytest options (e.g. `-m MARKEXPR`) -- the workaround for pytest cache handling is not necessary anymore diff --git a/news.d/api/1362.break.md b/news.d/api/1362.break.md deleted file mode 100644 index e266f994a..000000000 --- a/news.d/api/1362.break.md +++ /dev/null @@ -1 +0,0 @@ -The `steno` helpers (`Stroke` class, `normalize_stroke`, …) now raise a `ValueError` exception in case of invalid steno. diff --git a/news.d/api/1375.break.md b/news.d/api/1375.break.md deleted file mode 100644 index 0f256d8eb..000000000 --- a/news.d/api/1375.break.md +++ /dev/null @@ -1 +0,0 @@ -The support for `StenoDictionary` and `StenoDictionaryCollection` longest key callbacks is gone, use the `longest_key` properties instead. diff --git a/news.d/api/1501.break.md b/news.d/api/1501.break.md deleted file mode 100644 index e266f994a..000000000 --- a/news.d/api/1501.break.md +++ /dev/null @@ -1 +0,0 @@ -The `steno` helpers (`Stroke` class, `normalize_stroke`, …) now raise a `ValueError` exception in case of invalid steno. diff --git a/news.d/bugfix/1351.ui.md b/news.d/bugfix/1351.ui.md deleted file mode 100644 index deb3dea8a..000000000 --- a/news.d/bugfix/1351.ui.md +++ /dev/null @@ -1 +0,0 @@ -Speedup dictionary editor startup (avoid duplicate sort). diff --git a/news.d/bugfix/1364.core.md b/news.d/bugfix/1364.core.md deleted file mode 100644 index 5e8ef0bcb..000000000 --- a/news.d/bugfix/1364.core.md +++ /dev/null @@ -1,8 +0,0 @@ -New reworked RTF/CRE support: -- correctly handle multi-lines mappings -- detect syntax errors (with recovery) -- use `\n\n` for new paragraphs (instead of non-undoable `{#Return}{#Returns}`) -- similarly, use `\t` and `\n` for `\tab` and `\line` -- correctly escape `{}\` on save -- use custom ignored groups for Plover macros and metas -- use groups to improve round-tripping affixes (so there's no ambiguity when parsing back, e.g. `{^in^}fix` -> `{\cxds in \cxds}fix` instead of `\cxds in\cxds fix`) diff --git a/news.d/bugfix/1365.core.md b/news.d/bugfix/1365.core.md deleted file mode 100644 index 5e8ef0bcb..000000000 --- a/news.d/bugfix/1365.core.md +++ /dev/null @@ -1,8 +0,0 @@ -New reworked RTF/CRE support: -- correctly handle multi-lines mappings -- detect syntax errors (with recovery) -- use `\n\n` for new paragraphs (instead of non-undoable `{#Return}{#Returns}`) -- similarly, use `\t` and `\n` for `\tab` and `\line` -- correctly escape `{}\` on save -- use custom ignored groups for Plover macros and metas -- use groups to improve round-tripping affixes (so there's no ambiguity when parsing back, e.g. `{^in^}fix` -> `{\cxds in \cxds}fix` instead of `\cxds in\cxds fix`) diff --git a/news.d/bugfix/1375.core.md b/news.d/bugfix/1375.core.md deleted file mode 100644 index 147313edc..000000000 --- a/news.d/bugfix/1375.core.md +++ /dev/null @@ -1 +0,0 @@ -Fixed a memory leak on reloading externally modified dictionaries. diff --git a/news.d/bugfix/1388.core.md b/news.d/bugfix/1388.core.md deleted file mode 100644 index af48b596f..000000000 --- a/news.d/bugfix/1388.core.md +++ /dev/null @@ -1 +0,0 @@ -Do not discard existing filters on dictionaries reload. diff --git a/news.d/bugfix/1420.ui.md b/news.d/bugfix/1420.ui.md deleted file mode 100644 index ab6fa9340..000000000 --- a/news.d/bugfix/1420.ui.md +++ /dev/null @@ -1 +0,0 @@ -Updated Spanish translation. diff --git a/news.d/bugfix/1422.ui.md b/news.d/bugfix/1422.ui.md deleted file mode 100644 index 52a5a2b2d..000000000 --- a/news.d/bugfix/1422.ui.md +++ /dev/null @@ -1 +0,0 @@ -Updated French translation. diff --git a/news.d/bugfix/1463.dict.md b/news.d/bugfix/1463.dict.md deleted file mode 100644 index 1a321c855..000000000 --- a/news.d/bugfix/1463.dict.md +++ /dev/null @@ -1 +0,0 @@ -Fix `KHR*PB` stroke to not be misinterpreted as a command. diff --git a/news.d/bugfix/1481.ui.md b/news.d/bugfix/1481.ui.md deleted file mode 100644 index 3c06d4e76..000000000 --- a/news.d/bugfix/1481.ui.md +++ /dev/null @@ -1 +0,0 @@ -Speedup suggestions widget implementation: should noticeably improve performance when there's a large scrollback. diff --git a/news.d/bugfix/1495.windows.md b/news.d/bugfix/1495.windows.md deleted file mode 100644 index c7e0aae12..000000000 --- a/news.d/bugfix/1495.windows.md +++ /dev/null @@ -1 +0,0 @@ -Drop launch option from installer's final page: avoid possible issues (e.g. permission errors with the controller's pipe) because Plover was run as admin. diff --git a/news.d/bugfix/1504.core.md b/news.d/bugfix/1504.core.md deleted file mode 100644 index 52a5816e1..000000000 --- a/news.d/bugfix/1504.core.md +++ /dev/null @@ -1 +0,0 @@ -Fix engine's running state: make sure the translator' state is empty when enabling output for the first time. diff --git a/news.d/bugfix/1507.core.md b/news.d/bugfix/1507.core.md deleted file mode 100644 index 78ee18f1c..000000000 --- a/news.d/bugfix/1507.core.md +++ /dev/null @@ -1 +0,0 @@ -Fix exit handlers not getting always executed. diff --git a/news.d/bugfix/1507.windows.md b/news.d/bugfix/1507.windows.md deleted file mode 100644 index 0233567ef..000000000 --- a/news.d/bugfix/1507.windows.md +++ /dev/null @@ -1 +0,0 @@ -Fix notifications behavior: no persistent duplicated icons (one for each notification). diff --git a/news.d/bugfix/1508.windows.md b/news.d/bugfix/1508.windows.md deleted file mode 100644 index 0233567ef..000000000 --- a/news.d/bugfix/1508.windows.md +++ /dev/null @@ -1 +0,0 @@ -Fix notifications behavior: no persistent duplicated icons (one for each notification). diff --git a/news.d/bugfix/1512.core.md b/news.d/bugfix/1512.core.md deleted file mode 100644 index 686fb5aa4..000000000 --- a/news.d/bugfix/1512.core.md +++ /dev/null @@ -1 +0,0 @@ -Fix `StenoDictionaryCollection.longest_key` implementation: ignore disabled dictionaries! diff --git a/news.d/feature/1308.ui.md b/news.d/feature/1308.ui.md deleted file mode 100644 index c1e969845..000000000 --- a/news.d/feature/1308.ui.md +++ /dev/null @@ -1,6 +0,0 @@ -Improve accessibility: -- Disable tab-key navigation in tables, so focusing a table does not lock global tab-key navigation to it. -- Remove some container widgets, tweak focus rules to avoid extra unnecessary steps when using tab-key navigation (like selecting the dictionaries widget outer frame). -- In form layouts, link each widget to its label (like each option in the configuration dialog). -- Set the accessible name / description of focusable widgets. -- Use lists for the dictionaries widget, suggestions widget, and the paper tape. diff --git a/news.d/feature/1332.ui.md b/news.d/feature/1332.ui.md deleted file mode 100644 index c1e969845..000000000 --- a/news.d/feature/1332.ui.md +++ /dev/null @@ -1,6 +0,0 @@ -Improve accessibility: -- Disable tab-key navigation in tables, so focusing a table does not lock global tab-key navigation to it. -- Remove some container widgets, tweak focus rules to avoid extra unnecessary steps when using tab-key navigation (like selecting the dictionaries widget outer frame). -- In form layouts, link each widget to its label (like each option in the configuration dialog). -- Set the accessible name / description of focusable widgets. -- Use lists for the dictionaries widget, suggestions widget, and the paper tape. diff --git a/news.d/feature/1333.ui.md b/news.d/feature/1333.ui.md deleted file mode 100644 index 09155c645..000000000 --- a/news.d/feature/1333.ui.md +++ /dev/null @@ -1 +0,0 @@ -Show a message when hiding to tray. diff --git a/news.d/feature/1362.core.md b/news.d/feature/1362.core.md deleted file mode 100644 index 3f73f8a86..000000000 --- a/news.d/feature/1362.core.md +++ /dev/null @@ -1 +0,0 @@ -Switch to `plover_stroke` for better steno handling: faster and stricter. diff --git a/news.d/feature/1362.ui.md b/news.d/feature/1362.ui.md deleted file mode 100644 index 5bf137a75..000000000 --- a/news.d/feature/1362.ui.md +++ /dev/null @@ -1,3 +0,0 @@ -Improved steno handling: -- validate inputs in the "add translation" dialog and dictionary editor -- sort on steno order in the dictionary editor, and signal invalid steno entries diff --git a/news.d/feature/1364.core.md b/news.d/feature/1364.core.md deleted file mode 100644 index 40506ef7b..000000000 --- a/news.d/feature/1364.core.md +++ /dev/null @@ -1 +0,0 @@ -New faster and improved RTF/CRE parser. diff --git a/news.d/feature/1365.core.md b/news.d/feature/1365.core.md deleted file mode 100644 index 40506ef7b..000000000 --- a/news.d/feature/1365.core.md +++ /dev/null @@ -1 +0,0 @@ -New faster and improved RTF/CRE parser. diff --git a/news.d/feature/1391.core.md b/news.d/feature/1391.core.md deleted file mode 100644 index 303b49ebd..000000000 --- a/news.d/feature/1391.core.md +++ /dev/null @@ -1 +0,0 @@ -Correctly handle formatting currency with thousands separator(s): `23,000.15{:retro_currency:$c}` => `$23,000.15`. diff --git a/news.d/feature/1417.core.md b/news.d/feature/1417.core.md deleted file mode 100644 index 3f73f8a86..000000000 --- a/news.d/feature/1417.core.md +++ /dev/null @@ -1 +0,0 @@ -Switch to `plover_stroke` for better steno handling: faster and stricter. diff --git a/news.d/feature/1434.ui.md b/news.d/feature/1434.ui.md deleted file mode 100644 index c1e969845..000000000 --- a/news.d/feature/1434.ui.md +++ /dev/null @@ -1,6 +0,0 @@ -Improve accessibility: -- Disable tab-key navigation in tables, so focusing a table does not lock global tab-key navigation to it. -- Remove some container widgets, tweak focus rules to avoid extra unnecessary steps when using tab-key navigation (like selecting the dictionaries widget outer frame). -- In form layouts, link each widget to its label (like each option in the configuration dialog). -- Set the accessible name / description of focusable widgets. -- Use lists for the dictionaries widget, suggestions widget, and the paper tape. diff --git a/news.d/feature/1451.ui.md b/news.d/feature/1451.ui.md deleted file mode 100644 index c1e969845..000000000 --- a/news.d/feature/1451.ui.md +++ /dev/null @@ -1,6 +0,0 @@ -Improve accessibility: -- Disable tab-key navigation in tables, so focusing a table does not lock global tab-key navigation to it. -- Remove some container widgets, tweak focus rules to avoid extra unnecessary steps when using tab-key navigation (like selecting the dictionaries widget outer frame). -- In form layouts, link each widget to its label (like each option in the configuration dialog). -- Set the accessible name / description of focusable widgets. -- Use lists for the dictionaries widget, suggestions widget, and the paper tape. diff --git a/news.d/feature/1452.core.md b/news.d/feature/1452.core.md deleted file mode 100644 index 3f73f8a86..000000000 --- a/news.d/feature/1452.core.md +++ /dev/null @@ -1 +0,0 @@ -Switch to `plover_stroke` for better steno handling: faster and stricter. diff --git a/news.d/feature/1491.core.md b/news.d/feature/1491.core.md deleted file mode 100644 index ae5cab4cd..000000000 --- a/news.d/feature/1491.core.md +++ /dev/null @@ -1 +0,0 @@ -Improve “English stenotype” system compatibility with RTF/CRE spec: support arbitrary placement of the number sign when parsing steno (e.g. `18#`, `#18`, and `1#8` are all valid and equivalent). diff --git a/news.d/feature/1496.linux.md b/news.d/feature/1496.linux.md deleted file mode 100644 index 0df455b04..000000000 --- a/news.d/feature/1496.linux.md +++ /dev/null @@ -1 +0,0 @@ -Improve D-Bus logger implementation. diff --git a/news.d/feature/1498.linux.md b/news.d/feature/1498.linux.md deleted file mode 100644 index 9f4517905..000000000 --- a/news.d/feature/1498.linux.md +++ /dev/null @@ -1 +0,0 @@ -Add `WM_CLASS` property to windows (`WM_CLASS(STRING) = "plover", "Plover"`). diff --git a/news.d/feature/1501.ui.md b/news.d/feature/1501.ui.md deleted file mode 100644 index 5bf137a75..000000000 --- a/news.d/feature/1501.ui.md +++ /dev/null @@ -1,3 +0,0 @@ -Improved steno handling: -- validate inputs in the "add translation" dialog and dictionary editor -- sort on steno order in the dictionary editor, and signal invalid steno entries diff --git a/news.d/feature/1513.core.md b/news.d/feature/1513.core.md deleted file mode 100644 index 7efebf707..000000000 --- a/news.d/feature/1513.core.md +++ /dev/null @@ -1 +0,0 @@ -Improve translation stage: cut down on unnecessary / duplicate dictionary lookups. diff --git a/plover/__init__.py b/plover/__init__.py index fdde59ea1..188ed27f1 100644 --- a/plover/__init__.py +++ b/plover/__init__.py @@ -12,7 +12,7 @@ # want to translate anyway. _ = lambda s: s -__version__ = '4.0.0.dev10' +__version__ = '4.0.0.dev11' __copyright__ = '(C) Open Steno Project' __url__ = 'http://www.openstenoproject.org/' __download_url__ = 'http://www.openstenoproject.org/plover'