aboutsummaryrefslogtreecommitdiffstats
path: root/src/parsing.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Move parsing.{h,cpp} to utils modulelloyd2008-09-281-286/+0
|
* Add a new function timespec_to_u32bit that handles a very simplisticlloyd2008-05-011-0/+31
| | | | | | time format and converts it to a duration in seconds represented as a u32bit. This is from Config::option_as_time, which is now implemented simply as: return timespec_to_u32bit(option(key))
* Remove Config::option_as_u32bit - the only advantage it had over callinglloyd2008-04-121-28/+0
| | | | | | | | | | | | | to_u32but on the return value from Config::option was that it passed it through parse_expr, which did some simple evaluation tricks so you could say 64*1024. That does not seem worth the cost in code, especially because most of the values so controlled are probably never changed. By making them compile time constants, additional optimizations are possible in the source as well as by the compiler. Remove the pkcs8_tries config option. Hardcode that value to 3 instead. I want to rewrite that code in the relatively near future and all that will (hopefully) go away.
* Change the copyrights in all files in the Botan tree to directly reflectlloyd2008-04-101-1/+1
| | | | | | 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)
* Mostly revert 2f4fd18182d5a75c40cd831e7ee3c314be5c57d6, only keep thelloyd2008-03-101-1/+1
| | | | | updated dates on files that have actually changed this year. This makes the diff across versions readable again.
* Mass update of the copyright date. Honestly I don't know why I bother,lloyd2008-02-141-1/+1
| | | | | | | but might as well keep it up to date. And it's easier to do it once with a 'perl -pi' command than to update each file over time. Apologies to anyone looking at diffs.
* bit_ops.h no longer includes loadstor.hlloyd2007-10-191-1/+1
| | | | | | | | | Where loadstor.h was needed but only implicitly included via bit_ops.h, include it directly Add endian reversal functions to bit_ops.h Remove some unneeded includes in big_ops2.cpp and a few other files.
* Add functions that can convert between binary IPv4 addresses and standardlloyd2007-10-161-1/+43
| | | | decimal-dotted string notation.
* Bump copyright year to 2007lloyd2007-01-201-1/+1
|
* Use std::string::clear() rather than assign the empty string whenlloyd2006-06-231-3/+3
| | | | we want to remove the current contents of a string object.
* Remove the to_lower function; turns out that both uses of itlloyd2006-06-191-66/+11
| | | | | | | | | | | | | | | 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/+296