Commit Graph

271 Commits

Author SHA1 Message Date
Dan Smith
08ad256959 Fix IC-V80 style issues
Related to #174
2023-02-16 14:58:46 -08:00
Dan Smith
1665671883 Add Kenwood TK-2140/3140 support
Fixes #10339
2023-02-02 15:36:37 -08:00
Dan Smith
eeae0f7a6f Fix actually returning status from fast-driver 2023-01-29 08:02:47 -08:00
Dan Smith
9cdff2b151 Add fast-driver tox target
This makes us only run driver tests for drivers that have had changes.
Note that this only works if you've got an up-to-date origin remote.
2023-01-28 08:51:26 -08:00
Dan Smith
548101122d Check for merge commits in PRs 2023-01-28 08:51:26 -08:00
Dan Smith
97f07da5bb Add Kenwood TK-7160, 8160 support
This is not very complete yet, but it works for me. Tested with a
real 7160 and with 8160 files from KPG-99D.

Fixes #10323
2023-01-27 17:05:25 -08:00
Mel Terechenok
3594e1d0d4 New Model support Wouxun KG-UV980P, KG-1000G, KG-1000G Plus
Fixes: #7223
Fixes: #10109
Fixes: #9979
2023-01-25 20:12:56 -08:00
Dan Smith
7055f5b3b4 Finish icx8x conversion to bitwise
This finishes the conversion by moving the set operations to use
bitwise and remove the legacy icx8x_ll module
2023-01-25 17:32:25 -08:00
Dan Smith
c83d09343c Fix check-patch CRLF detection 2023-01-15 21:33:37 -08:00
Dan Smith
2c125a1ba5 Make check_commit detect CRLF files 2023-01-15 21:10:17 -08:00
Dan Smith
71ba4ffbc7 Remove two unit test files for chirp-legacy
These weren't removed when chirp/ui was nuked.
2023-01-14 16:22:50 -08:00
Dan Smith
eb61d9b1f3 Fix style errors in ft2d.py
And add to manifest
2023-01-10 16:38:55 -08:00
Dan Smith
95b58df182 Squelch pep8.py warnings 2023-01-10 15:19:20 -08:00
Brad Schuler
17dd37e175 AnyTone 5888UVIII Python 3 updates, tested with radio, added to cpep8 manifest 2023-01-10 14:39:55 -08:00
Dan Smith
759501097e Record Icom W32A as working
Reported by a user. Fixes #10238
2023-01-08 09:03:56 -08:00
Dan Smith
502e982a64 Add MemoryMapBytes to check_commit.sh
Make sure we don't add new drivers with non-byte-clean MemoryMap
objects.
2023-01-04 15:13:33 -08:00
Dan Smith
3641406a9b Add check_commit.sh and github action
This enforces some commit requirements, such as not adding new code
that relies on py2 compatibility.
2022-12-31 11:01:11 -08:00
Dan Smith
b9054684e7 Delete chirp.ui module
This removes the legacy GTK GUI from the tree. This is not being
maintained, doesn't work very well, and I'm tired of accidentally
editing files here when I mean to edit wxui/*. When we announce the
chirp-next stuff to the users, I don't want packagers to be confused
about which version to use, what the required dependencies are, etc.
2022-12-28 08:32:01 -08:00
Dan Smith
7ea97a769d Remove chirpw from cpep8.manifest 2022-12-27 13:14:20 -08:00
Dan Smith
6dd505b0a0 Add a definition of 'unit tested' on the matrix 2022-12-27 10:59:12 -08:00
Dan Smith
718f0cdd72 Make RRCA use the new network source pattern
Also do some cleanup required to eliminate the globals, which no
longer really work with the split into sources/ anyway.
2022-12-20 15:02:43 -08:00
Dan Smith
4a4d65bfc8 Implement banks for TH-D74
Also add to cpep8.manifest and fix a couple style issues.
2022-12-18 16:22:30 -08:00
Dan Smith
d2c7bbf8bd Move fips from ui to wxui 2022-12-16 12:44:11 -08:00
Dan Smith
129b1aa9a4 Move config to wxui 2022-12-16 12:44:11 -08:00
Charlie Li
0f861bf65f Include data files in the chirp package itself
Data files outside the package are not installed in binary distributions, so move them inside. Use importlib_resources to load icon and stock configs.
- use only the newer files(), as_files() and namespace APIs introduced in Python 3.10
- use the importlib_resources package if Python < 3.10
- remove obviated pkg_path()
- bump minimum Python version to 3.7

Fix test paths to account for the move
2022-12-14 11:20:30 -08:00
Dan Smith
817eae76ac Add a "probably works" status to the test matrix
This is for drivers that share a cloning protocol module with other
tested drivers *and* are tested on a static image in the tree. For
example, all the kenwood live drivers use the same few routines for
communicating with the radio. Icom clone-mode radios (with one
exception) use the icf module for cloning and thus there's really
nothing to convert in the drivers themselves.
2022-12-12 16:40:21 -08:00
Dan Smith
32f8ac7084 Add a note about "Byte Clean" to the matrix 2022-12-09 19:13:00 -08:00
Dan Smith
f770f128a6 Fix "market share" stats for a few things
First, I was imperfect in my matching of models with special
characters (spaces, parens, slashes, etc) so those were not
represented here.

Second, I wasn't including aliases in the market share for the parent
radio.

This substantially alters the stats (in a good way for total
completion).
2022-12-09 17:20:40 -08:00
Dan Smith
1c56250a33 Add model usage stats to test matrix
This adds some stats about which models are the most widely used to
the test matrix to help guide decisions about total testing versus
relevant testing.

Model stats are captured from our own databases, and are far from
perfect, but are probably sufficiently useful. Stats captured on
9-Dec-2022.
2022-12-09 09:08:35 -08:00
Dan Smith
25cc75970c Fix tk760g.py style issues 2022-12-06 14:19:40 -08:00
Dan Smith
27f183cd0d Add a test procedure to the bottom of the matrix
For consistency and so a reader knows what "tested" means.
2022-12-04 11:08:37 -08:00
Merge Bot
09306b4e90 Merge commit '9608cb66ca27fdf957746428a4313769f75423a9' into py3-sync 2022-11-24 02:18:00 +00:00
Dan Smith
9608cb66ca Fix improperly-named driver modules
These drivers are only importable by the magic directory stuff, but
are not actually valid module names.
2022-11-23 18:17:37 -08:00
Dan Smith
6fc596eadc Remove the safe import and py3_remaining stuff
This makes us stop tolerating modules that don't import in py3.

\o/
2022-11-23 17:54:28 -08:00
Merge Bot
fcd454e261 Merge commit '538171e2b3cbd4ecb7d21d448403a36988084044' into py3-sync
# Conflicts:
#	chirp/drivers/icf.py
#	chirp/ui/mainapp.py
2022-11-21 15:42:56 -08:00
Dan Smith
538171e2b3 Initial ID-5100 support
Tested only with a MapRev=3 radio.

Fixes: #1647
2022-11-21 15:26:21 -08:00
Dan Smith
2db34939c2 Add some stats to the testing report
So we can see how much is completed vs. remaining.
2022-10-24 17:46:56 -07:00
Dan Smith
440a2bdefb Allow marking drivers as implied-tested
This should be used for drivers that are either exactly identical to
another (i.e. a subclass with only vendor/model changes) or which
can be tested with another model radio with only constraint
differences (i.e. a GMRS-locked version of an amateur model).
2022-10-24 17:46:56 -07:00
Dan Smith
345bb586c9 Report byte clean status on py3 driver report 2022-10-02 07:49:51 -07:00
Merge Bot
27b5bff879 Merge commit '3ccd695e34e0f7d0382206188b815a34b3c305f8' into py3-sync 2022-10-01 23:48:10 +00:00
Jim Unroe
dedb3cabee [AR-5a8] Add Abbree AR-518
This patch adds the Abbree AR-518 radio.

Fixes #9738
2022-10-01 16:39:37 -07:00
Dan Smith
e43e34b3b8 Add a tool for tracking real-world driver testing
Converting a driver to pass tests on python3 is not quite the same
as it actually working in the real world. We need to keep track of
which drivers have been tested in the wild, separate from those that
merely pass tests.

This adds a file tests/py3_driver-testers.txt, which is a simple list
of the driver ID key and the person/date when it was tested. Running
the "makesupported" tox target will also generate
tests/Python3_Driver_Testing.md, which will be render-able in github
for easy viewing.

If you test a driver on python3, please add a line to the tracking
file, run the makesupported target, and update the markdown file.
2022-09-21 15:05:09 -07:00
Dan Smith
3792acf9dc Merge branch 'master' into py3
This looks like a lot of change, but it was pretty trivial. Many
of the conflicts came from d40963b3ed
which fixed a bunch of typos. There were some test adapter changes,
some GTK UI fixes, RR canada additions, and the usual driver
maintenance.

I didn't test the GTK UI since it seems like we're abandoning keeping
that working in python2 or python3 with pygobject (which is fine).
2022-09-09 14:04:46 -07:00
Dan Smith
9d2dd6730f Run tests in github workflow for py3 2022-09-09 08:23:32 -07:00
Dan Smith
ff7d46c1e3
Merge pull request #28 from dforsi/fix/typos
Fix spelling
2022-09-08 17:15:17 -07:00
Mel Terechenok
ca0a7ace82 [KG-935G] Add Support for Wouxun KG-935G GMRS Radio - New Model #9489
New Driver addressing new model request

New Model #9489
2022-09-08 16:43:38 -07:00
Daniele Forsi
d40963b3ed Fix spelling
Fixed with:
codespell --skip=locale,./chirp/ui/fips.py --ignore-words-list=ans,parm,parms,rcall,sav,ser,setts,wth --summary --write-changes --interactive=2
2022-08-09 14:19:03 +02:00
Jim Unroe
b6fed186f8 [RB15] Add Retevis RB15
This patch adds support for the Retevis RB15

related to #8531
2022-07-25 10:37:56 -07:00
Jim Unroe
dd0ea1c1ae [GMRS-V2] New Model: Baofeng TEch GMRS-V2
This patch adds support for the BTech GMRS-V2

#9863
2022-05-14 18:26:37 -07:00
Matthew Handley
b3fad0ef29 [KG-UV920P-A] Add Wouxun KG-UV920P-A
This patch adds support for the Wouxun KG-UV920P-A dual-band mobile transceiver.
Tested on my own KG-UV920P-A. May work with other similar models, but I only
have this one to test against. Based loosely on the KG-UV8D driver.

Addresses #386
2022-02-18 12:47:00 -08:00
Jim Unroe
90a0d5dd16 [RB17P] Retevis RB17P
This patch adds support for the Retevis RB17P GMRS radio.

Addresses #9752
2022-02-18 12:28:01 -08:00
Dan Smith
35b0704697 Fix tg_uv2p style issues
I didn't catch that this wasn't in the manifest during review,
and thus the style issues didn't get flagged. Adding it to the
manifest and fixing those here.

Related to #8591
2022-02-09 15:19:40 -08:00
Jim Unroe
26690d9856 Driver Maintenance: th9800.py
1. Add to PEP8 Manifest
2. Perform PEP8 cleanup as needed

in preperation for #7799
2021-11-04 15:53:44 -07:00
Jim Unroe
c178f90bf6 [P10-UV] Driver maintenance: ga510.py
This patch adds the ga510.py driver into the cpep8.manifest
and performs cpep8 cleanup prior to addressing issue #9231
2021-10-15 16:36:21 -07:00
Jim Unroe
318b69f93d Driver Maintenance: radtel_t18.py
1. Add to PEP8 manifest
2. Perform PEP8 cleanup

Preperaton for #9305
2021-08-25 15:33:16 -07:00
Jim Unroe
3fcf571472 Driver Maintenance: th9000.py
1. Add to PEP8 manifest
2. Perform PEP8 cleanup

Preperaton for #6269
2021-08-24 11:19:08 -07:00
Dan Smith
6fa3c78921 Remove generic_xml driver
This never really caught on, nor got the attention or maintenance it really needed.
I dunno if it even works in py2 for much anymore, but I don't think converting it
to py3 makes any sense.

(cherry picked from commit 89c85eeeb4)
2021-08-22 18:02:45 -07:00
Jim Unroe
a779fde5bc [RT87] Add Retevis RT87
This patch adds support for the Retevis RT87 two-way radio.

#6769
2021-08-04 20:55:07 -04:00
Jim Unroe
eadf3a34de [RT98] Add support for Retevis RT98 Single Band Mini Mobile Radios
This patch adds support for the various Retevis RT98 mobile radio models/modes.
VHF FreeNet
VHF COM
VHF COMII
UHF PMR
UHF COM
UHF COMII

#9181
2021-07-03 14:13:35 -04:00
Jim Unroe
1d318621a7 [RT76P] Add Retevis RT76P
This patch adds support for the Retevis RT76P GMRS handheld radio.

#8681
2021-05-30 22:39:21 -04:00
Jim Unroe
9e09075b79 [BF-T8] add support for the Baofeng BF-T8
This patch adds support for the Baofeng BF-T8 (and it variants)

related to #8263
2021-05-19 20:58:53 -04:00
Jim Unroe
eaf7961ce3 [AT-778UV] Add anytone778uv.py driver to cpep8.manifext
This patch adds the anytone778uv.py driver to the cpep8.manifest in order to
enable style checking.

related to #8859
2021-03-17 16:18:15 -04:00
Jim Unroe
1eb4dccab5 Driver Maintenance: tk760.py
1. Add to PEP8 manifest
2. Perform PEP8 cleanup

in preperaton to address #8245
2021-03-06 11:34:49 -08:00
Dan Smith
ecd6140dcf Fix case mismatch in cpep8 manifest
This doesn't matter on case-insensive systems, but does elsewhere.

Related to the fix for #8609
2021-01-08 20:00:42 -08:00
Jim Unroe
f04e320703 Driver Maintenance: vgc.py
1. Add to PEP8 manifest
2. Perform PEP8 cleanup

fixes #8633
2021-01-01 14:29:39 -05:00
Jim Unroe
9d118d9d9b Driver Maintenance: uv6r.py
1. Add to PEP8 manifest
2. Perform PEP8 cleanup

fixes #8631
2021-01-01 13:55:35 -05:00
Jim Unroe
fb1696fe73 Driver Maintenance: tdxone_tdq8a.py
1. Add to PEP8 manifest
2. Perform PEP8 cleanup
3. Remove unused code

fixes #8629
2021-01-01 00:05:36 -05:00
Jim Unroe
9a75f96153 Driver Maintenance: retevis_rt26.py
1. Add to PEP8 manifest
2. Perform PEP8 cleanup

fixes #8627
2020-12-31 23:23:32 -05:00
Jim Unroe
60cab41cf7 Driver Maintenance: retevis_rt23.py
1. Add to PEP8 manifest
2. Perform PEP8 cleanup

fixes #8625
2020-12-31 23:14:29 -05:00
Jim Unroe
fdca207b28 Driver Maintenance: retevis_rt21.py
1. Add to PEP8 manifest
2. Perform PEP8 cleanup

fixes #8623
2020-12-31 23:02:21 -05:00
Jim Unroe
9ee0dc80c8 Driver Maintenance: retevis_rt1
1. Add to PEP8 manifest
2. Perform PEP8 cleanup

fixes #8621
2020-12-31 22:47:47 -05:00
Jim Unroe
06984dc9ab Driver Maintenance: mursv1.py
1. Add to PEP8 manifest
2. Perform PEP8 cleanup

fixes #8619
2020-12-31 22:29:14 -05:00
Jim Unroe
5dae380156 Driver Maintenance: lt725uv.py
1. Add to PEP8 manifext
2. Perform PEP8 cleanup

fixes #8617
2020-12-31 22:15:12 -05:00
Jim Unroe
6bcba2dee1 Driver Maintenance: gmrsuv1.py
1. Add to PEP8 manifest
2. Perform PEP8 cleanup

fixes #8615
2020-12-31 21:47:28 -05:00
Jim Unroe
1a2c226b3b Driver Maintenance: baofeng_common.py
1. Add to PEP8 manifest
2. Perform PEP8 cleanup

fixes #8613
2020-12-31 21:26:55 -05:00
Jim Unroe
0a22e764a7 Driver Maintenance: anytone_ht.py
1. Add to PEP8 manifest
2. Perform PEP8 cleanup

fixes #8611
2020-12-31 21:14:30 -05:00
Jim Unroe
e4a8201f37 [UV-5X3] PEP8 Cleanup
This patch does PEP8 Cleanup prior to fixing bug #8609. There are
otherwise no changes to any features or settings.
2020-12-31 19:02:42 -05:00
Jim Unroe
e060ddb970 [RT22] Retevis RT22 Driver Cleanup for better PEP8 Compliance
Clean up driver before adding another radio ID and support for additional
radio models.

related to #6467
2020-12-16 22:17:10 -05:00
Jim Unroe
9bbda21de2 [TH-UV88] New Model: TYT TH-UV88 (replacement for previous patch)
This patch adds support for the TYT TH-UV88

Initial radio protocol decode, channels and memory layout
by James Berry <james@coppermoth.com>, Summer 2020

Related to #7817
2020-11-18 15:05:43 -05:00
Rick DeWitt
c80607e9b5 [tmd710] New Clone-Mode driver for Kenwood TM-D710/GA/GE. Issue #7467
Implements true clone mode using PROG MCP binary image.
2020-04-28 10:58:00 -07:00
Dan Smith
278bf0d112 Merge with main branch
#0
2019-12-05 17:12:49 -08:00
Dan Smith
8e8d8385c7 Giant merge with main branch. Some regressions are still not resolved.
#0
2019-12-05 13:08:48 -08:00
Josh Small VK2HFF
210ae5dc14 Issue #3 - New(!) Model, Yaesu FT-1500M 2019-12-05 21:14:35 +11:00
Rick DeWitt
de93c3836f [ts480] New Clone Mode driver for Kenwood TS480 models, Issue #7079
New driver fixes issue #7079
2019-11-07 15:08:15 -08:00
Jim Unroe
944a8fc85c [BF-A58S] Add Support for Baofeng UV-82III
This patch only cleans up driver style issues prior to adding support
for new models. There are no changes in functionality.

Add baofeng_wp970i.py driver to cpep8.manifest
Clean up driver style issues (correct indentation, remove whitespace,
add/remove blank lines, etc)

related to #7163
2019-10-19 13:05:25 -04:00
Dan Smith
a9bde2040a Add Kenwood TK-8180 driver
#743
2019-07-11 17:15:40 -07:00
Rick DeWitt
19494fb6e1 [th-uv8000] New driver for TYT TH-UV8000 family, fixes issue #2837
Submitting new driver in support of 11 issues 2837 ... 6183
2019-07-05 06:47:18 -07:00
Dan Smith
112df32f39 Fix ic2730 driver style issues and add to cpep8.manifest
In anticipation of #6711
2019-06-26 07:58:47 -07:00
Jim Unroe
21f1549c83 Driver Cleanup: btech.py
1. add btech.py to PEP8 manifest
2. make ptech.py compliant with PEP8

related to #6733
2019-04-20 10:04:50 -04:00
Dan Smith
87e68fa1d5 Merge with default branch
#0
2019-03-09 14:11:39 -08:00
Dan Smith
0899279192 Add ft4 to cpep8 manifest
Related to #4787
2019-02-28 06:44:54 -08:00
Dan Smith
89c85eeeb4 [py3] Remove generic_xml driver
This never really caught on, nor got the attention or maintenance it really needed.
I dunno if it even works in py2 for much anymore, but I don't think converting it
to py3 makes any sense.

#495
2019-02-15 09:47:36 -08:00
Dan Smith
10d0f7f2d4 Fix some style and unittest regressions in recent patches
#495
2019-02-09 09:44:05 -08:00
Zhaofeng Li
71d183d2a9 New Model #6421 TYT TH-350 2019-01-31 15:48:53 -08:00
Bruno Maire
161fbbf3b8 New Model #6259 Yaesu FT-7100 2018-12-14 17:47:10 +01:00
Dan Smith
9b7ba53515 Fix style issues in kguv9dplus
I forgot to add it to the manifest, so I didn't notice these:

./chirp/drivers/kguv9dplus.py:982:74: E222 multiple spaces after operator
./chirp/drivers/kguv9dplus.py:1031:80: E501 line too long (80 > 79 characters)
./chirp/drivers/kguv9dplus.py:1032:80: E501 line too long (80 > 79 characters)
./chirp/drivers/kguv9dplus.py:1890:26: W291 trailing whitespace

Related to #3509
2018-12-13 19:59:35 -08:00
Vincent Stipo
7e9eae46c6 [FT818] New Model Support Yaesu FT-818 #5607 2018-12-03 08:31:11 -08:00
Dan Smith
d15f4c63ca Remove csvdump from pep8 manifest
Related to #6227
2018-11-27 09:10:23 -08:00
Klaus Ruebsam
f38ab375f8 Added support for Radioddity R2
Related to #6063
2018-08-27 10:55:23 +02:00
Dan Smith
2bad433704 Remove unnecessary test tools
After #5237 these are no longer necessary and duplicative.
2017-10-11 20:38:20 -07:00