[Hamlib-developer] [Hamlib/Hamlib] 2d19d1: fix(netrigctl): make protocol output locale-indepe...
Library to control radio transceivers and receivers
Brought to you by:
n0nb
|
From: Nate B. <no...@gi...> - 2026-08-27 03:08:38
|
Branch: refs/heads/master Home: https://github.com/Hamlib/Hamlib Commit: 2d19d104474491346c26950e2b13cb204735210c https://github.com/Hamlib/Hamlib/commit/2d19d104474491346c26950e2b13cb204735210c Author: David Christle <dch...@us...> Date: 2026-08-18 (Tue, 18 Aug 2026) Changed paths: M rigs/dummy/netrigctl.c M tests/Makefile.am M tests/testnetrigctl.c Log Message: ----------- fix(netrigctl): make protocol output locale-independent Normalize floating-point request values without changing the process locale so network peers always receive a decimal point. Exercise every affected command through a socket pair, including a request that exceeds the former power-conversion buffer. Commit: 59f5bd7c4272fb53c624435d7e06932a34b9dbeb https://github.com/Hamlib/Hamlib/commit/59f5bd7c4272fb53c624435d7e06932a34b9dbeb Author: David Christle <dch...@us...> Date: 2026-08-18 (Tue, 18 Aug 2026) Changed paths: M src/Makefile.am A src/rigctl_protocol.c A src/rigctl_protocol.h Log Message: ----------- refactor(rigctl): add locale-neutral decimal helpers Format canonical ASCII decimal values and parse complete finite tokens without changing process-global locale state. Allow callers to select strict dot-only input or an explicit dot-or-comma compatibility policy. Commit: 14f2482783eddf8072eff3afaf379576105dd8c0 https://github.com/Hamlib/Hamlib/commit/14f2482783eddf8072eff3afaf379576105dd8c0 Author: David Christle <dch...@us...> Date: 2026-08-18 (Tue, 18 Aug 2026) Changed paths: M tests/rigctl_parse.c M tests/testctlparser.c Log Message: ----------- fix(rigctld): enforce canonical decimal wire values Emit ASCII-dot decimals regardless of locale and require complete finite numeric tokens. Accept decimal comma only for unambiguous scalar fields, while keeping compound clock syntax dot-only and preserving frequency precision. Commit: 55665a83ec4180b22e4c4c864758bf2c009d8988 https://github.com/Hamlib/Hamlib/commit/55665a83ec4180b22e4c4c864758bf2c009d8988 Author: David Christle <dch...@us...> Date: 2026-08-18 (Tue, 18 Aug 2026) Changed paths: M rigs/dummy/dummy_common.c M rigs/dummy/dummy_common.h M rigs/dummy/netrigctl.c M rigs/dummy/quisk.c M tests/Makefile.am M tests/testnetrigctl.c A tests/testrigctlprotocol.c Log Message: ----------- fix(netrigctl): validate canonical decimal protocol data Make the NET rigctl and Quisk clients emit ASCII-dot values and reject partial, non-finite, localized, or ambiguous compound replies. Preserve legacy hexadecimal capability fields and report locale-dependent coverage as a distinct Automake result. Commit: df9dfe9ac0ebf6b91f0231e567d2e52bde75dbde https://github.com/Hamlib/Hamlib/commit/df9dfe9ac0ebf6b91f0231e567d2e52bde75dbde Author: David Christle <dch...@us...> Date: 2026-08-18 (Tue, 18 Aug 2026) Changed paths: M doc/man1/rigctl.1 M doc/man1/rigctld.1 Log Message: ----------- docs(rigctl): define canonical decimal wire format Document ASCII dot as the output separator, strict finite numeric tokens, and the limited server-side decimal-comma compatibility rule. Clarify that existing command precision and freq_t representation remain intact. Commit: 70f6b26be9d0905ea4956132cd20f170a58cf0b9 https://github.com/Hamlib/Hamlib/commit/70f6b26be9d0905ea4956132cd20f170a58cf0b9 Author: Nate Bargmann <n0...@n0...> Date: 2026-08-26 (Wed, 26 Aug 2026) Changed paths: M .github/workflows/android-ndk.yml M .github/workflows/c-cpp.yml M .github/workflows/c-cpp32.yml M .github/workflows/codeql-analysis.yml M .github/workflows/macos-latest-features.yml M .github/workflows/macos-latest-no-features.yml M .github/workflows/ubuntu-latest-features.yml M .github/workflows/ubuntu-latest-no-features.yml M .github/workflows/windows-cross-features.yml M .github/workflows/windows-cross-no-features.yml M .github/workflows/windows-latest-features.yml M .github/workflows/windows-latest-no-features.yml M NEWS M README.developer M bindings/hamlib.swg M doc/man1/ampctl.1 M doc/man1/rigctl.1 M doc/man1/rotctl.1 M doc/man1/rotctld.1 M rigs/guohetec/guohetec.c M rigs/guohetec/guohetec.h M rigs/guohetec/pmr171.c M rigs/guohetec/q900.c M rigs/icom/id5100.c M simulators/simid5100.c M src/misc.c M src/rig.c M tests/Makefile.am A tests/testguohetec.c A tests/testid5100.c Log Message: ----------- Merge branch 'master' into fix/rigctl-locale-protocol Commit: e4c8d09a2c323572e4eb7692bc1761faf6245b8c https://github.com/Hamlib/Hamlib/commit/e4c8d09a2c323572e4eb7692bc1761faf6245b8c Author: Nate Bargmann <n0...@n0...> Date: 2026-08-26 (Wed, 26 Aug 2026) Changed paths: M NEWS Log Message: ----------- Update NEWS for locale-neutral decimal protocol in rigctl Compare: https://github.com/Hamlib/Hamlib/compare/429065b9a2ff...e4c8d09a2c32 To unsubscribe from these emails, change your notification settings at https://github.com/Hamlib/Hamlib/settings/notifications |