Commit Graph

5439 Commits

Author SHA1 Message Date
Dan Smith
cbb06d9aea retevis_rt21: Fix duplex=off
And also fix up some byte unclean stuff.
2024-02-23 17:56:38 -08:00
Dan Smith
d8cb60cf35 retevis_rt22: Fix duplex=off 2024-02-23 17:56:38 -08:00
Dan Smith
cc5e437ddf retevis_rt26: Fix duplex=off
And also some byte unclean raw stuff.
2024-02-23 17:56:38 -08:00
Dan Smith
2e30af04f5 tk3140: Fix duplex=ff 2024-02-23 17:56:38 -08:00
Dan Smith
5be4c32eec bitwise: Fix set_raw() on arrayDataElement
This makes this actually work so we don't have to set_raw() on each
element.
2024-02-23 17:56:38 -08:00
Dan Smith
4b219644b3 rt470: Fix duplex=off detection
Fixes #11194
2024-02-23 17:56:38 -08:00
MELERIX
9dbd918a5e Update Spanish Translation 2024-02-23 16:53:33 -08:00
Dan Smith
f7e4ce0fcc Refactor "recent files" handling and fix a bug
This cleans up the recent files handling to be config-based instead
of based on the menu items. It does more creating/deleting of the
menu items, but with much less complexity. It also fixes the bug
where files with '&' in them are not properly recorded.

This fixes #11194
2024-02-23 16:10:34 -08:00
Dan Smith
66a8972d5e uv_5118plus: Set docs on mem.extra fields 2024-02-23 16:10:34 -08:00
Dan Smith
ffb6ce82dc Add tooltips to memedit column headers 2024-02-23 16:10:34 -08:00
Dan Smith
76ff6634a5 Add support for integer mem.extra columns
This was never implemented, but it's easy for a simple type like
this.

Fixes #11079
2024-02-23 16:10:34 -08:00
vdwel
9e4a9324c6 uv17: Check for correct memory size of radio type
Related to #11167
2024-02-23 16:07:29 -08:00
vdwel
2e4f011eee uv13Pro: Added support for the Baofeng UV-13Pro.
Fixes #11167
2024-02-23 16:07:29 -08:00
Tony F
fbcca4a9d1 check_commit.sh: Ignore word paste 2024-02-23 16:05:23 -08:00
Daniele Forsi
11581317ae bitwise: Remove test code
This module is checked with unit tests and deleting unused code has the
effect of increasing the coverage of the existing tests.
2024-02-23 16:03:47 -08:00
Daniele Forsi
f5a8c78fcd bitwise_grammar: Remove unused code added for compatibility with Python 2
This brings test coverage for this file to 100%
2024-02-23 16:03:47 -08:00
Daniele Forsi
fb3e2c7492 bitwise_grammar: Add a test for #printoffset 2024-02-23 16:03:47 -08:00
Krzysiek Egzmont
ade0f93a49 uvk5 egzumer: add new/missing custom button functions 2024-02-23 15:46:26 -08:00
Dan Smith
a9b992c9ad Allow deleting error'd memories
This should give the driver the ability to delete/wipe bad memories.
Currently the UI won't allow the user to execute a delete on an error'd
memory row.
2024-02-21 18:24:43 -08:00
Dan Smith
28ec7bb0c0 uvk5: Fix non-byteclean set_raw() usage 2024-02-21 18:24:43 -08:00
Dan Smith
74e83bb18d uvk5: Fix bounds-checking for egzumer variant
Fixes #11134
2024-02-21 15:57:39 -08:00
Dan Smith
ceddec471b Log memory repr instead of str on validation fail
Highlighted while debugging and thus related to #11134
2024-02-21 15:40:15 -08:00
Dan Smith
531b0fd7bf Make sure to always select a port in clone 2024-02-21 15:40:15 -08:00
Dan Smith
3ab03504b2 Explain un-uploadable tabs to the user
Users are often confused about why they can't upload a CSV or network
query directly to their radio. They are also confused about why a
live radio doesn't allow upload. This makes us leave "upload to radio"
available all the time, but shows an info box explaining why and what
to do instead if anyone tries it.
2024-02-21 15:40:15 -08:00
Krzysiek Egzmont
a6adbefce4 uvk5 egzumer: fix vox setting saving bug 2024-02-21 14:53:26 -08:00
Dan Smith
1211b994b1 5RM: Fix paste/import of AM frequencies
This radio behaves like the 17ProGPS with regards to supporting airband
frequencies, so apply the same immutable override to make it work.

Fixes #11185
2024-02-19 21:49:15 -08:00
Dan Smith
0cceeb60d5 Add Greek Marine stock config
Fixes #11182
2024-02-19 15:10:20 -08:00
Dan Smith
8860a24922 Update Baofeng 5RM image
This was committed with a metadata tag of being a UV-17Pro, which is
not correct. This updates the test image with one from the issue
tracker.

Fixes #11181
2024-02-19 15:10:20 -08:00
Dan Smith
d70f2e8f88 hguv98: Fix special channel handling
Also fix the one-off bug in selecting the current memory channel
in settings.

Fixes #11179
2024-02-19 15:10:20 -08:00
Jim Unroe
f77b735ee7 uv6r: fix-bitwise-errors 2024-02-19 15:08:21 -08:00
Jim Unroe
67f9fdfe4c retevis_rb17p: fix bitwise depricatewarning issues 2024-02-19 15:06:13 -08:00
Jim Unroe
0bbb4d49b6 retevis_rb17p: fix bitwise errors 2024-02-19 15:06:13 -08:00
Jim Unroe
00fa1b08f0 gmrsv2: fix-bitwise-errors 2024-02-19 15:01:31 -08:00
Jim Unroe
5a7d60dd92 baofeng_wp970i: fix depricatewarning issues 2024-02-19 14:59:50 -08:00
Jim Unroe
440789e9e1 baofeng_wp970i: fix bitwise errors 2024-02-19 14:59:50 -08:00
Krzysiek Egzmont
2475bb0a96 uvk5 egzumer: fix broken "Upload calibration" option 2024-02-16 16:50:05 -08:00
Dan Smith
5b998c51ce uv17: Stop recording the model string for no reason
This is not necessary and is not part of the actual image, so we might
as well remove it to avoid it ever being written to the radio by
accident.

Sort of related to #11167
2024-02-16 14:42:12 -08:00
Dan Smith
82bb3fbb85 Revert "uv17pro: Improve handling of memory corruption"
This reverts commit b7b168486e.

This may also be causing problems with UV-17 and UV-13Pro users.
Reverting until more investigation can be performed.

Related to #11167
Possibly related to #11149
2024-02-16 14:42:12 -08:00
Dan Smith
348150047e uv17: Unify class structure of radio._magics
Also try to unify the use of _sendmagic() across both driver modules.
2024-02-16 14:42:12 -08:00
Dan Smith
c8f71e3180 Fix translation of memedit, clone after cleanup
Fixes #11175
2024-02-16 14:40:12 -08:00
Jim Unroe
22cf7fb044 mml_jc8810.py: Add support for Talkpod A36Plus 8W - fixes #11067 2024-02-16 14:38:11 -08:00
Dan Smith
4ed686f447 Update Chinese translation
Fixes #11103
2024-02-15 16:04:28 -08:00
Jim Unroe
b1c6864d8d btech.py: fix 'Duplex = off' detection - fixes #11155 2024-02-15 15:50:38 -08:00
MELERIX
0eb0c66dae Update Spanish Translation 2024-02-15 15:48:08 -08:00
Dan Smith
d279074eba uvk5: Add identification of 4.00.x firmware
Fixes #11165
2024-02-15 15:41:20 -08:00
Dan Smith
277ceaa4cb Fix CSV test with comments on windows 2024-02-15 15:41:20 -08:00
Dan Smith
1e369a147e Fix reloading detected drivers
Fixes #11166
2024-02-15 15:41:20 -08:00
Dan Smith
9260e3a8e1 Add mypy to style target (for non-driver code)
My patience with mypy is very thin, but it does catch some stuff that
other checkers don't, even outside the realm of typing. This should
at least make sure any type annotations we _do_ get are correct.

There are a lot of errors in the drivers, so limit this to just the
core code for now.
2024-02-15 15:41:20 -08:00
Dan Smith
4b482efb00 tk760g: Fix broken string format in exception 2024-02-15 15:41:20 -08:00
Dan Smith
b3c8b6ddc9 thd72: Remove ancient main utility code
This is probably not even working in py3 land, but also isn't
necessary, tested, or maintained anymore.
2024-02-15 15:41:20 -08:00