summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/modules/file/posixdir.cpp
Commit message (Collapse)AuthorAgeFilesLines
* -ui: Made zoom controls a bit more intuitive. Vas Crabb2021-09-061-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * The UI controls are described as zoom in/out, but they had the opposite effect on the palette and tile viewers. That has been changed to make them consistent with the tilemap viewer. * Made the default zoom key not act as a toggle. People are familiar with the function of Ctrl+0/=/- in web browsers, so making them behave similarly in MAME should make it more approachable. Also added the default zoom key to the relevant documentation page. * Implemented the default zoom key for the palette and tile viewers. * In the tilemap viewer, if the view is in default expand to fit mode, zoom in/out starting from the actual zoom ratio. Once again, this behaves more like the zoom controls in a web browser displaying an image so it should be more intuitive. * Made more messages from the tilemap viewer localisable. -util/zippath.cpp: Fixed MT08074. * There were multiple issues at play here. After #8443 was applied, is_root was simply never returning true on Windows, as OSD_WINDOWS isn't actually defined outside libosd and libocore. This caused phantom parent items to appear in disk roots on Windows, but it meant that the check in zippath_resolve would always fail so the trailing backslash would be trimmed. Fixing the macro test in is_root meant the trailing backslash from C:\ would no longer be trimmed, which caused the stat in zippath_resolve to fail. -bigbord2.cpp: Hooked up floppy DRQ that had somehow got lost. -Reduced tag map lookups in several drivers and devices. -util/coretmpl.h: Removed an overload of bitswap that can be avoided using if constexpr. -Added doxygen comments to some classes, and fixed several doxygen warnings. -util, osd: Test for _WIN32 rather than WIN32. * In C++17 mode, WIN32 is no longer a predefined macro, although various things in 3rdparty define it to maintain legacy support. We're better off moving forward anyway for when WIN32 disappears entirely. (WIN32 is not a reserved name, while _WIN32 is, starting with an underscore follwed by an uppercase letter.)
* Low-level #include overhaul AJR2021-01-021-0/+1
| | | | | | | - vecstream.h: Revert changes made in aa29519528cb3dbdbfac56819bea670ed8c56c5d. The std::string_view conversion has been made a non-member function (util::buf_to_string_view) and moved to coretmpl.h. - strformat.h: Remove the using declaration importing util::string_format into the global namespace. It has been moved to emucore.h and a few tool sources; other references have been qualified. - osdcore.h: Split out file, directory and path classes and methods to a new header (osdfile.h), Doxygenizing the documentation comments. - Disaggregate many #includes that were including other standard or custom headers. emu.h now includes basically the same things that it did, but other headers have been streamlined; for instance, emucore.h no longer stealth-includes osdcore.h several ways.
* Fix build in newer Emscripten versions (nw) Justin Kerk2019-08-081-1/+1
|
* Revert "Revert "Merge branch 'master' of https://github.com/mamedev/mame"" Firehawke2017-12-131-0/+1
| | | | This reverts commit 54155441e9ba9941e85d80c4834a66376a11e791.
* Revert "Merge branch 'master' of https://github.com/mamedev/mame" Firehawke2017-12-131-1/+0
| | | | | This reverts commit f537428e5a40ba6dde8ca9bf0fe9ae6b1f189ac4, reversing changes made to 0d70d798107d4e4e8fb9f230410aeb1e888d65c5.
* fix MT06785 Vas Crabb2017-12-071-0/+1
|
* Prevent -Wexpansion-to-defined warning in recent Clang (nw) Justin Kerk2016-10-281-1/+5
|
* Cleanup and version bumpmame0175 Miodrag Milanovic2016-06-291-5/+5
|
* Fine, be that way GCC (nw) Vas Crabb2016-06-251-4/+4
|
* Better fix (nw) Vas Crabb2016-06-251-8/+7
|
* Fix path with missing return, hopefully fix OSX build (nw) Vas Crabb2016-06-251-6/+4
|
* Revert "This worked by pure luck (nw)" Vas Crabb2016-06-251-5/+5
| | | | This reverts commit b3491464e41b6afea81e188fe6a350d4f778854b.
* Fix clang compile. (nw) couriersud2016-06-251-1/+1
|
* This worked by pure luck (nw) Miodrag Milanovic2016-06-241-5/+5
|
* POSIX implementation for new directory read features, cleanup of Windows ↵ Vas Crabb2016-06-251-0/+293
implementation, return directory handle as smart pointer, fix full build [Vas Crabb]