Commit graph

3168 commits

Author SHA1 Message Date
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
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
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
ef703ed6de Fixed: Double tooltip on web image links
--HG--
branch : develop
2016-07-20 14:31:44 +03:00