Page: 0 ... 5 ... 10 14 15 16 17 18 19 20 21 22 ... 25 ... 30 ... 35 ... 40 ... 45 ... 50 ... 55 ... 60 ... 65 ... 70 ... 75 ... 80 ... 85 ... 90
Gtk Progress
Date: 30/6/2010


Most of the keyboard and mouse functionality is working. Painting windows is much improved. The skin engine is painting controls. Overall things are quite functional, but there are still broken things, like combo boxes on dialog seems to mess things up. And the account preview just seems to hang and go nowhere.
(2) Comments | Add Comment

It's Scribe Jim... but not as we know it.
Date: 25/6/2010
The GTK port boots... at least to something that resembles the main screen. So far I've had lots of build issues, crashes, asserts, missing functions and memory overwrites. But seeing the main screen for the first time is a milestone of sorts. The missing icons will be path issues. The menu... uh who knows. But it's getting there.

(0) Comments | Add Comment

Lgi back on SourceForge
Date: 23/6/2010
I've got sick of hosting Lgi privately and making source releases every other year, and so I've uploaded the latest code to SourceForge and I'm going to just use that from here on in.

Some of my other apps may follow. I've structured the Lgi checkout to have a trunk and branches sub-folders which I think is fairly standard usage with svn. There is no auto-conf yet under Linux but I'd be interested in someone providing one as I build on the Linux/Gtk+ port.

Hooray for open source! :-)
(0) Comments | Add Comment

Date: 18/6/2010
The GTK port lives. I've got it to a point where I can put a window, with menus, toolbar and splitter on screen and everything is behaving reasonably correctly. So now I need to add some keyboard support and then slowly throw more and more complex code at it and find / fix bugs.

The big problems were getting Lgi's layout engine to work within the GTK layout engine. Ug... that was hard. But I got there eventually. Main issue was GTK layout wasn't even working because I borked up the configure signal due to a lack of understanding signal propagation.

The next big issue was getting the equivalent of "PostMessage" working with GTK. Which ended up having a stack overflow question.

Finally the images weren't loading. But that really was just a matter of hacking at the GMemDC class till it understood the GdkImage format and returned the right stuff through it's methods.

We could be close to both new Mac and Linux releases soon... this month? Maybe. Mac build is working but I still have those hateful non-virtual thunk errors when I compile with _DEBUG defined in debug mode. So far looks like a gcc compiler bug from what I read on the interwebs.

Developing code for the Linux port in Visual Studio is nice though :-) I seriously enjoy that IDE/Debugger combination, it still kills anything on the Linux + Mac platforms. And of course I do compile / run the code on Ubuntu to test things that I'm not sure about. I even valgrind'd it a bit while I was over there. I ❤ valgrind.
(1) Comment | Add Comment

Scribe IMAP
Date: 7/6/2010
I've finally got sick of the way that Scribe doesn't seem to pick up on new email in the IMAP inbox. So I started watching what Thunderbird does and basically it's using the IDLE command to force the server to notify it when new email arrives (as well as other events). I was under the mistaken impression that IMAP server should be sending untagged data to the client to achieve that sort of "push" notification.

So I've added IDLE support to Scribe's IMAP protocol stack and I'm now working on integrating the resulting events back into the IMAP thread code so that they do useful things like show new email. The next release should be more standard in it's new mail behaviour.

One thing I did notice with the IMAP support in Thunderbird is that it regularly uses 2 socket connections. And I never attempt to open a 2nd connection (one is complicated enough). But it's something I'll have to probably look at in the future to avoid lag if the main connection is busy downloading a large email or something.

With respect to Gmail support, I've read the spec and even tried some implementation of the OAUTH authentication method but so far it's a dark twisty maze of tokens, encryption hashing and parameter encoding. Sigh... and so far it's winning, not me. Unfortunately Gmail uses SSL and that means I can't spy on the traffic between Thunderbird and Gmail to try and get an "example" to follow. One thing I need to investigate is whether there is a way of dumping the unencrypted SSL traffic from inside Thunderbird. Worst case I could download the source and build a version that DOES dump the traffic. But thats worst case... I'm sure that's a non-trivial amount of effort.

Anyway, enough drivel. Back to it.
(1) Comment | Add Comment

Linux / Scribe / GTK?
Date: 2/6/2010
Wondering where it is?

Well I'm busy with life, but I found some time to make a Win32/GTK build of Lgi, which Scribe uses as a cross platform layer. The purpose of this is to work on getting a stable build of Scribe using GTK on a platform that I actually use. It seems I have no time to boot into Linux these days so if I had a windows port then at least I'd be 90% the way there in terms of functionality and it'd just be tweaking things for GTK/Linux rather than writing a GTK port from scratch. I very much doubt I'd ever release a GTK/Win32 build of Scribe as it's a bit pointless considering the native port is a) smaller, b) faster and c) better.

So yeah, I'll work on that... it's not dead.

Update: I have a working build of Lgi/Gtk2/Win32 but I fail to understand the Gtk layout internals enough to position widgets wherever I want. The allocation vs request stuff is doing my head in. I can get all the widgets into the right place by setting their size but then I can't resize the window any smaller than the initial size which isn't what I want. Basically I want something like the GtkFixed container that I can resize down to 1x1 if I have to. Yeah basically I want Gtk to butt out and let me put my widgets where I want using all my own layout. "Good luck with that" I hear the chorus from the peanut gallery ;)
(0) Comments | Add Comment