Commit graph

411 commits

Author SHA1 Message Date
kervala
19aa093ea8 Changed: Centralize BNP unpacking and packing methods, to be reused in other tools/programs
--HG--
branch : develop
2016-01-23 10:18:09 +01:00
kervala
93e1289a77 Changed: Add a parameter to CPath::makePathAbsolute to simplify the path (remove all . and ..)
--HG--
branch : develop
2016-01-23 09:44:41 +01:00
kervala
b91e3bdf0e Changed: Improved CCmdArgs
--HG--
branch : develop
2016-01-18 21:22:57 +01:00
kervala
c5fbf56984 Fixed: Missing ++
--HG--
branch : develop
2016-01-16 23:48:44 +01:00
kaetemi
8cfaa89620 Separate window displayer message stringify
--HG--
branch : develop
2016-01-15 17:10:39 +01:00
kaetemi
3632ae4e64 Fix VS2015 warnings
--HG--
branch : develop
2016-01-15 11:52:09 +01:00
kaetemi
9a477d976b VS2015 compilation fixes
--HG--
branch : develop
2016-01-15 11:34:23 +01:00
kervala
9a34434cf8 Fixed: Compilation
--HG--
branch : develop
2016-01-14 23:58:04 +01:00
kervala
875224d277 Changed: Minor changes
--HG--
branch : develop
2016-01-14 23:53:17 +01:00
kervala
c1d8d4e400 Changed: Invert version and help checks
--HG--
branch : develop
2016-01-14 23:47:24 +01:00
kervala
b7fe07d781 Improve CCmdArgs (a generic command line parser in NeL Misc), fixes #257
--HG--
branch : develop
2016-01-14 21:26:10 +01:00
kervala
e1c14db5a0 Fixed: getLastSeparator should return std::string::size_type instead of an integer
--HG--
branch : develop
2016-01-13 19:47:35 +01:00
kervala
a66fa8cc9c Changed: Implement CPath::isAbsolutePath
--HG--
branch : develop
2016-01-13 19:46:27 +01:00
kervala
af9610328f Changed: Implement expandEnvironmentVariables function
--HG--
branch : develop
2016-01-13 19:45:02 +01:00
kervala
ecb47bc2dc Changed: Remove unused variable
--HG--
branch : develop
2016-01-06 13:21:47 +01:00
kervala
0ef79083a0 Changed: Code simplification
--HG--
branch : develop
2016-01-06 13:19:48 +01:00
kervala
80ae07c8b3 Changed: Minor changes
--HG--
branch : develop
2016-01-06 13:17:07 +01:00
kervala
6efce5ba59 Changed: Support for new key events
--HG--
branch : develop
2016-01-06 12:42:10 +01:00
kervala
ac57a464d4 Fixed: Converting AlphaLuminance to Luminance
--HG--
branch : develop
2016-01-04 22:16:21 +01:00
kervala
0fe6ec67ba Fixed: Compilation
--HG--
branch : develop
2016-01-04 16:14:30 +01:00
kervala
9b8cdc2821 Changed: Use same _mm_getcsr and __cpuid intrinsics everywhere
--HG--
branch : develop
2016-01-04 15:40:45 +01:00
kervala
68aa20257f Changed: Use new code to determine free disk space
--HG--
branch : develop
2016-01-04 15:39:31 +01:00
kervala
47bde9ccc7 Changed: Allow to resample Luminance (grayscale) bitmaps
--HG--
branch : develop
2016-01-04 13:54:59 +01:00
kervala
c263e4dffb Changed: Don't redefine new and delete operators if targetting x86_64
--HG--
branch : develop
2016-01-04 13:48:57 +01:00
kervala
494ab2ce20 Changed: Cast to CRGBA* is faster than set8888
--HG--
branch : develop
2016-01-03 17:51:49 +01:00
kervala
96fab4210b Changed: Use LD_LIBRARY_PATH only when opening a document or URL
--HG--
branch : develop
2016-01-03 17:51:09 +01:00
kervala
82acfb3bf2 Changed: Only use filename in setProcessName
--HG--
branch : develop
2016-01-03 17:50:21 +01:00
kervala
1a00dec5c3 Changed: Unused code
--HG--
branch : develop
2016-01-02 22:23:04 +01:00
kervala
b50ca03e92 Fixed: Use --args only with open
--HG--
branch : develop
2016-01-02 19:16:33 +01:00
kervala
046c69066d Fixed: Don't use system() under Windows, because it'll open a console window, use launchProgramAndWaitForResult instead
--HG--
branch : develop
2016-01-02 19:15:21 +01:00
kervala
266a32ea19 Fixed: Implements launchProgramAndWaitForResult to launch a command synchronously
--HG--
branch : develop
2016-01-02 19:14:13 +01:00
kervala
d34e3d120d Changed: Parse nvidia-smi output to determine video memory
--HG--
branch : develop
2016-01-01 16:04:06 +01:00
kervala
ee26c7377b Changed: Minor change
--HG--
branch : develop
2016-01-01 16:03:06 +01:00
kervala
437aa5b939 Changed: Added helpers methods to CBitmap
--HG--
branch : develop
2016-01-01 16:02:54 +01:00
kervala
91f2913026 Changed: Don't need to use std::stringstream
--HG--
branch : develop
2015-12-28 18:15:28 +01:00
kervala
57859636cd Changed: Minor changes
--HG--
branch : develop
2015-12-26 17:49:54 +01:00
kervala
ba6f66d310 Fixed: GCC warnings
--HG--
branch : develop
2015-12-26 14:10:27 +01:00
kervala
af0eabbdea Fixed: GCC warnings
--HG--
branch : develop
2015-12-26 14:09:15 +01:00
kervala
cbea85c105 Changed: Implement CSystemUtils::getTotalVideoMemory() under Linux (Xorg log and lspci parsing)
--HG--
branch : develop
2015-12-26 13:28:09 +01:00
kervala
2d0d87a05e Fixed: Warnings with GCC
--HG--
branch : develop
2015-12-25 20:49:59 +01:00
kervala
a5d3b2d461 Changed: Added new function getCommandOutput
--HG--
branch : develop
2015-12-25 15:29:23 +01:00
kervala
36358cef50 Fixed: Wrong units (1 KiB = 1024 B, 1 KB = 1000 B, etc...)
--HG--
branch : develop
2015-12-23 15:11:26 +01:00
kervala
09e22e292d Changed: Use toString instead of sprintf
--HG--
branch : develop
2015-12-23 14:56:36 +01:00
kervala
f57b1b9421 Changed: Implement CSystemUtils::getTotalVideoMemory() for Windows
--HG--
branch : develop
2015-12-23 14:48:33 +01:00
kervala
07a1285740 Fixed: Target at least Windows 2000
--HG--
branch : develop
2015-12-23 14:47:11 +01:00
kervala
75eceb9b24 Fixed: loadPNG with RGB images was returning 32
--HG--
branch : develop
2015-12-16 14:50:40 +01:00
kervala
a550f2c760 Changed: Minor changes
--HG--
branch : develop
2015-12-15 14:07:32 +01:00
kervala
70196d2f90 Fixed: Implement launch of executables under OS X
--HG--
branch : develop
2015-12-15 14:06:49 +01:00
kervala
8aff509f0f Fixed: Clang warnings
--HG--
branch : develop
2015-12-13 15:25:28 +01:00
kervala
fc951a24ce Fixed: Homogenize CFile::moveFile with other methods (use std::string instead of const char*)
--HG--
branch : develop
2015-12-13 13:03:16 +01:00
kervala
977103f9d0 Fixed: OS X uses .dylib extension instead of .so
--HG--
branch : develop
2015-12-11 20:19:10 +01:00
kervala
079ea3e5c5 Changed: Let dependencies propagate to other targets
--HG--
branch : develop
2015-12-07 21:48:32 +01:00
kervala
c6b52c4a21 Fixed: Remove \SystemRoot\ from path returned from Registry
--HG--
branch : develop
2015-12-06 16:42:49 +01:00
kervala
244c2eb211 Fixed: Open web pages in background under OS X and don't close client
--HG--
branch : develop
2015-11-24 10:02:09 +01:00
kervala
d50c40c473 Fixed: Unable to open URLs under Linux while using Steam Runtime
--HG--
branch : develop
2015-11-21 17:39:49 +01:00
kervala
35471ace88 Fixed: Typo
--HG--
branch : develop
2015-11-21 17:37:45 +01:00
kervala
d1f925d319 Changed: Give priority to xdg-open (if present) to open URLs under Linux
--HG--
branch : develop
2015-11-21 17:36:44 +01:00
kaetemi
6c2490090d Merge with feature-export-assimp
--HG--
branch : develop
2015-11-16 00:46:27 +01:00
kervala
6d52aa7077 Fixed: Revert back TrapCrashInDebugger to false else VC++ can't intercept exceptions and we'll be unable to debug :(
--HG--
branch : develop
2015-11-15 18:33:09 +01:00
kervala
08d50dc725 Changed: Don't try to convert string to CRGBA if less than 3 integers
--HG--
branch : develop
2015-11-13 19:38:46 +01:00
kervala
2be81c5445 Changed: Replace int 3 asm by __debugbreak()
--HG--
branch : develop
2015-11-08 13:25:36 +01:00
kervala
2b155c2d50 Changed: Minor changes
--HG--
branch : develop
2015-11-08 13:22:33 +01:00
kervala
c4ea200633 Changed: Minor changes (spaces replaced by tabs)
--HG--
branch : develop
2015-11-07 18:33:16 +01:00
kervala
67a857e0fe Fixed: Use ShellExecute to open a document or URL as primary method, because second one doesn't work everytime
--HG--
branch : develop
2015-11-07 18:31:58 +01:00
kervala
716c4cdab5 Changed: Add support for Spanish
--HG--
branch : develop
2015-11-07 14:53:07 +01:00
kervala
9b231afa54 Fixed: Get system language code under OS X too and added method in NLMISC::CI18N
--HG--
branch : develop
2015-11-07 14:52:46 +01:00
kervala
93a03b5db0 Fixed: clang warnings
--HG--
branch : develop
2015-11-06 15:24:19 +01:00
Nimetu
4c8b2d3134 Add basic gif support to CBitmap (issue #238)
--HG--
branch : develop
2015-11-03 18:50:31 +02:00
kervala
9459224f23 Fixed: GetVersionEx deprecated under Windows 8.1+ and returns wrong version, replace it by RtlGetVersion from kernel
--HG--
branch : develop
2015-09-22 09:43:24 +02:00
kaetemi
8036d53411 Add pipeline v3 tool logger
--HG--
branch : feature-export-assimp
2015-09-20 14:08:38 +02:00
kaetemi
9a10f1413b Fix DXSDK include order
--HG--
branch : develop
2015-07-10 06:16:19 +02:00
kaetemi
29f42ed5ab Some practical improvements for the report handling
--HG--
branch : develop
2015-03-06 21:07:12 +01:00
kaetemi
163abf31b8 Merge with feature-crashreport+develop
--HG--
branch : develop
2015-03-06 21:05:31 +01:00
kaetemi
f2f7bad4c5 Merge with feature-crashreport
--HG--
branch : feature-crashreport+develop
2015-03-06 19:08:13 +01:00
kaetemi
ee32b56d87 Replace report functionality
--HG--
branch : feature-crashreport
2015-03-06 19:07:25 +01:00
kaetemi
5a307cfa20 Replace report functionality
--HG--
branch : feature-crashreport
2015-03-06 19:06:11 +01:00
kervala
5e390364de Changed: Minor change
--HG--
branch : develop
2015-03-02 13:13:45 +01:00
kervala
93a708400e Fixed: Sort files in CFileContainer::addSearchPath too
--HG--
branch : develop
2015-03-02 13:13:26 +01:00
kervala
c0e885aa6a Fixed: Skip .hg directories
--HG--
branch : develop
2015-03-02 13:07:33 +01:00
kaetemi
ea9e32f46d Merge with develop
--HG--
branch : feature-crashreport+develop
2015-02-24 17:19:27 +01:00
kaetemi
a66204a03a Add isWindowedApplication to INeLContext
--HG--
branch : develop
2015-02-24 17:17:45 +01:00
kaetemi
cf79f1bb1b Merge with develop
--HG--
branch : feature-crashreport+develop
2015-02-24 12:51:16 +01:00
kaetemi
3b59bbcf69 Merge with feature-crashreport
--HG--
branch : feature-crashreport+develop
2015-02-24 12:51:01 +01:00
kaetemi
d9dd425dc6 Cleanup Windows includes
--HG--
branch : develop
2015-02-24 12:47:54 +01:00
kaetemi
50e11b0536 Add _WIN32_WINNT fallback define
--HG--
branch : develop
2015-02-24 12:47:54 +01:00
kaetemi
e201c90937 Remove redundant windows.h includes in NLMISC
--HG--
branch : develop
2015-02-24 12:47:54 +01:00
kaetemi
e2dcc3b035 Categorize NLMISC project source files
--HG--
branch : develop
2015-02-24 12:47:54 +01:00
kaetemi
02e8100ea4 Fix sstream include
--HG--
branch : feature-crashreport
2015-02-24 12:47:32 +01:00
kaetemi
6a48a2d199 Merge with feature-crashreport
--HG--
branch : feature-crashreport+develop
2015-02-24 11:41:05 +01:00
kaetemi
68120a53e7 Only in FINAL_VERSION
--HG--
branch : feature-crashreport
2015-02-23 20:33:31 +01:00
kaetemi
a548940b8c Default window title
--HG--
branch : feature-crashreport
2015-02-23 20:09:51 +01:00
kaetemi
e4e3f2019b Add function to set custom host url. Deprecate email callback function. Add some comments
--HG--
branch : feature-crashreport
2015-02-23 20:01:20 +01:00
dfighter1985
8bf372056f Use CMsgBoxDisplayer on non-windows platforms as well.
--HG--
branch : feature-crashreport
2015-02-23 01:36:50 +01:00
dfighter1985
955ef48460 Parametrize crash reporter.
--HG--
branch : feature-crashreport
2015-02-22 21:51:17 +01:00
dfighter1985
cfe2d60350 More renames...
--HG--
branch : feature-crashreport
2015-02-22 19:52:01 +01:00
dfighter1985
24aa500d0b Launch the error report application instead of sending an email.
--HG--
branch : feature-crashreport
2015-02-22 18:45:41 +01:00
dfighter1985
3d9357637b Backed out from fdc0d40
--HG--
branch : feature-crashreport
2015-02-22 17:38:06 +01:00
dfighter1985
7efbee6d0a Backed out from 5942903
--HG--
branch : feature-crashreport
2015-02-22 17:20:24 +01:00
dfighter1985
4e00903dcc Back out from 5bb3dad
--HG--
branch : feature-crashreport
2015-02-22 17:15:41 +01:00
kaetemi
b120d68a98 Merge with hotfix
--HG--
branch : develop
2015-02-22 10:39:02 +01:00