Commit Graph

566 Commits (0ee458b23197d6c50ce742e3ba2dcc64a26027ee)

Author SHA1 Message Date
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
9 years ago
kervala a77fee685b Changed: Implement CI18N::setSystemLanguageCode, if we must force it
Fixed: CI18N::getSystemLanguageCode under Windows (use 2 different methods)

--HG--
branch : develop
9 years ago
kervala 114543ba07 Merge with develop
--HG--
branch : compatibility-develop
9 years ago
kervala c39190b38d Changed: Use same algorithm as before Windows unicodes fixes (try to open the file instead of checking its attributes)
--HG--
branch : develop
9 years ago
kervala b0d50dea69 Merge with develop
--HG--
branch : compatibility-develop
9 years ago
kervala f1b882c0f3 Changed: Removed useless dependencies on DirectX
--HG--
branch : develop
9 years ago
kaetemi b9d366372e Merge with develop
--HG--
branch : compatibility-develop
9 years ago
kervala 5c3f5e841c Changed: Write a warning instead of error
--HG--
branch : develop
9 years ago
kervala faae2973ac Fixed: With new iOS versions (and perhaps OS X), locale can contains country code
--HG--
branch : develop
9 years ago
kervala 0db2ed85ca Changed: Temporarily disable Spanish and Russian translations (not yet ready)
--HG--
branch : compatibility-develop
9 years ago
kervala d39911345e Fixed: Only use "open" if extension is app
--HG--
branch : develop
9 years ago
kervala 0040fa888e Fixed: Compilation under OS X
--HG--
branch : develop
9 years ago
kervala a47d3845bd Fixed: Compilation
--HG--
branch : develop
9 years ago
kervala 6104011d11 Changed: New functions launchProgramArray to pass an array of strings as arguments (easier to escape)
--HG--
branch : develop
9 years ago
kervala b3b48a3ae3 Changed: New functions to convert arguments string from/to an array of strings
--HG--
branch : develop
9 years ago
kervala ad4857cfaa Changed: Minor changes
--HG--
branch : develop
9 years ago
kervala dd15287d6c Changed: Use a wchar_t buffer for registry
--HG--
branch : develop
9 years ago
kervala 3e14025cf8 Changed: Include wang_hash.h in NLMISC files
--HG--
branch : develop
9 years ago
kervala 0575a51632 Last changes for Unicode support under Windows, fixes #261
--HG--
branch : develop
9 years ago
kervala 2b7ce14a57 Changed: Minor changes
--HG--
branch : develop
9 years ago
kervala 33a30d186c Use Unicode of CreateProcess, issue #261
--HG--
branch : develop
9 years ago
kervala e68d6e3617 Changed: Minor changes
--HG--
branch : develop
9 years ago
kervala ba077aaab8 Use right versions of Win32 functions, issue #261
--HG--
branch : develop
9 years ago
kervala 4d48beeaa4 Use ANSI versions of Win32 functions when not using Unicode text, issue #261
--HG--
branch : develop
9 years ago
kervala ac51d16583 Use Unicode versions of Win32 functions, issue #261
--HG--
branch : develop
9 years ago
kervala f644805ff7 Replace ifstream and ofstream to manage UTF-8 filenames, issue #261
--HG--
branch : develop
9 years ago
kervala 69547db6ce New function to format a timestamp to human readable
--HG--
branch : develop
9 years ago
kervala 9370e93dd6 Removed useless comments/commented code
--HG--
branch : develop
9 years ago
kervala aaecf96b67 Use new wrapper insteaf of fopen, issue #261
--HG--
branch : develop
9 years ago
kervala e69090c457 Create fopen wrapper that internally uses wide characters under Windows, issue #261
--HG--
branch : develop
9 years ago
kaetemi 30077f3977 Move some stuff for easier debug
--HG--
branch : develop
9 years ago
kaetemi 874ac2c921 Move pipeline utilities into new pipeline library
--HG--
branch : feature-material-editor
9 years ago
kervala e2271f8db3 Fixed: All files and directories names are using 8-bits locale at the moment, so don't mix with UTF-8 under Windows (we could improve that later but it'll need a lot of changes, especially for all fopen calls)
--HG--
branch : develop
9 years ago
kervala e70a169955 Changed: Display a warning when a environment variable doesn't exist
--HG--
branch : develop
9 years ago
kervala fc69d4cec9 Changed: Use same code as under Linux for OS X when executing sheel scripts
--HG--
branch : develop
9 years ago
kervala a4d98fb13b Changed: Remember startup path (the initial current directory)
--HG--
branch : develop
9 years ago
kervala c9740a9e61 Fixed: Return true when "open" succeeds under OS X
--HG--
branch : develop
9 years ago
kervala 34282be5af Changed: Reuse NLMISC::formatErrorMessage instead of native FormatMessage
--HG--
branch : develop
9 years ago
kervala 53a16257f1 Fixed: CPath::makePathAbsolute removing first /
--HG--
branch : develop
9 years ago
kervala df70c9a9f9 Changed: Minor changes
--HG--
branch : develop
9 years ago
kaetemi 9602fcc8f0 Also support AppData/Local to allow a non-roaming config
--HG--
branch : develop
9 years ago
kervala 6a7c33fa32 Changed: Updated launchProgramAndWaitForResult to support .bat files
--HG--
branch : develop
9 years ago
kervala 923434aa72 Changed: Detect .bat file in launchProgram and adapt syntax of CreateProcess
--HG--
branch : develop
9 years ago
kervala 9b52f6bc28 Changed: Use "open" to open other programs too under OS X
--HG--
branch : develop
9 years ago
kervala d8ddb1fd11 Fixed: Async execution of .bat under Windows
--HG--
branch : develop
9 years ago
kervala 092a3226bd Changed: New function bytesToHumanReadableUnits to use specific strings for units
--HG--
branch : develop
9 years ago
kervala 7b1ab1592e Fixed: Support new ISO units (KiB, MiB, etc...) in humanReadableToBytes
--HG--
branch : develop
9 years ago
kervala 6e93a0d395 Fixed: Wrong return value for CCmdArgs::haveAdditionalArg
--HG--
branch : develop
9 years ago
kervala 093ee91656 Fixed: libxml2 dependencies
--HG--
branch : develop
9 years ago
kervala 89319eb99c Changed: Put libxml code in .cpp (it was a hack for libwww, that is not used anymore...)
--HG--
branch : develop
9 years ago
kervala af2f38612a Fixed: Remove inherited dependency on libxml2 for all projects
--HG--
branch : develop
9 years ago
kervala 7237736922 Changed: Make absolute program path (useful if launched from current directory under Linux)
Changed: Set process name for logs

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

--HG--
branch : develop
10 years ago
dfighter1985 e130625cca A little cleanup of CMsgBoxDisplayer.
--HG--
branch : feature-crashreport
10 years ago
dfighter1985 ac6bda5084 A little cleanup of CMsgBoxDisplayer.
--HG--
branch : hotfix
10 years ago
dfighter1985 1476bfe648 Use CMsgBoxDisplayer on platforms other than Windows as well.
--HG--
branch : feature-crashreport
10 years ago
dfighter1985 070dad8e53 Use CMsgBoxDisplayer on platforms other than Windows as well.
--HG--
branch : hotfix
10 years ago
kaetemi f5335f068d Visual Studio 2013 compilation support for NLMISC
--HG--
branch : develop
10 years ago
kaetemi 6db8abf95c Visual Studio 2013 compilation support for NLMISC
--HG--
branch : develop
10 years ago
dfighter1985 f0869aa659 Unfortunately on Windows argc and argv parameters are unreliable inside a Qt application, so I had to hardcode the report file name. :(
--HG--
branch : feature-crashreport
10 years ago
dfighter1985 469e5583c1 Unfortunately on Windows argc and argv parameters are unreliable inside a Qt application, so I had to hardcode the report file name. :(
--HG--
branch : hotfix
10 years ago
dfighter1985 9518a80c99 Probably a good idea to look for rcerror as rcerror.exe on Windows.
--HG--
branch : feature-crashreport
10 years ago
dfighter1985 2fe77d719f Probably a good idea to look for rcerror as rcerror.exe on Windows.
--HG--
branch : hotfix
10 years ago
dfighter1985 7302023777 CMsgBoxDisplayer should not present a dialog now, but write the report to a file then attempt to launch the error reporter application. Which ofc doesn't exist yet in this commit.
--HG--
branch : feature-crashreport
10 years ago
dfighter1985 fea7cff850 CMsgBoxDisplayer should not present a dialog now, but write the report to a file then attempt to launch the error reporter application. Which ofc doesn't exist yet in this commit.
--HG--
branch : hotfix
10 years ago
kervala 6784301afc Merge with hotfix
--HG--
branch : develop
10 years ago
kervala 1690f777a1 Fixed: Unnamed semaphores are deprecated under OS X
--HG--
branch : hotfix
10 years ago
kervala e8b0765e7c Merge with hotfix
--HG--
branch : develop
10 years ago
kervala 8472a6ff7f Fixed: Compilation
--HG--
branch : hotfix
10 years ago
kervala 943131b802 Changed: Replaced atoi and atof by NLMISC::fromString
--HG--
branch : hotfix
10 years ago
dfighter1985 225d786e7f Merged in hotfix (pull request #114)
Merging hotfix branch

--HG--
branch : develop
10 years ago
dfighter1985 46cc31d0d0 Handle relative paths when loading .worldedit files in World Editor.
--HG--
branch : hotfix
10 years ago
kervala 6205b16fbf Changed: Optimize sorting of files (instead of doing it several times for each directory, do it only once)
--HG--
branch : develop
10 years ago
kervala 3aa448ba24 Changed: Replaced atoi and atof by NLMISC::fromString
--HG--
branch : develop
10 years ago
kervala 6596af9682 Changed: Minor changes
--HG--
branch : develop
10 years ago
kervala aaa044203e Fix some warnings
--HG--
branch : develop
10 years ago
kaetemi d12ccf194e Merge with develop
--HG--
branch : multipass-stereo
11 years ago
kervala ff370bb49f Changed: Code formatting 11 years ago
kaetemi da5558d50a Merge with default
--HG--
branch : multipass-stereo
11 years ago
dfighter1985 a810b29ec7 Merged default.
--HG--
branch : gsoc2014-dfighter
11 years ago
kervala 31e9934ba7 Changed #172 XML floating point serialization not using neutral culture 11 years ago
kervala 41f6e70dc9 Fixed #172 XML floating point serialization not using neutral culture 11 years ago
dfighter1985 0f7e1c022a Merge default
--HG--
branch : gsoc2014-dfighter
11 years ago
kaetemi 6c3bcc2439 Merge with default
--HG--
branch : multipass-stereo
11 years ago
kervala 7aedffce9a Changed: #172 XML floating point serialization not using neutral culture (for VC++ 2005 and up) 11 years ago
dfighter1985 8373118c7e Merged default.
--HG--
branch : gsoc2014-dfighter
11 years ago
kaetemi 246d931bee Formatting: Use tabs 11 years ago
KISHAN GRIMOUT 107646d95d fix windows 64bit build in mem_displayer.cpp 11 years ago
kaetemi f281622d47 Trash DirectInput
--HG--
branch : game-device
11 years ago
dfighter1985 fe58435bb5 CPath can now return the file list with a path filter.
--HG--
branch : gsoc2014-dfighter
11 years ago
kaetemi 07dd9eb85b Compile fix 11 years ago
kaetemi 43a061bebd SSE2: Compile fix
--HG--
branch : sse2
11 years ago
kaetemi 848932f93a SSE2: Fix for MinGW
--HG--
branch : sse2
11 years ago
kaetemi ac3e69b8ab Merge with default
--HG--
branch : sse2
11 years ago
kaetemi b18203fc4e Fix Ryzom server compile under MinGW 11 years ago
kaetemi 9838ef56de Fix Snowballs compile under MinGW 11 years ago
kaetemi 2f3f12e034 Fix linking of OpenAL driver under MinGW 11 years ago