Commit graph

1165 commits

Author SHA1 Message Date
xboi209
5d279da11f Removed useless check for 'clan' 2015-10-01 03:46:30 -07:00
xboi209
289272945a 'filenamestk' is always not equal to a null pointer, remove check 2015-10-01 03:43:01 -07:00
xboi209
11e2b9fd94 - Minor code improvements to the Topics system
- Empty lines in the topic file no longer displays an error in the eventlog
- Added checks for duplicate lines in the topic file
- Optimized code to only write data from memory to the topic file if it doesn't already exist
2015-09-27 22:40:54 -07:00
HarpyWar
38f36b28ee automate windows builds for all storage types 2015-09-23 22:14:02 +03:00
HarpyWar
200ec3b48d fix error with cmake 3.3 when parsing string with brackets
"$ENV{PROGRAMFILES(x86)}/MySQL/*/include"
2015-09-23 22:11:05 +03:00
xboi209
db3c77558d Merge pull request #172 from xboi209/master
Various changes
2015-09-22 18:13:45 -07:00
xboi209
de13ce5351 Unreferenced local variable 'i' in sha1hash.cpp 2015-09-22 17:29:53 -07:00
xboi209
4b61afde1b Unreferenced local variable 'i' in bnchat.cpp 2015-09-22 17:29:34 -07:00
xboi209
1ee46e84ea Fixed truncation warnings in i18n.cpp 2015-09-22 17:28:50 -07:00
xboi209
9d126f9cc8 Return bool type in conn_wol_get_findme() and conn_wol_get_pageme() 2015-09-22 17:21:45 -07:00
xboi209
40d3b09edb Changed comparison between int and bool to int and int in clan_remove_member() 2015-09-22 17:16:38 -07:00
xboi209
96e1b8ef01 Do not initialize and declare extern variable 'countries' at the same time 2015-09-22 17:12:07 -07:00
xboi209
b5aca7a9cd Fixed mistake from previous commit 2015-09-22 17:09:33 -07:00
xboi209
caf4b212ff Fixed improper eventlog() calls 2015-09-22 16:49:35 -07:00
xboi209
3d51d15182 Fixed improper eventlog() calls 2015-09-22 16:34:55 -07:00
xboi209
1c22743786 Fixed compile error when compiling with SQL 2015-09-22 16:31:19 -07:00
xboi209
fa9cf3a329 Don't use NULL when a non-pointer is expected 2015-09-22 11:44:47 -07:00
xboi209
534206717a Don't use NULL when returning in tag_validate_client() 2015-09-22 11:35:29 -07:00
xboi209
1ae129e8f9 Fixed improper eventlog() calls 2015-09-22 11:30:55 -07:00
xboi209
4e0f62daef Fix non-conforming ISO C++ code 2015-09-22 11:23:05 -07:00
xboi209
5542dbd7d7 Fixed conflicting declaration of sql_tables 2015-09-22 11:19:27 -07:00
xboi209
01e9483bb4 Avoid fpermissive warning in G++ 2015-09-22 10:20:08 -07:00
xboi209
c4ea37bde7 Fix previous commit 2015-09-22 10:02:21 -07:00
xboi209
3422fb3990 Fix AppVeyor build issue 2015-09-22 09:58:55 -07:00
xboi209
f57a8c4a55 Force AppVeyor to use v140 build tools 2015-09-22 09:46:31 -07:00
xboi209
863c0cdcd0 Force AppVeyor to use Visual Studio 2015 2015-09-22 09:42:56 -07:00
xboi209
a8fbd54e2b - Force Travis to use CMake 3.3.2
- Force appveyor to use Visual Studio 2015
2015-09-22 09:39:03 -07:00
xboi209
08bd745c42 - Force Travis to use CMake 3.3.2
- Force appveyor to use Visual Studio 2015
2015-09-22 09:31:59 -07:00
xboi209
0274999f1a Merge branch 'master' of https://github.com/xboi209/pvpgn.git 2015-09-22 09:26:36 -07:00
xboi209
dce287825e Update minimum required compiler version to G++ 5.1 and Visual Studio 2015 2015-09-22 09:26:34 -07:00
xboi209
c9c78623b2 Merge pull request #11 from pvpgn/master
Sync with HarpyWar
2015-09-22 09:00:22 -07:00
HarpyWar
224fed7598 restrict check for STARTGAME4 packet length for starcraft client only
https://github.com/pvpgn/pvpgn-server/issues/159
2015-09-22 18:40:01 +03:00
HarpyWar
f19ca1afa2 update appveyor badge url 2015-09-22 14:48:49 +03:00
HarpyWar
7e7a371d45 update links to the repository due to move it to "pvpgn" organization 2015-09-22 13:46:18 +03:00
xboi209
d656e16493 Merge pull request #10 from HarpyWar/master
fix "WITH SQL" compile errors for Visual Studio 2015 (continuation of…
2015-09-21 21:30:26 -07:00
HarpyWar
bd08cc8d78 fix "WITH SQL" compile errors for Visual Studio 2015 (continuation of https://github.com/HarpyWar/pvpgn/pull/163) 2015-09-21 21:42:10 +03:00
xboi209
2660145b37 Implement C++14's make_unique 2015-09-20 20:10:28 -07:00
xboi209
b645515eee Overhaul topic.cpp and topic.h 2015-09-20 20:09:17 -07:00
xboi209
cac1d19a11 Removed redundant code in sha1_hash() and bnet_hash() 2015-09-06 11:43:12 -07:00
xboi209
d4085f218e Remove inet_ntoa, use inet_ntop 2015-09-06 11:25:48 -07:00
xboi209
4472050fb8 Remove inet_aton, use inet_pton 2015-09-06 10:49:42 -07:00
xboi209
0110ccd7a7 Revert change, can't figure out why this xfree() causes a crash 2015-08-26 01:18:22 -07:00
xboi209
177c482c7e Fixed mistake when attempting to free memory too early in userlog_filename() 2015-08-26 01:08:53 -07:00
xboi209
6ebdee268f Use xfree() instead of free() in anongame_infos_DESC_destroy() 2015-08-26 00:56:30 -07:00
xboi209
df840e101c Fixed mistake in checking for a failure from list_remove_elem() in friends.cpp 2015-08-26 00:53:34 -07:00
xboi209
ed37d44001 Fixed memory leaks in userlog_append() and userlog_filename() 2015-08-26 00:52:52 -07:00
xboi209
03b1c5e35c Fixed mistake in checking for a failure from list_remove_data() in friends.cpp 2015-08-26 00:16:24 -07:00
xboi209
638ab9e402 Make file_get_info() more consistent 2015-08-26 00:15:24 -07:00
xboi209
b171e72586 std::atexit() wasn't what I thought it was... 2015-08-25 23:58:44 -07:00
xboi209
61d3be9470 - Rewrote friends.cpp
- Created a new-handler function to handle out of memory failures by operator new
2015-08-25 23:55:30 -07:00