summaryrefslogtreecommitdiffstatshomepage
path: root/src/tools/imgtool
Commit message (Collapse)AuthorAgeFilesLines
* imgtool: MT 6693 wip, solves mess_hd issue (nw) Sergey Svishchev2019-06-022-15/+6
|
* fix build with clang, clean up some random stuff (nw) Vas Crabb2019-04-071-14/+9
|
* (nw) Clean up the mess on master Vas Crabb2019-03-264-0/+700
| | | | | | | | | | | | | 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.
* Revert "conflict resolution (nw)" andreasnaive2019-03-254-700/+0
| | | | | This reverts commit c24473ddff715ecec2e258a6eb38960cf8c8e98e, reversing changes made to 009cba4fb8102102168ef32870892438327f3705.
* fix for filtbas when strings left unterminated in basic lines tomctomc2019-03-151-0/+2
|
* srcclean (nw) Vas Crabb2019-02-241-62/+62
|
* imgtool: new read-only filesystem: DEC RT-11 (take 2) Sergey Svishchev2019-02-203-0/+698
|
* Renamed flipendian -> swapendian, as I spent minutes trying to find the ↵ mooglyguy2018-11-051-1/+1
| | | | 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
* imgtool: fix parsing options with enum values Fabrice Bellet2018-07-221-1/+17
| | | | | | | 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.
* fixed some Coverity "Identical code for different branches" warnings (#3094) Oliver Stöneberg2018-01-261-2/+2
| | | | | | | | | | * 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.
* Fixes for Coverity "Resource leak" warnings (#3089) Oliver Stöneberg2018-01-211-1/+4
| | | | | | | | | | * 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)
* tools/imgtool/modules/fat.cpp: fixed Coverity "Double Free" warning (nw) firewave2018-01-201-0/+1
|
* srcclean (nw) Vas Crabb2017-10-224-19/+19
|
* Created a more flexible imgtool::datetime structure for use within Imgtool ↵ npwoods2017-10-1714-114/+374
| | | | | | | | | | | | | | (#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.
* Support for HP85 tapes added to imgtool (#2688) fulivi2017-10-033-1/+1198
|
* fix for clang 5 unused lambda capture errors (nw) smf-2017-09-241-1/+1
|
* Attempted to sanitize/rationalize how we access UTF-8 command line arguments ↵ npwoods2017-09-181-0/+6
| | | | | | | | | | | (#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.
* srcclean (nw) Vas Crabb2017-08-273-5/+5
|
* imgtool: hopefully fixed the "GET" command fulivi2017-08-241-6/+1
|
* hp9845: re-factored hp9845_tape module of imgtool to use HTI format fulivi2017-08-161-238/+185
|
* Merge pull request #2540 from npwoods/imgtool_feature_supports_geticoninfo R. Belmont2017-08-051-0/+2
|\ | | | | Imgtool: Fixed features.supports_geticoninfo
| * Imgtool: Fixed features.supports_geticoninfo Nathan Woods2017-08-021-0/+2
| |
* | Imgtool: Classic Mac: Made the logic for B&W icon able to handled ↵ Nathan Woods2017-08-021-27/+25
|/ | | | non-masked set pixels
* [Imgtool] C++-ification of imgtool_forkent structure Nathan Woods2017-08-026-60/+93
|
* Imgtool: Removed silly intermediate 'const char *' (nw) Nathan Woods2017-07-311-3/+2
|
* Imgtool: Vas Feedback: Changed another charconverter access (nw) Nathan Woods2017-07-301-3/+3
|
* Imgtool: Eliminated Imgtool-specific rand() function Nathan Woods2017-07-303-19/+5
|
* Imgtool: Merged normalize_filename() into cannonicalize_path(), ↵ npwoods2017-07-302-372/+149
| | | | C++-ification (#2527)
* Imgtool: Proper cleanup of floppy object after create/open failure Nathan Woods2017-07-241-0/+10
|
* Imgtool: Changed a pointer to a reference, and fixed a std::string(nullptr) bug Nathan Woods2017-07-241-6/+5
|
* srcclean (nw) Vas Crabb2017-05-281-2/+2
|
* [Imgtool] Fix to MT#6576 (#2275) npwoods2017-05-045-9/+8
| | | | | | | | * [Imgtool] Fixed issue with 'listfilters' command * [Imgtool] Extremely basic fix to the Imgtool <==> CHD HD bridge This really needs _much_ more work
* [Imgtool] Cleanups to validity code, and transitioned to std::wcerr Nathan Woods2017-04-302-28/+28
| | | | Windows doesn't like mixing std::wc[out|err] and printf()
* Introduced an 'util::arbitrary_clock' template class, to represent a clock ↵ npwoods2017-04-061-5/+10
| | | | | | | | | | | 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
* Fix CID 157540: "Missing comma" resulting in unintentional string concatenation Peter Bortas2017-03-271-1/+1
|
* [Imgtool] Fixed recently introduced bug in the code that emits usage text Nathan Woods2017-01-231-1/+1
|
* srcclean (nw) Vas Crabb2017-01-224-5/+5
|
* Merge pull request #1979 from npwoods/imgtool_fix_attr_listing R. Belmont2017-01-151-1/+1
|\ | | | | [Imgtool] Fixed recently introduce bug on attribute listings
| * [Imgtool] Fixed recently introduce bug on attribute listings Nathan Woods2017-01-151-1/+1
| |
* | [CoCo] Fixed a recently introduced bug in DMK image creation Nathan Woods2017-01-151-23/+15
|/ | | | Also some minor cleanups
* [Imgtool Mac] Adding support for MacRoman encoding Nathan Woods2017-01-141-0/+30
|
* Merge pull request #1868 from npwoods/imgtool_charconv_rewrite Vas Crabb2017-01-155-206/+217
|\ | | | | [Imgtool] Rewrote charconv; now an interface rather than an enumeration
| * Restyled some imgtoolerr_t typecasts Nathan Woods2017-01-141-48/+48
| |
| * Spacing fix Nathan Woods2017-01-141-1/+1
| |
| * [Imgtool] Changing imgtool::simple_charconverter::from_utf8() to not perform ↵ Nathan Woods2017-01-052-37/+35
| | | | | | | | an O(n) lookup whenever locating a character
| * Vas Crabb feedback: Fixed Latin-1 C1 space, changed charconverter prototype ↵ Nathan Woods2017-01-042-35/+44
| | | | | | | | to not dictate std::string and fixed invalid encoding issue
| * Updated to support Unicode normalization and simple charconverters that ↵ Nathan Woods2017-01-012-20/+57
| | | | | | | | alter the low page
| * Merge branch 'master' into imgtool_charconv_rewrite Nathan Woods2017-01-013-88/+165
| |\
| * | [Imgtool] Rewrote charconv; now an interface rather than an enumeration Nathan Woods2016-12-235-174/+141
| | |
* | | Missed these, which needed wstring_from_utf8() Nathan Woods2017-01-041-5/+5
| | |