Re: [Cgdb-devel] New libraries for CGDB
Brought to you by:
bobbybrasko,
crouchingturbo
From: Ronald Landheer-C. <ro...@la...> - 2004-03-01 14:16:47
|
Bob Rossi wrote: >Hi, > >It's been a long time. However, some of the developers of CGDB are ready >to start another round of development, which will make CGDB's interface >much more VI compatible. > >There will be several new libraries created to ease the task of >implementing CGDB. libkui will be one of them. This stands for "key user >interface". It will be the library responsible for catching user >commands. For example, when you hit "5Control-wj" in vim, you expect vim >to move you down 5 windows. Well, libkui will be responsible for getting >these sequences and returning what command the user requested. > >There will be several other libraries created and talked about in the >near future. I am proposing we place all of the new libraries in >cgdb/lib. This will be a new directory. Each library will get a >directory in cgdb/lib. For example cgdb/lib/kui. Finally, each of these >directories will have a src/ and inc/ which implements the library. So, >for libkui I will add > cgdb/lib > cgdb/lib/kui > cgdb/lib/kui/inc > cgdb/lib/kui/src > >Does everyone think this is reasonable? If so, I'll add this >infrastructure to the CGDB CVS tree. > > Seems reasonable enough to me, but for the time being, I'll keep to porting. However, one thing that may be of interest for cgdb is the container library I wrote for Jail-ust (also on SourceForge) which I think will respond to the needs for a hashing implementation discussed here earlier. If you check it out like this: $ export CVSROOT=:pserver:an...@cv...:/cvsroot/jail-ust $ cvs login anoncvs $ cvs co release-libcontain you'll get the current version with all of its dependencies (libreplace and the architecture-dependent code) The included hash implementation comes from the libhash library I wrote for other applications, all my own work (so there are no licensing worries). Everything is available under GPL (unless I say otherwise in writing, in which case the BSD license applies). Th hash implementation is the part of the library that has been tested most, the rest is alpha-quality (the hash has already been used in production software) Just thought this could interest you :) As I am the author of the library, I will of course be happy to support it for CGDB. rlc |