summaryrefslogtreecommitdiffstatshomepage
path: root/src/tools/imgtool/modules/mac.cpp
Commit message (Collapse)AuthorAgeFilesLines
* use C++ library includes (nw) firewave2020-01-221-5/+5
|
* 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)
* Created a more flexible imgtool::datetime structure for use within Imgtool ↵ npwoods2017-10-171-2/+2
| | | | | | | | | | | | | | (#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-08-271-1/+1
|
* 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-021-13/+5
|
* srcclean (nw) Vas Crabb2017-01-221-1/+1
|
* [Imgtool Mac] Adding support for MacRoman encoding Nathan Woods2017-01-141-0/+30
|
* Merge pull request #1543 from npwoods/imgtool_stream_open_smartpointer Vas Crabb2016-10-241-14/+8
|\ | | | | | | [Imgtool] Changed imgtool::stream::open*() to return imgtool::stream::ptr
| * [Imgtool] Changed imgtool::stream::open*() to return imgtool::stream::ptr Nathan Woods2016-10-221-14/+8
| | | | | | | | Updated quite a bit of client code that manually owned these pointers
* | TRUE/FALSE in tools section (nw) Miodrag Milanovic2016-10-221-48/+48
|/
* NOTICE (TYPE NAME CONSOLIDATION) Miodrag Milanovic2016-10-221-271/+271
| | | | | 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
* [Imgtool] Changed imgtool::image::info() to use std::stream and ↵ Nathan Woods2016-10-171-4/+7
| | | | std::stringstream
* [Imgtool] Bulk change: 'imgtool::directory *' ==> 'imgtool::directory &' Nathan Woods2016-10-171-38/+38
|
* [Imgtool] Bulk change: 'imgtool::partition *' ==> 'imgtool::partition &' Nathan Woods2016-10-161-18/+18
|
* [Imgtool] Bulk change: 'imgtool::image *' ==> 'imgtool::image &' Nathan Woods2016-10-161-23/+23
|
* [Imgtool] Changed the create/open callbacks to take 'imgtool::stream &&' Nathan Woods2016-10-151-3/+3
| | | | They always took ownership of the stream; this just makes it official. Because the ownership would only traditionally happen if the open() or create() succeeded, I had to do a clumsy pattern where I call get() at the beginning of the callback to get the stream, but later on release() immediately prior to succeeding.
* [Imgtool] Changed many 'imgtool::stream *' to 'imgtool::stream &' Nathan Woods2016-10-141-11/+11
|
* [Imgtool] More C++-ification (imgtool_stream ==> imgtool::stream) Nathan Woods2016-10-121-15/+15
| | | | Still a bit of work to do, most notably around adoption of std::unique_ptr<>, which may be a challenge here on account of some assumptions regarding lifetime of streams by modules.
* [Imgtool] C++-ified a few more classes Nathan Woods2016-10-091-25/+25
| | | | | imgtool_partition ==> imgtool::partition imgtool_directory ==> imgtool::directory
* Merge pull request #1456 from npwoods/imgtool_image_cplusplus R. Belmont2016-10-081-16/+16
|\ | | | | Made imgtool_image (now imgtool::image) a "real" C++ class
| * Made imgtool_image (now imgtool::image) a "real" C++ class Nathan Woods2016-09-271-16/+16
| |
* | [Imgtool Mac Module] Fixed an unsigned overflow error that would causes ↵ Nathan Woods2016-09-301-2/+3
|/ | | | crashes on 64 bit systems
* Let's give the new srcclean a spin... Vas Crabb2016-08-021-51/+51
|
* std::min and std:max instead of MIN and MAX, also some more macros converted ↵ Miodrag Milanovic2016-07-311-1/+1
| | | | to inline functions (nw)
* Fix up imgtool as well Vas Crabb2016-07-081-6/+6
|
* macro removal INLINE -> static inline (nw) Miodrag Milanovic2015-12-121-8/+8
|
* Rename *.c -> *.cpp in our source (nw) Miodrag Milanovic2015-11-081-0/+6418