Commit Graph

96 Commits

Author SHA1 Message Date
Vas Crabb 82c6d7dbc5 Allow layouts to specify screen tags rather than indices - makes order of instantiation irrelevant in Model 1 etc. 2018-07-10 04:26:57 +10:00
smf- 78f0aff27f Apply same flags when building with SOURCES= as when building normally. This fixes the issue which prompted "model1: clear up some memory issues with very recent gcc (nw)" (which only occurred in a SOURCES= build). (nw) 2018-03-15 15:54:37 +00:00
Julian Sikorski eba66fbab8 Fix build failure with SOURCES defined (#3187)
* Fixed building using system utf8proc

* Fixed building using system portaudio

* Allow using system-wide asio headers (1.11.0 or higher required).

* Allow using system-wide glm headers

* Allow using system-wide rapidjson headers

* Put all ext_includedir calls together

* Fixed build failure when SOURCES is defined
2018-02-10 22:58:29 +01:00
hap 2069183658 doc: update MAME short description (nw) 2017-11-05 18:12:28 +01:00
hap 2c1b285889 windows rc: use emulator name for description (this is the application title that shows up on task manager for example) (nw) 2017-11-05 14:58:09 +01:00
hap 7d7c2c5507 make emulator description generic (nw) 2017-11-05 01:50:16 +01:00
Vas Crabb 3a5c5d15c7 Add support for layout item groups, replace simple_list with more
appropriate containers, remove misleading const qualifiers, reduce
repeated XML walking.

(nw) Groups aren't parameterised, so they aren't as useful as they could
be (yes, it's on my TODO list).  However, it's already useful for
putting a common set of elements in multiple views, potentially at
different locations/scales.  See intlc44.lay and intlc440.lay for
examples of the level of copypasta this can eliminate.  Be aware that
groups with explicit bounds don't clip thair content, it's only used for
calucating the transform matrix.
2017-07-29 15:17:14 +10:00
Vas Crabb 3353592d00 remove vestigial exception class (nw) 2017-07-11 03:00:24 +10:00
Vas Crabb 9ed831e0a6 (nw) notes, coverity complaints, INTELLEC 4/MOD 4 layout, detect duplicate bounds/color in layouts 2017-07-09 01:50:54 +10:00
Vas Crabb 1eb3ffe15c work around python version differences (nw) 2017-07-09 00:12:58 +10:00
Vas Crabb d97c4f9d9f Do substantial validation of internal layouts at build time 2017-07-08 18:30:43 +10:00
Vas Crabb fb087b6c92 Cherry-pick some features from self-registering drivers PoC:
* Use size_t for sizes and <algorithm> for algorithms
* Fix up some files that were getting linked into multiple libs
* Add missing virtual method to sh2 peripheral class
* Put shortname in driver struct for locality
* Use shared pointers in config LRU cache for safety
2017-02-16 12:20:35 +11:00
Vas Crabb be26ac9abf coretmpl: add an associative LRU cache with map-like behaviour
selmenu: use LRU cache so icons don't all need to be reloaded on scroll

uismall.bdf: set default character for missing glyphs

rendfont.cpp:
* encapsulate many BDF and BDC handling details
* make file I/O 64-bit clean, check for allocation errors
* more solid BDF parser with error messages and trace logging
* fix heap smash when building bitmaps for BDF fonts
* extend BDC format to support high planes and default character
* render default character if glyph not found for BDF/BDC
2016-12-15 17:00:34 +11:00
Miodrag Milanovic d718d3cc3d Made ldplayer regular driver, same as vgmplay (nw) 2016-11-23 14:26:04 +01:00
Vas Crabb 19621e2156 python why are you incompatible (nw) 2016-11-23 07:53:30 +11:00
Vas Crabb 5eefcfdb68 Rewrite complay.py to parse/minify layout XML
Doesn't make much difference to executable size, but it catches XML errors at build time rather than waiting for you to try the system (nw)
2016-11-20 20:54:10 +11:00
Miodrag Milanovic ddb290d5f6 NOTICE (TYPE NAME CONSOLIDATION)
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
2016-10-22 13:13:17 +02:00
Miodrag Milanovic 4f84793a05 made proper formats compiled only if needed (nw) 2016-08-12 18:27:54 +02:00
Miodrag Milanovic 99f69920ac Fix dependency resolving (nw) 2016-05-01 11:01:27 +02:00
Mike Naberezny b4408c2906 complay.py: Python 3 compat. (nw) 2016-03-30 21:06:12 -07:00
Miodrag Milanovic 9353a1ccb3 Compressed internal layouts [David Haywood] 2016-03-30 20:40:05 +02:00
Miodrag Milanovic fe5c894890 added line back removed by mistake (nw) 2016-03-29 15:48:24 +02:00
Miodrag Milanovic 5cab7dbd8b fix per source build (nw) 2016-03-29 10:58:01 +02:00
balr0g 822c2689b0 (nw) 2016-03-26 09:53:59 -04:00
balr0g 22e5ebfbe2 Proper msgfmt fix for Python 2.6 (nw) 2016-03-26 09:46:01 -04:00
balr0g 4a47aa234e oops (nw) 2016-03-26 09:02:41 -04:00
balr0g 1f6688b967 Bugfixes to msgfmt, charset parsing broken on Python 2.6 for inexplicable reasons but does not cause failure (nw) 2016-03-26 09:01:45 -04:00
balr0g b79f9db981 (nw) 2016-03-25 15:48:57 -04:00
balr0g 9fbc939781 Make msgfmt also Python2 compatible and fix several bugs (nw) 2016-03-25 15:42:35 -04:00
balr0g 66e5f75c22 Import current msgfmt.py from Python 3 tree (nw) 2016-03-25 15:42:35 -04:00
balr0g ee68c9aab3 Convert msgfmt script to UTF-8 (nw) 2016-03-24 09:40:23 -04:00
Jeffrey Clark b1182ed63b fix build errors (nw) 2016-03-05 14:37:49 -06:00
Miodrag Milanovic 6cc3a6cc90 Support for filtering exceptions (nw) 2016-03-05 11:55:22 +01:00
Miodrag Milanovic b489eb202c made sources build use info from mame.lst (nw) 2016-03-02 14:21:26 +01:00
Miodrag Milanovic 8a84dd2232 Added mame.lst as main list, it is now generated, and should be updated manually (nw)
Filtering for subtargets are done by flt files now
2016-03-02 12:49:37 +01:00
Olivier Galibert 9740102e64 fix makedep when encoutering GAMEL (nw) 2016-02-23 19:26:50 +01:00
Miodrag Milanovic be7cc43b08 Placed official version, and removed other files since work only with parsing python (nw) 2016-02-21 14:45:38 +01:00
Miodrag Milanovic 78ada55150 Add other python tools for gettext replacement (nw) 2016-02-21 14:16:28 +01:00
Miodrag Milanovic cc687bcd95 Added python replacement for msgfmt (nw) 2016-02-21 14:09:48 +01:00
Miodrag Milanovic f5e8c864c2 fix issue with SOURCES=src/mame/drivers/namcops2.cpp (nw) 2016-02-13 19:54:01 +01:00
Miodrag Milanovic 3ac71817d7 Fix build for drivers that use netlist (nw) 2016-01-06 10:40:43 +01:00
Olivier Galibert 11bfbc1736 makedep.py: Finish making it python3-compatible [O. Galibert] 2016-01-03 11:12:11 +01:00
Miodrag Milanovic 033227778e Remove not longer needed ForceCpp flag (nw) 2015-11-08 13:44:34 +01:00
Mike Naberezny 2323a3c851 png.py: Fix undefined name 'e'. (nw) 2015-11-02 23:01:49 -08:00
Mike Naberezny f76c73b917 png.py: Remove unused import. (nw) 2015-11-02 22:59:22 -08:00
Miodrag Milanovic 86d3aa8065 Moved tools in proper place, and moved build python scripts together with other scripts (nw) 2015-10-07 12:01:21 +02:00