summaryrefslogtreecommitdiff
path: root/lib/win32
Commit message (Collapse)AuthorAge
* New upstream version 0.13~~git20220405.g7703ac8Ileana Dumitrescu2022-04-07
|
* New upstream version 0.13~~git20200326.g8e8b63cReinhard Tartler2020-05-10
|
* New upstream version 0.13~~git20190527.g039c4a1Reinhard Tartler2019-05-28
|
* Normalize all the line endingsChris Wilson2017-05-15
|
* Simplify AddEventSource usage, avoid strdup().Chris Wilson2016-09-11
|
* Fix Unix compilation using CMake.Chris Wilson2016-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 Wilson2016-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 Wilson2015-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 Wilson2015-12-24
|
* Throw an exception if we try to openlog() without closelog() first on Windows.Chris Wilson2015-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 Wilson2015-12-24
| | | | Windows.
* Remove getpid() that should never have been addedChris Wilson2015-12-14
|
* Print the message that we failed to send to the syslog, to make some ↵Chris Wilson2015-12-14
| | | | debugging possible
* Merge branch 'appveyor' of github.com:boxbackup/boxbackup into appveyorChris Wilson2015-12-14
|\
| * Fix Windows file locking to work with MSVCChris Wilson2015-12-14
| |
* | Add a getpid() emulation for test/bbackupd on MSVCChris Wilson2015-12-12
|/
* Remove #defines of POSIX functions deprecated by Microsoft.Chris Wilson2015-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 Wilson2015-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 Wilson2015-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 Wilson2015-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 Wilson2015-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 Wilson2015-01-04
|
* Compile fix for MSVC (Visual Studio) 2010.Chris Wilson2015-01-02
|
* Compile fix for loading BoxConfig.h in MinGWChris Wilson2015-01-02
|
* Fix random timezone errors on restore.Chris Wilson2015-01-02
| | | | Work in UTC inside Box Backup, not local time.
* Remove unused variableChris Wilson2015-01-02
|
* Fix more compile errors on MinGWChris Wilson2014-12-26
|
* Include getopt.h instead of box_getopt.h.Chris Wilson2014-11-23
| | | | Fixes compile errors on Windows. Thanks to Kai Liebenau!
* Fix getopt header confusion.Chris Wilson2013-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 beforeChris Wilson2011-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 inChris Wilson2011-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 Wilson2011-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 FindNextFileWChris Wilson2011-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 Wilson2011-05-24
| | | | conversion fails.
* Remove getpid() emulation now that it's included in the SDK, which causesChris Wilson2011-04-20
| | | | | a conflict.
* Support paths starting with \\?\, to fix support for backing up VSSChris Wilson2011-04-14
| | | | | snapshots.
* Add VSS: prefix to VSS log messages.Chris Wilson2011-04-06
| | | | | | | Start a snapshot set and add backup locations as volumes. Modularise IVssAsync waiting code.
* Make ConvertFromWideString available to other modules.Chris Wilson2011-03-28
|
* Fix another off-by-one error.Chris Wilson2011-03-27
|
* Add inline definition of ftruncate to fix MSVC compile.Chris Wilson2011-03-27
|
* Fix off-by-one causing incomplete normalisation of relative paths.Chris Wilson2011-03-27
|
* Fix off-by-one error in path translation.Chris Wilson2011-03-26
|
* Define WINVER and _WIN32_WINNT to Windows 2000 to avoid importing WSAPollChris Wilson2011-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 Wilson2011-01-08
|
* Log the adjusted time, not the unadjusted one, as it's the adjusted timeChris Wilson2011-01-08
| | | | | that may cause an error if it's invalid. (merges [2743] from 0.11)
* This should fix Trac #14.Charles Lecklider2010-10-22
|
* Add handling of relative paths to emu.cpp's openfile(), needed to handleChris Wilson2009-08-02
| | | | | relative paths in test configuration on Windows.
* Provide a function to close a file handle on Windows, analogous toChris Wilson2009-04-26
| | | | | openfile().
* Fix missing LOG_* defines on Windows.Chris Wilson2009-04-02
|
* Fix tests (hopefully) on Win32 for struct stat ino_t change from 16 toChris Wilson2009-03-21
| | | | | 64 bits.