Commit Graph

4396 Commits

Author SHA1 Message Date
Arkshine
9b5c6bfff0 Compiler: Fix asserting when returning a string literal.
Imported from SM: https://bugs.alliedmods.net/show_bug.cgi?id=3836.
2014-08-26 09:04:45 +02:00
Arkshine
57b172072a Compiler: Fix bogus assert about name lengths.
Imported from SM: https://bugs.alliedmods.net/show_bug.cgi?id=4486.
2014-08-26 09:04:44 +02:00
Arkshine
3b2618f63b Compiler: Fix improper handling of constant chained relational operators.
Imported from SM: https://bugs.alliedmods.net/show_bug.cgi?id=3838.
2014-08-26 09:04:42 +02:00
Arkshine
4f525b9150 Compiler: Fix memory corruption when parsing natives.
Imported from SM: https://bugs.alliedmods.net/show_bug.cgi?id=5840
2014-08-26 09:04:40 +02:00
Arkshine
325a746d90 Compiler: Fix issue with multidimensional array variable release.
Imported from SM: https://bugs.alliedmods.net/show_bug.cgi?id=6100.
2014-08-26 09:04:39 +02:00
Arkshine
6978e2dc4c Compiler: Fix in recursion detection.
Original fix imported from pawn 3.1.3522.
This fixes where for some plugins you would have:

   Stack/heap size:      16384 bytes; usage is unknown, due to recursion

Now, you get:

   Stack/heap size:      16384 bytes; estimated max. usage=782 cells (3128 bytes)
2014-08-26 09:04:37 +02:00
Arkshine
520493fab1 Compiler: Add #pragma deprecated.
This is based on SM, including patch to support macros/constants (https://hg.alliedmods.net/sourcemod-central/rev/ef8dd1cddc35).
Updated also some pawn includes to use this new pragma.
2014-08-26 09:04:36 +02:00
Arkshine
09303625fb Compiler: Generate .scp files as part of the build process.
Stolen from SM (https://github.com/alliedmodders/sourcemod/pull/112).
2014-08-26 09:02:38 +02:00
Arkshine
02b6d0a288 Compiler: Increase input line length.
1023 can be achieved really fastly, e.g. with some SQL definitions.
This is the same value as SM.
2014-08-26 09:02:36 +02:00
Vincent Herbet
4d454b474c Attempt to fix build 2014-08-23 10:17:47 +02:00
Vincent Herbet
204004b90e Merge pull request #112 from Arkshine/deduplicate-files
Deduplicate a number of files used by modules by moving them to the public directory
2014-08-23 10:00:13 +02:00
Vincent Herbet
ccf919c58c Fix typo in previous commit (r=dvander) 2014-08-21 20:57:08 +02:00
David Anderson
567fbcd517 Fix build. 2014-08-19 21:38:44 -07:00
David Anderson
7f25e28d01 Merge pull request #121 from alliedmodders/fix-variadic
Fix returning strings from variadic functions.
2014-08-19 13:48:50 -07:00
Vincent Herbet
9e0f946696 Merge pull request #124 from Arkshine/fix-sound-onbuy
Block weapon pickup sound if shield is disallowed in CS_OnBuy forward.
2014-08-19 19:27:36 +02:00
Vincent Herbet
bd08cc5126 Merge pull request #126 from Arkshine/feature-find-player-engclient_print
Allow some natives to be used on connecting players (bug 6229).
2014-08-19 18:35:52 +02:00
Arkshine
bf23890a34 Reverse condition for clarity and to make Nextra happy! 2014-08-19 18:25:00 +02:00
Vincent Herbet
9eedca0a98 Merge pull request #125 from Arkshine/fix-abort
Don't show blank line in abort() with AMX_ERR_NONE (bug 6233).
2014-08-19 18:15:24 +02:00
Arkshine
68aec7eec0 Use new flags in get_players/find_player instead to avoid breakage. 2014-08-19 15:39:06 +02:00
Arkshine
76811b7b84 Allow get_players() as well. 2014-08-19 10:08:25 +02:00
Vincent Herbet
38d43e8fc9 Merge pull request #122 from xPaw/lastmanhp
Add an option to disable showing last man's health (bug 5847)
2014-08-19 09:56:07 +02:00
Arkshine
9cd90838e1 Remove safety checks as it's not really necessary. 2014-08-19 09:04:09 +02:00
Arkshine
e7d7de870a Block weapon pickup sound if shield is disallowed in CS_OnBuy forward. 2014-08-18 22:02:08 +02:00
Vincent Herbet
bcbf454255 Merge pull request #123 from yamikaitou/master
Fix compile error
2014-08-18 14:36:49 +02:00
Ryan
4dd53b333f moving comment 2014-08-18 06:34:18 -05:00
Ryan
b1b47a6d4c fix compile error 2014-08-18 05:36:37 -05:00
xPaw
518944c41e Add an option to disable showing last man's health (bug 5847) 2014-08-18 12:36:13 +03:00
Arkshine
481e1528d6 Don't show blank line in abort() with AMX_ERR_NONE (bug 6233). 2014-08-17 23:33:00 +02:00
Arkshine
33c0a676fd Allow find_player() and engclient_print() (in console) to be used on connecting players (bug 6229). 2014-08-17 23:31:46 +02:00
David Anderson
6bbc4c8dbd Fix returning strings from variadic functions. 2014-08-17 10:00:51 -07:00
Vincent Herbet
19f1c1a9ec Merge pull request #119 from reuben/metamod-path
Look for Metamod in ../metamod-hl1 as well since that's the name of the new git repo
2014-08-17 15:45:00 +02:00
Reuben Morais
5d9428f014 Look for Metamod in ../metamod-hl1 as well since that's the name of the new git repo. 2014-08-16 18:16:03 -03:00
Asher Baker
63774d75f3 Remove "Done." text from compiler. 2014-08-16 18:03:34 +01:00
Vincent Herbet
f185eaa232 Update TRANS_SILENT Serbian translaton. 2014-08-16 17:41:27 +02:00
Vincent Herbet
d49064b43e Merge pull request #113 from kiapwnz/silentswitch
Added Silent Transfer Option in Team Menu.
2014-08-16 15:13:18 +02:00
Vincent Herbet
e6b8188480 Merge pull request #118 from Arkshine/zlib-update-vs-project
Update VS projects in #117.
2014-08-16 14:46:49 +02:00
Arkshine
ab81658471 Update VS projects in #117. 2014-08-16 14:19:09 +02:00
Asher Baker
8883624b2e Merge pull request #117 from alliedmodders/compile-zlib
Remove pre-compiled zlib from the tree
2014-08-16 13:07:30 +01:00
Asher Baker
62f6b25b63 Remove pre-compiled zlib from the tree. 2014-08-16 00:33:33 +01:00
Asher Baker
e6c3d42eb8 Merge pull request #115 from alliedmodders/emscripten
Add support for Emscripten to the compiler.
2014-08-15 23:49:03 +01:00
Asher Baker
3a43a41141 Added back estimated stack usage. 2014-08-15 23:46:16 +01:00
Asher Baker
f886e69dfb Fixed linux build. 2014-08-15 23:23:11 +01:00
Asher Baker
46123d359f Add support for Emscripten to the compiler. 2014-08-15 16:32:00 +00:00
Vincent Herbet
8f2aeed9da Fix missing TE_BEAMENTPOINT define. 2014-08-15 14:20:51 +02:00
Kia
8890b2fd27 Added languages, languages available now :
[en]
[de]
[fr]
[sv]
[ru]
[pl]
[es]
[sk]
[sr]
[tr]
[da]
[nl]
[bp]
[cz]
[fi]
[bg]
[ro]
[hu]
2014-08-13 14:20:29 +02:00
Kia
5ee794f9f4 Fixed another Typo. 2014-08-11 16:41:35 +02:00
Kia
2ab4a8a44a Added Silent Transfer Option in Team Menu. 2014-08-11 16:38:16 +02:00
Kia
5ba0e3ec2a Added Silent Transfer Option in Team Menu.
Players will be transferred without getting killed if admin chooses to enable this function.
2014-08-11 14:46:30 +02:00
Arkshine
0fed80968b Fix OSX compilation #1. 2014-08-10 22:58:38 +02:00
Arkshine
41f6932b68 Remove some SourceMod namespace. 2014-08-10 22:25:14 +02:00