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
xboi209
0ef8c1990f
Fix previous commit
2015-08-24 12:19:43 -07:00
xboi209
b586b8e60d
Simplify some functions using C++
2015-08-24 12:17:48 -07:00
xboi209
21adb496b7
Fix non-ISO C++ conformant code
2015-08-24 03:17:12 -07:00
xboi209
5a1e471e8b
std::auto_ptr is deprecated in C++11, replace with std::unique_ptr
2015-08-24 02:55:31 -07:00
xboi209
ae45207b29
- Minimum CMake version: 3.1.0
...
- Minimum G++ version: 4.8
- Minimum Visual Studio version: VS2012
- Added '-std=c++11' flag to G++
- Removed unused defines
- Removed checks for standard library headers
- Added CMake detections of '_vsnprintf' and '_snprintf' for Visual Studio 2015
- Removed bnpcap
- Force Travis CI to use CMake 3.1.3 and G++5
2015-08-24 02:30:17 -07:00
xboi209
98f7165e21
Merge pull request #9 from HarpyWar/master
...
Sync
2015-08-23 00:03:57 -07:00
HarpyWar
5f9d7d6b9e
Merge pull request #164 from xboi209/memleak
...
Memleak
2015-08-20 16:15:48 +03:00
HarpyWar
d1c2be66ae
Merge pull request #163 from xboi209/master
...
Fix compile errors for Visual Studio 2015
2015-08-20 16:15:28 +03:00
xboi209
e299aadee0
Remove __cdecl because it's unnecessary and non portable
2015-08-13 12:51:05 -07:00
xboi209
a27a181e52
Change _cdecl to __cdecl
2015-08-13 12:45:48 -07:00