en-us Changes to file include/libstate.h (from [51b865be..]) http://viewmtn.angrygoats.net/all/revision/filechanges/51b865bec516d5ae86bcb7b708c2972dec9dc987/include/libstate.h Changes to file include/libstate.h (from [51b865be..]) http://viewmtn.angrygoats.net/all/revision/info/0bd31c0935789c0b8280f297b711d935192280f1 propagate from branch 'net.randombit.botan' (head 51f9ee5180a5cacdfff31504266e883b7bb0eb00) propagate from branch 'net.randombit.botan' (head 51f9ee5180a5cacdfff31504266e883b7bb0eb00)
to branch 'net.randombit.botan.remove-libstate' (head 636b767b9686261418b1cb45a6271edeef87501b)
lloyd@randombit.net Mon, 21 Apr 2008 18:53:06 GMT
http://viewmtn.angrygoats.net/all/revision/info/51f9ee5180a5cacdfff31504266e883b7bb0eb00 Add BOTAN_DLL macro in all needed spots for working DLL export. Based Add BOTAN_DLL macro in all needed spots for working DLL export. Based
on a patch from Joel Low for MSVC, modified and tested with GCC using
-fvisibility=hidden and the visibility attribute.
Getting this working completely requires making the shared object and
static lib builds completely distinct (which is also a win since it
allows avoiding -fPIC usage, etc in the static lib).
Currently too many things are being exported, though it is an improvement
as internal-only code like the bigint_* functions are hidden.
lloyd@randombit.net Mon, 21 Apr 2008 15:53:32 GMT
http://viewmtn.angrygoats.net/all/revision/info/f640991b6e433a264f5d22a08338cfc9c24c82da propagate from branch 'net.randombit.botan' (head 6afe2db1f710f75bc27e189bb8bdb23613ce1ca3) propagate from branch 'net.randombit.botan' (head 6afe2db1f710f75bc27e189bb8bdb23613ce1ca3)
to branch 'net.randombit.botan.remove-libstate' (head e40f0dbdfd847024c30fa0092c2acefc19a550b8)
lloyd@randombit.net Thu, 10 Apr 2008 05:52:37 GMT
http://viewmtn.angrygoats.net/all/revision/info/a901020bad3744964757ced60518c63cd7ea4129 Change the copyrights in all files in the Botan tree to directly reflect Change the copyrights in all files in the Botan tree to directly reflect
the actual copyright holders. For rationale, see my post to botan-devel
on April 9, subject 'Changing license to directly reflect contributors'
(http://www.randombit.net/pipermail/botan-devel/2008-April/000527.html)
lloyd@randombit.net Thu, 10 Apr 2008 02:47:51 GMT
http://viewmtn.angrygoats.net/all/revision/info/e40f0dbdfd847024c30fa0092c2acefc19a550b8 Remove the Global_RNG namespace, along with rng.h and rng.cpp. This was Remove the Global_RNG namespace, along with rng.h and rng.cpp. This was
essentially a facade for the RNG object living in the global library state.
Rewrite all callers to directly invoke the global state object: this makes
it more clear what functions are actually accessing mutable state outside of
the normal reference graph (and thus, which functions will have to be
altered in order to remove this dependency). Other facades remain in place
for the configuration object and the memory allocator factory.
lloyd@randombit.net Mon, 07 Apr 2008 14:08:27 GMT
http://viewmtn.angrygoats.net/all/revision/info/beb0ce54206819314a673bfd127327aee7895310 Remove X509_GlobalState in favor of static function Extensions::get_extension Remove X509_GlobalState in favor of static function Extensions::get_extension lloyd@randombit.net Mon, 07 Apr 2008 05:35:44 GMT http://viewmtn.angrygoats.net/all/revision/info/627d12447b2bb32aa08ff5daa499ac9580a77a05 Remove Charset_Transcoder; hardwire UTF-8/Latin-1 conversions into charset.cpp Remove Charset_Transcoder; hardwire UTF-8/Latin-1 conversions into charset.cpp lloyd@randombit.net Mon, 07 Apr 2008 01:51:28 GMT http://viewmtn.angrygoats.net/all/revision/info/d62084293a9b34c306e7d758545e34832a363ab2 In Botan, the Timer base class provides access to a high-resolution In Botan, the Timer base class provides access to a high-resolution
timer with an unspecified update rate and epoch. It is only used
inside the entropy sources to provide some timing-dependent
randomness. However, it is easier and basically 'as good' to treat the
timers as entropy sources in their own right and feed their output
directly into an entropy pool.
This commit removes Library_State::system_clock and all calls to that
function.
lloyd@randombit.net Mon, 07 Apr 2008 01:41:17 GMT
http://viewmtn.angrygoats.net/all/revision/info/c8611a24af1ff8db6bb1957f517517483a657500 Library_State::set_timer is never called from within Botan, low hanging Library_State::set_timer is never called from within Botan, low hanging
fruit for removal.
lloyd@randombit.net Mon, 07 Apr 2008 01:14:53 GMT
http://viewmtn.angrygoats.net/all/revision/info/d71f1a27e9b734a378cfb1f4d293cc5d8078343a The intent of this branch is to remove the global library state object The intent of this branch is to remove the global library state object
(Library_State, in libstate.{h,cpp}). It causes numerous 'interesting'
problems with threads, etc, and the best solution here is to move to
more or less an object-capability model, where the only objects that
a piece of code can access are those which can be referenced through
its arguments.
First things first, remove the UI 'pulse' code. It is neither necessary
nor sufficient for writing proper GUI/event driven code using Botan, has
likely never been used in real code, and, given that, causes a distressing
amount of overhead in terms of function calls made.
lloyd@randombit.net Mon, 07 Apr 2008 01:00:05 GMT