jd:/dev/blog

Aller au contenu | Aller au menu | Aller à la recherche

mardi, décembre 22 2009

Python cairo and XCB support

cairo has a Python binding (pycairo) since a long time, and some months ago a Python binding for XCB (xpyb) has been released.

Pycairo has no support for creating Xlib surfaces. You can get a Xlib surface from PyGTK and then use Pycairo to draw on it, but there's no way to create one directly.

What I've done is make Pycairo aware of xpyb so it can creates directly an XCB surface from a XCB connection and a drawable.

As said in my mail to the XCB list, I'm now waiting for a review before pushing this upstream. :-)

For the first time, I guess, XCB has beat Xlib support! ;-)

mardi, septembre 22 2009

Various news: what happend durring summer

It's been a while since I blogged about something. So here's a bunch of things I've done the last month.

Holidays

Well, I've been in holidays one week. :-P

awesome

There have been a huge number of changes between 3.3 (released in June) and 3.4 (almost relesed). I wrote a small but very useful object layer on top of Lua, which adds a class/object system a bit like gobject. I've also replaced all the hooks by per-class/object signals. Finally, the awesome Lua basement are cleaner than they were before, and the extendability is improved. How nice.

We're trying to release 3.4 (rc2 should be out soon), but the development pace is a bit slower than a year before. We're basically almost 2 months late on what was our previous release rate. Not a big deal however.

I've started working on 3.5 slowly. It gonna get amazing new features too. :-)

Google Summer Of Code 2009

I've mentored Mariusz Ceier on XCB GSoC. He worked on adding Xinput2 and XKB extensions. And he managed to do this. His work should be imported ASAP, the discussion has started on XCB maling list last week.

In exchange, Google offered me (and to every mentor) an awful blue t-shirt! Thanks Google! :-P

samedi, avril 4 2009

Still working!

Well, I'm not dead buddies. I was overbooked.

Last weeks have been a bit busy for me. I've also been on holidays, so I gave up on computers stuff a bit.

awesome

Big news: awesome 3.2 has been released some weeks ago, and seems to be a success so far. We're working on the new 3.3 release, which will have some new sexy feature you'll love. More on that later.

Debian

I've uploaded a new awesome-extra package with third party modules such as shifty or wicked.

startup-notification

I just managed to be added in the startup-notification group at Freedesktop. I moved the CVS repository to git and merged my set of XCB patches.

jeudi, janvier 29 2009

startup-notification port to XCB

Since Tuesday, I've begun to work on XCB portage of the startup-notification library.

I've just completed the job, and send a bunch of patches to the XDG mailing list. My work is available in my startup-notification git repository.

If the patches are merged, which I don't doubt, I'll be able to use this lib into awesome, which would be nice step to the Freedesktop standard compliance I like to make.

mercredi, septembre 17 2008

xcb-util 0.3.0 released

I just released XCB util and announced on XCB xorg-announce lists at Freedesktop.

This version has seen some of the modules totally rewritten, like ICCCM, event, reply or property. It also has a lot more documentation than previous, so I've set up doxygen documentation online.

It was the last step before releasing awesome 3 final… hm hm.

mercredi, septembre 10 2008

Working on…

I've been quite busy last weeks, between real life and awesome stuff.

awesome 3.0 final release is getting closer. No more release candidate version should be expected since there's only 9 small patches into master from rc6. Final release should be out real soon now, before the end of the month. Also, the next branch already contains already nice stuff for the upcoming 3.1 version.

I've done some grunt work on XCB also, pushing other patches and fixing padding stuff in XML protocol description. This was very boring, but well, had to be done, so… I did it.

That's all for now. Stay tuned.

vendredi, août 1 2008

Releasing xcb-util 0.2.1

This morning I put on my Freedesktop hat and go ahead for a minor release of xcb-util.

This is the third release ever made of xcb-util, 2 years after the first one… It really needed some love.

jeudi, juin 12 2008

One step further for XCB into Debian

I've take some time this morning to work on xcb-util packaging. I've mainly urge that work because Sebastian Dröge, the sweet cairo maintainer, agreed to enable the cairo XCB backend (#474353), which requires xcb-util.

The first upload I've made was built from the latest upstream release which is old (i.e. more than one year old). So I've put a git repository in place this morning and packaged the latest git upstream version, with some good patches from Arnaud (upstream+patches branch), that the upstream XCB developers are still reviewing since several weeks: that is the cost to pay for good code quality؟

Thanks to Sebastian, the new xcb-util targeted for unstable was just arrived in incoming that he already uploaded a new version of the Debian cairo package with XCB backend enabled.

Well, that's a very good day for me since it means that building awesome 3 is no more a PITA (hi MadCoder!) since every dependency is available in the Debian archive.

vendredi, avril 18 2008

Updating my .plan

I've been on holidays for one week now, breaking my usual workflow. Well, that allowed me to rest and to think about what I'd like to do and things I need to handle during next weeks.

The urgent things this next days will be my primary server replacement. It is currently dying, and I already had to change its power supply twice in a month. Unfortunately, I'm now at a point where I do not have any spare piece so if things go wrong again, I'm screwed. I need to collect some money and buy a new server, or maybe get a server if someone have an old or spare one to give me, I do not know yet.

On the awesome front, I'm about to release awesome 2.3, which will be the final minor release of the major branch 2. This will lead me to work on awesome 3 at a slower rate and a cooler pace.

Then, the thing I do not have to hurry for is awesome 3. There's no big problems in awesome 2, and the xcb-util stuff are not stabilized yet. After my gentle yelling on XCB mailing list, it seems that things will move but will slowly. So I do have time to make things right and do what I want on that branch, making bugfix release on awesome 2 if needed. You can read more about futur on my last post about awesome.

All this should give me some more spare time to work on the upcoming Debian release, lenny, which I'd like to work on. Two years ago (my god, time flies), we've done good work with the french cabal squashing critical bugs and I'd like to go back on this and squash asses again.

lundi, avril 7 2008

awesome: from 2 to 3

Last week I sent a mail about the upcoming developement strategy for awesome.

Long story short; we begin to work on awesome 3, dropping Xlib in favor of XCB, bringing out the first window manager using this bindings (if you do not count the demo one in the source repository ;-)).

Thanks to the amazing grunt work of Arnaud Fontaine, we already have a working version of awesome using XCB, and it works very very well. Better API, better code, and even faster code. That is awesome.

awesome 2.3-rc1 was released this morning so we'll begin shortly to work on the 3 branch and merge it into the master one.