From 8e3065e8b29cb9eed7e9cc521541947f30c6918b Mon Sep 17 00:00:00 2001 From: Paul Colby Date: Sun, 21 May 2023 10:22:03 +1000 Subject: [PATCH] Release version 0.3.0 This release breaks backward compatibility by changing some QtPokit APIs to support Pokit Pro's divergent (and not at all documented by Pokit) measurement range enumeration values. Added - Support for Pokit Pro measurement ranges (eg 600V). - Support for capacitance measurement. - Support for external temperature measurement. Changed - Update QtPokit API to support separate measurement ranges for Pokit Meter and Pokit Pro. --- CHANGELOG.md | 5 +-- CMakeLists.txt | 4 +-- src/cli/i18n/en_AU.ts | 82 +++++++++++++++++++++---------------------- src/cli/i18n/en_GB.ts | 82 +++++++++++++++++++++---------------------- src/cli/i18n/en_US.ts | 82 +++++++++++++++++++++---------------------- src/lib/i18n/en_AU.ts | 63 +++++++++++++++------------------ src/lib/i18n/en_GB.ts | 63 +++++++++++++++------------------ src/lib/i18n/en_US.ts | 63 +++++++++++++++------------------ 8 files changed, 215 insertions(+), 229 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index eccb49d72..e43ada2e9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog[^1] -## [Unreleased][] +## [0.3.0][] (2023-05-21) This release breaks backward compatibility by changing some QtPokit APIs to support [Pokit Pro]'s divergent (and not at all documented by Pokit) measurement range enumeration values. @@ -63,7 +63,8 @@ Thanks to [@lnxsr](https://github.com/lnxsr) for contributing to this release. - Support for Linux, macOS and Windows. - Support for [Qt][] 5.4+ and 6.2+ -[Unreleased]: https://github.com/pcolby/dokit/compare/v0.2.0...HEAD +[Unreleased]: https://github.com/pcolby/dokit/compare/v0.3.0...HEAD +[0.3.0]: https://github.com/pcolby/dokit/releases/tag/v0.3.0 [0.2.0]: https://github.com/pcolby/dokit/releases/tag/v0.2.0 [0.1.2]: https://github.com/pcolby/dokit/releases/tag/v0.1.2 [0.1.1]: https://github.com/pcolby/dokit/releases/tag/v0.1.1 diff --git a/CMakeLists.txt b/CMakeLists.txt index aa66a0b04..329d6beae 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -14,9 +14,9 @@ set(CMAKE_CXX_EXTENSIONS OFF) project(Dokit VERSION 0.3.0 LANGUAGES CXX) -set(PROJECT_PRE_RELEASE pre) +#set(PROJECT_PRE_RELEASE pre) #set(PROJECT_PRE_RELEASE rc1) -#unset(PROJECT_PRE_RELEASE) +unset(PROJECT_PRE_RELEASE) if (PROJECT_PRE_RELEASE) add_definitions(-DPROJECT_PRE_RELEASE="${PROJECT_PRE_RELEASE}") set(PROJECT_VERSION_SUFFIX "-${PROJECT_PRE_RELEASE}") diff --git a/src/cli/i18n/en_AU.ts b/src/cli/i18n/en_AU.ts index c192a05d4..1ad9ad32a 100644 --- a/src/cli/i18n/en_AU.ts +++ b/src/cli/i18n/en_AU.ts @@ -4,32 +4,32 @@ AbstractCommand - + Bluetooth controller error: - + Ignoring option: %1 - + Unknown output format: %1 - + Invalid timeout: %1 - + Set scan timeout to %1 - + Missing required option: %1 @@ -98,32 +98,32 @@ success - + Ignoring additional Pokit device "%1" (%2) at (%3). - + Found Pokit device "%1" (%2) at (%3). - - Connecting to Pokit device "%1" (%2) at (%3). + + Connecting to %1 device "%2" (%3) at (%4). - + Ignoring non-matching Pokit device "%1" (%2) at (%3). - + Failed to find any Pokit device. - + Failed to find device "%1". @@ -336,54 +336,54 @@ success LoggerStartCommand - + Unknown logger mode: %1 - + Ignoring range value: %1 - + Invalid range value: %1 - + Missing required option for logger mode '%1': range - + Invalid interval value: %1 - + Invalid timestamp value: %1 - + Logging %1, with range %2, every %L3ms. - + Settings written; data logger has started. - + logger_start_result success - + Done. @@ -418,96 +418,96 @@ success MeterCommand - + Unknown meter mode: %1 - + Invalid interval value: %1 - + Ignoring range value: %1 - + Invalid range value: %1 - + Invalid samples value: %1 - + Measuring %1, with range %2, every %L3ms. - + mode,value,unit,status,range - + Settings written; starting meter readings... - + Auto Range On - + Auto Range Off - + Continuity - + No continuity - + Ok - + Infinity - + Mode: %1 (0x%2) - + Value: %1 %2 - + Status: %1 (0x%2) - + Range: %1 (0x%2) diff --git a/src/cli/i18n/en_GB.ts b/src/cli/i18n/en_GB.ts index 8e602fb2a..651dbd44c 100644 --- a/src/cli/i18n/en_GB.ts +++ b/src/cli/i18n/en_GB.ts @@ -4,32 +4,32 @@ AbstractCommand - + Bluetooth controller error: - + Ignoring option: %1 - + Unknown output format: %1 - + Invalid timeout: %1 - + Set scan timeout to %1 - + Missing required option: %1 @@ -98,32 +98,32 @@ success - + Ignoring additional Pokit device "%1" (%2) at (%3). - + Found Pokit device "%1" (%2) at (%3). - - Connecting to Pokit device "%1" (%2) at (%3). + + Connecting to %1 device "%2" (%3) at (%4). - + Ignoring non-matching Pokit device "%1" (%2) at (%3). - + Failed to find any Pokit device. - + Failed to find device "%1". @@ -336,54 +336,54 @@ success LoggerStartCommand - + Unknown logger mode: %1 - + Ignoring range value: %1 - + Invalid range value: %1 - + Missing required option for logger mode '%1': range - + Invalid interval value: %1 - + Invalid timestamp value: %1 - + Logging %1, with range %2, every %L3ms. - + Settings written; data logger has started. - + logger_start_result success - + Done. @@ -418,96 +418,96 @@ success MeterCommand - + Unknown meter mode: %1 - + Invalid interval value: %1 - + Ignoring range value: %1 - + Invalid range value: %1 - + Invalid samples value: %1 - + Measuring %1, with range %2, every %L3ms. - + mode,value,unit,status,range - + Settings written; starting meter readings... - + Auto Range On - + Auto Range Off - + Continuity - + No continuity - + Ok - + Infinity - + Mode: %1 (0x%2) - + Value: %1 %2 - + Status: %1 (0x%2) - + Range: %1 (0x%2) diff --git a/src/cli/i18n/en_US.ts b/src/cli/i18n/en_US.ts index 5462aa261..6a2b5e0c3 100644 --- a/src/cli/i18n/en_US.ts +++ b/src/cli/i18n/en_US.ts @@ -4,32 +4,32 @@ AbstractCommand - + Bluetooth controller error: - + Ignoring option: %1 - + Unknown output format: %1 - + Invalid timeout: %1 - + Set scan timeout to %1 - + Missing required option: %1 @@ -98,32 +98,32 @@ success - + Ignoring additional Pokit device "%1" (%2) at (%3). - + Found Pokit device "%1" (%2) at (%3). - - Connecting to Pokit device "%1" (%2) at (%3). + + Connecting to %1 device "%2" (%3) at (%4). - + Ignoring non-matching Pokit device "%1" (%2) at (%3). - + Failed to find any Pokit device. - + Failed to find device "%1". @@ -336,54 +336,54 @@ success LoggerStartCommand - + Unknown logger mode: %1 - + Ignoring range value: %1 - + Invalid range value: %1 - + Missing required option for logger mode '%1': range - + Invalid interval value: %1 - + Invalid timestamp value: %1 - + Logging %1, with range %2, every %L3ms. - + Settings written; data logger has started. - + logger_start_result success - + Done. @@ -418,96 +418,96 @@ success MeterCommand - + Unknown meter mode: %1 - + Invalid interval value: %1 - + Ignoring range value: %1 - + Invalid range value: %1 - + Invalid samples value: %1 - + Measuring %1, with range %2, every %L3ms. - + mode,value,unit,status,range - + Settings written; starting meter readings... - + Auto Range On - + Auto Range Off - + Continuity - + No continuity - + Ok - + Infinity - + Mode: %1 (0x%2) - + Value: %1 %2 - + Status: %1 (0x%2) - + Range: %1 (0x%2) diff --git a/src/lib/i18n/en_AU.ts b/src/lib/i18n/en_AU.ts index 5452d1e03..f3c85dbd6 100644 --- a/src/lib/i18n/en_AU.ts +++ b/src/lib/i18n/en_AU.ts @@ -4,73 +4,73 @@ AbstractPokitServicePrivate - + Already have service object: - + Service UUID not assigned yet. - - Service object created + + Service object created for %1 device: - + Descriptor "%1" (%2) read. - + Descriptor "%1" (%2) written. - + Characterisitc %1 "%2" requested before service assigned. - + Characterisitc %1 "%2" requested before service %3 "%4" discovered. - + Current service state: - + Characterisitc %1 "%2" not found in service %3 "%4". - + Reading characteristic %1 "%2". - + Enabling CCCD for characteristic %1 "%2". - - + + Characterisitc %1 "%2" has no client configuration descriptor. - + Disabling CCCD for characteristic %1 "%2". - + %1 requires %n byte/s, but only %2 present: %3 %1 requires %n byte, but only %2 present: %3 @@ -78,7 +78,7 @@ - + %1 has %n extraneous byte/s: %2 %1 has %n extraneous byte: %2 @@ -86,7 +86,7 @@ - + Characteristic %1 "%2" read %n byte/s: %3 Characteristic %1 "%2" read %n byte: %3 @@ -94,7 +94,7 @@ - + Characteristic %1 "%2" written with %Ln byte/s: %3 Characteristic %1 "%2" written with %Ln byte: %3 @@ -102,7 +102,7 @@ - + Characteristic %1 "%2" changed to %Ln byte/s: %3 Characteristic %1 "%2" changed to %Ln byte: %3 @@ -110,52 +110,47 @@ - + Connected with no controller set - - Controller does not appear to be a Pokit device - - - - + Connected to "%1" (%2) at %3. - + Discovery finished with no controller set - + Discovery finished for "%1" (%2) at %3. - + Discovery finished, but service not found. - + Service error - + Service discovered - + State changed to - + Service details discovered. diff --git a/src/lib/i18n/en_GB.ts b/src/lib/i18n/en_GB.ts index b2265662b..3f148e1c1 100644 --- a/src/lib/i18n/en_GB.ts +++ b/src/lib/i18n/en_GB.ts @@ -4,73 +4,73 @@ AbstractPokitServicePrivate - + Already have service object: - + Service UUID not assigned yet. - - Service object created + + Service object created for %1 device: - + Descriptor "%1" (%2) read. - + Descriptor "%1" (%2) written. - + Characterisitc %1 "%2" requested before service assigned. - + Characterisitc %1 "%2" requested before service %3 "%4" discovered. - + Current service state: - + Characterisitc %1 "%2" not found in service %3 "%4". - + Reading characteristic %1 "%2". - + Enabling CCCD for characteristic %1 "%2". - - + + Characterisitc %1 "%2" has no client configuration descriptor. - + Disabling CCCD for characteristic %1 "%2". - + %1 requires %n byte/s, but only %2 present: %3 %1 requires %n byte, but only %2 present: %3 @@ -78,7 +78,7 @@ - + %1 has %n extraneous byte/s: %2 %1 has %n extraneous byte: %2 @@ -86,7 +86,7 @@ - + Characteristic %1 "%2" read %n byte/s: %3 Characteristic %1 "%2" read %n byte: %3 @@ -94,7 +94,7 @@ - + Characteristic %1 "%2" written with %Ln byte/s: %3 Characteristic %1 "%2" written with %Ln byte: %3 @@ -102,7 +102,7 @@ - + Characteristic %1 "%2" changed to %Ln byte/s: %3 Characteristic %1 "%2" changed to %Ln byte: %3 @@ -110,52 +110,47 @@ - + Connected with no controller set - - Controller does not appear to be a Pokit device - - - - + Connected to "%1" (%2) at %3. - + Discovery finished with no controller set - + Discovery finished for "%1" (%2) at %3. - + Discovery finished, but service not found. - + Service error - + Service discovered - + State changed to - + Service details discovered. diff --git a/src/lib/i18n/en_US.ts b/src/lib/i18n/en_US.ts index 47e190414..00ea6900a 100644 --- a/src/lib/i18n/en_US.ts +++ b/src/lib/i18n/en_US.ts @@ -4,73 +4,73 @@ AbstractPokitServicePrivate - + Already have service object: - + Service UUID not assigned yet. - - Service object created + + Service object created for %1 device: - + Descriptor "%1" (%2) read. - + Descriptor "%1" (%2) written. - + Characterisitc %1 "%2" requested before service assigned. - + Characterisitc %1 "%2" requested before service %3 "%4" discovered. - + Current service state: - + Characterisitc %1 "%2" not found in service %3 "%4". - + Reading characteristic %1 "%2". - + Enabling CCCD for characteristic %1 "%2". - - + + Characterisitc %1 "%2" has no client configuration descriptor. - + Disabling CCCD for characteristic %1 "%2". - + %1 requires %n byte/s, but only %2 present: %3 %1 requires %n byte, but only %2 present: %3 @@ -78,7 +78,7 @@ - + %1 has %n extraneous byte/s: %2 %1 has %n extraneous byte: %2 @@ -86,7 +86,7 @@ - + Characteristic %1 "%2" read %n byte/s: %3 Characteristic %1 "%2" read %n byte: %3 @@ -94,7 +94,7 @@ - + Characteristic %1 "%2" written with %Ln byte/s: %3 Characteristic %1 "%2" written with %Ln byte: %3 @@ -102,7 +102,7 @@ - + Characteristic %1 "%2" changed to %Ln byte/s: %3 Characteristic %1 "%2" changed to %Ln byte: %3 @@ -110,52 +110,47 @@ - + Connected with no controller set - - Controller does not appear to be a Pokit device - - - - + Connected to "%1" (%2) at %3. - + Discovery finished with no controller set - + Discovery finished for "%1" (%2) at %3. - + Discovery finished, but service not found. - + Service error - + Service discovered - + State changed to - + Service details discovered.