summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/clifront.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Split UI and frontend part from core [Miodrag Milanovic] Miodrag Milanovic2016-04-231-2050/+0
|
* Added file for mame depended handling of opts (nw) Miodrag Milanovic2016-04-221-0/+1
|
* Created mame_options as 1st step towards creating core independent of MAME ↵ Miodrag Milanovic2016-04-211-7/+7
| | | | implementation (nw)
* Isolate CLI part (nw) Miodrag Milanovic2016-04-201-4/+78
|
* Iterate over devices C++11 style AJR2016-04-181-92/+75
| | | | | | Replace the old device_iterator and its specialized versions with functionally equivalent classes that use standard operators to yield references to devices/interfaces rather than pointers. With range-based for loops, they no longer have to be stored in named variables, though they can also be reused concurrently since the iteration state is now maintained by a subclass. Add a few more typical getters to device_t::subdevice_list.
* Merge pull request #812 from jmallach/program-name Miodrag Milanović2016-04-161-5/+5
|\ | | | | Show MAME's program name lowercase in help output.
| * Make display_help() use exename to print MAME's program name. Jordi Mallach2016-04-161-5/+5
| | | | | | | | Rework commit 658a4b1 to use exename instead of appname.
| * Show mame's program name lowercase in help output. Santiago Vila2016-04-151-3/+3
| | | | | | | | | | As the name of the binary is normally installed lowercase, the help output should also reflect this.
* | Reduction code for entries of "enum class ui_menu_item_type" and the use of ↵ dankan18902016-04-151-1/+0
| | | | | | | | item_append with separators.
* | lower deps on clifront.h (nw) Miodrag Milanovic2016-04-151-0/+1
|/
* diimage.cpp: Allow image devices to be configured with a fixed etabeta782016-04-121-0/+3
| | | | | | | | | (not user selectable) piece of software and updated a few options and menu to acknowledge such possibility. [Fabio Priuli] macs.cpp: Converted to use generic cartslot with fixed software configuration. Cleaned up loading and banking systems in the driver as a result. [Fabio Priuli]
* Iterate over core classes C++11 style AJR2016-03-311-54/+54
| | | | | | | | C++11 range-based for loops can now iterate over simple_list, tagged_list, core_options, device_t::subdevice_list, device_t::interface_list, render_primitive_list and all subclasses of the above, and much code has been refactored to use them. Most core classes that have these lists as members now have methods that return the lists themselves, replacing most of the methods that returned the object at an owned list's head. (A few have been retained due to their use in drivers or OSD.) device_t now manages subdevice and interface lists through subclasses, but has given up the work of adding and removing subdevices to machine_config. memory_manager has its tagged lists exposed, though the old rooted tag lookup methods have been removed (they were privatized already).
* Cleanups and version bump Miodrag Milanovic2016-03-301-1/+1
|
* Populate plugins structures and start marked plugins (nw) Miodrag Milanovic2016-03-251-0/+15
|
* Fold some redundant code Vas Crabb2016-03-181-47/+15
|
* * Remove confusing method from vectorstreams that hide base_ios method ↵ Vas Crabb2016-03-181-22/+34
| | | | | | | | | | | | | (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.
* Make osd_file a polymorphic class that's held with smart pointers Vas Crabb2016-03-141-46/+39
| | | | | | | | | | | | | | | 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
* Turn core_file into a proper class that gets cleaned up safely using unique_ptr Vas Crabb2016-03-061-1/+1
| | | | Subverted somewhat by chd_file class
* Replace strformat, strprintf and strcatprintf with type-safe steam_format ↵ Vas Crabb2016-02-281-4/+2
| | | | | | | | | 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
* Revert "New driver specifiers; modify -listclones, -listsource; add -listtree" Miodrag Milanović2016-02-251-236/+23
|
* Merge pull request #650 from ajrhacker/listclones Miodrag Milanović2016-02-251-23/+236
|\ | | | | New driver specifiers; modify -listclones, -listsource; add -listtree
| * New driver specifiers; changes to -listclones, -listsource; add -listtree AJR2016-02-241-23/+236
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Five new specifiers for driver enumeration and all commands depending thereon: - @source.cpp matches all drivers in source.cpp - ^driver matches driver and all its clones - :drivbios matches drivbios and all drivers having it as their BIOS - ^ matches all drivers excluding clone sets - : matches all BIOS roots Note that these new specifiers are not compatible with other wildcards; they only perform normal case-insensitive matches with driver or source file names. The -listclones command now lists drivers in a completely different, human-readable format. It performs an extra loop to deduce the parent set name if a clone was specified; this causes, for instance, -listclones pacman and -listclones puckman to produce identical output. It includes descriptions with the clone driver names much like -listfull, and uses the parent set's description as a header for its clones. It also recognizes BIOSes and lists unique matching sets with no clones at the end of the output. The -listsource command outputs not only the source file of each matching driver, but also its parent set and BIOS root (if any). These are output using the new @sourcefile, ^driver and :bios specifiers. The new -listtree command is a human-readable analogue to -listsource and an alternative to -listclones. It tabulates drivers by source file in tree format, with the names of clones indented under their parents and drivers indented under their respective BIOS roots. The -listbrothers command remains functionally unchanged, but should be considered somewhat deprecated in favor of the @sourcefile specifier with other listing commands. Fix include_all counting error causing assert to fail in find_approximate_matches (nw) Relax dependencies on drivenum.h in UI headers (nw)
* | Cleanups and version bump Miodrag Milanovic2016-02-241-2/+2
| |
* | cleanup (nw) Miodrag Milanovic2016-02-211-64/+0
| |
* | Added option in the "Customize UI" menu for selecting the language. (nw) dankan18902016-02-211-3/+5
| |
* | Added multi-language support for MAME [Miodrag Milanovic] Miodrag Milanovic2016-02-201-0/+64
| | | | | | | | | | Added sample language to show display in cyrillic use mame -lang "Serbian (Cyrillic)"
* | Remove redundant defines, in order to make translation easier (nw) Miodrag Milanovic2016-02-201-4/+6
|/
* initialize LUA bit earlier to give more opportunities to scripts (nw) Miodrag Milanovic2016-02-141-2/+5
|
* made -cc creates ui.ini as well (nw) Miodrag Milanovic2016-02-061-0/+10
|
* Software list entries can now supply slot option defaults AJR2016-01-301-1/+1
| | | | | | This feature is enabled when executing 'mame driver software'. After the specified software is found in the software list and attached to an appropriate image device, the software part's feature list is examined for any feature whose name is that of a slot device with _default appended. The feature's value field becomes the slot's default option, which overrides any driver-specified default and can be overridden by user-specified options. No software lists have been updated to use this feature at the moment.
* Some more validity checking improvements: AJR2016-01-241-1/+2
| | | | | | - The -validate command now accepts an optional string, validating only matching drivers. This has proven useful for debugging. The default is to validate all drivers as usual. - Devices' names are tracked when validating their auto-finders.
* reverting: Miodrag Milanovic2016-01-201-11/+10
| | | | | | | SHA-1: 1f90ceab075c4869298e963bf0a14a0aac2f1caa * tags are now strings (nw) fix start project for custom builds in Visual Studio (nw)
* Revert "rest of device parameters to std::string (nw)" Miodrag Milanovic2016-01-201-15/+15
| | | | This reverts commit caba131d844ade3f2b30d6be24ea6cf46b2949d7.
* Revert "Fix broken listdevices sorting (nw)" Miodrag Milanovic2016-01-201-5/+9
| | | | This reverts commit 7218ceee7bfa3e8fdb10bea029bd7c78c9e2d223.
* Revert "Fix for hang, emu_options::add_slot_options was changed, other ↵ Miodrag Milanovic2016-01-201-1/+1
| | | | | | things are just cleanup (nw)" This reverts commit 841a55985e60a16f745422fb9aa06c420d8be8ba.
* Fix for hang, emu_options::add_slot_options was changed, other things are ↵ Miodrag Milanovic2016-01-181-1/+1
| | | | just cleanup (nw)
* Fix broken listdevices sorting (nw) AJR2016-01-161-9/+5
|
* rest of device parameters to std::string (nw) Miodrag Milanovic2016-01-161-15/+15
|
* tags are now strings (nw) Miodrag Milanovic2016-01-161-10/+11
| | | | fix start project for custom builds in Visual Studio (nw)
* Return std::string objects by value rather than pass by reference AJR2016-01-101-21/+10
| | | | | | - 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
* removed memory tracking (nw) Miodrag Milanovic2016-01-081-9/+1
|
* Allow mame -validate -verbose to capture verbose messages AJR2016-01-021-1/+1
|
* Just name not acronym (nw) Miodrag Milanovic2015-12-311-1/+1
|
* Revert "removing MESS brand and making MAME a name not acronym (nw)" Miodrag Milanovic2015-12-311-1/+1
| | | | | | Too contraversial for now :) This reverts commit 47bf03513e4fc8a916144fcc43fc9826aa03bedb.
* removing MESS brand and making MAME a name not acronym (nw) Miodrag Milanovic2015-12-311-1/+1
|
* Cleanups and version bumpmame0169 Miodrag Milanovic2015-12-301-2/+0
|
* Revert "Allow mame -validate -verbose to display more messages (and make ↵ Miodrag Milanović2015-12-281-6/+0
| | | | erro…"
* Allow mame -validate -verbose to display more messages (and make ↵ AJR2015-12-271-0/+6
| | | | error/warning output a little neater)
* Make -verifyroms verify sub-devices like mpu401 and c2040fdc qmc22015-12-231-0/+61
|
* tagmap_t to std::unordered_map or std::unordered_set where applicable (nw) Miodrag Milanovic2015-12-091-17/+15
|