summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* Fix memory leak false alarms caused by static allocations.Chris Wilson2006-11-13
|
* Initialise timers in all unit tests (refs #9)Chris Wilson2006-11-13
|
* Initialise memory leak finder in all unit tests (refs #3)Chris Wilson2006-11-13
|
* Fixed control reaching end of non-void functions (refs #3)Chris Wilson2006-11-13
|
* Initialise cross-platform timers on all platforms, remove win32-specific Chris Wilson2006-11-13
| | | | | code (refs #9)
* Initialise memleak finder at the start of every program that uses Chris Wilson2006-11-13
| | | | | MAINHELPER (all except unit tests). (refs #3)
* Fix memory leak false alarms caused by modifying static objects (refs #3)Chris Wilson2006-11-13
|
* * Track memory leaks in allocations via the standard libraries, and Chris Wilson2006-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)
* Fixed typo.Chris Wilson2006-11-13
|
* Setup MAINHELPER as early as possible, and clear it as late as possible, Chris Wilson2006-11-13
| | | | | for consistency (refs #3)
* openlog inside MAINHELPER block, to ensure that any memory leaks will be Chris Wilson2006-11-13
| | | | | caught (refs #3)
* Use a static pointer rather than a static object, to allow it to be Chris Wilson2006-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 Wilson2006-11-13
| | | | | DebugMemLeakFinder, to avoid a memory leak (refs #3)
* Declare MEMLEAKFINDER_INIT and MEMLEAKFINDER_NO_LEAKS macros which Chris Wilson2006-11-13
| | | | | | reference function and class in DebugMemLeakFinder only in debug mode (refs #3)
* Fixed typo (refs #3)Chris Wilson2006-11-13
|
* Fix memory leak when TLSContext is reinitialised (refs #3)Chris Wilson2006-11-13
|
* Fixed typo.Chris Wilson2006-11-13
|
* Force glibc to use new/delete to allocate memory and disable its Chris Wilson2006-11-13
| | | | | | internal pools for the unit tests, to make memory leak detection work (refs #3)
* Added tests for timers with zero interval, which should never expire Chris Wilson2006-11-13
| | | | | (refs #9)
* Fix scoping to ensure that objects which allocate memory via the Chris Wilson2006-11-13
| | | | | | standard libraries, free it before the memleak tests, to avoid test failures (refs #3)
* Fix compile warnings (refs #3)Chris Wilson2006-11-06
|
* Protect against double initialisation of win32 timersChris Wilson2006-11-06
|
* Added generic timer support classChris Wilson2006-11-06
|
* Compile fixChris Wilson2006-11-06
|
* Remove double initialisation of winsock library. (refs #3)Chris Wilson2006-10-27
|
* Remove double initialisation (now done in Chris Wilson2006-10-27
| | | | | infrastructure/buildenv-testmain-template.cpp) (refs #3)
* Catch exceptions from BackupStoreDaemon::Run and log them without killingChris Wilson2006-10-18
| | | | | the server process, on platforms where forking is disabled (Win32). (refs #3)
* Reinstate #ifdefs on Win32. (refs #3)Chris Wilson2006-10-18
|
* Reinstate ifdefs around code that should be disabled on Win32 (fake fork()Chris Wilson2006-10-18
| | | | | | | seems to be a bad idea). Comment spelling fixes. (refs #3)
* Update description with another possible cause of this errorChris Wilson2006-10-18
|
* Wait longer for server to die in KillServer (takes about 5 seconds on Chris Wilson2006-10-18
| | | | | my box). (refs #3)
* Add a new CommonException type, AccessDenied (very useful for debuggingChris Wilson2006-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 anChris Wilson2006-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 Wilson2006-10-16
|
* Fix memory corruption when the number of not-leaks exceeds the table size.Chris Wilson2006-10-16
| | | | | (refs #3)
* Use BoxConfig-MSVC.h and BoxVersion.h when compiling with MSVC. (refs #3)Chris Wilson2006-10-16
|
* Use more accurate sleeps in poll() to ensure that we don't end up busyChris Wilson2006-10-16
| | | | | | waiting for the last fraction of a second with repeated poll(..., 0). (refs #3)
* Use -1 for INVALID_SOCKET_HANDLE to ensure that it's always less than zero,Chris Wilson2006-10-16
| | | | | | | | so that non-conditional code in SocketStream.cpp works properly. Add a method to determine if a socket stream has been attached to a socket yet. (refs #3)
* Implement LocalProcessStream on Win32. (refs #3)Chris Wilson2006-10-16
|
* Use overlapped I/O to avoid blocking.Chris Wilson2006-10-16
| | | | | | Use INVALID_HANDLE_VALUE instead of NULL everywhere to avoid bugs, and for type safety. (refs #3)
* Add new return codes from BackupClientRestore for use on Win32. (refs #3)Chris Wilson2006-10-16
|
* Delete existing entries to allow reuse of a BackupStoreDirectory object.Chris Wilson2006-10-16
| | | | | (refs #3)
* Remove #ifdefs around geteuid(), re-enable use of fake version under Win32Chris Wilson2006-10-16
| | | | | | | | as requested by Ben. Restore serialised AttrModificationTime under Win32 by passing to emu_utimes(). (refs #3)
* Undefine fstat() so that we get the Win32 POSIX version, instead of ourChris Wilson2006-10-16
| | | | | | | emulated version. Small code cleanup. (refs #3)
* Added a script to determine the build version on Win32 MSVC. (refs #3)Chris Wilson2006-10-16
|
* Updated MSVC project files. (refs #3)Chris Wilson2006-10-16
|
* Improved debugging when creation of sparse files fails. (refs #3)Chris Wilson2006-10-16
|
* Rename config.h.win32 to the new name, which will be auto-included byChris Wilson2006-10-16
| | | | | another change (refs #3)
* Add test/bbackupd/testfiles/syncallowscript.pl to the list of Perl filesChris Wilson2006-10-16
| | | | | auto-generated with substitutions. (refs #3)
* Different check for have_regex_h (the old one doesn't seem to work on MinGW).Chris Wilson2006-10-16
| | | | | (refs #3)