Commit Graph

5723 Commits

Author SHA1 Message Date
Giovanni Scafora
e736de17d1 Updated Italian Translation 2024-09-20 17:04:11 -07:00
Dan Smith
786e37ce26 Fix removing immutable settings for lists
Settings can have multiple values, although this is not often used and
the UI has places where this is not properly honored. Fix the case
where we look for and prune uninitialized/immutable settings and
be sure to iterate over all the values to avoid a crash.

Fixes #11549
2024-09-19 16:47:11 -07:00
Dan Smith
673dcb4eef Add user-contributed US Aviation stock config
Fixes: #11074
2024-09-19 16:04:11 -07:00
Dan Smith
af239b6f51 Change new-version landing page to home 2024-09-19 16:04:11 -07:00
Dan Smith
1c1efb3f01 Help Prolific refugees to understand their hostage situation
This attempts to warn Windows users who have had their devices
poisoned by the Prolific driver heist of the problem and the
workaround. Hopefully this will prevent users from opening bugs
thinking that CHIRP is at fault.

Related to #11552
2024-09-19 16:04:11 -07:00
MELERIX
ee2883a139 Updated Spanish Translation 2024-09-18 21:24:30 -07:00
Dan Smith
8147c3878e rt470x: Enable proper AM mode handling
Fixes: #11540
2024-09-18 15:49:36 -07:00
Joseph Scanlan
f708d2e553 ft8100: Update locale files 2024-09-17 15:28:19 -07:00
Joseph Scanlan
dbede58386 ft8100: Changed upload and download prompt
Added classmethod get_prompts to give upload and download
instructions specific to the FT-8100.
2024-09-17 15:28:19 -07:00
Dan Smith
2d4672af6f rt622: Add new identification string
Fixes #11532
2024-09-17 15:25:25 -07:00
Dan Smith
d064ebdebd ga510v2: Limit name to 8 chars per OEM
Fixes #11425
2024-09-17 15:23:36 -07:00
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