summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/modules/file/winfile.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Tidy up loose ends: Vas Crabb2021-01-061-17/+58
| | | | | | | | * Fixed a couple of fixed-size buffers in Windows OSD code. * Marked MAME as aware of long paths in Windows manifest. * Made a cleaner, thread-safe API for getting volume names. * Added compile-time option to disable recompiler W^X mode. * NuBus image device current directory doesn't need to be pinned.
* use C++ library includes (nw) firewave2020-01-221-2/+2
|
* Use canonical spelling of "canonical" (nw) AJR2019-08-021-1/+1
|
* this file is Allman style, use nullptr for NULL pointers, DeviceIoControl ↵ Vas Crabb2017-11-291-6/+8
| | | | returns BOOL so treat it like a boolean (nw)
* chdman: Patch to allow chdman to access physical drives on Windows 10 Ted Green2017-11-241-1/+18
|
* Move special windows.h include directives to build defines (nw) Brad Hughes2016-12-281-1/+0
|
* final cleanup of TRUE/FALSE, left only in windows section where it represent ↵ Miodrag Milanovic2016-10-221-6/+6
| | | | BOOL (nw)
* NOTICE (TYPE NAME CONSOLIDATION) Miodrag Milanovic2016-10-221-4/+4
| | | | | Use standard uint64_t, uint32_t, uint16_t or uint8_t instead of UINT64, UINT32, UINT16 or UINT8 also use standard int64_t, int32_t, int16_t or int8_t instead of INT64, INT32, INT16 or INT8
* use standard types uintptr_t, char16_t and char32_t instead of FPTR, ↵ Miodrag Milanovic2016-10-221-2/+2
| | | | utf16_char, unicode_char (nw)
* Bulk renaming of Windows string conversion functions Nathan Woods2016-10-031-7/+7
| | | | | utf8_from_[a|w|t]string ==> osd::text::from_[a|w|t]string [a|w|t]string_from_utf8 ==> osd::text::to_[a|w|t]string
* Adding new string conversion overloads Nathan Woods2016-10-011-5/+5
| | | | [a|w|t|utf8]_from_[a|w|t|utf8_]string(xyz.c_str()) seems to be common enough to justify overloads. Also, I'm explicitly assuming that it is legal to override the NUL pointer within a C++ basic_string (e.g. - s[s.size()] = '\0'). As far as I can tell, this seems to be legal - please don't shoot if I am wrong.
* Now reporting Windows ERROR_INVALID_NAME as osd_file::error::NOT_FOUND Nathan Woods2016-08-191-0/+1
|
* Using decltype() and removing +1/-1 "dance" Nathan Woods2016-07-251-4/+1
|
* Fixed off by one issue and other cleanups requested by Vas Nathan Woods2016-07-251-15/+12
|
* Changed strconv.[cpp|h] functions to return their results as std::string and ↵ Nathan Woods2016-07-241-47/+17
| | | | std::wstring
* Changed osd_is_valid_filepath_char() to block 0x7F and C1 control characters Nathan Woods2016-07-051-0/+1
|
* Create osd_is_valid_filename_char() and osd_is_valid_filepath_char() ↵ Nathan Woods2016-07-051-0/+33
| | | | functions to check to see if a character is legal, and moved retired is_valid_filename_char() in filecreate.cpp. POSIX versions not implemented yet.
* POSIX implementation for new directory read features, cleanup of Windows ↵ Vas Crabb2016-06-251-3/+5
| | | | implementation, return directory handle as smart pointer, fix full build [Vas Crabb]
* Incorporated cleanups requested by Vas Crabb Nathan Woods2016-06-241-1/+1
|
* Changed osd_stat() to return std::unique_ptr<osd::directory::entry> Nathan Woods2016-06-241-3/+3
|
* C++-ified osd_directory (now osd::directory), and added last_modified to ↵ Nathan Woods2016-06-241-4/+5
| | | | osd::directory::entry
* Various cleanups suggested by static analyzer (nw) Miodrag Milanovic2016-04-241-13/+13
|
* * Fix handling of return codes from newer Windows APIs Vas Crabb2016-03-191-40/+26
| | | | | * Fix a handle-leak in Windows stat implementation * Return actual error code when path creation succeeds but file creation doesn't
* winfile: fix narrowing error with gcc if LARGE_INTEGER is a union (nw) cracyc2016-03-181-3/+6
|
* Update Windows OSD file functions to preferred more modern versions. All ↵ Brad Hughes2016-03-181-9/+10
| | | | still available on XP and later.
* Win fix Vas Crabb2016-03-141-2/+2
|
* Make osd_file a polymorphic class that's held with smart pointers Vas Crabb2016-03-141-0/+513
Make avi_file a class that's held with smart pointers, encapsulate various AVI I/O structures Make zip_file and _7z_file classes rather than having free functions everywhere Hide zip/7z class implementation behind an interface, no longer need to call close() to send back to the cache Don't dump as much crap in global namespace Add solaris PTY implementation Improve variable expansion for SDL OSD - supports ~/$FOO/${BAR} syntax Rearrange stuff so the same things are in file module for all OSDs Move file stuff into its own module 7z/zip open and destruct are still not thread-safe due to lack of interlocks around cache access Directory functions still need to be moved to file module SDL OSD may not initialise WinSock on Windows