Skip to content

Posts 

Little trick for safe deletion of objects in a multithreaded app

Thursday, 26 July 2007
You may have thought about using the excellent Threadweaver from kdelibs to speed up your application a bit, but got scared of the horror stories of multithreading in C++. One common case where things may go wrong in C++ is deleting of objects. For example when you have an object like a "User". Your painting routines quite likely access that user object, for example to show that QImage of the users face. This means that you can't just delete the user object from another thread, it might still be accessed by the painting routines afterwards. Qt calls the paint event in unpredictable ways, for example when the application is uncovered by another window. Read More

mutexes

Thursday, 26 July 2007
If you ever did anything with multithreading you'd know mutexes. They are basically a building block to do any multithreading work in. In java they are better known as 'synchronized blocks'. Your basic hot zone can be protected by a combination of myMutex.lock(); /* do stuff here*/ myMutex.unlock(); Which is equivalent to the Java manner of synchronized(myMutex) { /* do stuff here */ } Read More

SliderView Raptor

Thursday, 26 July 2007
last several months have been a hard run, having exams one after the other, but I was able to commit several line now and then for raptor project, this is just one widget that we will use with raptor http://upload.ruphy.org/slideicons.mpeg one of the main widgets we will have on raptor is the sliderview. it's a very customizable view unlike on kickoff, where it slides left and right, Raptor Slider View is meant to be 100% compatible with Plasma API and not be some widget of it's own. it's very similar to what u would see on a slide show but multiple slides per view. arrangement can differ based on user perf, It will support Stack like view and Grid view just like it was proposed on Appeal Project first by Aaron . the view can be skinned using SVG. at the moment i'm working with pinheiro (Amazing Oxygen Artist) and Nookie (good old Buddy) on the skin elements soon we will get the skin perfect and done. I uploaded a mpeg to ruphy's upload server so if can't compile it. see it here http://upload.ruphy.org/slideicons.mpeg. next step is to float it on plasma and add the True Transparency support to the menu view launcher. that should happen in few days from now.

Kickoff Goes KDE 4

Wednesday, 25 July 2007
Porting of Kickoff to KDE 4 has started: the first step is trying to make it work with the Kicker remains. Some code is still disabled but you can already search/browse applications and start them: Read More

openSUSE 10.3 Alpha 6 Remarks

Friday, 20 July 2007
Yesterday openSUSE 10.3 Alpha 6 has been released (major changes). As Coolo mentioned this is the first alpha release which feels really alpha due to the package management refactoring. During the last month much other stuff happened so not many visible changes besides version updates for the KDE desktop; the new 10.3 artwork went into Factory too late. Read More

A commercial Qt application

Thursday, 19 July 2007
Today I discovered an application that is using Qt4. It was a complete surprize, as this is a software that you can download from a photo-shop's web page to create so called "photo-books". Unfortunately it is a Windows only application, but I was happy when I saw that QtCore4.dll & others were installed (inside wine). :) The application is in Romanian, but as I saw it was developed in Germany. It is called CEWE Fotocartea Mea (CEWE My photobook) and can be downloaded from here.

Blogging support for Kontact

Thursday, 19 July 2007
Hi, I'm a Google Summer Of Code student and I'm working on creating a kresource to add support to add a journal and retrieve them from a blog. You can monitor my progress on the kresourrce in trunk/KDE/kdepim/kresources/blog/. Read More

Multithreading in KOffice

Thursday, 19 July 2007
One of the things we wanted to do in KOffice is to use Krita when printing images from KWord. The reason for this are a couple, but the most important being that we want to have just one way to do printing of images and not waste time maintaining a more than one. Naturally the option to let Krita convert the images to CMYK while printing (as soon as QPrinter supports that) sounds like a nice to have as well. Read More

openSUSE News Goes Live

Thursday, 19 July 2007
Today one of my hack week projects went online: openSUSE News. Actually I have been working on it together with Robert Lihm already before and finished it only after. :-) The openSUSE project missed a news portal for a long time. An announce mailing list isn't really the same, also because people cannot comment directly. And we plan to have much more content about openSUSE and its people on the openSUSE News site than on the announce mailing list. Read More

More KWord & KOffice updates

Wednesday, 18 July 2007
Some weeks ago KOffice alpha1 got tagged; but some balls were dropped and it never was uploaded to the ftp site. The good news is that even more new cool stuff is visible in the KOffice Alpha2 which will probably come out end of August. Read More