29 Nov 2004

General No Comments

libxklavier

Ugh. Released 1.12. And it really works with xmodmap (yeah, I tested)! By default, xmodmap is disabled – but just adding –enable-xmm-support to configure turns it on.

GNOME applets

Next thing to do is to perform major cleanup in gkb-new directory tree (remove xkb-based layouts, remove C code etc etc). Sure, I won’t do it till I discuss it with other folks involved in gnome-applets maintenance. BUT this is a minor thing comparing to the bigger issue I got. I would like to move all xmodmap data from gnome-applets to xkeyboard-config. And cannot do it without contacting the author. Yeah, you are right. This is about viral GPL which I cannot turn into MIT X11.

Hardware

Got my nice new mouse: Logitech® MX[TM]1000 Laser Cordless Mouse. 12 buttons. Damned xmodmap sees only 7 of them – even though server itself (and xev) sees all 12 (well ONLY with evdev patches!). Trying to realize where is the bottleneck – still stuck… Also, found lmctl. Nice utility, indeed! And it shows the mouse battery status! What about the GNOME applet for it? I always missed such a thing with previous Wireless MS Explorer… Unfortunately, ordinary user cannot write into /proc/bus/usb files – so I’m afraid I’ll have to dig into Project Utopia, Dbus etc etc etc. Scary business…

20 Nov 2004

General No Comments

libxklavier

Lazying around xmodmap support, I tightened the gcc options. Now I use “-Wall -Werror” which is ok. But “-ansi” makes me some trouble. No more strdup and snprintf – they are not standartized. Sure, good old #ifdef allows me to put their declarations into my headers – but thats sucks big time… Especially taking that snprintf is REALLY not avalable on some systems.

At the moment, I just declare these functions inside #ifdef (keeping the -ansi in Makefile.am) – but I’m afraid at the end of the day I’ll have to provide my own implementations. _XklStrdup and _XklSnprintf?.. 🙁

PS Do NOT ask me to use glib please. It is not standartized by fd.o yet.

PPS The code is not in CVS yet. Just in case if you are interested…

16 Nov 2004

General No Comments

libxklavier

Another breakage of libxklavier API is nearly there (not in CVS yet but…). xmodmap support happens to be more PITA than I expected. Well, it is good anyway – the reason to cleanup and polish.

This time I will try to make the API transition process as smooth as possible – I will commit all changes to libxklavier, g-c-c and g-a simultaneously – and at the same time I’ll release 1.12 of libxklavier. I really hope this will save me some bad mail… If anyone has better ideas on how to handle this – I’d appreciate. The biggest challenge is that jhbuild builds libxklavier from CVS – but at the same time g-c-c and g-a cannot depend on unreleased API…

Planet GNOME

Now, when I am registered at the Planet GNOME, I’d love to get my very own little hackedgotchi. Is there anyone who would be able to help?

08 Nov 2004

General No Comments

GNOME

Thanks to ska-fan and jdub, this blog is recognized by the Planet GNOME. Now, if only my name would be written in cyrillic as Сергей Удальцов…

04 Nov 2004

General No Comments

Libxklavier

About to release 1.11 (actually, it is already tagged). Keeping the API stable, I performed substantial internal reogranization. For now, all the xkb-related code is localized (well, at least from the compiler POV – noone knows when I bump into some implicit assumptions which won’t work for xmodmap logic). The vtable idea seems to be the WTG. Scary thought – but it seems I finally have to go for xmodmap support. Sure, not earlier than 1.12…