Commit Graph

543 Commits

Author SHA1 Message Date
Dan Smith
6a1c4fca72 Add a README file for the rpttool 2009-04-25 11:06:04 -07:00
Dan Smith
a589837048 Avoid being so chatty 2009-04-25 11:05:49 -07:00
Dan Smith
ffe649de13 Avoid barfing a complaint on exit 2009-04-25 11:05:20 -07:00
Dan Smith
01a5e3faa4 Add a little dedicated repeater frequency tool 2009-04-25 10:34:22 -07:00
Dan Smith
13d8c0f751 Add my little Icom FTDI hack to make the repeater modules accessible in
Linux
2009-04-25 10:32:14 -07:00
Dan Smith
0ced45143b Update "connect to repeater" terminology to not exclude RP2D/RP2V 2009-04-25 09:50:32 -07:00
Dan Smith
eea28188e6 Make ID-RP4000V into ID-RPx000V since they seem to be the same interface 2009-04-24 12:06:30 -07:00
Dan Smith
4fe1845e05 Enlighten chirp.py to IDRP4000V 2009-04-24 10:36:40 -07:00
Dan Smith
4167ce6e48 Add preliminary IDRP4000V support to chirpui 2009-04-24 10:36:16 -07:00
Dan Smith
27780720cf Add Icom RP4000V preliminary support 2009-04-24 10:35:36 -07:00
Dan Smith
69d2aa45a2 Fix offset and tone flag setting on ic9x 2009-04-17 21:30:49 -07:00
Dan Smith
2a390ccc4b Add some accelerators for main menu actions 2009-04-17 18:32:06 -07:00
Dan Smith
34ee421aa8 Remove a useless piece of debug 2009-04-17 18:30:20 -07:00
Dan Smith
8d55da162b Fix detection of AM over NFM on ic9x 2009-04-17 18:08:50 -07:00
Dan Smith
f96cf2b701 Fix ic9x delete memory operation 2009-04-17 17:53:53 -07:00
Dan Smith
3a09714416 Squelch some debug information in the job thread loop 2009-04-17 17:26:22 -07:00
Dan Smith
0d1961c7ab Use stock items in main menu bar 2009-04-15 17:44:15 -07:00
Dan Smith
386d343af5 Add a Radio->Stop function for ic9x radios that flushes the queue and
stops all activity.
2009-04-15 17:35:21 -07:00
Dan Smith
4c70b75748 Fix radiothread to not barf if it doesn't dequeue a job 2009-04-15 17:34:51 -07:00
Dan Smith
392dcfd71c Fix ic9x:A memory setting 2009-04-15 17:30:56 -07:00
Dan Smith
61b70e5191 Add a truncate() method to MemoryMap 2009-04-15 17:30:29 -07:00
Dan Smith
d95823b2ac Fix _qsubmit() calls during import to provide a priority 2009-04-15 16:42:19 -07:00
Dan Smith
9f0773bbe3 Fix extremely silly base error when encoding the channel number in a
frame to the 9x.
2009-04-15 15:37:08 -07:00
Dan Smith
f3e7db3f43 Fix (apparently) long-standing issue with tone flag parsing on 2200
Completes ticket:1

Apparently way back in changeset:120 I incorrectly subtracted 4 from 24
and got 19.  Oops.
2009-04-15 15:19:10 -07:00
Dan Smith
a4bc9f201b Fix ic2200 frequency decoding
Previously, we used the tuning step of 12.5 to determine if the
multiplier was 5.0 or 6.25.  However, you can actually get a frequency
in a channel that is encoded at 5.0 but with a tuning step of 12.5.
There is an additional flag that tells us which multiplier to use.

Partially fixes ticket:1
2009-04-15 15:08:48 -07:00
Dan Smith
9b95648723 Make import process lock the queue at priority 5 to avoid waiting for
the background load to complete.  Also fix failure to unlock the queue
if the user cancels the import (!).
2009-04-14 14:33:29 -07:00
Dan Smith
6e2aea929a Fix _qlock_when_idle() to take a priority level, jobs above which will
be preempted to grab the lock.
2009-04-14 14:28:59 -07:00
Dan Smith
3321e0bec4 Fix improper interpretation of the BCD-encoded memory number on ic9x 2009-04-14 14:28:04 -07:00
Dan Smith
a74cfa702f MacOSX build fix from Stuart 2009-03-30 18:53:07 -07:00
Dan Smith
d39cdfea14 Import the dynamic chirp version in setup 2009-03-19 16:46:29 -07:00
Dan Smith
56400d233c Track empty locations in the memcache to avoid trying to fetch them
again.
2009-03-18 16:59:28 -07:00
Dan Smith
a0d8080186 Make ic9x driver treat a lack of response as an empty location for now 2009-03-18 16:59:12 -07:00
Dan Smith
b131e962a6 Fix failure to BCD-encode the memory channel number on ic9x get_memory() 2009-03-18 16:47:46 -07:00
Dan Smith
5945b3249f Oops, merge again. 2009-03-16 16:24:01 -07:00
Dan Smith
7d3a03e930 Oops, merge. 2009-03-16 16:23:39 -07:00
Dan Smith
04c8dc9420 Fix interpretation of frequency value on 2200 when tuning step is 12.5 2009-03-16 16:22:58 -07:00
Dan Smith
4681f14835 Copy in all of the pango modules instead of just atsui 2009-03-10 17:14:53 -07:00
Dan Smith
559baaea86 Reorganize ic9x driver for better re-use, clarity, and sanity
The 9x driver will never be like the mobile radios, but this patch
attempts to clean it up in a similar way.  The ic9x_ll module contains
the low-level routines for talking to the radio, which includes the
various frame formats and helper functions to stage a request frame and
get a response.  The ic9x module implements the IcomRadio interface and
provides much-needed caching to prevent us from hitting the radio
unnecessarily.

This has undergone only minor testing, so further scrutiny is definitely
required.

Changes 5-Mar-2009 16:28 PST:
  - Fixed reversal of RPT2 and URCALL fields
  - Fixed bank and bank_index decoding

Changes 4-Mar-2009 21:14 PST:
  - Return a full callsign list, per previous changes for the editor
  - Fix off-by-one callsign index, which didn't show up until the
    above change where we started caring about non-empty callsigns
2009-03-09 14:09:01 -07:00
Dan Smith
3ecc7a1c9e Make sure to set the proper initial sort column id. Otherwise the
special channels won't necessarily sort in the proper order if the user
doesn't explicitly sort the location column.
2009-03-06 19:31:38 -08:00
Dan Smith
758541c317 Make the RadioThread keep multiple queues, indexed by integer priority,
0 is highest.  Modify the submit method to take a priority argument,
assuming highest.

In MemoryEditor, use this in the following ways:

In MemoryEditor::__init__(), start a background load of all the
radio's memories (prio 10) so that they can be loaded from cache instead
of fetched from the radio.  Start the background load at the upper limit
of the UI control, which will cause us to only load the ones higher than
their preference setting for initial loading.

In MemoryEditor::prefill() load memories at prio 2. All others (such as
a write following a user's modification to a channel) are sent at prio
0.

This means that the memories loading in the background take absolute
lowest priority.  While loading memories for the main display, an edit
gets sent to the radio immediately.  Switching to the D-STAR tab loads
the callsigns at prio 0 since the user clearly just asked for them.
2009-03-06 19:24:28 -08:00
Dan Smith
8f5aba535c Make the callsign editor use fixed-width font for easier lining up of
columns
2009-03-05 17:20:03 -08:00
Dan Smith
3b16d8ae6e Add interface to grab the renderer for a column in KeyedListWidget 2009-03-05 17:12:16 -08:00
Dan Smith
73974346c0 Redesign the callsign editor a bit
- Change to using KeyedListWidget
- Remove add/del/move buttons on the editor widget
- Display callsign slot number in a column
- Make callsign editable in-place
- Trigger CallsignEditor's changed signal when an item is edited
- Don't connect the changed signal until after we load the box the first
  time (otherwise a signal storm occurs since item-set will get fired a
  for each new callsign as it comes in from the radio driver)

Changes 5-Mar-2009:
- Update handler for item-set signal
- Ignore the first callsign slot if specified by the radio model
2009-03-05 17:07:34 -08:00
Dan Smith
9fc2ca35c2 Make radio drivers return full-length callsign lists (i.e. don't skip
empty call slots)
2009-03-05 16:54:45 -08:00
Dan Smith
de0448e12e Make KeyedListWidget's item-set signal revert the change if the signal
handler returns False
2009-03-05 16:53:22 -08:00
IT2 Stuart Blake Tener, USNR (N3GWG)
a471f1d632 Modification to setup.py to include construction of Pango stuff into
overall setup.py process.
2009-03-05 07:48:56 -08:00
IT2 Stuart Blake Tener, USNR (N3GWG)
155d1003db New multiplatform makefile for serialsniffer 2009-03-04 22:06:38 -05:00
Dan Smith
42f967651d Fix an old attribute name in chirp.py 2009-03-04 16:19:40 -08:00
Dan Smith
16ef4d3680 Move bcd_encode() to util.py 2009-03-04 15:45:27 -08:00
Dan Smith
8ddb399a05 Move IcomFrame out of chirp_common.py and into ic9x_ll.py
This was left over from the initial implementation of the 9x driver
where I expected this common parent class to be shared with another
driver.
2009-03-04 15:03:09 -08:00