Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Fix tests (hopefully) on Win32 for struct stat ino_t change from 16 to | Chris Wilson | 2009-03-21 |
| | | | | | 64 bits. | ||
* | Change ConvertTo/FromUtf8 to take a std::string instead of a const char | Chris Wilson | 2008-12-30 |
| | | | | | *, for convenience and C++ style. | ||
* | Only use replacement BSD getopt on Windows. | Chris Wilson | 2008-12-08 |
| | |||
* | Fix the use of an unreasonably short type as the temporary storage | Chris Wilson | 2008-12-01 |
| | | | | | | | | for inode numbers on Windows, resulting in all inode numbers being coerced into 2^16 space and many duplicates on systems with large numbers of files being backed up, possibly resulting in store corruption due to unwanted file rename operations. | ||
* | Fix support for O_APPEND on files opened with openfile() on Windows. | Chris Wilson | 2008-11-30 |
| | |||
* | openfile() stores its Windows error code (from GetLastError() or | Chris Wilson | 2008-11-30 |
| | | | | | synthetic) in winerrno, to enable better error handling outside. | ||
* | Cygwin/MinGW getopt no longer seems to have optreset, so now would be | Chris Wilson | 2008-11-30 |
| | | | | | the time to start using that implementation we stole from BSD. | ||
* | FIx [2285] properly for Windows. | Chris Wilson | 2008-09-14 |
| | |||
* | Compile fix for [2285]. | Chris Wilson | 2008-09-14 |
| | |||
* | Prefix event log application name with Box Backup, and remove it from | Chris Wilson | 2008-09-14 |
| | | | | | | | | | | all calls to SetProgramName, for better consistency on Unix. Make bbstoreaccounts and bbackupctl set their program names for logging. Don't override supplied tag with service name when BackupDaemon is run as a service. | ||
* | Map ERROR_SHARING_VIOLATION to EBUSY in openfile(). | Chris Wilson | 2008-08-09 |
| | |||
* | Add getpid() emulation. | Chris Wilson | 2008-08-03 |
| | |||
* | Fix memory leak in [2133] (merges [1944]) | Chris Wilson | 2008-04-05 |
| | |||
* | Convert UTF-8 to Unicode for logging in Windows Event Log, so that | Chris Wilson | 2008-04-05 |
| | | | | | | international paths and filenames are displayed correctly. (merges [1942]) | ||
* | Close process token in EnableBackupRights(), thanks Charles! | Chris Wilson | 2008-04-05 |
| | | | | | | | | | | | Improve error messages in EnableBackupRights() when failing to enable the backup privilege. Use file size returned by GetFileInformationByHandle in emu_fstat instead of calling GetFileSizeEx(), thanks Charles! Merges [1939]. | ||
* | Fix compilation on MinGW. Not yet actually used on MinGW due to the | Chris Wilson | 2007-10-17 |
| | | | | | | file extension, but it might be soon, if the default implementation doesn't do what I want. (merges [1848]) | ||
* | No need to print syslog() messages any more, now that we have a logging | Chris Wilson | 2007-09-07 |
| | | | | | framework. (merges [1814]) | ||
* | Make Configuration take a std::string filename instead of a char array, | Chris Wilson | 2007-07-26 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in C++ style. Add a function to get default config file paths at runtime, dependent on the location of the executable being run. Pass the config file name directly to Daemon::Main, instead of faking argv. No default raid file path at compile time on Windows, depends on executable location when run. Determine RaidFile path at runtime if not supplied in config file on Windows. Don't define default locations for config files at compile time on Windows, provide macros to determine them at runtime instead. Make FileHandleGuard take a std::string instead of a char array, C++ style. Determine config file location at runtime instead of hard-coding on Windows. Thanks to Paul MacKenzie, Per Thomsen, Pete Jalajas, Stuart Sanders, Dave Bamford and Gary for pushing me to do this. (fixes #12) Determine config file path at runtime. Call Daemon::Main with config file name instead of building fake argv. (refs #3, merges [1684] [1685] [1686] [1687] [1688] [1689] [1690] [1691] [1692]) | ||
* | Disable some warnings under MSVC to reduce build noise, thanks Gary! | Chris Wilson | 2007-07-26 |
| | | | | | (refs #3, merges [1676]) | ||
* | Fix restoring to top-level directories (e.g. c:\test) (refs #3, | Chris Wilson | 2007-07-26 |
| | | | | | merges [1661]) | ||
* | Add more debugging checks and messages for location setup error | Chris Wilson | 2007-07-26 |
| | | | | | | reported by Pete Jalajas (http://lists.warhead.org.uk/pipermail/boxbackup/2007-July/003668.html) | ||
* | Fix emulated chdir to work with relative paths and with bbackupquery's | Chris Wilson | 2007-05-09 |
| | | | | | | | | | "sh" command (which doesn't like UNC paths). Fix error messages by removing surplus newline kindly added by Windows. (refs #3, merges [1514] and [1569]) | ||
* | Fix rare memory leak. (refs #3, merges part of [1514]) | Chris Wilson | 2007-04-28 |
| | |||
* | Added precompiled output from message compiler, for those who don't | Chris Wilson | 2007-03-24 |
| | | | | | have it, e.g. using MinGW instead of MSVC. (refs #3, merges [526]) | ||
* | Initialise logging framework and set our program name to Box Backup (bbstored) | Chris Wilson | 2007-03-24 |
| | | | | | (refs #3, merges [1462]) | ||
* | Add emulated rename() with path conversion. (refs #3, merges [1436] and | Chris Wilson | 2007-03-24 |
| | | | | | [1438]) | ||
* | Group remaining set*id() and get*id() functions. Improve comments about | Chris Wilson | 2007-03-10 |
| | | | | | why they are being retained. (refs #3, related to [634]) | ||
* | Add new syslog level emulations (refs #3, merges remainder of [1299]) | Chris Wilson | 2007-03-10 |
| | |||
* | Reorder for clarity | Chris Wilson | 2007-03-10 |
| | | | | | | | | | Expose GetErrorMessage() Improve comments (refs #3, merges [1365]) | ||
* | Remove #define BOX_VERSION since we now get it from BoxVersion.h via | Chris Wilson | 2007-03-10 |
| | | | | | | BoxPlatform.h when building with MSVC, and from the Makefiles when building with MinGW. (refs #3, merges part of [634]) | ||
* | Use #defines to replace POSIX functions with emulated ones on MinGW, | Chris Wilson | 2007-03-10 |
| | | | | | | | | | | | | | like we do on MSVC. This allows us to #undef them when we really need to use the original platform function (if available). Disable emulated fstat() in raidfile (and use the platform one) by undefining fstat, since it doesn't use the other emulated file handling functions, or need Unicode support, and it can't take a filehandle returned by open() (only openfile()). (refs #3, merges [1045]) | ||
* | Compile fix for [1397] (refs #3) | Chris Wilson | 2007-03-10 |
| | |||
* | Added d_type member to struct dirent, initialise with S_IFDIR or S_IFREG | Chris Wilson | 2007-03-10 |
| | | | | | | | MinGW compile fix (refs #3, merges [775]) | ||
* | First attempt to achieve a more logical order in this chaos: | Chris Wilson | 2007-03-10 |
| | | | | | | reordered all typedefs to be clearer and more readable (refs #3, merges [766]) | ||
* | Fix two memory leaks and one buffer overflow in codepage conversion code. | Chris Wilson | 2007-03-10 |
| | | | | | (refs #3, merges [1340]) | ||
* | Typo fix (refs #3) | Chris Wilson | 2007-03-10 |
| | |||
* | We don't have access to DIRECTORY_SEPARATOR_ASCHAR in lib/win32 | Chris Wilson | 2007-03-10 |
| | | | | | (refs #3, merges [1362]) | ||
* | Fix handling of O_EXCL to behave just like Unix, not abused to lock files. | Chris Wilson | 2007-03-10 |
| | | | | | | | Add a new constant which specifies that files are to be locked open. (refs #3, merges [1288]) | ||
* | Improve GetErrorMessage() by including the error number/code in the message | Chris Wilson | 2007-03-10 |
| | | | | | | (helps debugging on foreign langauge versions of Windows) (refs #3, merges [1364]) | ||
* | Print localised error messages rather than error codes for all errors | Chris Wilson | 2007-03-10 |
| | | | | | (refs #3, merges [1046]) | ||
* | Expanded character set conversion API to allow arbitrary conversions | Chris Wilson | 2007-03-10 |
| | | | | | | (needed to handle command lines with international encodings) (refs #3, merges [1038]) | ||
* | We can't use lib/common here, so we don't have ASSERT() (refs #3) | Chris Wilson | 2007-03-10 |
| | |||
* | Our timer code only supports ITIMER_REAL (refs #3) | Chris Wilson | 2007-03-10 |
| | |||
* | Always include process.h, as we don't know whether it was detected or not | Chris Wilson | 2007-03-10 |
| | | | | | (we don't have access to lib/common/BoxConfig.h in lib/win32) (refs #3) | ||
* | Detect reparse points and change the device number (refs #3) | Chris Wilson | 2007-01-15 |
| | |||
* | Added implementation of getopt from BSD (refs #3) (check license!) | Chris Wilson | 2006-12-16 |
| | |||
* | Protect against double initialisation of win32 timers | Chris Wilson | 2006-11-06 |
| | |||
* | 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 |
| | |||
* | * 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) |