Commit graph

1415 commits

Author SHA1 Message Date
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
kervala
c6b34b000b Removed: Empty sources 2016-12-04 17:01:38 +01:00
kervala
3f67ec3e5d Changed: Memory leaks detection 2016-12-04 17:00:20 +01:00
kervala
56d2a24352 Fixed: Define new operators when memory leaks detectin is enabled 2016-12-04 16:56:32 +01:00
kervala
01867c92d9 Fixed: Use macros instead of functions for memory align wrappers (easier to find memory leaks) 2016-12-04 16:55:52 +01:00
kervala
ec0222958f Fixed: Memory leaks in CBigFile 2016-12-04 16:54:57 +01:00
kervala
e9328811af Fixed: Respect coding standard for "parser" variable and delete it in destructor (fix a memory leak) 2016-12-04 16:52:50 +01:00
kervala
34eced40f7 Fixed: Replace free methods by freeBlock to avoid clash with free macros 2016-12-04 15:55:00 +01:00
kervala
554d782150 Fixed: Compilation 2016-12-04 15:50:28 +01:00
kervala
bb89ed670a Changed: Memory leaks detection 2016-12-04 15:14:10 +01:00
kervala
f66996b7f3 Fixed: Compilation 2016-12-03 18:14:58 +01:00
kervala
387ec5db8b Fixed: Compilation with GCC 6 2016-12-03 18:14:31 +01:00
kervala
bb9cec5372 Changed: Use MCHAR and _M macros for 3dsmax SDK strings 2016-12-02 17:20:25 +01:00
kervala
0fb1fa5cc0 Changed: Minor changes 2016-12-02 16:30:10 +01:00
kervala
8eb24e71e3 Changed: Use _T macro, TCHAR, tStrToUtf8/utf8ToTStr, etc... to support UNICODE 2016-12-02 16:24:31 +01:00
kervala
e6a2df9c7a Changed: Constification of addSlashR and removeSlashR 2016-12-02 16:01:43 +01:00
kervala
9e2ce6596d Fixed: We need to pass the executable full path as first argument to CreateProcess 2016-12-02 16:00:22 +01:00
kervala
9c7c4d59db Changed: Use CreateProcess instead of WinExec (deprecated) to launch an executable 2016-12-02 15:59:45 +01:00
kervala
476ac53605 Changed: Use std::string instead of const char* for openURL and openDoc 2016-12-02 15:58:59 +01:00
kervala
fbac57da97 Fixed: Use UNICODE versions of Win32 API 2016-12-02 15:57:25 +01:00
kervala
832da192ec Changed: Use _T macro, TCHAR, tStrToUtf8/utf8ToTStr, etc... to support UNICODE 2016-11-29 20:51:53 +01:00
kervala
fa30da556c Changed: Support PNG for Snapshot Tool 2016-11-29 20:47:33 +01:00
kervala
5cd37cb3cd Changed: Constification of catches 2016-11-29 20:46:49 +01:00
kervala
afbe840c51 Changed: Replace all path native functions by NeL methods 2016-11-29 20:43:55 +01:00
kervala
a8293233ed Changed: Moved Ligo headers to include 2016-11-29 20:34:35 +01:00
kervala
e78bb0c916 Fixed: Strict aliasing warnings 2016-11-29 20:32:33 +01:00
kervala
7242de6856 Fixed: GCC warning "variable might be clobbered by longjmp" 2016-11-29 20:28:19 +01:00
kervala
f1f15f59eb Changed: Use wide characters version of ShellExecute 2016-11-29 20:26:34 +01:00
kervala
1feacdce13 Changed: Use _T macro, TCHAR, tStrToUtf8/utf8ToTStr, etc... to support UNICODE 2016-11-29 20:24:58 +01:00
kervala
8e2d5f3fff Fixed: -Wl,-z doesn't exist under OS X 2016-11-26 16:32:09 +01:00
kervala
2a5323c45e Fixed: -Wl,-Bsymbolic-functions doesn't exist under OS X 2016-11-26 15:59:43 +01:00
Nimetu
eb25dfdd2c Changed: minor change to ui 2016-11-26 15:24:05 +02:00
Nimetu
fba5689b41 Changed: Add free-view mouse tablet mode option 2016-11-26 14:55:38 +02:00
kervala
68755139e2 Fixed: Return 0 if cancel installation 2016-11-26 13:15:51 +01:00
kervala
9bd7765c25 Changed: Updated Ryzom Installer translations 2016-11-26 13:15:03 +01:00
kervala
49d66d2f32 Changed: Minor changes 2016-11-25 14:12:03 +01:00
kervala
4795488385 Changed: Minor changes 2016-11-25 13:26:53 +01:00
kervala
6f5b64a669 Fixed: In MBCS mode, convert to std::string 2016-11-25 13:18:40 +01:00
kervala
9482f45375 Fixed: PCH with old CMake versions (definitions already include -D) 2016-11-25 10:57:59 +01:00
kervala
f8440af86a Changed: Added option ignore_free_disk_space_checks to ryzom_installer.ini 2016-11-25 10:44:06 +01:00
kervala
aafab8a909 Fixed: Compilation with old CMake versions 2016-11-23 12:30:18 +01:00
kervala
8b53cc8af9 Changed: Formatting 2016-11-23 12:29:59 +01:00
kervala
936dbec82c Changed: Replace all _splitpath by NeL methods 2016-11-22 19:34:43 +01:00
kervala
83d508bddb Fixed: CSystemInfo::availableHDSpace implementation under Unix 2016-11-22 19:04:02 +01:00
kervala
c0be27e2bc Changed: Convert CString and TCHAR* from/to std::string 2016-11-22 13:07:52 +01:00
kervala
7ce3f96422 Changed: Use _T macro and TCHAR to support UNICODE 2016-11-22 12:39:44 +01:00
kervala
d9e8c88dfa Fixed: Warnings 2016-11-22 12:22:17 +01:00
kervala
8139222e27 Fixed: Strict aliasing warnings 2016-11-22 12:14:32 +01:00
kervala
9f474dc306 Changed: Removed flags not supported everywhere 2016-11-21 20:57:49 +01:00
kervala
b663404be4 Changed: New join function to do the opposite work of explode 2016-11-21 20:57:18 +01:00
kervala
2d4ba17851 Fixed: Specify working directory for getVersionFromExecutable 2016-11-21 16:36:12 +01:00
kervala
c6fa3ad931 Fixed: Wrong variable 2016-11-21 16:35:28 +01:00
kervala
3d726db78c Fixed: Use default path for ryzom_installer.log is installation directory not defined 2016-11-21 16:35:18 +01:00
kervala
7134f35f69 Fixed: Warnings 2016-11-21 13:22:05 +01:00
kervala
22aa75b6e8 Changed: Improved formatting 2016-11-20 17:15:56 +01:00
kervala
2a90da11f4 Fixed: Compilation 2016-11-20 16:40:39 +01:00
kervala
6639ec422b Changed: Use wide version of Win32 API 2016-11-20 15:09:59 +01:00
kervala
103bcdf967 Fixed: Compilation 2016-11-20 15:09:32 +01:00
kervala
6557ebb890 Fixed: Missing macro ADD_PLATFORM_LINKFLAGS 2016-11-20 14:54:52 +01:00
kervala
dc217f573f Changed: Replace all "" by empty(), clear(), Empty(), etc... 2016-11-20 14:49:13 +01:00
kervala
27cefa66d5 Changed: Use stdext::make_checked_array_iterator and stdext::make_unchecked_array_iterator with VC++ 2015 2016-11-20 13:25:24 +01:00
kervala
2b36178662 Changed: Try to force -fPIC 2016-11-20 13:20:54 +01:00
kervala
3fcc954183 Changed: Added Debian hardening flags 2016-11-20 13:19:35 +01:00
kervala
123e8d8617 Changed: strict-aliasing option already defined 2016-11-20 13:18:32 +01:00
kervala
16c18b77a7 Changed: Minor changes 2016-11-20 13:03:46 +01:00
kervala
81825f4e43 Changed: Constification of catches 2016-11-20 12:31:48 +01:00
kervala
65c74399b0 Changed: Constification of catches 2016-11-19 21:15:58 +01:00
kervala
1840d26972 Changed: Use wide versions of Win32 API 2016-11-19 21:12:04 +01:00
kervala
d5e75314f8 Fixed: Typos 2016-11-19 21:07:52 +01:00
kervala
079e7bdc6b Changed: Use _T macro and TCHAR to support UNICODE 2016-11-19 21:07:20 +01:00