aboutsummaryrefslogtreecommitdiffstats
path: root/src/init_def.cpp
Commit message (Collapse)AuthorAgeFilesLines
* If an exception is thrown anywhere inside Init::initialize, catch itlloyd2006-08-091-34/+39
| | | | | and force a deinitialization before throwing it further up the call stack.
* Change Builtin_Module constructor to take an InitializerOptionslloyd2006-07-281-17/+23
| | | | | | | | instead of just a boolean, so it can (if desired) examine any arguments it likes. Only run the startup self tests if the selftest or fips140 option is toggled on.
* Add a LibraryInitializer constructor taking a std::string, which simplylloyd2006-07-121-0/+9
| | | | calls the InitializerOptions constructor.
* Make Mutex_Factory an abstract class, move the creation of the no-oplloyd2006-07-071-1/+5
| | | | Default_Mutex to the new Default_Mutex_Factory
* Have Library_State's constructor thrown an exception if thelloyd2006-07-071-9/+3
| | | | | | | | mutex_factory argument is NULL. Have Init::initialize() pass either a new Mutex_Factory (the default no-op version), or the result of modules.mutex_factory(), depending on the value of args.thread_safe()
* Respect the secure_memory config optionlloyd2006-07-021-1/+1
|
* Move InitializerOptions out of the Init namespacelloyd2006-07-021-4/+3
| | | | | Alter the initialization functions to take an InitializerOptions object instead of a std::string
* Let modules override the transcoder object (since system libslloyd2006-07-011-1/+0
| | | | like iconv may be useful there...)
* Fix config handling (stupid mismatch was causing the getter for thelloyd2006-07-011-4/+2
| | | | | | config options to always fail). Move the default config stuff from libstate to the config object.
* Just some small cleanups / variable renameslloyd2006-07-011-6/+9
|
* Access the global configuration through an object reference insteadlloyd2006-07-011-2/+3
| | | | | of stand-alone functions. Store the configuration in a distinct object, rather than just a map inside the library state.
* Clean up initialization a little bit morelloyd2006-07-011-8/+3
|
* Various changes to how library initialization occurs, though I'm stilllloyd2006-06-261-11/+3
| | | | not completely happy with it.
* Support named mutexes outside of the global library state.lloyd2006-06-251-0/+2
| | | | | | Alter the AEP engine to use one in favor of a static Mutex pointer. Fix a stupid typo in an exception message.
* Change how builtin modules are loaded - provide an interface to alloyd2006-06-251-61/+17
| | | | | factory class. Currently hardcoded (Builtin_Modules, instantiated in init_def.cpp), but this will allow for some flexibility later on.
* Have allocator objects 'know' their own names, rather than keeping themlloyd2006-06-251-6/+6
| | | | around as ancillary strings.
* Remove the to_lower function; turns out that both uses of itlloyd2006-06-191-0/+3
| | | | | | | | | | | | | | | within the library were to perform case-insensitive matching, so simply implement that instead. Place all of the character set handling functions into a Charset namespace (and update all callers). Remove the iso2local/local2iso/iso2utf/utf2iso functions, replaced by the new charset transcoder stuff. Initialize the transcoder stored in the global library state upon initialization.
* Initial checkin1.5.6lloyd2006-05-181-0/+149