Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Normalize all the line endings | Chris Wilson | 2017-05-15 |
| | |||
* | Simplify AddEventSource usage, avoid strdup(). | Chris Wilson | 2016-09-11 |
| | |||
* | Fix Unix compilation using CMake. | Chris Wilson | 2016-09-09 |
| | | | | | | | | | | Add platform detection that's compatible with the old buildsystem and its m4 autoconfigury. Make Travis build and test using CMake as a separate target. Remove unused function BoxGetTemporaryDirectoryName() to fixes compile using CMake on Unix. | ||
* | Update platform feature detection to work with CMake. | Chris Wilson | 2016-09-03 |
| | | | | | | | Rewrite some macros in forms that can be parsed by our parser written in CMake language (fake m4 with regexps). Fix incorrect conditional includes and incorrect #if/#ifdef assumptions. | ||
* | Fix deletion of test fixture directories with unicode names on Windows. | Chris Wilson | 2015-12-25 |
| | | | | | | | | We need to use CreateProcessW() instead of system() to pass these filenames to the rd command. Fixes every test that runs after test_unicode_filenames_can_be_backed_up in test/bbackupd. | ||
* | Improve handing of error messages that Windows won't decode for some reason. | Chris Wilson | 2015-12-24 |
| | |||
* | Throw an exception if we try to openlog() without closelog() first on Windows. | Chris Wilson | 2015-12-24 |
| | | | | Use INVALID_HANDLE_VALUE for invalid handle values, instead of 0. | ||
* | Improve error message when we fail to register our custom Event Source on ↵ | Chris Wilson | 2015-12-24 |
| | | | | Windows. | ||
* | Remove getpid() that should never have been added | Chris Wilson | 2015-12-14 |
| | |||
* | Print the message that we failed to send to the syslog, to make some ↵ | Chris Wilson | 2015-12-14 |
| | | | | debugging possible | ||
* | Merge branch 'appveyor' of github.com:boxbackup/boxbackup into appveyor | Chris Wilson | 2015-12-14 |
|\ | |||
| * | Fix Windows file locking to work with MSVC | Chris Wilson | 2015-12-14 |
| | | |||
* | | Add a getpid() emulation for test/bbackupd on MSVC | Chris Wilson | 2015-12-12 |
|/ | |||
* | Remove #defines of POSIX functions deprecated by Microsoft. | Chris Wilson | 2015-12-09 |
| | | | | | | These defines are too wide-reaching in their effects on unrelated code. Add a replacement for strncasecmp. | ||
* | Remove non-standard BSD u_int* types. | Chris Wilson | 2015-12-08 |
| | | | | | | | MSVC doesn't like them, and they're not necessary now that we have stdint.h. Remove some compatibility typedefs from BoxPlatform.h and emu.h which are not needed any longer either. | ||
* | Fix warnings when compiling with MinGW64 headers. | Chris Wilson | 2015-08-29 |
| | | | | | | These headers define things that aren't defined by MinGW32 or MSVC, so make the definitions in emu.h conditional (feature detection). | ||
* | Fix error reporting from Reg* functions. | Chris Wilson | 2015-05-16 |
| | | | | | | Unlike the rest of the Win32 API, these functions return their error code, and it's not accessible using GetLastError(). Thanks to Enrique Perez-Terron for reporting this issue. | ||
* | Improve error logging in win32 emu library. | Chris Wilson | 2015-04-06 |
| | | | | | | Consistently capture the last Windows error code in the global variable winerrno. Add logging macros that report the Windows error message for this error code. | ||
* | Add test for hardlink handling. | Chris Wilson | 2015-01-04 |
| | |||
* | Compile fix for MSVC (Visual Studio) 2010. | Chris Wilson | 2015-01-02 |
| | |||
* | Compile fix for loading BoxConfig.h in MinGW | Chris Wilson | 2015-01-02 |
| | |||
* | Fix random timezone errors on restore. | Chris Wilson | 2015-01-02 |
| | | | | Work in UTC inside Box Backup, not local time. | ||
* | Remove unused variable | Chris Wilson | 2015-01-02 |
| | |||
* | Fix more compile errors on MinGW | Chris Wilson | 2014-12-26 |
| | |||
* | Include getopt.h instead of box_getopt.h. | Chris Wilson | 2014-11-23 |
| | | | | Fixes compile errors on Windows. Thanks to Kai Liebenau! | ||
* | Fix getopt header confusion. | Chris Wilson | 2013-09-30 |
| | | | | | | | | Our copy of getopt.h in lib/win32 was beating the system getopt.h in the search path, and providing different definitions, which clang picked up. Renamed our getopt.h to bsd_getopt.h, and added a box_getopt.h to decide whether to include this one instead of the system getopt.h. | ||
* | Split Win32 defines out of emu.h to enable Boxi to include them before | Chris Wilson | 2011-10-09 |
| | | | | | | wx/wx.h (to set UNICODE properly) without also #including winnt.h before UNICODE is set properly. | ||
* | Recent Cygwin versions of MinGW now define O_BINARY as well, also in | Chris Wilson | 2011-10-08 |
| | | | | | | fcntl.h, so include it if we can find it, and only define O_BINARY if it turns out to be missing. | ||
* | Silence warnings from new MinGW headers that expect __MINGW_FEATURES__ | Chris Wilson | 2011-10-08 |
| | | | | | | | | to be defined. Check for fcntl.h and include it if we have it, not just on MSVC, now that MinGW also defines O_BINARY in newer versions. | ||
* | Use "more standard" Windows API functions FindFirstFileW and FindNextFileW | Chris Wilson | 2011-08-28 |
| | | | | | | | | | | for directory enumeration instead of _wfindfirst and _wfindnext. Ignore reparse points when enumerating directories to avoid infinite loops. Convert VSS paths back to real paths when notifying users about backup progress. | ||
* | Blind fix for displaying error message as well as code when emu unicode ↵ | Chris Wilson | 2011-05-24 |
| | | | | conversion fails. | ||
* | Remove getpid() emulation now that it's included in the SDK, which causes | Chris Wilson | 2011-04-20 |
| | | | | | a conflict. | ||
* | Support paths starting with \\?\, to fix support for backing up VSS | Chris Wilson | 2011-04-14 |
| | | | | | snapshots. | ||
* | Add VSS: prefix to VSS log messages. | Chris Wilson | 2011-04-06 |
| | | | | | | | Start a snapshot set and add backup locations as volumes. Modularise IVssAsync waiting code. | ||
* | Make ConvertFromWideString available to other modules. | Chris Wilson | 2011-03-28 |
| | |||
* | Fix another off-by-one error. | Chris Wilson | 2011-03-27 |
| | |||
* | Add inline definition of ftruncate to fix MSVC compile. | Chris Wilson | 2011-03-27 |
| | |||
* | Fix off-by-one causing incomplete normalisation of relative paths. | Chris Wilson | 2011-03-27 |
| | |||
* | Fix off-by-one error in path translation. | Chris Wilson | 2011-03-26 |
| | |||
* | Define WINVER and _WIN32_WINNT to Windows 2000 to avoid importing WSAPoll | Chris Wilson | 2011-03-26 |
| | | | | | | from winsock2.h, which conflicts with our definition of struct pollfd, on Windows Vista and above. | ||
* | Fix syslog of longer messages on Windows. (merges [2741] from 0.11) | Chris Wilson | 2011-01-08 |
| | |||
* | Log the adjusted time, not the unadjusted one, as it's the adjusted time | Chris Wilson | 2011-01-08 |
| | | | | | that may cause an error if it's invalid. (merges [2743] from 0.11) | ||
* | This should fix Trac #14. | Charles Lecklider | 2010-10-22 |
| | |||
* | Add handling of relative paths to emu.cpp's openfile(), needed to handle | Chris Wilson | 2009-08-02 |
| | | | | | relative paths in test configuration on Windows. | ||
* | Provide a function to close a file handle on Windows, analogous to | Chris Wilson | 2009-04-26 |
| | | | | | openfile(). | ||
* | Fix missing LOG_* defines on Windows. | Chris Wilson | 2009-04-02 |
| | |||
* | 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. |