| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
This effectively reverts b380514764cf857469bae61c11143a19f79a74c5 and
c24473ddff715ecec2e258a6eb38960cf8c8e98e, restoring the state at
598cd5227223c3b04ca31f0dbc1981256d9ea3ff.
Before pushing, please check that what you're about to push is sane.
Check your local commit log and ensure there isn't anything out-of-place
before pushing to mainline. When things like this happen, it wastes
everyone's time. I really don't need this in a week when real work™ is
busting my balls and I'm behind where I want to be with preparing for
MAME release.
|
| |
|
|
|
| |
This reverts commit c24473ddff715ecec2e258a6eb38960cf8c8e98e, reversing
changes made to 009cba4fb8102102168ef32870892438327f3705.
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
functions to tell to another person who spent minutes trying to find the functions, and we refer to such functions as swapping just about everywhere else in the codebase, nw
|
| |
|
|
|
|
|
| |
When parsing an enumerated option, we should use the parameter of the
enumerated value, as an integer, instead of the raw identifier as a
string. The behaviour probably changed around commit b60879e595, but
modules still expect the old behaviour.
|
| |
|
|
|
|
|
|
|
|
| |
* tools/imgtool/filtbas.cpp: fixed Coverity "Identical code for different branches" warning (nw)
* mame/video/decbac.cpp: fixed Coverity "Identical code for different branches" warnings (nw)
* Revert "mame/video/decbac.cpp: fixed Coverity "Identical code for different branches" warnings (nw)"
This reverts commit bdc1761996b8ead3ee7b0233a41ad0eff6f58311.
|
| |
|
|
|
|
|
|
|
|
| |
* lib/util/chdcd.cpp: fixed Coverity "Resource Leak" warning (nw)
* src/lib/util/chdcd.cpp: fixed more Coverity "Resource Leak" warnings (nw)
* tools/imgtool/modules/mac.cpp: fixed Coverity "Resource Leak" warnings (nw)
* devices/bus/ti99/gromport/cartridges.cpp: fixed Coverity "Resource Leak" warning (nw)
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
(#2263)
* Created a more flexible imgtool::datetime structure for use within Imgtool
This is intended to replace most usage of time_t
* Changing the granularity of imgtool_clock from 1ms to 100ns, as per Vas' suggestion
* Created arbitrary_datetime in timeconv.h to facilitate interpretation of datetime info
I concluded that invoking std::mktime on manually assembled std::tm is bad, because it is indeterminate how the std::tm members may be "dominant". This required that I go further in imgtool, and update a number of drivers and eliminate the parameter of imgtool::datetime that takes std::tm.
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
| |
(#2532)
Specifically, this creates a call osd_get_command_line() that returns UTF-8 command line arguments as std::vector<std::string>. On non-Windows platforms, this does nothing more than build the vector. On Windows, this invokes GetCommandLineW() and CommandLineToArgvW(). This also attempts to unwind usage of wmain()/_tmain() on Windows, which is not standard.
Related to this, this fixes a bug in Imgtool; specifically, non-7 bit ASCII was not being handled correctly in Windows.
This is really an admission that the way that Windows handles Unicode and command line arguments sucks, and it is my belief that having a wmain() or _tmain() declaration specific for Windows is a worse solution. C'est la vie.
I'm very open to the idea that src/osd/osdcore.[cpp|h] is not the best place to do this. Let me know if I should move it.
|
| | |
|
| | |
|
| | |
|
| |\
| |
| | |
Imgtool: Fixed features.supports_geticoninfo
|
| | | |
|
| |/
|
|
| |
non-masked set pixels
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
C++-ification (#2527)
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
| |
* [Imgtool] Fixed issue with 'listfilters' command
* [Imgtool] Extremely basic fix to the Imgtool <==> CHD HD bridge
This really needs _much_ more work
|
| |
|
|
| |
Windows doesn't like mixing std::wc[out|err] and printf()
|
| |
|
|
|
|
|
|
|
|
|
| |
that "knows" when the epoch starts (#2010)
* Introduced an 'util::arbitrary_clock' template class, to represent a clock that "knows" when the epoch starts
Also:
- Converted the NTFS filetime code to use util::arbitrary_clock
- Converted the Mac datetime code to use util::atribrary_clock
This is in preparation for a bigger change to Imgtool where I eliminate usage of time_t
|
| | |
|
| | |
|
| | |
|
| |\
| |
| | |
[Imgtool] Fixed recently introduce bug on attribute listings
|
| | | |
|
| |/
|
|
| |
Also some minor cleanups
|
| | |
|
| |\
| |
| | |
[Imgtool] Rewrote charconv; now an interface rather than an enumeration
|
| | | |
|
| | | |
|
| | |
| |
| |
| | |
an O(n) lookup whenever locating a character
|
| | |
| |
| |
| | |
to not dictate std::string and fixed invalid encoding issue
|
| | |
| |
| |
| | |
alter the low page
|
| | |\ |
|
| | | | |
|
| | | | |
|