summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/util/vecstream.h
Commit message (Collapse)AuthorAgeFilesLines
* Low-level #include overhaul AJR2021-01-021-33/+14
| | | | | | | - 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.
* Further additions of std::string_view AJR2021-01-011-14/+33
| | | | | | | - corefile.cpp, fileio.cpp: Change puts to take a std::string_view parameter - rendlay.cpp: Use std::string_view instead of bare pointers in various functions - vecstream.h: Add std::string_view conversion operator to obtain output buffer without needing to make it a C string with explicit null termination - xmlfile.cpp: Add get_attribute_string_ptr method that distinguishes between empty strings and absent attributes without falling back to C strings
* Reverting part of changes from previous commits as described in mail on list ↵ Miodrag Milanovic2016-10-231-2/+2
| | | | (nw)
* cleaning "mess" for OCD people (nw) Miodrag Milanovic2016-10-221-2/+2
|
* some bool <-> int not needed conversions, also cleaned drivenum.* was using ↵ Miodrag Milanovic2016-10-211-2/+2
| | | | memset for clearing vector (nw)
* While I'm causing full recompiles all the time, reduce necessary number of ↵ Vas Crabb2016-08-271-0/+10
| | | | instantiations of parts of string formatting engine
* override without virtual looks uncomfortable (nw) Vas Crabb2016-07-031-1/+1
|
* Improved workaround for missing cbegin/cend in glibstdc++ [Alex Miller] Vas Crabb2016-06-241-3/+3
|
* Cleanups and version bump Miodrag Milanovic2016-03-301-1/+0
|
* * Remove confusing method from vectorstreams that hide base_ios method ↵ Vas Crabb2016-03-181-6/+3
| | | | | | | | | | | | | (fixes disassembly view) * Allow std::string to pass through core_file unmolested (reduces temporary allocations) * Make zip/7z instances of same class with uniform interface * zippath browsing is broken at the moment This is another step towards transparent archive support. It's now possible to access zip and 7z archives with the same code. Nothing is taking advantage of it yet. There's now some very similar code in fileio.cpp and clifront.cpp that could be folded at some point.
* Allow seek to position 0 in a vectorstream with empty storage, always ↵ Vas Crabb2016-03-101-3/+3
| | | | reserve 1k for core_file printf buffer
* Implement swappable concept properly Vas Crabb2016-03-041-3/+18
|
* More stream enhancement Vas Crabb2016-03-031-8/+33
|
* Get rid of most uses of core_i64_hex_format, all remaining uses are in ↵ Vas Crabb2016-03-011-2/+2
| | | | memory.cpp
* * Support *n conversion in stream_format/string_format Vas Crabb2016-03-011-0/+362
* Make stream_format return characters printed * Add iostreams with std::vector storage * Move to type-safe templates for logerror and popmessage * Remove now-unnecessary I64FMT from calls to logerror/popmessage * Put some lib/util stuff in util:: namespace * Some fixes to Japanese translation