xkbcomp: Another fairly major rewrite of the listing mode
authorDan Nicholson <dbn.lists@gmail.com>
Mon, 20 Apr 2009 13:40:34 +0000 (06:40 -0700)
committerDan Nicholson <dbn.lists@gmail.com>
Tue, 21 Apr 2009 13:16:15 +0000 (06:16 -0700)
commit481deea178259dddd3f07ed22d525796d1a2648e
treeea6cbfb59886ea6699b1f17b99b19e109c011349
parent18b43f8dfe641bf951b92d074b1cc6cee71d9869
xkbcomp: Another fairly major rewrite of the listing mode

The listing code in xkbcomp had been setup to allocate a set of buffers
with file paths and then later parse through them to find which maps were
needed.

All the allocation (with the additional allocation for the components
list) was making it really slow, so this patch makes everything simpler
by just generating the components list as we walk the directory tree.
src/xkbcomp/listing.c