Commit Graph

1738 Commits

Author SHA1 Message Date
Sebastian Meßmer
afc0f909b3 Use logging instead of cout/cerr 2015-10-17 17:23:35 +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
62e0a177fb Use cpputils::logging 2015-10-17 03:30:42 +02:00
Sebastian Meßmer
451a84bebc Pass daemon name to daemonize 2015-10-17 03:28:15 +02:00
Sebastian Meßmer
7f7e27d6a3 Removed debug output 2015-10-17 03:28:05 +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
b480b47b4c Update biicode block ref 2015-10-16 14:53:12 +02:00
Sebastian Meßmer
c0f7a91760 Updated biicode block ref 2015-10-16 14:52:36 +02:00
Sebastian Meßmer
83aa757f80 Update biicode block ref 2015-10-16 04:36:56 +02:00
Sebastian Meßmer
bf6cd44dbf Depend on correct version of cpp-utils 2015-10-16 04:34:39 +02:00
Sebastian Meßmer
2c9f8109a5 Update biicode block ref 2015-10-16 04:33:10 +02:00
Sebastian Meßmer
3e68897937 Update biicode block ref 2015-10-16 04:31:47 +02:00
Sebastian Meßmer
07f3fcd1ac Update dependencies 2015-10-16 04:31:02 +02:00
Sebastian Meßmer
2e8b17bd17 Update biicode block ref 2015-10-16 04:30:37 +02:00
Sebastian Meßmer
7295417f84 Update dependency 2015-10-16 04:30:07 +02:00
Sebastian Meßmer
d0a5a0b27d Update biicode block ref 2015-10-16 04:29:55 +02:00
Sebastian Meßmer
7925d60bfd Update dependency 2015-10-16 04:29:08 +02:00
Sebastian Meßmer
0778806dba Update dependency 2015-10-16 04:25:30 +02:00
Sebastian Meßmer
f9580a7c8a Update dependency 2015-10-16 04:25:21 +02:00
Sebastian Meßmer
c011a06b74 Update dependency 2015-10-16 04:25:07 +02:00
Sebastian Meßmer
bb90bb19ba Fix death tests in multithreading context 2015-10-16 04:06:00 +02:00
Sebastian Meßmer
20612fb245 Add TODOs 2015-10-16 03:29:26 +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
0427eaaad0 Merge branch 'develop' of github.com:cryfs/cryfs into develop 2015-10-16 02:38:46 +02:00
Sebastian Meßmer
1c29fecf3c Added unstable warning and fixed daemonization 2015-10-16 02:38:34 +02:00
Sebastian Messmer
c5576a4c1f Fix typo 2015-10-15 18:03:33 +02:00
Sebastian Meßmer
39eaff4533 Unify (and fix) include guards 2015-10-15 13:10:20 +02:00
Sebastian Meßmer
821550e62f Unify (and fix) include guards 2015-10-15 13:09:21 +02:00
Sebastian Meßmer
5f9c2c0611 Unify (and fix) include guards 2015-10-15 13:06:51 +02:00
Sebastian Meßmer
c9663acd85 Unify (and fix) include guards 2015-10-15 13:04:57 +02:00
Sebastian Meßmer
39b43aacfa Unify (and fix) include guards 2015-10-15 12:58:48 +02:00
Sebastian Meßmer
02d89fa721 Unify (and fix) include guards 2015-10-15 12:58:16 +02:00
Sebastian Meßmer
9a27cea138 Increase parallelity level for cache flushing 2015-10-15 05:45:49 +02:00
Sebastian Meßmer
cd32499180 Workaround compiler warning 2015-10-15 05:27:31 +02:00
Sebastian Meßmer
7103b3ab07 Fix test cases 2015-10-15 05:26:05 +02:00
Sebastian Meßmer
92d0d073a5 Fix test cases 2015-10-15 04:49:31 +02:00
Sebastian Meßmer
c150c66534 Don't let FUSE do daemonization, because it won't fork other threads than the main thread. Force applications to do daemonization themselves. 2015-10-15 03:41:02 +02:00
Sebastian Meßmer
498679f6d4 Add daemonize utils 2015-10-15 03:39:02 +02:00
Sebastian Meßmer
daf330a07f Fix daemonize() behaviour. CryFS now works correctly when called without '-f' 2015-10-15 03:38:44 +02:00
Sebastian Messmer
ff8eae5293 Added performance warning in debug builds 2015-10-15 00:16:00 +02:00
Sebastian Messmer
6d5c3aab4c Disable profiling 2015-10-14 15:39:44 +02:00