summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/modules/file
Commit message (Collapse)AuthorAgeFilesLines
* Fix OS X build after a45221458dfba557ae32c0073750a06deea3f45e (nw) AJR2018-12-111-3/+1
| | | | posixptty.cpp uses openpty, which remains in <util.h> under OS X.
* Android compile fix (#4395) Miodrag Milanović2018-12-111-1/+3
| | | | | | | | | | * Fix compile for Android, set API to 24 * Update Android Studio project to API 24 * Fixed project file to latest Android Studio * fix build with gradle alone
* Discord plugin try 2 (#3640) cracyc2018-06-084-2/+223
| | | | | | | | | | | * plugins/discord: discord presence plugin [Carl] * plugins/discord: use domain sockets and pipes [Carl] * winptty: fix connecting to existing socket (nw) plugins/discord: show pause state (nw) * plugins/discord: fix pause behavior (nw)
* Set SO_REUSEADDR in posixsocket Sven Schnelle2018-04-161-0/+8
| | | | | | | | | Without it you have to wait until the socket is moved out of the TIME_WAIT state, which can take quite a while. This is pretty anoying when using mame with serial ports forwarded via TCP. Signed-off-by: Sven Schnelle <svens@stackframe.org>
* Revert "Revert "Merge branch 'master' of https://github.com/mamedev/mame"" Firehawke2017-12-132-1/+2
| | | | This reverts commit 54155441e9ba9941e85d80c4834a66376a11e791.
* Revert "Merge branch 'master' of https://github.com/mamedev/mame" Firehawke2017-12-132-2/+1
| | | | | This reverts commit f537428e5a40ba6dde8ca9bf0fe9ae6b1f189ac4, reversing changes made to 0d70d798107d4e4e8fb9f230410aeb1e888d65c5.
* fix MT06785 Vas Crabb2017-12-072-1/+2
|
* 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-288-8/+0
|
* A round of spelling/typographical fixes to source comments (nw) Scott Stone2016-11-242-2/+2
|
* Implemented GetFileSize and and proper winrt file open (nw) Miodrag Milanovic2016-11-121-4/+2
|
* No need for osd_malloc, osd_malloc_array and osd_free (nw) Miodrag Milanovic2016-11-112-2/+2
| | | | MALLOC_DEBUG not applicable anymore since we use new to allocate in 99.9% of cases
* Some more work on UWP (nw) Miodrag Milanovic2016-11-105-0/+1002
|
* Prevent -Wexpansion-to-defined warning in recent Clang (nw) Justin Kerk2016-10-281-1/+5
|
* final cleanup of TRUE/FALSE, left only in windows section where it represent ↵ Miodrag Milanovic2016-10-223-10/+10
| | | | BOOL (nw)
* Cleanup linux OSD (nw) Miodrag Milanovic2016-10-221-1/+1
|
* NOTICE (TYPE NAME CONSOLIDATION) Miodrag Milanovic2016-10-223-7/+7
| | | | | 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-223-5/+5
| | | | utf16_char, unicode_char (nw)
* Bulk renaming of Windows string conversion functions Nathan Woods2016-10-033-10/+10
| | | | | 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-013-7/+7
| | | | [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
|
* Cleanups and version bump Miodrag Milanovic2016-07-271-1/+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-243-73/+28
| | | | std::wstring
* kfreebsd: use termios.h not just on regular FreeBSD Steven Chamberlain2016-07-131-1/+1
|
* POSIX implementation for valid filename/path character functions Vas Crabb2016-07-071-3/+50
|
* Merge branch 'file_create_and_format_refactorings' of ↵ Vas Crabb2016-07-071-0/+34
|\ | | | | | | https://github.com/npwoods/mame
| * 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.
* | explicit <cstdlib> (nw) Vas Crabb2016-07-061-0/+1
|/
* use allocating mode of ::realpath by default (nw) Vas Crabb2016-07-051-0/+7
|
* Cleanup and version bumpmame0175 Miodrag Milanovic2016-06-292-6/+6
|
* clang on windows fixes (nw) Miodrag Milanovic2016-06-251-1/+1
|
* Init (nw) Vas Crabb2016-06-251-0/+1
|
* Fine, be that way GCC (nw) Vas Crabb2016-06-252-8/+8
|
* Better fix (nw) Vas Crabb2016-06-252-10/+9
|
* Fix path with missing return, hopefully fix OSX build (nw) Vas Crabb2016-06-252-8/+5
|
* Revert "This worked by pure luck (nw)" Vas Crabb2016-06-252-13/+11
| | | | This reverts commit b3491464e41b6afea81e188fe6a350d4f778854b.
* Fix clang compile. (nw) couriersud2016-06-251-1/+1
|
* This worked by pure luck (nw) Miodrag Milanovic2016-06-242-11/+13
|
* POSIX implementation for new directory read features, cleanup of Windows ↵ Vas Crabb2016-06-254-7/+466
| | | | 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-242-16/+16
|
* Cleanups and version bump Miodrag Milanovic2016-03-302-4/+3
|
* Initial work to make MAME work on Android [Miodrag Milanovic] Miodrag Milanovic2016-03-272-9/+12
|
* * 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