Commit graph

25 commits

Author SHA1 Message Date
Dirk Best 31639173da
ci-windows.yml: mingw-w64-x86_64-llvm is required for llvm-ar 2024-01-14 11:40:42 +01:00
Vas Crabb 1147d8fc44 Revert "Set C++ standard to C++17 via environment for bgfx shader build CI job."
This reverts commit 63b00cabc3.
2023-09-08 05:14:21 +10:00
Vas Crabb 63b00cabc3 Set C++ standard to C++17 via environment for bgfx shader build CI job.
The SPIRV tools require C++17 but it isn't set anywhere in the build files supplied with bgfx
2023-09-06 01:42:50 +10:00
Vas Crabb 2498f2b7cf Miscellaneous fixes and refactoring:
ui/analogipt.cpp: Fixed bar graph display for fields with ranges
that wrap through zero.

emu/inputdev.cpp: Separateed analog axis deadzone and switch threshold
settings, reduced default deadzone, and fixed a potential division by
zero if the deadzone and saturation settings are equal.

emu/ioport.cpp: Fixed behaviour of absolute analog fields where range
passes through zero - it previously only worked for specific
combinations of mask, minimum and default.  Removed a workaround from
universal/getaway.cpp that is no longer necessary.

emu/input.cpp: Fixed unintuitive behaviour when an absolute field is
assigned an OR combination of a relative control folled by an absolute
control (e.g. Mouse X or Joy 1 LSX).  Also fixed reading axis input
sequences where an axis code is followed by a switch code (these can
only be produced by manually editing configuration files, not through
MAME's UI), and fixed the returned type when multiple relative axes sum
to zero.

osd/modules/input_dinput.cpp: Fixed hat switches being stuck in up
position when input is suspended in the background

taito/taitoio_yoke.cpp: Give throttle control a distinct type, and don't
auto-centre.

osd: Added option to select MIDI provider module (currently only
PortMidi and the dummy module are available).  Also put various things
in namespaces, and fixed builds including SDL sound module with native
Windows OSD.

emu/validity.cpp: Added check to catch I/O port fields using UI input
types.

emu/inpttype.ipp: Renamed inputs that were causing confusion.  "Bill"
and "Track" were causing confusion for translators and hence likely
causing confusion for many users, especially those who are not native
English speakers.  "Track" as an abbreviation for "Trackball" was
frequently being mistranslated, e.g. in the sense of a CD track
selection button or even in the sense of a railway track.  There's no
reason to abbreviate it.  "Bill" in the US English sense as a banknote
is too ambiguous and was causing confusion for translators.  It's better
to use the less ambiguous "Banknote".  Corrected Greek translations of
"Trackball".

Don't run GitHub Actions on issue template changes.
2023-01-28 08:16:53 +11:00
Vas Crabb f6f47adbdb -Added GitHub issue template for bug reports. [Firehawke, Vas Crabb]
-sega: Got rid of some unnecessary and contradictory member
 initialisations.  Having members initialised in the constructor and
 also at declarations just leads to confusion.
2023-01-07 03:52:51 +11:00
Olivier Galibert 1f7004c25b Fix the linux CI, hopefully 2022-11-15 16:27:32 +01:00
Vas Crabb 5f3572edb5
Adjusted GitHub CI workflows: (#10452)
* Changed Linux GCC build to use the tiny subtarget.
* Added chdman and unidasm executables to artefacts.
2022-10-21 14:22:19 +11:00
invertego 3ad363e469
Added Windows/clang GitHub CI build task. (#10373) 2022-10-20 01:53:21 +11:00
Vas Crabb 6176c84768 Added CI job to check for likely mame.lst errors. 2022-07-02 04:57:25 +10:00
Vas Crabb 0d0afa21e2 Fixed a dumb typo in CI workflow and made task name shorter 2022-07-01 07:47:33 +10:00
Vas Crabb 1a79bbb5e7 Added GitHub actions workflow to build bgfx shaders and upload as an artefact. 2022-07-01 07:13:44 +10:00
neilnaveen f00d28e2bd
Set minimum required permissions on GitHub Actions workflows. (#10004) 2022-06-29 18:43:37 +10:00
Vas Crabb 669b1f6ade -docs: Started documenting plugins.
* Also added a couple of missing command-line options, and added a local
  table of contents to the (rather long) command line options page.

-Added a separate CI target for localisation updates that produces an
 artefact, and removed the message catalogs from the trigger paths for
 the Linux CI build.
2021-10-24 05:48:05 +11:00
Vas Crabb 33f5ab983d -Cleaned up CI targets:
* Restricted Linux CI build to only run on changes to code,
  translations, software lists, and build scripts.
* Restricted Windows/macOS CO to only run on changes to code and build
  scripts.  They provide nothing over Linux for the other stuff.
* Added plugin properties and controller file validation to the "hash"
  workflow.
* Added a workflow for building documentation, so pull requests that
  affect documentation will at least get a basic check in advance.

-plugins/autofire: Bumped version as configuration format has changed.
2021-10-22 02:46:52 +11:00
Vas Crabb 38082ccbee
Overdue internal UI enhancements (#8674)
* frontend: Added support for message context to localisations.
* frontend: Added string_view versions of the message lookup functions.
* frontend: Added a few more folder options to the internal UI.
* emu/softlist.cpp: Use more appropriate containers.
* Switched to Python 3 by default - this will become a requirement.
* Updated msgfmt.py for message context support.
* frontend: Show all software item info in the internal UI.
* frontend: Search alternate titles in software selection menu.
* 3rdparty/utf8proc: Updated to v2.6.1 (has several fixes).
* frontend: Added software filters for common info fields.
* frontend: Allow UI manager to hold onto persistent session data.
* frontend: Cache software lists for eight machines.
* frontend: Added support for loading localised system names.
* frontend: Add UI for selecting localised system names.
2021-10-09 12:16:17 +11:00
Dirk Best 499ddb2af8
Use llvm-ar for GitHub Actions Windows CI build (#7917) 2021-04-01 23:10:50 +11:00
Vas Crabb 414b538569 Updated GitHub CI for executable names, added ORM check to Linux builds 2021-01-26 19:10:57 +11:00
Olivier Galibert 50ebf8b303 Disable msvc windows CI, breaks for probably unfisable heap space issues 2021-01-11 08:05:12 +01:00
Dirk Best 63a7300ef4
ci-windows.yml: Bump microsoft/setup-msbuild to 1.0.2 2020-11-06 10:02:52 +01:00
Dirk Best e3c1c65d56
Update ci-windows.yml
ci-windows.yml:  Remove update step to prevent errors about outdated mirrors
2020-11-01 12:33:09 +01:00
Dirk Best 9f0bd6db10
ci-windows.yml: Fix linking with lld 2020-10-25 17:05:13 +01:00
Dirk Best 84fbb29265
ci-windows.yml: Disable linking with LLD (broken currently) 2020-10-25 11:08:30 +01:00
Dirk Best a43690ce09
ci-macos.xml: Remove brew update step 2020-10-21 14:24:37 +02:00
Dirk Best 3eaf1be30c
Create GitHub Actions for CI (#7335)
This is intended as a replacement for AppVeyor and parts of TravisCI. It will create full builds of MAME (including tools) for the following platforms:

- Linux (GCC and Clang)
- macOS (Clang)
- Windows (GCC and MSVC 2019)

It will also upload the resulting executable as artifact so that it can be used for regression testing.

This commit also removes the unused TeaCI drone files.
2020-10-21 22:42:17 +11:00
Dirk Best 8b59533952
Create GitHub Action to validate hash XML files (#7323)
* Create GitHub Action to validate hash XML files

This GitHub Action will run on any commit or pull request that changes a file in the "hash" directory. It will do a simple xmllint run for the HSI files and will check the softwarelist XML files against their DTD.

* Delete c64_flop_clcracked.xml

No content, can be recreated if needed.

* Remove references to removed softwarelist c64_flop_clcracked.xml
2020-10-17 00:13:51 +11:00