90 Commits

Author SHA1 Message Date
MihailRis
3953583605 minimize extra dv::value copies 2024-09-19 13:45:32 +03:00
MihailRis
bd176f24e1 add some 'noexcept's 2024-09-19 12:36:00 +03:00
MihailRis
fa3e98e3e4 fix 2024-09-19 04:30:01 +03:00
MihailRis
4ae141d982 limit dv::value templated constructors & refactor 2024-09-19 04:22:57 +03:00
MihailRis
827a09b1d0 refactor data/dv & update data/dv-related tests 2024-09-19 00:40:06 +03:00
MihailRis
d6d07f0a3a update dv::elementreference::get(T) integer specializations 2024-09-19 00:23:24 +03:00
MihailRis
3613e31909 update dv::value::operator=(T) integer specializations 2024-09-19 00:10:15 +03:00
MihailRis
13edcd8700 add missing include 2024-09-18 23:56:06 +03:00
MihailRis
3717af34ae add missing include 2024-09-18 23:42:29 +03:00
MihailRis
34d2e6d400 migrate from dynamic::Value to dv::value & total erase namespace 'dynamic' 2024-09-18 23:31:18 +03:00
MihailRis
d3ba4b2e3e update move assignment 2024-09-17 14:04:23 +03:00
MihailRis
afbef198c6 add dv::value.operator=(value&&) 2024-09-17 13:41:02 +03:00
MihailRis
a886404940 optimize move constructor 2024-09-17 01:17:27 +03:00
MihailRis
27c8307562 add dv::value support to binary_json 2024-09-16 22:53:27 +03:00
MihailRis
ceaa676a3a add dv::value support to json::stringify & add dv.cpp 2024-09-16 21:36:35 +03:00
MihailRis
9badc0a022 add dv::value.getType(), .empty() 2024-09-16 20:49:39 +03:00
MihailRis
9b26758519 add dv::value.size/length, .asObject() 2024-09-16 20:21:28 +03:00
MihailRis
3bc329041a add dv::list(initializer_list<value>) 2024-09-16 19:43:20 +03:00
MihailRis
2aae28e193 fix dv::value::operator=(const value&) 2024-09-16 19:27:59 +03:00
MihailRis
adde5bd80d add new dv::value methods and iterators 2024-09-15 18:23:05 +03:00
MihailRis
fa12b9b751 add dv::value.object(...), .list(...) 2024-09-15 11:15:37 +03:00
MihailRis
371d714774 add dv::value.add(...) 2024-09-15 01:01:11 +03:00
MihailRis
464eb9989c decrease dv::value size 2024-09-15 00:28:18 +03:00
MihailRis
d703567dc1 add data/dv.hpp 2024-09-14 23:25:43 +03:00
MihailRis
14affb72b6 add new Map and List bytebuffer-related methods 2024-09-12 18:25:52 +03:00
MihailRis
f8fadf8b74 add json BJSON_TYPE_BYTES support 2024-09-12 17:22:00 +03:00
MihailRis
6f4a7db910 add binary_json BJSON_TYPE_BYTES support 2024-09-12 16:24:51 +03:00
MihailRis
8be0ed819e add new json::stringify overloads 2024-09-12 13:28:45 +03:00
MihailRis
de5c75d782 replace include guards with pragma once 2024-08-10 01:57:59 +03:00
MihailRis
f43cc93cd2 update project includes format 2024-08-10 01:37:48 +03:00
InfiniteCoder
5c9bc83bbd items/ + objects/ + util/ 2024-08-04 22:26:08 +03:00
InfiniteCoder
a745507ddd coders/ 2024-08-04 11:23:08 +03:00
InfiniteCoder
d5dc68dd38 Root includes 2024-08-04 10:24:11 +03:00
Vyacheslav Ivanov
4efa574eec
fix: PVS-Studio V508 mark false
Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
2024-08-03 21:05:19 +03:00
Vyacheslav Ivanov
bbf33e8e4d
format: reformat project
Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
2024-08-03 19:53:48 +03:00
Vyacheslav Ivanov
aecd0f5db9 fix: optimization: PVS-Studio warning V832
It's better to use '= default;' syntax instead of empty constructor and destructor body.
Using '= default;' can help the compiler generate more optimal code.

Reported by: PVS-Studio

Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
2024-08-03 17:44:10 +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
Vyacheslav Ivanov
5dd7a15c09
fix: optimization: PVS-Studio warning V832
It's better to use '= default;' syntax instead of empty constructor and destructor body.
Using '= default;' can help the compiler generate more optimal code.

Reported by: PVS-Studio

Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
2024-08-02 01:57:43 +03:00
MihailRis
f46e4a7989 add trackbar 'sub-consumer' for value label refresh when 'change-on-release' 2024-07-28 22:15:18 +03:00
MihailRis
d8c9fa1fe2 loading rig pose, textures, body settings 2024-07-09 21:19:29 +03:00
MihailRis
c8666910ce feat: loading entities (WIP) 2024-07-05 22:51:03 +03:00
MihailRis
e301dbe164 fix msvc build 2024-07-05 05:27:00 +03:00
MihailRis
f0270d3391 feat: saving entities (WIP) 2024-07-05 05:16:31 +03:00
MihailRis
e4f9bd03b7 add src/coders/obj 2024-06-22 20:24:35 +03:00
Pugemon
f25a425cb9 Optimize parameter passing to avoid unnecessary copying 2024-06-07 04:00:38 +03:00
MihailRis
9dadae6e34 world convert fatal error fix 2024-06-05 09:41:06 +03:00
MihailRis
c94d40ab02 toml parser update + 'toml' module is built-in now 2024-05-20 01:28:42 +03:00
MihailRis
35fdd475ee msvc build fix 2024-05-18 22:13:53 +03:00
MihailRis
e273829ef5 c++ must be illegal 2024-05-16 17:08:38 +03:00