summaryrefslogtreecommitdiffstatshomepage
path: root/src/tools/imgtool/imgtool.cpp
Commit message (Collapse)AuthorAgeFilesLines
* IMGTOOL: Added Dragon DOS module [tlindner] tim lindner2020-05-171-5/+6
|
* use C++ library includes (nw) firewave2020-01-221-2/+2
|
* Use canonical spelling of "canonical" (nw) AJR2019-08-021-53/+53
|
* srcclean (nw) Vas Crabb2017-10-221-4/+4
|
* Created a more flexible imgtool::datetime structure for use within Imgtool ↵ npwoods2017-10-171-2/+77
| | | | | | | | | | | | | | (#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.
* imgtool: hopefully fixed the "GET" command fulivi2017-08-241-6/+1
|
* Imgtool: Fixed features.supports_geticoninfo Nathan Woods2017-08-021-0/+2
|
* [Imgtool] C++-ification of imgtool_forkent structure Nathan Woods2017-08-021-3/+5
|
* 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-301-16/+0
|
* Imgtool: Merged normalize_filename() into cannonicalize_path(), ↵ npwoods2017-07-301-370/+148
| | | | C++-ification (#2527)
* 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] Cleanups to validity code, and transitioned to std::wcerr Nathan Woods2017-04-301-27/+27
| | | | Windows doesn't like mixing std::wc[out|err] and printf()
* srcclean (nw) Vas Crabb2017-01-221-2/+2
|
* Restyled some imgtoolerr_t typecasts Nathan Woods2017-01-141-48/+48
|
* Merge branch 'master' into imgtool_charconv_rewrite Nathan Woods2017-01-011-0/+37
|\
| * [Imgtool CoCo/RS-DOS] Miscellaneous cleanups and C++ modernization Nathan Woods2016-12-241-0/+37
| |
* | [Imgtool] Rewrote charconv; now an interface rather than an enumeration Nathan Woods2016-12-231-31/+27
|/
* Merge pull request #1827 from npwoods/remove_strncatz Vas Crabb2016-12-121-12/+0
|\ | | | | [Imgtool] Removed dead strncatz() function
| * [Imgtool] Removed dead strncatz() function Nathan Woods2016-12-111-12/+0
| |
* | Changed a number of declarations in Imgtool to use std::string instead of ↵ Nathan Woods2016-12-111-13/+14
|/ | | | 'const char *'
* srcclean (nw) Vas Crabb2016-11-271-2/+2
|
* Merge pull request #1660 from npwoods/imgtool_fix_implicit_partition R. Belmont2016-11-111-10/+6
|\ | | | | [Imgtool] Fixed a recently introduced bug which caused image types that do not support partitions to function incorrectly
| * [Imgtool] Fixed a recently introduced bug which caused image types that do ↵ Nathan Woods2016-11-111-10/+6
| | | | | | | | not support partitions to function incorrectly
* | No need for osd_malloc, osd_malloc_array and osd_free (nw) Miodrag Milanovic2016-11-111-11/+11
|/ | | | MALLOC_DEBUG not applicable anymore since we use new to allocate in 99.9% of cases
* Merge pull request #1542 from npwoods/imgtool_list_partitions Vas Crabb2016-10-241-31/+29
|\ | | | | [Imgtool] Consolidated logic for default implementation of imgtool::image::list_partitions()
| * Merge branch 'master' into imgtool_list_partitions Nathan Woods2016-10-231-98/+98
| |\
| * | [Imgtool] Consolidated logic for default implementation of ↵ Nathan Woods2016-10-221-31/+29
| | | | | | | | | | | | imgtool::image::list_partitions()
* | | Merge pull request #1543 from npwoods/imgtool_stream_open_smartpointer Vas Crabb2016-10-241-7/+3
|\ \ \ | |_|/ |/| | | | | [Imgtool] Changed imgtool::stream::open*() to return imgtool::stream::ptr
| * | [Imgtool] Changed imgtool::stream::open*() to return imgtool::stream::ptr Nathan Woods2016-10-221-7/+3
| |/ | | | | | | Updated quite a bit of client code that manually owned these pointers
* | srcclean (nw) Vas Crabb2016-10-231-90/+90
| |
* | TRUE/FALSE in tools section (nw) Miodrag Milanovic2016-10-221-9/+9
|/
* NOTICE (TYPE NAME CONSOLIDATION) Miodrag Milanovic2016-10-221-53/+53
| | | | | 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-6/+7
| | | | std::stringstream
* Merge pull request #1526 from npwoods/imgtool_directory_refs Vas Crabb2016-10-181-6/+6
|\ | | | | [Imgtool] Bulk change: 'imgtool::directory *' ==> 'imgtool::directory &'
| * [Imgtool] Bulk change: 'imgtool::directory *' ==> 'imgtool::directory &' Nathan Woods2016-10-171-6/+6
| |
* | [Imgtool] Modernized imgtool::image::list_partitions() Nathan Woods2016-10-171-16/+11
|/
* [Imgtool] Bulk change: 'imgtool::partition *' ==> 'imgtool::partition &' Nathan Woods2016-10-161-32/+32
|
* [Imgtool] Bulk change: 'imgtool::image *' ==> 'imgtool::image &' Nathan Woods2016-10-161-11/+11
|
* [Imgtool] Changed the create/open callbacks to take 'imgtool::stream &&' Nathan Woods2016-10-151-8/+5
| | | | 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.
* Merge pull request #1500 from npwoods/imgtool_cplusplus_stream Vas Crabb2016-10-151-22/+22
|\ | | | | [Imgtool] More C++-ification (imgtool_stream ==> imgtool::stream)
| * [Imgtool] Changed many 'imgtool::stream *' to 'imgtool::stream &' Nathan Woods2016-10-141-10/+10
| |
| * [Imgtool] More C++-ification (imgtool_stream ==> imgtool::stream) Nathan Woods2016-10-121-19/+19
| | | | | | | | 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.
* | fixed tools build (nw) smf-2016-10-121-1/+1
|/
* [Imgtool] C++-ified a few more classes Nathan Woods2016-10-091-632/+483
| | | | | imgtool_partition ==> imgtool::partition imgtool_directory ==> imgtool::directory
* [Imgtool] Fixed a recently introduced bug that could cause module's close() ↵ Nathan Woods2016-10-081-2/+5
| | | | | | callback to be invoked if an image fails to be opened or created. This is really a temporary workaround while Imgtool gets C++-ified; the real issue is the ad hoc nature of the existing semantics of image construction.
* Made imgtool_image (now imgtool::image) a "real" C++ class Nathan Woods2016-09-271-266/+242
|
* srcclean (nw) Vas Crabb2016-09-261-1/+1
|