Commit graph

1046 commits

Author SHA1 Message Date
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
xboi209
52d112644b Fixed leaks 2015-08-13 12:39:19 -07:00
xboi209
eea783b1a0 Fixed memory leak from attrgroup_flush() 2015-08-13 10:23:38 -07:00
xboi209
85965c7804 Fixed mistake 2015-08-13 09:39:51 -07:00
xboi209
9a5be8f445 - Fix snprintf and vsnprintf detection errors for Visual Studio 2015 in CMake
- Fix user-defined literal errors for Visual Studio 2015
2015-08-01 02:41:45 -07:00
HarpyWar
095cdee275 Merge pull request #154 from xboi209/patch-11
Close fp in customicons_load()
2015-06-28 10:31:41 +03:00
HarpyWar
aee1deec82 Merge pull request #148 from xboi209/patch-8
Do not define snprintf() as _snprintf()
2015-06-28 10:31:35 +03:00
HarpyWar
4fb5e7617d Merge pull request #146 from xboi209/afxres
Fix compile error when MFC is not installed
2015-06-28 10:31:21 +03:00
HarpyWar
5bfea3a1ea Merge pull request #144 from xboi209/cleanup
Cleanup
2015-06-28 10:31:15 +03:00
HarpyWar
3560aa1bd6 Merge pull request #143 from cen1/findmysql
On windows, mysql lib name is apparently libmysql, at least it was in my...
2015-06-28 10:31:02 +03:00