Commit graph

3373 commits

Author SHA1 Message Date
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
Nimetu
ddcdc8b8fb Added: Border duplication option to texture atlas builder.
--HG--
branch : experimental-ui-scaling
2016-12-16 00:03:30 +02:00
Nimetu
bc5bf44c18 Merge with develop
--HG--
branch : experimental-ui-scaling
2018-03-16 11:33:16 +02:00
Nimetu
edf7551884 Backed out changeset: 85c435fe41bb
--HG--
branch : experimental-ui-scaling
2017-05-11 11:47:30 +03: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
kervala
c13b007090 Changed: Moved Ligo headers to include
--HG--
branch : develop
2016-11-29 20:34:35 +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
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
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
d7182af399 Changed: New join function to do the opposite work of explode
--HG--
branch : develop
2016-11-21 20:57:18 +01:00
kervala
3fb4424909 Changed: Improved formatting
--HG--
branch : develop
2016-11-20 17:15:56 +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
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
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
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
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
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
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
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
637895e578 Fixed: Update libovr detection
--HG--
branch : develop
2016-10-31 19:00:19 +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
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
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
19e8ee1d05 Changed: Simplified all ENDIF and ELSE
--HG--
branch : develop
2016-10-27 10:54:09 +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
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
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
8b239df6a9 Changed: Implement and use CBitmap::makeTransparentPixelsBlack()
--HG--
branch : develop
2016-10-22 16:47:25 +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
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
497c488166 Fixed: Wrong syntax for NL_I64
--HG--
branch : develop
2016-10-20 12:22:57 +02:00
kervala
94a3626cd3 Changed: Minor change
--HG--
branch : develop
2016-10-18 10:27:09 +02:00
kervala
0e3785b1cf Fixed: Call Cocoa API when required to not conflict with Qt
--HG--
branch : develop
2016-10-17 11:48:58 +02:00
kervala
c9fa01f670 Changed: Minor change
--HG--
branch : develop
2016-10-17 11:24:49 +02:00
kervala
85c2535a1f Fixed: Deadlock while calling CoUninitialize()
--HG--
branch : develop
2016-10-15 17:11:53 +02:00
kervala
acdbbd63b3 Changed: Fix english comment
--HG--
branch : develop
2016-10-10 18:53:11 +02:00
kervala
f4f8ec29d3 Changed: Implement AlphaLuminance resample
--HG--
branch : develop
2016-10-01 18:43:08 +02:00
kervala
e7b23c958a Fixed: Connexion -> Connection typo
--HG--
branch : develop
2016-09-28 23:42:01 +02:00
kervala
07ddb63d61 Changed: Add a new line after description
--HG--
branch : develop
2016-09-25 10:50:13 +02:00
kervala
a41ae065d8 Changed: Remove alternative formats for parameters (too verbose)
--HG--
branch : develop
2016-09-25 10:49:55 +02:00
kervala
130b270380 Fixed: tga2dds doesn't generate mipmaps
--HG--
branch : develop
2016-09-24 15:54:28 +02:00
kervala
ec5deea3f0 Changed: Generate an exception if file is not a supported bitmap format
--HG--
branch : develop
2016-09-24 14:19:35 +02:00
kervala
536483f8a7 Changed: Factorize saving to right bitmap format
--HG--
branch : develop
2016-09-23 13:31:41 +02:00
kervala
35b4a3d98a Changed: Minor changes
--HG--
branch : develop
2016-09-23 13:29:50 +02:00
kervala
39275558c0 Changed: Simplify outString (a simple printf should be enough)
--HG--
branch : develop
2016-09-23 13:29:00 +02:00
kervala
20f4825686 Changed: Use CCmdArgs for build_interface
--HG--
branch : develop
2016-09-23 13:26:55 +02:00
Nimetu
02dd8db21f Added: Lua function to render html string as new webpage
--HG--
branch : develop
2016-09-21 20:11:13 +03:00
kervala
b7d37b71e3 Fixed: Compilation without PCH
--HG--
branch : develop
2016-09-19 14:34:49 +02:00
kervala
7422334e97 Changed: Only call CoUninitialize if CoInitialize(Ex) succeeded
--HG--
branch : develop
2016-09-16 19:24:43 +02:00
kervala
32f682d5dc Fixed: Compilation under OS X in 32 bits
--HG--
branch : develop
2016-09-12 14:39:07 +02:00
kervala
aacb492c30 Changed: Updated glext.h
--HG--
branch : develop
2016-09-12 14:38:49 +02:00
kervala
eb878d97d1 Fixed: Compilation under macOS 10.12
--HG--
branch : develop
2016-09-03 10:04:56 +02:00
kervala
53290cb212 Changed: Initialize ARBFragmentShader to false if DisableHardwarePixelProgram is set
--HG--
branch : develop
2016-09-03 10:04:09 +02:00
kervala
8f7a28f5c9 Changed: Get length of song in FMod driver too (issue #59)
--HG--
branch : develop
2016-09-03 10:03:33 +02:00
Nimetu
f2dfd3cd8e Changed: Also return song length with title
--HG--
branch : develop
2016-08-30 21:25:46 +03:00
Nimetu
b5717de4fc Added: Remove hardcoded text overflow indicator
--HG--
branch : experimental-ui-scaling
2016-08-14 02:25:19 +03:00
Nimetu
4a722c7783 Changed: Use UI scale change event to change CViewText font scale
--HG--
branch : experimental-ui-scaling
2016-08-14 02:25:10 +03:00
Nimetu
279f67fc2d Changed: Use current scale value instead of asking CViewRenderer
--HG--
branch : experimental-ui-scaling
2016-08-13 23:34:49 +03:00
Nimetu
7b0d1cd056 Fixed: Double font width scaling
--HG--
branch : experimental-ui-scaling
2016-08-13 23:32:54 +03:00
Nimetu
f56e9e5e4c Merge with develop
--HG--
branch : experimental-ui-scaling
2016-08-13 23:32:49 +03:00
kervala
388cb6445a Fixed: Include initguid.h to avoid linking against dxguid.lib
--HG--
branch : develop
2016-08-06 20:09:40 +02:00
Nimetu
7aeedf7ad4 Fixed: Bad typo
--HG--
branch : develop
2016-07-25 19:26:49 +03:00
Nimetu
290e7e97d1 Merge with develop
--HG--
branch : experimental-ui-scaling
2016-07-24 16:25:47 +03:00
Nimetu
357973aa10 Added: font style to <pre> element
--HG--
branch : develop
2016-07-24 16:07:36 +03:00
Nimetu
fe3601d664 Added: font-family style option
--HG--
branch : develop
2016-07-24 16:07:31 +03:00
Nimetu
9fb14c42d8 Added: Monospace font options
--HG--
branch : develop
2016-07-24 16:07:18 +03:00
Nimetu
58bf225891 Changed: Support custom font
--HG--
branch : develop
2016-07-24 16:05:04 +03:00
Nimetu
afc08d2efd Added: Possible to use multiple fonts at the same time
--HG--
branch : develop
2016-07-24 16:03:37 +03:00
Nimetu
f720b23dce Merge with develop
--HG--
branch : experimental-ui-scaling
2016-07-23 11:28:32 +03:00
Nimetu
ef703ed6de Fixed: Double tooltip on web image links
--HG--
branch : develop
2016-07-20 14:31:44 +03:00
Nimetu
8d09471a6d Fixed: Pixel align underline/strikethrough line on text
--HG--
branch : experimental-ui-scaling
2016-07-19 11:12:51 +03:00
Nimetu
44208ba1ad Changed: Use float for bitmap pos for better pixel align when scale is used
--HG--
branch : experimental-ui-scaling
2016-07-19 11:12:47 +03:00
Nimetu
d8e1d3b254 Added: Border duplication option to texture atlas builder.
--HG--
branch : experimental-ui-scaling
2016-07-14 20:20:55 +03:00
Nimetu
5e1c6cd287 Added: Bilinear filtering option for texture atlas textures
--HG--
branch : experimental-ui-scaling
2016-07-14 20:20:55 +03:00
kervala
8d3ca27424 Changed: Don't need to hardcode a text offset because the old font was not aligned
--HG--
branch : develop
2016-06-26 19:40:10 +02:00
kervala
58f0ee5e9e Fixed: The height of a CViewText was wrong in some cases because "|" is not the tallest character of the current font (ryzom.ttf)
--HG--
branch : develop
2016-06-26 15:17:32 +02:00
Nimetu
69f956583a Added: HTML css hsl(), hsla() color
--HG--
branch : develop
2016-06-25 22:28:48 +03:00
Nimetu
c05fcd9b34 Added: HTML css rgb() and rgba() color
--HG--
branch : develop
2016-06-25 19:32:43 +03:00
Nimetu
5db76bfe99 Added: HTML #RGBA color
--HG--
branch : develop
2016-06-25 18:17:53 +03:00
Nimetu
07a68281a5 Fixed: Inconsistent html color parsing
--HG--
branch : develop
2016-06-25 17:45:21 +03:00
kervala
83c97c6c36 Changed: Init CSystemUtils in INelContext
--HG--
branch : develop
2016-06-19 20:48:30 +02:00
kervala
a8fac8f8e9 Changed: Under Linux, it's recommended to put user application data in ~/.local/share
--HG--
branch : develop
2016-06-18 19:47:05 +02:00
kervala
306aae7af9 Changed: Only display virtual screen size if DISPLAY_DEVICE_ATTACHED_TO_DESKTOP flag is defined
--HG--
branch : develop
2016-06-16 17:15:45 +02:00
kervala
d80371d459 Changed: Only display this message in debug
--HG--
branch : develop
2016-06-16 17:14:48 +02:00
kervala
995120317d Fixed: Usage of wglEnumGpuDevicesNV
--HG--
branch : develop
2016-06-14 19:34:43 +02:00
kervala
2ab16f61ef Changed: Updated OpenGL headers
--HG--
branch : develop
2016-06-14 19:33:41 +02:00
kervala
bd766614bc Changed: Replaced spaces by tabs
--HG--
branch : develop
2016-06-12 14:17:36 +02:00
Nimetu
b5a4ba313d Fixed: Keep \n inside <textarea>
--HG--
branch : develop
2016-06-12 12:46:44 +03:00
Nimetu
69728b9a2e Changed: CSS inherit value for some properties
--HG--
branch : develop
2016-06-12 12:46:42 +03:00
Nimetu
f201abe6db Changed: Set <textarea>, <input> font style
--HG--
branch : develop
2016-06-12 10:30:16 +03:00
Nimetu
caf8c5195c Added: Rows attribute to <textarea> element
--HG--
branch : develop
2016-06-12 10:22:22 +03:00
Nimetu
e8c7cdbb32 Added: Minimum lines option to multiline text
--HG--
branch : develop
2016-06-12 10:22:22 +03:00
kervala
4a2fe97f95 Fixed: Support for all Windows 10 products types
--HG--
branch : develop
2016-06-07 20:01:18 +02:00
Nimetu
2cb71e654a Fixed: Update text widget parent size when interface scale changes
--HG--
branch : experimental-ui-scaling
2016-06-07 17:27:00 +03:00
kervala
2e02f20c83 Fixed: Error 18 when moving a file between different file systems
--HG--
branch : develop
2016-06-04 17:00:40 +02:00
Nimetu
8965ce50d5 Changed: Font scaling
--HG--
branch : experimental-ui-scaling
2016-06-03 16:02:37 +03:00
Nimetu
cf357edcb9 Added: Interface auto scaling to view renderer
--HG--
branch : experimental-ui-scaling
2016-06-03 14:24:56 +03:00
Nimetu
9ba0ac65ea Fixed: Send user-agent string and cookies with image request.
--HG--
branch : develop
2016-05-25 12:08:12 +03:00
Nimetu
85051340e1 Changed: Move addLink code to beginElement
--HG--
branch : develop
2016-05-25 12:08:08 +03:00
Nimetu
250a94e186 Changed: minor changes
--HG--
branch : develop
2016-05-25 12:08:06 +03:00
kervala
4b46b9f18f Fixed: Read NeL crash reports as UTF-8 files
--HG--
branch : develop
2016-05-30 17:51:19 +02:00
kervala
cb8bb5f6f4 Changed: No need to change VSync if same value
--HG--
branch : develop
2016-05-27 22:16:44 +02:00
kervala
b29441f22e Changed: Display a warning if setSwapVBLInterval is called before OpenGL initialization
--HG--
branch : develop
2016-05-27 22:16:29 +02:00
kervala
ae7fa4da2e Changed: Instead of forcing VSYNC, get initial value
--HG--
branch : develop
2016-05-27 22:15:58 +02:00
kervala
eea1bbb0e2 Fixed: VSync inverted under Windows and in OpenGL ES
--HG--
branch : develop
2016-05-27 22:15:14 +02:00
kervala
ee2938e3cb Changed: Use uint instead of unsigned
--HG--
branch : develop
2016-05-25 23:19:46 +02:00
kervala
4b1959a560 Changed: Replace size() comparisons by empty()
--HG--
branch : develop
2016-05-25 23:18:11 +02:00
Nimetu
f15926dd7e Changed: Remove legacy HTTPCurrentDomain variable
--HG--
branch : develop
2016-05-14 12:53:09 +03:00
Nimetu
ae46d76d88 Fixed: Parsing url authority when path is empty
--HG--
branch : develop
2016-05-14 12:53:09 +03:00
Nimetu
8aa2a3ced6 Changed: Rename CUrlParser domain variable
--HG--
branch : develop
2016-05-14 12:53:09 +03:00
kervala
9fd00d8505 Fixed: Missing to include PCH
--HG--
branch : develop
2016-05-13 20:55:00 +02:00
Nimetu
131f3814a3 Fixed: Resolve http-equiv refresh url
--HG--
branch : develop
2016-05-13 13:57:28 +03:00
Nimetu
cdfecc8d69 Fixed: url inheriting for defined empty query component
--HG--
branch : develop
2016-05-09 20:05:06 +03:00
kervala
583db43e71 Changed: Disable too verbose message for sound sheets
--HG--
branch : develop
2016-05-08 19:23:27 +02:00
kervala
1e0283d38c Fixed: Use %p to display pointer
--HG--
branch : develop
2016-05-08 13:22:32 +02:00
Nimetu
6f8a9b8108 Changed: Increase default request timeout for web browsers
--HG--
branch : develop
2016-05-05 15:00:28 +03:00
Nimetu
a1e8408be0 Fixed: Tooltip position related to parent window
--HG--
branch : develop
2016-04-23 18:49:36 +03:00
kervala
ccb69f8b27 Changed: Signed/unsigned comparison
--HG--
branch : develop
2016-04-15 16:11:37 +02:00
kervala
d1d6f6da41 Fixed: Creation of sn_0_* folders under OS X 10.7
--HG--
branch : develop
2016-04-15 16:11:14 +02:00
kervala
7ff21f975d Changed: Q_COMPILER_RVALUE_REFS hack useless with Qt 5.6
--HG--
branch : develop
2016-04-12 15:43:13 +02:00
kervala
a002b20c7f Changed: Minor changes
--HG--
branch : develop
2016-04-06 09:29:37 +02:00
kervala
3219ce959b Changed: Use booleans to know if we already added a loopback address
--HG--
branch : develop
2016-04-02 13:31:59 +02:00
kervala
3c8228df15 Fixed: Empty const char* because std::string destructor called
--HG--
branch : develop
2016-04-02 13:31:04 +02:00
kervala
7dd635960a Changed: Use toString for formatting
--HG--
branch : develop
2016-04-02 13:30:08 +02:00
kervala
c30bf20ccc Changed: Minor changes
--HG--
branch : develop
2016-04-02 13:29:42 +02:00
kervala
a410f2fcc1 Changed: Better camel case syntax
--HG--
branch : develop
2016-04-02 13:28:42 +02:00
depyraken
96fd182335 add isloopbackIPAddress prototype to code/nel/include/nel/net/inet_address.h
add isloopbackIPAddress to code/nel/src/net/inet_address.cpp
add IPv4&IPv6 loopback IP addresses to localAddresses

In code/nel/src/net/unified_network.cpp:
replace is127001 calls by isloopbackIPAddress
change wrong comments about default network id (nid = 0xFF)
When the selected connectionId is not valid
	warnings are not triggered anymore when using default network (nid = 0xFF): the logs were full of warnings and the server was lagging
	When nid = 0xFF, the new connectionId is stored into DefaultNetwork
	When nid <> 0xFF, the new connectionId is stored into NetworkConnectionAssociations[nid]

--HG--
branch : develop
2016-03-29 02:29:35 +02:00
kervala
89532b2afb Fixed: Compilation (missing NLMISC namespaces for nlfopen)
--HG--
branch : develop
2016-03-20 17:27:25 +01:00
kaetemi
bbec2c5b33 Fix random thunder activation caused by rounding error in setup interpolation
--HG--
branch : develop
2016-03-19 22:13:38 +01:00
kaetemi
198323b9b5 Compile fix
--HG--
branch : develop
2016-03-19 22:13:38 +01:00
kervala
89be3e39de Fixed: Clang warnings
--HG--
branch : develop
2016-03-19 19:29:03 +01:00
kervala
0d773e3e79 Fixed: Use nlfopen in tools and servers
--HG--
branch : develop
2016-03-19 16:21:06 +01:00
kervala
f376317f10 Fixed: Compilation
--HG--
branch : develop
2016-03-18 22:26:43 +01:00
kervala
40c7c82a2d Changed: Removed wrong check
--HG--
branch : develop
2016-03-18 22:09:43 +01:00
kervala
05e0500aaf Changed: Check if LC_NUMERIC is correct before loading or saving config files
--HG--
branch : develop
2016-03-18 22:09:26 +01:00
kervala
97647b2264 Fixed: Set numeric locale in CApplicationContext
--HG--
branch : develop
2016-03-18 22:08:43 +01:00
kervala
d7121b4b7a Changed: Don't need to use Windows functions with locale because the bug also occurs under Linux and OS X
--HG--
branch : develop
2016-03-18 22:07:52 +01:00
kervala
94f4e901c9 Changed: Fix clang warnings
--HG--
branch : develop
2016-03-18 22:06:20 +01:00
kervala
962b43d2bd Fixed: Possible crashes if ov_info returns NULL
--HG--
branch : develop
2016-03-18 15:09:02 +01:00
kervala
a77fee685b Changed: Implement CI18N::setSystemLanguageCode, if we must force it
Fixed: CI18N::getSystemLanguageCode under Windows (use 2 different methods)

--HG--
branch : develop
2016-03-18 15:07:49 +01:00
kervala
c39190b38d Changed: Use same algorithm as before Windows unicodes fixes (try to open the file instead of checking its attributes)
--HG--
branch : develop
2016-03-16 19:12:34 +01:00
kervala
f1b882c0f3 Changed: Removed useless dependencies on DirectX
--HG--
branch : develop
2016-03-15 12:36:21 +01:00
kervala
5c3f5e841c Changed: Write a warning instead of error
--HG--
branch : develop
2016-03-09 11:24:17 +01:00
kervala
faae2973ac Fixed: With new iOS versions (and perhaps OS X), locale can contains country code
--HG--
branch : develop
2016-03-09 11:24:01 +01:00
kervala
41176a7d02 Fixed: OpenGL ES driver compilation
--HG--
branch : develop
2016-03-09 11:22:09 +01:00
kaetemi
48a120b21f Fix curl crash
--HG--
branch : develop
2016-03-08 12:46:15 +01:00
Nimetu
1d0d1a505c Added: Possibility to set text as grayed in combo box
--HG--
branch : develop
2016-03-02 23:58:48 +02:00
Nimetu
a95c887534 Changed: Implement multi-row select box
--HG--
branch : develop
2016-02-23 10:52:21 +02:00
Nimetu
e2fca3a8f3 Added: http-equiv refresh
--HG--
branch : develop
2016-02-23 10:52:24 +02:00
Nimetu
a50689a885 Changed: Use multiline text for http errors
--HG--
branch : develop
2016-03-01 22:30:05 +02:00
kervala
d39911345e Fixed: Only use "open" if extension is app
--HG--
branch : develop
2016-02-28 16:44:08 +01:00
kervala
0040fa888e Fixed: Compilation under OS X
--HG--
branch : develop
2016-02-28 12:45:31 +01:00
kervala
a47d3845bd Fixed: Compilation
--HG--
branch : develop
2016-02-27 19:22:23 +01:00
kervala
6104011d11 Changed: New functions launchProgramArray to pass an array of strings as arguments (easier to escape)
--HG--
branch : develop
2016-02-27 18:38:58 +01:00
kervala
b3b48a3ae3 Changed: New functions to convert arguments string from/to an array of strings
--HG--
branch : develop
2016-02-27 18:37:43 +01:00
kervala
ad4857cfaa Changed: Minor changes
--HG--
branch : develop
2016-02-23 16:57:34 +01:00
kervala
dd15287d6c Changed: Use a wchar_t buffer for registry
--HG--
branch : develop
2016-02-21 20:29:14 +01:00
kervala
f698c31aa1 Changed: Allow to compile WITH_NEL_TESTS without compiling tools
--HG--
branch : develop
2016-02-21 13:20:49 +01:00
kervala
3e14025cf8 Changed: Include wang_hash.h in NLMISC files
--HG--
branch : develop
2016-02-21 13:19:41 +01:00
kervala
0575a51632 Last changes for Unicode support under Windows, fixes #261
--HG--
branch : develop
2016-02-20 19:21:39 +01:00
kervala
2b7ce14a57 Changed: Minor changes
--HG--
branch : develop
2016-02-20 19:20:49 +01:00
kervala
591c7ed0bf Fixed: Display an error if unable to open a ogg file
--HG--
branch : develop
2016-02-20 19:01:31 +01:00
kervala
33a30d186c Use Unicode of CreateProcess, issue #261
--HG--
branch : develop
2016-02-20 18:54:32 +01:00
kervala
e68d6e3617 Changed: Minor changes
--HG--
branch : develop
2016-02-20 18:53:39 +01:00
kervala
ba077aaab8 Use right versions of Win32 functions, issue #261
--HG--
branch : develop
2016-02-20 18:52:57 +01:00
kervala
4d48beeaa4 Use ANSI versions of Win32 functions when not using Unicode text, issue #261
--HG--
branch : develop
2016-02-20 18:38:17 +01:00
kervala
ac51d16583 Use Unicode versions of Win32 functions, issue #261
--HG--
branch : develop
2016-02-20 18:30:51 +01:00
kervala
f644805ff7 Replace ifstream and ofstream to manage UTF-8 filenames, issue #261
--HG--
branch : develop
2016-02-20 18:15:04 +01:00
kervala
69547db6ce New function to format a timestamp to human readable
--HG--
branch : develop
2016-02-20 18:10:17 +01:00
kervala
9370e93dd6 Removed useless comments/commented code
--HG--
branch : develop
2016-02-20 18:09:24 +01:00
kervala
6d21e22905 Use CIFile to load font instead of internal Freetype functions, issue #261
--HG--
branch : develop
2016-02-20 18:01:57 +01:00
kervala
aaecf96b67 Use new wrapper insteaf of fopen, issue #261
--HG--
branch : develop
2016-02-20 17:56:25 +01:00