summaryrefslogtreecommitdiff
path: root/lib/common/BoxTime.cpp
Commit message (Collapse)AuthorAge
* Move accurate sleep code from Test.cpp to BoxTime, allow requesting timesChris Wilson2011-01-12
| | | | | | | in microseconds with ShortSleep(), make safe_sleep() use it. Rename MILLI_SEC_IN_NANO_SEC to MILLI_SEC_IN_SEC which is what it actually is.
* Add date to file logger, as requested by Kenny Millington.Chris Wilson2009-03-29
|
* Add a function to format a BoxTime as a human-readable time onlyChris Wilson2008-07-27
| | | | | (for use in logging).
* Undo mangling by tailorChris Wilson2008-04-04
|
* TailorizationChris Wilson2008-04-04
| | | | | | | | | | | Import of the upstream sources from Repository: http://localhost:8000/ Kind: hg Revision: 7807b7768163f1c2537756abe5416063989cebb1 Original author: tailor@rocio.int.aidworld.org Date: 2008-03-16 19:44:36+00:00
* Improve logging with macros that consistently output strerror(errno) andChris Wilson2008-03-28
| | | | | | | | | | | | | | | errno, replacing almost all use of strerror() in the main code. Log a more detailed error message before throwing an exception for some more system call failures. Make FileStream store its filename on all platforms, not just Windows. Wrap some long lines at less than 80 characters to improve readability. Fix some minor violations of coding standard (white space) and a typo in a comment.
* Replace almost all calls to syslog() with logging framework. (refs #3)Chris Wilson2007-07-31
|
* Use gettimeofday() to increase accuracy of GetCurrentBoxTime() on Chris Wilson2006-11-23
| | | | | | | platforms which support it. Fixes busy waits for 1 second in backup client when time for next backup is not on a 1 second boundary (which it never is). (refs #3)
* Rationalise type usage for time values. Now:Martin Ebourne2005-12-20
| | | | | | Box time is always box_time_t seconds is time_t microseconds is uint64_t
* Fixing up svn:executable properties.Martin Ebourne2005-12-12
| | | | You may need a new checkout to see this.
* Box Backup 0.09 with a few tweeksBen Summers2005-10-14