Commit Graph

5712 Commits

Author SHA1 Message Date
Abdullah YILMAZ
249da4aa5c Update Turkish language 2024-09-14 07:50:41 -07:00
Giovanni Scafora
8b49f88158 Updated Italian Translation 2024-09-11 15:36:58 -07:00
MELERIX
8ab8f3825e Updated Spanish Translation 2024-09-10 15:56:31 -07:00
Dan Smith
43f6ad60dc Prioritize radio-supplied tuning steps
This makes the UI consider the radio's tuning steps, if defined as
the first course of action. The existing code tried the standard
set followed by the radio's set, assuming the radio's would be a
subset, which is of course not always true.

This also makes required_step() consider the radio-specific steps
after the standard ones, if there are any strange ones to allow the
radio to define ones that are not in the standard list.

Related to #10968
2024-09-09 21:29:33 -07:00
Dan Smith
a557fddee9 ftXd: Fix tuning step handling
The ft1d driver has seemingly had incorrect tuning step handling since
the beginning. As a result, stricter handling of tuning steps
provided by the radio started to break down. This fixes them to work
according to the OEM software for all the available steps.
2024-09-09 21:29:33 -07:00
Dan Smith
569f012bcb Fix several drivers with zero tuning steps
The valid_tuning_steps must be ... valid.
2024-09-09 21:29:33 -07:00
Dan Smith
7df43dcc90 Limit bugreport subject field
A user might think this is their only opportunity to put in details
and stuff a tome into this field.
2024-09-09 14:58:58 -07:00
Dan Smith
8a81828258 Add Baofeng AR-5RM to model alias map
Fixes #11525
2024-09-09 14:58:58 -07:00
Dan Smith
8c84bf8b9e Hand-fix some settings list indexes with variables 2024-09-09 14:58:58 -07:00
Dan Smith
9853c3fa43 Mass convert self.LIST settings indexes 2024-09-09 14:58:58 -07:00
Dan Smith
f706db10f5 First pass at mass settings index fixes
This is the first pass at converting all drivers to use current_index
instead of current (value) when defining RadioSettingValueList items.

These are just the easy/straightforward cases where we have a list and
and index into that list. Other instances with more complex invocations
will be handled separately.

The files that ended up with long lines as a result of this were
autopep8'd with just long-line fixes applied.
2024-09-09 14:58:58 -07:00
Dan Smith
605f7abd95 rt490: Hand-fix a complex settings list index 2024-09-09 14:58:58 -07:00
Dan Smith
83cd1f3ddf rt470: Fix out-of-range setting handling
Fixes #11528
2024-09-09 14:37:26 -07:00
Dan Smith
080d65c958 Add deprecation warning about setting list safety 2024-09-09 14:37:26 -07:00
Dan Smith
dbfaad6a6c Add MaxTalker TK-6 and MT-8S aliases
Fixes #11531
Fixes #11530
2024-09-08 19:11:43 -07:00
StoyanDimitrov
f9f5afa333 Update Bulgarian translation 2024-09-05 16:31:28 -07:00
Dan Smith
58b1187311 Hide skip column when no valid skip values 2024-09-05 16:29:07 -07:00
Dan Smith
1b183ba5f4 uvk5: Remove dummy valid_skips property
This was done to avoid exposing anything in the skip column, but
actually just confuses users about why they can't select skip.

Fixes #11485
2024-09-05 16:29:07 -07:00
MELERIX
f3d2913709 Updated Spanish Translation 2024-09-04 20:33:12 -07:00
Dan Smith
af2769ca44 Remove some legacy files from root
These are leftover from hg and long, long ago.
2024-09-04 18:36:31 -07:00
Dan Smith
355c0c52d0 Improve "driver messages" dialog
Jamming a hundred errors into a MessageBox is not scalable and looks
pretty dumb after a few. This makes it into a proper dialog that
shows the first line of each and lets the user select each for better
readability.

Related to #11519
2024-09-04 16:42:29 -07:00
Dan Smith
3ed39bfdfa csv: Report unknown header fields
In order to help make more sense of why a CSV file isn't open-able,
we should log any headers we don't recognize so the user will see
them. Note that the test csv file in tests/images is from a billion
years ago, when we apparently had bank info as a column. With this,
the test that asserts we load CSV files with no errors fails on our
own sample file (!).

Related to #11519
2024-09-04 16:42:29 -07:00
Dan Smith
5d616e6345 csv: Fall back to GenericCSV for csv files with no match
If we fail to find a matching driver and the file appears to be a
".csv" file, return GenericCSV as a match. This will make us try to
open the file with the generic driver and thus capture loading error
messages and show them to the user. Otherwise we would just fail to
match a driver, and report the format is unsupported, which is
confusing to a user.

Related to #11519
2024-09-04 16:42:29 -07:00
Dan Smith
3cd0c3dbb0 csv: Allow quoted header names
Some software that spits out CSV may just quote everything, even when
not needed. Doing that prevents us from recognizing the header and
thus makes us think a file isn't in a known format.

Fixes: #11519
2024-09-04 16:42:29 -07:00
Dan Smith
9b8552ce40 Update bugreport template with another question 2024-09-04 15:32:22 -07:00
MELERIX
b1b5c6aaa6 Updated Spanish Translation 2024-09-02 20:47:27 -07:00
Dan Smith
0fef4085a0 Add Retevis RB626
Fixes #11515
2024-09-01 18:01:06 -07:00
Dan Smith
62a5bd6634 ga510: Add airband for SenhaiX 8800
Fixes #11516
2024-09-01 18:01:06 -07:00
Dan Smith
fddaaa00e3 rt22: Fix tones not being enabled
Memories that chirp edits from scratch ended up with more unknown
bits set, which interfered with the enabling of tones. This makes us
clear the memory to zero first (which appears to be the way other
software does it) and also set one of the unknown bits to a known
value.

Fixes #11451
2024-08-31 17:21:48 -07:00
Dan Smith
1f455dd9f3 rt21: Fix "voice annunciation" typo
Fixes #11513
2024-08-31 14:30:40 -07:00
Dan Smith
2cd2c3052b Fix pasting memories past end of range
The memory editor will fail with a 'KeyError: N' error if the user
attempts to paste more memories than will fit. This makes us not
choke, stop when we get to the end, and report to the user (unless
the memories that don't fit are empty).

Fixes #11510
2024-08-31 11:00:35 -07:00
Dan Smith
5897f1b236 senhaix8800: Fix setting tx inhibit on simplex
This radio was disabling tx when duplex='' (i.e. simplex) instead of
when duplex='off'

Fixes: 11511
2024-08-31 11:00:35 -07:00
Dan Smith
63e8a4661e Expose detected model variants in clone box
This should make it more obvious for people looking for model
variantions (like RT95 VOX).

Related to #11509
2024-08-31 07:03:47 -07:00
Dan Smith
10623249d0 ga510: Fix ANI group code out of range
Fixes #11508
2024-08-31 07:03:47 -07:00
Dan Smith
f8dbe754f7 Fix test_dtcs and test_cross skipping
This test has been wrong for a long time, basically never properly
asserting DTCS values for drivers. The three drivers fixed immediately
before this commit should have been caught by this test, but were not
because it was always skipping the dtcs field.

Related to #11506
2024-08-31 07:03:47 -07:00
Dan Smith
f949fb7ed0 ft857: Fix incorrect DTCS handling
This driver has been broken forever in how it handles DTCS tone mode.
It was always using the rx_dtcs field, which should only be honored
in a ->DTCS cross mode. The new GUI, being in hide-unused-fields mode
always made this clear, as it appeared to be snapping back to 023
always when the user selected a different value.

Note that the test is *also* broken, which I will fix at the end of
this series.

Related to #11506
2024-08-31 07:03:47 -07:00
Dan Smith
4c6379e81e ft4: Fix incorrect DTCS handling
This driver has been broken forever in how it handles DTCS tone mode.
It was always using the rx_dtcs field, which should only be honored
in a ->DTCS cross mode. The new GUI, being in hide-unused-fields mode
always made this clear, as it appeared to be snapping back to 023
always when the user selected a different value.

Note that the test is *also* broken, which I will fix at the end of
this series.

Related to #11506
2024-08-31 07:03:47 -07:00
Dan Smith
fb87356ec8 anytone778uv: Fix incorrect DTCS handling
This driver has been broken forever in how it handles DTCS tone mode.
It was always using the rx_dtcs field, which should only be honored
in a ->DTCS cross mode. The new GUI, being in hide-unused-fields mode
always made this clear, as it appeared to be snapping back to 023
always when the user selected a different value.

Note that the test is *also* broken, which I will fix at the end of
this series.

Fixes: #11506
2024-08-31 07:03:47 -07:00
Abdullah YILMAZ
f23c71fafb Update Turkish language
Update Turkish language
2024-08-29 17:17:17 -07:00
Dan Smith
7eec52b0b8 Remove python3 test progress tracking
The share of python3-uncompliant drivers has dropped to such a small
fraction that I've forgotten to enforce that new drivers be added to
the matrix.

So, at this point, it's time to flip the whitelist to a blacklist and
just mark the drivers that haven't been tested. This removes the
matrix and generation script, content from the makesupported target,
and instructions from the PR template. It replaces those with a simple
list of drivers in tests/py3-untested-drivers.txt
2024-08-27 14:53:06 -07:00
Dan Smith
0e5163b465 Fix kenwood V7A and derivatives flow control
Fixes #10885
2024-08-26 19:00:40 -07:00
Dan Smith
a9238f5906 uvk5: Bless 3.00.x firmware
As reported in #11495, this firmware version was found in the field to
be working.

Fixes #11495
2024-08-26 19:00:40 -07:00
Dan Smith
cbf2395d4b uvk5: Fix read-only download from any firmware
This fixes the ability to download from any uvk5 in read-only mode,
regardless of firmware version. The previous patch did not properly
implement the exclusion in the download routine.
2024-08-26 19:00:40 -07:00
Dan Smith
97d64b2cf3 kenwood_d7: Fix missing valid_bands
This prevented import_mem from working and thus paste (!)

Fixes #11455
2024-08-25 11:46:50 -07:00
Dan Smith
c3cee4a1b8 tdh8, tdh3: Further revise the AM handling
These radios (annoyingly) treat frequencies in airband as AM, which
really isn't how chirp was designed to work. Before, we were making
them immutable, but that brings all sorts of problems with it. Instead,
coerce the values on get/set, and return a warning from
validate_memory() so the user is warned.

In reality, we should probably be doing that more places where we have
immutable fields, where the immutable-ness depends on the content of
the memory (i.e the frequency) than the location.

Fixes: #11441
2024-08-25 11:46:50 -07:00
Dan Smith
1e030f85f7 px777: Support newer radio revisions
Fixes #11459
Fixes #11259
2024-08-25 11:46:50 -07:00
Dan Smith
e424a261ea ic9700: Add satellite memories
This is sort of an approximation as we don't have a good way to
support pairs of full memories stored together, but it's probably
close enough.

Related to #10018
2024-08-25 11:46:50 -07:00
Dan Smith
aea740c1f0 Add Icom IC-9700 support
Note this does not implement any D-STAR stuff or satellite memories
yet, it's just basic support.

Fixes #10018
2024-08-25 11:46:50 -07:00
Dan Smith
43be43dd52 Fix memedit extra expansion with live radios
Since live radios don't have a comment column (even with metadata
simulation) we cannot assume it is there for calculating the index for
extra columns.
2024-08-25 11:46:50 -07:00
Dan Smith
fefd3ea63c Use a global job lock for live multi-dev radios
This allows LiveRadio drivers to use the single serial connection as
if it has exclusive access by making sure that only one RadioJob runs
at any given time. This could potentially reduce performance if you
were doing lots of operations against multiple live radios at once,
and we could improve that later. However, it makes writing LiveRadio
drivers with multiple sub_devices much more straightforward.
2024-08-25 11:46:50 -07:00