Wykres commitów

1524 Commity (c34f71933780245fb48a9d448b43c07fcc9b3226)

Autor SHA1 Wiadomość Data
Mike Black W9MDB f19d354ede Astyle files 2022-05-29 12:06:44 -05:00
Mike Black W9MDB b50fe3b7b2 Improved debug msg in sprintflst.c 2022-05-28 15:21:10 -05:00
Mike Black W9MDB d42e75bac6 Avoid deadlock in add2debugmsgsave 2022-05-26 08:25:39 -05:00
Mike Black W9MDB 6b76701efc Put mutex in add2debugmsgsave 2022-05-23 11:44:19 -05:00
Mike Black W9MDB c8b2322018 Try to fix random seg fault in add2debugmsgsave 2022-05-23 10:41:16 -05:00
Mike Black W9MDB 2127633678 Let add2debugmsgsave use 20 lines of memory 2022-05-22 22:15:55 -05:00
Mike Black W9MDB b1a4bb06ce Astyle files 2022-05-21 13:23:51 -05:00
Mike Black W9MDB c9d31337b9 Fix MICDATA ptt with rigctld and the few rigs which needs this -- e.g. TS-590, TS-480, TS-890, TS-990. VX-1700. ICF-8101
https://github.com/Hamlib/Hamlib/issues/1033
2022-05-20 09:06:17 -05:00
Michael Black d89bc3df4f
Merge pull request #1032 from wuxx/master
add new rotator grbltrk
2022-05-17 08:14:48 -05:00
Mike Black W9MDB 59211b6a58 Fix mode=NONE in rig_set_mode 2022-05-17 07:49:44 -05:00
Mike Black W9MDB a0321ba25f Add ability to set mode only with rig_set_mode by using Mode=NONE 2022-05-17 07:42:07 -05:00
wuxx e9fb733dae add new rotator grbltrk
Changes to be committed:
	modified:   Android.mk
	modified:   configure.ac
	modified:   include/hamlib/rotlist.h
	new file:   rotators/grbltrk/Android.mk
	new file:   rotators/grbltrk/Makefile.am
	new file:   rotators/grbltrk/grbltrk.c
	modified:   src/rot_reg.c
2022-05-17 13:23:44 +08:00
Mike Black W9MDB 0849172dc5 Add elapsed time to rig_vfo_op 2022-05-15 22:29:43 -05:00
Mike Black W9MDB 4d8e64acfe Stop mapping MICDATA ptt to PTT -- there should be no reason to do this and it was interfering with rigctld and MICDATA rigs TS480/590/890/990
https://github.com/Hamlib/Hamlib/issues/998
2022-05-15 11:53:38 -05:00
Mike Black W9MDB cb8b7c185c Correct compile warning in settings.c
https://github.com/Hamlib/Hamlib/issues/985
2022-05-13 16:53:22 -05:00
Mike Black W9MDB 6f9d057162 astyle files getting ready for release 2022-05-13 16:50:13 -05:00
Mike Black W9MDB 81d0c3c768 Remove sys/time.h include from rig.h -- not needed
Remove redundant semicolon from rig_debug macro and fix rig_debug's without a semicolon
Some more work on settings and password control -- still in work
https://github.com/Hamlib/Hamlib/issues/813
https://github.com/Hamlib/Hamlib/issues/985
2022-05-13 16:41:59 -05:00
Mike Black W9MDB 3096ad8b68 Add rig_settings_load_all to misc.h 2022-05-13 16:31:22 -05:00
Mike Black W9MDB d0fa5d7776 Small change to rig_vfo_op in rig.c 2022-05-13 16:30:05 -05:00
Mike Black W9MDB 2aa8d4b675 Add some debug to rig.c 2022-05-12 11:09:46 -05:00
Mike Black W9MDB af8b0d57e9 Change debug in set_powerstat 2022-05-09 09:13:26 -05:00
Mike Black W9MDB c107fd4af3 Fix rig_flush in rig.c 2022-05-09 07:30:21 -05:00
Mike Black W9MDB 22d4009327 Add flush to set_powerstat to avoid any queued data during power operations 2022-05-09 07:11:01 -05:00
Mike Black W9MDB b30db5bc59 Fix minor spelling 2022-05-04 13:08:17 -05:00
Mike Black W9MDB e4bd3c8ede Improved rigerror 2022-05-04 07:31:18 -05:00
Mike Black W9MDB 3a4d99dd77 Fix rig_set_split_mode detection of existing split status 2022-05-03 12:59:35 -05:00
Mike Black W9MDB 9d73fa737d More debug in rig.c 2022-05-03 12:51:58 -05:00
Mike Black W9MDB 4ecf274353 Add some more debug to rig.c 2022-05-03 12:48:48 -05:00
Mike Black W9MDB 9d952e6d09 Add some debug to track down cache problem 2022-05-03 12:40:23 -05:00
Mike Black W9MDB 428ca4a196 Update debugmsgsave to save more lines and use less space too 2022-05-03 12:13:02 -05:00
Mike Black W9MDB 1b64214032 Reduce debug in serial.c 2022-05-03 12:12:25 -05:00
Mike Black W9MDB 56efa155dc Fix mkstemp permission error on Windows
https://github.com/Hamlib/Hamlib/issues/985
2022-04-29 17:55:19 -05:00
Mike Black W9MDB 0b62193d92 Add new error code for security
https://github.com/Hamlib/Hamlib/issues/813
2022-04-29 17:17:43 -05:00
Mike Black W9MDB 5c0e98fe56 First phase of .hamlib_settings -- currently saves sharekey in current directory when rigctld -A is run
https://github.com/Hamlib/Hamlib/issues/813
https://github.com/Hamlib/Hamlib/issues/985
2022-04-29 16:30:00 -05:00
Mike Black W9MDB 3dd9277e79 Reduce debug in misc.c 2022-04-19 23:08:46 -05:00
Mike Black W9MDB 2f29f326ab Ensure cache is update for split
https://github.com/Hamlib/Hamlib/issues/1012
2022-04-19 23:06:03 -05:00
Mike Black W9MDB e409efbaef Fix TCP connection to Xiegu X6100 to not be overridden by UDP implementation
https://github.com/Hamlib/Hamlib/issues/1009
2022-04-16 08:18:16 -05:00
Mike Black W9MDB 770aa4e98a Stage 1 rigctld password working using MD5 hash
Need to add Stage 2 which will be encryption using the MD5 hash as the key so the secret key nevers gets trasmitted
Then need to add a "by connection" capability as password is permanent across connections right now.
2022-04-15 13:21:35 -05:00
Mike Black W9MDB 3ac385ed05 Add some debug for rig_caps 2022-04-15 13:18:38 -05:00
Mike Black W9MDB a5fb30d5b6 Improve windows iofunc a bit 2022-03-29 16:16:07 -05:00
Mike Black W9MDB 827bc13193 Add RIGMICDATA to ptt_type in dumpcaps 2022-03-06 08:39:54 -06:00
Mike Black W9MDB 606609f62e Improved set_mode error reporting 2022-03-02 07:47:17 -06:00
Mike Black W9MDB 0333cdfca5 astyle files 2022-03-01 11:40:14 -06:00
Mike Black W9MDB 499198bf50 Basic rigctld password working -- still need to add secure method -- plain text right now
https://github.com/Hamlib/Hamlib/issues/813
2022-03-01 11:39:11 -06:00
Mike Black W9MDB b3d93cc231 Remove testsecurity from tests/Makefile.am
Will implement later
https://github.com/Hamlib/Hamlib/issues/813
2022-02-28 13:08:41 -06:00
Michael Black b3ff4b0167
Merge pull request #974 from OK1CTR/gomspace
Gomspace GS100 transceiver frequency control
2022-02-25 14:37:44 -06:00
Mike Black W9MDB 1444448aeb Allow rig_get_vfo_list to work if rig is not open 2022-02-25 07:41:10 -06:00
Mike Black W9MDB 9ae519fc41 Working on password access for rigctld -- not fully implmented yet
Need to check on security audit and cross-platform compilation first
https://github.com/Hamlib/Hamlib/issues/813
2022-02-24 17:28:25 -06:00
OK1CTR 83e5b14cf6 Manually applied diff from older HamLib version. 2022-02-23 22:36:57 +01:00
challinan d6f05e1974 Correct compiler warning - s.b. bitwise or 2022-02-19 21:39:17 -05:00
Michael Black c0630312a3
Merge pull request #965 from challinan/master
Removed redundant RETURNFUNC() call
2022-02-16 12:03:16 -06:00
challinan 779c2d344e Removed redundant RETURNFUNC() call 2022-02-16 12:55:44 -05:00
Michael Black 44c4e45eec
Merge pull request #964 from challinan/master
Add support for extlevels in rig_token_foreach()
2022-02-15 16:44:01 -06:00
challinan 4b60373d66 Add support for extlevels in rig_token_foreach() 2022-02-15 17:30:41 -05:00
Mike Black W9MDB 799b588a7c Add some RETURNFUNC2 to rig.c for errors 2022-02-14 17:44:40 -06:00
Mike Black W9MDB 86af300d4e Balance RETURNFUNC2 in snapshot_data.c 2022-02-13 16:17:41 -06:00
Mike Black W9MDB 98887b32da Balance RETURNFUNC2 in network.c 2022-02-13 16:16:02 -06:00
Mike Black W9MDB 7a5bcf0f4a Balance RETURNFUNC2 in network.c 2022-02-13 16:15:14 -06:00
Mike Black W9MDB eac7d76a07 Change ENTERFUNC to ENTERFUNC2 in cache.c 2022-02-13 16:13:50 -06:00
Mike Black W9MDB d44ca477ae Make the RETURNFUNC message more distinctive for debugging purposes 2022-02-13 15:23:14 -06:00
Mike Black W9MDB a770d5c0b3 Allow .\com3\\ as a valid COM port address 2022-02-12 17:06:24 -06:00
Mike Black W9MDB 9e8c68ccdf Add some debug to amplifier.c 2022-02-10 15:24:41 -06:00
Mike Black W9MDB abca36a6f8 Add some more debug to amplifier.c 2022-02-10 14:39:48 -06:00
Mike Black W9MDB 5c1b328b22 Add some more memcpy's to amplifier.c rotator.c for deprecated structure 2022-02-10 11:31:01 -06:00
Mike Black W9MDB 2f38a32b0a Move memcpy of deprecated structure in rotator.c and add memcpy to amplifier.c
https://github.com/Hamlib/Hamlib/issues/960
2022-02-10 09:54:54 -06:00
Mike Black W9MDB a0fc3eaffa Add a check to a bogus warning in rig.c to make it correct 2022-02-07 07:17:51 -06:00
Mike Black W9MDB 7876f17551 Add A_B_ONLY when VFO_TX is requested in vfo_fixup
https://github.com/Hamlib/Hamlib/issues/957
2022-02-06 13:05:40 -06:00
Mike Black W9MDB 776c68e3b1 Allow backwards compatibility for rigctl and rigctld by copying deprecated values to new port_t structures 2022-02-05 23:55:46 -06:00
Mike Black W9MDB 8c34ce1a2d astyle source code 2022-02-05 15:27:43 -06:00
Mike Black W9MDB 68e121d82c Change all to remove HAVE_CONFIG dependency and include <hamlib/config.h> by default
This is necessary to keep alignment between the client view of rig->state and the shared libarary view
Including PTHREAD functions in rig->state necessitated this as HAVE_PTHREAD only defined during hamlib compilation.
Clients including hamlib/rig.h did not pick up all the HAVE* config variable that control what gets included
https://github.com/Hamlib/Hamlib/issues/947
2022-02-04 07:41:36 -06:00
Mike Black W9MDB 81d61c09cc Remove temp debug from rig.c
https://github.com/Hamlib/Hamlib/issues/947
2022-02-03 23:10:04 -06:00
Mike Black W9MDB 9aade8de3f Add config.h to include/hamlib so HAVE_PTHREAD is available if needed
https://github.com/Hamlib/Hamlib/issues/947
2022-02-03 22:31:42 -06:00
Mike Black W9MDB bbd20c45dd Fix valgrind-discovered unitialized curr_vfo in rig.c 2022-02-03 10:41:54 -06:00
Mike Black W9MDB 5a1e73396c Remove FUNC calls from rig_cleanup as rig is closed 2022-02-03 08:38:17 -06:00
Mike Black W9MDB 9852288992 Baland RETURNFUNC statements in rig.c 2022-02-02 23:48:42 -06:00
Mike Black W9MDB c4e01ddadb Change debug level from BUG to VERBOSE for debugging.
Causes abort in JTDX when BUG is used
https://github.com/Hamlib/Hamlib/issues/947
2022-02-02 08:45:46 -06:00
Mike Black W9MDB 9ede1174a3 Add temporary debug for rig->state.pttport.type.ptt diagnosis
https://github.com/Hamlib/Hamlib/issues/947
2022-02-02 07:45:00 -06:00
Mike Black W9MDB 324e663d81 Also update rig->state.pttport.type.ptt -- used by JTDX and WSJXT right now so have to copy it
https://github.com/Hamlib/Hamlib/issues/947
2022-02-02 07:06:59 -06:00
Mike Black W9MDB 4c6f9bf9f2 Another copy of deprecated info 2022-02-01 14:12:16 -06:00
Mike Black W9MDB 4ae7d6d158 Change behavior in misc.c for RIG_VFO_TX
https://github.com/Hamlib/Hamlib/issues/949
2022-02-01 14:10:29 -06:00
Mike Black W9MDB 9dd5f70b01 Add some more copy for hamlib_deprected structures
https://github.com/Hamlib/Hamlib/issues/947
2022-02-01 11:29:26 -06:00
Mike Black W9MDB 011f9789e2 Add another copy to deprecated hamlib_port to fix PTT method in JTDX/WSJTX
https://github.com/Hamlib/Hamlib/issues/947
2022-02-01 07:57:59 -06:00
Mike Black W9MDB f6941437ba Add deprecated port references to amp and rot conf 2022-01-31 22:12:29 -06:00
Mike Black W9MDB 64af7ca65a Fix depreated references in conf.c
https://github.com/Hamlib/Hamlib/issues/947
2022-01-31 17:01:05 -06:00
Mike Black W9MDB 931037450e Add deprectead hamlib_port references in conf.c
https://github.com/Hamlib/Hamlib/issues/947
2022-01-31 15:18:34 -06:00
Mike Black W9MDB 4ef62a8436 Export spaces() functions
https://github.com/Hamlib/Hamlib/issues/946
2022-01-31 09:28:52 -06:00
Mike Black W9MDB 024e7b7555 Recommit misc.c -- somehow did not get committed
https://github.com/Hamlib/Hamlib/issues/946
2022-01-31 08:50:47 -06:00
Mike Black W9MDB a33f1b7920 Add ENTERFUNC2 and RETURNFUN2 for functions that don't have rig structure 2022-01-31 08:34:06 -06:00
Mike Black W9MDB 918ca72202 Fix some more mingw compilation errors on network.c 2022-01-31 07:49:37 -06:00
Mike Black W9MDB 9102358fee Fix more mingw compilation errors on network.c 2022-01-31 07:46:44 -06:00
Mike Black W9MDB 46cd85fb60 Fix mingw compilation errors on network.c 2022-01-31 07:45:56 -06:00
Mike Black W9MDB 2e218c56b6 Fix some more mingw errors on iofunc.c 2022-01-31 07:42:04 -06:00
Mike Black W9MDB 6e6d22ae36 Fix iofunc.c compilation error on mingw 2022-01-31 07:40:53 -06:00
Mike Black W9MDB 171f581243 Fix rig_set_ptt to copy new hamlib_port_t structure to deprecated 2022-01-31 06:58:49 -06:00
Mike Black W9MDB 7b4b7ee630 Add a depth count to debug statements to help understand calling sequences
First call into rig functions is level 1
Top level like rigctl, rigctld is level 0
Non-depth calls are internal debug statements -- which can be modified to also show levels but that's a whole lot of statements not really necessary
Normal calls from other clients will be level 1
2022-01-30 23:37:01 -06:00
Mike Black W9MDB 63b31eac4e Add tx_freq to debug statement 2022-01-30 10:51:49 -06:00
Mike Black W9MDB 3c60636b80 In rig_set_split rx_vfo set to vfo value passed in 2022-01-30 07:28:52 -06:00
Mike Black W9MDB 991e314820 Add RIG_LEVEL_BAND_SELECT for Yaesur rigs
https://github.com/Hamlib/Hamlib/issues/919
2022-01-29 16:25:18 -06:00
Mike Black W9MDB afd595d2da Allow asyncio rigs to use cached-only values for rig_get_freq and rig_get_mode
https://github.com/Hamlib/Hamlib/issues/894
2022-01-29 08:39:27 -06:00
Mike Black W9MDB 86c62d5dbb Remove ASYNC_BUG #ifdef blocks as it is all working now 2022-01-28 09:55:48 -06:00