Commit graph

6820 commits

Author SHA1 Message Date
kervala
62d4d8ccc0 Changed: Display line number instead of a pointer on a string
--HG--
branch : develop
2016-12-11 11:59:10 +01:00
kervala
10f7abb26f Fixed: %s needs a const char*
--HG--
branch : develop
2016-12-11 11:58:30 +01:00
kervala
1920a81a23 Fixed: Don't crash if a file is not unique in BNPs
--HG--
branch : develop
2016-12-11 11:57:02 +01:00
kervala
9d6f842f05 Merge
--HG--
branch : develop
2016-12-10 19:47:19 +01:00
kervala
86c82181ca Changed: Replace Win32 calls by NeL methods
--HG--
branch : develop
2016-12-10 19:46:51 +01:00
kervala
3d36a4bfb5 Changed: Removed unused methods and used TCHARs
--HG--
branch : develop
2016-12-10 19:42:02 +01:00
kervala
a1baec9de2 Changed: Use _T macro
--HG--
branch : develop
2016-12-10 19:39:39 +01:00
kervala
083f44ec32 Fixed: Compilation
--HG--
branch : develop
2016-12-10 19:36:41 +01:00
kervala
30b40568ed Changed: Use 3dsmax SDK definitions
--HG--
branch : develop
2016-12-10 19:07:15 +01:00
kervala
8ef8b60ab8 Fixed: Warning on 64 bits
--HG--
branch : develop
2016-12-10 19:05:24 +01:00
kervala
829092aa8c Fixed: Compilation with 3dsmax 2017 SDK
--HG--
branch : develop
2016-12-10 19:05:05 +01:00
kervala
dbf443beb7 Fixed: C++11 forbids to throw exception in destructor
--HG--
branch : develop
2016-12-10 19:04:29 +01:00
kervala
faecd5b952 Changed: extern keyword useless there
--HG--
branch : develop
2016-12-10 19:02:06 +01:00
kervala
d37a1e032c Fixed: Don't call CCoTask::releaseInstance() because allocated on heap
--HG--
branch : develop
2016-12-10 19:01:34 +01:00
kervala
9a6b3c91b7 Changed: Minor changes
--HG--
branch : develop
2016-12-10 18:58:13 +01:00
kervala
50b6af6d3d Fixed: Strict aliasing warnings
--HG--
branch : develop
2016-12-10 18:55:31 +01:00
kervala
3c568ce8a3 Changed: New "new" definitions for NEW_DEBUG macro defined by MFC
--HG--
branch : develop
2016-12-10 18:50:01 +01:00
kervala
ba35109fe4 Changed: Destructor for CApplicationContext to display singletons still in memory
--HG--
branch : develop
2016-12-10 18:48:53 +01:00
kervala
bbcd14cecb Removed: Empty cpp files
--HG--
branch : develop
2016-12-10 18:40:17 +01:00
kervala
27b272f012 Changed: Replace a lot of const char* by std::string parameters
--HG--
branch : develop
2016-12-10 18:40:03 +01:00
kervala
6bbe0ad774 Changed: Some warnings are specific to clang
--HG--
branch : develop
2016-12-10 18:38:46 +01:00
kervala
fe72e1c8d3 Fixed: Compilation of World Editor in Unicode
--HG--
branch : develop
2016-12-10 18:15:01 +01:00
Nimetu
5d35bb8717 Fixed: Protocol-less url in windows
--HG--
branch : develop
2016-12-10 18:56:44 +02:00
kervala
94bf8fd54e Changed: Use TCHAR functions
--HG--
branch : develop
2016-12-10 14:21:20 +01:00
kervala
f0c5b7ea40 Changed: Use TCHAR functions
--HG--
branch : develop
2016-12-10 13:43:00 +01:00
kervala
934df9bd6f Changed: Already a std::string
--HG--
branch : develop
2016-12-10 13:09:16 +01:00
kervala
699680ac4a Changed: Use addSlashR to replace \n by \r\n
--HG--
branch : develop
2016-12-10 13:08:39 +01:00
kervala
5dfa19518a Changed: NeL helpers to launch an external editor
--HG--
branch : develop
2016-12-10 13:02:26 +01:00
kervala
5658cad02e Changed: Convert std::string <> TCHAR
--HG--
branch : develop
2016-12-10 13:01:27 +01:00
kervala
22de830c26 Changed: Check return code of WaitForSingleObject and log error
--HG--
branch : develop
2016-12-10 12:36:04 +01:00
kervala
c716c48fdb Fixed: Compilation
--HG--
branch : develop
2016-12-10 12:33:44 +01:00
kervala
dbba511ee7 Changed: Replace a lot of const char* by std::string parameters
--HG--
branch : develop
2016-12-10 12:30:57 +01:00
kervala
ab44d7e809 Changed: Use a CUniquePtr macro since std::unique_ptr doesn't exist on all (yet) supported platforms
--HG--
branch : develop
2016-12-10 12:05:29 +01:00
kervala
0f6ae5e239 Changed: Release all memory when leaving in login screen
--HG--
branch : develop
2016-12-09 16:15:18 +01:00
kervala
eabfcbf708 Fixed: Release CCurrentCoTask singleton
--HG--
branch : develop
2016-12-09 16:14:16 +01:00
kervala
06cc0ddec8 Changed: Delete filenames before allocating new ones
--HG--
branch : develop
2016-12-09 16:05:13 +01:00
kervala
995ea1e64f Changed: Unimplemented functions
--HG--
branch : develop
2016-12-09 16:04:50 +01:00
kervala
b66b85cefd Changed: Unicode MFC support
--HG--
branch : develop
2016-12-09 16:04:26 +01:00
kervala
9e0b38e6e0 Changed: New tga2dds option -g to force grayscale image instead of alpha
--HG--
branch : develop
2016-12-09 13:53:43 +01:00
kervala
0b171001d1 Removed: Empty cpp files
--HG--
branch : develop
2016-12-09 13:51:52 +01:00
kervala
e2b74b77c6 Changed: Memory leaks detection
--HG--
branch : develop
2016-12-09 13:51:09 +01:00
kervala
22a8a61a75 Changed: VC++ 2005 (even if not supported...)
--HG--
branch : develop
2016-12-09 13:47:43 +01:00
kervala
80e357ffee Changed: Define _USING_V110_SDK71_ if targeting XP with VC++ 2012, 2013 and 2015
--HG--
branch : develop
2016-12-09 13:47:15 +01:00
kervala
8e15feaa13 Fixed: Replace Win32 code by multiplatform one using NeL classes
--HG--
branch : develop
2016-12-07 14:22:50 +01:00
kervala
28042f6b21 Changed: Use UNICODE for all MFC projects because it's recommended by MS
--HG--
branch : develop
2016-12-07 13:04:43 +01:00
kervala
e5362bdae7 Changed: Warning
--HG--
branch : develop
2016-12-06 20:27:05 +01:00
kervala
9022dfafde Fixed: Compilation with clang
--HG--
branch : develop
2016-12-06 20:26:48 +01:00
kervala
3992b53683 Changed: Use _M and _T macros
--HG--
branch : develop
2016-12-06 20:26:26 +01:00
kervala
b112b7bc9b Fixed: Truncated pointer
--HG--
branch : develop
2016-12-06 20:25:31 +01:00
kervala
c79e47384d Fixed: Compilation
--HG--
branch : develop
2016-12-06 20:24:48 +01:00
kervala
fff0b5ce5b Changed: Don't close a display already closed
--HG--
branch : develop
2016-12-06 20:24:21 +01:00
kervala
363dfb9a3c Changed: Little less verbose warnings
--HG--
branch : develop
2016-12-06 20:23:49 +01:00
kervala
9cdb7446ce Fixed: Compilation with clang
--HG--
branch : develop
2016-12-05 20:13:15 +01:00
kervala
0bc80be124 Changed: Minor change
--HG--
branch : develop
2016-12-05 19:52:25 +01:00
kervala
0ae10c404e Changed: Display more warnings if using -fstack-protector
--HG--
branch : develop
2016-12-05 19:52:14 +01:00
kervala
e008cd4dae Changed: Display if using Ninja
--HG--
branch : develop
2016-12-05 19:42:21 +01:00
kervala
957bb8eeed Changed: Display all warnings excepted unused parameters
--HG--
branch : develop
2016-12-05 19:42:11 +01:00
kervala
bb9db58f0c Fixed: Only compile in c++0x in C++
--HG--
branch : develop
2016-12-05 19:40:48 +01:00
kervala
a56b938636 Changed: Only compile with libc++ in C++
--HG--
branch : develop
2016-12-05 19:40:24 +01:00
kervala
9bb46d2ae8 Fixed: Compilation with clang
--HG--
branch : develop
2016-12-05 19:39:19 +01:00
kervala
e0cb4bbe9e Changed: Use NLMISC::openURL to open a page in browser
--HG--
branch : develop
2016-12-05 19:35:55 +01:00
kervala
85bb706900 Changed: Use ADD_PLATFORM_LINKFLAGS macro
--HG--
branch : develop
2016-12-05 19:35:29 +01:00
kervala
ac79329448 Fixed: Compilation of Ryzom Installer with Qt versions older than 5.6
--HG--
branch : develop
2016-12-05 14:06:17 +01:00
kervala
5ee53205b9 Fixed: CMake definitions in PCH
--HG--
branch : develop
2016-12-05 14:04:43 +01:00
kervala
6162352d8b Fixed: Target OS X 10.7 so we can switch to libc++ instead of very old GCC 4.2.1 STL
--HG--
branch : develop
2016-12-05 14:04:22 +01:00
kervala
b5fc65ce3e Fixed: Force c++0x for GCC and clang to be able to use std::unique_ptr and std::shared_ptr
--HG--
branch : develop
2016-12-05 14:03:44 +01:00
kervala
10a3255523 Fixed: Compilation
--HG--
branch : develop
2016-12-05 12:03:08 +01:00
kervala
83a64809c6 Changed: Ligo headers path
--HG--
branch : develop
2016-12-05 09:53:25 +01:00
kervala
13ddbf39ef Changed: Moved other Ligo headers to include
--HG--
branch : develop
2016-12-05 09:51:48 +01:00
kervala
ad91edabff Changed: Disable -fno-strict-aliasing (and fix all strict aliasing warnings)
--HG--
branch : develop
2016-12-05 09:24:26 +01:00
kervala
1dfae26b25 Fixed: Compilation under Linux
--HG--
branch : develop
2016-12-05 09:03:13 +01:00
kervala
ede41a3091 Changed: Only compile gameshare for Ryzom servers, client or tools
--HG--
branch : develop
2016-12-04 20:31:24 +01:00
kervala
85b9398668 Changed: Use -200.f instead of float(-200)
--HG--
branch : develop
2016-12-04 20:00:37 +01:00
kervala
90b57e684b Changed: Catch constification
--HG--
branch : develop
2016-12-04 19:59:45 +01:00
kervala
9e22ece5b6 Fixed: Support 3dsmax 2017 SDK
--HG--
branch : develop
2016-12-04 19:59:25 +01:00
kervala
f5008cb00d Changed: Convert MSTR to UTF-8
--HG--
branch : develop
2016-12-04 19:35:47 +01:00
kervala
6d651b9c68 Changed: Use !empty() instead of size()
--HG--
branch : develop
2016-12-04 19:18:08 +01:00
kervala
c71f712d11 Fixed: Release libxml2 structures before exit
--HG--
branch : develop
2016-12-04 19:17:21 +01:00
kervala
09c99dd2c3 Fixed: Compatibility with CMake 2.8
--HG--
branch : develop
2016-12-04 19:16:34 +01:00
kervala
00048f0d6d Changed: Don't use std::auto_ptr anymore (use std::unique_ptr instead)
--HG--
branch : develop
2016-12-04 18:38:16 +01:00
kervala
36cc1ea2b5 Fixed: Prototype of method NotifyRefChanged changed in latest 3dsmax SDK versions
--HG--
branch : develop
2016-12-04 17:27:29 +01:00
kervala
b3da4247d4 Fixed: Latest 3dsmax SDK versions are using p_end instead of end
--HG--
branch : develop
2016-12-04 17:25:27 +01:00
kervala
664f494b07 Changed: nlwarning already put a \n
--HG--
branch : develop
2016-12-04 17:24:00 +01:00
kervala
b4de1326d1 Fixed: Fix memory leaks about logs, displayers, etc...
--HG--
branch : develop
2016-12-04 17:23:28 +01:00
kervala
b8658f65f1 Changed: Don't need to use const char*
--HG--
branch : develop
2016-12-04 17:22:49 +01:00
kervala
35f1fa0609 Changed: Renamed thread to Thread and assign InstallThread and DownloadThread
--HG--
branch : develop
2016-12-04 17:19:37 +01:00
kervala
0449bee4a8 Changed: Replace 0 by NULL
--HG--
branch : develop
2016-12-04 17:17:25 +01:00
kervala
491b6a2b59 Fixed: Delete CViewRenderer instance (fix a memory leak)
--HG--
branch : develop
2016-12-04 17:17:06 +01:00
kervala
17847efa51 Fixed: Delete created thread (fix a memory leak)
--HG--
branch : develop
2016-12-04 17:15:43 +01:00
kervala
c3a6610f36 Changed: Don't need to use CSString
--HG--
branch : develop
2016-12-04 17:14:47 +01:00
kervala
f17bd720b1 Fixed: Warnings with GGC 6
--HG--
branch : develop
2016-12-04 17:12:58 +01:00
kervala
1a338b3462 Fixed: getMission returns a mission instead of NULL
--HG--
branch : develop
2016-12-04 17:12:39 +01:00
kervala
ec6ffe547c Fixed: Typo
--HG--
branch : develop
2016-12-04 17:11:23 +01:00
kervala
bf7b51ca6c Fixed: Only 1 parameter for forceMissionProgress
--HG--
branch : develop
2016-12-04 17:11:12 +01:00
kervala
e69858491c Fixed: Don't truncate 64 bits pointers
--HG--
branch : develop
2016-12-04 17:10:10 +01:00
kervala
d62c17986d Changed: Remove empty function
--HG--
branch : develop
2016-12-04 17:05:36 +01:00
kervala
18dfbcd5a7 Changed: Only delete _ProcessName if not NULL
--HG--
branch : develop
2016-12-04 17:05:17 +01:00
kervala
00ab100192 Changed: Use NULL instead of 0
--HG--
branch : develop
2016-12-04 17:04:55 +01:00
kervala
7203a23706 Fixed: Warning with VC++ 2015
--HG--
branch : develop
2016-12-04 17:04:38 +01:00
kervala
aef84bea6d Fixed: Compilation restore new to use new placement
--HG--
branch : develop
2016-12-04 17:04:05 +01:00
kervala
1d7b3f470c Changed: Include PCH
--HG--
branch : develop
2016-12-04 17:03:15 +01:00
kervala
0ecac0249c Removed: Empty sources
--HG--
branch : develop
2016-12-04 17:01:38 +01:00
kervala
b6662b9e0b Changed: Memory leaks detection
--HG--
branch : develop
2016-12-04 17:00:20 +01:00
kervala
44c15f946c Fixed: Define new operators when memory leaks detectin is enabled
--HG--
branch : develop
2016-12-04 16:56:32 +01:00
kervala
dbcc8d46f5 Fixed: Use macros instead of functions for memory align wrappers (easier to find memory leaks)
--HG--
branch : develop
2016-12-04 16:55:52 +01:00
kervala
91d6734e2a Fixed: Memory leaks in CBigFile
--HG--
branch : develop
2016-12-04 16:54:57 +01:00
kervala
8cc3963ddd Fixed: Respect coding standard for "parser" variable and delete it in destructor (fix a memory leak)
--HG--
branch : develop
2016-12-04 16:52:50 +01:00
kervala
13154bd79d Fixed: Replace free methods by freeBlock to avoid clash with free macros
--HG--
branch : develop
2016-12-04 15:55:00 +01:00
kervala
fd6a4d9f75 Fixed: Compilation
--HG--
branch : develop
2016-12-04 15:50:28 +01:00
kervala
b7e3e4b4f0 Changed: Memory leaks detection
--HG--
branch : develop
2016-12-04 15:14:10 +01:00
kervala
730fee8538 Fixed: Compilation
--HG--
branch : develop
2016-12-03 18:14:58 +01:00
kervala
f3564ed86e Fixed: Compilation with GCC 6
--HG--
branch : develop
2016-12-03 18:14:31 +01:00
kervala
d9ab55640c Changed: Use MCHAR and _M macros for 3dsmax SDK strings
--HG--
branch : develop
2016-12-02 17:20:25 +01:00
kervala
ffa5203a79 Changed: Minor changes
--HG--
branch : develop
2016-12-02 16:30:10 +01:00
kervala
7af3a4c68c Changed: Use _T macro, TCHAR, tStrToUtf8/utf8ToTStr, etc... to support UNICODE
--HG--
branch : develop
2016-12-02 16:24:31 +01:00
kervala
894151dba8 Changed: Constification of addSlashR and removeSlashR
--HG--
branch : develop
2016-12-02 16:01:43 +01:00
kervala
dd6cc92035 Fixed: We need to pass the executable full path as first argument to CreateProcess
--HG--
branch : develop
2016-12-02 16:00:22 +01:00
kervala
b1d39b07de Changed: Use CreateProcess instead of WinExec (deprecated) to launch an executable
--HG--
branch : develop
2016-12-02 15:59:45 +01:00
kervala
591dc1dffd Changed: Use std::string instead of const char* for openURL and openDoc
--HG--
branch : develop
2016-12-02 15:58:59 +01:00
kervala
58ec64e380 Fixed: Use UNICODE versions of Win32 API
--HG--
branch : develop
2016-12-02 15:57:25 +01:00
kervala
1e97c4f6f1 Changed: Use _T macro, TCHAR, tStrToUtf8/utf8ToTStr, etc... to support UNICODE
--HG--
branch : develop
2016-11-29 20:51:53 +01:00
kervala
5988d7ea82 Changed: Support PNG for Snapshot Tool
--HG--
branch : develop
2016-11-29 20:47:33 +01:00
kervala
fa8c29b60b Changed: Constification of catches
--HG--
branch : develop
2016-11-29 20:46:49 +01:00
kervala
25a4d6bbed Changed: Replace all path native functions by NeL methods
--HG--
branch : develop
2016-11-29 20:43:55 +01:00
kervala
c13b007090 Changed: Moved Ligo headers to include
--HG--
branch : develop
2016-11-29 20:34:35 +01:00
kervala
e941cff0ff Fixed: Strict aliasing warnings
--HG--
branch : develop
2016-11-29 20:32:33 +01:00
kervala
9f90b30699 Fixed: GCC warning "variable might be clobbered by longjmp"
--HG--
branch : develop
2016-11-29 20:28:19 +01:00
kervala
4aaec3dfc9 Changed: Use wide characters version of ShellExecute
--HG--
branch : develop
2016-11-29 20:26:34 +01:00
kervala
d568a0eedd Changed: Use _T macro, TCHAR, tStrToUtf8/utf8ToTStr, etc... to support UNICODE
--HG--
branch : develop
2016-11-29 20:24:58 +01:00
kervala
3e2c731444 Fixed: -Wl,-z doesn't exist under OS X
--HG--
branch : develop
2016-11-26 16:32:09 +01:00
kervala
4f5d3afd51 Fixed: -Wl,-Bsymbolic-functions doesn't exist under OS X
--HG--
branch : develop
2016-11-26 15:59:43 +01:00
Nimetu
3b0c7e896c Changed: minor change to ui
--HG--
branch : develop
2016-11-26 15:24:05 +02:00
Nimetu
cf338681fa Changed: Add free-view mouse tablet mode option
--HG--
branch : develop
2016-11-26 14:55:38 +02:00
kervala
040f7c0fae Fixed: Return 0 if cancel installation
--HG--
branch : develop
2016-11-26 13:15:51 +01:00
kervala
fb21a038d9 Changed: Updated Ryzom Installer translations
--HG--
branch : develop
2016-11-26 13:15:03 +01:00
kervala
1137006eb4 Changed: Minor changes
--HG--
branch : develop
2016-11-25 14:12:03 +01:00
kervala
b17da91efd Changed: Minor changes
--HG--
branch : develop
2016-11-25 13:26:53 +01:00
kervala
5f5483a672 Fixed: In MBCS mode, convert to std::string
--HG--
branch : develop
2016-11-25 13:18:40 +01:00
kervala
1aa738ba78 Fixed: PCH with old CMake versions (definitions already include -D)
--HG--
branch : develop
2016-11-25 10:57:59 +01:00
kervala
c4b9d77eaa Changed: Added option ignore_free_disk_space_checks to ryzom_installer.ini
--HG--
branch : develop
2016-11-25 10:44:06 +01:00
kervala
6a76fc8317 Fixed: Compilation with old CMake versions
--HG--
branch : develop
2016-11-23 12:30:18 +01:00
kervala
c658afdece Changed: Formatting
--HG--
branch : develop
2016-11-23 12:29:59 +01:00
kervala
033a337419 Changed: Replace all _splitpath by NeL methods
--HG--
branch : develop
2016-11-22 19:34:43 +01:00
kervala
35e3e27924 Fixed: CSystemInfo::availableHDSpace implementation under Unix
--HG--
branch : develop
2016-11-22 19:04:02 +01:00
kervala
6565603216 Changed: Convert CString and TCHAR* from/to std::string
--HG--
branch : develop
2016-11-22 13:07:52 +01:00
kervala
b7ca1d224c Changed: Use _T macro and TCHAR to support UNICODE
--HG--
branch : develop
2016-11-22 12:39:44 +01:00
kervala
a3262bb971 Fixed: Warnings
--HG--
branch : develop
2016-11-22 12:22:17 +01:00
kervala
94d3440148 Fixed: Strict aliasing warnings
--HG--
branch : develop
2016-11-22 12:14:32 +01:00
kervala
f59cef10bd Changed: Removed flags not supported everywhere
--HG--
branch : develop
2016-11-21 20:57:49 +01:00
kervala
d7182af399 Changed: New join function to do the opposite work of explode
--HG--
branch : develop
2016-11-21 20:57:18 +01:00
kervala
501e1d9d27 Fixed: Specify working directory for getVersionFromExecutable
--HG--
branch : develop
2016-11-21 16:36:12 +01:00
kervala
cc331d6295 Fixed: Wrong variable
--HG--
branch : develop
2016-11-21 16:35:28 +01:00
kervala
7afe10373b Fixed: Use default path for ryzom_installer.log is installation directory not defined
--HG--
branch : develop
2016-11-21 16:35:18 +01:00
kervala
88bfa8ec70 Fixed: Warnings
--HG--
branch : develop
2016-11-21 13:22:05 +01:00
kervala
3fb4424909 Changed: Improved formatting
--HG--
branch : develop
2016-11-20 17:15:56 +01:00
kervala
91a1f4e34b Fixed: Compilation
--HG--
branch : develop
2016-11-20 16:40:39 +01:00
kervala
935a3dc5cc Changed: Use wide version of Win32 API
--HG--
branch : develop
2016-11-20 15:09:59 +01:00
kervala
38736df5c7 Fixed: Compilation
--HG--
branch : develop
2016-11-20 15:09:32 +01:00
kervala
9ddfd43b5e Fixed: Missing macro ADD_PLATFORM_LINKFLAGS
--HG--
branch : develop
2016-11-20 14:54:52 +01:00
kervala
f605c5faa5 Changed: Replace all "" by empty(), clear(), Empty(), etc...
--HG--
branch : develop
2016-11-20 14:49:13 +01:00
kervala
48088d651e Changed: Use stdext::make_checked_array_iterator and stdext::make_unchecked_array_iterator with VC++ 2015
--HG--
branch : develop
2016-11-20 13:25:24 +01:00
kervala
0e25d31f30 Changed: Try to force -fPIC
--HG--
branch : develop
2016-11-20 13:20:54 +01:00
kervala
c265e2f261 Changed: Added Debian hardening flags
--HG--
branch : develop
2016-11-20 13:19:35 +01:00
kervala
186caf171a Changed: strict-aliasing option already defined
--HG--
branch : develop
2016-11-20 13:18:32 +01:00
kervala
c3327c3d1b Changed: Minor changes
--HG--
branch : develop
2016-11-20 13:03:46 +01:00
kervala
0fb9906929 Changed: Constification of catches
--HG--
branch : develop
2016-11-20 12:31:48 +01:00
kervala
ebe7357257 Changed: Constification of catches
--HG--
branch : develop
2016-11-19 21:15:58 +01:00
kervala
481bbae8ee Changed: Use wide versions of Win32 API
--HG--
branch : develop
2016-11-19 21:12:04 +01:00
kervala
61bb58bea3 Fixed: Typos
--HG--
branch : develop
2016-11-19 21:07:52 +01:00
kervala
791821d6d6 Changed: Use _T macro and TCHAR to support UNICODE
--HG--
branch : develop
2016-11-19 21:07:20 +01:00
kervala
8d82472586 Changed: Macros to convert to/from TCHAR* and std::string
--HG--
branch : develop
2016-11-19 19:46:40 +01:00
kervala
9941fcf82b Fixed: Typos detected by Lintian
--HG--
branch : develop
2016-11-19 19:11:12 +01:00
kervala
c8b9c5dc4b Changed: Use _T macro and TCHAR to support UNICODE
--HG--
branch : develop
2016-11-17 10:55:21 +01:00
kervala
e2eedc4852 Changed: Minor changes
--HG--
branch : develop
2016-11-17 10:30:59 +01:00
kervala
f05cab8579 Changed: liblzma 16.04
--HG--
branch : develop
2016-11-15 11:32:20 +01:00
kervala
5105252690 Changed: Constify some methods
--HG--
branch : develop
2016-11-15 10:58:51 +01:00
kervala
b36ded52df Changed: 3dsmax 2013 and up are always using Unicode
--HG--
branch : develop
2016-11-15 10:55:41 +01:00
kervala
2cbb1614d4 Changed: Use _T macro and TCHAR to support UNICODE
--HG--
branch : develop
2016-11-15 10:53:22 +01:00
kervala
556590e73a Fixed: Don't use hash to extract clauses but identifier (else there could be conflict if the same text if used several times)
--HG--
branch : develop
2016-11-15 10:47:02 +01:00
kervala
2749d40508 Changed: Minor changes
--HG--
branch : develop
2016-11-15 10:44:59 +01:00
kervala
9ce39945ce Fixed: Crash when processing comments
--HG--
branch : develop
2016-11-15 10:40:38 +01:00
kervala
947178e859 Changed: Use _T macro and TCHAR to support UNICODE
--HG--
branch : develop
2016-11-15 10:39:22 +01:00
Nimetu
83bd0ffe38 Fixed: Crash when <select> element was without <form>
--HG--
branch : develop
2016-11-13 23:06:35 +02:00
kervala
e9a54a310e Changed: Resume download for 2xx HTTP status codes
--HG--
branch : develop
2016-11-13 16:53:04 +01:00
kervala
857b60dd82 Fixed: Any 3xx HTTP status codes are redirections
--HG--
branch : develop
2016-11-13 11:07:32 +01:00
kervala
f9117d8e94 Changed: Rerun Installer from a specific directory with right arguments
--HG--
branch : develop
2016-11-05 19:46:12 +01:00
kervala
a9c3982d21 Changed: Minor changes
--HG--
branch : develop
2016-11-04 20:23:01 +01:00
kervala
589be3bbbb Changed: Don't display an error if file doesn't exist
--HG--
branch : develop
2016-11-04 20:22:42 +01:00
kervala
9f934f7765 Changed: Discard \r and only use \n
--HG--
branch : develop
2016-11-04 20:22:10 +01:00
kervala
542c63f03d Changed: Only put a space if several conditions
--HG--
branch : develop
2016-11-04 20:21:18 +01:00
kervala
a2a7dfa028 Changed: Minor changes
--HG--
branch : develop
2016-11-04 20:20:39 +01:00
kervala
9e0954fad5 Changed: ForceUtf8 parameter useless now
--HG--
branch : develop
2016-11-04 20:19:41 +01:00
kervala
369a121aa1 Fixed: Wrong size of nl
--HG--
branch : develop
2016-11-04 09:17:32 +01:00
kervala
b7c008c014 Changed: Minor changes
--HG--
branch : develop
2016-11-04 09:14:08 +01:00
kervala
37d34a2f0f Changed: Removed trailing spaces
--HG--
branch : develop
2016-11-04 09:09:51 +01:00
kervala
b5e3808af8 Changed: Minor changes
--HG--
branch : develop
2016-11-03 15:23:08 +01:00
kervala
3e0929d965 Fixed: Only release NSAutoreleasePool once at the end
--HG--
branch : develop
2016-11-03 15:22:59 +01:00
kervala
11e9a7ea81 Changed: Sleep 1 second after copying files (because to some disk cache)
--HG--
branch : develop
2016-11-03 14:44:01 +01:00
kervala
ee2d17c24b Changed: Don't try to copy Installer several times (if it fails once, it'll fail forever)
--HG--
branch : develop
2016-11-03 14:43:08 +01:00
kervala
469bd13a28 Changed: Use QSaveFile to be sure the file is fully written
--HG--
branch : develop
2016-11-03 14:42:07 +01:00
kervala
637895e578 Fixed: Update libovr detection
--HG--
branch : develop
2016-10-31 19:00:19 +01:00
kervala
23d1d0f458 Fixed: Spaces in paths for patch under Linux and OS X
--HG--
branch : develop
2016-10-31 18:58:49 +01:00
kervala
ef5efc0102 Changed: Don't update qtbase_*.ts files
--HG--
branch : develop
2016-10-31 18:58:07 +01:00
kervala
9ee427cda1 Changed: Updated some variables names in interface
--HG--
branch : develop
2016-10-31 18:57:42 +01:00
kervala
29a3e24204 Changed: Updated translations
--HG--
branch : develop
2016-10-31 18:57:18 +01:00
kervala
19291f1b96 Fixed: Layout of some interfaces in Ryzom Configuration
--HG--
branch : develop
2016-10-31 18:56:55 +01:00
kervala
0ac5a974d8 Changed: Don't need to put \n in nlwarning
--HG--
branch : develop
2016-10-30 16:00:27 +01:00
kervala
b25298f0f8 Changed: std::string already empty
--HG--
branch : develop
2016-10-30 16:00:04 +01:00
kervala
16df8b8c1d Changed: Use empty() instead of comparison with ""
--HG--
branch : develop
2016-10-30 15:59:20 +01:00
kervala
e3c2cb2a30 Changed: Use clear() instead of affectation
--HG--
branch : develop
2016-10-30 15:56:41 +01:00
kervala
2fe0e84096 Changed: Simplified layout for display
--HG--
branch : develop
2016-10-30 15:35:58 +01:00
kervala
86415a3c2b Fixed: Add config variable if not present
--HG--
branch : develop
2016-10-30 15:35:44 +01:00
kervala
8f6aa83a7b Fixed: Choice of sound driver
--HG--
branch : develop
2016-10-30 15:35:11 +01:00
kervala
1c872d9ef9 Fixed: Translations files are all using UTF-8 by default now (and LF instead of CRLF), fixes #128
--HG--
branch : develop
2016-10-29 19:50:28 +02:00
kervala
7f8b9954f5 Fixed: Catch exception when calling [NSApp sendEvent:event] and log it
--HG--
branch : develop
2016-10-29 15:52:06 +02:00
kervala
6d60266086 Changed: Minor changes
--HG--
branch : develop
2016-10-29 15:51:07 +02:00
kervala
482b292a03 Changed: Minor changes
--HG--
branch : develop
2016-10-27 16:48:07 +02:00
kervala
1362e2d470 Fixed: Restore last selected profile
--HG--
branch : develop
2016-10-27 16:47:44 +02:00
kervala
6d2c530210 Changed: Typo
--HG--
branch : develop
2016-10-27 10:55:20 +02:00
kervala
3c8bd42335 Changed: Minor change
--HG--
branch : develop
2016-10-27 10:54:55 +02:00
kervala
19e8ee1d05 Changed: Simplified all ENDIF and ELSE
--HG--
branch : develop
2016-10-27 10:54:09 +02:00
kervala
f2f2e94e51 Fixed: Crash when calling runAH in Lua scripts too soon
--HG--
branch : develop
2016-10-26 14:29:49 +02:00
kervala
7487e24873 Changed: Don't spam player with that
--HG--
branch : develop
2016-10-25 17:41:03 +02:00
kervala
d2e42511ec Changed: Properly initialize all members of SLetterInfo and SLetterKey to avoid crashes when accessing to them
--HG--
branch : develop
2016-10-25 16:05:05 +02:00
kervala
fa57e558a5 Changed: When shape is a pacs_prim file, don't put "Not found" message
--HG--
branch : develop
2016-10-25 16:04:06 +02:00
kervala
a7531eac0d Fixed: Ryzom client patcher doesn't depend on any cfg file anymore
--HG--
branch : develop
2016-10-25 16:02:46 +02:00
kervala
a0075414c0 Changed: Use empty() to check if a string is empty
--HG--
branch : develop
2016-10-25 15:52:14 +02:00
kervala
7f4fa540e1 Changed: Display a warning when SetWindowTextW fails
--HG--
branch : develop
2016-10-25 11:49:46 +02:00
kervala
59c9b587f0 Changed: New format/f parameter for build_interface to force a format (png or tga)
--HG--
branch : develop
2016-10-23 16:28:51 +02:00
kervala
0b99222330 Fixed: Clear m_srcDirectory if directory doesn't exist anymore
--HG--
branch : develop
2016-10-23 16:28:17 +02:00
kervala
e9ba12b931 Changed: Display filename in unsuported format warning
--HG--
branch : develop
2016-10-23 16:27:49 +02:00
kervala
e957923ed2 Fixed: Default action tooltip text position
--HG--
branch : develop
2016-10-23 16:24:18 +02:00
kervala
eedebb6833 Changed: Removed trailing spaces at EOL
--HG--
branch : develop
2016-10-23 16:16:48 +02:00
kervala
8db56f5671 Changed: Name edit box better aligned
--HG--
branch : develop
2016-10-22 19:38:13 +02:00
kervala
d52cede669 Fixed: Wrong height in action edit
--HG--
branch : develop
2016-10-22 19:38:05 +02:00
kervala
c2d0a3690f Changed: Name edit box better aligned
--HG--
branch : develop
2016-10-22 19:24:20 +02:00
kervala
de3d3971b7 Changed: Removed trailing spaces at EOL
--HG--
branch : develop
2016-10-22 18:50:43 +02:00
kervala
577e49ef91 Changed: Minor changes
--HG--
branch : develop
2016-10-22 16:52:34 +02:00
kervala
d8f92e1cee Fixed: Ignore extension when looking for textures
--HG--
branch : develop
2016-10-22 16:52:20 +02:00
kervala
891784f23d Changed: Write UNIX EOL in UV files
--HG--
branch : develop
2016-10-22 16:50:31 +02:00
kervala
7f74f70e6f Changed: Allow to extract interface elements with build_interface
--HG--
branch : develop
2016-10-22 16:49:57 +02:00
kervala
b08d1f979d Changed: Typo
--HG--
branch : develop
2016-10-22 16:49:19 +02:00
kervala
414d4de46b Fixed: Return an error when a required argument is missing
--HG--
branch : develop
2016-10-22 16:49:12 +02:00
kervala
c106557bbc Changed: Force process name for Ryzom Installer
--HG--
branch : develop
2016-10-22 16:48:34 +02:00
kervala
f22fc6cea7 Changed: Support RYZOM_BUILD CMake option to force Bundle version
--HG--
branch : develop
2016-10-22 16:48:15 +02:00
kervala
76f036e802 Changed: OS X icon slightly changed
--HG--
branch : develop
2016-10-22 16:47:43 +02:00
kervala
8b239df6a9 Changed: Implement and use CBitmap::makeTransparentPixelsBlack()
--HG--
branch : develop
2016-10-22 16:47:25 +02:00
kervala
39280d10b8 Changed: MACOSX_BUNDLE_BUNDLE_VERSION must a short version
--HG--
branch : develop
2016-10-21 20:00:23 +02:00
kervala
6920f0d5ba Fixed: Use real Ryzom version instead of 1.0
--HG--
branch : develop
2016-10-21 19:03:40 +02:00
kervala
7c9a242b66 Changed: Compile CMigrateDialog anyway even if unused
--HG--
branch : develop
2016-10-21 16:54:08 +02:00
kervala
70be3a6093 Changed: Merge pull request in develop too
--HG--
branch : develop
2016-10-21 16:48:42 +02:00
kervala
6ff893421d Changed: Specify Windows XP as minimum platform (we need that if using Windows 7 SDK with VC++ 2015)
--HG--
branch : develop
2016-10-21 16:47:46 +02:00
kervala
d8048eb352 Fixed: PCH after pull merge
--HG--
branch : develop
2016-10-21 16:10:03 +02:00
kervala
177dacf100 Fixed: Compilation of Ryzom Installer
--HG--
branch : develop
2016-10-21 16:09:02 +02:00
kervala
552e147c76 Changed: If old installer doesn't return a version, overwrite it
--HG--
branch : develop
2016-10-21 14:27:05 +02:00
kervala
7ad0b610ba Changed: Open in ReadOnly the process
--HG--
branch : develop
2016-10-21 14:26:46 +02:00
kervala
41fa1a938e Changed: More warnings
--HG--
branch : develop
2016-10-21 14:26:31 +02:00
kervala
0a502f64b2 Changed: More messages in log
--HG--
branch : develop
2016-10-21 12:58:23 +02:00
kervala
fccaee006b Changed: Only check if Ryzom is installed in current directory under Windows
--HG--
branch : develop
2016-10-21 12:57:35 +02:00
kervala
73e9806fe7 Changed: Return error message as an UTF-8 string
--HG--
branch : develop
2016-10-21 12:55:02 +02:00
kervala
6b9a267abc Changed: Only enable migration under Windows when launched from 2.1 client directory
--HG--
branch : develop
2016-10-21 12:53:10 +02:00
Cédric OCHS
209e8ba078 Merged in BWGaryP/ryzomcore (pull request #138)
Avoid empty "-D" on debug builds with Qt4.

--HG--
branch : develop
2016-10-21 06:19:15 +00:00
kervala
d574641c79 Changed: HTTP code 307 is not an error
--HG--
branch : develop
2016-10-20 15:30:43 +02:00
kervala
e50c1fcf98 Changed: Write warnings in log
--HG--
branch : develop
2016-10-20 15:30:30 +02:00
kervala
efaadd4301 Changed: Real version of Ryzom Installer as user-agent
--HG--
branch : develop
2016-10-20 15:30:12 +02:00
kervala
22ff9504a7 Changed: Log version of installed Installer
--HG--
branch : develop
2016-10-20 14:47:45 +02:00
kervala
3526efb920 Fixed: 307 is a normal redirect
--HG--
branch : develop
2016-10-20 14:47:28 +02:00
kervala
b6fe697a5d Changed: Init log just after loading config file
--HG--
branch : develop
2016-10-20 14:47:08 +02:00
kervala
084bc2bba9 Changed: Allow to enable Sandbox under OS X
--HG--
branch : develop
2016-10-20 13:53:23 +02:00
kervala
881375c35f Added: Missing file
--HG--
branch : develop
2016-10-20 13:13:53 +02:00
kervala
9321323ba4 Changed: Use sender() instead of member
--HG--
branch : develop
2016-10-20 13:07:56 +02:00
kervala
de2eba12fe Changed: Logs in Ryzom Installer
--HG--
branch : develop
2016-10-20 13:07:18 +02:00
kervala
661975a471 Changed: Simplify toString
--HG--
branch : develop
2016-10-20 12:35:24 +02:00
kervala
b2f5fed3bf Changed: Replace sscanf by fromString
--HG--
branch : develop
2016-10-20 12:34:38 +02:00
kervala
3ae41bfa58 Changed: Minor changes
--HG--
branch : develop
2016-10-20 12:34:25 +02:00
kervala
517336923f Changed: Replace sscanf by fromString
--HG--
branch : develop
2016-10-20 12:33:37 +02:00
kervala
25faa27ef5 Fixed: Compilation with VC++ 2015 (need spaces around NL_I64)
--HG--
branch : develop
2016-10-20 12:30:24 +02:00
kervala
497c488166 Fixed: Wrong syntax for NL_I64
--HG--
branch : develop
2016-10-20 12:22:57 +02:00
kervala
2858fce968 Fixed: Trying to resume after a 206 HTTP status code
--HG--
branch : develop
2016-10-19 17:23:42 +02:00
kervala
5539873337 Fixed: Use 3 numbers version (without revision) for MACOSX_BUNDLE_SHORT_VERSION_STRING
--HG--
branch : develop
2016-10-19 17:07:31 +02:00
kervala
37fe37c8ed Fixed: When incrementing version of ini file, check servers by ID not by index
--HG--
branch : develop
2016-10-19 17:06:25 +02:00
kervala
1cbbd9083f Changed: Use best dictionary size (128MB) to compress files and other parameters auto
--HG--
branch : develop
2016-10-19 13:31:45 +02:00
kervala
b62562c896 Changed: Save default profile when clicking on Play or Configure
--HG--
branch : develop
2016-10-19 10:49:51 +02:00
kervala
142155d8c8 Fixed: Use & to not wait until client exits in bash script
--HG--
branch : develop
2016-10-19 10:49:20 +02:00
kervala
4f996024d9 Fixed: Catch ESocket exceptions when disconnecting and log it
--HG--
branch : develop
2016-10-19 10:48:32 +02:00
kervala
c05a8d3c2e Fixed: Try to put executable permissions before to launch an executable under UNIX
--HG--
branch : develop
2016-10-19 10:46:56 +02:00
kervala
3c5a7de588 Fixed: Also rename executable under Linux
--HG--
branch : develop
2016-10-19 09:52:12 +02:00
kervala
31f4957a40 Fixed: Display a more explicit error if NLMISC::CSystemInfo::availableHDSpace returns 0
--HG--
branch : develop
2016-10-18 20:34:25 +02:00
kervala
daf3edd056 Changed: Typo
--HG--
branch : develop
2016-10-18 17:49:56 +02:00
kervala
f93e5458d9 Changed: Skip already uncompressed files
--HG--
branch : develop
2016-10-18 17:46:31 +02:00
kervala
a62e5ec380 Changed: Minor changes
--HG--
branch : develop
2016-10-18 17:45:55 +02:00
kervala
a656985518 Fixed: Possible SQL injection, fixes #297
--HG--
branch : develop
2016-10-18 17:44:47 +02:00
kervala
d7f62326aa Fixed: Restart Installer at the end of installation/migration
--HG--
branch : develop
2016-10-18 13:42:19 +02:00
kervala
1162edcb46 Fixed: Case where additional files are not in source directory
--HG--
branch : develop
2016-10-18 13:37:43 +02:00
kervala
0080dfc44e Changed: Use exec command under OS X to relaunch client
--HG--
branch : develop
2016-10-18 10:32:45 +02:00
kervala
94a3626cd3 Changed: Minor change
--HG--
branch : develop
2016-10-18 10:27:09 +02:00
kervala
6801bf34d4 Fixed: Special case under Windows when Installer is run from TEMP directory
--HG--
branch : develop
2016-10-18 10:26:41 +02:00
kervala
bf8d9aef12 Changed: Check written bytes at each step and at the end
--HG--
branch : develop
2016-10-18 10:25:31 +02:00
kervala
508a6723a2 Changed: Use getInstallerCurrentDirPath() instead of QApplication::applicationDirPath()
--HG--
branch : develop
2016-10-18 10:24:10 +02:00
kervala
29aa0c1722 Changed: Restart installed Installer intead of current one
--HG--
branch : develop
2016-10-18 10:23:49 +02:00