Commit graph

3029 commits

Author SHA1 Message Date
Richard Shaw
083ef9831e Relace instances of 'return NULL' with 'return nullptr'. 2020-10-13 13:21:40 -05:00
Richard Shaw
afbf5ea4d3 Replace instances of (NULL) with (nullptr). 2020-10-13 12:38:11 -05:00
Richard Shaw
575f0a433e Define nullptr as NULL for compatibility with gcc < 4.6. 2020-10-13 12:14:19 -05:00
Richard Shaw
3bb9df5ddc Sync with master. 2020-10-06 10:51:41 -05:00
Richard Shaw
d29a415634 c++17 fixes
* streampos has been in std:: for some time. Depreceated access via
  ostringstream has been removed.
* Using namespace std is discouraged and can cause namespace conflicts. c++17
  treats treats them as ambiguous references.
	string
	vector
	empty
	byte
2020-10-05 14:48:22 -05:00
Richard Shaw
628bc5a34c Comment out memset in fsq.cxx and other type fixes. 2020-10-05 14:37:49 -05:00
Richard Shaw
1bdb352a12 Cast to int from trx_mode (intptr_t) with LOG_ statement. 2020-10-05 14:37:49 -05:00
Richard Shaw
a9a7eed325 Require use of system regex. 2020-10-05 14:37:49 -05:00
Richard Shaw
4c4b0d5a90 MinGW updates:
- time_t should not be necessary if we're not working with a full time stamp.
- %e (space padded month) is not a valid format specifer for MS C so use %d (zero padded) instead.
2020-10-05 14:37:49 -05:00
Richard Shaw
bae17b0b8d Can't pass by reference as it may change (or not be valid) by the time it's executed. 2020-10-05 14:37:49 -05:00
Richard Shaw
ad5832b465 For rigCAT_update_pwrlevel, change from void to long for consistance (since type is known) and pass by reference instead of pointer since we're dealing with C++ 2020-10-05 14:37:49 -05:00
Richard Shaw
1c76f763c5 Bring in needed files from tmp/mingw for nsis packaging. 2020-10-05 14:37:49 -05:00
Richard Shaw
8ddeb7078b Additional fixes for MinGW 64bit.
- A few more int->intptr_t updates.
- Use winsock2.h to ensure sockets are the correct size for both 32bit and 64bit windows.
- SOCKET is not defined on *nix, so add conditional to typedef it to int.
2020-10-05 14:37:49 -05:00
Richard Shaw
a2ad6b634d Fix warning about boundary.
mNVisibleLines is set to 1, so the for loop is never actually "fired" but only
the first element exists, so [1] does not.
2020-10-05 14:37:49 -05:00
Richard Shaw
ae3c415d59 Fix warning about boundary issue.
The array length is not known at compile time, so initialize the pointer to
nullptr and test to see if has been added to (memory allocated) before tyring
to process futher.
2020-10-05 14:37:49 -05:00
David Freese
a8995588dd alpha 2020-10-05 14:37:46 -05:00
David Freese
f14ac856bb Freq Analysis
* Add Rx RIT control
    - apply as linear correction to observed frequency
  * Disable rxppm corrections when frequency analysis modem
    is active
2020-10-05 14:36:04 -05:00
David Freese
f38ba12b91 Version 4.1.14
* Maintenance release
2020-07-11 13:55:14 -05:00
David Freese
018618b6c0 fonts
* modify start up font enumeration
    - sort system fonts with qsort
    - enumerate fixed fonts
    - add fixed/all selector to font selector
    - use static class members []
      . instantiated and initialized on first instance
      . deleted when all instances deleted
  * change FreqControl width sizing to one based on widest
    numeral for selected font.
  * debug statements to assist in resolving Arch Linux startup
    hangs. To test with debug active
    - uncomment FBDEBUG in Font_Browser.cxx
    - uncomment FCDEBUG in FreqControl.cxx
2020-07-11 13:55:14 -05:00
David Freese
a626371f20 Navigator
* Fix missing initialization code for Windows OS
2020-07-11 13:55:14 -05:00
David Freese
c37af9c936 hamlib
* changes driven by hamlib 4.0
2020-07-11 13:55:14 -05:00
David Freese
606684fdf6 Build scripts
* remove -lregex from mingw cross compile scripts
2020-07-11 13:55:14 -05:00
David Freese
2adcc01844 localtime_r
* add timeops.h to n3fjp_logger.cxx
2020-07-11 13:55:14 -05:00
David Freese
2b5f464f1c Freq Analysis
* Add Rx RIT control
    - apply as linear correction to observed frequency
  * Disable rxppm corrections when frequency analysis modem
    is active
2020-07-11 13:55:14 -05:00
David Freese
0e1aa47fc2 Field Day Logger
* Fix reconnect to server when changing bands/modes
2020-07-11 13:55:14 -05:00
David Freese
a984f7ad9a flarq update
* Replace text widgets with fl_input2 and F_Edit widgets.  Adds
    UTF-8 character handling.
  * Add restoration of beacon after cessation of ARQ exchanges
  * Modify fldigi to correctly display UTF-8 characters during
    both transmit and reception of flarq text
2020-07-11 13:55:14 -05:00
David Freese
35a0af45b9 Navtex
* Fix crash in navtex code
    - When neither the alpha nor rep character are valid, the navtex code
      tries to average both characters and see whether that results in a
      valid character.
    - Unfortunately, it uses the value of the character rather than its
      position in the array as an array offset, and can crash in this
      location.
    - Fix that by using the position like the code was meant to do.
    - Found with Valgrind.
  * remove the NOSIGNAL state.
    - Since the SYNC code is quite picky nowadays, requiring
      several valid characters in a 1 second interval before
      switching to READ_DATA mode, the NOSIGNAL state is just
      not useful any more, and it can be removed.
  * make early/prompt/late detector able to lock onto more signals
    - When the early/prompt/late detector was totally out of phase,
      it sometimes totally failed to lock onto signals.
    - Fix by making the detectors jump the entire distance between
      them if the prompt detector is at a lower average than both
      the early and late detectors, and limit that to one jump by
      copying over the average values.
2020-07-11 13:55:14 -05:00
David Freese
85c25e27ff Sound Record
* Insure that audio recordings have .wav extension
2020-06-22 13:11:03 -05:00
David Freese
f952c08082 Freq Control
* change to use unsigned long to represent the frequency value
    maximum value increased to 4294967295 (2^32-1)
2020-06-19 12:27:14 -05:00
Richard Shaw
c5ffb269ca MinGW64
* build MinGW 64bit without requiring -fpermissive.
2020-06-19 12:27:14 -05:00
David Freese
b3f5f6b16e Cabrillo logs
* correct Cabrillo report MODE entry
2020-06-16 14:15:53 -05:00
David Freese
ed7c443ece sound.cxx warning
* fix compile warning on indentation
2020-06-16 14:15:53 -05:00
David Freese
84f1f36796 SNDFILE
* change SNDFILE to a required library
2020-06-16 14:15:53 -05:00
David Freese
d9f379f4e7 FSK HELL
* invert video reversal on HELL 80
  * rename FSK_HELL -> FSKH245
    - enable RsID encode/decode for FSKH245
  * set default filter bandwidth for each mode
2020-06-16 14:15:53 -05:00
David Freese
05000ef4b5 Store/Recall
* Change Store/Recall menu items to mode_info[].name vice
    mode_info[].sname
    - sname strings for Contestia and Olivia contained '/'
      causing an item selection failure.
      . fltk widget interprets the '/' as a submenu item
    - bug has been lurking for many versions
2020-06-12 12:24:14 -05:00
David Freese
b70cc0b687 wefax
* Change bandwidth selections
2020-05-29 09:30:12 -05:00
David Freese
5a06abd088 Rx Monitor
* Add test for existence of filter in monitor playback
    - prevents segmentation fault with start up conditions:
      . Rx Monitor enabled
      . Rx Filter enabled
      . Audio alerts disabled
2020-05-29 09:29:55 -05:00
David Freese
2f17a64b42 Version 4.1.13
* maintenance release
2020-05-26 09:01:44 -05:00
David Freese
a09931a2e1 doxygen
* add new documentation files
2020-05-26 09:00:26 -05:00
David Freese
c5060a3154 cw prosign
* fix loss of prosign AA
    - conflict with Northern European accented characters
2020-05-26 08:42:34 -05:00
David Freese
2f4bad6e91 Analysis mode
* Add Zulu time readout to status bar
2020-05-26 08:42:34 -05:00
David Freese
785e295ad1 Debug Sources
* remove bMOREINFO
  * add "Data Load" toggle to Debug sources
  * add "Synop" toggle to Debug sources
  * add "KML" toggle to Debug sources
  * remove deprecated command line parameters
    - --debug-pskmail, use debug source ARQ
    - --debug-audio, use debug source AUDIO
  * redesign Event Log dialog to make selection
    of level and sources more intuitive
2020-05-26 08:42:34 -05:00
David Freese
1caa2a467f wefax
* Modify phasing algorithm to measure, analyze and act upon ratio of
    white and black intervals.
  * Change default center frequency to 1900.  Allows detection of start
    tone @ 300 Hz, stop tone @ 450 Hz.
  * Simplify FM detector.  Use complex functions vice I/Q logic
  * Redesign user interface
    - always use internal Rx panel
    - always use external Tx dialog
    - move infrequently used controls to configuration dialog
  * Rewrite pic and image classes
  * Add user correlation control to config panel
  * Correct transmit methods
    - Start/Stop signals not in spec
    - Transmit duration computation resulted in very long transmission
  * update documentation
2020-05-26 08:42:33 -05:00
David Freese
a4845d9146 README update
* update reference to winfldigi
2020-05-18 21:51:03 -05:00
David Freese
5116d99bdc fedora 64 build
* remove Fl::wake calls that require void* data
  * replace with REQ qrunner calls
2020-05-18 21:51:03 -05:00
David Freese
2e3d22390a Code cleanup
* remove extraneous debugging lines from code
2020-05-11 17:49:33 -05:00
David Freese
4bdb42cc8e fsq sounder
* restore sounder when starting FSQ from another modem
2020-05-02 08:48:31 -05:00
David Freese
62cf2acffc Default event log level
* restore INFO as default
  * change socket events to VERBOSE
2020-05-01 20:14:45 -05:00
David Freese
30af9e2d8b rx_extract
* imrove behavior servicing multiple instances of flmsg
2020-05-01 20:14:45 -05:00
David Freese
4461003a0d Version 4.1.12
* Maintenance release
2020-04-23 09:36:58 -05:00