aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Do not allocate a block of memory in Pooling_Allocator::init(); this waslloyd2006-09-202-11/+0
| | | | | | | causing allocators that were never used to allocate (and thus, later deallocate) memory. This was causing a noticable slowdown when the mmap based allocator was in used (based on the strace output, this was mostly due to the calls to msync).
* Version bumplloyd2006-09-201-1/+1
|
* Make the initialization/deinitialization functions static members oflloyd2006-09-202-35/+25
| | | | | | | the LibraryInitializer class, rather than global functions floating around inside the Init namespace. Allow callers to provide an alternative Modules object.
* The public add_engine API now always places the new engine at the frontlloyd2006-09-202-10/+9
| | | | | of the list. The only time when the other behavior was desired was inside the load() function, which now simply appends to the engines vector itself.
* Make the implementation of the round function a bit easier to read.lloyd2006-09-201-6/+12
|
* Opteron and Athlon64 were marked as both aliases and submodels of AMD64.lloyd2006-09-151-6/+2
| | | | | Since no current compiler makes a distinction among different x86-64 CPUs, they've been changed to arch aliases.
* Update reference for the SEED test vectorslloyd2006-09-141-2/+2
|
* When searching the block list, first try the last block we had a goodlloyd2006-09-111-4/+4
| | | | | | | | allocation from, rather than the block after that one. This helps the pathalogical case where there are many full blocks and some free blocks at the very end of the list (as then it would loop through each one, trying and failing to allocate from an already full block until it hit the end of the list again).
* Correctly deal with allocators added post-initialization. In particular,lloyd2006-09-118-54/+49
| | | | | | | | | | handle the case where an allocator is added that has the same name as one already registered. Flush the cached allocator pointer when the default is changed. Mark comparison operations in Pooling_Allocator::Memory_Block as inline; this seems to help the STL sort and binary search algorithms tremendously.
* Remove a useless wrapper function.lloyd2006-09-101-17/+6
|
* Update the changelog1.5.11lloyd2006-09-101-0/+9
|
* Drop this, probably shouldn't have been included in the first place.lloyd2006-09-101-16/+0
|
* Check in some very preliminary code for wrapping public keyslloyd2006-09-102-12/+68
| | | | Some fixes to the Filter code, though it is still not entirely functional.
* Clean up the output produced when a 'note' directive is encountered in alloyd2006-09-101-5/+2
| | | | module.
* Lowercase the link command, no sense in shouting.lloyd2006-09-101-1/+1
|
* Completely rewrite how the default X509_Store searches are performed,lloyd2006-09-103-101/+99
| | | | | | exposing the actual search objects to the user rather than wrapping them in functions. Primarily this is to avoid the Visual Studio bug alluded to in the last commit.
* Hack around some Visual Studio bugs that I can't seem to find good solutionslloyd2006-09-105-24/+40
| | | | for.
* Better trace outputlloyd2006-09-091-78/+73
| | | | Tidy up module loading
* Clean up use of grep and maplloyd2006-09-091-17/+22
|
* Fix the clean and install targets in the makefileslloyd2006-09-098-31/+39
| | | | Clean up how help output is produced a bit further.
* Split main() into several subroutines.lloyd2006-09-091-580/+650
| | | | | | Improve help and diagnostic output. Exit if an error is encountered when parsing options.
* Be more free with suggesting the user try running with --help in the eventlloyd2006-09-091-22/+24
| | | | of a failure relating to input.
* Add parenthesis to make the order of evaluation in an expression more obviouslloyd2006-09-091-1/+1
|
* Merge the various set_if_any functions into a single match_any_oflloyd2006-09-091-40/+32
|
* Do put a space after -c/-o options, except for Visual C++, which can'tlloyd2006-09-0911-22/+22
| | | | deal with it.
* Add a couple of static_casts to make it clear where a type conversion islloyd2006-09-084-13/+15
| | | | | | | | | being performed. Undefined the prototype creating macro in x509stat.cpp after use. Avoid a possible type conversion in bigint_divop by storing high's top bit in a word instead of a bool.
* Return the correct type from Basic_Constraints::get_path_limit (was coercinglloyd2006-09-082-2/+2
| | | | the path limit integer to a boolean)
* Fix a bug when generating nmake-style makefiles.lloyd2006-09-082-4/+3
| | | | | | Make sure to close the output file in process_template Work around some Visual Studio command-line brain damange.
* Rename error() to croak(), to make it a little more obvious that it doesn'tlloyd2006-09-081-146/+155
| | | | | | | | return. Rename read_hash to read_list, which is slightly more accurate. Use croak() instead of calling die directly in most spots.
* Some minor simplifications for installation logic.lloyd2006-09-087-68/+47
| | | | Inline print_unix_makefile and print_nmake_makefile into generate_makefile
* Various small things, nothing of real import.lloyd2006-09-081-24/+20
|
* The dir_list() function hardcoded '.' and '..' intead of using File::Speclloyd2006-09-081-6/+11
|
* Hoist some shared code up to generate_makefile()lloyd2006-09-081-71/+51
|
* Store the list of docs to install in a list rather than a hash.lloyd2006-09-081-49/+31
| | | | Simplify calls to file_list() a bit.
* Add a 'win32' alias for Windows.lloyd2006-09-081-0/+4
|
* Fix handling for systems that need to run ranlib on static libraries.lloyd2006-09-083-10/+8
|
* Fix minor spacing issues after the build listlloyd2006-09-084-3/+8
|
* Fix several embedded pathnames that might cause problems on non-Unixlloyd2006-09-081-56/+32
| | | | | | | | | | machines. Change clean_out_dir() to use dir_list() instead of list_dir(), as it was not making any use of the extra features of list_dir. Also, as there was one remaining use of list_dir(), which was the checks directory (which had some special cases burned in), delete list_dir and replace it by a special purpose function for that case.
* Integrated conflict detection into the module loader, which catches manylloyd2006-09-081-40/+28
| | | | cases that the old check_for_conflicts() function would not.
* Finally get rid of the last set of globalslloyd2006-09-081-50/+48
| | | | | Fix copy_files, it was hardcoding the directory to look for the files, rather than simply looking at the hash contents.
* Speed up process_template() by running the regular expressions over thelloyd2006-09-081-90/+106
| | | | entire file at once, instead of a line at a time.
* Pass the config hash to load_module instead of a list of argumentslloyd2006-09-081-66/+66
|
* Get rid of a few more global variableslloyd2006-09-081-35/+34
| | | | Pass the name of the makefile template to use in the config hash
* Use the right variable in the botan-config template for extra librarieslloyd2006-09-081-1/+1
|
* Check in the template for the build.h filelloyd2006-09-081-0/+21
|
* Use %CONFIG to hold much more of the build information.lloyd2006-09-081-160/+136
|
* Chop out various globals and unused parameterslloyd2006-09-081-94/+127
|
* Correct some of the Visual C++ optionslloyd2006-09-081-2/+2
|
* Rearrange to place related pieces of code near each other.lloyd2006-09-081-271/+343
| | | | | | | Add some block comments so it's easier to navigate. Merge the two functions that generated the makefile build commands, as they basically performed the same function with slightly different parameters.
* Remove support for building with .s files, which aren't used (versus .Slloyd2006-09-081-5/+4
| | | | files, which are).