Commit graph

1371 commits

Author SHA1 Message Date
cen1
788b167ddd FIx compile with clang 2015-11-16 11:57:54 +01:00
xboi209
9385d027a2 Use std::string()'s 2015-11-03 17:41:00 -08:00
xboi209
1303e41913 Fix compile error on FreeBSD 10.2 with Clang 3.4.1 2015-10-31 01:21:01 -07:00
xboi209
72a3d92e5c Use std::string's 2015-10-31 01:13:24 -07:00
xboi209
b2ceee18e7 Merge pull request #180 from xboi209/master
Remove unused/unneeded defines
2015-10-17 16:05:18 -07:00
xboi209
c0f2c3968e - Removed HAVE_STRTOUL 2015-10-17 13:45:41 -07:00
xboi209
ddb665a543 - Removed HAVE_GETENV 2015-10-17 13:37:21 -07:00
xboi209
ebfb1b97fe - Removed HAVE_UNAME duplicate 2015-10-17 13:33:00 -07:00
xboi209
597f394d46 - Removed HAVE_VSNPRINTF 2015-10-17 13:30:18 -07:00
xboi209
a1f80f108f - Removed HAVE_DIFFTIME
- Removed HAVE_INDEX
- Removed HAVE_RINDEX
- Removed HAVE_STRCHR
- Removed HAVE_STRRCHR
2015-10-17 13:26:49 -07:00
xboi209
6f9294d198 Undo tmp change 2015-10-17 13:16:06 -07:00
xboi209
d1ac041bf5 - Removed check for HAVE_MKTIME 2015-10-17 13:15:41 -07:00
xboi209
534da8445a - Removed HAVE_SNPRINTF defines 2015-10-17 13:11:46 -07:00
xboi209
4908e192dd - Removed src/win32/configwin.h 2015-10-17 13:10:28 -07:00
xboi209
3ce35b1a83 Additional tested configurations 2015-10-17 12:40:49 -07:00
xboi209
92b8f9fea6 Merge pull request #178 from xboi209/master
Various Changes
2015-10-16 19:17:09 -07:00
xboi209
9cd2ef2b4b Updated docs files to use markdown 2015-10-16 17:13:24 -07:00
xboi209
ce56cf1619 Uncomment max_accounts in bnetd.conf 2015-10-12 16:03:39 -07:00
xboi209
9e3ba4e31a Use trace instead of error in friendlist_close() 2015-10-12 15:35:36 -07:00
xboi209
a5c1a8ed1e Revert account_set_rawattr() which caused a crash when creating a new account in WC3 2015-10-12 15:33:05 -07:00
xboi209
fc3080f447 Merge branch 'master' of https://github.com/xboi209/pvpgn.git 2015-10-10 13:54:34 -07:00
xboi209
33b4b61c95 Pass compiler flags for Clang 2015-10-10 13:54:31 -07:00
xboi209
0cb70c3264 Merge pull request #12 from pvpgn/master
Sync with HarpyWar
2015-10-09 20:44:53 -07:00
xboi209
5a455db8e2 Remove the -ansi flag 2015-10-09 20:41:08 -07:00
xboi209
664923370d Forgot to remove snprintf.cpp from compat/CMakeLists.txt 2015-10-09 20:23:21 -07:00
xboi209
7ba2bfab8b Rewrite account_wrap.cpp to use std::string()'s 2015-10-09 20:17:28 -07:00
xboi209
1aa1ecab6a Remove snprintf shim 2015-10-09 15:54:45 -07:00
xboi209
28752e8bd8 Optimized munge() by not calling strlen() in loop 2015-10-01 04:51:58 -07:00
xboi209
e45f503d2f Created a reference for topic->topicstr in class_topic::display() 2015-10-01 04:50:10 -07:00
xboi209
b907b28f51 Removed check for non-null pointer 2015-10-01 04:45:28 -07:00
xboi209
cfb327493d Corrected wrong format specifiers 2015-10-01 04:42:19 -07:00
xboi209
5a788bf6ce Optimized various functions in topic.cpp by declaring function parameters as constant 2015-10-01 04:36:06 -07:00
xboi209
6fdca215fc Removed unused variable 'when' 2015-10-01 04:32:35 -07:00
xboi209
a8bd7f2f0f Optimized tournament_init() by not calling strlen() in loop 2015-10-01 04:32:15 -07:00
xboi209
f2ddd3c6f5 Optimized customicons_load() by not calling strlen() in loop 2015-10-01 04:31:31 -07:00
xboi209
e477de2052 Removed check for non-null pointer 2015-10-01 04:28:44 -07:00
xboi209
a18107407f Removed check for non-null pointer 2015-10-01 04:28:26 -07:00
xboi209
4844c0c989 Optimized checks for empty strings 2015-10-01 04:24:28 -07:00
xboi209
c0db97afd6 Optimized versioncheck_compare_exeinfo() by not calling strlen() on every loop 2015-10-01 04:20:04 -07:00
xboi209
9948a600fc Optimized userlog_read() by not calling strlen() on every loop 2015-10-01 04:19:13 -07:00
xboi209
8be043e97e Optimized userlog_append() by not calling strlen() on every loop 2015-10-01 04:17:25 -07:00
xboi209
973141b193 Removed unused variable 'token' 2015-10-01 04:16:03 -07:00
xboi209
18c6de18da Removed unused variable 'istr' 2015-10-01 04:15:42 -07:00
xboi209
5f65085527 Optimized ipban_could_be_ip_str() by not calling strlen() on every loop 2015-10-01 04:15:18 -07:00
xboi209
b21db674c9 Optimized file_find_localized() by not calling strlen() on every loop 2015-10-01 04:13:39 -07:00
xboi209
6262ec0f01 Optimized replace_args() by not calling strlen() on every loop 2015-10-01 04:12:13 -07:00
xboi209
7c8f939bc1 Optimized account_check_name() by not calling strlen() on every loop 2015-10-01 04:10:21 -07:00
xboi209
39f58d3c9f Removed unused variable 'clients' 2015-10-01 04:08:05 -07:00
xboi209
a717515e7a Corrected wrong format specifiers 2015-10-01 04:03:57 -07:00
xboi209
2bda96bbc4 Corrected wrong format specifier 2015-10-01 04:01:57 -07:00