Commit Graph

62 Commits

Author SHA1 Message Date
rtldg
2e7ae4687b AGHHH 2 2025-03-07 14:48:31 +00:00
rtldg
a884302c14 Misc comments 2025-03-04 07:21:55 +00:00
rtldg
323671b421 mark object-return-value as MEMORY if >64bytes 2025-03-03 09:19:22 +00:00
rtldg
d2b821e9d1 Make note about frame pointer 2025-03-03 00:56:42 +00:00
rtldg
4a8b72bdf4 Use the other ctor/dtor/copy/move passflags in AutoDetectRetType() & copy a ton of notes from System V docs 2025-03-02 14:17:20 +00:00
rtldg
34c664afa6 Add more stack alignments 2025-03-02 12:20:56 +00:00
rtldg
7a7137cb8c And now it builds... 2025-03-02 08:45:16 +00:00
rtldg
1b5aeba144 Probably broken parameter pushing 2025-03-02 08:33:12 +00:00
rtldg
82cdcf5ad3 Hopefully handle the destructors well on Linux 2025-03-02 07:47:27 +00:00
rtldg
ca591ee2fd Handle some register saving 2025-03-02 07:42:50 +00:00
rtldg
4b87f92ed0 Modify because destructors do cause it to use mem 2025-03-02 03:20:46 +00:00
rtldg
57929cabcf The pain begins 2025-03-01 13:33:56 +00:00
Nick Hastings
5d48696528 fix(sourcehook): Disable tests on linux x64 for now 2024-08-04 15:02:26 -04:00
Nick Hastings
994b382754 fix(sourcehook): Fix compilation issues with standalone SourceHook 2024-08-04 15:02:26 -04:00
Kenzzer
7947580a60 lower log level 2024-08-03 12:17:47 -04:00
Kenzzer
a5aee4fe3b remove the test suite for now 2024-08-03 12:17:15 -04:00
Kenzzer
1097e2bebf remove sourcehook generated file 2024-08-03 12:16:22 -04:00
Kenzzer
ca78915d59 Fix compilation for 32bits 2024-08-03 12:15:53 -04:00
Kenzzer
87fcaca024 make jit writer public 2024-08-03 12:00:32 -04:00
Kenzzer
222c174f0d add x64 stub generator support 2024-08-03 11:59:56 -04:00
Kenzzer
37408219ba Shut msvc 2024-02-07 22:03:17 -05:00
icedrocket
e907e5293f Remove deprecated syntax for compatibility 2024-01-11 21:19:12 -08:00
Kaela
bc36e072a1 Update sh_memory.h (tidy up things) 2023-12-18 19:31:18 -05:00
KaelaSavia
f2d9d3e9e5 Replace fscanf with faster parsing #2 2023-12-18 19:31:18 -05:00
Peak
2fe0c36845
Replace fscanf with faster parsing (#127) 2023-10-07 10:45:54 -07:00
Benoist
2261ff4f9c
Fix sourcehook compilation warning (#106)
Fix sourcehook compilation warning.

Co-authored-by: Kenzzer <kenzzer@users.noreply.github.com>
2023-07-30 21:36:23 -07:00
David Anderson
acea12f29b Upgrade to AMBuild 2.2. 2020-08-19 14:41:55 -07:00
peace-maker
b267567e50
Fix detection of Blade Symphony on Windows x64 (#67)
* Fix detection of Blade Symphony on Windows x64

Port finding the module base address on x64 builds from SourceMod.
Fix a bunch of truncation warnings on x64 while at it too.

* Fix mm_TrimComments stripping last char before comment

```c
char test[] = "hi this is a a test!// comment";
mm_TrimComments(test);
puts(test); // prints "hi this is a test" without the !
```

* Fix unsigned comparison warnings

* Fix truncation warnings in SourceHook::String

* Fix unsigned comparison warnings

clang does have some nice analysis.
2020-06-25 00:04:36 +00:00
David Anderson
7efa054b82
Merge pull request #52 from alliedmodders/warnings
Prevent some warnings for SM builds
2018-07-31 21:23:52 -07:00
Headline
d5030d0612 Re-add dummy, cast to void 2018-07-31 21:14:08 -07:00
Michael Flaherty
37738022ee dvander foxes 2018-07-31 13:17:48 -07:00
Kyle Sanderson
625c59dad5
Disable de-virtualization in sh-tests for gcc-4.9+ (#53)
* Update AMBuilder
* Re-add gcc6 to .travis.yml
* right; 🐍
* where Travis-CI?
* fix whitespace problems w/ travis.yml
2018-07-31 11:02:13 -07:00
Headline
b9b150e638 Fix warnings for SM builds 2018-07-29 04:09:18 -07:00
Nick Hastings
1b83816c7e Crank up SourceHook param count support from 17 to 20. 2018-07-07 08:45:23 -04:00
Scott Ehlert
79435093d9
64-bit support for CSGO on Linux and macOS (#35) 2017-12-20 01:11:57 -06:00
Nicholas Hastings
f17a958c66 Merge branch 'master' into S2
Conflicts:
	configure.py
	core/sourcehook/test/main.cpp
2015-11-23 15:12:55 -05:00
David Anderson
270c8714e3 Add variadic versions of the SH_DECL_MANUALEXTERN macro family, and wrap the hardcoded macros around these. 2015-10-25 13:47:33 -07:00
David Anderson
4918d4ff4c Add variadic versions of the SH_DECL_EXTERN macro family, and wrap the hardcoded macros around these. 2015-10-25 13:03:02 -07:00
David Anderson
fdd571fc06 Use C++11 variadic templates for sh_memfuncinfo.h. 2015-10-24 19:36:33 -07:00
David Anderson
196d28a45a Remove extra, unused copies of sh_memfuncinfo.h. 2015-10-24 19:31:49 -07:00
David Anderson
2ce09bfa70 Use C++11 variadic templates for core FastDelegate. 2015-10-24 18:52:31 -07:00
David Anderson
ef43db47b2 Regenerate sourcehook.h. 2015-10-24 18:22:40 -07:00
David Anderson
edba55f4a8 Remove extra, unused copies of FastDelegate.h/sourcehook.h from the tree. 2015-10-24 18:22:01 -07:00
David Anderson
4a652ceea6 Use variadic templates for ExecutableClass (core changes). 2015-09-25 17:53:45 -07:00
David Anderson
60f878f132 Merge pull request #22 from alliedmodders/tl
Replace SetOverrideResult/GetRecallIface with variadic templates.
2015-09-25 17:19:00 -07:00
David Anderson
4477448924 Replace SetOverrideResult/GetRecallIface with variadic templates. 2015-09-24 21:16:29 -07:00
David Anderson
219cd7203f Fix testvphooks. 2015-09-24 21:03:49 -07:00
David Anderson
5f44dd2d22 Enable SourceHook tests on Travis. 2015-09-24 20:40:05 -07:00
Scott Ehlert
77e74a5eeb Partial 64-bit support for SourceHook on Windows 2015-07-09 15:12:16 -05:00
Scott Ehlert
1f1aca02f3 Fix build of SourceHook tests 2015-07-09 14:24:18 -05:00