Commit graph

1027 commits

Author SHA1 Message Date
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
HarpyWar
8c446098f7 Merge pull request #142 from cen1/118
Fixed a warning from Ref #118. Plus has priority over dereference. I was...
2015-06-28 10:30:56 +03:00
xboi209
6f788b393c Update icons.cpp 2015-05-16 11:54:28 -07:00
xboi209
c742aeec3f Update icons.cpp 2015-05-16 11:42:55 -07:00
xboi209
72be079079 Close fp in customicons_load() 2015-05-16 11:30:40 -07:00
HarpyWar
c35b876e4d Merge pull request #151 from xboi209/patch-10
Update and rename Compile.Instructions.Win32.VS.Net2005.txt to Compile.I...
2015-04-01 12:27:51 +03:00
xboi209
f2c97b23ab Update Compile.Instructions.Win32.VS2013.txt 2015-03-24 11:26:04 -07:00
xboi209
1a97ed5c1f Update and rename Compile.Instructions.Win32.VS.Net2005.txt to Compile.Instructions.Win32.VS2013.txt 2015-03-23 15:03:37 -07:00
HarpyWar
f26ee365ee Merge pull request #150 from xboi209/patch-9
Deleaker
2015-03-23 11:40:49 +03:00
xboi209
f206be7af1 Update README.DEV
Deleaker
2015-03-23 01:33:40 -07:00
xboi209
316f14808c Update README.md
Deleaker
2015-03-22 14:49:11 -07:00
xboi209
9d1085b343 snprintf() is no longer defined as, if available, _snprintf() 2015-03-15 10:58:59 -07:00
xboi209
af44d9afdc Fix compile error when MFC is not installed 2015-03-13 23:06:52 -07:00
xboi209
b9c500f11a fix compile issue 2015-03-08 21:49:01 -07:00
xboi209
6511cb9e02 fix compile issue 2015-03-08 21:45:10 -07:00
xboi209
cc099ac1b0 fix compile issue 2015-03-08 21:41:05 -07:00
xboi209
7aabe19c8a fix compile issue 2015-03-08 21:36:32 -07:00
xboi209
16271f6488 warning C4101: 'end_lines' : unreferenced local variable
warning C4101: 'start_lines' : unreferenced local variable
2015-03-08 21:14:09 -07:00
xboi209
67a08a0671 warning C4101: 'player' : unreferenced local variable
warning C4101: 'ctag' : unreferenced local variable
warning C4101: 'channelname' : unreferenced local variable
2015-03-08 21:13:22 -07:00
xboi209
aeb08c5eb6 warning C4101: 'clienttag_str' : unreferenced local variable
warning C4101: 'item' : unreferenced local variable
warning C4101: 'item' : unreferenced local variable
warning C4101: 'usericon' : unreferenced local variable
warning C4101: 'uicon' : unreferenced local variable
warning C4101: 'curr_icon' : unreferenced local variable
2015-03-08 21:12:53 -07:00