summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/util
Commit message (Collapse)AuthorAgeFilesLines
* Fix 7z name match, fix VS2015 build Vas Crabb2016-03-152-2/+2
|
* Make osd_file a polymorphic class that's held with smart pointers Vas Crabb2016-03-1413-3017/+2813
| | | | | | | | | | | | | | | Make avi_file a class that's held with smart pointers, encapsulate various AVI I/O structures Make zip_file and _7z_file classes rather than having free functions everywhere Hide zip/7z class implementation behind an interface, no longer need to call close() to send back to the cache Don't dump as much crap in global namespace Add solaris PTY implementation Improve variable expansion for SDL OSD - supports ~/$FOO/${BAR} syntax Rearrange stuff so the same things are in file module for all OSDs Move file stuff into its own module 7z/zip open and destruct are still not thread-safe due to lack of interlocks around cache access Directory functions still need to be moved to file module SDL OSD may not initialise WinSock on Windows
* Updated delegates, now works on ARM and ARM64 (nw) Miodrag Milanovic2016-03-132-510/+74
|
* fix for VS builds by Vas (nw) Miodrag Milanovic2016-03-121-1/+1
|
* Add support to adjust the screen color Dirk Best2016-03-122-0/+10
| | | | This is now used for monochrome screens instead of creating custom palettes.
* Allow seek to position 0 in a vectorstream with empty storage, always ↵ Vas Crabb2016-03-102-3/+4
| | | | reserve 1k for core_file printf buffer
* Use type-safe printf for core_file and emu_file, surprisingly few knock-on ↵ Vas Crabb2016-03-092-26/+19
| | | | | | effects Properly fix up a couple of places I64FMT was being used, still more to deal with
* Fix complete failure to read zlib compressed data, handle EOF better in ↵ Vas Crabb2016-03-081-20/+21
| | | | | | compressed files (nw) Fix bug causing crash in pathological case of zero-frame INP file [Vas Crabb]
* Fix loading zipped image Vas Crabb2016-03-071-0/+1
|
* Turn core_file into a proper class that gets cleaned up safely using unique_ptr Vas Crabb2016-03-0615-879/+1118
| | | | Subverted somewhat by chd_file class
* This depends on libstdc++ version, not GCC version Vas Crabb2016-03-061-1/+1
| | | | | | It's possible to make GCC use older/newer libstdc++ or to use Clang with libstdc++ This is still the wrong place for it - we should have all compiler/library workarounds in one place, not at point of use, to avoid duplication/conflicts
* This works (nw) Miodrag Milanovic2016-03-051-0/+15
|
* Further reduce template instantiations Vas Crabb2016-03-041-16/+16
|
* Reduce number of formatting template instantiations needed - should reduce ↵ Vas Crabb2016-03-041-89/+48
| | | | | | compile time and executable size a bit Small run-time performance penalty shouldn't be a big deal
* Implement swappable concept properly Vas Crabb2016-03-041-3/+18
|
* More stream enhancement Vas Crabb2016-03-031-8/+33
|
* core_i64_hex_format is now a static function in memory.cpp Vas Crabb2016-03-032-71/+0
|
* use std::atomic in chd.cpp/h (nw) Miodrag Milanovic2016-03-012-8/+8
|
* Fix for Visual Studio build by Vas (nw) Miodrag Milanovic2016-03-011-1/+1
|
* Get rid of most uses of core_i64_hex_format, all remaining uses are in ↵ Vas Crabb2016-03-012-3/+2
| | | | memory.cpp
* Move more things to type-safe printf Vas Crabb2016-03-012-11/+0
|
* Add ability to pass argument packs that don't need templates all the way down Vas Crabb2016-03-011-363/+613
|
* Add function for flushing file buffers Vas Crabb2016-03-012-0/+13
|
* * Support *n conversion in stream_format/string_format Vas Crabb2016-03-014-14/+449
| | | | | | | | | * 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
* fixed VS build. (nw) dankan18902016-02-281-1/+1
|
* Replace strformat, strprintf and strcatprintf with type-safe steam_format ↵ Vas Crabb2016-02-286-106/+1532
| | | | | | | | | and string_format Update MAME to use new function Instantiate ODR-used static constant members Make some of the UI code more localisable Remove use of retired functions in tools
* Cleanups and version bump Miodrag Milanovic2016-02-241-1/+1
|
* fix compile (nw) Jeffrey Clark2016-02-151-1/+1
| | | | | | GCC 5.3.1 on Fedora 22 src/lib/util/aviio.cpp:1378:57: error: ‘offset’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
* MAME related settings are saved on request only (nw) Miodrag Milanovic2016-02-062-1/+27
|
* Small code cleanup: dankan18902016-01-291-0/+2
| | | | | | | | | - corealloc.h: added macro definition for global_alloc (nothrow) memory allocation. - textbuf.cpp / wavwrite.cpp: removed pointless cast. - debugcmd.cpp / luaengine.cpp / render.cpp: avoid strlen calls in a loop. - diimage.cpp: simplified "device_image_interface::set_image_filename" function. - miscmenu.cpp / selgame.h / video.cpp(h): replaced int with bool where applicable. - ui.cpp: removed unused code.
* Cleanups and version bumpmame0170 Miodrag Milanovic2016-01-271-3/+3
|
* reverting: Miodrag Milanovic2016-01-201-6/+6
| | | | | | | SHA-1: 1f90ceab075c4869298e963bf0a14a0aac2f1caa * tags are now strings (nw) fix start project for custom builds in Visual Studio (nw)
* tags are now strings (nw) Miodrag Milanovic2016-01-161-6/+6
| | | | fix start project for custom builds in Visual Studio (nw)
* Return std::string objects by value rather than pass by reference AJR2016-01-108-39/+32
| | | | | | - strprintf is unaltered, but strformat now takes one fewer argument - state_string_export still fills a buffer, but has been made const - get_default_card_software now takes no arguments but returns a string
* make make make_unique_clear accept all kind of parameters (nw) Miodrag Milanovic2016-01-082-31/+54
|
* removed memory tracking (nw) Miodrag Milanovic2016-01-082-544/+19
|
* Add realloc implementation as required by the C standard (nw) balr0g2016-01-022-1/+43
|
* Revert "Comment this, so OSX can compile" Miodrag Milanovic2016-01-011-1/+1
| | | | This reverts commit 2a6af208d6638103d4ca285f7a0f5e3fa5afa75a.
* Comment this, so OSX can compile Miodrag Milanovic2016-01-011-1/+1
|
* chd-cd: when chdman wants only the original sectors, give it only the ↵ arbee2015-12-271-12/+15
| | | | original sectors [R. Belmont]
* Fixed missing noexcept in Visual Studio 2013. dankan18902015-12-221-0/+5
|
* Modernize `simple_list`: Vittorio Romeo2015-12-211-21/+21
| | | | | | * Add `noexcept` * Use public `=delete` instead of private ctor/assignment * Remove unused `virtual` from dtor and mark class as `final`
* added option to clear with value for arrays (nw) Miodrag Milanovic2015-12-171-0/+10
|
* removed auto_bitmap_ind*_alloc and auto_bitmap_rgb32_alloc and replaced with ↵ Miodrag Milanovic2015-12-171-0/+19
| | | | | | | std::unique_ptr (nw) auto_alloc_array to unique_ptr Added make_unique_clear
* Fix tagged_list (nw) Miodrag Milanovic2015-12-141-1/+1
|
* make exception save actual tag (nw) Miodrag Milanovic2015-12-121-2/+2
|
* macro removal INLINE -> static inline (nw) Miodrag Milanovic2015-12-128-50/+50
|
* tagged_list without tagmap_t (nw) Miodrag Milanovic2015-12-112-274/+7
|
* Fix after tagmap conversion (nw) Miodrag Milanovic2015-12-101-1/+4
|
* tagmap_t to std::unordered_map or std::unordered_set where applicable (nw) Miodrag Milanovic2015-12-092-40/+39
|