kervala
cbf2c744f0
Changed: Replace some const char* by std::string
...
--HG--
branch : develop
2016-12-18 13:45:07 +01:00
Nimetu
bc5bf44c18
Merge with develop
...
--HG--
branch : experimental-ui-scaling
2018-03-16 11:33:16 +02:00
kervala
083f44ec32
Fixed: Compilation
...
--HG--
branch : develop
2016-12-10 19:36:41 +01:00
kervala
50b6af6d3d
Fixed: Strict aliasing warnings
...
--HG--
branch : develop
2016-12-10 18:55:31 +01:00
kervala
3c568ce8a3
Changed: New "new" definitions for NEW_DEBUG macro defined by MFC
...
--HG--
branch : develop
2016-12-10 18:50:01 +01:00
kervala
ba35109fe4
Changed: Destructor for CApplicationContext to display singletons still in memory
...
--HG--
branch : develop
2016-12-10 18:48:53 +01:00
kervala
27b272f012
Changed: Replace a lot of const char* by std::string parameters
...
--HG--
branch : develop
2016-12-10 18:40:03 +01:00
kervala
dbba511ee7
Changed: Replace a lot of const char* by std::string parameters
...
--HG--
branch : develop
2016-12-10 12:30:57 +01:00
kervala
ab44d7e809
Changed: Use a CUniquePtr macro since std::unique_ptr doesn't exist on all (yet) supported platforms
...
--HG--
branch : develop
2016-12-10 12:05:29 +01:00
kervala
eabfcbf708
Fixed: Release CCurrentCoTask singleton
...
--HG--
branch : develop
2016-12-09 16:14:16 +01:00
kervala
13ddbf39ef
Changed: Moved other Ligo headers to include
...
--HG--
branch : develop
2016-12-05 09:51:48 +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
0ecac0249c
Removed: Empty sources
...
--HG--
branch : develop
2016-12-04 17:01:38 +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
f3564ed86e
Fixed: Compilation with GCC 6
...
--HG--
branch : develop
2016-12-03 18:14:31 +01:00
kervala
894151dba8
Changed: Constification of addSlashR and removeSlashR
...
--HG--
branch : develop
2016-12-02 16:01:43 +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
c13b007090
Changed: Moved Ligo headers to include
...
--HG--
branch : develop
2016-11-29 20:34:35 +01:00
kervala
5f5483a672
Fixed: In MBCS mode, convert to std::string
...
--HG--
branch : develop
2016-11-25 13:18:40 +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
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
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
5105252690
Changed: Constify some methods
...
--HG--
branch : develop
2016-11-15 10:58:51 +01:00
kervala
9e0954fad5
Changed: ForceUtf8 parameter useless now
...
--HG--
branch : develop
2016-11-04 20:19: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
19e8ee1d05
Changed: Simplified all ENDIF and ELSE
...
--HG--
branch : develop
2016-10-27 10:54:09 +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
a0075414c0
Changed: Use empty() to check if a string is empty
...
--HG--
branch : develop
2016-10-25 15:52:14 +02:00
kervala
b08d1f979d
Changed: Typo
...
--HG--
branch : develop
2016-10-22 16:49:19 +02:00
kervala
8b239df6a9
Changed: Implement and use CBitmap::makeTransparentPixelsBlack()
...
--HG--
branch : develop
2016-10-22 16:47:25 +02:00
kervala
e7b23c958a
Fixed: Connexion -> Connection typo
...
--HG--
branch : develop
2016-09-28 23:42:01 +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
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
Nimetu
b5717de4fc
Added: Remove hardcoded text overflow indicator
...
--HG--
branch : experimental-ui-scaling
2016-08-14 02:25:19 +03:00
Nimetu
4a722c7783
Changed: Use UI scale change event to change CViewText font scale
...
--HG--
branch : experimental-ui-scaling
2016-08-14 02:25:10 +03:00
Nimetu
279f67fc2d
Changed: Use current scale value instead of asking CViewRenderer
...
--HG--
branch : experimental-ui-scaling
2016-08-13 23:34:49 +03:00
Nimetu
290e7e97d1
Merge with develop
...
--HG--
branch : experimental-ui-scaling
2016-07-24 16:25:47 +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
44208ba1ad
Changed: Use float for bitmap pos for better pixel align when scale is used
...
--HG--
branch : experimental-ui-scaling
2016-07-19 11:12:47 +03:00
Nimetu
5e1c6cd287
Added: Bilinear filtering option for texture atlas textures
...
--HG--
branch : experimental-ui-scaling
2016-07-14 20:20:55 +03:00
Nimetu
e8c7cdbb32
Added: Minimum lines option to multiline text
...
--HG--
branch : develop
2016-06-12 10:22:22 +03:00
Nimetu
2cb71e654a
Fixed: Update text widget parent size when interface scale changes
...
--HG--
branch : experimental-ui-scaling
2016-06-07 17:27:00 +03:00
Nimetu
8965ce50d5
Changed: Font scaling
...
--HG--
branch : experimental-ui-scaling
2016-06-03 16:02:37 +03:00
Nimetu
cf357edcb9
Added: Interface auto scaling to view renderer
...
--HG--
branch : experimental-ui-scaling
2016-06-03 14:24:56 +03:00
Nimetu
85051340e1
Changed: Move addLink code to beginElement
...
--HG--
branch : develop
2016-05-25 12:08:08 +03:00
kervala
ee2938e3cb
Changed: Use uint instead of unsigned
...
--HG--
branch : develop
2016-05-25 23:19:46 +02:00
kervala
4b1959a560
Changed: Replace size() comparisons by empty()
...
--HG--
branch : develop
2016-05-25 23:18:11 +02:00
Nimetu
f15926dd7e
Changed: Remove legacy HTTPCurrentDomain variable
...
--HG--
branch : develop
2016-05-14 12:53:09 +03:00
Nimetu
8aa2a3ced6
Changed: Rename CUrlParser domain variable
...
--HG--
branch : develop
2016-05-14 12:53:09 +03:00
kervala
a002b20c7f
Changed: Minor changes
...
--HG--
branch : develop
2016-04-06 09:29:37 +02:00
kervala
a410f2fcc1
Changed: Better camel case syntax
...
--HG--
branch : develop
2016-04-02 13:28:42 +02:00
depyraken
96fd182335
add isloopbackIPAddress prototype to code/nel/include/nel/net/inet_address.h
...
add isloopbackIPAddress to code/nel/src/net/inet_address.cpp
add IPv4&IPv6 loopback IP addresses to localAddresses
In code/nel/src/net/unified_network.cpp:
replace is127001 calls by isloopbackIPAddress
change wrong comments about default network id (nid = 0xFF)
When the selected connectionId is not valid
warnings are not triggered anymore when using default network (nid = 0xFF): the logs were full of warnings and the server was lagging
When nid = 0xFF, the new connectionId is stored into DefaultNetwork
When nid <> 0xFF, the new connectionId is stored into NetworkConnectionAssociations[nid]
--HG--
branch : develop
2016-03-29 02:29:35 +02:00
kaetemi
198323b9b5
Compile fix
...
--HG--
branch : develop
2016-03-19 22:13:38 +01:00
kervala
89be3e39de
Fixed: Clang warnings
...
--HG--
branch : develop
2016-03-19 19:29:03 +01:00
kervala
0d773e3e79
Fixed: Use nlfopen in tools and servers
...
--HG--
branch : develop
2016-03-19 16:21:06 +01:00
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
2016-03-18 22:07:52 +01:00
kervala
94f4e901c9
Changed: Fix clang warnings
...
--HG--
branch : develop
2016-03-18 22:06:20 +01:00
kervala
a77fee685b
Changed: Implement CI18N::setSystemLanguageCode, if we must force it
...
Fixed: CI18N::getSystemLanguageCode under Windows (use 2 different methods)
--HG--
branch : develop
2016-03-18 15:07:49 +01:00
Nimetu
1d0d1a505c
Added: Possibility to set text as grayed in combo box
...
--HG--
branch : develop
2016-03-02 23:58:48 +02:00
Nimetu
a95c887534
Changed: Implement multi-row select box
...
--HG--
branch : develop
2016-02-23 10:52:21 +02:00
Nimetu
e2fca3a8f3
Added: http-equiv refresh
...
--HG--
branch : develop
2016-02-23 10:52:24 +02:00
kervala
6104011d11
Changed: New functions launchProgramArray to pass an array of strings as arguments (easier to escape)
...
--HG--
branch : develop
2016-02-27 18:38:58 +01:00
kervala
b3b48a3ae3
Changed: New functions to convert arguments string from/to an array of strings
...
--HG--
branch : develop
2016-02-27 18:37:43 +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
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
30077f3977
Move some stuff for easier debug
...
--HG--
branch : develop
2016-02-18 11:55:58 +01:00
Gary Preston
b4a7ab66ab
Add vector include and remove extra qualification on s_InitFlags.
...
--HG--
branch : develop
2016-02-16 19:01:14 +00: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
edf4331d1a
Fixed: Implements IPv6 in CInetAddress
...
--HG--
branch : develop
2016-02-14 18:21:09 +01:00
kervala
a4d98fb13b
Changed: Remember startup path (the initial current directory)
...
--HG--
branch : develop
2016-02-13 23:29:00 +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
kervala
092a3226bd
Changed: New function bytesToHumanReadableUnits to use specific strings for units
...
--HG--
branch : develop
2016-02-02 12:37:06 +01:00
kervala
0919fc66e4
Changed: Support more values for fromString with a boolean
...
--HG--
branch : develop
2016-02-02 11:32:20 +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
af2f38612a
Fixed: Remove inherited dependency on libxml2 for all projects
...
--HG--
branch : develop
2016-01-26 22:30:13 +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
kervala
aff9cccd0c
Changed: Improve toString(const bool &val)...
...
--HG--
branch : develop
2016-01-21 10:06:35 +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
fa22852adb
Changed: Removed fromString(const char *, ...) because useless
...
--HG--
branch : develop
2016-01-19 20:41:41 +01:00
kervala
b91e3bdf0e
Changed: Improved CCmdArgs
...
--HG--
branch : develop
2016-01-18 21:22:57 +01:00
kervala
b3cfd5f6bb
Fixed: Use lua_tointeger under Lua 5.2 and prior versions
...
--HG--
branch : develop
2016-01-16 21:35:34 +01:00
kaetemi
8cfaa89620
Separate window displayer message stringify
...
--HG--
branch : develop
2016-01-15 17:10:39 +01:00
kaetemi
9a0c6290a2
Fix another VS2015 warning
...
--HG--
branch : develop
2016-01-15 12:07:33 +01:00
kaetemi
9a477d976b
VS2015 compilation fixes
...
--HG--
branch : develop
2016-01-15 11:34:23 +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
bd5f838d6d
Changed: Minor changes
...
--HG--
branch : develop
2016-01-13 19:54:23 +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
ad36e59a71
Fixed: Save filenames in .bank with / instead of system separator
...
--HG--
branch : develop
2016-01-13 19:43:46 +01:00
kervala
49ef5a1ed7
Fixed: lua_tointeger doesn't work if value has a decimal part and returns 0
...
--HG--
branch : develop
2016-01-12 22:21:38 +01:00
kervala
9e8cd07e4b
Changed: HAVE_X86_64 is defined or not
...
--HG--
branch : develop
2016-01-07 17:39:53 +01:00
kervala
b3a392d559
Changed: Minor changes
...
--HG--
branch : develop
2016-01-07 17:36:17 +01:00
kervala
6efce5ba59
Changed: Support for new key events
...
--HG--
branch : develop
2016-01-06 12:42:10 +01:00
kervala
76744b18c7
Changed: Minor change
...
--HG--
branch : develop
2016-01-06 12:39:58 +01:00
Nimetu
8475f25e75
Changed: Refactor DL
...
--HG--
branch : develop
2016-01-06 00:11:17 +02:00
Nimetu
298a659c6f
Changed: Merge UL and OL code
...
--HG--
branch : develop
2016-01-05 20:21:40 +02:00
kervala
0dc70105d5
Fixed: __rdtsc() under old versions of GCC
...
--HG--
branch : develop
2016-01-04 19:26:25 +01:00
kervala
ae752f72d8
Changed: Define CLANG_VERSION is using clang compiler
...
--HG--
branch : develop
2016-01-04 19:18:19 +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
b11fabe867
Changed: Use __rdtsc() intrinsics everywhere for Intel CPUs
...
--HG--
branch : develop
2016-01-04 15:35:02 +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
266a32ea19
Fixed: Implements launchProgramAndWaitForResult to launch a command synchronously
...
--HG--
branch : develop
2016-01-02 19:14:13 +01:00
kervala
437aa5b939
Changed: Added helpers methods to CBitmap
...
--HG--
branch : develop
2016-01-01 16:02:54 +01:00
kervala
27a2263bd6
Changed: Added set8888() method to CGRBA
...
--HG--
branch : develop
2016-01-01 16:01:03 +01:00
kervala
2ed7c0be88
Changed: Added isGray() method to CGRBA
...
--HG--
branch : develop
2016-01-01 16:00:17 +01:00
kervala
77352d5759
Changed: Minor change
...
--HG--
branch : develop
2015-12-28 16:43:20 +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
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
dd69f64225
Changed: Use a stack size of 1 MiB under all platforms for CCoTask (default under Windows)
...
--HG--
branch : develop
2015-12-23 15:10:06 +01:00
kervala
55feca30d7
Changed: Use nlSleep instead of usleep
...
--HG--
branch : develop
2015-12-23 15:08:08 +01:00
kervala
4061826715
Changed: Use _LP64 macro instead of sizeof(long unsigned int) == 8
...
--HG--
branch : develop
2015-12-23 15:04:22 +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
5e61995c3c
Changed: Render p and div as block level elements
...
--HG--
branch : develop
2015-12-19 20:39:40 +02:00
Nimetu
045a6471fe
Added: html OL list
...
--HG--
branch : develop
2015-12-18 14:29:40 +02:00
kervala
8aff509f0f
Fixed: Clang warnings
...
--HG--
branch : develop
2015-12-13 15:25:28 +01:00
kervala
15aed08533
Fixed: Removed unneeded operator for CSString (compilation fails with VC++ 2010 without STLport)
...
--HG--
branch : develop
2015-12-13 14:21:20 +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
612125a243
Added: Size attributes to img (width, height, max-width, max-height)
...
--HG--
branch : develop
2015-12-08 21:53:54 +02:00
kervala
76a8904e9a
Fixed: Compilation under OS X
...
--HG--
branch : develop
2015-12-08 14:33:09 +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
d4ed66d99b
Added: URL #fragment navigation.
...
--HG--
branch : develop
2015-11-26 11:29:50 +02:00
Nimetu
f4599e183b
Added: Common attributes to h1..h6 elements
...
--HG--
branch : develop
2015-12-02 20:37:44 +02:00