]>
git.rkrishnan.org Git - pihpsdr.git/log
Ramakrishnan Muthukrishnan [Tue, 4 Feb 2025 17:21:31 +0000 (22:51 +0530)]
working waterfall on browser via websocket
Ramakrishnan Muthukrishnan [Thu, 5 Dec 2024 16:45:40 +0000 (22:15 +0530)]
get rid of a few socket address/interface length fields
These can be easily calculated at runtime with sizeof, so no need to
store them upfront.
Ramakrishnan Muthukrishnan [Thu, 5 Dec 2024 15:35:03 +0000 (21:05 +0530)]
protocol1 discovery named to p1_discovery and likewise for p2
Simplified the DISCOVERED struct a bit.
Ramakrishnan Muthukrishnan [Thu, 5 Dec 2024 15:30:47 +0000 (21:00 +0530)]
gitignore: add .cache (generated by clangd)
Ramakrishnan Muthukrishnan [Sat, 27 Jul 2024 11:39:06 +0000 (17:09 +0530)]
rigctl: read with timeouts and reconnects
Ramakrishnan Muthukrishnan [Fri, 9 Feb 2024 14:00:08 +0000 (19:30 +0530)]
makefile: use wildcards and filters rather than explicitly listing
Ramakrishnan Muthukrishnan [Sun, 7 Jan 2024 05:55:40 +0000 (11:25 +0530)]
todo: add a few more items
Ramakrishnan Muthukrishnan [Sun, 7 Jan 2024 03:00:32 +0000 (08:30 +0530)]
add some notes in readme
Ramakrishnan Muthukrishnan [Sat, 6 Jan 2024 15:53:37 +0000 (21:23 +0530)]
ctun: while turning ctun from on to off, copy last ctun freq
Ramakrishnan Muthukrishnan [Sat, 6 Jan 2024 15:48:01 +0000 (21:18 +0530)]
todo: add a few ctune items
Ramakrishnan Muthukrishnan [Sat, 6 Jan 2024 12:59:24 +0000 (18:29 +0530)]
more nr4 noise menu state fixes
Ramakrishnan Muthukrishnan [Sat, 6 Jan 2024 12:53:34 +0000 (18:23 +0530)]
Merge branch 'touch-experiments'
Ramakrishnan Muthukrishnan [Sat, 6 Jan 2024 12:48:01 +0000 (18:18 +0530)]
missing nr4 state update
Ramakrishnan Muthukrishnan [Tue, 2 Jan 2024 15:12:21 +0000 (20:42 +0530)]
ctune margin: moar bug fix
Ramakrishnan Muthukrishnan [Tue, 2 Jan 2024 15:08:33 +0000 (20:38 +0530)]
fix: display_margin is a real number
Ramakrishnan Muthukrishnan [Tue, 2 Jan 2024 02:32:11 +0000 (08:02 +0530)]
ctune scrolling: margin for vfo_id_step() as well
Ramakrishnan Muthukrishnan [Mon, 1 Jan 2024 17:24:42 +0000 (22:54 +0530)]
ctune scrolling: leave a margin (5% of display width) on each side
Ramakrishnan Muthukrishnan [Mon, 1 Jan 2024 11:44:29 +0000 (17:14 +0530)]
clang-format vfo.c and rx_panadapter.c
Ramakrishnan Muthukrishnan [Mon, 1 Jan 2024 07:00:21 +0000 (12:30 +0530)]
add a (dummy) touch event handler for rx panadapter
Ramakrishnan Muthukrishnan [Sun, 31 Dec 2023 12:46:44 +0000 (18:16 +0530)]
add another todo item
Ramakrishnan Muthukrishnan [Sun, 31 Dec 2023 12:45:05 +0000 (18:15 +0530)]
add a todo item
Ramakrishnan Muthukrishnan [Sun, 31 Dec 2023 12:10:38 +0000 (17:40 +0530)]
add a few more todo items
Ramakrishnan Muthukrishnan [Sun, 31 Dec 2023 12:08:04 +0000 (17:38 +0530)]
bug fix for ctun scroll
TODO: define some offset from edge and scroll within those edge bands
Ramakrishnan Muthukrishnan [Sun, 31 Dec 2023 11:59:34 +0000 (17:29 +0530)]
debug
Ramakrishnan Muthukrishnan [Sun, 31 Dec 2023 10:50:40 +0000 (16:20 +0530)]
restrict ctune to visible limits
Once the filter limits go beyond visible band, move the background of
the band, than the ctune frequency.
Ramakrishnan Muthukrishnan [Sat, 30 Dec 2023 16:08:22 +0000 (21:38 +0530)]
first attempt at fixing ctun when it cross the display limits
Ramakrishnan Muthukrishnan [Sun, 17 Dec 2023 17:10:15 +0000 (22:40 +0530)]
a few todo items
Ramakrishnan Muthukrishnan [Sun, 17 Dec 2023 05:55:12 +0000 (11:25 +0530)]
reduce vfo font size a bit
Ramakrishnan Muthukrishnan [Sun, 3 Dec 2023 16:08:18 +0000 (21:38 +0530)]
get rig of a print statement
Ramakrishnan Muthukrishnan [Sun, 3 Dec 2023 16:03:39 +0000 (21:33 +0530)]
convert a bunch of files to use the logging api
Ramakrishnan Muthukrishnan [Sat, 2 Dec 2023 16:48:36 +0000 (22:18 +0530)]
use logging API from log.h/log.c
Ramakrishnan Muthukrishnan [Fri, 1 Dec 2023 04:05:05 +0000 (09:35 +0530)]
add a new logger
Ramakrishnan Muthukrishnan [Fri, 1 Dec 2023 02:47:25 +0000 (08:17 +0530)]
use g_log_structured() instead of g_warning/g_debug etc
Ramakrishnan Muthukrishnan [Thu, 30 Nov 2023 17:22:43 +0000 (22:52 +0530)]
cleanup printf/fprintfs with glib logging api like g_debug/g_warning etc
Ramakrishnan Muthukrishnan [Fri, 1 Dec 2023 16:34:17 +0000 (22:04 +0530)]
serial_server: handle the case where read returns a 0 (eof)
Ramakrishnan Muthukrishnan [Fri, 1 Dec 2023 02:15:05 +0000 (07:45 +0530)]
nb setting wasn't getting set correctly from props
Ramakrishnan Muthukrishnan [Thu, 30 Nov 2023 16:21:43 +0000 (21:51 +0530)]
delete some unwanted files
Ramakrishnan Muthukrishnan [Thu, 30 Nov 2023 16:18:47 +0000 (21:48 +0530)]
refactor some header files
Ramakrishnan Muthukrishnan [Thu, 30 Nov 2023 16:17:22 +0000 (21:47 +0530)]
display: fix for disappearing nb status
Ramakrishnan Muthukrishnan [Thu, 30 Nov 2023 13:54:09 +0000 (19:24 +0530)]
fix the problem with displaying nb
Ramakrishnan Muthukrishnan [Wed, 29 Nov 2023 12:16:02 +0000 (17:46 +0530)]
add more robustness against race conditions
Ramakrishnan Muthukrishnan [Mon, 27 Nov 2023 17:51:03 +0000 (23:21 +0530)]
rigctl tcp server: better connection error handling
Ramakrishnan Muthukrishnan [Mon, 27 Nov 2023 15:34:52 +0000 (21:04 +0530)]
fix drawing of correct NR status, revisit this code
Ramakrishnan Muthukrishnan [Mon, 27 Nov 2023 15:14:59 +0000 (20:44 +0530)]
rigctl: in the tcp recv loop, print any error in recv() call
Ramakrishnan Muthukrishnan [Mon, 27 Nov 2023 15:14:42 +0000 (20:44 +0530)]
rigctl: handle the ts-2000 TY command
Ramakrishnan Muthukrishnan [Mon, 27 Nov 2023 15:09:39 +0000 (20:39 +0530)]
slightly better code from dl1ycf's repo for non-blocking fd
Ramakrishnan Muthukrishnan [Mon, 27 Nov 2023 14:32:46 +0000 (20:02 +0530)]
vfo: more cleanup of display code
One caveat is that NR2/NR3/NR4 handling is broken as of now as far as
displaying the status is concerned.
Ramakrishnan Muthukrishnan [Wed, 22 Nov 2023 16:09:09 +0000 (21:39 +0530)]
move drawing commands into a function
How to abstract out the multiway-if/switch-case ones?
Ramakrishnan Muthukrishnan [Wed, 22 Nov 2023 15:13:38 +0000 (20:43 +0530)]
move vfo coordinates, colours etc into another file
Ideally these should go into a CSS file, but that would be the next
step.
Ramakrishnan Muthukrishnan [Tue, 14 Nov 2023 17:09:34 +0000 (22:39 +0530)]
use the definitions in screen.h to determine the click area
Ramakrishnan Muthukrishnan [Tue, 14 Nov 2023 17:09:21 +0000 (22:39 +0530)]
a few more font size magic numbers
Ramakrishnan Muthukrishnan [Tue, 14 Nov 2023 17:03:41 +0000 (22:33 +0530)]
convert all the magic numbers for buttons shown in the top surface
Ramakrishnan Muthukrishnan [Tue, 14 Nov 2023 16:51:04 +0000 (22:21 +0530)]
remove magic numbers from NB/NR rendering
Ramakrishnan Muthukrishnan [Tue, 14 Nov 2023 16:32:14 +0000 (22:02 +0530)]
remove magic-numbers for RIT/XIT display
Ramakrishnan Muthukrishnan [Tue, 14 Nov 2023 16:27:18 +0000 (21:57 +0530)]
clang-format radio.c
Ramakrishnan Muthukrishnan [Tue, 14 Nov 2023 16:26:25 +0000 (21:56 +0530)]
more colour definitions and coordinate definitions
Ramakrishnan Muthukrishnan [Mon, 13 Nov 2023 02:35:48 +0000 (08:05 +0530)]
more magic numbers moved into screen.h
Ramakrishnan Muthukrishnan [Sun, 12 Nov 2023 17:22:26 +0000 (22:52 +0530)]
makefile: include the new screen.h file
Ramakrishnan Muthukrishnan [Sun, 12 Nov 2023 17:20:55 +0000 (22:50 +0530)]
misc formatting
Ramakrishnan Muthukrishnan [Sun, 12 Nov 2023 17:18:10 +0000 (22:48 +0530)]
vfo.c: missing screen.h inclusion
Ramakrishnan Muthukrishnan [Sun, 12 Nov 2023 17:15:43 +0000 (22:45 +0530)]
screen.h: work in progress to define colours and coordinates
Ramakrishnan Muthukrishnan [Fri, 10 Nov 2023 11:02:38 +0000 (16:32 +0530)]
move all screen dimensions and coordinates into a header
Ramakrishnan Muthukrishnan [Fri, 10 Nov 2023 11:02:02 +0000 (16:32 +0530)]
rigctl command table: rename indices to avoid a name clash
Ramakrishnan Muthukrishnan [Fri, 10 Nov 2023 02:00:09 +0000 (07:30 +0530)]
fixes an overflow (for very large number of elements) in binary search
Ramakrishnan Muthukrishnan [Thu, 9 Nov 2023 12:33:44 +0000 (18:03 +0530)]
clang-format vfo.{c,h}
Ramakrishnan Muthukrishnan [Thu, 9 Nov 2023 12:29:17 +0000 (17:59 +0530)]
wip: new cat command parsing, not in use yet
Ramakrishnan Muthukrishnan [Tue, 7 Nov 2023 02:24:07 +0000 (07:54 +0530)]
rigctl: implement FR cat command to toggle between VFOs on split
Ramakrishnan Muthukrishnan [Mon, 6 Nov 2023 14:11:12 +0000 (19:41 +0530)]
split: depending on mode, set vfo b up by 1kc or 5kc
Ramakrishnan Muthukrishnan [Sun, 5 Nov 2023 14:23:04 +0000 (19:53 +0530)]
rx_menu: fix memory leak introduced in
1ba053070
Ramakrishnan Muthukrishnan [Sun, 5 Nov 2023 13:24:32 +0000 (18:54 +0530)]
clang-format xvtr_menu.{c,h}
Ramakrishnan Muthukrishnan [Sun, 5 Nov 2023 13:23:40 +0000 (18:53 +0530)]
clang-format rigctl.c
Ramakrishnan Muthukrishnan [Sat, 4 Nov 2023 17:48:16 +0000 (23:18 +0530)]
bugfix: allocate memory before copying the device name
Ramakrishnan Muthukrishnan [Sat, 4 Nov 2023 17:33:19 +0000 (23:03 +0530)]
refactor the audio output toggling function
Ramakrishnan Muthukrishnan [Sat, 4 Nov 2023 17:03:08 +0000 (22:33 +0530)]
bugfix: do not cast output to combo box
Ramakrishnan Muthukrishnan [Sat, 4 Nov 2023 16:59:14 +0000 (22:29 +0530)]
try to invoke it without being able to bring up the menu
Ramakrishnan Muthukrishnan [Sat, 4 Nov 2023 10:54:32 +0000 (16:24 +0530)]
toggle audio output via a rigctl command
This would enable a frontpanel switch to select the audio output by
sending a command to rigctl.
Ramakrishnan Muthukrishnan [Mon, 30 Oct 2023 15:06:18 +0000 (20:36 +0530)]
Makefile: no need to build with NEW_NR_ALGORITHMS=1
Needs the latest wdsp from github.com/vu3rdd for this to work.
Ramakrishnan Muthukrishnan [Sat, 28 Oct 2023 09:03:31 +0000 (14:33 +0530)]
agc: draw the mode correctly on the screen
Ramakrishnan Muthukrishnan [Sat, 28 Oct 2023 05:53:23 +0000 (11:23 +0530)]
bug: once agc value is changed, it needs to take effect
Ramakrishnan Muthukrishnan [Sat, 28 Oct 2023 04:57:18 +0000 (10:27 +0530)]
receiver: reformat an expression for easier readability
Ramakrishnan Muthukrishnan [Sun, 22 Oct 2023 10:09:11 +0000 (15:39 +0530)]
clang-format rx_menu.{c,h}
Ramakrishnan Muthukrishnan [Sun, 22 Oct 2023 10:07:51 +0000 (15:37 +0530)]
clang-format pulseaudio.c
Ramakrishnan Muthukrishnan [Sun, 22 Oct 2023 09:56:23 +0000 (15:26 +0530)]
audio_menu is not used anywhere, delete
Ramakrishnan Muthukrishnan [Sun, 22 Oct 2023 09:50:46 +0000 (15:20 +0530)]
clang-format -i audio.c
Ramakrishnan Muthukrishnan [Sun, 22 Oct 2023 07:39:52 +0000 (13:09 +0530)]
rigctl: revamp NR command handling
There is no more ZZNS command. ZZNR handles NR/NR1/NR2/NR3.
ZZNR; => gets the status returns ZZNRx; where x is 0-4.
ZZNRx; where x is 0-4 sets one of NR/NR2/NR3/NR4 or nothing
Ramakrishnan Muthukrishnan [Sun, 22 Oct 2023 06:43:01 +0000 (12:13 +0530)]
README: add a note on making dependencies as git submodules
Ramakrishnan Muthukrishnan [Sun, 22 Oct 2023 06:41:38 +0000 (12:11 +0530)]
README: update readme with installation instructions
Ramakrishnan Muthukrishnan [Tue, 5 Sep 2023 16:25:55 +0000 (21:55 +0530)]
select the right noise reduction functions from wdsp
Ramakrishnan Muthukrishnan [Tue, 5 Sep 2023 16:22:00 +0000 (21:52 +0530)]
Revert "Revert "rnnoise and specbleach are now linked to wdsp""
This reverts commit
1cb35457ce7fd122b8796cb3b06901333ddf4e21.
Ramakrishnan Muthukrishnan [Tue, 5 Sep 2023 14:41:59 +0000 (20:11 +0530)]
Revert "rnnoise and specbleach are now linked to wdsp"
This reverts commit
a5d74a1f1e1d03cc78fde94eb925d373bb4c6c8a.
Ramakrishnan Muthukrishnan [Mon, 4 Sep 2023 12:50:08 +0000 (18:20 +0530)]
fix a bunch of compiler warnings
Ramakrishnan Muthukrishnan [Wed, 9 Aug 2023 13:27:32 +0000 (18:57 +0530)]
waterfall: a few todo items for performance
Ramakrishnan Muthukrishnan [Sun, 30 Jul 2023 08:42:49 +0000 (14:12 +0530)]
read vfo frequency only once per waterfall rendering
Ramakrishnan Muthukrishnan [Sat, 29 Jul 2023 18:12:33 +0000 (23:42 +0530)]
clang-format receiver.c
Ramakrishnan Muthukrishnan [Sat, 29 Jul 2023 17:50:22 +0000 (23:20 +0530)]
obtain display mutex while painting the pixbuf
Ramakrishnan Muthukrishnan [Sat, 29 Jul 2023 13:22:10 +0000 (18:52 +0530)]
move entire waterfall to the left or right when changing vfo
Ramakrishnan Muthukrishnan [Sat, 29 Jul 2023 12:57:14 +0000 (18:27 +0530)]
format waterfall.c with clang-format
Ramakrishnan Muthukrishnan [Sat, 29 Jul 2023 12:15:28 +0000 (17:45 +0530)]
clang-format config file
Ramakrishnan Muthukrishnan [Sat, 29 Jul 2023 06:25:51 +0000 (11:55 +0530)]
rnnoise and specbleach are now linked to wdsp
(Please update your copy of wdsp and rebuild it)
Ramakrishnan Muthukrishnan [Sat, 29 Jul 2023 06:20:55 +0000 (11:50 +0530)]
default value of LINK to CC