Portin’ like a mad man…

It has been a long time since I posted a real blog entry in a while on what I’ve been doing so here goes…

  • GtkEmbedMoz + Gecko# for WIN32 -

    The patch is making its way into the Mozilla tree that makes this work and it might make it into the official upcoming Mozilla Suite 1.8 release (cross your fingers). Right now you can find the beta versions of the dlls required to make it work, a custom GRE (even though I have tested it with the official Mozilla 1.7.3 and 1.7.5 build, the official versions have a few bugs like disappearing scroll bars and control focus issues on web forms) and my patches to build yourself. The Gecko# dll is up there as well and I’m committing my fixes into the SVN later on to Gecko# so we should have this in the next WIN32 installer :-)

  • Monodoc using Gecko# and working on WIN32 -

    Miguel and Paco talked about it a little before. It’s nothing really to write home about except it brings it to Windows. I have the patch for using Gecko# instead of GtkHTML (which doesn’t work on WIN32) here if you want to play and a screenshot can be seen here.

  • Tomboy on WIN32 -

    I got bored and decided to have some fun, so I ported Tomboy to WIN32. It was pretty easy. It only took me about 30 minutes. I think it really shows that rapid application cross platform development is really something that Mono can offer.

  • SNMP.NET -

    I have a fully working lightweight SNMP library for .NET that I wrote using references from a few networking books I have. I included two little sample apps as well that can query a devices id and uptime and the other one can query for that machines MAC address. Provided of course you query an SNMP device that you have its community name for. Most routers and any *nix flavor box running an SNMP server. I don’t have any M.I.B. support so you have to use the UID directly to make this work. M.I.B. translation is a bit more work then I pulled off in the 250 lines of code in this. It uses pure sockets provided by System.Net so it works on Win32, Linux and Mac OSX I know for sure. Get it here: http://polystimulus.com/snmp.zip. (Side-note: I do have a fully library that does have full M.I.B. support written by this guy in England but its very complex and very resource intensive but it provides the ability to host SNMP, but it doesn’t currently work in Mono yet.)

  • PHP&GTK - PHP & Mono & GTK#/SWF -

    I’ve been toying with this idea a bit and had some great success with it. It’s the one idea that when I mention it, people seem to always say, “I don’t know whether to be sick or socked and amazed.” I know a lot of people have tried and used PHP-GTK. You basically run PHP as a runtime on the client side and use it make GUI apps with GTK as the interface. Applications like Nova (a gnutella client for WIN32) do this and pull it off really quite well. The biggest issues though is that PHP+GTK is very slow on development and stuck in gtk 1.x right now and it doesn’t have a lot of interest as it started as more of a proof of concept. Part of the issue is that if you use it to wrap your existing code, you couldn’t render HTML in anyway so everything has to be rewritten with GTK.

    Well I have a much cooler solution. Thanks to the classes in PHP that allow you to load and access .NET/Mono assemblies in PHP, it is possible to take PHP, run it as a runtime, and call SWF/MWF or GTK# for your interface. Then thanks to Gecko# and GtkHTML you can render basic things like your tables and css styles inside your app without rewriting. Nothing working well enough to post about it.

Well that just about sums it all up. I’m also looking for a job if anyone is hiring in the Dallas area. :-)

Tags: , ,

19 Responses to “Portin’ like a mad man…”

  1. user Says:

    since porting tomboy to win32 took you only ~30min, can you tell what were the issues you corrected? so we get an idea on what we should look in future code…

    thanks.

  2. Jae Stutzman Says:

    Email me for job possibilty.

  3. Paul Ferrill Says:

    Will you make the Tomboy port available for download?

  4. Zac Says:

    Yes I will. :-) I’m upgrading it to .3.1 because I messed up and used .2.2. I’m working on my gtkembedmoz stuff first.

  5. Elliot Anderson Says:

    Hey Zac, I was wondering if i could have a peek at the code for the PHP & Mono & GTK#/SWF hack you did. I am really interested in its potential. Drop me a line at elliot.a@gmail.com

  6. doug Says:

    Would a job in Austin interest you?

  7. Zac's Mother Says:

    Zac’s mother would be interested in Zac taking a job in Austin. :) I love you, baby!

  8. marcos pinto Says:

    this is just great…i cant tell you how badly i’ve wanted to use geck-sharp in win32! if it makes it into mozilla 1.8 and mono’s next windows installer, i’ll gladly paypal you a thanks. thanks for the good work and keep us updated

  9. marcospinto Says:

    your link to the debian wiki is broken. change kwiki.cgi?ZacBowling to ?ZacBowling

  10. Antonio Ognio Says:

    I use to give talks on Mono universities and user groups focusing a huge part of the demos in mono’s interoperability with other languages. Having some of that PHP + Mono + GTK#/SWF would really rock. I’ll be tuned hope there will be news about it soon :)

  11. Christopher Says:

    Any news on the Tomboy port? Some of us have to get by with Windows machines at work and Tomboy would be a reeeal help! :)

  12. Timothy Parez Says:

    I’m really looking forward to the windows port.
    It would be very usefull if you could tell us what exactly you had to change, it might help others think about the things they need to keep an eye on when developing cross platform applications

  13. Richard Says:

    Thanks for the SNMP.cs code very useful.

    I found the following line slow:

    IPHostEntry ihe = Dns.Resolve(host);

    So I changed it to:

    IPHostEntry ihe = Dns.GetHostByName(host);

    Which helped a lot, thought you might be interested.

  14. aadis Says:

    Hi,

    Any news on tomboy port to windows? Reaaaally looking forward to it :)

  15. Joe Says:

    I’m also really looking forward to a windows port of Tomboy. I know it’s a labor of love, but I’d be willing to kick you a few bucks for your time if helps move the effort up your priority list ;-)

  16. Joe Says:

    I know that your porting work is a labor of love, not profit, but I’m reallying looking forward to a win version of Tomboy. I’d even be willing to put a little cash into your paypal account as incentive if it would help ;)

  17. Steve Bushman Says:

    so… how is that tomboy port going? it would be nice…

  18. zerohalo Says:

    Hey Zac, came across your mention of Tomboy Win32 port when googling to find something my friends who are still stuck on Windows could use. Very cool! Did you end up posting it anywhere? I found the mailing list post where you describe what you changed (http://beatniksoftware.com/pipermail/tomboy-list_beatniksoftware.com/2005-January/000479.html), but I’m no mono developper.

  19. fightertype Says:

    I’m interested in downloading ANY version I can get ahold of. The one link I found that had your patch was down. Is there anywhere else I can get it?

Leave a Reply