Commit Graph

344 Commits

Author SHA1 Message Date
David Anderson
f0d8a70b38 Fix tabs in BreakpadSymbols. 2020-08-19 00:43:12 -07:00
David Anderson
9acf2b5cda Use Python 3.8 on the Windows buildbot. 2020-08-19 00:39:54 -07:00
David Anderson
d49b92603a Another BreakpadSymbols fix. 2020-08-19 00:12:40 -07:00
David Anderson
aa01a22416 Fix BreakpadSymbols again. 2020-08-19 00:09:08 -07:00
David Anderson
50e43a9f98 Fix BreakpadSymbols. 2020-08-18 23:45:30 -07:00
David Anderson
ed325c7208 Trigger a full rebuild. 2020-08-18 23:42:36 -07:00
David Anderson
aac2c4a080 Trigger full reconfigures when requested. 2020-08-18 23:29:24 -07:00
David Anderson
785c6aa1cf Update to AMBuild 2.2.
This is a pretty big diff because SourceMod had lots of multi-arch
workarounds that can now go away. I've also changed 'x64' to 'x86_64' in
many places since this is how AMBuild normalizes it, and it's far too
late to pick the shorter string, so we might as well suck it up.

The --target-archs parameter has been replaced with --targets. It works
the same way.

The default behavior for SDK inclusion is now "present" instead of
"all" since this lowers the burden of storing many SDKs. Official builds
will still be made with --sdks=all.
2020-08-18 23:09:43 -07:00
peace-maker
510bd261f8
core: Add Insurgency support for amd64 Windows (#1295)
* Add basic Insurgency support on Windows x64

This allows SourceMod to load on x64 Insurgency. There are still a lot of variable truncation warnings that have to be dealt with.

* Fix 32bit builds

* Compile MySQL extension as well

The hack for __iob_func being removed from the core runtime, but required by the old mysql we're building against can be simplified a lot due to the `_ReturnAddress` intrinsic available since MSVC 2015.

* Don't include the offset we want to extract in the signature
2020-08-06 19:53:06 -07:00
WildCard65
9bbbf60268 Updated 'checkout-deps' to check for 'pip'/'pip3' prior to installing 'AMBuild' 2020-07-31 15:49:44 -07:00
Peace-Maker
37355f9c57 Remove cloning of Dota 2 SDK in CI
SourceMod doesn't support Source 1 Dota 2 anymore and neither Source 2. Speed up CI by only cloning the hl2sdks that are tested.

This adds a `-s sdk1,sdk2` parameter to the checkout-deps.sh script similar to the `-SDKs` option of the powershell script to select specific sdks to update instead of all.
2020-07-30 11:37:00 -07:00
Kyle Sanderson
353ced0e41
gamedata: align with core project values. (#1310)
* Rename blacklist.plugins.txt to blocklist.plugins.txt
* gamedata: adjust gamedata name.
* packagescript: adjust filename.
2020-07-14 18:40:28 -07:00
Fyren
75fa198321
Change bootstrap.pl and startbuild.pl to also take CXX. (#1280) 2020-05-27 21:18:49 -04:00
David Anderson
c9f574c27b Fix mac build. 2020-05-20 22:50:41 -07:00
David Anderson
ff018a9a5d Improve Travis coverage.
Our official builds use clang-3.4 (for macOS) and clang-3.8 for Linux.
Linux uses libstdc++-4.9. Make sure these two compilers are being tested
and that libstdc++-4.9 is being used for STL.

Add a macOS builder to get coverage there. This will use a newer
clang than we actually use, but as opposed to the linux builder will
test the platform-specific bits.

Finally, use the latest GCC and clang versions from a bionic image, so
we have some coverage of a popular distribution.
2020-05-13 19:09:20 -07:00
peace-maker
bc89e54f6d
NPOTB: Always use hl2sdk-proxy-repo in checkout-deps (#1236) 2020-05-08 15:12:21 -07:00
JoinedSenses
a1436cd205 Add windows supported SDKs to powershell checkout-deps (#1116)
.sh version has this bit:

```
if [ $ismac -eq 0 ]; then
  # Add these SDKs for Windows or Linux
  sdks+=( orangebox blade episode1 bms )

  # Add more SDKs for Windows only
  if [ $iswin -eq 1 ]; then
    sdks+=( darkm swarm bgt eye contagion )
  fi
fi
```

Added these to the SDK list.
2019-11-04 12:34:56 +00:00
Michael Flaherty
dd81d7c78f
Incorperate Licensing Into Project Tree (#961) 2019-04-12 12:10:13 -07:00
Asher Baker
c501c837d0
Ignore SM site certificate when downloading GeoIP
Build servers don't have a root for it, and the address is internal
2019-01-19 12:34:23 +00:00
Asher Baker
590f71436f
Get GeoIP data from SM site for now 2019-01-19 12:18:36 +00:00
Nick Hastings
53c63def07 Use env vars to find MySQL src on Linux, macOS. 2018-06-07 20:40:14 -04:00
Nicholas Hastings
4637cf9221
Use MySQL 5.5 for MySQL extension. (#786) 2018-03-20 17:12:30 -04:00
Nicholas Hastings
29b1926432 A couple of fixups to last commit (NPOTB). 2017-12-29 04:55:56 -08:00
Nicholas Hastings
e0a154faa0 Add TF2 NextBot symbol data from Pelipoka to GDC (NPOTB). 2017-12-29 04:38:47 -08:00
Scott Ehlert
870e118150 Fix BreakpadSymbols script for 64-bit builds. 2017-12-20 02:07:30 -06:00
Scott Ehlert
ce1a4dcac0
64-bit support for CSGO on Linux and macOS (#705) 2017-12-20 01:56:23 -06:00
Asher Baker
c33bf330a0
Add doi, remove dota 2017-12-04 21:47:00 +00:00
Scott Ehlert
82e6d00cea Fix build. 2017-10-02 07:40:58 -05:00
Scott Ehlert
bbdecceb4b Switch to AMBuild 2.1 API. (#694) 2017-10-02 07:18:57 -05:00
thewavelength
79ba2835f6 Fix build when product.version is mangled (#679)
Strip line breaks when reading product.version, as Git can mangle the line breaks if autocrlf is configured, resulting in `SM_BUILD_TAG` getting defined with a linebreak.
2017-09-10 01:17:35 +01:00
Asher Baker
2e6d02ad52 Fixup types can include additional flags in the high bytes 2017-07-27 19:31:20 +01:00
Nicholas Hastings
8401ca3269 Add gamedata for Alien Swarm: Reactive Drop. 2017-04-22 10:31:41 -04:00
Ruben Gonzalez
2febfae906 Update GDC symbols.txt (NPOTB). 2017-03-25 13:27:26 -04:00
Ruben Gonzalez
2db2af9343 Fix GDC's Linux SIg offset checking (NPOTB). 2017-03-25 09:29:45 -04:00
Benoist3012
08238a8036 Add FireEntityOutput native. (#587)
* AcceptEntityOutput native

* define fix

* MSVC fix and renamed native

* Added requested changes.

* tab/space fix
2017-02-15 19:29:43 -05:00
Nicholas Hastings
5e4a69def6 Update GDC's symbols.txt. 2017-02-06 08:11:01 -08:00
Nicholas Hastings
6e79114dee Update GDC's symbols.txt. 2017-02-06 07:58:57 -08:00
GoD-Tony
3fd7b29d64 Fix GDC's Linux sigscanning (#576)
The pointer returned by dlopen is not inside the loaded librarys memory region.
2017-01-20 10:13:31 -05:00
GoD-Tony
ec9af8feb6 Fix null check when generating signature. (#562) 2016-12-01 08:44:23 +00:00
Nicholas Hastings
0707f14c7a Update Dino D-Day gamedata.
(Piggy-backing off of Blade Symphony now instead of Alien Swarm.
They switched to Portal 2 engine so detects as Blade Symphony, and
both are pretty vanilla at the engine level.)
2016-08-06 10:51:50 -04:00
Nicholas Hastings
56585fc32a Add preliminary gamedata for Day of Infamy. 2016-07-26 08:26:26 -04:00
Nicholas Hastings
7008a566a8 Redownload GeoIP data if file size is 0, regardless of file modified time.. 2016-07-24 08:26:00 -04:00
Nicholas Hastings
857f5fcced Add PowerShell version of checkout-deps script for Windows (NPOTB). 2016-06-11 11:17:29 -04:00
Nicholas Hastings
40f2512317 Remove support for Source 1 Dota 2. (#496) 2016-04-26 23:18:47 -04:00
Alexander Georgievskiy
b196d3e3c0 http://cdn.mysql.com -> https://cdn.mysql.com 2016-04-16 00:15:40 +03:00
GoD-Tony
5e51ca0f80 Update IDA vtable dump script
A small fix to work with multiple versions of IDA x86 & x64
2015-12-12 22:01:21 +01:00
GoD-Tony
d3ea10a600 Add x64 support to IDA vtable dump script 2015-11-26 17:36:14 +01:00
Asher Baker
3b3b1d6342 And the last piece of the puzzle... normalise the slashes. 2015-11-05 17:45:26 +00:00
Asher Baker
04161da5a0 Alright, this should work. 2015-11-05 17:35:37 +00:00
Asher Baker
cce6fde4ea Whoops. 2015-11-05 17:03:51 +00:00
Asher Baker
b8e9aabd67 Windows sucks. This may or may not break the Windows build in retaliation. 2015-11-05 16:58:50 +00:00
Asher Baker
625f225448 Suppress error messages from missing repositories. 2015-11-05 11:06:43 +00:00
Asher Baker
e8eb9970a6 Last try before I revert all this. 2015-11-05 10:54:35 +00:00
Asher Baker
ed5771a861 Fix symbol dumping to work on ancient python versions. 2015-11-05 10:46:32 +00:00
Asher Baker
2c03498986 Really fix Mac symbol dumping. 2015-11-05 09:59:53 +00:00
Asher Baker
de675be862 Fix Mac symbol dumping. 2015-11-05 09:31:09 +00:00
Kyle Sanderson
44d34d0e5d NPOTB: Remove 0x prefix from two-byte instructions. 2015-10-28 19:43:17 -07:00
Asher Baker
38fd55a05d Normalize repository root path. 2015-10-28 13:31:02 +00:00
Asher Baker
4d3c89c065 Flip INFO REPO records around for parsing sanity. 2015-10-28 09:47:40 +00:00
Asher Baker
4be998c4dc Include repo information in symbol files. 2015-10-27 17:24:03 +00:00
Nicholas Hastings
beba03292a Upload sourcemod-latest-<os> text file when packaging. 2015-10-26 11:13:57 -07:00
Asher Baker
722c0eb32b Promote git revision number to 4th version string component 2015-09-29 11:07:16 +01:00
Nicholas Hastings
8b6e040581 Add gamedata for Kreedz Climbing. 2015-09-23 10:11:30 -04:00
Ruben Gonzalez
48eee4db9b Sync GDC symbols.txt to match one currently used (NPOTB). 2015-09-20 15:28:33 -04:00
Nicholas Hastings
e748d49343 In package script, set binmode for geoip out file (bug 6415).
This fixes newline conversion happening on Windows.
2015-09-18 10:08:39 -04:00
Nicholas Hastings
c085444a03 In packaging, use API for gunzip instead of executable (bug 6415). 2015-09-18 08:27:28 -04:00
Ruben Gonzalez
189369fcf3 Fix GDC byte offset check printing for linux (NPOTB) 2015-09-15 21:59:24 -04:00
Ruben Gonzalez
bb39c54f17 Merge pull request #403 from alliedmodders/gdc-fix
Fix Makefile for GDC and improve output (NPOTB)
2015-09-13 17:23:24 -04:00
Ruben Gonzalez
cfd116b93b Removed public/sourcepawn from include. Add -Wno-unused for unused variables. 2015-09-12 20:30:53 -04:00
Nicholas Hastings
8777d0d0da Use unlink() instead of rm in packaging script for Windows compat. 2015-09-12 15:12:45 -04:00
Nicholas Hastings
8ce41407dd When downloading translations for packaging, bypass certificate check.
It will fail on the slaves and we're resolving to internal addressing anyway.
2015-09-12 14:16:38 -04:00
Ruben Gonzalez
cec5bfe7b2 Update Makefile to compile against central. Added some more info on byte checks. 2015-09-11 15:36:11 -04:00
Nicholas Hastings
2ab7c08da9 Add translation files and updated GeoIP data to snapshots. 2015-09-01 11:30:45 -07:00
Nicholas Hastings
5123527c66 Merge pull request #311 from alliedmodders/juju
Use the new Travis-CI Container environment.
2015-07-14 20:19:11 -04:00
Nicholas Hastings
b17c7adcd5 Add gamedata for Modular Combat. 2015-06-10 10:02:34 -04:00
Nicholas Hastings
78dcb8a0f3 Add gamedata file missing in PackageScript. 2015-05-11 06:52:56 -04:00
Nicholas Hastings
397c45457a Fix spacing in PackageScript. 2015-05-06 22:18:43 -04:00
Nicholas Hastings
9164730b07 Add gamedata for Black Mesa. 2015-05-06 22:01:29 -04:00
Nicholas Hastings
64f9aedebc Add basic support for Black Mesa.
(Basically a copy of SDK 2013's support, but against BMS SDK).
2015-05-06 21:12:13 -04:00
Kyle Sanderson
de58944140 Change checkout-deps.sh to do a user install instead of sudo. 2015-04-01 23:51:18 -07:00
David Anderson
8b0a10ad1d Checkout submodules recursively. 2015-03-15 19:31:34 -07:00
InstantMuffin
f7f4ea4243 Fixed missing include in psyfork/memoryutils.cpp
Error:
MemoryUtils.cpp: In member function ‘void* MemoryUtils::ResolveSymbol(void*, const char*)’:
MemoryUtils.cpp:249:43: error: ‘fstat’ was not declared in this scope
  if (dlfile == -1 || fstat(dlfile, &dlstat) == -1)

Fixed by adding missing include: #include <sys/stat.h>
2015-03-15 21:42:06 +01:00
David Anderson
c81e7e3410 Move batchtool out of sourcepawn. 2015-03-07 10:52:13 -08:00
Nicholas Hastings
f50d8317f6 Merge currently in-use gdc-psyfork symbols.txt. 2015-02-05 14:44:58 -05:00
Ruben Gonzalez
213e7ced8c Initial CSGO GetWeaponPrice fixes 2015-01-31 12:44:18 -05:00
Nicholas Hastings
fe6d44bbd5 Fix build. 2014-12-23 08:27:41 -08:00
Peace-Maker
6c17f247df Don't unpack mysql verbosely
I doubt we're interested in the filename of every single file
contained in the mysql archive when it's decompressed.

It bloats up the travis build log.
2014-12-20 11:32:15 +01:00
Sean Lewis
b7036de9e9 Add missing convars.inc to buildbot package script. 2014-11-20 03:01:46 -06:00
Asher Baker
a463ed5cf2 Updated IDA scripts for 6.5. 2014-11-05 16:37:12 +00:00
Ryan Stecker
f2a80e33fd Expose some of ICommandLine to plugins. 2014-10-07 16:16:02 -05:00
Asher Baker
af791a30df Merge pull request #72 from VoiDeD/keyvalue-from-string
Implement StringToKeyValues.
2014-07-07 13:49:24 +01:00
Ryan Stecker
fc54903fd0 Add test. 2014-07-05 12:01:17 -05:00
Ryan Stecker
d4f4a7eed0 Add an ambuild configure option to disable auto versioning. 2014-07-02 13:29:59 -05:00
David Anderson
25ea80890d Add testing.inc to packages. 2014-06-05 01:00:36 -07:00
Asher Baker
88c452581b Revert to using revision count for full version strings. 2014-05-31 03:28:09 +01:00
Nicholas Hastings
6456b937be Fix build. 2014-05-28 21:10:40 -04:00
Nicholas Hastings
a462feee61 Fix version script failing when HEAD directly contains hash instead of ref to it. 2014-05-28 14:38:17 -04:00
David Anderson
4b2b50a3df Fix spacing. 2014-05-26 22:21:27 -07:00
David Anderson
9ed3a55ade Fix build. 2014-05-26 22:17:58 -07:00
David Anderson
3f81397a84 Delete master.cfg 2014-05-26 10:06:27 -07:00