]> git.rkrishnan.org Git - pihpsdr.git/log
pihpsdr.git
3 months agoget rid of a few socket address/interface length fields master refactor
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.

3 months agoprotocol1 discovery named to p1_discovery and likewise for p2
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.

3 months agogitignore: add .cache (generated by clangd)
Ramakrishnan Muthukrishnan [Thu, 5 Dec 2024 15:30:47 +0000 (21:00 +0530)]
gitignore: add .cache (generated by clangd)

7 months agorigctl: read with timeouts and reconnects
Ramakrishnan Muthukrishnan [Sat, 27 Jul 2024 11:39:06 +0000 (17:09 +0530)]
rigctl: read with timeouts and reconnects

13 months agomakefile: use wildcards and filters rather than explicitly listing
Ramakrishnan Muthukrishnan [Fri, 9 Feb 2024 14:00:08 +0000 (19:30 +0530)]
makefile: use wildcards and filters rather than explicitly listing

14 months agotodo: add a few more items
Ramakrishnan Muthukrishnan [Sun, 7 Jan 2024 05:55:40 +0000 (11:25 +0530)]
todo: add a few more items

14 months agoadd some notes in readme
Ramakrishnan Muthukrishnan [Sun, 7 Jan 2024 03:00:32 +0000 (08:30 +0530)]
add some notes in readme

14 months agoctun: while turning ctun from on to off, copy last ctun freq ctun-expt
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

14 months agotodo: add a few ctune items
Ramakrishnan Muthukrishnan [Sat, 6 Jan 2024 15:48:01 +0000 (21:18 +0530)]
todo: add a few ctune items

14 months agomore nr4 noise menu state fixes
Ramakrishnan Muthukrishnan [Sat, 6 Jan 2024 12:59:24 +0000 (18:29 +0530)]
more nr4 noise menu state fixes

14 months agoMerge branch 'touch-experiments'
Ramakrishnan Muthukrishnan [Sat, 6 Jan 2024 12:53:34 +0000 (18:23 +0530)]
Merge branch 'touch-experiments'

14 months agomissing nr4 state update
Ramakrishnan Muthukrishnan [Sat, 6 Jan 2024 12:48:01 +0000 (18:18 +0530)]
missing nr4 state update

14 months agoctune margin: moar bug fix
Ramakrishnan Muthukrishnan [Tue, 2 Jan 2024 15:12:21 +0000 (20:42 +0530)]
ctune margin: moar bug fix

14 months agofix: display_margin is a real number
Ramakrishnan Muthukrishnan [Tue, 2 Jan 2024 15:08:33 +0000 (20:38 +0530)]
fix: display_margin is a real number

14 months agoctune scrolling: margin for vfo_id_step() as well touch-experiments
Ramakrishnan Muthukrishnan [Tue, 2 Jan 2024 02:32:11 +0000 (08:02 +0530)]
ctune scrolling: margin for vfo_id_step() as well

14 months agoctune scrolling: leave a margin (5% of display width) on each side
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

14 months agoclang-format vfo.c and rx_panadapter.c
Ramakrishnan Muthukrishnan [Mon, 1 Jan 2024 11:44:29 +0000 (17:14 +0530)]
clang-format vfo.c and rx_panadapter.c

14 months agoadd a (dummy) touch event handler for rx panadapter
Ramakrishnan Muthukrishnan [Mon, 1 Jan 2024 07:00:21 +0000 (12:30 +0530)]
add a (dummy) touch event handler for rx panadapter

14 months agoadd another todo item
Ramakrishnan Muthukrishnan [Sun, 31 Dec 2023 12:46:44 +0000 (18:16 +0530)]
add another todo item

14 months agoadd a todo item
Ramakrishnan Muthukrishnan [Sun, 31 Dec 2023 12:45:05 +0000 (18:15 +0530)]
add a todo item

14 months agoadd a few more todo items fix-ctun
Ramakrishnan Muthukrishnan [Sun, 31 Dec 2023 12:10:38 +0000 (17:40 +0530)]
add a few more todo items

14 months agobug fix for ctun scroll
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

14 months agodebug
Ramakrishnan Muthukrishnan [Sun, 31 Dec 2023 11:59:34 +0000 (17:29 +0530)]
debug

14 months agorestrict ctune to visible limits
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.

14 months agofirst attempt at fixing ctun when it cross the display limits
Ramakrishnan Muthukrishnan [Sat, 30 Dec 2023 16:08:22 +0000 (21:38 +0530)]
first attempt at fixing ctun when it cross the display limits

15 months agoa few todo items
Ramakrishnan Muthukrishnan [Sun, 17 Dec 2023 17:10:15 +0000 (22:40 +0530)]
a few todo items

15 months agoreduce vfo font size a bit
Ramakrishnan Muthukrishnan [Sun, 17 Dec 2023 05:55:12 +0000 (11:25 +0530)]
reduce vfo font size a bit

15 months agoget rig of a print statement
Ramakrishnan Muthukrishnan [Sun, 3 Dec 2023 16:08:18 +0000 (21:38 +0530)]
get rig of a print statement

15 months agoconvert a bunch of files to use the logging api logging-cleanup
Ramakrishnan Muthukrishnan [Sun, 3 Dec 2023 16:03:39 +0000 (21:33 +0530)]
convert a bunch of files to use the logging api

15 months agouse logging API from log.h/log.c
Ramakrishnan Muthukrishnan [Sat, 2 Dec 2023 16:48:36 +0000 (22:18 +0530)]
use logging API from log.h/log.c

15 months agoadd a new logger
Ramakrishnan Muthukrishnan [Fri, 1 Dec 2023 04:05:05 +0000 (09:35 +0530)]
add a new logger

15 months agouse g_log_structured() instead of g_warning/g_debug etc
Ramakrishnan Muthukrishnan [Fri, 1 Dec 2023 02:47:25 +0000 (08:17 +0530)]
use g_log_structured() instead of g_warning/g_debug etc

15 months agocleanup printf/fprintfs with glib logging api like g_debug/g_warning 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

15 months agoserial_server: handle the case where read returns a 0 (eof)
Ramakrishnan Muthukrishnan [Fri, 1 Dec 2023 16:34:17 +0000 (22:04 +0530)]
serial_server: handle the case where read returns a 0 (eof)

15 months agonb setting wasn't getting set correctly from props
Ramakrishnan Muthukrishnan [Fri, 1 Dec 2023 02:15:05 +0000 (07:45 +0530)]
nb setting wasn't getting set correctly from props

15 months agodelete some unwanted files
Ramakrishnan Muthukrishnan [Thu, 30 Nov 2023 16:21:43 +0000 (21:51 +0530)]
delete some unwanted files

15 months agorefactor some header files
Ramakrishnan Muthukrishnan [Thu, 30 Nov 2023 16:18:47 +0000 (21:48 +0530)]
refactor some header files

15 months agodisplay: fix for disappearing nb status
Ramakrishnan Muthukrishnan [Thu, 30 Nov 2023 16:17:22 +0000 (21:47 +0530)]
display: fix for disappearing nb status

15 months agofix the problem with displaying nb
Ramakrishnan Muthukrishnan [Thu, 30 Nov 2023 13:54:09 +0000 (19:24 +0530)]
fix the problem with displaying nb

15 months agoadd more robustness against race conditions
Ramakrishnan Muthukrishnan [Wed, 29 Nov 2023 12:16:02 +0000 (17:46 +0530)]
add more robustness against race conditions

15 months agorigctl tcp server: better connection error handling
Ramakrishnan Muthukrishnan [Mon, 27 Nov 2023 17:51:03 +0000 (23:21 +0530)]
rigctl tcp server: better connection error handling

15 months agofix drawing of correct NR status, revisit this code
Ramakrishnan Muthukrishnan [Mon, 27 Nov 2023 15:34:52 +0000 (21:04 +0530)]
fix drawing of correct NR status, revisit this code

15 months agorigctl: in the tcp recv loop, print any error in recv() call
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

15 months agorigctl: handle the ts-2000 TY command
Ramakrishnan Muthukrishnan [Mon, 27 Nov 2023 15:14:42 +0000 (20:44 +0530)]
rigctl: handle the ts-2000 TY command

15 months agoslightly better code from dl1ycf's repo for non-blocking fd
Ramakrishnan Muthukrishnan [Mon, 27 Nov 2023 15:09:39 +0000 (20:39 +0530)]
slightly better code from dl1ycf's repo for non-blocking fd

15 months agovfo: more cleanup of display code
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.

16 months agomove drawing commands into a function
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?

16 months agomove vfo coordinates, colours etc into another file maint
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.

16 months agouse the definitions in screen.h to determine the click area
Ramakrishnan Muthukrishnan [Tue, 14 Nov 2023 17:09:34 +0000 (22:39 +0530)]
use the definitions in screen.h to determine the click area

16 months agoa few more font size magic numbers
Ramakrishnan Muthukrishnan [Tue, 14 Nov 2023 17:09:21 +0000 (22:39 +0530)]
a few more font size magic numbers

16 months agoconvert all the magic numbers for buttons shown in the top surface
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

16 months agoremove magic numbers from NB/NR rendering
Ramakrishnan Muthukrishnan [Tue, 14 Nov 2023 16:51:04 +0000 (22:21 +0530)]
remove magic numbers from NB/NR rendering

16 months agoremove magic-numbers for RIT/XIT display
Ramakrishnan Muthukrishnan [Tue, 14 Nov 2023 16:32:14 +0000 (22:02 +0530)]
remove magic-numbers for RIT/XIT display

16 months agoclang-format radio.c
Ramakrishnan Muthukrishnan [Tue, 14 Nov 2023 16:27:18 +0000 (21:57 +0530)]
clang-format radio.c

16 months agomore colour definitions and coordinate definitions
Ramakrishnan Muthukrishnan [Tue, 14 Nov 2023 16:26:25 +0000 (21:56 +0530)]
more colour definitions and coordinate definitions

16 months agomore magic numbers moved into screen.h
Ramakrishnan Muthukrishnan [Mon, 13 Nov 2023 02:35:48 +0000 (08:05 +0530)]
more magic numbers moved into screen.h

16 months agomakefile: include the new screen.h file
Ramakrishnan Muthukrishnan [Sun, 12 Nov 2023 17:22:26 +0000 (22:52 +0530)]
makefile: include the new screen.h file

16 months agomisc formatting
Ramakrishnan Muthukrishnan [Sun, 12 Nov 2023 17:20:55 +0000 (22:50 +0530)]
misc formatting

16 months agovfo.c: missing screen.h inclusion
Ramakrishnan Muthukrishnan [Sun, 12 Nov 2023 17:18:10 +0000 (22:48 +0530)]
vfo.c: missing screen.h inclusion

16 months agoscreen.h: work in progress to define colours and coordinates
Ramakrishnan Muthukrishnan [Sun, 12 Nov 2023 17:15:43 +0000 (22:45 +0530)]
screen.h: work in progress to define colours and coordinates

16 months agomove all screen dimensions and coordinates into a header
Ramakrishnan Muthukrishnan [Fri, 10 Nov 2023 11:02:38 +0000 (16:32 +0530)]
move all screen dimensions and coordinates into a header

16 months agorigctl command table: rename indices to avoid a name clash
Ramakrishnan Muthukrishnan [Fri, 10 Nov 2023 11:02:02 +0000 (16:32 +0530)]
rigctl command table: rename indices to avoid a name clash

16 months agofixes an overflow (for very large number of elements) in binary search
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

16 months agoclang-format vfo.{c,h}
Ramakrishnan Muthukrishnan [Thu, 9 Nov 2023 12:33:44 +0000 (18:03 +0530)]
clang-format vfo.{c,h}

16 months agowip: new cat command parsing, not in use yet
Ramakrishnan Muthukrishnan [Thu, 9 Nov 2023 12:29:17 +0000 (17:59 +0530)]
wip: new cat command parsing, not in use yet

16 months agorigctl: implement FR cat command to toggle between VFOs on split
Ramakrishnan Muthukrishnan [Tue, 7 Nov 2023 02:24:07 +0000 (07:54 +0530)]
rigctl: implement FR cat command to toggle between VFOs on split

16 months agosplit: depending on mode, set vfo b up by 1kc or 5kc
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

16 months agorx_menu: fix memory leak introduced in 1ba053070
Ramakrishnan Muthukrishnan [Sun, 5 Nov 2023 14:23:04 +0000 (19:53 +0530)]
rx_menu: fix memory leak introduced in 1ba053070

16 months agoclang-format xvtr_menu.{c,h}
Ramakrishnan Muthukrishnan [Sun, 5 Nov 2023 13:24:32 +0000 (18:54 +0530)]
clang-format xvtr_menu.{c,h}

16 months agoclang-format rigctl.c
Ramakrishnan Muthukrishnan [Sun, 5 Nov 2023 13:23:40 +0000 (18:53 +0530)]
clang-format rigctl.c

16 months agobugfix: allocate memory before copying the device name select_audio_io
Ramakrishnan Muthukrishnan [Sat, 4 Nov 2023 17:48:16 +0000 (23:18 +0530)]
bugfix: allocate memory before copying the device name

16 months agorefactor the audio output toggling function
Ramakrishnan Muthukrishnan [Sat, 4 Nov 2023 17:33:19 +0000 (23:03 +0530)]
refactor the audio output toggling function

16 months agobugfix: do not cast output to combo box
Ramakrishnan Muthukrishnan [Sat, 4 Nov 2023 17:03:08 +0000 (22:33 +0530)]
bugfix: do not cast output to combo box

16 months agotry to invoke it without being able to bring up the menu
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

16 months agotoggle audio output via a rigctl command
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.

16 months agoMakefile: no need to build with NEW_NR_ALGORITHMS=1
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.

16 months agoagc: draw the mode correctly on the screen
Ramakrishnan Muthukrishnan [Sat, 28 Oct 2023 09:03:31 +0000 (14:33 +0530)]
agc: draw the mode correctly on the screen

16 months agobug: once agc value is changed, it needs to take effect
Ramakrishnan Muthukrishnan [Sat, 28 Oct 2023 05:53:23 +0000 (11:23 +0530)]
bug: once agc value is changed, it needs to take effect

16 months agoreceiver: reformat an expression for easier readability
Ramakrishnan Muthukrishnan [Sat, 28 Oct 2023 04:57:18 +0000 (10:27 +0530)]
receiver: reformat an expression for easier readability

17 months agoclang-format rx_menu.{c,h}
Ramakrishnan Muthukrishnan [Sun, 22 Oct 2023 10:09:11 +0000 (15:39 +0530)]
clang-format rx_menu.{c,h}

17 months agoclang-format pulseaudio.c
Ramakrishnan Muthukrishnan [Sun, 22 Oct 2023 10:07:51 +0000 (15:37 +0530)]
clang-format pulseaudio.c

17 months agoaudio_menu is not used anywhere, delete
Ramakrishnan Muthukrishnan [Sun, 22 Oct 2023 09:56:23 +0000 (15:26 +0530)]
audio_menu is not used anywhere, delete

17 months agoclang-format -i audio.c
Ramakrishnan Muthukrishnan [Sun, 22 Oct 2023 09:50:46 +0000 (15:20 +0530)]
clang-format -i audio.c

17 months agorigctl: revamp NR command handling
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

17 months agoREADME: add a note on making dependencies as git submodules
Ramakrishnan Muthukrishnan [Sun, 22 Oct 2023 06:43:01 +0000 (12:13 +0530)]
README: add a note on making dependencies as git submodules

17 months agoREADME: update readme with installation instructions
Ramakrishnan Muthukrishnan [Sun, 22 Oct 2023 06:41:38 +0000 (12:11 +0530)]
README: update readme with installation instructions

18 months agoselect the right noise reduction functions from wdsp
Ramakrishnan Muthukrishnan [Tue, 5 Sep 2023 16:25:55 +0000 (21:55 +0530)]
select the right noise reduction functions from wdsp

18 months agoRevert "Revert "rnnoise and specbleach are now linked to 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.

18 months agoRevert "rnnoise and specbleach are now linked to wdsp"
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.

18 months agofix a bunch of compiler warnings
Ramakrishnan Muthukrishnan [Mon, 4 Sep 2023 12:50:08 +0000 (18:20 +0530)]
fix a bunch of compiler warnings

19 months agowaterfall: a few todo items for performance
Ramakrishnan Muthukrishnan [Wed, 9 Aug 2023 13:27:32 +0000 (18:57 +0530)]
waterfall: a few todo items for performance

19 months agoread vfo frequency only once per waterfall rendering
Ramakrishnan Muthukrishnan [Sun, 30 Jul 2023 08:42:49 +0000 (14:12 +0530)]
read vfo frequency only once per waterfall rendering

19 months agoclang-format receiver.c
Ramakrishnan Muthukrishnan [Sat, 29 Jul 2023 18:12:33 +0000 (23:42 +0530)]
clang-format receiver.c

19 months agoobtain display mutex while painting the pixbuf
Ramakrishnan Muthukrishnan [Sat, 29 Jul 2023 17:50:22 +0000 (23:20 +0530)]
obtain display mutex while painting the pixbuf

19 months agomove entire waterfall to the left or right when changing vfo
Ramakrishnan Muthukrishnan [Sat, 29 Jul 2023 13:22:10 +0000 (18:52 +0530)]
move entire waterfall to the left or right when changing vfo

19 months agoformat waterfall.c with clang-format
Ramakrishnan Muthukrishnan [Sat, 29 Jul 2023 12:57:14 +0000 (18:27 +0530)]
format waterfall.c with clang-format

19 months agoclang-format config file
Ramakrishnan Muthukrishnan [Sat, 29 Jul 2023 12:15:28 +0000 (17:45 +0530)]
clang-format config file

19 months agornnoise and specbleach are now linked to wdsp
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)

19 months agodefault value of LINK to CC
Ramakrishnan Muthukrishnan [Sat, 29 Jul 2023 06:20:55 +0000 (11:50 +0530)]
default value of LINK to CC

20 months agofix a couple of compiler warning
Ramakrishnan Muthukrishnan [Sat, 15 Jul 2023 15:02:20 +0000 (20:32 +0530)]
fix a couple of compiler warning