Commit Graph

142 Commits

Author SHA1 Message Date
Yauhen Artsiukhou 59e6e94cf3 Embed libusb 1.0 into project 2024-10-06 17:43:13 -07:00
teejusb ee18ecfff3 Downgrade from MbedTLS 3.6.0 -> 3.5.2 because of connectivity issues 2024-06-08 15:12:08 -07:00
teejusb c475e86f81 Update IXWebSockets which removes reliance on the compile time flag 2024-06-07 22:11:17 -04:00
teejusb a9fbfe4df0 Update IXWebSocket to support MbedTLS Crypto changes 2024-04-30 17:07:21 -07:00
teejusb 1920217cfb Reapply "Update mbedtls from 3.21 -> 3.6.0 LTS"
This reverts commit ff3ce9544a.
2024-04-30 16:50:25 -07:00
Arthur Eubanks adace28e57 Make zlib workaround for #107 apply everywhere
I missed zlib in #150.
2024-04-20 19:38:19 -07:00
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
nabulator 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 Eubanks 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 Kirzhner d07cb4c02f Unbreak windows builds by reverting mbedtls to 3.2.1 2023-06-15 00:13:24 -07:00
Ben Kirzhner 7c4f628247 Add requested TODOs. 2023-05-22 12:37:27 -07:00
Ben Kirzhner 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 Kirzhner 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 Natano 3ca3bb0773 Fix macOS build 2022-04-11 14:50:00 -07:00
Martin Natano 5019625aaf Remove unused extern cmake project 2022-04-11 14:50:00 -07:00
Martin Natano a8b9c1da09 Replace some SM cmake macros with builtin functions 2022-03-31 12:06:18 -07:00
Martin Natano 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 Natano ca86f80743 Add support for onProgress and downloadFile to NETWORK:HttpRequest() 2022-03-13 11:31:49 -07:00
Martin Natano 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
teejusb 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