Commit Graph

30 Commits

Author SHA1 Message Date
cec8402adc Add tests 2024-10-24 20:57:34 +04:00
81d90420dd Normalize JSON in tests 2024-09-10 22:27:54 +00:00
2673b15835 Implement objects parsing in FromJSON 2024-09-10 22:27:54 +00:00
436d9ecdb7 Implement arrays parsing in FromJSON 2024-09-10 22:27:54 +00:00
150079e2f6 Implement FromJSON for primitives 2024-09-10 22:27:54 +00:00
ad18d65f7c Implement toJSON 2024-09-10 22:27:54 +00:00
cd5ca284e1 Change IsDouble method: return true if value has integer type 2024-06-02 15:37:04 +03:00
ce9d61a3aa Fixed json test 2024-03-15 18:31:42 +04:00
be0c6b13e7 Strings unify 2024-03-15 17:56:17 +04:00
af04c2bac1 Added more exceptions 2024-01-11 14:57:02 +04:00
e4477c9926 Add IsInit() function 2024-01-11 14:57:02 +04:00
7ca14893b9 JSC: Added Dispose() to ~CJSContext() 2023-12-01 18:38:22 +04:00
766c4b61a1 Added test: serialization usage with script 2023-11-30 19:10:57 +04:00
610b0b0831 JSC: fixed json tests 2023-11-29 20:13:07 +04:00
97c314e379 All tests were added. Small serialization rework.
- Code coverage: 100%
- Restructured serialization code to handle primitives first
2023-11-29 14:22:51 +04:00
2895e27c32 Made code coverage 100% for CValue & CValueRef 2023-11-28 15:19:51 +04:00
3e5eb3d251 Added tests to basic CValue functionality 2023-11-27 21:29:56 +04:00
fdaf8e6c6b Fixed fromJS() 2023-11-24 16:23:16 +04:00
b0dfb4c731 Added allocator and deallocator for typed arrays 2023-11-23 19:13:03 +04:00
3ae6927ac3 Reworked CValue, added CValueRef 2023-11-23 16:25:21 +04:00
bcea33ed19 Implemented reference mechanism for CValue 2023-11-21 16:53:48 +04:00
f6c0ffc644 CValue major rework 2023-11-18 00:56:32 +04:00
eecc623723 Add some new functionality
+ Getters for CValue
+ Reworked CObject
+ Partly functioning fromJS() function
+ Changed test example
2023-11-17 13:52:24 +04:00
85f86c2de6 Added typed arrays 2023-11-17 13:52:24 +04:00
62f5b03bb4 Added arrays 2023-11-17 13:52:24 +04:00
eecd983377 Rewrited toJS() as a static function 2023-11-17 13:52:24 +04:00
a4ac108c7c Some minor improvements 2023-11-17 13:52:23 +04:00
20e782bf5b Test example improvements 2023-11-17 13:52:23 +04:00
dddd37af12 Refactoring: added base class 2023-11-17 13:52:23 +04:00
87d9ad5b88 Basic functionality 2023-11-17 13:52:23 +04:00