|
|
6402c0cb73
|
[V8] Add FreeEmbedObject function
|
2025-05-29 17:15:23 +04:00 |
|
|
|
ae71fefd92
|
[V8] Fix tests
|
2025-05-28 17:24:17 +04:00 |
|
|
|
79bb238b5f
|
[JSC] Add FreeEmbedObject function
|
2025-05-27 18:14:29 +04:00 |
|
|
|
5c2171db93
|
js_internal tests rework
in favor of easier debugging on different platforms
|
2025-05-27 17:15:28 +04:00 |
|
|
|
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 |
|
|
|
b59b2ba039
|
Merge pull request #1366 from ONLYOFFICE/feature/js-serialize-update
Added IsInit() function and more exceptions
|
2024-01-16 17:28:45 +03:00 |
|
|
|
15ba22dc5c
|
Implemented for V8
|
2024-01-16 18:16:22 +04:00 |
|
|
|
86eddff91d
|
Add tests
|
2024-01-16 15:32:03 +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 |
|
|
|
84c34eed65
|
Fixes
+ Fixed build for mac
+ Removed undefined properties from tests
|
2023-11-17 13:52:24 +04:00 |
|
|
|
31f52731f6
|
Added tests for CJSObject::getPropertyNames()
|
2023-11-17 13:52:24 +04:00 |
|
|
|
7eebede9a6
|
Tests rearrangement
|
2023-11-17 13:52:24 +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 |
|
|
|
d6292219d2
|
Singleton rework.
Added `CAllowedCreationScope`.
|
2023-06-13 14:06:18 +04:00 |
|
|
|
39cbad3ebf
|
Added #ifdef and [noexport] support for code generation. Replaced most of internal classes.
Removed unnecessary V8 code.
|
2023-06-11 23:30:40 +04:00 |
|
|
|
bc18191931
|
[V8] Added new adapter generation
|
2023-06-02 17:53:25 +04:00 |
|
|
|
11d91891a8
|
[V8] New adapter for external embed. js_base.h celaned up.
|
2023-06-02 17:31:01 +04:00 |
|
|
|
a29605e1b7
|
Added adapter code generation to scipt
|
2023-06-01 17:03:57 +04:00 |
|
|
|
f40b6f849d
|
[JSC] Implemented adapter. Removed Native2Value and Value2Native from js_base.h
|
2023-06-01 16:27:16 +04:00 |
|
|
|
375b5a5f4f
|
[V8] added an option for removing void* functions from js_base.h
|
2023-06-01 15:28:19 +04:00 |
|
|
|
3ad595817e
|
Refactoring: removed CreateContext, removed RegistratorPool, made Embed static function
|
2023-05-29 21:23:23 +04:00 |
|
|
|
428d92e654
|
Added RegistratorPool for embedding in multiple contexts simultaneously
|
2023-05-28 18:42:39 +04:00 |
|
|
|
21ee5ceecf
|
Implemented code generation for internal embed
|
2023-05-27 18:19:57 +04:00 |
|