Commit Graph
7460 Commits
Author SHA1 Message Date
F1F88 73fd660ff4 sorting: use ParamToArrayPtr for the top-level array param 2026-09-07 08:32:49 -07:00
Mikusch 36339c22ca Use an absolute call when the callee is too far away 2026-09-07 08:30:54 -07:00
F1F88 65d0d1380e GetFunctionByName: return the runtime's funcid instead of deriving it from the public index (#2566)
* fix: use the runtime's funcid in GetFunctionByName

* test: update testsuit
2026-09-06 18:17:48 +02:00
sappho d75d410100 Add TIMER_FLAG_TICK_PRECISE - a new method for tick-precise timer intervals 2026-09-06 01:19:05 -07:00
David Anderson 4ab75cc19c Update SourcePawn to fix a callback crash. (#2561) 2026-09-04 15:38:53 -04:00
Benoist f7fd4fe4a7 Extend thread check to all sdkhooks (#2534) 2026-09-04 09:25:30 -04:00
F1F88 bea10f0fb1 Add native StringToI64 (#2449)
* Add native StringToInt64Ex

* Delete useless test code

* Rename native StringToInt64Ex to StringToI64

* Add documentation for out-of-bounds situations.
2026-09-03 21:42:52 -07:00
Peace-Maker e078b2b542 Add VFormat macro for backwards compatibility
SourcePawn 2 supports passing the variable arguments through to another function natively.

Instead of using `VFormat` you can just call `Format(buf, sizeof(buf), fmt, ...)` directly with the ellipsis `...`.

This broke plugins using VFormat. Add a macro to transparently replace `VFormat` with `Format` calls when compiling with the SourcePawn 2 compiler to keep the plugins from complaining about a missing `VFormat`.

Preprocessor macros are not affected by `#pragma deprecated` so we cannot warn about this yet.
2026-09-03 08:58:20 -07:00
dysphie 0205f5988d more nmrih 1.15 gamedata fixes (#2559) 2026-09-02 21:28:19 +00:00
David Anderson b1ac6f9a80 Fix unsafe casts in test_sorting.sp. 2026-09-01 18:58:42 -07:00
David Anderson 001ea29ee8 Add more C++20 fixes. 2026-09-01 18:58:42 -07:00
David Anderson 704f64f467 Pull latest SP fixes and bit_cast removal. 2026-09-01 18:58:42 -07:00
David Anderson 65ce00763a Hide VFormat() for SourcePawn 2 plugins.
VFormat() does not work in the v2 VM. Instead, there is a new "spread"
operator, so regular Format or FormatEx will work instead.
2026-09-01 18:58:42 -07:00
David Anderson 8033a8e134 Package oldspcomp in the scripting folder. 2026-09-01 18:58:42 -07:00
David Anderson 7d3f8117a0 Bump the extension API version - this is a compatibility break, again. 2026-09-01 18:58:42 -07:00
David Anderson 35d2a648cf Use the new pstruct access API. 2026-09-01 18:58:42 -07:00
David Anderson 02c56a6a42 Update pinned commit for SourceMod, and adjust for API changes. 2026-09-01 18:58:42 -07:00
David Anderson 17eb8c2652 Upgrade SourceMod to C++20. 2026-09-01 18:58:42 -07:00
dysphie f3f696f16e nmrih 1.15.0 gamedata (#2557) 2026-09-01 15:42:58 -04:00
Nicholas Hastings 42ce2ce4d5 Reduce cases where MySQL escaping locks (#2554) 2026-08-27 01:17:11 +00:00
Ayberk Alcan f4a047d3d1 Update CSWeaponDrop for Windows (#2553) 2026-08-26 00:48:43 +00:00
Nicholas Hastings a36a449983 Fix build 2026-08-24 18:20:05 -04:00
caxanga334 df6d637e13 Update Orange Box gamedata (#2552) 2026-08-24 22:13:24 +00:00
Nicholas Hastings a6a181a4e4 Fix rc BINARY_NAME on Windows 2026-08-24 16:04:10 -04:00
MikuschandNicholas Hastings 61dea382c9 Fix crash when deleting a Menu handle during callbacks (#2536)
* Root menu Handles during callbacks

* Delete unused AutoHandleRooter struct

* Fix crash when a vote is cancelled from its start callback

* menus: root vote menu during start callback

---------

Co-authored-by: Nicholas Hastings <[email protected]>
2026-08-24 19:40:41 +00:00
azzy 8c0aa36bbd TF2 Classified 3.1.0 Gamedata (#2551) 2026-08-24 17:12:27 +00:00
Nicholas Hastings 7b2eaa5a6e Fix regression enforcing TLS on MySQL connections 2026-08-16 20:42:30 -04:00
Nicholas Hastings a99a7a3d54 Remove version from default MARIADB_CONNECTOR_C path 2026-08-16 12:58:44 -04:00
Nicholas Hastings f158621572 Use static linking for libssl in MySQL ext 2026-08-16 09:15:02 -04:00
Nicholas Hastings 97861312a2 Update SQLite to 3.53.4 (#2549) 2026-08-15 19:26:54 +00:00
Eric ZhangandNicholas Hastings f63ee4d937 Fix alltalk vote for CSGO (#2544)
* Fix alltalk vote for CSGO

* Avoid toggling sv_deadtalk

---------

Co-authored-by: Nicholas Hastings <[email protected]>
2026-08-15 17:48:31 +00:00
Nicholas Hastings e4e49e0623 Switch MySQL extension to use (latest) MariaDB connector (fixes 2526) (#2548)
* Switch MySQL extension to use (latest) MariaDB connector (fixes 2526)

* Fix release
2026-08-15 17:11:04 +00:00
MikuschandNicholas Hastings 261dd2c126 Fix x64 float parameter bugs (#2547)
* Fix stack spill for float parameters

* Fix invalid register in vararg float copy

* Fix disp32 encoding, REX operand order and stack offset truncation in x64 JIT

---------

Co-authored-by: Nicholas Hastings <[email protected]>
2026-08-15 16:37:51 +00:00
Nicholas Hastings b68a60976c Fix crash with private forwards deleted mid-call (fixes #1041) 2026-08-02 13:59:20 -04:00
Nicholas Hastings 6156b61949 Fix a case where APLRes_SilentFailure was not silent (fixes #1928) 2026-08-02 12:55:01 -04:00
Nicholas Hastings d22e6ae8da Merge branch 'master' of https://github.com/alliedmodders/sourcemod 2026-08-02 12:44:26 -04:00
Nicholas Hastings 5a00b8c9d4 Guard against ShouldCollide calls from other threads (fixes #2530) 2026-08-02 12:44:08 -04:00
azzy be74c9f23e Fix wrong PreThink/PostThink offsets for TF2Classified (#2529) 2026-08-02 16:24:24 +00:00
Nicholas Hastings bf0f9986f4 Discard threaded query results on plugin unload (fixes #1647) 2026-08-02 12:14:04 -04:00
SCP-076 84c633c4da add zero-param ConVarChanged typeset signature (#2531) 2026-08-02 14:36:40 +00:00
Nicholas Hastings 83521ba442 Fix Linux x86 stack alignment crash 2026-08-02 10:24:25 -04:00
Nicholas Hastings 1033441f22 Harden MySQL locking (fixes #1207) (#2528) 2026-08-01 18:29:14 +00:00
Nicholas Hastings 9faf4aaa85 Rework clientprefs reconnect & config refresh logic (fixes #778) (#2527) 2026-08-01 15:45:15 +00:00
oleophila 3407d52723 Update Turkish translations (#2486)
* Update Turkish translations

* Changed wording

* Changed unmute phrases
2026-08-01 15:29:45 +00:00
Mikusch d2eedc0e31 Add support for dot-delimited entity property paths (#2518)
* Support dot-delimited netprop/datamap paths

* Try an exact match first
2026-08-01 14:41:01 +00:00
azzy 2c8fe40610 TF2Classified 3.0.12 Gamedata (#2525)
* TF2C 3.0.12 SDKHooks

* TF2C 3.0.12 SDKTools
2026-07-31 10:49:11 +02:00
Nicholas Hastings 8bc615f29b Add async file op natives (#1674) (#2524) 2026-07-30 06:53:45 -04:00
Nicholas Hastings e851097670 Fix Linux pattern scanning across readable ELF segments (#2520) 2026-07-27 22:40:34 -04:00
Nicholas Hastings cfa6193bb8 Add support for non-public schemas with pgsql (#2341) 2026-07-27 20:35:59 -04:00
Nicholas Hastings bc69fc9f8e Add CopyFile native (#1683) 2026-07-26 13:45:46 -04:00