Commit Graph
36015 Commits
Author SHA1 Message Date
quietly-turning 7804efb103 update GlobalFunctions prose in LuaDocumentation
Expand and clarify the prose for many gloabl Lua functions described in
in LuaDocumentation.xml.

Get Lua.xml's GlobalFunctions listing current with 5_1-new.  Remove old
global functions (those moved to 5.1's "legacy" theme) from Lua.xml.
2020-06-25 04:24:24 -04:00
quietly-turning c57279f6b8 allow <pre> HTML elements in Luadoc via Lua.xsd
MDN's web docs describe the "HTML <pre> elements represents preformatted
text which is to be presented exactly as written in the HTML file."

It's handy for formatting multiline code examples in
LuaDocumentation.xml.
2020-06-25 03:58:57 -04:00
quietly-turningandGitHub 89229ed915 Merge pull request #1855 from mwkroening/gtk3
Upgrade to gtk3
2020-06-24 17:49:14 -04:00
Colby Klein 6c48eb3d5c Fix compile on raspberry pi 4/A72
Game runs pretty close to fine, needed to use system libpng and haven't
attempted to use ffmpeg, however.

I'm seeing in the 50fps range in gameplay with no performance tweaks
but having set -mtune=cortex-a72. There's a lot of perf opportunities,
so consistent 60 is certainly within reason without too much pain.
2020-06-23 16:58:00 -07:00
Martin KröningandGitHub bfc167fe6d Replace libpng submodule with source (#2023)
* Replace libpng submodule with source

Taken from 505e70834d35383537b6491e7ae8641f1a4bed1876dbfe361201fc80868d88ca  libpng-1.6.37.tar.xz

* Remove submodule-related config from CI
2020-06-23 15:41:52 -07:00
quietly-turningandGitHub 1f1fa3c2a9 Merge pull request #1854 from mwkroening/libpng
Upgrade libpng to v1.6.37
2020-06-23 16:53:13 -04:00
Seán de BúrcaandMartin Kröning 6649a116ed Update gtk+ LoadingWindow to use gtk3 2020-06-21 23:31:02 +02:00
Martin Kröning 7ecc7b262b Upgrade libpng to tag v1.6.37
gtk_image_new_from_file results in a segmentation fault with the new version.
2020-06-20 12:37:56 +02:00
Martin KröningandMartin Kröning 37e60ffc97 Adjust to vanilla libpng 2020-06-20 12:35:04 +02:00
Martin KröningandMartin Kröning d4caf2c8f8 Replace in-tree libpng 1.5.10 src with submodule at tag v1.5.30 2020-06-20 12:35:04 +02:00
quietly-turningandGitHub 1aaebaa712 Merge pull request #1882 from mwkroening/keep-line-endings
Don't enforce line endings
2020-06-19 15:14:59 -04:00
quietly-turningandGitHub cf945e3af3 Merge pull request #1884 from mwkroening/include-png
Only add bundled inc dirs, when using bundled libs
2020-06-18 22:17:01 -04:00
Martin Kröning 092cffa182 Find system jsoncpp via pkg-config, add system include 2020-06-18 23:27:12 +02:00
Martin KröningandMartin Kröning 960c57c4f3 Only add bundled inc dirs, when using bundled libs
Fixes #1881
2020-06-18 22:36:02 +02:00
quietly-turningandGitHub 3023bb90d1 Merge pull request #2020 from mwkroening/jsoncpp-ci
CI: Test system jsoncpp
2020-06-18 16:05:15 -04:00
Martin Kröning 4ef5078b2d CI: Test system jsoncpp 2020-06-18 21:56:58 +02:00
quietly-turningandGitHub 1e5cbe1324 Merge pull request #1889 from mwkroening/extract-jsoncpp
Remove custom functions from jsoncpp headers
2020-06-18 15:40:14 -04:00
Martin Kröning f075d6a617 JsonUtil: Adapt functions to vanilla jsoncpp 2020-06-18 20:56:40 +02:00
Martin Kröning 76f805fe9c jsoncpp: Reset existing files to svn-release-0.5.0 2020-06-18 20:35:17 +02:00
quietly-turningandGitHub 0d44b8c7f9 Merge pull request #2012 from Arusekk/backtrace-sigbus
Unix backtrace call detection
2020-06-18 00:54:17 -04:00
Arusekk 46f3e8aa9d Unix backtrace call detection
If the supposed return address is a pointer to the beginning of an
executable page, and the page before is an oversized file mapping,
like vvar before vdso, the backtrace would be terminated by SIGBUS.

To avoid this, check not for readable, but for executable instead.
2020-06-17 10:04:54 +02:00
quietly-turningandGitHub 56caf6da4b Merge pull request #1888 from mwkroening/notes_loader-invalid_argument
Accept non numbers in NotesLoaderSM
2020-06-16 15:00:17 -04:00
quietly-turningandGitHub a21ebbd053 Merge pull request #2018 from mwkroening/actions
Actions Badge: Branch Fixup
2020-06-14 10:59:14 -04:00
Martin Kröning 6cb69c5e2a Actions Badge: Branch Fixup 2020-06-14 16:46:15 +02:00
quietly-turningandGitHub 94203b8fbf Merge pull request #2015 from mwkroening/actions
Add GitHub Actions CI
2020-06-14 10:27:47 -04:00
Martin Kröning 98e1a20cc3 Don't disable exceptions on macOS 2020-06-13 23:36:10 +02:00
Martin Kröning 67bce17382 Extract logic to NoteDataUtil::StringInterpretsAs 2020-06-13 23:36:10 +02:00
Martin KröningandMartin Kröning dc25295879 Catch stoi invalid_argument in BGCHANGES 2020-06-13 23:35:33 +02:00
quietly-turningandGitHub a6b45b32c6 Merge pull request #2014 from mwkroening/appveyor
Fix Windows build
2020-06-13 16:53:20 -04:00
Martin Kröning b24abc6f1f Add GitHub Actions badge 2020-06-13 20:00:58 +02:00
Martin Kröning ecdad57d70 Add GitHub Actions CI 2020-06-13 18:59:14 +02:00
Martin Kröning 10e3a2f2e8 Don't cast doubles to enums
C:\Repos\StepMania\src\Grade.cpp(56): error C2440: 'type cast': cannot convert from 'double' to 'Grade' [C:\Repos\StepMania\Build\src\StepMania.vcxproj]
  C:\Repos\StepMania\src\Grade.cpp(56): note: Conversions between enumeration and floating point values are no longer allowed
2020-06-13 15:40:50 +02:00
quietly-turningandGitHub 376e5f46d8 Merge pull request #2013 from RhythmLunatic/crsDescriptionFix
Write description tag in CourseWriterCRS
2020-06-12 19:17:28 -04:00
RhythmLunatic b300bb516d Format it like the other lines 2020-06-12 15:21:08 -05:00
RhythmLunatic 0befd8bf10 Write description tag to cache 2020-06-12 15:19:26 -05:00
quietly-turningandGitHub 0fe9eff750 Merge pull request #2009 from quietly-turning/wildcard+endless-fix
Course Wildcard + Endless Fix (replaces #1830)
2020-06-09 16:46:17 -04:00
quietly turning 3ba2b8ba54 fix Course.cpp for 5_1-new
random_up_to() was written for SM5.2 and RageUtil's RandomInt() seems
a suitable replacement for 5_1-new.
2020-06-07 20:09:37 -04:00
Jonathan Albertandquietly turning f49229809d Minor fixes 2020-06-07 20:07:49 -04:00
Jonathan Albertandquietly turning 1e6b0d7f35 Fix trail generation in endless mode courses 2020-06-07 20:07:17 -04:00
Jonathan Albertandquietly turning 3bb1045ce1 Fix crash when getting matching steps in endless courses 2020-06-07 20:01:08 -04:00
Jonathan Albertandquietly turning ff75af1f20 Fix song selection in trail generation (for nonstop/oni) 2020-06-07 20:00:32 -04:00
quietly-turningandGitHub 42f989b684 Merge pull request #1923 from eliask/fix-lrc-parsing-crash
Fix LRC parsing crash for unrecognized values
2020-06-06 00:11:45 -04:00
quietly-turningandGitHub b09d492522 Merge pull request #2007 from richardloxley/fix-announcer-evaluation-sounds-issue-2005
Fix issue 2005: incorrect announcer sounds on the evaluation screen
2020-06-04 22:16:31 -04:00
Richard Loxley 9ab72f4fb5 Fix issue 2005: incorrect announcer sound files are played on the evaluation screen if the current theme doesn't have exactly 7 grade tiers.
This change maps the new grade tiers evenly to the 7 old grade tiers to trigger the correct sound files.
It also extends that mapping to the grade tiers used for playing cheering for the top few tiers.
2020-06-04 16:40:28 +01:00
quietly-turningandGitHub b3bd9a3117 Merge pull request #2002 from RhythmLunatic/GetCurrentSection
Add MusicWheel:GetCurrentSections()
2020-05-28 01:22:47 -04:00
RhythmLunatic 88f7d34632 Slightly more clear documentation 2020-05-26 23:15:16 -05:00
RhythmLunatic 6bcae89aaf Update documentation 2020-05-26 22:45:50 -05:00
RhythmLunatic 12e983ba51 add GetCurrentSections 2020-05-26 22:36:53 -05:00
Tracy WardandGitHub 6bea7639e8 Merge pull request #2000 from mqp/joystick-log-errno
Log errors while reading joystick input
2020-05-16 01:36:46 -04:00
Marshall Polaris a10f16cb3c Log errors while reading joystick input 2020-05-15 21:24:16 -07:00