Commit Graph

54 Commits

Author SHA1 Message Date
Arkshine
32e1908859 Add submodule support in checkout-deps.sh 2015-03-14 13:23:47 +01:00
xPaw
fddebce313 Update modules paths 2015-03-13 15:23:05 +02:00
HttrckCldHKS
c071f53f2c Add new hashers and new natives
Replace the only hasher called MD5 with the ones listed below.

(+) CRC32, MD5, SHA1, SHA256, SHA3 224 BIT, SHA3 256 BIT, SHA3 384 BIT,
SHA3 512 BIT, Keccak 224 BIT, Keccak 256 BIT, Keccak 384 BIT and Keccak
512 BIT.

Add the natives listed below.

(+) hash_string(const string[], hashType:type, output[], const
outputSize)
(+) hash_file(const fileName, hashType:type, output[], const outputSize)
(+) is_arkshine_a_doctor() :  Hidden native, but a sign of recompense
for him being very active since 1.8.3 version of AMX Mod X
(+) get_system_endianness() :  Checks if the system is currently Big
Endian or Little Endian.

Add the following Enum.

(+) hashType {}
(+) sysEndianness {}

Deprecate the following natives.

(-) amx_md5()
(-) amx_md5_file()

It has been tested on Windows and Linux. The sanity checks seems to be
properly working, so no worries about them.

These are useful if people are using Sockets, cURLs or MySQLs in order
to compare hashes of different files On-line for further investigation.
You are not able to check if the files are older or newer, but you can
see if the content is different (Hash Checksum mismatch).

I'm glad I did this. Thanks to
2015-02-16 14:39:45 +02:00
Arkshine
faeaf9259e Cvars: Add OnCvarChanged global forward
I really tried to use "cvar_changed" as name, but it bothered me so much to look that weird I could not keep it.
2015-01-23 19:05:31 +01:00
Arkshine
3594c11238 Update versioning 2014-12-08 01:39:10 +01:00
Arkshine
7317f1d233 Update PackageScript. 2014-08-06 09:17:48 +02:00
Arkshine
0cf5a2e12f Expose ParseFile_INI to API.
Some minor changes have been made in parser:

- Added ReadINI_ParseStart and ReadINI_ParseEnd call.
- Function returns SMCResult instead of bool. To avoid unecessary complexity and duplicating natives, this feels more appropriate to let these functions to share some SMCResult and SMCParse constants. Since properly documented, this should be ok.
- Made sure curtok is set to 0 when ptr_val is null, otherwise unexpected value would be passed into the forward.
2014-08-06 09:17:45 +02:00
Arkshine
0d59209e4c Geoip: Replace GeoIP.dat by GeoLite2-Country.mmdb. 2014-08-05 20:08:17 +02:00
Scott Ehlert
d1122b982c Ship license files with builds. 2014-08-04 14:40:01 -05:00
Vincent Herbet
30b0585447 Fix missing cellstack.inc file. 2014-08-02 18:42:18 +02:00
Arkshine
e7b7506efa Introduce API to create Stack structures 2014-08-01 23:14:44 +02:00
xPaw
f2b1d26da3 Add --no-mysql to checkout-deps.sh 2014-07-27 12:31:19 +03:00
xPaw
a6f10efd03 splitext didn't work 2014-07-27 12:11:44 +03:00
xPaw
868be37007 Remove svn_version.inc from package script 2014-07-27 11:09:15 +03:00
xPaw
1c32e7284b Fix package script copying wrong amxmodx_version file to include folder 2014-07-27 11:02:06 +03:00
Arkshine
939a724b1a Regex: Add regex_replace native. 2014-07-17 11:21:06 +02:00
David Anderson
55cb6d4b94 Remove verbose untar from checkout-deps. 2014-06-05 13:40:04 -07:00
Arkshine
bfdf734ac1 Add Travis CI 2014-06-05 19:45:03 +02:00
David Anderson
d3e8b9066c Revert "Merge pull request #29 from xPaw/travis-ci"
This reverts commit 17b8858408, reversing
changes made to 0375d6469a.
2014-06-05 10:11:38 -07:00
Vincent Herbet
4c473451c9 Merge pull request #28 from xPaw/remove-amxmod-compat
Remove amxmod compatability
2014-06-05 19:00:27 +02:00
xPaw
e3e3d8a255 🔥 Remove NS2AMX utility backwards compatibility 2014-06-05 17:18:25 +03:00
xPaw
563e4fcdf4 Update versioning script to match SourceMod changes 2014-06-05 14:37:37 +03:00
xPaw
ae9315ad48 🔥 Remove amxmod compatability
This doesn't remove anything from the engine
2014-06-05 13:48:56 +03:00
David Anderson
9b51137767 Update checkout-deps.sh. 2014-05-26 16:21:20 -07:00
Scott Ehlert
db001a6eb5 Sync changes from SourceMod's bootstrap script. 2014-05-17 16:37:12 -05:00
Scott Ehlert
f69a8e66c6 Don't copy debug files into package directory.
Debugging symbols should be present in the binaries by default now.
2014-05-17 14:57:57 -05:00
Scott Ehlert
072747b741 Add --symbol-files option to AMBuild configure. 2014-05-17 14:54:38 -05:00
Arkshine
a86ca1491f Add new string natives/stocks, make some UTF-8 safe (bug 6110, r=ds) 2014-04-30 09:33:03 +02:00
Arkshine
e81e7bee13 Fix missing DataPacks plugin test and include file in PackageScript (thanks GuskiS) 2014-04-12 20:33:55 +02:00
David Anderson
d77e4a1470 Fix package.pl. 2014-03-11 19:54:37 -07:00
David Anderson
ea051bddfb Import the package needed for rmtree(). 2014-02-12 23:30:03 -08:00
David Anderson
fb186b6fab Add a checkout-deps.sh script. 2014-02-12 20:46:19 -08:00
David Anderson
aa46469878 Add new variants of strbreak, which is too broken to use. 2014-02-09 23:40:45 -08:00
David Anderson
e56cd58d70 Update the rest of the buildbot scripts for AMBuild.
Former-commit-id: ef3e192105c8c7f3905a2ceb82df4751d51cc013
2014-02-08 21:45:40 -08:00
David Anderson
426771deda Switch bootstrap.pl and startbuild.pl to AMBuild.
Former-commit-id: 462765c926139c44a1c2922e0281b4653fad783a
2014-02-08 21:23:02 -08:00
David Anderson
f0f319a418 Add WinCSX to AMBuild scripts.
Former-commit-id: eca50829ae45c9d7bad2f0c79a95ba7a1e35c63e
2014-02-08 21:16:41 -08:00
David Anderson
1f15fdd6cb Update versioning for AMBuild and git.
Former-commit-id: ea473061ef1f3b52716decfb4dafcfd66167730d
2014-02-08 20:37:33 -08:00
David Anderson
59c3e271db Remove all files related to SVN versioning.
Former-commit-id: 57a320bfe97fcf87cf2adc6a5ee3ae07814f798d
2014-02-08 16:26:40 -08:00
David Anderson
8f51d87826 Get PackageScript release-equivalent on Linux.
Former-commit-id: 15cfb571fbfb37281e1465a013305ff6267b7dce
2014-02-08 14:29:15 -08:00
David Anderson
e57845dd50 Add the PackageScript.
Former-commit-id: 8fe47f62d5ac5426fd1b718f4339c9add70e9fa5
2014-02-08 13:46:34 -08:00
David Anderson
7e7209d29a Bump version to 1.8.3-dev.
Former-commit-id: 3dd030c4e3f53c8baf4f30e22beaba15c852804d
2013-02-14 23:30:38 -08:00
David Anderson
3db718799f Bump version for release.
Former-commit-id: 4e0f69d8421b4d0a421f5960ce8ff77497acfa63
2013-02-14 00:51:48 -08:00
Scott Ehlert
7f13ae3e4f Fixed buildbot Perl scripts for Mac OS X build (bug 5601, r=dvander).
Former-commit-id: 375e91c1d22c5cc2a9107bbc804cbc17794421d4
2013-02-13 01:22:40 -06:00
Scott Ehlert
da2eb8ea66 Hopefully fixed Windows build. 2011-07-01 21:51:27 -05:00
Scott Ehlert
9d65198786 Upgraded MSVC project files for VS 2010 and modified build tool to use them. 2011-06-29 00:50:14 -05:00
David Anderson
e6f4dfbfe2 Added packager. 2010-04-04 18:10:35 -07:00
David Anderson
56b53584d1 Reversed test condition for build failure. 2010-04-04 17:11:11 -07:00
David Anderson
f43fcd6670 Invoke builder.exe correctly. 2010-04-04 17:02:16 -07:00
David Anderson
5984f0d442 Turns out mono eats exit codes. AWESOME. 2010-04-04 16:58:24 -07:00
David Anderson
52f5723f4e Another windows bootstrap fix. 2010-04-04 16:42:24 -07:00