50 Commits

Author SHA1 Message Date
MihailRis
28589c4b3b fix utf8 support 2025-11-23 19:56:12 +03:00
MihailRis
6810f9a03a add utf8.escape_xml and alias - string.escape_xml 2025-11-23 19:52:49 +03:00
MihailRis
28c821006a fix unicode string literal escape 2025-09-23 00:08:05 +03:00
MihailRis
4cdb1fbae2 add util::base64_urlsafe_encode/decode 2025-03-12 16:26:46 +03:00
MihailRis
8a8c1525fd
Fix syntax highlighting unicode support (#475)
* convert BasicParser to a template

* fix syntax hightlighting with unicode characters
2025-02-22 01:01:20 +03:00
MihailRis
17dcbe98ab fix clang-check warnings 2025-01-01 16:06:44 +03:00
MihailRis
3e949bd499 fix fatal error on invalid base64.decode input string 2024-11-30 22:14:37 +03:00
MihailRis
6e90568d2a add util::escape 'escapeUnicode' option 2024-11-27 21:40:48 +03:00
MihailRis
d660880365 fix util::base64_encode 2024-11-18 12:37:48 +03:00
MihailRis
0bfc5d2ad4 add base64 library 2024-11-18 11:52:06 +03:00
MihailRis
dcd8871ee1 add utf8.escape, string.escape & reformat extensions.md 2024-11-18 09:21:16 +03:00
MihailRis
65f9caec87 add unicode escapes support 2024-10-28 12:51:16 +03:00
MihailRis
f3181dee88 add util::length_utf8 2024-10-26 10:31:45 +03:00
MihailRis
de00414456 add generator 'caption' property 2024-10-13 22:53:12 +03:00
MihailRis
88b0f8e3d6 add VoxelStructure lua usertype 2024-09-19 18:41:34 +03:00
MihailRis
f8fadf8b74 add json BJSON_TYPE_BYTES support 2024-09-12 17:22:00 +03:00
MihailRis
96941cb707 fix utf-8 decoder & add u32string functions 2024-08-29 15:40:51 +03:00
MihailRis
f8d0a4f4c7 add util::crop_utf8 (stringutil) 2024-08-29 15:39:14 +03:00
Vyacheslav Ivanov
bbf33e8e4d
format: reformat project
Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
2024-08-03 19:53:48 +03:00
MihailRis
ba046a52c0
Revert "fix: optimization: Various PVS-Studio warnings" 2024-08-02 14:51:44 +03:00
Vyacheslav Ivanov
2c1103307f
fix: optimization: PVS-Studio warning V813
Passing large objects by const reference avoids unnecessary copying and enhances efficiency.

Reported by: PVS-Studio
Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
2024-08-02 05:35:55 +03:00
Pugemon
e98fb9a1a7 Optimize container insertions using emplace_back instead of push_back 2024-06-07 04:43:27 +03:00
Pugemon
f25a425cb9 Optimize parameter passing to avoid unnecessary copying 2024-06-07 04:00:38 +03:00
MihailRis
c94d40ab02 toml parser update + 'toml' module is built-in now 2024-05-20 01:28:42 +03:00
MihailRis
c2ea0d5326 lua console library 2024-05-10 23:35:46 +03:00
MihailRis
9522aedeec quick check with linters 2024-05-10 12:34:05 +03:00
MihailRis
3c6089225f cleanup 2024-05-06 17:35:05 +03:00
MihailRis
f27a418dbe however 2024-05-06 03:15:27 +03:00
MihailRis
788bd6bf0f numeric setting value display fix 2024-04-28 19:03:54 +03:00
MihailRis
a7a447552e idk 2024-04-14 22:50:35 +03:00
MihailRis
3655464b6f minor refactor 2024-04-08 12:25:00 +03:00
MihailRis
32120d8af4 settings test 2024-03-29 13:58:19 +03:00
MihailRis
5c3b61265a blocks and items 'caption' property 2024-03-12 16:59:34 +03:00
MihailRis
c9da6b9a0c stringutil: text case convert functions 2024-03-12 13:31:41 +03:00
MihailRis
d189bdc107 multiline labels 2024-02-25 21:03:21 +03:00
MihailRis
089e87da69 chunks rendering multithreading 2024-02-24 20:08:51 +03:00
MihailRis
4fd398844e UiXmlReader update 2024-02-05 01:10:05 +03:00
MihailRis
b38afe9e34 refactor 2024-02-04 23:45:15 +03:00
MihailRis
bc72742ee3 locale independent util::parse_double 2024-02-02 20:02:30 +03:00
MihailRis
1f11fa8fea Added XML parser/writer 2024-02-01 02:01:04 +03:00
MihailRis
ba4338c4fa small util::base64_decode optimization 2024-01-25 02:18:50 +03:00
MihailRis
3cfdbc8338 stringutil added util::base64_encode/decode 2024-01-25 02:07:44 +03:00
MihailRis
213eba6072 added stringutil::to_string 2024-01-11 04:10:43 +03:00
MihailRis
73595cd558 Minor refactor 2024-01-04 22:57:18 +03:00
MihailRis
a60cc70246 GLSL 'include' support 2023-11-28 16:13:49 +03:00
MihailRis
4e1f19c911 Added world creation menu 2023-11-17 13:57:45 +03:00
MihailRis
d349b4b65a stringutil.cpp warnings fix 2023-11-16 12:26:58 +03:00
MihailRis
b03bcb5191 Menu screen prototype, refactor 2023-11-16 03:00:05 +03:00
MihailRis
ccbfaa3a86 Fog factor correction, small fixes 2023-11-14 22:57:27 +03:00
MihailRis
ee52e412fa Added stringutil module 2023-11-09 15:03:50 +03:00