1.11.9
ASL version 1.11.9
Fixes and little improvements.
- Fixed
Array2<T>
constructor from pointer to data and sizes - Fixed
IniFile::values()
for some old gcc - Moved
encodeUrl()
anddecodeUrl()
to structUrl
as static functions and improved them - Now
Url::encode(str)
works like JSencodeURI()
, andUrl::encode(str, true)
works like JSencodeURIComponent()
- Fixed
HttpServer
to serve files with non-ASCII names (request paths are URL-decoded first) - Fixed
Json::decode()
to support escaped Unicode non-BMP chars (e.g. emojis, like "\ud83d\ude00") - Fixed
String::count()
for non-BMP characters - Added
String::wlength()
to count UTF16 code units (length ofwchar_t*
string) - Added
String
constructors from Unicode code points (single code or array) - Added
Xml:value<T>()
- Windows
Console
now sets the system code page in ASL_ANSI mode by default, and added.setCP()
to change it - Improvements in ASL_ANSI mode (
Url::decode()
andJson::decode
will translate escaped chars to local charset, if possible) - Added
Matrix<T>::op=(init_list)
that copies new data without allocating and freeing - Added operator
Matrix3 ^ Vec2
for projective transformation (same inMatrix4 ^ Vec3
)