Allan Bazinet
daba0b571f
Remove APRSClient parent; will move to thread
2024-11-07 13:12:55 -08:00
Allan Bazinet
afa3bb449e
Lose unused revision concept
...
This is a carry-over; it’s never used.
2024-11-06 15:09:01 -08:00
Allan Bazinet
8ab8d3e236
Pass in program info, rather than keep in ivar
2024-11-06 12:22:23 -08:00
Allan Bazinet
575cb3d588
Host program_version invariant
2024-11-06 11:36:07 -08:00
Allan Bazinet
9b555d00c5
Debug to implementation; eliminate temporaries
2024-11-06 05:43:03 -08:00
Allan Bazinet
080494f602
Decouple spot client from message client
...
Decouple under-the-covers usage of the message client’s socket by the spot client, in order to facilitate future multicast operations by the message client.
2024-11-05 06:36:43 -08:00
Allan Bazinet
66b8f795d8
Use QVariantHash and QVariantMap
2024-11-04 17:48:36 -08:00
Allan Bazinet
39326e1b1c
Connect server instances to correct routines
...
I assume the original setup to be a mistake, since these routines exist, but without them connected, the relevant checkboxes in the configuration don’t actually do anything.
2024-11-04 13:36:42 -08:00
Allan Bazinet
defc277d12
Use consistent naming
2024-11-03 08:11:34 -08:00
Allan Bazinet
7a09fc698a
Simplify MessageClient constructor
...
Don’t pass arguments that we don’t use.
2024-11-02 09:21:43 -07:00
Allan Bazinet
5fe3c2cd23
Const-qualify attenuation slider argument
2024-11-01 21:11:28 -07:00
Allan Bazinet
fffa0a6fb1
Eliminate temporary
2024-11-01 21:07:48 -07:00
Allan Bazinet
819d2aeef1
Formatting
2024-11-01 10:48:56 -07:00
Allan Bazinet
9eec77d4e0
Eliminate conditional check
...
Conditional is always true at this point; we literally just set the conditions required for it to be true.
2024-11-01 10:42:12 -07:00
Allan Bazinet
9caccdd4af
Dead shared code removal, nzhsym
...
Half-symbol stop index; no longer used by called Fortran code. Additionally, command-line parameter to set transmit period to anything other than 1 minute is also no longer relevant.
2024-11-01 10:37:33 -07:00
Allan Bazinet
9587b5b62c
Dead shared code removal, ntr
...
Historically used by MSK144 mode; no longer relevant
2024-11-01 10:12:00 -07:00
Allan Bazinet
ecd70e8a64
Remove dead single decode support, C++ side
2024-11-01 09:40:02 -07:00
Allan Bazinet
9a82e3edb6
Dead shared code removal, ntol
...
Historically used by modes like MSK144; no longer relevant.
2024-11-01 08:39:44 -07:00
Allan Bazinet
fbc7c3b7f3
Dead shared code removal, n2pass
...
Historically used by JT65; no longer relevant.
2024-11-01 08:35:17 -07:00
Allan Bazinet
3eed0807c0
Ongoing dead shared code removal
...
Deleting unused fields minw, dttol, minSync; of historical interest only, no longer used.
2024-11-01 08:32:48 -07:00
Allan Bazinet
41d639ec36
Ongoing dead shared code removal
...
Deleting unused fields emedelay, nlist, listutc, naggressive, nrobust; of historical interest only, no longer used.
2024-11-01 08:25:10 -07:00
Allan Bazinet
7ba81b2b4b
Dead code removal, nclearave
...
Historical use only; no longer relevant, used int the past for Q65.
2024-11-01 08:16:08 -07:00
Allan Bazinet
3c8e49b4b4
Remove duplicate nftx shared field
...
This is simply an alias for nfqso; it’s entirely redundant
2024-11-01 07:52:41 -07:00
Allan Bazinet
4f1be01811
Dead shared Fortran parameters removal
...
lapcqonly and ljt65apon are just completely dead and can be removed immediately. nQSOProgress and lft8apon were concepts relating to using a variable number of decoder passes per QSO state, but we don’t have QSO states as WSJTX does, and always do 4 passes.
2024-11-01 06:27:48 -07:00
Allan Bazinet
a3e5dcd673
Dead common Fortran code removal
...
The shared decoder parameters ntxmode, mygrid, hiscall, and hisgrid are unused dead stores, related only long-deleted WSJTX function; remove them.
2024-11-01 05:37:56 -07:00
Allan Bazinet
346db7dc1a
Default submode on new installs to Normal
2024-10-31 07:29:55 -07:00
Allan Bazinet
163c57cf97
Use enum value, not zero
2024-10-31 07:29:26 -07:00
Allan Bazinet
a58f9a7136
Submode HB test to accessor; simplify logic
2024-10-31 07:27:22 -07:00
Allan Bazinet
efea433d89
Reduce default decode passes from 3 to 2
2024-10-30 18:44:10 -07:00
Allan Bazinet
274dc702f7
Namespace private constants
...
Move state constants to a State namespace, and hoist up the configurable defaults (dial frequency, frequency, decoder depth) so that they’re not buried lower down.
2024-10-30 11:47:36 -07:00
Allan Bazinet
18f6534918
Don’t parameterize modulator by frame rate
...
There’s zero chance of us using anything other than 48 kHz; there’s no value in allowing anything else.
2024-10-28 09:35:08 -07:00
Allan Bazinet
8a6a06c2cb
Pass only submode to modulator
2024-10-28 07:51:13 -07:00
Allan Bazinet
ee43de6f73
Pass period to modulator when start called
...
Resolves thread safety issue, and the period is only used as an immediate value during the start call, it’s not required to be an instance variable.
2024-10-28 07:25:14 -07:00
Allan Bazinet
976c6f2433
Pass start delay, rather than period, to modulator
2024-10-28 07:03:33 -07:00
Allan Bazinet
9d887dc721
JS8 Submode namespace updates
...
Convert symbo samples, start delay, and period to unsigned; rename startDelay to startDelayMS for clarity.
2024-10-28 06:47:47 -07:00
Allan Bazinet
611e5d5d33
Reorder modulator parameters; avoid defaults
2024-10-27 21:16:31 -07:00
Allan Bazinet
5db8874b48
Don’t parameterize Modulator tone spacing
...
Since the sample rate is a constant, the modulator can figure out the tone spacing by itself, based on the frames per symbol, we don’t need to parameterize it.
2024-10-27 20:58:02 -07:00
Allan Bazinet
cd73c40e25
Don’t parameterize modulator by symbolsLength
...
This is a constant with JS8; simplifies modulator implementation and resolves thread safety issue to not pass it as a variable.
2024-10-27 20:47:54 -07:00
Allan Bazinet
b338804232
Modulator ongoing refactoring
...
Eliminate fSpread parameter; it’s a thread safety issue and it’s never anything other than 0.0. Invert modulator active / idle accessor to simplify logic.
2024-10-27 20:33:26 -07:00
Allan Bazinet
54c9307b2b
Eliminate modulator noise option
...
We never want to inject noise into the signal.
2024-10-27 18:18:44 -07:00
Allan Bazinet
e1cba2a326
Eliminate modulator synchronize option
...
Invariably true; we always want to synchronize.
2024-10-27 18:12:02 -07:00
Allan Bazinet
8398a959ef
Eliminate modulator fast mode option
...
This option is invariably false; simplifying usage.
2024-10-27 18:09:46 -07:00
Allan Bazinet
c7deff81b9
Remove CW function
...
Remove old global icw data, calls to and compilation of the morse subroutine used to generate it, and support for it in the Modulator class.
2024-10-27 14:15:13 -07:00
Allan Bazinet
0101acd403
Eliminate m_mode
...
This instance variable is effectively a constant of ‘FT8’; logic that depends on it can be reduced to always being true.
2024-10-27 13:06:57 -07:00
Allan Bazinet
a00e2e09cd
Use modern erase_if()
2024-10-27 06:28:31 -07:00
Allan Bazinet
a8137054ea
Extract copyByteData() commonality into function
2024-10-27 04:52:52 -07:00
Allan Bazinet
480330d844
Lose m_ntx instance variable
...
This is effectively now a constant of 9, and is therefore no longer relevant. Rename ba2msg() to copyMessage(), have it deal in QStringView, and use STL methods for it. Avoid creating a temporary string to calculate trimmed message length.
2024-10-26 10:37:04 -07:00
Allan Bazinet
07364c01ca
Move g_iptt global to m_iptt instance variable
2024-10-26 07:13:47 -07:00
Allan Bazinet
f03ecb44bc
Normalize constants, move to anonymous namespace
2024-10-26 07:07:12 -07:00
Allan Bazinet
365f045979
Eliminate color table global
2024-10-26 07:02:01 -07:00