Commit graph

1716 commits

Author SHA1 Message Date
kervala
e4dc8ae94b Replace ifstream and ofstream to manage UTF-8 filenames, issue #261 2016-02-20 18:15:04 +01:00
kervala
3c74803187 New function to format a timestamp to human readable 2016-02-20 18:10:17 +01:00
kervala
bfb32b811d Removed useless comments/commented code 2016-02-20 18:09:24 +01:00
kervala
fa8f3b1c0f Use CIFile to load font instead of internal Freetype functions, issue #261 2016-02-20 18:01:57 +01:00
kervala
808f7b2c30 Use new wrapper insteaf of fopen, issue #261 2016-02-20 17:56:25 +01:00
kervala
667ddd1989 Create fopen wrapper that internally uses wide characters under Windows, issue #261 2016-02-20 17:46:11 +01:00
kaetemi
f0051bb24d Fix gl context not being deleted with custom window 2016-02-18 11:56:44 +01:00
kaetemi
8bd8b3ea3e Move some stuff for easier debug 2016-02-18 11:55:58 +01:00
kaetemi
db5c59d607 Centralized project directory configuration mechanism 2016-02-16 02:28:03 +01:00
kaetemi
9815393c27 Move pipeline utilities into new pipeline library 2016-02-16 00:28:24 +01:00
kervala
ea37b61710 Fixed: Warning (wrong size) 2016-02-15 11:54:28 +01:00
kervala
395df606c0 Fixed: Windows XP doesn't support inet_pton and inet_ntop 2016-02-14 19:58:42 +01:00
kervala
588b832ddb Fixed: Set _WIN32_WINNT used by WinSock for IPv6 2016-02-14 19:16:22 +01:00
kervala
c63e211cab Fixed: Implements IPv6 in CInetAddress 2016-02-14 18:21:09 +01:00
Nimetu
a16f8a6f18 Fixed: reloading cached image with style reload:1 hint 2016-02-14 01:22:44 +02:00
kervala
5fcfc87655 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) 2016-02-13 23:33:27 +01:00
kervala
daa42945b3 Changed: Display a warning when a environment variable doesn't exist 2016-02-13 23:30:18 +01:00
kervala
c98bf02cb0 Changed: Use same code as under Linux for OS X when executing sheel scripts 2016-02-13 23:30:00 +01:00
kervala
b577182adb Changed: Remember startup path (the initial current directory) 2016-02-13 23:29:00 +01:00
kervala
2481119b04 Fixed: Return true when "open" succeeds under OS X 2016-02-13 13:57:43 +01:00
kervala
a69103237f Changed: Reuse NLMISC::formatErrorMessage instead of native FormatMessage 2016-02-12 16:04:18 +01:00
kervala
23ec09c4b1 Fixed: CPath::makePathAbsolute removing first / 2016-02-11 21:00:54 +01:00
kervala
2da2788b57 Changed: Minor changes 2016-02-10 18:47:35 +01:00
kaetemi
b171323b91 Also support AppData/Local to allow a non-roaming config 2016-02-04 13:02:32 +01:00
kaetemi
22aef38af5 Fix for VS2008 build 2016-02-04 12:07:36 +01:00
kervala
b21ebd149b Changed: Updated launchProgramAndWaitForResult to support .bat files 2016-02-03 21:58:29 +01:00
kervala
5c8e42734c Changed: Detect .bat file in launchProgram and adapt syntax of CreateProcess 2016-02-02 19:49:37 +01:00
kervala
e9a39a9a55 Changed: Use "open" to open other programs too under OS X 2016-02-02 19:20:34 +01:00
kervala
2274cfff89 Fixed: Async execution of .bat under Windows 2016-02-02 19:20:02 +01:00
kervala
6679aa7621 Changed: New function bytesToHumanReadableUnits to use specific strings for units 2016-02-02 12:37:06 +01:00
kervala
7ffc842ba4 Fixed: Support new ISO units (KiB, MiB, etc...) in humanReadableToBytes 2016-02-02 11:33:44 +01:00
kervala
39574e4352 Fixed: Wrong return value for CCmdArgs::haveAdditionalArg 2016-01-28 13:25:21 +01:00
kervala
ba3b4a977b Changed: Removed libxml2 dependencies from other targets 2016-01-27 12:56:16 +01:00
kervala
1c694c3216 Fixed: libxml2 dependencies 2016-01-26 23:26:38 +01:00
kervala
9bdccc82d1 Changed: Put libxml code in .cpp (it was a hack for libwww, that is not used anymore...) 2016-01-26 22:41:58 +01:00
kervala
798194a6d9 Changed: Added PCH for logic 2016-01-26 22:41:02 +01:00
kervala
237b6767b0 Fixed: Remove inherited dependency on libxml2 for all projects 2016-01-26 22:30:13 +01:00
kervala
c0fb23c007 Changed: Make absolute program path (useful if launched from current directory under Linux)
Changed: Set process name for logs
2016-01-23 18:50:17 +01:00
kervala
d06bff716f Fixed: toLower shouldn't transform a eszett to s 2016-01-23 18:48:25 +01:00
kervala
61b6ea0723 Fixed: Return true if a required argument is found 2016-01-23 12:28:22 +01:00
kervala
02bb9edf7d Changed: Minor changes 2016-01-23 10:18:23 +01:00
kervala
9d319a5688 Changed: Centralize BNP unpacking and packing methods, to be reused in other tools/programs 2016-01-23 10:18:09 +01:00
kervala
94b033caf9 Changed: Add a parameter to CPath::makePathAbsolute to simplify the path (remove all . and ..) 2016-01-23 09:44:41 +01:00
Nimetu
5c3e84cf1b Changed: Use url from <base> element for relative urls 2016-01-20 19:15:20 +02:00
kervala
c00a1608ec Changed: Local includes against system includes 2016-01-19 20:38:05 +01:00
kervala
5dfd931cf8 Fixed: Compilation without PCH 2016-01-19 20:37:03 +01:00
kervala
4f8aa63f78 Changed: Improved CCmdArgs 2016-01-18 21:22:57 +01:00
kervala
2355f81fbd Fixed: Missing ++ 2016-01-16 23:48:44 +01:00
kervala
bdcfa10c66 Fixed: Link to X11 under Linux 2016-01-16 15:50:45 +01:00
kaetemi
8f61c6dfa9 Separate window displayer message stringify 2016-01-15 17:10:39 +01:00
kaetemi
e9912417bf More VS2015 fixes 2016-01-15 12:04:06 +01:00
kaetemi
a6b1ac4331 Fix VS2015 warnings 2016-01-15 11:52:09 +01:00
kaetemi
6abf73a61d VS2015 compilation fixes 2016-01-15 11:34:23 +01:00
kervala
13f1ddd6f3 Fixed: Compilation 2016-01-14 23:58:04 +01:00
kervala
3d9d77484a Changed: Minor changes 2016-01-14 23:53:17 +01:00
kervala
8040a6495b Changed: Invert version and help checks 2016-01-14 23:47:24 +01:00
kervala
2682f4f4af Improve CCmdArgs (a generic command line parser in NeL Misc), fixes #257 2016-01-14 21:26:10 +01:00
kervala
02f6248bd4 Changed: Expand environment variables in paths read from cfg files 2016-01-13 19:59:09 +01:00
kervala
50c796236b Fixed: getLastSeparator should return std::string::size_type instead of an integer 2016-01-13 19:47:35 +01:00
kervala
12e16e83e2 Changed: Implement CPath::isAbsolutePath 2016-01-13 19:46:27 +01:00
kervala
179499a5c1 Changed: Implement expandEnvironmentVariables function 2016-01-13 19:45:02 +01:00
kervala
7e5c664125 Changed: Table keys are integers 2016-01-11 11:43:59 +01:00
kervala
3e10ebf773 Fixed: In Lua, all integers are numbers and numbers can be converted to integers 2016-01-11 11:34:32 +01:00
Nimetu
70673d5fb5 Fixed: Invalid image width/height on error 2016-01-10 16:33:42 +02:00
Nimetu
3b828dacc5 Fixed: Wrong DD indent in nested list when tag is not closed 2016-01-07 01:00:48 +02:00
kervala
7fc5e0fa1b Changed: Remove unused variable 2016-01-06 13:21:47 +01:00
kervala
b03f60bbf2 Changed: Code simplification 2016-01-06 13:19:48 +01:00
kervala
29f297a955 Changed: Minor changes 2016-01-06 13:17:07 +01:00
kervala
8b3076ab69 Changed: Support for new key events 2016-01-06 12:42:10 +01:00
Nimetu
cd60a50e8f Changed: Refactor DL 2016-01-06 00:11:17 +02:00
Nimetu
39cfbc2a7c Fixed: Align UL, LI list style type marker outside content 2016-01-06 00:08:41 +02:00
Nimetu
9140d23557 Fixed: DL list top margin 2016-01-05 23:23:19 +02:00
Nimetu
531934b3bf Fixed: DL list DD element indent 2016-01-05 23:02:21 +02:00
Nimetu
f38e5e8877 Changed: UL list style type depending on nested depth 2016-01-05 20:23:11 +02:00
Nimetu
03a821a9b9 Changed: Merge UL and OL code 2016-01-05 20:21:40 +02:00
kervala
0336b434ae Changed: %u to format a uint 2016-01-05 12:53:57 +01:00
kervala
001b9facbe Fixed: GCC warnings 2016-01-05 12:51:06 +01:00
kervala
3ef42e9bd0 Fixed: Converting AlphaLuminance to Luminance 2016-01-04 22:16:21 +01:00
kervala
d07e0d76d9 Fixed: Compilation 2016-01-04 16:14:30 +01:00
kervala
8c3da3d5d7 Changed: Use same _mm_getcsr and __cpuid intrinsics everywhere 2016-01-04 15:40:45 +01:00
kervala
6dde138039 Changed: Use new code to determine free disk space 2016-01-04 15:39:31 +01:00
kervala
1d7439f12a Changed: Allow to resample Luminance (grayscale) bitmaps 2016-01-04 13:54:59 +01:00
kervala
28ad88d698 Changed: Don't redefine new and delete operators if targetting x86_64 2016-01-04 13:48:57 +01:00
kervala
459d6b611b Changed: Cast to CRGBA* is faster than set8888 2016-01-03 17:51:49 +01:00
kervala
3fae0fe91f Changed: Use LD_LIBRARY_PATH only when opening a document or URL 2016-01-03 17:51:09 +01:00
kervala
d96b5d236c Changed: Only use filename in setProcessName 2016-01-03 17:50:21 +01:00
kervala
2a9c54aff7 Changed: Minor changes 2016-01-02 22:24:16 +01:00
kervala
0791aa77da Changed: Unused code 2016-01-02 22:23:04 +01:00
kervala
ec8b27f8ab Fixed: Use --args only with open 2016-01-02 19:16:33 +01:00
kervala
efedb468cc Fixed: Don't use system() under Windows, because it'll open a console window, use launchProgramAndWaitForResult instead 2016-01-02 19:15:21 +01:00
kervala
f2da4ef977 Fixed: Implements launchProgramAndWaitForResult to launch a command synchronously 2016-01-02 19:14:13 +01:00
kervala
61457e575e Fixed: Typos 2016-01-02 17:04:45 +01:00
kervala
fc876ccd0e Changed: Minor changes 2016-01-02 11:34:17 +01:00
kervala
f372014c72 Changed: Remove X11 code for OS X (we support Cocoa now) 2016-01-02 11:34:04 +01:00
kervala
c1d8c9523b Fixed: Dead keys under Linux (Ubuntu was using ibus input method) 2016-01-02 11:33:18 +01:00
kervala
51dba01e7d Changed: Parse nvidia-smi output to determine video memory 2016-01-01 16:04:06 +01:00
kervala
f793077ac0 Changed: Minor change 2016-01-01 16:03:06 +01:00
kervala
c3db175157 Changed: Added helpers methods to CBitmap 2016-01-01 16:02:54 +01:00
kervala
ffa7751b7c Changed: Don't need to use std::stringstream 2015-12-28 18:15:28 +01:00
kervala
d9265f36cf Fixed: Don't crash if GL_VERSION returns NULL (it should never happen) 2015-12-27 16:06:35 +01:00
kervala
afa53e242e Changed: Support for GLX_MESA_query_renderer to detect video memory 2015-12-26 17:51:36 +01:00
kervala
0a671f2d73 Changed: Minor changes 2015-12-26 17:49:54 +01:00
kervala
03d2836785 Fixed: GCC warnings 2015-12-26 15:12:41 +01:00
kervala
d8ac1ece84 Fixed: GCC warnings 2015-12-26 14:10:27 +01:00
kervala
1b7bdfd485 Fixed: GCC warnings 2015-12-26 14:09:15 +01:00
kervala
584bb6cc99 Changed: Renamed screenH and screenW to _ScreenH and _ScreenW 2015-12-26 14:02:01 +01:00
kervala
80ec8e4321 Changed: Minor changes 2015-12-26 14:00:39 +01:00
kervala
0286ac2270 Changed: Force 32 bits depth with XRandr 2015-12-26 13:38:09 +01:00
kervala
e1060b8923 Changed: Implement CSystemUtils::getTotalVideoMemory() under Linux (Xorg log and lspci parsing) 2015-12-26 13:28:09 +01:00
kervala
fd9a6820f7 Fixed: GCC warnings 2015-12-26 13:26:51 +01:00
kervala
5708a3997c Fixed: Warnings with GCC 2015-12-25 20:49:59 +01:00
kervala
77d60be443 Changed: Use shared libs for X11 because API doesn't change 2015-12-25 15:35:04 +01:00
kervala
3b32412d2a Changed: Display a warning when calling getModes if Display is NULL 2015-12-25 15:30:14 +01:00
kervala
ba706b46f7 Changed: Added new function getCommandOutput 2015-12-25 15:29:23 +01:00
kervala
f05fd1f4e2 Changed: windows.h already included in stdligo.h 2015-12-23 15:23:50 +01:00
kervala
791d73500e Fixed: Wrong units (1 KiB = 1024 B, 1 KB = 1000 B, etc...) 2015-12-23 15:11:26 +01:00
kervala
3f28932da4 Changed: Use nlwarning instead of nlerror 2015-12-23 15:03:32 +01:00
kervala
41ac92d9f2 Changed: Use toString instead of sprintf 2015-12-23 14:56:36 +01:00
kervala
d8f79ed761 Changed: Implement CSystemUtils::getTotalVideoMemory() for Windows 2015-12-23 14:48:33 +01:00
kervala
c25320a998 Fixed: Target at least Windows 2000 2015-12-23 14:47:11 +01:00
kervala
92035e59b2 Changed: Add getTotalVideoMemory to IDriver to query total video memory 2015-12-23 14:36:16 +01:00
Nimetu
4ec1d486df Fixed: Crash when div was following p element 2015-12-22 01:29:53 +02:00
Nimetu
77d58f4553 Fixed: Stuck scrollbar 2015-12-20 03:33:43 +02:00
Nimetu
fb84d534cc Fixed: Incorrect vertical spacing between block style elements 2015-12-18 21:23:18 +02:00
Nimetu
a7ec7dfcbb Changed: Render p and div as block level elements 2015-12-19 20:39:40 +02:00
Nimetu
e510db5c31 Fixed: Table colspan overwrites previous row column width 2015-12-18 14:29:40 +02:00
Nimetu
4e329f0e55 Added: html TH element 2015-12-18 14:29:40 +02:00
Nimetu
5f2ab721f7 Added html HR element 2015-12-18 14:29:40 +02:00
Nimetu
7af6be7118 Added: html OL list 2015-12-18 14:29:40 +02:00
kervala
39f838a1fd Fixed: loadPNG with RGB images was returning 32 2015-12-16 14:50:40 +01:00
kervala
3b07ad440d Changed: Minor changes 2015-12-15 14:07:32 +01:00
kervala
c20346238a Fixed: Implement launch of executables under OS X 2015-12-15 14:06:49 +01:00
kervala
542c29ded7 Fixed: Clang warnings 2015-12-13 15:25:28 +01:00
kervala
bf73907da1 Fixed: Homogenize CFile::moveFile with other methods (use std::string instead of const char*) 2015-12-13 13:03:16 +01:00
kervala
ab584867f5 Fixed: OS X uses .dylib extension instead of .so 2015-12-11 20:19:10 +01:00
Nimetu
a5ede6e08a Fixed: Keyboard capture not reset when clicking outside GUI. 2015-12-10 10:56:03 +02:00
Nimetu
c13e885561 Added: Size attributes to img (width, height, max-width, max-height) 2015-12-08 21:53:54 +02:00
kervala
c4235f7b1e Changed: Let dependencies propagate to other targets 2015-12-07 21:48:32 +01:00
kervala
ad654a0d31 Backed out changeset: 0e65571cbfd1 (doesn't fix anything) 2015-12-06 19:46:02 +01:00
kervala
8a43c01e52 Fixed: Remove \SystemRoot\ from path returned from Registry 2015-12-06 16:42:49 +01:00
Nimetu
4827dcd60e Added: Smooth scrolling 2015-12-06 16:38:29 +02:00
Nimetu
2b11880d9f Fixed: Scrolling in small steps not working. 2015-12-06 16:26:39 +02:00
Nimetu
737d068147 Added: style for html elements del, u, em, strong, small, and dl list 2015-12-03 15:50:54 +02:00
Nimetu
d8735be24e Changed: Ignore text from <script> element 2015-12-03 15:50:46 +02:00
Nimetu
d3625364c6 Added: URL #fragment navigation. 2015-11-26 11:29:50 +02:00
Nimetu
9014aa6fad Added: Common attributes to h1..h6 elements 2015-12-02 20:37:44 +02:00
kervala
7e7deb34e2 Fixed: Bug when CURLMOPT_MAX_HOST_CONNECTIONS is not supported 2015-12-02 18:57:21 +01:00
kervala
f720072e7b Fixed: Getters for Anisotropic Filtering 2015-12-02 18:56:49 +01:00
kervala
46543242db Fixed: Link error under Debian Squeeze 2015-11-30 14:19:05 +01:00
kervala
a6ed27598f Changed: Add and use more constants in config.h 2015-11-29 14:19:02 +01:00