Arkshine
dd9975cd67
Rename msvc10 directories to msvc12
2015-01-14 10:31:33 +01:00
Arkshine
97369c5d6c
Upgrade VS projetcs to use v120_xp toolset and fix missing include paths
2015-01-14 10:25:46 +01:00
Vincent Herbet
328c3d7b8b
Merge pull request #177 from Arkshine/fix/clang-3.5-compiler-warning
...
Compiler: Fix tautological warning with clang-3.5
2015-01-12 00:52:29 +01:00
Arkshine
a0cfa59e56
Compiler: Fix tautological warning with clang-3.5
2015-01-11 23:09:53 +01:00
Vincent Herbet
dfbc74dc5f
Merge pull request #176 from Arkshine/fix/keep-geop_country-bcompat
...
Keep geoip_country backward compatible after #99
2015-01-10 14:55:49 +01:00
Arkshine
539823f565
Keep geoip_country backward compatible after #99
2015-01-10 14:07:51 +01:00
Vincent Herbet
4a3fcdb937
Merge pull request #171 from Arkshine/fix/geoip-invalid-memory
...
Geoip: Fix possible crash
2015-01-08 10:37:36 +01:00
Vincent Herbet
0bc20edb5b
Merge pull request #174 from Arkshine/fix/mac-compilation
...
Attempt to fix OSX compilation
2015-01-07 19:22:23 +01:00
Arkshine
bab760897b
Attempt to fix OSX compilation
2015-01-07 19:23:23 +01:00
Vincent Herbet
7f71cfaee7
Merge pull request #165 from Arkshine/feature/add-version-lib-and-missing-rc
...
Update versioning system and add missing module RC file (bug 6222)
2015-01-07 18:59:51 +01:00
Vincent Herbet
aa8170ecfd
Merge pull request #172 from Arkshine/fix/osx-compilation
...
Fix OSX compilation
2015-01-06 23:26:22 +01:00
Arkshine
4fc2b4ed64
Fix OSX compilation
2015-01-06 23:27:51 +01:00
Vincent Herbet
604200e905
Merge pull request #162 from Arkshine/feature/update-amtl-c++11
...
Add C++11 support
2015-01-06 22:38:19 +01:00
Arkshine
a543db5dc6
Geoip: Fix possible crash
2015-01-06 22:36:14 +01:00
Vincent Herbet
9552049524
Merge pull request #170 from Freeman-AM/cstrike-initvalue
...
meta_api.cpp: modify csstats_rank value to match amxx.cfg default value
2015-01-05 18:03:00 +01:00
Vincent Herbet
b883486308
Merge pull request #168 from Ni3znajomy/master
...
Updated dictionary plmenu.txt
2014-12-28 21:19:05 +01:00
Vincent Herbet
59b7379db4
Merge pull request #167 from Freeman-AM/typo-errors
...
Users.ini: fix 2 typo errors
2014-12-23 19:31:53 +01:00
Vincent Herbet
15528c9583
Merge pull request #166 from rsKliPPy/set_task
...
Set task
2014-12-17 14:33:28 +01:00
Vincent Herbet
1df58d6231
Merge pull request #164 from Arkshine/fix/regression-member-tag-of-enum
...
FIx regression with member tag of enum not being checked on assigment
2014-12-13 11:23:10 +01:00
Arkshine
c068eed19d
Simplify code.
2014-12-13 11:15:06 +01:00
Arkshine
ab4294f3ca
Fix linux compilation
2014-12-10 15:41:52 +01:00
Arkshine
f4a3d07b0e
Fix missing binary suffix
2014-12-10 15:05:47 +01:00
Arkshine
4b11a54345
Make sure overriden tag is done with _:
2014-12-09 22:59:57 +01:00
Arkshine
78940b46a4
Untabify code
2014-12-09 22:29:43 +01:00
Arkshine
45bf43d76e
FIx regression with member tag of an enum not being checked on assigment
2014-12-09 22:26:59 +01:00
Vincent Herbet
6ba614d425
Merge pull request #163 from Arkshine/fix/sizeof-issue-with-trailing-comma-in-array
...
Fix trailing commas in array literals changing the result of sizeof()
2014-12-09 00:06:32 +01:00
Arkshine
5e622aa69f
Remove static on 'disable' variable
2014-12-08 23:55:30 +01:00
Arkshine
a50f104fd3
Fix trailing commas in array literals changing the result of sizeof()
2014-12-08 20:45:33 +01:00
Arkshine
8443a836aa
Add the actual version.rc file for all modules
2014-12-08 01:44:51 +01:00
Arkshine
f5e23903a2
Add version.rc in AMBuilder for all modules
2014-12-08 01:44:27 +01:00
Arkshine
291a33ce65
Update moduleconfig.h for all modules
2014-12-08 01:43:33 +01:00
Arkshine
7c96c30be8
Replace old SVN_* defines by the new ones
2014-12-08 01:42:42 +01:00
Arkshine
3594c11238
Update versioning
2014-12-08 01:39:10 +01:00
Arkshine
1977bf4d29
C++11: Update AMBuildScript
2014-12-06 14:33:22 +01:00
Arkshine
1146bcad2c
C++11: Fix some code
2014-12-06 14:02:55 +01:00
Arkshine
1199863e47
C++11: Update StringHashMap
2014-12-06 14:01:17 +01:00
Arkshine
590e6b1258
C++11: Sync AMTL libraries from upstream
2014-12-06 14:00:15 +01:00
Vincent Herbet
2bba5ce69a
Merge pull request #161 from 9iky6/patch-12
...
Fix spectators not being killed if silent switch is on
2014-12-05 17:23:37 +01:00
Vincent Herbet
8951f80748
Merge pull request #159 from Arkshine/fix-get_user_name
...
Fix typo in get_user_name() where hostname was returned as blank string
2014-11-13 21:20:40 +01:00
Arkshine
4ffd847b7a
Fix typo in get_user_name() where hostname was returned as blank string
2014-11-13 19:01:26 +01:00
Vincent Herbet
0dd638d0fd
Merge pull request #158 from Arkshine/fix-sizeof-fix
...
Improve more sizeof return on array without specifiying the dimensions
2014-11-11 21:09:44 +01:00
Arkshine
1a97b2cbe1
Improve more sizeof return on array without specifiying the dimension
2014-11-11 12:34:16 +01:00
Vincent Herbet
9b662bb0ca
Merge pull request #157 from Chuvi-w/master
...
Revert "Done" text due to AMXX-Studio compatibility.
2014-11-10 19:33:14 +01:00
Vincent Herbet
666aaf013a
Merge pull request #156 from 9iky6/patch-11
...
Fix stock regex_match_simple
2014-11-07 14:57:12 +01:00
Vincent Herbet
d5086f6a54
Merge pull request #154 from ClaudiuHKS/master
...
Add MySQL Reconnect Feature
2014-10-28 10:15:30 +01:00
Vincent Herbet
6e60b596d7
Merge pull request #152 from Arkshine/improve-find_ent_by_owner
...
Allow find_ent_by_owner native to work in client_disconnect forward
2014-10-26 13:06:55 +01:00
Vincent Herbet
929d6255fc
Merge pull request #153 from Arkshine/fix-ham-specialbot
...
Fix specialbot not working with [Enable/Disable]HamForward natives
2014-10-26 13:06:38 +01:00
Arkshine
b451fbd1c8
Fix specialbot not working with [Enable/Disable]HamForward natives
2014-10-25 20:44:17 +02:00
Vincent Herbet
419bdecc20
Merge pull request #149 from Arkshine/improve-get_map_objectives
...
Improve get_map_objectives native
2014-10-25 12:10:32 +02:00
Vincent Herbet
5f824d64da
Merge pull request #150 from Arkshine/add-reset_menu
...
Allow show_menu native to send empty text + add reset_menu stock (bug 6244)
2014-10-25 12:00:08 +02:00
Vincent Herbet
79479e40c6
Merge pull request #151 from Arkshine/add-msg_init-support
...
Add MSG_INIT support in message_begin native (bug 6254)
2014-10-25 11:45:02 +02:00
Arkshine
cfcd6e9ac9
Allow find_ent_by_owner native to work in client_disconnect forward
2014-10-25 11:08:31 +02:00
Arkshine
1bd022305f
Add MSG_INIT support in messsage_begin native (bug 6254)
2014-10-24 21:04:42 +02:00
Arkshine
d0ab27092c
Allow show_menu native to send empty text and add reset_menu stock (bug 6244)
2014-10-24 20:36:38 +02:00
Arkshine
850ae540a9
Improve get_map_objectives native.
2014-10-24 12:58:24 +02:00
Vincent Herbet
b2aa84ddbd
Merge pull request #147 from Arkshine/fix-linux-warning
...
Fix linux warning in previous commit
2014-10-24 11:43:04 +02:00
Arkshine
9cf4564057
Fix linux warning in previous commit
2014-10-24 11:25:52 +02:00
Vincent Herbet
d8fc093fd8
Merge pull request #143 from ClaudiuHKS/master
...
Colored Menus and GeoIP Bug Fix
2014-10-18 20:18:29 +02:00
Vincent Herbet
3894e53cf6
Merge pull request #141 from Freeman-AM/master
...
Removal of many hardcoded contents (part 1)
2014-10-13 10:18:32 +02:00
Vincent Herbet
2e1a7b56d8
Merge pull request #140 from Nextra/menu-recursion
...
Fix recursion issues with show_menu and newmenus
2014-10-11 10:58:00 +02:00
Vincent Herbet
581f734099
Merge pull request #139 from 9iky6/patch-10
...
Update engine_stocks.inc
2014-10-05 15:42:21 +02:00
Vincent Herbet
f8b2d26a00
Merge pull request #137 from Arkshine/update-compiler-2
...
Update compiler - 2
2014-09-29 20:42:17 +02:00
Arkshine
3b3e78d65b
Compiler: Remove commented code in previous commit
2014-09-29 20:36:14 +02:00
Vincent Herbet
a8efe40293
Merge pull request #138 from Arkshine/sync-amtl
...
Sync AMTL from upstream
2014-09-29 19:05:58 +02:00
Arkshine
35e661fdf9
Sync AMTL from upstream
2014-09-29 18:36:37 +02:00
Vincent Herbet
e1206eb310
Merge pull request #136 from Freeman-AM/master
...
Missing stuff in cstrike and ns amxx.cfg
2014-09-29 17:39:18 +02:00
Arkshine
199b41af0a
Compiler: Treat pawn warnings as errors when building
2014-09-29 15:55:16 +02:00
Arkshine
e7c7313f77
Compiler: Add a flag for warnings-as-errors
2014-09-29 15:54:39 +02:00
Arkshine
ae2699ca98
Compiler: Disable estimated memory usage
2014-09-29 15:12:56 +02:00
Vincent Herbet
e7452e00ce
Merge pull request #135 from Freeman-AM/master
...
CS Statx and DOD stats: add missing utf-8 symbols support in motd
2014-09-21 13:01:43 +02:00
Vincent Herbet
a350be335b
Merge pull request #134 from WildCard65/master
...
Fix typo in modules.cpp
2014-09-20 02:51:05 +02:00
Vincent Herbet
598936be46
Merge pull request #133 from Arkshine/sync-amtl
...
Sync AMTL
2014-09-18 19:41:51 +02:00
Vincent Herbet
d0623e5ef7
Merge pull request #132 from Arkshine/geoip-fix-typo
...
Fix typo in #99 (reported by Hattrick)
2014-09-18 19:41:40 +02:00
Vincent Herbet
bc5924a780
Merge pull request #131 from Arkshine/fix-plugin-warning
...
Fix unreachable code warning (reported by kwpd)
2014-09-18 19:41:31 +02:00
Arkshine
c1dca680f2
Don't remove this return
2014-09-18 19:35:29 +02:00
Arkshine
d4b0444d7a
Sync AMTL
2014-09-18 19:29:58 +02:00
Arkshine
d9efe61030
Fix typo in #99 (reported by Hattrick)
2014-09-18 19:24:37 +02:00
Arkshine
a93886fb65
Fix unreachable code warning (reported by kwpd)
2014-09-18 19:17:00 +02:00
Vincent Herbet
87774ae21f
Merge pull request #130 from Arkshine/fix-regression
...
Fix a crash regression in #112
2014-09-15 13:27:49 +02:00
Arkshine
19e06100b2
Fix a crash regression in #112
2014-09-15 09:57:38 +02:00
Vincent Herbet
e8acb93b99
Merge pull request #75 from LittleKu/patch-1
...
Add chinese language
2014-09-04 23:25:11 +02:00
Vincent Herbet
152c984176
Merge pull request #128 from Arkshine/Fix-missing-compiler-message
...
Fix compiler crash due to missing recursion message warning (bug 6251)
2014-08-31 14:59:08 +02:00
Arkshine
de85f2735e
Fix compiler crash due to missing recursion message warning.
2014-08-31 14:52:24 +02:00
Vincent Herbet
39cf32879d
Merge pull request #127 from Ni3znajomy/master
...
Fix a typo in the documentation.
2014-08-29 22:04:14 +02:00
Vincent Herbet
1463103cd7
Merge pull request #116 from Arkshine/update-compiler-safe-fix-feature
...
Update compiler
2014-08-26 09:07:45 +02:00
Arkshine
f30c7a63b1
Compiler: Fix linux compilation and close file handle on success in pc_opensrc.
2014-08-26 09:06:02 +02:00
Arkshine
e46785a434
Compiler: Improve/fix recursion detection.
...
Imported from Pawn 3.2.3664 and 3.3.3875.
2014-08-26 09:05:23 +02:00
Arkshine
a873066466
Compiler: Fix enum field size was not taken into account when implicitly passed to a function.
...
Imported from Pawn 3.3.3930.
Example:
---
enum tag
{
member[32]
}
new var[tag];
foo(const string[], size = sizeof(string))
{
// size returns 1 before fix, 32, after.
}
public plugin_init()
{
foo(var[member]);
}
---
2014-08-26 09:05:22 +02:00
Arkshine
f60b00ee71
Compiler: Use hash table for global name lookups.
...
Imported from SM: https://bugs.alliedmods.net/show_bug.cgi?id=4496 .
2014-08-26 09:05:20 +02:00
Arkshine
a876962405
Compiler: Use in-memory buffers for reading files, and handle newlines better.
...
Imported from https://github.com/alliedmodders/sourcemod/pull/63 .
2014-08-26 09:05:18 +02:00
Arkshine
c2ca5d857d
Compiler: Change __line to __LINE__.
2014-08-26 09:05:17 +02:00
Arkshine
27825963f6
Compiler: Fix indentation.
2014-08-26 09:05:15 +02:00
Arkshine
ca7b0ceadd
Compiler: Revert "Add #warning directive."
...
Probably not that useful.
2014-08-26 09:05:13 +02:00
Arkshine
32b546df69
Compiler: Revert "Fix runtime error in variadic functions that return strings."
...
Better fix by dvander will be provided later.
2014-08-26 09:05:11 +02:00
Arkshine
cea2f598b2
Compiler: Fix a regression in handling multi-dimensional arrays (introduced in 744d67b)
...
Fix imported from Pawn 3.3.4058.
2014-08-26 09:05:10 +02:00
Arkshine
d44eb7bf8d
Compiler: Update VERSION_INT.
...
Some people may want to check compiler version with __Pawn, and it would be a good idea to bump the version.
Since we have a special version, and to avoid to use digit which may be used by official version, I propose using letters, so: 0x30A.
This should be resonneable.
2014-08-26 09:05:08 +02:00
Arkshine
e1445316aa
Compiler: Fix moar.
2014-08-26 09:05:07 +02:00
Arkshine
238e3707c8
Compiler: Fix linux compilation.
2014-08-26 09:05:05 +02:00
Arkshine
16e5f54507
Compiler: Improve the reported line number accuracy on warning 203/4 (symbol never used).
...
Imported from Pawn 3.1.3541+.
https://code.google.com/p/pawnscript/source/detail?r=25
2014-08-26 09:05:03 +02:00
Arkshine
65c29cafa0
Compiler: Fix #elseif handling not working as expected.
...
Improted from Pawn 3.1.3636.
-- Example
#define VAR 1
#if VAR == 1
// code
#elseif VAR == 2
// code
#endif
--
Returns error(38).
2014-08-26 09:05:01 +02:00