Wykres commitów

192 Commity (fb0fd4ce473396145c541a718df1084d55ab2314)

Autor SHA1 Wiadomość Data
David Freese fb0fd4ce47 Mac Logger
* Added UDP interface to read data exported by MacLogger
    - UDP data stream on socket 255.255.255.255 / 9932
    - User configurable items:
      . enable/disable UDP socket reads
      . Capture and use UDP Radio Report data
      . Capture and use UDP Spot Tune data
      . Capture and use UDP Spot Report data
      . Capture and use UDP Log Report data
      . Capture and use UDP Lookup Report data
      . Enable UDP string capture to file
        file in fldigi files/temp folder
        filename: maclogger_udp_strings.txt
  * Added <signal.h> to threads.h to avoid missing reference
    to sigemptyset in some gcc installs
2016-02-19 08:23:47 -06:00
David Freese ebc00ed17d OS-X start_process
* Add App recognition
2016-01-20 21:08:26 -06:00
David Freese 9b210f7421 kml disable
* disabled kml services unless user enables on kml
    configuration tab.
    - default is OFF
2015-11-19 05:59:16 -06:00
David Freese d6a34a40f1 NAVTEX/SYNOP/KML
* suppress info messages during prog start
    - prodigiuous use of LOG_INFO increases difficulty of
      debugging other aspects of fldigi
    - enable the INFO messages for debugging or to observe
      program flow by setting command line flag
      -more-info ; case is significant
2015-10-28 09:37:43 -05:00
David Freese 0caa5ea1e1 PA debug 2015-09-20 13:34:21 -05:00
David Freese ed3b09d2b6 ifkp modem
* Incremental Frequency Keyed + modem
    - wide band, moderate speed differential MFSK signal
      with offset +1.
    - sample rate 16000
    - symbol length 4096
    - 33 tones spaced 3xSR/symlen apart approximately 398 Hz
      bandwidth.
    - multiple image transfer formats similar to FSQ
      . Avatar (59x74 WxH pixel) image transfers
    - tunable modem subcarrier (center freq)
      . may be configured fixed at 1500 Hz or
      . set to Psk sweet spot
    - raw data received written to audit log - if enabled
    - heard list entries written to heard log - if enbled
    - assigned fldigi secondary RSID code, (56, 1171)
2015-09-12 15:02:06 -05:00
David Freese 3d6e0b9168 FSQ updates
* Fix copy all on heard list
  * change default color scheme as requested by ZL1BPU
    - added user configuration items for RX text colors
  * remove "MONITOR" text from RX panel as requested by ZL1BPU
  * added fsq tx text queue to handle case when user
    tries to force a second transmit sequence when modem
    is already in TX state.
  * last_command updated to include both queued and transmitted
    text string.
    - allows recall of queued command even if transmit timed out
  * last_command changed to a stack of commands
    - allows recall of up to last 10 commands
    - each press of F2 recalls one deeper in stack
    - rotates back to beginning after recall of most ancient
  * add call to logbook using right click on heard entry
  * Fix erroneous date in audit log when fsq is default
    modem during program start
    - change format of date entry to make it easier to
      find when reviewing the log.
  * Added video text at beginning of transmit
    - also adds ability to transmit pretone
      for amplifier carrier detect
      for FM repeater operation
  * Add code to force center frequency to 1500
    when switching from another modem
  * Fix to avoid time out errors
  * Macintosh OSX thread management
    - submitted by KK5VD
    - Ensure FSQ TX routines are called in the main thread.
2015-09-11 09:37:52 -05:00
David Freese 3c264e2868 Command line
* Fix command line parsing and use of
    - xmlrpc server address/port
    - arq    server address/port
    - flrig  server address/port
2015-03-31 04:54:55 -05:00
Robert Stiles cbc9975bd5 Check IO and delay prior to autoexec prgs 2015-02-18 08:43:56 -06:00
Robert Stiles 814bed31f8 Configure Script Engine
* Add menu item "Scripts" and callback function.
    * Add scripting engine.
    * Update script engine for localization strings/messages.
    * Add hierarchy syntax
    * New file run_script.h
    * Hierarchy integration completed
    * Add command set
    * Add 'int find_index(char *)' to combo.cxx
    * Add menu item 'Generate Script' and code for generating a default
      config script file.
    * Add void loadRigXmlFile(void) to rigxml.cxx to support scripting calls.
      - Trim leading/trailing white spaces from portaudio device names.
    * Remove duplicate calling functions/method members.
    * Move command parameter specific verification to run_script.cxx
      basic testing remains in script_parsing.cxx
    * First Document Draft - Script commands
      - Add Misc NBEMS config commands
      - Add Notice - Program restart required.
      - Update Documentation with new commands
    * Removed Unused Variables (multiple locations)
    * Change behavior of floating point output for script generate.
    * Remove function qsy() use restriction on rig control availability.
    * Add strnlen, strncmp and strncpy checks to configure.ac
    * Add trim_white_spaces, strnlen, strncmp and strncpy routines to util.cxx
    * Add pa_set_dev() to soundconf.cxx for updating pa device names.
    * Add code to save macro(s) with content only.
    * Add config_script files to POTFILES.in for localization processing.
    * Flag command types.
    * Limit generate script output based on configure content.
    * Change script error dialog box to warning.
    * Change default rig.xml to rig-unassigned.xml. For testing purposes.
      (script generation)
    * Update Documents with Notes about script generation and executing.
    * Correct \ref and \section name duplicates in doxygen doc source
    * Add script commands for ID->RSID/Video/CW panel.
    * Move Script/Execute/Generate Menu Items to File Menu.
      - Move repetitive code into general functions.
    * Rename "Scripts" menu item to "Config Scripts"
    * Fix error introduced in last mods. Port Audio Gen Config
2015-02-10 18:48:34 -06:00
David Freese 3ebf3dbb40 flrig xml client
* added flrig xml client support
2015-02-08 14:05:54 -06:00
David Freese ad52857f2c Macros
* Added following to inline macro set
    - <!RIGCAT:...>
  * Added video text tag, always executes inline
    - <VIDEO:text>
  * Added new post <RX> processing que and the following
    tags
    - <@MODEM:
    - <@RIGCAT:
    - <@GOFREQ:
    - <@GOHOME>
    - <@RIGMODE:
    - <@FILWID:
    - <@TXRSID:
  * Add ability to send a gray scale image using the macro
      <IMAGE:filename>
    gray scale switch used as:
      <IMAGE:G,filename> or
      <IMAGE:g,filename>
    white space may appear anywhere in front of the filename
    as in
      <IMAGE: G, filename>
  * update to documentation
2015-02-08 14:05:47 -06:00
David Freese d47ef8ab7b Berlios
* changed all berlios lists references to source forge
2014-12-24 18:53:54 -06:00
Robert Stiles 5dc3851b33 ARQ/KISS IO state conflict (part 2)
* Ensure all state flags reflect selected mode.
	* Toggle IO mode in software.
2014-12-17 13:35:17 -06:00
David Freese 8c49c64e3a New install crash
* UI crashes if "View/Controls/none" is selected without
    first resizing the main dialog, saving and restarting
  * lost commit 03ef903606 during
    subsequent commit mergers
    - This commit restores that lost bug fix
  * removed tabUI from startup Wizard
    - unitialized variables and widgets
2014-11-05 18:40:39 -06:00
David Freese 6fcf11ddde KISS interface
* New configuration panel 'IO'
  * Add power density zones.
  * Query and Set Kiss hardware commands
  * Support bcast rsid over kiss socket
  * limit selectable modem options to 8 bit versions only (kiss i/o mode)
  * Employs simple HDLC encapsulation frame for transmit/receive CRC data
    verification.
  * Uses histogram based threshold detection.
  * Include manual squelch button for KISS op's.
  * User configurable inhibit transmit on busy frequencies for nn seconds
  * Impose transmit wait on valid frame reception
  * Uses dual UDP ports for concurrent operation of programs using the
    same IP address.
  * Clears the transmit buffer when data is available for more then 10
    mins and has not been transmitted.
  * Provides ax25 decoding. Code hijacked from the FLDIGI packet modem co
    - redirect character data display on the RX panel
  * Add non standard KISS frame to handle ARQ data.
    -  interface can handle both ARQ data and HDLC ax25 frames on
       the same port.
  * Squelch related command and control functions to the KISS hardware
    interface.
  * User configuration item to disable CSMA from config panel and kiss
    hardware frame.
  * Additional KISS command to adjust KPSQL detection gain (for testing).
  * Removed unused function in sockets.cxx not compatible with LINUX OS.
    (from John, G8BPQ)
  * New command 'BUSY:<T|F>'
  * Custom bindUDP() for UDP support.
  * Waterfall display gain adjusted based on sample rate changes.
  * Expanded conditions that indicate BUSY:T on command request.
  * Log loopback condition to event log.
  * Restore KPQSL set level position on start up.
  * Conditionally log of the KISS data path strings
  * Added debug filter 'KISS control' to event log.
  * KPSQL threshold button indicator remains ON during transmit inhibit.
    indication of active 'Busy Channel'.
  * Added DEBUG Logging command LOG_HEX(const char *buf, int len);
    D:,... ReadFromHostSocket: ..BUSY:. C0 06 42 55 53 59 3A C0
  * Added thread locks to waterfall.cxx:
    - powerDensity()
    - peakFreq(),
    - powerDensityMaximum()
    These are being accessed by more then one thread.
  * Swapped hash.m4 swapped test case to std::tr1::hash from std::hash
    - Updated pskrep.cxx to handle the change in hash.m4
  * 8PSK2000 removed.
  * Coordination merge with branch kiss21.
  * Code clean up
  * Updated Documentation. Remove unused png's.
  * Request from Jim, W2XO: Add log.set_rst_in and log.set_rst_out xmlrpc
    commands.
  * Compiler warning pacification (global in scope).
  * New XMLRPC commands to query and set active IO port.
  * Documentation update for XMLRPC commands
  * WSAStartup and WSACleanup one for one issue.
  * Update Docs for 3.22 release. New png's added.
2014-10-14 20:19:34 -05:00
David Freese 5176ffb873 home directory
* Correct parsing of --home-dir
2014-10-08 07:02:09 -05:00
David Freese 947ebc9ff5 Base Directories
* Added FL_APPS directory recognition for placement
    of fldigi.files, NBEMS.files.
    - Linux : Changed from .fldigi to fldigi.files
    - Linux : Changed from .nbems to NBEMS.files
      includes programmatic change of existing directory
      names.
2014-08-29 04:03:53 -05:00
David Freese f272e83118 RX Only
* Added new xmlrpc commands
    - main.rx_only : Disables Tx.
    - main.rx_tx : Enables normal Rx/Tx operation
  * Added command line parameter --read-only; --ro
2014-08-29 04:03:53 -05:00
David Freese 6762423be6 Choice-->ListBox
* Changed all instances of Fl_Choice and Fl_Input_Choice
    to Fl_ListBox.
    - old Fl_Choice objects renamed to listbox_xxx
    - old Fl_Input_Choice objects renamed to i_listbox_xxx
    - Note that i_listbox_xxx objects need indexing offset
      to maintain compatability with progdefaults definitions.
    - New objects should use listbox_xxx naming convention.
    - This removes a rather ugly Fltk widget.  Fltk does not
      have a native ComboBox or ListBox widget.
2014-08-29 03:04:45 -05:00
David Freese 1afceb0eaf Autostart programs
* Add the ability to autostart various programs when fldigi is
    first started.
2013-09-22 07:16:11 -05:00
David Freese fa9de7047f Error exit
* These changes are an attempt to catch and/or document start
    up failures on Windows systems.
  * Standardized the fatal exit process and message handling
  * Changed system calls in util function create_directory(...)
  * Changed name of DATA.files to "data" and placed directory in
    the home directory for specific target OS.
    - Added creation of data directory to main()
    - This effects the location of Synop data files!
2013-09-22 06:52:06 -05:00
David Freese d73fc93bb2 initialize active_modem
* initialize active_modem pointer to point to
    an instance of NULLMODEM, before any other threads
    or UI are started.
  * eliminates active_modem pointing to a NULL pointer
    and being accessed by a thread external from the
    thread which initializes the active modem.  This
    segmentation fault seems associated with an OS
    which manages threads over multiple cpu cores.
2013-09-22 05:55:33 -05:00
David Freese 5394ffb1c5 KML thread
* Changed thread exit implementation to conditional compile
    -- used for building the OS X dmg
2013-08-02 18:34:00 -05:00
David Freese 1ff3a7f7a5 Thor update
* Changes to insure that array boundaries are not exceeded
  * Moved large array from stack to static store.
  * Added cmd line parameter --debug-audio to enable audio
    debug events.  default is off.
2013-08-02 18:34:00 -05:00
Remi Chateauneu 2b9f6af619 KML/Synop/RTTY/Navtex
* Synop decoding in RTTY mode in reception buffer, in red.
  * Creation of KML file for Synop data.
  * Creation of KML file for Navtex messages.
  * User locator displayed in KML.
  * Multiline Synop and Navtex messages displayed in Adif logs.
  * Added flsynop program as stand alone Synop decoder.
  * Fixed Navtex default stations filename and Italian stations.
  * Fixed Navtex frequency error.
  * Added KML tab in configuration menu.
  * Added parameters files for Synop decoding.
  * Fixed CoordinateT type for different deserialization.
  * Less logging messages from subthreads, because they might crash.
  * Added try/catch blocks in main program.
  * Can reload previous KML files at startup.
  * Named WMO code tables in Synop decoding.
  * Synop data can be logged to Adif files.
  * flsynop can load kml files from one dir and save them elsewhere.
  * Added strreplace and strcapitalize.
  * Added Levenshtein distance for future use.
  * Added class QsoHelper to ease Adif logging.
  * East longitude positive, West negative. Fixes Navtex detection.
  * Chars '=' or ';' used as a Synop end-of-section marker.
  * Added option command in KML tab executed on KML file save.
  * Reverse mode now saved in configuration.
  * Comments in DOxygen syntax.
  * Kml snippet stored once only per placemark.
  * Code more compatible with Eclipse parsing.
  * Synop decoded text can be interleaved with 5-digits groups.
  * KML balloons can be in simple tables, matrices or plain text.
  * Adif messages are saved in the main thread.
  * Starts external command only if KML file was saved.
  * Maximum KML data retention time is ten years, default 0 is no limit.
  * Do not reload KML files when changing KML parameters.
  * User kml file does not grow at each fldigi start.
  * Relative humidity always parsed with Celsius temperature.
  * Empty KML files are created on startup if not there.
  * Prepared porting processes functions to Mingw.
  * Added script for FTP transfer of KML files.
  * Added synop_tool
  * Navtex now has reverse mode.
  * Data files can be updated from the Internet.
  * HTTP load without anymore because crash in Wine
2013-08-02 18:34:00 -05:00
David Freese 32b0543b87 PSKMAIL/ARQ socket
* rewrite of arq_io.cxx with assistance of Remi
    - more clearly define use of various variable mutex
    - added mutex blocks to TLF interface
    - changed from ::lock ::unlock to
      guard_lock usage.
  * added command line switch
      --debug-pskmail
    which enables verbose time-tagged logging for
    ARQ and PSKMAIL events
  * added guard_lock to debug methods
2013-08-02 18:34:00 -05:00
David Freese 3777182adc XMLRPC
* removed references to external xmlrpc-c library
2013-08-02 18:34:00 -05:00
David Freese 5539f2cd77 SysV ARQ interface
* Removed SysV from ARQ implementation.
  * Changed event logging to INFO for most ARQ reports
2013-08-02 18:33:59 -05:00
David Freese 9e259e667a Colors/Fonts Dialog
*  deprecate colors/fonts dialogs
  *  add functionality to configdialog on separate UI tab
2013-05-20 18:59:37 -05:00
David Freese 600db9e24b Thumbdrive
* discover application executable location
  * if the directory in which "fldigi" / "fldigi.exe" resides
    contains a file named NBEMS.DIR then base all NBEMS file
    locations to that drive-folder
  * this allows a fully portble NBEMS installation
    to a thumbdrive (or other portable drive)
  * it also allows a very easy way to install multiple NBEMS suites
    for different target uses on a single hard drive
2012-12-08 08:04:46 -06:00
Andrej Lajovic 87afa66b08 UTF-8 overhaul
* Refactor get_tx_char()
  * Reset to stock version, call byte_at()
    The class Fl_Text_Buffer_mod (borrowed from FLTK) contained a modified
    version of the method char_at() that effectively made it behave as
    byte_at(). Silently modifying a library-provided method not only disables
    the access to a certain functionality of the library, but can also cause
    other unforeseen consequences. The method was thus reverted to the stock
    version and the code that previously called the modified version was
    changed to call byte_at() instead.
  * Remove unneeded code in FTextTX::nextChar()
  * Libtiniconv
    - Added libtiniconv (charset conversion library)
    - Library Version 1.0.1 fetched from http://tiniconv.sf.net
      A small fix made to change a misspelled macro name.
      Build system adapted to fit into the fldigi build model.
  * Added CharsetDistiller class
    - Sanitize input data and convert it into UTF-8
    - CharsetDistiller receives input data one byte at a time and converts this
      data stream from a particular character set into UTF-8. Invalid input data
      is treated as if it was encoded in CP1252. Character set conversion is
      performed as soon as possible, i.e., when enough input is received to
      constitute a valid character in the input character set, this character is
      immediatly converted into UTF-8 and made available at the output.
  * Make put_rx_char_flmain() use charsetDistiller
  * Make put_echo_char() use CharsetDistiller
  * Make pskBrowser use CharsetDistiller
  * Added OutputEncoder class
    - Used for encoding transmitted data
    - OutputEncoder accepts UTF-8 strings at input, converts them to the
      selected encoding and outputs them one byte at a time.
  * TX character set conversion using OutputEncoder
  * Fix backspace for >2byte UTF-8 characters
  * Cleanup modem UTF-8 code
    - PSK, Olivia, MT63 and MFSK modems:
      cleanup of unneeded UTF-8 handling code
    - Everything that deals with output character set conversion and data
      sequencing is now done using OutputEncoder, so the modems can become
      completely agnostic about the character set used. As far as they are
      concerned, everything is just byte-sized data.
  * Added an array of character set names and identifiers
  * UTF-8 code cleanup
    - Cleanup of unneeded UTF-8 handling code in add_rxtx_char() and family
  * Character set selection menu
     - Add menu button to select the active TX/RX charset to the colors-fonts
       configure dialog.  The setting defaults to UTF-8 (selected at program
       startup).  The selection is saved to the program defaults configuration
       file when "Config/Save" is executed.
2012-12-08 08:04:46 -06:00
David Freese 14346a7c51 flmsg/flamp stream processing
* added parsing of cmd line parameters when opening flmsg
    upon completion of wrap file extraction
  * added parsing of flamp text streams
  * modified socket arq to separate socket i/o from both
    signal processing and main thread.
2012-10-03 09:21:18 -05:00
Andrej Lajovic 2a391bcfef Log file update
* Write UTF-8 to log file
  * Remove redundant code
    - open log file in main.cxx
    - also in function create_fl_digi_main_primary()
2012-10-02 16:12:14 -05:00
David Freese 143cb1c0bc Logbook Colors-Fonts
* Added color / font configuration for logbook dialog.
  * Modified Table widget to provide column width tracking
    during resize
2012-07-08 06:15:40 -05:00
David Freese ede22f5c7e Base directory
* Added command line switch to alter parent home
    directory (folder).
2012-04-07 07:16:53 -05:00
David Freese 5c71fdfb03 Check for updates
* Added check for updates when starting program
  * Configurable by user
2012-03-26 21:04:35 -05:00
David Freese a7169ea22b Debug changes
*First ERROR message
   - removed popup dialog messes on first encounter
     of ERROR / WARN message
   - fl_message dialog could be hidden behind other
     open dialogs such as signal browser, logbook or
     main dialog.  Result was apparent loss of focus
     for main dialog on Windows OS.
   - moved debug::stop() to clean_exit function to
     prevent leaving zombie debug window visible when
     closing down application
2012-03-23 10:03:55 -05:00
David Freese 23b9a177d2 Fltk-1.3.0
* Added conditional compilation for
    - Panel.cxx
    - Fl_Text_Buffer.cxx
    - Fl_Text_Display.cxx
    - Fl_Text_Editor.cxx
    - FTextView.cxx
    - FTextRXTX.cxx
  * Added code to support fast wrap
    - Rx text buffer serviced as a non-wrap buffer
    - new lines inserted into text stream when current line
      length exceeds the panel width
    - no attempt to recalculate word wrap if panel is
      resized
    - needed for slow cpu and OS X X implementation
  * Added margin adjuster
  * Removed horizontal scroll when word wrap enabled
  * Set vertical scroll to always visible - prevents
    unnecessary reformating of text when scroll bar
    goes from hidden to visible
  * Corrected faulty logic in handle_dnd for dragging file from
    file manager view to editor widget
    - SHIFT-dnd places object name into target widget
    - dnd places object contents into target widget
    - dnd multiple objects concatenates contents into target widget
  * Test for bottom of text visibility when programmatically
    adding characters to a text view or edit buffer (Rx/Tx)
  * Implemented common FSEL methods for Fltk 1.3.0
    - 1.3.0 used common calls for all supported OS
2012-01-09 10:49:11 -06:00
David Freese 6ac3b345b6 Cty.dat
* Allow user to specify location of cty.dat file.
  * Use specified cty.dat path to also locate
    lotw1.txt and AGMemberList.txt
  * Allow user to reload the file(s) if updated while fldigi
    is running or the location is changed.
  * This change allows multiple instances of fldigi to use a
    single, manageable, installation of the files
    - cty.dat
    - lotw1.txt
    - AGMemberList.txt
    The three files must be co-located in a single folder.
2011-12-03 13:34:21 -06:00
David Freese b9686471d3 Main thread hang
* Main thread would deadlock during initial read of logbook.  This
    was reported and duplicated on Linux and OS X systems.
  * Added timeout call to execute initialization routines that might
    modify any UI element after Fl::run() is executed
2011-12-01 00:56:14 -06:00
David Freese 4dd27c23d9 Logbook dirty boolean
* Added code to clear dirty boolean when log first loaded
2011-11-30 06:31:04 -06:00
David Freese b5e788e6b1 Auto-send
* Added command-line parameter --auto-dir for specifying absolute
    pathname to autosend directory.
2011-11-03 07:11:19 -05:00
David Freese db2803d7e0 NBEMS-FLMSG Directories
* Allow user specification of FLMSG directory as a command
    line argument --flmsg-dir "full-pathname-directory"
  * Defaults
    - Linux / OS-X $HOME/.nbems
    - XP C:\Documents and Settings\<user>\NBEMS.files
    - Vista/Win7 C:\Users\<user>\NBEMS.files
2011-11-03 07:10:47 -05:00
David Freese 13819f590b Logbook server
* Added configuration tab
  * Added retention of address/port in fldigi_def.xml file
  * Added ability to reconnect to the server when addr/port changed
2011-06-17 17:11:14 -05:00
David Freese 360eedb679 Logbook client
* Restored xmlrpc logbook client
2011-06-16 10:32:02 -05:00
Kamal Mostafa 8c066afe6d GNU/Hurd build fix
* Fix build on GNU/Hurd (or other platforms which do not define SA_NOCLDWAIT.
  * Fix build on GNU/Hurd (or other platforms which do not define any PATH_MAX)
2011-05-23 17:41:29 -05:00
David Freese 5d8e050980 View slider color
Added color selection for signal viewer detection level widget
   - color selection on config tab UI/Browser
2011-01-13 07:09:40 -06:00
David Freese 12f0f4be48 Logbook Server Connection Disabled
Disabled logbook server connection pending completion of
  external program fllog.  Current design tested and functional
  with fllog-0.9.904
2011-01-05 16:13:15 -06:00
David Freese a5f2f7f1c4 Log Client
Connect to external xmlrpc log server
2010-11-19 08:50:05 -06:00