Commit Graph
36025 Commits
Author SHA1 Message Date
Colby Klein 39d516f6de simplified FTOC for aarch64
this isn't actually a good solution, really RageVColor shouldn't be
doing this conversion at all and should be refactored/removed.

this gets gameplay running a bit smoother, much closer to holding 60fps
2020-06-27 09:54:58 -07:00
quietly-turningandGitHub 7b4e4f81d0 Merge pull request #1886 from mwkroening/tomcrypt-header
Use correct tomcrypt headers
2020-06-25 22:24:13 -04:00
quietly-turningandGitHub 2b11f88b81 Merge branch '5_1-new' into tomcrypt-header 2020-06-25 21:53:21 -04:00
quietly-turningandGitHub 135dc0ddab Merge pull request #2026 from quietly-turning/more-Luadoc-updates-take2
More Luadoc Updates
2020-06-25 06:25:11 -04:00
quietly-turning df07b4c649 update Version, Date in Lua.xml
These elements are normally automatically updated when a new Lua.xml is
generated using the --ExportLuaInformation command line argument, but
I've manually updated them here.  It works for now.

Running --ExportLuaInformation will generate a new Lua.xml file with
everything available to Lua, including some repetitively-named functions
ported from notitg that were manually condensed down within Lua.xml.

We want to keep these condensed parts, so ExportLuaInformation should
probably be fixed/replaced in the future.
2020-06-25 05:14:11 -04:00
quietly-turning 4635973799 add grouping attr to Class elements in LuaDoc
These "grouping"s aren't part of the spec in Docs/Luadoc/Lua.xsd, so
they won't appear when Lua.xml is viewed in a web browser, but can still
be used by external API doc applications until ExportLuaInformation is
improved.
2020-06-25 05:10:25 -04:00
quietly-turning 5574113d63 tidy preformatted code examples in LuaDoc 2020-06-25 05:06:16 -04:00
quietly-turning 91bf61a178 update LuaDocs for Classes
Fix, clarify, and expand prose in LuaDocumentation.xml for classes made
available to Lua.

Add elements for DeviceList, InputList, Quad, and SongMeterDisplay to
Lua.xml.
2020-06-25 04:55:13 -04:00
quietly-turning d62797973f update LuaDocs for Singletons, Enums for 5.1-new 2020-06-25 04:49:09 -04:00
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öningandMartin Kröning 43ecbf918b Use standard tomcrypt header 2020-06-21 22:55:00 +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