Friday, July 30, 2004

gnome-bluetooth and various fixes

Did a good bugfixes day yesterday :
-crasher in gnome-bluetooth was quite tricky to find, so let's share it with all GNOME hackers who are using gob. Be extra careful with destroywith, because it requires as parameter a function with void (*func) (void*) signature (ie like g_object_unref). If you were using it with gdk_pixbuf_unref or gnome_vfs_file_info_unref, with older gcc, it was ok. But with gcc 3.4, you'll get a warning (easy to miss when not compiling with -Werror) stating program will abort if this code is reaching (I wonder why it is only a warning), and guess what : your program will segfault as stated.. So, get prepared, use g_object_unref when possible or handle finalisation yourself with destroy command.
-fix a crazy bug in latest magicdev : cooker users where complaining k3b was starting without them doing anything when they login. Magicdev was supposed to only mount CDs at login, not also run cd burner or player :)
-found a missing i18n init by chance in nautilus-cd-burner nautilus extension. I'm quite afraid to discover nobody ever found it, probably guessing translation for this module wasn't complete in their language. So, if you find part of a module which is not translated, when this module is run inside another one (nautilus extension is a good example), check po file for your language and if it is translated, bugzilla !!
-with our XFree86 security update, our support guy discovered strange behaviour with fonts disappearing in fontconfig. It seems we are are to fool fontconfig dirty cache detection. Will fix today.

Wednesday, July 28, 2004

TreeView and BlueTooth

TreeView/Menudrake
After spending a good part of last week trying to finish menudrake port to TreeView, I've decived to postpone this port, since I couldn't get DnD working between two treeviews without spending at least another week on it (this is the first time I'm hacking on TreeView and menudrake is using its own flat datamodel, incompatible with TreeModel). Moreover, the added value would be only aesthetic since menudrake is supposed to died when we well be able to switch to vFolder menu to replace Debian menu system.
BlueTooth
There are days where I really enjoy working at Mandrakesoft, being able to fix stuff I usually don't work on. Today, I took my new USB BT dongle and I was able to get Mdk bluez packages working out of the box (after integrate some Fedora patches and fixing other problem), with dbus powered PIN gtk2 helper. So, now, both my Palm T3 and my cellphone are able to bind with BT USB dongle without having to configure anything on the distro. gnome-phone-manager is working correctly (thanks to pam_console), I still need to investigate crash in gnome-obex-send and gnome-bluetooth-manager seems to be a little broken in the distro (need to check code).

Wednesday, July 21, 2004

Palm, Bluetooth and TreeView

Hmm, I really don't update my blog enough..
Palm
Last Friday, I was at a Palm User Group Party (PalmSpirit). It was very nice and funny and thanks to numerous sponsors, everybody left with either software for PalmOS or accessories. I think it is the only place where you can leave your PDA on the restaurant table without it disappearing in somebody else pocket.
BlueTooth
Thanks to hints given by PalmSpirit people and collegues (thanks Ayo), I change my mobile for a T630 with Bluetooth. I also bought a USB Bluetooth dongle, so I could start testing BT connectivity between T630, Palm T3 and my PC. Initial test with the distro ran fine but I hadn't time to setup everything (configuring GPRS for my mobile operator with my T3 was very hard). I'll probably have to integrate some of Edd's hints in the distro.
TreeView
Menudrake was the first Mandrakesoft app to be ported to GTK2 (just after Sevilla GUADEC) but I didn't port its GtkCTree/CList part at that time because it was using a hacked version to handle multidnd. And since then, I was hoping to phase out Menudrake in favor of Desktop menu editor. Since XDG menu will be hard to fully implement in the distro to replace our menu system (and code is still moving), I decided to finish porting Menudrake to TreeView. I'm working on it for more than one week (not full time unfortunately), it is almost working (still need to add DnD) and it is my first big hacking for a loooong time : hard to start since I didn't knew anything about TreeView and menudrake code can be very ugly (no offense Vince). Thanks a lot to Tim-Philipp Müller's for his TreeView tutorial !

Friday, July 2, 2004

Back from Guadec

Likes a lot of gnomies, I'm back from Guadec5 ; I had to wake up at 4:30 this morning to take my flight and sun light was like midday. I better understand how these norway dudes can stay up that late (or early) :)
This year, Guadec was great, even if food and beer were quite expensive there (photos here). I think my best memory will be a huge fish soup shared with Luis and Dave Coombs (from Net Integration)...