Commit Graph
18 Commits
Author SHA1 Message Date
Nicholas Hastings c82feb1a4a Add methodmap for SteamWorksHTTPRequest 2026-07-12 13:59:38 -04:00
Nicholas Hastings 39fcfa564e Modernize build/CI, support SourceMod 1.13, deprecate ForceHeartbeat
Rework the build and CI: swap to SourceMod's safetyhook-based CDetour and
drop the vendored CDetour/asm sources, the old Makefile, Travis config, and
buildbot perl scripts. Add GitHub Actions building and releasing x86 and
x86_64 against SM 1.12 and 1.13, plus dependabot. Split the Windows and Linux
packages and tidy naming.

Gate IPluginManager::FindPluginByContext on the extension API version so the
extension builds against both SM 1.12 (API 8) and 1.13 (API 9), and shim
DETOUR_CREATE_STATIC_FIXED over the address overload safetyhook exposes.

Deprecate SteamWorks_ForceHeartbeat: newer Steamworks SDKs removed
ISteamGameServer::ForceHeartbeat, so make the native a no-op and mark it
deprecated in the include.
2026-07-12 10:56:36 -04:00
Sikari 87ba54f237 Implement SetHTTPRequestRawPostBodyFromFile (#24)
* Implement SetHTTPRequestRawPostBodyFromFile

* Made sure that retval of fread() matches filesize

* Minor code cleanup

* Moved sm_SetHTTPRequestRawPostBodyFromFile to its appropriate place in the file

* style
2018-09-02 13:03:18 -07:00
Kyle Sanderson d3022555e5 good ol' reinterpret_cast versus static_cast. 2017-08-09 15:32:51 -07:00
Kyle Sanderson 8978e6accd Commit missing ISteamHTTP Natives. SourceTree is awful. 2017-08-09 13:23:08 -07:00
Kyle Sanderson c7ec49c3b3 Off by one in sm_GetHTTPResponseBodyCallback. VM protected user space. 2015-09-07 20:06:55 -07:00
Kyle Sanderson e360802700 We're using GPLv3, and only v3. 2015-01-17 14:36:24 -08:00
Kyle Sanderson c322e4a117 Expose ISteamHTTP Streaming API to Pawn. 2015-01-17 14:18:36 -08:00
Kyle Sanderson 5825788643 Trivial: Move to an initialization list for SteamWorksHTTPRequest 2015-01-17 14:12:43 -08:00
Kyle Sanderson 7ffb8689f9 Consolidate Handle -> SteamWorksHTTPRequest Logic. 2015-01-17 11:49:22 -08:00
Kyle Sanderson 6dfbda708d Fix auto-promotion playing games with HTTP context values. 2015-01-17 11:14:53 -08:00
Ryan Stecker 9e2de4a08b Implement WriteHTTPResponseBodyToFile via stdio. 2014-06-02 20:14:31 -05:00
Ryan Stecker 913d4b31f2 Push strings instead of arrays to not have to deal with odd cell size calculations. 2014-04-05 14:16:39 -05:00
KyleSanderson 4fd2d3ec76 <VoiDeD> which is great and all except for your memory leak 2014-02-09 00:12:05 -07:00
KyleSanderson 310c37d577 Pass length in Cells as a third parameter for SteamWorks_GetHTTPResponseBodyCallback. 2014-02-08 13:51:45 -07:00
KyleSanderson 5dfb7f4afb Fix memory leak in SteamWorks_GetHTTPResponseBodyCallback. 2014-02-08 13:46:17 -07:00
KyleSanderson b68af8f594 Add SteamWorks_GetHTTPResponseBodyCallback. 2014-02-08 13:18:46 -07:00
KyleSanderson cff6b178f0 Add HTTP Support. 2014-02-08 12:19:32 -07:00