Commit Graph
7351 Commits
Author SHA1 Message Date
David Anderson 468760c902 Switch ForwardSys to use ICallable.
This removes a ton of tech debt and will improve Forward performance.
2026-05-17 15:22:58 -07:00
David Anderson e70cddfe3e Use BaseRuntime instead of IPluginRuntime in PluginSys/ShareSys. 2026-05-17 15:22:58 -07:00
David Anderson 890c7119fe Use internal sp::Environment directly in core/logic.
Also remove ISourcePawnEngine and ISourcePawnEngine2 pointers since
they're now redundant.
2026-05-17 15:22:58 -07:00
David Anderson fba9d713b7 Statically link SourcePawn. (#2459)
This removes the SourcePawn shared library from the distrubtion, and
statically links the VM to sourcemod.logic instead. This means we can
stop designing public APIs that only SourceMod will ever use, since now
SourceMod can just peek directly inside the VM.

We still need a public API for extensions (and the "core" binary). But
that API surface is a lot smaller than what the logic binary needs.

Remove unused DebugReporter::GenerateCodeError function while we're
here, since this will allow removing IPluginDebugInfo.
2026-05-13 21:09:15 -07:00
SCP-076 5288927964 Use SafeStrcpy in OnConVarChanged to ensure a null-terminated buffer (#2458) 2026-05-12 23:46:07 -07:00
David Anderson 07735c1fe2 Remove use of HeapAlloc and HeapPop. (#2455) 2026-05-03 13:48:28 -07:00
David Anderson 6739b0c280 Update SourcePawn. (#2454)
This modifies smn_sorting to use the new 2D array access API.
2026-05-03 09:52:31 -07:00
Nicholas Hastings b1189479ed Disable KeyValues.Merge on swarm 2026-04-28 07:26:27 -04:00
Dolly 87d668afce Add AutoExecConfig generation (#2436)
* Refactor AutoExecConfig to support new cvars

* Fix identation

* Fix cfg recreation neglecting cvars original values

* Get rid of goto

* Resolve psychonic review

* Keep using the old syntax for nullptr

* Minor fixes
2026-04-28 01:05:10 -07:00
F1F88 707a6f5a00 Add format specifier "%lb" & "%lX" & "%lx" (#2448)
* Add format specifier "%lb" & "%lX" & "%lx"

* adjust brace style to match the rest of the file
2026-04-28 02:54:12 +00:00
Nicholas Hastings f51522d2c9 Disable KeyValues.Merge on darkm 2026-04-27 22:49:13 -04:00
c11164c4d9 Add KeyValues.Merge (#2184)
* Add KeyValues.Merge

* Disable for ep1

Co-authored-by: Copilot <[email protected]>

---------

Co-authored-by: Nicholas Hastings <[email protected]>
Co-authored-by: Copilot <[email protected]>
2026-04-28 01:58:49 +00:00
Nicholas HastingsandCopilot 9569066b6e Upgrade Clang to v22 (#2451)
* Upgrade Clang to v22

Co-authored-by: Copilot <[email protected]>

* Compatibility fixes for Clang 22

---------

Co-authored-by: Copilot <[email protected]>
2026-04-27 23:32:20 +00:00
Nicholas Hastings c6038c76a6 Fix syntax error in generate_headers 2026-04-26 23:00:00 -04:00
Accelerator 3258ad0781 Update libmaxminddb (#2393)
* Update libmaxminddb

* Update libmaxminddb 1.13.3

* Load the latest version of the database by file date.

* Update extension.cpp
2026-04-26 19:35:34 +00:00
Nicholas Hastings f0cb2ed5c2 CI Cleanup (#2450)
* Allow color in release build logs

* Update pr-checks flow to better match the release build flow/envs
2026-04-26 16:34:55 +00:00
BerkeandNicholas Hastings 5d28ea6162 Fix the funcommands plugin resetting all players' color and transparency on round end (#2446)
* Add check for client status before resetting

* Get rid of unnecessary color reset on beacon remove

* Fix firebomb/timebomb resetting color when effect was not active

* Fix firebomb toggling wrong client's active status

---------

Co-authored-by: Nicholas Hastings <[email protected]>
2026-04-26 16:34:37 +00:00
Nicholas Hastings af4bb473e7 Fix typo in updated rd gamedata (fixes #2447) 2026-04-26 09:47:17 -04:00
SCP-076 94adc98ef5 Fix out-of-bounds crash in PluginIterator_Next (#2445)
* Fix OOB dereference in PluginIterator methodmap (#1880)

This prevents the native from returning true when the iterator has already reached the end() of the list, which previously led to a crash when accessing the Plugin property.

* Add defense-in-depth safeguards to CMMPluginIterator

* Update PluginIterator.Next() @error documentation

Reflect the new NativeError thrown when calling Next() on an exhausted iterator.
2026-04-25 17:11:28 +00:00
Nicholas Hastings 7f2528d0fa Update Reative Drop LevelShutdown gamedata (fixes #2439) 2026-04-25 12:03:00 -04:00
F1F88 817696358b Fixed an extra padding character in the negative integer formatting (#2443)
* Fixed an extra padding character in the negative integer formatting

* Add test script

* Add more test cases
2026-04-25 13:30:09 +00:00
F1F88 81ebd8cf8d Supports "%f" formatting value as negative inf float (#2444) 2026-04-22 16:54:05 +02:00
David Anderson 1bc536fdfa Update SourcePawn. (#2440) 2026-04-14 21:18:11 -07:00
David Anderson 80ca6f8cd4 Fix return value of AdminId.GetUsername. (#2438) 2026-04-10 08:31:15 -07:00
David Anderson feaeb6a0ea Fix return values of some natives. (#2437)
These are listed as returning void, but actually have non-void returns
in their implementation and pre-methodmap signatures.
2026-04-09 21:02:26 -07:00
Ayrton09 a3fb4dfe5e Add %lu & %li as format for int64 (#2421) 2026-04-09 15:58:35 +02:00
ambaca 337b755f34 Added a command to refresh mapchooser map list (#2431) 2026-04-09 15:55:55 +02:00
Max a3f0b99d67 Update TF2 gamedata for windows x64 (#2433) 2026-04-09 15:24:56 +02:00
Benoist 4f7b26f73b Fix SDKCall for int64 Address (#2435) 2026-04-09 14:24:12 +02:00
David Anderson 067ee97d99 Update SourcePawn. 2026-04-08 21:30:13 -07:00
Nicholas Hastings 98079197a0 Fix branch name in checkout_deps 2026-04-07 19:52:23 -04:00
Nicholas Hastings c3a8b0e127 Pin MM:S to 1.12 in checkout_deps to match release builds 2026-04-07 19:16:23 -04:00
Nicholas Hastings 5d0a208e34 Update workflow name [ci skip] 2026-04-06 22:49:40 -04:00
David Anderson 92db2a1987 Update SourcePawn. 2026-04-05 09:48:00 -07:00
David Anderson 16dc3daa8a Bump the SourcePawn version to fix int64 issues. (#2432) 2026-04-04 16:58:46 -07:00
Benoist d5cc622227 Bump sp module + address fix (#2430) 2026-04-02 21:33:38 +02:00
Benoist 59ecab555b Bump SourcePawn submodule (#2428) 2026-03-31 23:28:34 +02:00
dependabot[bot] b697537378 Bump docker/login-action from 3 to 4 (#2426)
Bumps [docker/login-action](https://github.com/docker/login-action) from 3 to 4.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-version: '4'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-31 00:05:29 +00:00
dependabot[bot] eb323b7fa5 Bump actions/upload-artifact from 4 to 7 (#2425)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4 to 7.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v4...v7)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-31 00:04:56 +00:00
bottiger1 a327a80fcd Fix HookConVarChange giving stale convar pointers when a plugin made the convar longer, triggering realloc (#2423) 2026-03-29 20:11:12 +02:00
Nicholas Hastings 6bb0b3aaa6 Update release-action to fix deprecation warning 2026-03-29 13:33:28 -04:00
Nicholas Hastings e359863e10 Omit body on created releases 2026-03-29 13:31:29 -04:00
Nicholas Hastings 6162312fb7 Add retry with backoff to breakpad sym upload 2026-03-29 13:15:15 -04:00
Nicholas Hastings 0ecab49059 Fix dump_syms strerr getting swallowed 2026-03-29 11:53:02 -04:00
Nicholas Hastings acaa301eda Fix dump_syms call on Linux for updated dump_syms version 2026-03-29 11:51:57 -04:00
Nicholas Hastings 8d3bec0ca0 Fix gitignore rule applying for tools/buildbot 2026-03-29 11:51:33 -04:00
Nicholas Hastings 1b32e25d20 Add GitHub Actions release CI and spcomp container build (#2422)
Add build-release.yml: full Linux + Windows release pipeline that
dynamically discovers SDKs from hl2sdk-manifests, builds both
platforms, creates GitHub Releases with packaged artifacts, uploads
PDB artifacts for symbol server ingestion, and handles breakpad
symbol upload on Linux.

Add build-spcomp.yml + Containerfile: builds and publishes a
container image with the SourcePawn compiler for use by the forum
on-demand compilation integration.

The existing ci.yml (build verification) is left intact.
2026-03-29 13:42:27 +00:00
Nicholas Hastings 0c9a476851 Remove the long-deprecated IsValidHandle from API 2026-03-24 20:49:43 -04:00
Nicholas Hastings ce8125b896 Bump SourcePawn for Windows build fix. 2026-03-22 13:21:39 -04:00
Benoist 155cdc318c Re-introduce Address as int64 and remove the opt-in (#2414) 2026-03-15 00:43:25 +01:00