Archive for April, 2009

Using the webkit classes without fetching stuff from Internet

A mail clients wants to display html-mails but don’t want to fetch stuff from internet automatically. We now have a solution for that. Qt has introduced QWebPage and QWebView for displaying HTML in a widget. Unfortunatly those don’t use the KDE KIO’s for fetching the stuff. And that means no proxy for example. Urs has introduced some new classes to kdelibs which now makes this possible.

For example:
QWebPage* widget = new QWebPage( this );
KIO::AccessManager* accessManager = new KIO::AccessManager( this );
accessManager->setExternalContentAllowed( false );
widget->setNetworkAccessManager( accessManager );

Pretty simple! Now the QWebPage uses KDE’s KIO and does not fetch the external content automatically.
If you need a QWebView, you can set the accessManager via page()…

Anonsvn services fully restored

Checked master : r955251
Checked anonsvn1: r955251 OK
Checked anonsvn2: r955251 OK
Checked anonsvn3: r955251 OK

Current anonsvn-mirrors in rotation: anonsvn3 anonsvn2 anonsvn1

All anonsvn mirrors are up-and-running again. The last couple of days you could have received some timeouts, because the limited amount of active mirrors were overloaded, now all three are back in service.

Adriaan de Groot and Martin Eisenhardt worked around the problematic commit. Big thanks for their work on it, even during Easter.
I hope this won’t happen to often as we still don’t know the real cause….

Anonsvn state

I hate sending text messages to people who are at parties… Sorry for that Adriaan.

Anyhow. anonsvn has been redirected to a temporary svn server, so all users should be happy again. I still hope full mirroring will be restored soon. Any help would be appreciated.

Akonadi meeting: day 1 and 2

Friday was arrival day for most of the pim-people. Once everyone was in, we started with a demonstration about Lionmail from Sebas. Basically that is a plasma applet showing mails in Akonadi. So after KMail we now have Mailody and Lionmail. Sebas shared his experience in building it and it is great to see Akonadi being flexible enough to be able to create new mail applications quickly. Although a full blown mail client requires a lot of effort, I think in the future we will see some more new mail clients which are maybe specialized for some specific task or way to operate.

After that the RSS/Akregator people explained their current problems and difficulties. You can read more about that on the Techbase page. After that I recall we had some discussion about points Stephen has brought up.

It was actually at this meeting I got to understand that the model Stephen is working on is a really cool model. It is able to merge collections and items into one model, which he needs for porting KJots to Akonadi. But it is also has lots of stuff for lazy loading. So if you have a folder with 1000 subfolders, it will only load these in the tree when you expand the main folder. There has been going a lot of time into this model. Probably not the most rewarding job as it is not very visible for the average user.

On saterday there was plenty of room for hacking. People starting working simultaneously working on a pop3, mbox and the imap-resource. Which gave a competition like atmosphere where people were betting on who would be first to show the mails. You can imagen it is extremely productive when this happens all at the same time.

After that we discussed the state of the ports for KAddressBook (or actually its successor KContactManager) and KOrganizer. Both are planned for KDE 4.3.0, which starts freezing pretty soonish, so we have to hurry a bit to reach that deadline. Luckily KDAB will support this port with some more resources, so it should be possible.

Later that evening some Trolls came by to say hi and play some table soccer. I’m pretty sure the PIM people won ;-). Although Danimo won convincing from me in a one to one battle. I realized I’ve missed doing it. Last time was probably 15 years ago, when I still studied. Now we get a bigger office, it is worth considering it ;-)

Akonadi meeting: day 0

Some days are great, some go less smooth. That was yesterday. I had planned to wrap up some lose ends at work today and travel to Berlin later on. It became a hectic day. Work was stressful due to two server failures. And I barely made it out on time to catch my train. I was on time at the station, but that could not be said about the train. It ran with 15 minutes delay to Utrecht. When I entered the station main hall of Utrecht, there were something like 40,000 (ok, i can not count, but it was crouded). Trains towards Arnhem did not run. And guess which direction I was heading….

At some point the station came to a full stop. All train announcements were removed and nobody had any idea what to do and where to go. It brings a funny weird atmosphere and strangers talking to strangers, being cynical about Dutch railways and stuff. 40 minutes after my ICE was supposed to depart from Utrecht, there was an announcement that the train would arrive at another platform. So everyone ran to that platform where the train was already arriving. The announcement when the train left was that the train was traveling with a delay of ‘52 minutes and 30 seconds’, which was ridiculously precise and brought a smile on most faces.

In Arnhem, Sebas jumped on board and explained the ins- and outs of the ICE seat placing system. Nice info. So we arrived in Duisburg 50 minutes late, which means the connecting train to Berlin was gone for like ten minutes, luckily there was another one an hour later, so we had a chance to eat something. Something I wanted to do in Utrecht, but that queue was simply too big, and I was too stressed to really think about it. The train to Berlin was great, smooth, comfy and it was nice having the time to talk with Sebas about all kinds of aspects of KDE, and Sebas’ Lionmail and my Mailody. Probably some more info later on this weekend.