summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/util/timeconv.h
Commit message (Collapse)AuthorAgeFilesLines
* formats, osd, util: Started refactoring file I/O stuff. (#8456) Vas Crabb2021-08-221-19/+20
| | | | | | | | | Added more modern generic I/O interfaces with implementation backed by stdio, osd_file and core_file, replacing io_generic. Also replaced core_file's build-in zlib compression with a filter. unzip.cpp, un7z.cpp: Added option to supply abstract I/O interface rather than filename. Converted osd_file, core_file, archive_file, chd_file and device_image_interface to use std::error_condition rather than their own error enums. Allow mounting TI-99 RPK from inside archives.
* Use std::clamp in more source files AJR2021-08-151-7/+4
|
* Avoid name collision on Y2 Olivier Galibert2021-05-021-11/+11
|
* prodos: Start of read support Olivier Galibert2021-05-021-0/+2
|
* Low-level #include overhaul AJR2021-01-021-2/+2
| | | | | | | - 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.
* Fixed a few missing #includes flagged by VS2019 beta, nw mooglyguy2018-12-301-0/+1
|
* imgtool: fix off by one error with leap years (nw) balr0g2018-08-131-1/+1
|
* srcclean (nw) Vas Crabb2017-10-221-15/+15
|
* Appease MSVC (nw) AJR2017-10-191-0/+1
|
* Created a more flexible imgtool::datetime structure for use within Imgtool ↵ npwoods2017-10-171-7/+75
| | | | | | | | | | | | | | (#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.
* srcclean (nw) Vas Crabb2017-04-231-20/+20
|
* Introduced an 'util::arbitrary_clock' template class, to represent a clock ↵ npwoods2017-04-061-0/+214
| | | | | | | | | | | 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
* Cleanup and version bumpmame0175 Miodrag Milanovic2016-06-291-6/+5
|
* Fixed incorrect implementation of win_time_point_from_filetime() Vas Crabb2016-06-261-4/+3
|
* Introduced src/lib/util/timeconv.[c|h], moved code from un7z.cpp into it, ↵ Nathan Woods2016-06-261-0/+54
and implemented win_time_point_from_filetime() in terms of it