Commit Graph
136 Commits
Author SHA1 Message Date
teejusb ff3ce9544a Revert "Update mbedtls from 3.21 -> 3.6.0 LTS"
This reverts commit 6123c2bad4.
2024-04-12 10:36:51 -07:00
teejusb 6123c2bad4 Update mbedtls from 3.21 -> 3.6.0 LTS 2024-04-10 20:22:31 -07:00
nabulatorandteejusb 04c234831b bump ffmpeg to n5.1.4 to compile on Arch Linux as per @Drayux comment 2024-04-04 09:21:16 -05:00
teejusb 410c4b2f9e Update IXWebSocket to v11.4.5 from v11.4.3 2024-03-12 16:53:36 -07:00
Arthur Eubanksandteejusb 7f76a1f5b9 Make tomcrypt workaround for #107 apply everywhere
I'm seeing the same warning building with clang on Linux.
2023-10-24 13:59:08 -07:00
Ben Kirzhnerandteejusb d07cb4c02f Unbreak windows builds by reverting mbedtls to 3.2.1 2023-06-15 00:13:24 -07:00
Ben Kirzhnerandteejusb 7c4f628247 Add requested TODOs. 2023-05-22 12:37:27 -07:00
Ben Kirzhnerandteejusb 0c5160dd1c Use c standard w/o warnings on macOS >=13.3
See itgmania/itgmania#107 for error details.
2023-05-22 12:37:27 -07:00
Ben Kirzhnerandteejusb c0b6ea633c Update mbedtls, fixing unused variable warning 2023-05-22 12:37:27 -07:00
Martin Natano 78fb2e9fc3 Decouple <cstddef> 2023-04-20 11:21:29 +02:00
teejusb ef144a7f9d Remove WITH_MINIMAID CMake option
Always build ITGmania with Minimaid

There's no harm in always having this built as it's configurable based on the LightsDriver field.

Update mmmagic.dll -> mmmagic64.dll to conform with the new dll filename

Also fix PacDrive.h header
2022-12-19 20:19:16 -08:00
Martin Natano 838de6fb81 Remove support for mingw
MSVC works fine and the bundled mingw libraries are outdated.
2022-06-07 22:49:05 +02:00
Martin Natano 258fd61229 Use mbedtls on all platforms & bundle root CAs
Certificate bundle downloaded from https://curl.se/docs/caextract.html.
It is licensed under the MPL 2.0.
2022-06-07 10:54:10 +02:00
Martin Natano f47ea91e0a Stop looking for bundled libraries 2022-06-07 10:54:10 +02:00
Martin Natano 7b9a799cdb Statically link MSVC runtime 2022-06-03 19:47:45 +02:00
Martin Natano 2fc8705f45 Force dead code elimination for libtommath 2022-05-31 18:21:35 +02:00
Martin Natano 327278436d Remove support for building with system libraries 2022-05-31 18:21:35 +02:00
Martin Natano f83dd1989d Move libtomcrypt to submodule 2022-05-30 23:57:33 +02:00
Martin Natano 967ff91cc6 Upgrade libtommath unknown version from 2010 -> 1.2.0 and move to submodule 2022-05-30 23:57:33 +02:00
Martin Natano 9723a67ad7 Upgrade pcre 4.5 -> 8.45 2022-05-30 23:57:33 +02:00
Martin Natano d112fdd1d2 Rename libmad directory 2022-05-30 23:57:33 +02:00
Martin Natano 06154a0094 Upgrade libjpeg 8c -> 9e 2022-05-30 23:57:33 +02:00
Martin Natano 2934af7784 Upgrade glew 1.5.8 -> 2.2.0 2022-05-30 23:57:33 +02:00
Martin Natano 2bb9124c72 Clean up build system 2022-05-30 23:57:33 +02:00
Martin Natano 7d29ee308d Upgrade vorbis 1.3.6 -> 1.3.7 and move to submodule 2022-05-30 23:57:33 +02:00
Martin Natano 1a44af0cf4 Upgrade ogg 1.3.2 -> 1.3.5 and move to submodule 2022-05-30 23:57:33 +02:00
Martin Natano 1764dbcea8 Move libpng to submodule 2022-05-30 23:57:33 +02:00
Martin Natano b6620d50ed Move ffmpeg to submodule 2022-05-30 23:57:33 +02:00
Martin Natano 3d05e523c8 Upgrade zlib 1.2.11 -> 1.2.12 and move to submodule 2022-05-30 23:57:33 +02:00
Martin Natano 7f06ca703d Upgrade IXWebSocket 11.3.2 -> 11.4.3 and move to submodule 2022-05-30 23:57:33 +02:00
Martin Natano 9cf66ae643 Update ffmpeg 2.1.3 -> 5.0.1
Old ffmpeg has a lot of vulnerabilities that have been fixed in newer
versions, see https://www.cvedetails.com/vulnerability-list/vendor_id-3611/Ffmpeg.html.
2022-04-30 23:22:52 +02:00
Martin Natanoandteejusb 3ca3bb0773 Fix macOS build 2022-04-11 14:50:00 -07:00
Martin Natanoandteejusb 5019625aaf Remove unused extern cmake project 2022-04-11 14:50:00 -07:00
Martin Natanoandteejusb a8b9c1da09 Replace some SM cmake macros with builtin functions 2022-03-31 12:06:18 -07:00
Martin Natanoandteejusb 67d1c78450 Implement FILEMAN:Unzip(string zipPath, string targetPath, int strip)
Unzip zip file at `zipPath` to `targetPath`.
`strip` is optional and defaults to `0`. If set to a number larger than
`0`, that many components are removed from the paths of the extracted
files. e.g. `a/b/c` is replaced with `b/c` when stripping one component
or just `c` when stripping two.
Returns whether all files were extracted successfully.
2022-03-13 11:46:28 -07:00
Martin Natanoandteejusb ca86f80743 Add support for onProgress and downloadFile to NETWORK:HttpRequest() 2022-03-13 11:31:49 -07:00
Martin Natanoandteejusb 394bc93915 Add support for streaming transfers
This change adds onChunkCallback to the request. If defined it will be
called repeatedly with the incoming data. This allows to process data on
the go or write it to disk instead of accumulating the data in memory.

Submitted upstream:
https://github.com/machinezone/IXWebSocket/pull/353
2022-03-12 14:18:48 -08:00
Martin Natano e1b5664f21 Update jsoncpp from version 0.5.0 to 1.9.5
Aside from including a ton of bug fixes, this should fix an issue in the
CI pipeline when building with system libraries that was caused by a
minor incompatibility between 0.5.0 and less ancient versions.

Also, switch to the amalgamated source, because it makes it easier to
keep it up to date.
https://github.com/open-source-parsers/jsoncpp/wiki/Amalgamated-(Possibly-outdated)
2022-02-19 14:10:55 +01:00
teejusbandGitHub 2005713a32 Merge pull request #14 from natano/remove-crypto
Remove unused crypto & move mbedtls to "External Libraries"
2022-01-23 08:38:41 -08:00
Martin Natano b46ba8f66c Move mbedtls to "External Libraries" in cmake 2022-01-23 15:42:25 +01:00
Martin Natano c4851955e8 Remove unused extern/crypto 2022-01-23 15:31:27 +01:00
Martin Natano f49cb9eff5 Update lua from 5.1.1 to 5.1.5
This keeps all the SM patches intact, but applies the 5.1.5 fixes on
top. All newlines normalized to make diffing with upstream easier.

https://www.lua.org/bugs.html#5.1.2
https://www.lua.org/bugs.html#5.1.3
https://www.lua.org/bugs.html#5.1.4
https://www.lua.org/bugs.html#5.1.5
2022-01-23 12:19:16 +01:00
Martin Natano 69ca42e18c Update zlib from version 1.2.5 to 1.2.11 2022-01-22 20:17:48 +01:00
Martin Natano 6de676984d Add mbedtls and use it on windows 2022-01-18 20:50:15 +01:00
Martin Natano 134fa9a3d9 IXWebSocket: Allow to cancel asynchronous HTTP requests
Usage:

    auto args = this->httpClient.createRequest(url, method);
    httpClient.performRequest(args, ...);
    [...]
    // Oops, we don't actually want to complete the request!
    args->cancel = true;

Submitted upstream:
https://github.com/machinezone/IXWebSocket/pull/332
2022-01-15 22:56:22 +01:00
Martin Natano dc49af3c59 Implement NetworkManager
For now there are two methods:

- `NETWORK:IsUrlAllowed()`: Check whether access to a certain URL is allowed.
- `NETWORK:HttpRequest()`: Perform an HTTP request.

By default access to the network is disabled for all target hosts. It
can be enabled by setting `HttpEnable=1` in the preferences. Individual
hosts have to be added to `HttpAllowHosts` as a comma separated list to
allow access.

See included docs for more details on usage.
2022-01-15 22:56:08 +01:00
quietly-turningandCrystal Squirrel 6bd6963406 Revert "Merge pull request #1888 from mwkroening/notes_loader-invalid_argument"
This reverts commit 56caf6da4b.
2021-08-14 21:25:27 +01:00
TatshandGitHub c7c54bb013 Fix linking against system GLEW (#1935) 2021-02-03 09:25:42 -08:00
Crystal SquirrelandGitHub 8ae4beb2d4 Merge pull request #1971 from ChronoAndross/5_1-new
Update Vorbis from 1.3.2 to 1.3.6. Updating to this version addresses…
2021-01-28 08:52:44 +00:00
quietly-turning 72cd6edf5c give Lua access to tomcrypt's SHA256
This adds Lua hooks to CryptManager for libtomcrypt's SHA256 hash
function.  It follows along with the C++ patterns Glenn wrote a decade
and a half ago for CryptMananger's MD5 and SHA1 hooks.

StepMania's CMakeProject-tomcrypt file has been updated to build with
sha256 symbols.  Invoking cmake to build with system tomcrypt works fine
as-is.

Note that these functions return binary formatted strings, but themers
can convert to hexadecimal format using the global Lua function
BinaryToHex().
2020-09-09 15:37:01 -04:00