Commit graph

1731 commits

Author SHA1 Message Date
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
kervala
e69090c457 Create fopen wrapper that internally uses wide characters under Windows, issue #261
--HG--
branch : develop
2016-02-20 17:46:11 +01:00
kaetemi
e28b6deaf9 Fix gl context not being deleted with custom window
--HG--
branch : develop
2016-02-18 11:56:44 +01:00
kaetemi
30077f3977 Move some stuff for easier debug
--HG--
branch : develop
2016-02-18 11:55:58 +01:00
kaetemi
1fbc179bc3 Centralized project directory configuration mechanism
--HG--
branch : feature-material-editor
2016-02-16 02:28:03 +01:00
kaetemi
874ac2c921 Move pipeline utilities into new pipeline library
--HG--
branch : feature-material-editor
2016-02-16 00:28:24 +01:00
kervala
2330fc26ec Fixed: Warning (wrong size)
--HG--
branch : develop
2016-02-15 11:54:28 +01:00
kervala
fdd5f69e2d Fixed: Windows XP doesn't support inet_pton and inet_ntop
--HG--
branch : develop
2016-02-14 19:58:42 +01:00
kervala
767d91ce6d Fixed: Set _WIN32_WINNT used by WinSock for IPv6
--HG--
branch : develop
2016-02-14 19:16:22 +01:00
kervala
edf4331d1a Fixed: Implements IPv6 in CInetAddress
--HG--
branch : develop
2016-02-14 18:21:09 +01:00
Nimetu
6d9c9600a2 Fixed: reloading cached image with style reload:1 hint
--HG--
branch : develop
2016-02-14 01:22:44 +02:00
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
2016-02-13 23:33:27 +01:00
kervala
e70a169955 Changed: Display a warning when a environment variable doesn't exist
--HG--
branch : develop
2016-02-13 23:30:18 +01:00
kervala
fc69d4cec9 Changed: Use same code as under Linux for OS X when executing sheel scripts
--HG--
branch : develop
2016-02-13 23:30:00 +01:00
kervala
a4d98fb13b Changed: Remember startup path (the initial current directory)
--HG--
branch : develop
2016-02-13 23:29:00 +01:00
kervala
c9740a9e61 Fixed: Return true when "open" succeeds under OS X
--HG--
branch : develop
2016-02-13 13:57:43 +01:00
kervala
34282be5af Changed: Reuse NLMISC::formatErrorMessage instead of native FormatMessage
--HG--
branch : develop
2016-02-12 16:04:18 +01:00
kervala
53a16257f1 Fixed: CPath::makePathAbsolute removing first /
--HG--
branch : develop
2016-02-11 21:00:54 +01:00
kervala
df70c9a9f9 Changed: Minor changes
--HG--
branch : develop
2016-02-10 18:47:35 +01:00
kaetemi
9602fcc8f0 Also support AppData/Local to allow a non-roaming config
--HG--
branch : develop
2016-02-04 13:02:32 +01:00
kaetemi
8ea6f521d3 Fix for VS2008 build
--HG--
branch : develop
2016-02-04 12:07:36 +01:00
kervala
6a7c33fa32 Changed: Updated launchProgramAndWaitForResult to support .bat files
--HG--
branch : develop
2016-02-03 21:58:29 +01:00
kervala
923434aa72 Changed: Detect .bat file in launchProgram and adapt syntax of CreateProcess
--HG--
branch : develop
2016-02-02 19:49:37 +01:00
kervala
9b52f6bc28 Changed: Use "open" to open other programs too under OS X
--HG--
branch : develop
2016-02-02 19:20:34 +01:00
kervala
d8ddb1fd11 Fixed: Async execution of .bat under Windows
--HG--
branch : develop
2016-02-02 19:20:02 +01:00
kervala
092a3226bd Changed: New function bytesToHumanReadableUnits to use specific strings for units
--HG--
branch : develop
2016-02-02 12:37:06 +01:00
kervala
7b1ab1592e Fixed: Support new ISO units (KiB, MiB, etc...) in humanReadableToBytes
--HG--
branch : develop
2016-02-02 11:33:44 +01:00
kervala
6e93a0d395 Fixed: Wrong return value for CCmdArgs::haveAdditionalArg
--HG--
branch : develop
2016-01-28 13:25:21 +01:00
kervala
63a36fc2f8 Changed: Removed libxml2 dependencies from other targets
--HG--
branch : develop
2016-01-27 12:56:16 +01:00
kervala
093ee91656 Fixed: libxml2 dependencies
--HG--
branch : develop
2016-01-26 23:26:38 +01:00
kervala
89319eb99c Changed: Put libxml code in .cpp (it was a hack for libwww, that is not used anymore...)
--HG--
branch : develop
2016-01-26 22:41:58 +01:00
kervala
df22787f90 Changed: Added PCH for logic
--HG--
branch : develop
2016-01-26 22:41:02 +01:00
kervala
af2f38612a Fixed: Remove inherited dependency on libxml2 for all projects
--HG--
branch : develop
2016-01-26 22:30:13 +01:00
kervala
7237736922 Changed: Make absolute program path (useful if launched from current directory under Linux)
Changed: Set process name for logs

--HG--
branch : develop
2016-01-23 18:50:17 +01:00
kervala
0505395fd1 Fixed: toLower shouldn't transform a eszett to s
--HG--
branch : develop
2016-01-23 18:48:25 +01:00
kervala
9aff198d70 Fixed: Return true if a required argument is found
--HG--
branch : develop
2016-01-23 12:28:22 +01:00
kervala
e2cc9e622e Changed: Minor changes
--HG--
branch : develop
2016-01-23 10:18:23 +01:00
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
Nimetu
52dcf1a300 Changed: Use url from <base> element for relative urls
--HG--
branch : develop
2016-01-20 19:15:20 +02:00
kervala
5cc2b2865f Changed: Local includes against system includes
--HG--
branch : develop
2016-01-19 20:38:05 +01:00
kervala
00395d6b2e Fixed: Compilation without PCH
--HG--
branch : develop
2016-01-19 20:37:03 +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
kervala
8b5dcc345d Fixed: Link to X11 under Linux
--HG--
branch : develop
2016-01-16 15:50:45 +01:00
kaetemi
8cfaa89620 Separate window displayer message stringify
--HG--
branch : develop
2016-01-15 17:10:39 +01:00
kaetemi
da02779588 More VS2015 fixes
--HG--
branch : develop
2016-01-15 12:04:06 +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
57f216dc3e Changed: Expand environment variables in paths read from cfg files
--HG--
branch : develop
2016-01-13 19:59:09 +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
59c06630cd Changed: Table keys are integers
--HG--
branch : develop
2016-01-11 11:43:59 +01:00
kervala
839928a57a Fixed: In Lua, all integers are numbers and numbers can be converted to integers
--HG--
branch : develop
2016-01-11 11:34:32 +01:00
Nimetu
ad8059c345 Fixed: Invalid image width/height on error
--HG--
branch : develop
2016-01-10 16:33:42 +02:00
Nimetu
511a004827 Fixed: Wrong DD indent in nested list when tag is not closed
--HG--
branch : develop
2016-01-07 01:00:48 +02: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
Nimetu
8475f25e75 Changed: Refactor DL
--HG--
branch : develop
2016-01-06 00:11:17 +02:00
Nimetu
639ce91e61 Fixed: Align UL, LI list style type marker outside content
--HG--
branch : develop
2016-01-06 00:08:41 +02:00
Nimetu
6bcb153930 Fixed: DL list top margin
--HG--
branch : develop
2016-01-05 23:23:19 +02:00
Nimetu
f95d445839 Fixed: DL list DD element indent
--HG--
branch : develop
2016-01-05 23:02:21 +02:00
Nimetu
bbe9ca2b67 Changed: UL list style type depending on nested depth
--HG--
branch : develop
2016-01-05 20:23:11 +02:00
Nimetu
298a659c6f Changed: Merge UL and OL code
--HG--
branch : develop
2016-01-05 20:21:40 +02:00
kervala
9f761780f1 Changed: %u to format a uint
--HG--
branch : develop
2016-01-05 12:53:57 +01:00
kervala
f482f77179 Fixed: GCC warnings
--HG--
branch : develop
2016-01-05 12:51:06 +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
12c4adf943 Changed: Minor changes
--HG--
branch : develop
2016-01-02 22:24:16 +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
20711e24e3 Fixed: Typos
--HG--
branch : develop
2016-01-02 17:04:45 +01:00
kervala
6e36d06f76 Changed: Minor changes
--HG--
branch : develop
2016-01-02 11:34:17 +01:00
kervala
71f7cb28dc Changed: Remove X11 code for OS X (we support Cocoa now)
--HG--
branch : develop
2016-01-02 11:34:04 +01:00
kervala
8e57f2ed2e Fixed: Dead keys under Linux (Ubuntu was using ibus input method)
--HG--
branch : develop
2016-01-02 11:33:18 +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
d8bc7384ae Fixed: Don't crash if GL_VERSION returns NULL (it should never happen)
--HG--
branch : develop
2015-12-27 16:06:35 +01:00
kervala
ba7c4ae4d4 Changed: Support for GLX_MESA_query_renderer to detect video memory
--HG--
branch : develop
2015-12-26 17:51:36 +01:00
kervala
57859636cd Changed: Minor changes
--HG--
branch : develop
2015-12-26 17:49:54 +01:00
kervala
478a2102b8 Fixed: GCC warnings
--HG--
branch : develop
2015-12-26 15:12:41 +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
83ef24dab7 Changed: Renamed screenH and screenW to _ScreenH and _ScreenW
--HG--
branch : develop
2015-12-26 14:02:01 +01:00
kervala
d7255a63d8 Changed: Minor changes
--HG--
branch : develop
2015-12-26 14:00:39 +01:00
kervala
ec86bdcf96 Changed: Force 32 bits depth with XRandr
--HG--
branch : develop
2015-12-26 13:38:09 +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
2006f1a866 Fixed: GCC warnings
--HG--
branch : develop
2015-12-26 13:26:51 +01:00
kervala
2d0d87a05e Fixed: Warnings with GCC
--HG--
branch : develop
2015-12-25 20:49:59 +01:00
kervala
4a1f4cd725 Changed: Use shared libs for X11 because API doesn't change
--HG--
branch : develop
2015-12-25 15:35:04 +01:00
kervala
21ada78b63 Changed: Display a warning when calling getModes if Display is NULL
--HG--
branch : develop
2015-12-25 15:30:14 +01:00
kervala
a5d3b2d461 Changed: Added new function getCommandOutput
--HG--
branch : develop
2015-12-25 15:29:23 +01:00
kervala
4fa6247672 Changed: windows.h already included in stdligo.h
--HG--
branch : develop
2015-12-23 15:23:50 +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
ffe0571a12 Changed: Use nlwarning instead of nlerror
--HG--
branch : develop
2015-12-23 15:03:32 +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
72af4052ee Changed: Add getTotalVideoMemory to IDriver to query total video memory
--HG--
branch : develop
2015-12-23 14:36:16 +01:00
Nimetu
f4d47f27aa Fixed: Crash when div was following p element
--HG--
branch : develop
2015-12-22 01:29:53 +02:00
Nimetu
b06d8bb039 Fixed: Stuck scrollbar
--HG--
branch : develop
2015-12-20 03:33:43 +02:00
Nimetu
e68d6f83fe Fixed: Incorrect vertical spacing between block style elements
--HG--
branch : develop
2015-12-18 21:23:18 +02:00
Nimetu
5e61995c3c Changed: Render p and div as block level elements
--HG--
branch : develop
2015-12-19 20:39:40 +02:00
Nimetu
bcae216816 Fixed: Table colspan overwrites previous row column width
--HG--
branch : develop
2015-12-18 14:29:40 +02:00
Nimetu
fe476d4872 Added: html TH element
--HG--
branch : develop
2015-12-18 14:29:40 +02:00
Nimetu
2eb56b6460 Added html HR element
--HG--
branch : develop
2015-12-18 14:29:40 +02:00
Nimetu
045a6471fe Added: html OL list
--HG--
branch : develop
2015-12-18 14:29:40 +02: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
Nimetu
dceb45e373 Fixed: Keyboard capture not reset when clicking outside GUI.
--HG--
branch : develop
2015-12-10 10:56:03 +02:00
Nimetu
612125a243 Added: Size attributes to img (width, height, max-width, max-height)
--HG--
branch : develop
2015-12-08 21:53:54 +02:00
kervala
079ea3e5c5 Changed: Let dependencies propagate to other targets
--HG--
branch : develop
2015-12-07 21:48:32 +01:00
kervala
f393554075 Backed out changeset: 0e65571cbfd1 (doesn't fix anything)
--HG--
branch : develop
2015-12-06 19:46:02 +01:00
kervala
c6b52c4a21 Fixed: Remove \SystemRoot\ from path returned from Registry
--HG--
branch : develop
2015-12-06 16:42:49 +01:00
Nimetu
8f87990a1b Added: Smooth scrolling
--HG--
branch : develop
2015-12-06 16:38:29 +02:00
Nimetu
cb94cb4f9f Fixed: Scrolling in small steps not working.
--HG--
branch : develop
2015-12-06 16:26:39 +02:00
Nimetu
7cbd840ce1 Added: style for html elements del, u, em, strong, small, and dl list
--HG--
branch : develop
2015-12-03 15:50:54 +02:00
Nimetu
a7100eb5bc Changed: Ignore text from <script> element
--HG--
branch : develop
2015-12-03 15:50:46 +02:00