| Commit message (Collapse) | Author | Age |
|
|
|
|
| |
(refs #3, merges [1462])
|
|
|
|
|
| |
[1438])
|
|
|
|
|
| |
why they are being retained. (refs #3, related to [634])
|
| |
|
|
|
|
|
|
|
|
|
| |
Expose GetErrorMessage()
Improve comments
(refs #3, merges [1365])
|
|
|
|
|
|
| |
BoxPlatform.h when building with MSVC, and from the Makefiles when building
with MinGW. (refs #3, merges part of [634])
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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])
|
| |
|
|
|
|
|
|
|
| |
MinGW compile fix
(refs #3, merges [775])
|
|
|
|
|
|
| |
reordered all typedefs to be clearer and more readable
(refs #3, merges [766])
|
|
|
|
|
| |
(refs #3, merges [1340])
|
| |
|
|
|
|
|
| |
(refs #3, merges [1362])
|
|
|
|
|
|
|
| |
Add a new constant which specifies that files are to be locked open.
(refs #3, merges [1288])
|
|
|
|
|
|
| |
(helps debugging on foreign langauge versions of Windows)
(refs #3, merges [1364])
|
|
|
|
|
| |
(refs #3, merges [1046])
|
|
|
|
|
|
| |
(needed to handle command lines with international encodings)
(refs #3, merges [1038])
|
| |
|
| |
|
|
|
|
|
| |
(we don't have access to lib/common/BoxConfig.h in lib/win32) (refs #3)
|
| |
|
| |
|
| |
|
|
|
|
|
| |
another change (refs #3)
|
| |
|
|
|
|
|
|
|
| |
* Added InvisibleTempFileStream class and unit tests for it
* Use InvisibleTempFileStream instead of FileStream for temporary files
(refs #3)
|
|
|
|
|
|
|
| |
Changed WideSize from int to size_t
Don't allow space for null terminator that will not be added
|
|
|
|
|
|
| |
Remove inline ConvertFileTimeToTime_t, add prototypes for new versions
in emu.cpp
|
|
|
|
|
| |
Added prototypes for new emulated functions emu_utimes, readv and writev
|
|
|
|
|
| |
Remove more vestiges of old getopt
|
|
|
|
|
| |
Emulate readdir's d_type field
|
|
|
|
|
| |
Emulated chdir, mkdir and unlink should handle file names in UTF-8 as well
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
Improved poll() emulation to handle multiple fds
|
|
|
|
|
| |
Removed last vestiges of old getopt()
|
|
|
|
|
|
|
|
| |
Added emulated utimes, chmod, readv and writev
Added useful utility functions ConvertFileTimeToTime_t and
ConvertTime_tToFileTime
|
|
|
|
|
| |
Treat PATH_NOT_FOUND just like FILE_NOT_FOUND in Unix land (errno = ENOENT)
|
|
|
|
|
| |
Request READ_CONTROL when standard open fails, rather than no flags
|
|
|
|
|
| |
Pass requested open flags to OpenFileByNameUtf8
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
| |
Improved error handling in emu_fstat
|
|
|
|
|
| |
Improved handling of UNIX flags to openfile(), allows multiple opens
|
|
|
|
|
| |
Return INVALID_HANDLE_VALUE instead of NULL from openfile() on failure
|
|
|
|
|
| |
Convert UNIX to native paths
|
|
|
|
|
| |
Use our own ConvertUtf8ToWideString for simplicity
|
|
|
|
|
| |
Add BSD-licensed getopt.h to replace our own version
|
|
|
|
|
| |
Include message resource definitions
|
|
|
|
|
| |
Add message definitions and resource files
|
|
|
|
|
| |
Remove dependency on Box.h and hence on lib/common
|
|
|
|
|
| |
Reorganise typedefs for clarity
|