[hpsdr] Updated KISS Konsole for Cross-platform Execution

Jae Stutzman k5jae at stutzman.net
Wed Sep 10 17:36:03 PDT 2014


First let me say, this is good progression in a short period of time. I
like that there is demand for this type of work among the community. I also
agree with John about native UI toolkit (or at least more native). I don't
know much about Ximian.Forms except that it is a proprietary extension to
Mono for use on mobile devices and is behind a payment subscription (I
would not recommend its use here).

I do have experience with GTK# (which is what monodevelop is written with).
It looks mostly native on a lot of platforms, including the 3 we've been
discussing: Windows, Linux and Mac. Monodevelop has a good UI designer that
works on all platforms, so it is fairly trivial to whip up quick UI
prototypes. GTK# is a fairly thin wrapper around the GTK+ c library, which
is a high performance gui framework.

I've been toying with the idea of jumping into a UI port with KK using GTK#
(a bit excited actually). A port to GTK# would bypass the Jetson WinForms
issue we stumbled on earlier last week.

There are c# language bindings for QT, but they don't appear to be as
popular or as maintained. However, there may some ability to reuse other QT
gui work if it is used.

I'm all for more UI abstraction as well.

73,
Jae - K5JAE

On Wed, Sep 10, 2014 at 5:26 PM, John Laur <johnlaur at gmail.com> wrote:

> ***** High Performance Software Defined Radio Discussion List *****
>
>
> All,
>
> I am happy to report that it is technically possible to run KISS Konsole
> on Mac OS!
>
> Again sorry for the delay. Attached is the patch that fixes the networking
> error on OS X. The original problem was that the netmask property of the
> network interface is not implemented by Mono, so a try/catch was added if
> the native property fails. This workaround code did not work on Mac because
> the interface address family is not duplicated into the sockaddr_in struct
> as it is in Linux. However from the documentation I believe my approach
> will work on both platforms.
>
> The patch applies to the svn under branches/K9TRV/KISSKonsoleUnified
> Before committing it to SVN would someone please confirm that the code
> still works on Linux to retrieve the interface netmask? I do not have a
> Linux environment set up for this kind of thing.
>
> A screenshot of KK running under OS X 10.9 Mavericks is here goo.gl/IK3LMc
>
> Performance is OK but MonoMac's implementation of Windows.Forms is both
> poor and buggy. Since the implementation is done with Carbon, this limits
> the application to 32 bit which reduces the performance of FFTW somewhat on
> this platform. One problem is that the waterfall display doe not work at
> all. Also, radio discovery only seems to use the primary network interface.
> I am not sure if that is the way KK is implemented or not? I only had 20
> minutes or so to work on this last night so I just endeavored to see if I
> could actually get it to run. Because of the issues with windows forms and
> the discovery this is still a ways off from what I would call 'usable' on
> this platform, but it's sure a cool toy. If I have more time I may will
> probably play with it further.
>
> IMO the first class approach would probably be to abstract the UI a bit
> more and build something native for each platform we wanted to support
> instead of relying on Windows.Forms emulation. This incidentally could open
> up the possibility of KK running on mobile devices if a UI were built in
> Ximian.Forms.
>
> 73, John KF5SAB
>
> On Wed, Sep 10, 2014 at 12:37 PM, George Byrkit <ghbyrkit at chartermi.net>
> wrote:
>
>> Dear John,
>> Please also send a copy of your patch, or as a text file (no html...) to
>> my email address
>> so that I can get it into the KISS code in a reasonable way, ASAP, to
>> that all can pull
>> from my dev tree and have success.
>>
>> 73,
>> George K9TRV
>>
>>
>
> _______________________________________________
> HPSDR Discussion List
> To post msg: hpsdr at openhpsdr.org
> Subscription help:
> http://lists.openhpsdr.org/listinfo.cgi/hpsdr-openhpsdr.org
> HPSDR web page: http://openhpsdr.org
> Archives: http://lists.openhpsdr.org/pipermail/hpsdr-openhpsdr.org/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openhpsdr.org/pipermail/hpsdr-openhpsdr.org/attachments/20140910/bdfbe9fa/attachment-0003.htm>


More information about the Hpsdr mailing list