summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAge
* 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
* (refs #3)Chris Wilson2006-09-03
| | | | | | | | | | Always fill in st_uid, st_gid and st_nlink Return zero size for directories Improved emulation of Unix file modes (helps when restoring Windows files on Unix)
* (refs #3)Chris Wilson2006-09-03
| | | | | Improved error handling in emu_fstat
* (refs #3)Chris Wilson2006-09-03
| | | | | Improved handling of UNIX flags to openfile(), allows multiple opens
* (refs #3)Chris Wilson2006-09-03
| | | | | Use INVALID_HANDLE_VALUE instead of NULL for invalid handles on Win32
* (refs #3)Chris Wilson2006-09-03
| | | | | Return INVALID_HANDLE_VALUE instead of NULL from openfile() on failure
* (refs #3)Chris Wilson2006-09-03
| | | | | Convert UNIX to native paths
* (refs #3)Chris Wilson2006-09-02
| | | | | Use our own ConvertUtf8ToWideString for simplicity
* (refs #3)Chris Wilson2006-09-02
| | | | | Add BSD-licensed getopt.h to replace our own version
* (refs #3)Chris Wilson2006-09-02
| | | | | Include message resource definitions
* (refs #3)Chris Wilson2006-09-02
| | | | | Add message definitions and resource files
* (refs #3)Chris Wilson2006-09-02
| | | | | Remove dependency on Box.h and hence on lib/common
* (refs #3)Chris Wilson2006-09-02
| | | | | Reorganise typedefs for clarity
* (refs #3)Chris Wilson2006-09-02
| | | | | | Added a RunCommand() function which converts UNIX paths to native before calling ::system() on Win32.
* (refs #3)Chris Wilson2006-09-02
| | | | | Convert UNIX paths to native on Win32 (avoids #ifdefs in tests)