Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | * Rename Loggers class to Logging, which looks nicer. | Chris Wilson | 2006-12-16 |
| | | | | | | | | | | * Fix type of "line" argument to loggers to int rather than std::string to match __LINE__ * Define necessary static objects * Remove global condition on logging for now (refs #3) | ||
* | Initial implementation of the logging framework. | Chris Wilson | 2006-12-16 |
| | |||
* | Disable standard library memory leak debugging, as it causes hangs on FC2 | Chris Wilson | 2006-12-15 |
| | |||
* | Fix more deadlocks by minimising the amount of stuff that the signal | Chris Wilson | 2006-12-13 |
| | | | | | handler does. (refs #3, refs #9) | ||
* | Compile fix: include MemLeakFinder.h even on release builds (refs #3) | Chris Wilson | 2006-12-12 |
| | |||
* | Fixed a race condition caused by rescheduling in signal handler (refs | Chris Wilson | 2006-12-03 |
| | | | | | #3, refs #9) | ||
* | Added debug tracing code for timers. | Chris Wilson | 2006-11-28 |
| | |||
* | * Fix timer expiry calculation when timers expire in the past | Chris Wilson | 2006-11-26 |
| | | | | | * Fix handling of timers which never expire (zero deadline) (refs #9) | ||
* | Separate ReadPidFile() out from LaunchServer() in test code (refs #9) | Chris Wilson | 2006-11-26 |
| | |||
* | Use gettimeofday() to increase accuracy of GetCurrentBoxTime() on | Chris Wilson | 2006-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) | ||
* | Fixed control reaching end of non-void functions (refs #3) | Chris Wilson | 2006-11-13 |
| | |||
* | Initialise memleak finder at the start of every program that uses | Chris Wilson | 2006-11-13 |
| | | | | | MAINHELPER (all except unit tests). (refs #3) | ||
* | * Track memory leaks in allocations via the standard libraries, and | Chris Wilson | 2006-11-13 |
| | | | | | | | | | | | | | avoid malloc/delete mismatches, by overriding standard new operator. * Added another global enable flag to memleak finder, which is used to mark the end of static allocations and the start of dynamic code, since the memory leak detection is done before cleanup of static objects. * Added a public guard class, to allow safe scoped disabling of memory leak detection. * Added InternalAllocGuard to protect against recursive loops when allocating memory inside the memory leak checker. (refs #3) | ||
* | Use a static pointer rather than a static object, to allow it to be | Chris Wilson | 2006-11-13 |
| | | | | | freed in Timers::Cleanup, removing a reported memory leak (refs #9) | ||
* | Free backtrace strings even in debug mode by suppressing warnings from | Chris Wilson | 2006-11-13 |
| | | | | | DebugMemLeakFinder, to avoid a memory leak (refs #3) | ||
* | Declare MEMLEAKFINDER_INIT and MEMLEAKFINDER_NO_LEAKS macros which | Chris Wilson | 2006-11-13 |
| | | | | | | reference function and class in DebugMemLeakFinder only in debug mode (refs #3) | ||
* | Fix compile warnings (refs #3) | Chris Wilson | 2006-11-06 |
| | |||
* | Added generic timer support class | Chris Wilson | 2006-11-06 |
| | |||
* | Wait longer for server to die in KillServer (takes about 5 seconds on | Chris Wilson | 2006-10-18 |
| | | | | | my box). (refs #3) | ||
* | Add a new CommonException type, AccessDenied (very useful for debugging | Chris Wilson | 2006-10-16 |
| | | | | | | access errors, and needed by Boxi to report a sensible error to the user). (refs #3) | ||
* | Set the filename to "HANDLE" under Win32 when initialising from an | Chris Wilson | 2006-10-16 |
| | | | | | | | | existing handle. Handle ERROR_BROKEN_PIPE as EOF when using FileStream to read from a pipe in LocalProcessStream. (refs #3) | ||
* | Match case-insensitively on Win32. (refs #3) | Chris Wilson | 2006-10-16 |
| | |||
* | Fix memory corruption when the number of not-leaks exceeds the table size. | Chris Wilson | 2006-10-16 |
| | | | | | (refs #3) | ||
* | Use BoxConfig-MSVC.h and BoxVersion.h when compiling with MSVC. (refs #3) | Chris Wilson | 2006-10-16 |
| | |||
* | Rename config.h.win32 to the new name, which will be auto-included by | Chris Wilson | 2006-10-16 |
| | | | | | another change (refs #3) | ||
* | Compile fix. (refs #3) | Chris Wilson | 2006-10-15 |
| | |||
* | * Add option to bbackupquery list command to show times in UTC or local time | Chris Wilson | 2006-10-14 |
| | | | | | (refs #3) | ||
* | * Added support for Win32 temporary files | Chris Wilson | 2006-10-13 |
| | | | | | | | * Added InvisibleTempFileStream class and unit tests for it * Use InvisibleTempFileStream instead of FileStream for temporary files (refs #3) | ||
* | * Use INVALID_HANDLE_VALUE instead of NULL to represent invalid file | Chris Wilson | 2006-10-13 |
| | | | | | handles under Win32 (refs #3) | ||
* | (refs #3) | Chris Wilson | 2006-09-03 |
| | | | | | Use INVALID_HANDLE_VALUE instead of NULL for invalid handles on Win32 | ||
* | (refs #3) | Chris Wilson | 2006-09-02 |
| | | | | | | Added a RunCommand() function which converts UNIX paths to native before calling ::system() on Win32. | ||
* | (refs #3) | Chris Wilson | 2006-09-02 |
| | | | | | Convert UNIX paths to native on Win32 (avoids #ifdefs in tests) | ||
* | Disable all calls to set*id() on Win32 (doesn't work) (refs #3) | Chris Wilson | 2006-08-31 |
| | |||
* | Revert to trunk | Chris Wilson | 2006-08-31 |
| | |||
* | Revert to trunk | Chris Wilson | 2006-08-31 |
| | |||
* | Add O_BINARY to default flags, since most files opened this way should | Chris Wilson | 2006-08-31 |
| | | | | | be opened in binary mode on Win32 (refs #3) | ||
* | Revert to trunk | Chris Wilson | 2006-08-31 |
| | |||
* | Make FDGETLINE_BUFFER_SIZE big enough for one unicode character on Win32, | Chris Wilson | 2006-08-31 |
| | | | | | | otherwise reading from console can fail due to insufficient buffer size. (refs #3) | ||
* | Revert to trunk | Chris Wilson | 2006-08-31 |
| | |||
* | Disable intercept tests on Win32 as well | Chris Wilson | 2006-08-31 |
| | | | | | | | | Define O_BINARY to 0 (zero) if our platform doesn't have it (all except Win32?) which enables us to reduce #ifdefs (refs #3) | ||
* | Revert to trunk | Chris Wilson | 2006-08-31 |
| | |||
* | * merge | Chris Wilson | 2006-07-27 |
| | | | | | | | - This is my current patch queue. I think that all of these are safe to apply. This is just under half of the pending changes in chris/general (the easy half). | ||
* | This is part 2 of a patch from James O'Gorman. | Martin Ebourne | 2006-03-04 |
| | | | | | This just renames all of the files that configure now substitutes - no changes to any of the files. | ||
* | This is part 1 of a patch from James O'Gorman. | Martin Ebourne | 2006-03-04 |
| | | | | | configure now detects perl executable location and updates all scripts to use the correct path; also adds PERL_EXECUTABLE define to BoxConfig.h. makebuildenv.pl adds PERL define to all makefiles. | ||
* | Disable memory testing on Darwin -- order of destructors of static variables ↵ | Ben Summers | 2006-02-21 |
| | | | | is nasty so debug processes segfault on termination | ||
* | Update copyright notice, add SVN revision to distributed files | Ben Summers | 2006-02-13 |
| | |||
* | Merge chris/win32/vc2005-compile-fixes @ r455, add infrastructure/msvc to ↵ | Ben Summers | 2006-02-13 |
| | | | | distribution | ||
* | Beef up configure checks for 64 bit endian swapping function. | Martin Ebourne | 2006-02-03 |
| | | | | NOTE: Needs testing on other platforms, especially BSD. | ||
* | Merge chris/bb-save-state, resolving conflicts | Ben Summers | 2006-01-30 |
| | |||
* | Quick hack to stop attempting to intercept clib functions on Darwin, pending ↵ | Ben Summers | 2006-01-08 |
| | | | | autoconf test |