Commit Graph

131 Commits

Author SHA1 Message Date
Sebastian Messmer
9e67e52dc8 Use size_t instead of unsigned int in FixedSizeData 2015-10-27 20:59:08 +01:00
Sebastian Messmer
248f0b0d61 FixedSizeData::take/drop() 2015-10-26 12:15:11 +01:00
Sebastian Messmer
25db4064b7 Use EXPECT_EXIT instead of EXPECT_DEATH 2015-10-25 18:42:49 +01:00
Sebastian Messmer
44d8b82ed0 Deserializer doesn't require call to finished() anymore 2015-10-25 16:59:01 +01:00
Sebastian Messmer
a33df2e292 Added (De)Serializer::write/readString 2015-10-25 13:02:28 +01:00
Sebastian Messmer
7abbb33654 Added Serializer and Deserializer classes for Data 2015-10-25 12:33:12 +01:00
Sebastian Messmer
f88221a0c6 Add Data::LoadFromStream(stream, size) 2015-10-25 11:32:40 +01:00
Sebastian Messmer
ea30ac641b Data::LoadFromStream() and Data::StoreToStream() 2015-10-24 18:39:11 +02:00
Sebastian Messmer
60b7f853d9 DataFixture::generateFixedSize() 2015-10-24 01:53:11 +02:00
Sebastian Messmer
6e4ecd6e19 Allow calling RandomGenerator::get() on child classes (failed due to overridden overload) 2015-10-23 20:21:17 +02:00
Sebastian Messmer
233f1a2ecb TODOs 2015-10-23 12:17:09 +02:00
Sebastian Messmer
74cb9eaf2d Added TempFile::exists() 2015-10-23 12:15:51 +02:00
Sebastian Messmer
ca5edb48db Refactor random library 2015-10-22 17:36:03 +02:00
Sebastian Meßmer
d629e14533 Add include tests 2015-10-18 01:09:49 +02:00
Sebastian Meßmer
8b429bac9a Fix warnings from -Weffc++ 2015-10-17 20:15:20 +02:00
Sebastian Meßmer
829a768e82 daemonize() is not responsible for loggers 2015-10-17 18:30:07 +02:00
Sebastian Meßmer
870e5a8e26 Update dependencies 2015-10-17 18:00:05 +02:00
Sebastian Meßmer
593188d296 Update biicode block ref 2015-10-17 17:58:11 +02:00
Sebastian Meßmer
05f9723295 Default logger logs to stderr, not stdout 2015-10-17 16:49:58 +02:00
Sebastian Meßmer
08c09e4af8 Add a fork test case for logging 2015-10-17 16:42:56 +02:00
Sebastian Meßmer
82e4aefdd2 Use type system and function overloading instead of enums and switch/case for selecting log levels. This should improve function inlining for the LOG(level) calls. 2015-10-17 16:00:13 +02:00
Sebastian Meßmer
0d6eef7ed2 Add test cases for logging 2015-10-17 15:50:06 +02:00
Sebastian Meßmer
9f9b4fc342 Add test cases for logging 2015-10-17 15:49:54 +02:00
Sebastian Meßmer
02c49d986b daemonize() redirects logger to syslog 2015-10-17 03:27:49 +02:00
Sebastian Meßmer
b476d2a7e8 Added central logging 2015-10-17 03:08:56 +02:00
Sebastian Meßmer
64883b208f Update bii version ref 2015-10-16 03:26:20 +02:00
Sebastian Meßmer
df9d7f0660 Remove debug output 2015-10-16 03:17:50 +02:00
Sebastian Meßmer
e60c3200cd Fix boost thread dependency 2015-10-16 03:12:27 +02:00
Sebastian Meßmer
a158a30696 Add boost thread dependency 2015-10-16 03:02:02 +02:00
Sebastian Meßmer
c51e2c115a Added new random pool library and FixedSizeData:CreatePseudoRandom() uses it. This generates pseudorandom data in another thread and keeps a pool instead of calling the pseudorandom algorithm each time. Since that algorithm needs to be mutexed, that caused quite a lot of locking before 2015-10-16 02:46:17 +02:00
Sebastian Meßmer
02d89fa721 Unify (and fix) include guards 2015-10-15 12:58:16 +02:00
Sebastian Meßmer
498679f6d4 Add daemonize utils 2015-10-15 03:39:02 +02:00
Sebastian Messmer
b402d99fff Fix includes 2015-10-14 14:50:31 +02:00
Sebastian Messmer
2385c4ac0e TODOs 2015-10-14 14:43:18 +02:00
Sebastian Messmer
a00795588b Updated dependencies 2015-10-14 14:38:29 +02:00
Sebastian Messmer
8b99d277a2 FixedSizeData::CreatePseudoRandom() is threadsafe 2015-10-14 14:38:22 +02:00
Sebastian Messmer
c27dddf429 Added assertion 2015-10-14 14:38:04 +02:00
Sebastian Messmer
fa35e6f644 Failed asserts show a pretty printed stacktrace 2015-10-05 15:46:50 +02:00
Sebastian Messmer
e78cd1db91 Demangle backtrace 2015-10-05 14:58:16 +02:00
Sebastian Messmer
4b84f5d211 Added Data::dataOffset() and made most Data functions inline 2015-10-05 02:28:53 +02:00
Sebastian Messmer
63fe94ffe6 Add FixedSizeData::Null() 2015-10-04 17:14:32 +02:00
Sebastian Messmer
d9410488a7 Removed debug output 2015-10-03 02:34:46 +02:00
Sebastian Messmer
6dec27253c Fix assert test case 2015-10-03 01:30:42 +02:00
Sebastian Messmer
b617378430 Add a lock library 2015-10-03 01:23:39 +02:00
Sebastian Messmer
0bb278bcdd Fix backtraces in asserts 2015-10-03 01:23:30 +02:00
Sebastian Messmer
3fed6f13cb Removed testcases for constexpr 2015-10-03 01:01:48 +02:00
Sebastian Messmer
ac87c18a35 Add TODO 2015-09-29 22:52:06 +02:00
Sebastian Messmer
f3d3d70a5b Failed assertions output a backtrace, furthermore added a small library that outputs backtraces on sigsegv 2015-09-29 22:43:55 +02:00
Sebastian Messmer
04be739b2e Removed unneeded constexpr library 2015-09-29 18:47:28 +02:00
Sebastian Messmer
819e48b446 Allow outputting const_string to std::ostream 2015-09-18 22:08:56 +02:00