Commit graph

3163 commits

Author SHA1 Message Date
kervala
6978dc9bee Changed: Use std::string instead of const char*
--HG--
branch : develop
2016-12-19 13:33:24 +01:00
kervala
cbb1233ce2 Changed: Minor changes
--HG--
branch : develop
2016-12-19 13:16:48 +01:00
kervala
31a540b35d Changed: Replace size() comparisons by empty() ones
--HG--
branch : develop
2016-12-19 13:15:25 +01:00
kervala
148c748d31 Fixed: Compilation
--HG--
branch : develop
2016-12-18 20:39:47 +01:00
kervala
0668ff8f04 Changed: Minor changes
--HG--
branch : develop
2016-12-18 20:39:35 +01:00
kervala
8da20b30cc Changed: Merged changes from compatibility-develop that should also be in develop
--HG--
branch : develop
2016-12-18 20:39:16 +01:00
kervala
c458084b59 Fixed: Unicode MFC use
--HG--
branch : develop
2016-12-18 14:42:04 +01:00
kervala
a0b4bb2397 Changed: Strings initialization
--HG--
branch : develop
2016-12-18 14:41:47 +01:00
kervala
4d6e569f98 Changed: Use NLMISC::toString instead of sprintf
--HG--
branch : develop
2016-12-18 14:03:29 +01:00
kervala
6ac49adb8b Fixed: Warning when generating DLU
--HG--
branch : develop
2016-12-18 14:00:55 +01:00
kervala
b52daf9519 Fixed: Unicode MFC use
--HG--
branch : develop
2016-12-18 13:59:02 +01:00
kervala
c3b3db07f1 Changed: Memory leaks detection
--HG--
branch : develop
2016-12-18 13:57:26 +01:00
kervala
cbf2c744f0 Changed: Replace some const char* by std::string
--HG--
branch : develop
2016-12-18 13:45:07 +01:00
kervala
bca1722bdd Changed: Fix warning
--HG--
branch : develop
2016-12-11 19:26:38 +01:00
kervala
b766a01c8a Fixed: Compilation with clang
--HG--
branch : develop
2016-12-11 19:26:23 +01:00
kervala
e4109490cd Changed: GCC warnings
--HG--
branch : develop
2016-12-11 14:23:58 +01:00
kervala
bd8cdb46e0 Fixed: Wrong indent
--HG--
branch : develop
2016-12-11 14:21:28 +01:00
kervala
106c924f49 Fixed: Use std::vector instead of CUniquePtr for arrays
--HG--
branch : develop
2016-12-11 12:31:24 +01:00
kervala
34d454c835 Changed: Use %u for uint
--HG--
branch : develop
2016-12-11 11:59:30 +01:00
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
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
27b272f012 Changed: Replace a lot of const char* by std::string parameters
--HG--
branch : develop
2016-12-10 18:40:03 +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
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
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
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
8e15feaa13 Fixed: Replace Win32 code by multiplatform one using NeL classes
--HG--
branch : develop
2016-12-07 14:22:50 +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
9cdb7446ce Fixed: Compilation with clang
--HG--
branch : develop
2016-12-05 20:13:15 +01:00
kervala
9bb46d2ae8 Fixed: Compilation with clang
--HG--
branch : develop
2016-12-05 19:39:19 +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
1dfae26b25 Fixed: Compilation under Linux
--HG--
branch : develop
2016-12-05 09:03:13 +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
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
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