summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAge
* Add ExtendedLogFile option to bbackupd config (refs #9)Chris Wilson2006-11-14
|
* Fix memory leak false alarms caused by static allocations.Chris Wilson2006-11-13
|
* Fixed control reaching end of non-void functions (refs #3)Chris Wilson2006-11-13
|
* Initialise memleak finder at the start of every program that uses Chris Wilson2006-11-13
| | | | | MAINHELPER (all except unit tests). (refs #3)
* * 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)
* 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
|
* 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
|
* 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)
* Rename config.h.win32 to the new name, which will be auto-included byChris Wilson2006-10-16
| | | | | another change (refs #3)
* Compile fix (refs #3)Chris Wilson2006-10-15
|
* Compile fix. (refs #3)Chris Wilson2006-10-15
|
* Use BoxPlatform to see if we are building on Windows (refs #3)Chris Wilson2006-10-14
|
* * Add option to bbackupquery list command to show times in UTC or local timeChris Wilson2006-10-14
| | | | | (refs #3)
* * Added support for Win32 temporary filesChris Wilson2006-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 Wilson2006-10-13
| | | | | handles under Win32 (refs #3)
* (refs #3)Chris Wilson2006-09-04
| | | | | | | Changed WideSize from int to size_t Don't allow space for null terminator that will not be added
* (refs #3)Chris Wilson2006-09-04
| | | | | | Remove inline ConvertFileTimeToTime_t, add prototypes for new versions in emu.cpp
* (refs #3)Chris Wilson2006-09-04
| | | | | Added prototypes for new emulated functions emu_utimes, readv and writev
* (refs #3)Chris Wilson2006-09-04
| | | | | Remove more vestiges of old getopt
* (refs #3)Chris Wilson2006-09-04
| | | | | Emulate readdir's d_type field
* (refs #3)Chris Wilson2006-09-04
| | | | | Emulated chdir, mkdir and unlink should handle file names in UTF-8 as well
* (refs #3)Chris Wilson2006-09-04
| | | | | | | | | Fixed looking up message source in syslog() Flush stdout after writing to it Allow syslog() to log to console even when openlog() has not been called
* (refs #3)Chris Wilson2006-09-03
| | | | | Improved poll() emulation to handle multiple fds
* (refs #3)Chris Wilson2006-09-03
| | | | | Removed last vestiges of old getopt()
* (refs #3)Chris Wilson2006-09-03
| | | | | | | | Added emulated utimes, chmod, readv and writev Added useful utility functions ConvertFileTimeToTime_t and ConvertTime_tToFileTime
* (refs #3)Chris Wilson2006-09-03
| | | | | Treat PATH_NOT_FOUND just like FILE_NOT_FOUND in Unix land (errno = ENOENT)
* (refs #3)Chris Wilson2006-09-03
| | | | | Request READ_CONTROL when standard open fails, rather than no flags
* (refs #3)Chris Wilson2006-09-03
| | | | | Pass requested open flags to OpenFileByNameUtf8