Skip to content

KDE Blogs 

Sunday, 11 January 2004

Combining the Advantages of Qt Signal/Slots and C# Delegates/Events

Tjansen  | 
My favorite Qt feature is the Signal/Slots mechanism. Before working with Qt I only knew the horrors of Java's event handling by implementing interfaces, and libraries that worked only with simple functions but not with class methods. Qt was the first library that allowed to handle an event in a method of a specific object instance - which is what you actually want most of the time. Unfortunately Qt Signal/Slots are not really well integrated into the language. This is mainly due to the preprocessor mechanism that works only on the declarations. Thus the declaration syntax is fine, but the use of signals and slots in the definition has some problems and limitations: Read More
Sunday, 11 January 2004

kdedevelopers e-mail feed, thinkpad KMilo plugin, proofreading and top secret KDE groups!

Jriddell  | 
kde.me.uk has some things of mine on it. kde.com's e-mail feed of KDE dot news died along with kde.com so I set up another one for dot news and added debianplanet.org and kdedevelopers.org. email news feeds. KDE dot news are planning on adding their own e-mail feed so that one may dissapear. Read More
Saturday, 10 January 2004

Amazing KDE

This week brought a couple of new exciting things to KDE. Having a closer look at what was announced these days I'm pretty amazed. It started with kde-apps.org on Monday, the followup to the highly popular kde-look.org. On Tuesday we got KDEPIM on Mac. Wednesday brought integration of native KDE widgets in OpenOffice. On Thursday we saw a nice interview about Qt styles for Gtk apps and the announcement of KDE ioslaves for FUSE which basically means that they are now accessible by any non-KDE program, OpenOffice only being one of them. On Friday Zack released his QtGtk library which allows to use all the fancy stuff of KDE like the file dialogs or DCOP in Gtk apps. KDE seems to become the integrative desktop. That's good news. Let's see what will happen on the weekend... Read More
Friday, 9 January 2004

Hooray for managed code

Tjansen  | 
For a long time I have hoped that managed code will beat statically compiled code one day. Managed code can make software more secure, CPU-architecture-independent and makes it easier to generate executable code. The only remaining problem is the performance. Theoretically managed code should be faster than native code that the linker does not understand, because of the better optimization opportunities. But in practice and especially in public perception it always trailed behind. The benchmarks published by OSNews suggest that, at least in the commercial space, managed code is already competitive and can beat unmanaged C code. The nice thing about the OSN article is that it's probably the first time that someone was so (stupid|brave) to violate Microsoft's licensing agreement and publish benchmarks for C# - but even Java did very well against gcc. Read More
Thursday, 8 January 2004

posting a blog when you don't know what to post about.

Mattr  | 
So, yup, this is my blog entry, and I have no idea what to write about. Maybe it's because I'm not doing anything, or maybe it's because I'm doing too much, or.... and the list could go on and on. Or maybe, it's because I'd like to try fixing Xinerama support, but I haven't a clue where to start, and I went back down to a single monitor a couple of weeks ago because having that second monitor left no room on my desk. :( Anyways, I've rearranged the desk and so now I may try again after I get home. I'm stuck at work right now, and it really sucks since I don't have a whole lot of time to work on KDE here anymore because we're always so busy. :( Maybe it'll slow down some though and I can get back to hacking. Read More
Wednesday, 7 January 2004

Image manipulation / LinuxWorld

I was talking to Rich today and he pointed me to a wonderful paper : http://www-sop.inria.fr/odyssee/research/tschumperle-deriche:02d/appliu/index.html . Please look at the image restoration one can achieve with this baby. The "Image Inpainting" examples are breathtaking! The whole thing is on my todo for KDE 3.3. I also got reports from people that some effects from KImageEffect simply don't work, or even worse are crashing. As it seems a lot of them hasn't been tested. Read More
Tuesday, 6 January 2004

More applications in KJSEmbed

Geiseri  | 
Well it has been a busy two weeks. I have been fixing a few bugs in kjembed here and there and pushing its limites with my two scripts... oh yeah i have a new script [Envelope Maker|EnvelopeMaker]. Read More
Friday, 2 January 2004

For fun

I'm over at Ian's place at the moment. West Chester, PA, suburbia at its best :) Everytime I come over he makes me do something weird. This time he made me write a bumpmapping algorithm for him. It's mostly used in 3D computer games, since it makes really nice textures. Why did he need it? I'm sure he'll tell you sometime soon in his blog. I'll move the bumpmapping algorithm to kdefx KImageEffect after 3.2. Also if you know any graphics algorithm that you would like to use with QImage's let me know. Either send me the name of the algorithm and the app which implements it, or preferably math behind it. One of my friends pointed me to the following comment by Jamie Zawinski. He says that it's not possible to mix GNOME and KDE widgets. The whole "not possible" thingy never worked too well in Open Source. Hopefully soon I'll release something that proves Jamie wrong. Hold your finger crossed as I'm busy with some other things at the moment. Read More
Wednesday, 31 December 2003

Qt bindings for libusb

I've finally completed the C++ bindings for libusb - what a fun way to spend New Years Eve. This implementation is layered on top of the C routines - no changes to any of the existing code, so it should be portable to any platform supported by libusb. It relies on Qt - I looked hard at the STL stuff, but Qt was much better, especially for string handling (yep - USB devices return strings in Unicode). I decided to stay with QPtrList for now, despite being told it wasn't likely to last long - it was a better match for my conceptual design. Read More
Monday, 29 December 2003

Autogeneration of JS bindings is a go!

Rich  | 
There's good news to report today, I added the first autogenerated binding to the CVS last night! The binding provides access to QDir but the tool is generic and should work on anything we can access as a JSOpaqueProxy (this limitation will be lifted later). There are still some rough edges, and the constructor functions aren't autogenerated yet but basically it works. The next step will be to clean things up a little and to add support for default function arguments. This should be pretty simple. Read More