jd:/dev/blog

I have enough of the world, and its people's mindless games.

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

Mot clé - awesome

Fil des billets - Fil des commentaires

dimanche, avril 27 2008

Extending pango markup attributes

I'm currently facing a problem I just can't solve, involving pango and GMarkup's glib API.

I currently use pango markup in awesome, but I'd like to extend it to support more attributes.

Pango markup uses GMarkup API to parse the formatted string. The problem is that there's no way to extend what is parsed, and if a tag is unknown in the pango parser, it will just fail.

I've tried to implement my own parser with GMarkup, but… When I encounter a tag I don't know but that pango does, I just can't pass it to the pango parser function for this tag, since this pango function is private.

There was a try to extends the markup parser 2 years ago, but the patch was crappy since it exposed the private elements of pango markup parsing, which is the bad way to solve this.

So for now, I've no idea how to do this. I was first using the bad parsing method with string.h's functions which I for now reverted, because I do not really like that.

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.

mardi, mars 18 2008

Are chickens hacking?

I was just taking a look at #awesome IRC stats, and I saw that there was a huge traffic 2 days ago. That was weird, so I did take a look in my log files. And yes, in fact, something happened.

At 03:26 GMT+1, suddenly, several hundreds of users joined the channel in somethng like 1-2 minutes, and then just left in same timeline. Some minutes after that, some guys began to talk with one of the real awesome user who was hanging out there.

It seems that these guys describe themselves as a "Turkey Hack Team".

I've seen a lot of hacked box in my (short) sysadmin life. Many of my customers have no idea of what security is, and this week I'm still working for a customer with an hacked box.

And one of the thing I never got was why all these "hackers" were downloading and installing IRC bot or IRC proxy on these compromised boxes. I say "hackers" with big quotes, because when I see in their command line history somethings like "rm .bash_history; logout" or "./exploit_of_dead_to_become_root" when the user they got the password has sudo right, I must laugh.

Now, I understand: it seems there are doing some sort of "parade", making all their bots joining an IRC channel and then left. That's so amazing. that I can say for sure: if I'd be a chick, I'll be stripping my shirt vehemently.

But the thing is that so far I've no idea if a turkey hack team is somehow related to chickens.

mardi, février 26 2008

Back from holidays

After 10 days of nice holidays, I'm back. I was totally offline, so I had to read some hundred of mails first, which is done now.

For a good restart, I've fixed a bunch of bugs in awesome and released 2.2-rc2 version. I've also migrated apt-build repository on Alioth from Subversion to git. I've uploaded a new version of this one with some patches, and a also put in the archive a new version of the mp32ogg package.

Next step will be to move my packages repositories which are in my global home Subversion repository, to my own git repositories on Alioth.

lundi, février 11 2008

Holidays and projects

Long story short: I'm busy.

These days are quite busy. I'm working (you know, I need to eat so I've a job), to the point that I have many vacation days to take. So I'll be in holidays and offline from friday for 10 days.

I'm still working on awesome developement. Code base is quite good now, so I don't do 30 commits/day anymore, and update are less frequent. It's very nice that the users base is increasing every day, without polluting the mailing list and the BTS with bug reports and request for documentation. That means we at least achieve to do a not-so-bad code with a not-so-bad documentation. The feature requests list is still a bit long, but I think it will decrease in the next weeks.

On a human side, that's the biggest project I ever managed and it's very pleasant to have so many users and contributors.

I've some more project I'd like to work too. I plan to write a small git stats generator in Python when I'll have some more spare time. I'd also like to do some developement work around LDAP and Python for my servers, but I did not find the courage to do it neither the good library to handle LDAP object correctly (a DB_Object way would be good).

I'm always following Debian developement with one eye, so I'm not totally out. I really hope I could to some bug squashing like I did with several Debian buddies 2 years ago for the etch release.

Stay tuned.

mercredi, janvier 9 2008

First RC version for awesome 2.1

And here we are. awesome 2.1 is coming! And it's really really nice.

It got a brand new set of widgets (icons, text, progress bar, tasklist, etc) for the statusbar, which is very configurable.

It also has a better EWMH support, which brings things like stick or fullscreen state support.

I still have to write the changelog between 2.0 and 2.1, but git log shows near 400 commits, it's gonna be a bit long.

jeudi, décembre 27 2007

EWMH and XRandR

Today I decided to add some EWMH support to awesome. It now supports a bunch of this extensions quite nicely.

However, while reading the spec and writing the code, it appears that this forces a window manager to behave in only one way: have a poor desktop support, and no multi-head/XRandR/Xinerama support at all.

The main caveats are that in Xinerama/XRandR mode, you'll have only one root window. And the root window is where you must store the NET_WM X properties… So you cannot handle screens in a independant way like awesome does. That's really a shame.

There's also a big problem for window managers like awesome which are happy to draw several desktops at the same time. There's no support for stuff like that.

So far, I think EWMH is nice but is really too narrow-minded for softwares and people who want to think window management in a different way.

samedi, décembre 22 2007

Christmas gifts for awesome users

I was ill since several days, and totally unable to work and even more on awesome.

Today I tried to hack a little and so I've add 2 new widgets using the new widget system Aldo wrote last week.

First we have a iconbox widget which can draw any PNG you want it to: C

And then.. the support for the so legen... wait for it.... wait a little more... dary! NET_WM_ICON: awesome NET_WM_ICON

mardi, décembre 11 2007

Fruit Fly in the box

awesome 2.0 just released. Great.

Someone on #awesome pointed me to a post of Don Stewart comparing the rise of the new tiled window managers. This is quite encouraging, and I hope awesome will grow more with the next releases!

jeudi, novembre 29 2007

Second release candidate for awesome 2.0 released

Hopla, awesome 2.0-rc2 released.

Cool. Happy me.

vendredi, novembre 16 2007

awesome 2.0-rc1

awesome 2.0-rc1 released and waiting in Debian NEW queue. :-)

jeudi, novembre 15 2007

Time < work

It's official: I'm beginning to be a bit overloaded.

Luk gently asked me about my status in the (stable) release management team. That just made a bit more guilty not doing that I'd like to do.

Current TODO list involves:

  • release awesome 2.0-rc1 and update website and documentation for it;
  • work on rebuildd, finish and polish 0.3 version;
  • run a full rebuild of the Debian archive to test rebuldd 0.3, do some QA work;
  • update mod_defensible to fix problem with udns timeout;
  • work on Debian release management, at least rewrite lost script for (old-)proposed-updates which were on ries'
  • work on Debian Xen;
  • handle a lot of waiting task on my network/servers.

Now, the thing that will help: I'm house moving this week-end with no (real) Internet connection yet. I only managed to establish a VPN over port 53/udp on a hotspot from a pub near my new apartment with 25-30 KB/s bandwidth, which is better than nothing actually.

  • awesome* is asking me a lot of time right now, and since it's my last launched project, I am motivated and have a lot of idea, so I like to hack on him right now. I think I will have to postpone future release to not forget other things.

I'm going to see what happens by the end of the year and if I'm able to catch up with everything. Otherwise I might need to drop some things… :-(

Life is too short.

lundi, octobre 29 2007

awesome developement

awesome developement is in a very good shape.

We're now more than half way on the 2.0 road. The contributors base is increasing, since there's now 2-3 people regularly sending patches, so this is very good, and the (still small) users base is increasing smoothly.

The awesome core code is step by step rewritten in a better and more generic way. The next big work is tabs implementation, that I am still postponing right now because of the core which is not ready to handle. It needs to become even more generic to not break everything by adding such a feature.

I still hope to release awesome 2.0-rc1 by the end of november.

mercredi, septembre 26 2007

awesome 1.2: guided tour

Today I finally released awesome 1.2. I also wrote a guided tour which presents some of the functionalities of awesome.

mardi, septembre 25 2007

Random news

Wouhou, yesterday was quite a productive day.

First, I've released mod_defensible 1.4 which is just one line different from 1.3 but fix a huge bug (RC in Debian) with udns 0.0.9. Already uploaded to sid.

Second, I've updated greylistd in Debian and I've set myself as maintainer after 5 NMU in something like 1 year.

Then, I've pushed some updates to awesome. I may release 1.2 in the week, since it seems bug free and has some useful new features. We're now quite close to Xmonad functionalities as far as I can tell.

And the beat goes on…

jeudi, septembre 20 2007

awesome

Then, I did it finally, I wrote my own window manager. \o/