Commit graph

1384 commits

Author SHA1 Message Date
kervala
93fa57d25c Fixed: %s needs a const char* 2016-12-11 11:58:30 +01:00
kervala
27d3fd12d9 Fixed: Don't crash if a file is not unique in BNPs 2016-12-11 11:57:02 +01:00
kervala
f2368f2a91 Merge 2016-12-10 19:47:19 +01:00
kervala
f3fae4fc60 Changed: Replace Win32 calls by NeL methods 2016-12-10 19:46:51 +01:00
kervala
98544addc3 Changed: Removed unused methods and used TCHARs 2016-12-10 19:42:02 +01:00
kervala
674e240fdd Changed: Use _T macro 2016-12-10 19:39:39 +01:00
kervala
2fa6b8d316 Fixed: Compilation 2016-12-10 19:36:41 +01:00
kervala
f485c71918 Changed: Use 3dsmax SDK definitions 2016-12-10 19:07:15 +01:00
kervala
e387a1c31f Fixed: Warning on 64 bits 2016-12-10 19:05:24 +01:00
kervala
b1b13aedb8 Fixed: Compilation with 3dsmax 2017 SDK 2016-12-10 19:05:05 +01:00
kervala
ba441d034a Fixed: C++11 forbids to throw exception in destructor 2016-12-10 19:04:29 +01:00
kervala
e1f810ffba Changed: extern keyword useless there 2016-12-10 19:02:06 +01:00
kervala
0be5b4b248 Fixed: Don't call CCoTask::releaseInstance() because allocated on heap 2016-12-10 19:01:34 +01:00
kervala
7fb636f37d Changed: Minor changes 2016-12-10 18:58:13 +01:00
kervala
2c5a5b15d6 Fixed: Strict aliasing warnings 2016-12-10 18:55:31 +01:00
kervala
dca976b855 Changed: New "new" definitions for NEW_DEBUG macro defined by MFC 2016-12-10 18:50:01 +01:00
kervala
af70349233 Changed: Destructor for CApplicationContext to display singletons still in memory 2016-12-10 18:48:53 +01:00
kervala
cf840353ce Removed: Empty cpp files 2016-12-10 18:40:17 +01:00
kervala
a4f0c1f4d8 Changed: Replace a lot of const char* by std::string parameters 2016-12-10 18:40:03 +01:00
kervala
b36b97b05a Changed: Some warnings are specific to clang 2016-12-10 18:38:46 +01:00
kervala
1ee5aa36bc Fixed: Compilation of World Editor in Unicode 2016-12-10 18:15:01 +01:00
Nimetu
ef96b3ec6e Fixed: Protocol-less url in windows 2016-12-10 18:56:44 +02:00
kervala
12f39043b0 Changed: Use TCHAR functions 2016-12-10 14:21:20 +01:00
kervala
3c9e4e3098 Changed: Use TCHAR functions 2016-12-10 13:43:00 +01:00
kervala
51068e2164 Changed: Already a std::string 2016-12-10 13:09:16 +01:00
kervala
7a270ff9c0 Changed: Use addSlashR to replace \n by \r\n 2016-12-10 13:08:39 +01:00
kervala
08071b75dd Changed: NeL helpers to launch an external editor 2016-12-10 13:02:26 +01:00
kervala
a184dd7d8f Changed: Convert std::string <> TCHAR 2016-12-10 13:01:27 +01:00
kervala
d3b6102228 Changed: Check return code of WaitForSingleObject and log error 2016-12-10 12:36:04 +01:00
kervala
5a5bc16225 Fixed: Compilation 2016-12-10 12:33:44 +01:00
kervala
a625bccce3 Changed: Replace a lot of const char* by std::string parameters 2016-12-10 12:30:57 +01:00
kervala
bbeac21e82 Changed: Use a CUniquePtr macro since std::unique_ptr doesn't exist on all (yet) supported platforms 2016-12-10 12:05:29 +01:00
kervala
a6b31df8de Changed: Release all memory when leaving in login screen 2016-12-09 16:15:18 +01:00
kervala
9bfa8f1049 Fixed: Release CCurrentCoTask singleton 2016-12-09 16:14:16 +01:00
kervala
ffdbf0be8c Changed: Delete filenames before allocating new ones 2016-12-09 16:05:13 +01:00
kervala
a905001849 Changed: Unimplemented functions 2016-12-09 16:04:50 +01:00
kervala
914980875b Changed: Unicode MFC support 2016-12-09 16:04:26 +01:00
kervala
a0221817f2 Changed: New tga2dds option -g to force grayscale image instead of alpha 2016-12-09 13:53:43 +01:00
kervala
2a8a904b0a Removed: Empty cpp files 2016-12-09 13:51:52 +01:00
kervala
de6bb36f73 Changed: Memory leaks detection 2016-12-09 13:51:09 +01:00
kervala
c05158f6de Changed: VC++ 2005 (even if not supported...) 2016-12-09 13:47:43 +01:00
kervala
8ce3151275 Changed: Define _USING_V110_SDK71_ if targeting XP with VC++ 2012, 2013 and 2015 2016-12-09 13:47:15 +01:00
kervala
1c06a65bd7 Fixed: Replace Win32 code by multiplatform one using NeL classes 2016-12-07 14:22:50 +01:00
kervala
b497d1139c Changed: Use UNICODE for all MFC projects because it's recommended by MS 2016-12-07 13:04:43 +01:00
kervala
fc43d58aab Changed: Warning 2016-12-06 20:27:05 +01:00
kervala
10d0667a2f Fixed: Compilation with clang 2016-12-06 20:26:48 +01:00
kervala
dc8b7d0d5c Changed: Use _M and _T macros 2016-12-06 20:26:26 +01:00
kervala
e76f5d5919 Fixed: Truncated pointer 2016-12-06 20:25:31 +01:00
kervala
1e32e85b2a Fixed: Compilation 2016-12-06 20:24:48 +01:00
kervala
c70aa5143b Changed: Don't close a display already closed 2016-12-06 20:24:21 +01:00
kervala
c6e4e1d15a Changed: Little less verbose warnings 2016-12-06 20:23:49 +01:00
kervala
426098fd9e Fixed: Compilation with clang 2016-12-05 20:13:15 +01:00
kervala
d548256abd Changed: Minor change 2016-12-05 19:52:25 +01:00
kervala
b73cf7ac22 Changed: Display more warnings if using -fstack-protector 2016-12-05 19:52:14 +01:00
kervala
8c4e14e20b Changed: Display if using Ninja 2016-12-05 19:42:21 +01:00
kervala
17411bcc35 Changed: Display all warnings excepted unused parameters 2016-12-05 19:42:11 +01:00
kervala
1568d0f770 Fixed: Only compile in c++0x in C++ 2016-12-05 19:40:48 +01:00
kervala
ac4df3b65a Changed: Only compile with libc++ in C++ 2016-12-05 19:40:24 +01:00
kervala
aead758a0c Fixed: Compilation with clang 2016-12-05 19:39:19 +01:00
kervala
7ea585dffd Changed: Use NLMISC::openURL to open a page in browser 2016-12-05 19:35:55 +01:00
kervala
4cdcbb1332 Changed: Use ADD_PLATFORM_LINKFLAGS macro 2016-12-05 19:35:29 +01:00
kervala
13544a4d84 Fixed: Compilation of Ryzom Installer with Qt versions older than 5.6 2016-12-05 14:06:17 +01:00
kervala
b276f39ac8 Fixed: CMake definitions in PCH 2016-12-05 14:04:43 +01:00
kervala
7ad66f8ebd Fixed: Target OS X 10.7 so we can switch to libc++ instead of very old GCC 4.2.1 STL 2016-12-05 14:04:22 +01:00
kervala
eff218b8ab Fixed: Force c++0x for GCC and clang to be able to use std::unique_ptr and std::shared_ptr 2016-12-05 14:03:44 +01:00
kervala
ec9e4cbd56 Fixed: Compilation 2016-12-05 12:03:08 +01:00
kervala
70f7f510e5 Changed: Ligo headers path 2016-12-05 09:53:25 +01:00
kervala
c93a04743c Changed: Moved other Ligo headers to include 2016-12-05 09:51:48 +01:00
kervala
018203a62c Changed: Disable -fno-strict-aliasing (and fix all strict aliasing warnings) 2016-12-05 09:24:26 +01:00
kervala
671610b101 Fixed: Compilation under Linux 2016-12-05 09:03:13 +01:00
kervala
14bfc8070e Changed: Only compile gameshare for Ryzom servers, client or tools 2016-12-04 20:31:24 +01:00
kervala
25960c83fc Changed: Use -200.f instead of float(-200) 2016-12-04 20:00:37 +01:00
kervala
23f3ef683c Changed: Catch constification 2016-12-04 19:59:45 +01:00
kervala
c10b96fe24 Fixed: Support 3dsmax 2017 SDK 2016-12-04 19:59:25 +01:00
kervala
2b4fd383c4 Changed: Convert MSTR to UTF-8 2016-12-04 19:35:47 +01:00
kervala
2f78215beb Changed: Use !empty() instead of size() 2016-12-04 19:18:08 +01:00
kervala
0da495081a Fixed: Release libxml2 structures before exit 2016-12-04 19:17:21 +01:00
kervala
ab047793cf Fixed: Compatibility with CMake 2.8 2016-12-04 19:16:34 +01:00
kervala
9d39532d7d Changed: Don't use std::auto_ptr anymore (use std::unique_ptr instead) 2016-12-04 18:38:16 +01:00
kervala
380dd952ed Fixed: Prototype of method NotifyRefChanged changed in latest 3dsmax SDK versions 2016-12-04 17:27:29 +01:00
kervala
8f8578c57b Fixed: Latest 3dsmax SDK versions are using p_end instead of end 2016-12-04 17:25:27 +01:00
kervala
12aa9f54e7 Changed: nlwarning already put a \n 2016-12-04 17:24:00 +01:00
kervala
95bf392fe3 Fixed: Fix memory leaks about logs, displayers, etc... 2016-12-04 17:23:28 +01:00
kervala
35d98fda26 Changed: Don't need to use const char* 2016-12-04 17:22:49 +01:00
kervala
11b56a7e6d Changed: Renamed thread to Thread and assign InstallThread and DownloadThread 2016-12-04 17:19:37 +01:00
kervala
162b9e182b Changed: Replace 0 by NULL 2016-12-04 17:17:25 +01:00
kervala
5709cd0a5f Fixed: Delete CViewRenderer instance (fix a memory leak) 2016-12-04 17:17:06 +01:00
kervala
e805d78297 Fixed: Delete created thread (fix a memory leak) 2016-12-04 17:15:43 +01:00
kervala
8f7ab70efe Changed: Don't need to use CSString 2016-12-04 17:14:47 +01:00
kervala
bd58acdf86 Fixed: Warnings with GGC 6 2016-12-04 17:12:58 +01:00
kervala
26e76f796a Fixed: getMission returns a mission instead of NULL 2016-12-04 17:12:39 +01:00
kervala
5f1da53bd9 Fixed: Typo 2016-12-04 17:11:23 +01:00
kervala
70ea375a94 Fixed: Only 1 parameter for forceMissionProgress 2016-12-04 17:11:12 +01:00
kervala
d42bb07919 Fixed: Don't truncate 64 bits pointers 2016-12-04 17:10:10 +01:00
kervala
b58fd4b100 Changed: Remove empty function 2016-12-04 17:05:36 +01:00
kervala
e3e2fe0e74 Changed: Only delete _ProcessName if not NULL 2016-12-04 17:05:17 +01:00
kervala
63c925371d Changed: Use NULL instead of 0 2016-12-04 17:04:55 +01:00
kervala
038fbf0ea8 Fixed: Warning with VC++ 2015 2016-12-04 17:04:38 +01:00
kervala
f91c328261 Fixed: Compilation restore new to use new placement 2016-12-04 17:04:05 +01:00
kervala
95ee56ca5b Changed: Include PCH 2016-12-04 17:03:15 +01:00