theduke
|
a43ab71d6a
|
Merge pull request #20 from theduke/deserialize-values
Upgrade quickjs + implement object deserializiation
|
2019-08-12 17:14:11 +02:00 |
|
Christoph Herzog
|
7098e1ab7e
|
Formatting...
|
2019-08-12 17:08:45 +02:00 |
|
Christoph Herzog
|
2065a498f6
|
Implement object deserialization to HashMap
|
2019-08-12 16:42:00 +02:00 |
|
Christoph Herzog
|
5288235c9b
|
Add JsValue::into_string helper method
|
2019-08-12 10:44:02 +02:00 |
|
Christoph Herzog
|
df142c859d
|
Update lib to 0.3 in quick-js
* needed to adapt two function calls from u32 to usize
|
2019-08-12 08:54:17 +02:00 |
|
Christoph Herzog
|
ef0e6399ca
|
lib: Bump libquickjs-sys to 0.3.0
|
2019-08-12 08:52:27 +02:00 |
|
Christoph Herzog
|
a89c6fd930
|
lib: Upgrade quickjs to release 2019-08-10
|
2019-08-12 08:52:22 +02:00 |
|
llgoer
|
5f870285c1
|
Update README.md
|
2019-08-06 07:33:08 +02:00 |
|
Alexander Rodin
|
a940b0ba47
|
Add note about runtimes and threads to the docs (#15)
Add note about runtimes and threads
|
2019-08-04 14:42:47 +02:00 |
|
Christoph Herzog
|
675139ee2e
|
0.2.0 release
|
2019-07-31 00:36:48 +02:00 |
|
Christoph Herzog
|
a4632c10d4
|
Fix pointer logic for callbacks.
|
2019-07-31 00:24:13 +02:00 |
|
Christoph Herzog
|
b1cb44adbc
|
Allow more callback function signatures
* allow up to 5 arguments
* allow returning a Result<T, E>: Err(_) is converted to a JS exception
|
2019-07-30 20:46:31 +02:00 |
|
Christoph Herzog
|
00c78c874c
|
docs: Add instructions for updating embedded quickjs
|
2019-07-30 18:25:34 +02:00 |
|
Christoph Herzog
|
8f4907eeb3
|
Document all items and deny missing docs.
|
2019-07-30 18:01:27 +02:00 |
|
Christoph Herzog
|
384b9f1189
|
Future-proof error enums with a __NonExhaustive variant.
|
2019-07-30 17:48:53 +02:00 |
|
Christoph Herzog
|
8155d68122
|
ci: Check formatting and clippy on CI run
|
2019-07-30 17:04:49 +02:00 |
|
Christoph Herzog
|
8b5f37a0d4
|
Fix clippy warnings
|
2019-07-30 17:04:49 +02:00 |
|
Christoph Herzog
|
90e11d7f48
|
Formatting...
|
2019-07-30 17:04:49 +02:00 |
|
Christoph Herzog
|
d3ca743ab1
|
Add Context::reset() that allows clearing all state.
|
2019-07-30 16:42:14 +02:00 |
|
Christoph Herzog
|
9e7ef36b58
|
Add ContextBuilder and allow customizing JS Runtime memory limit
|
2019-07-30 16:27:06 +02:00 |
|
Christoph Herzog
|
e1e67ae077
|
Improve JS runtime exception conversion
|
2019-07-30 16:27:06 +02:00 |
|
Christoph Herzog
|
d5d77f8f27
|
lib: Update embedded quickjs to 2018-07-28
|
2019-07-30 16:27:06 +02:00 |
|
Christoph Herzog
|
778c71e1be
|
ci: Limit CI test runs to 1 thread to show relevant test for SIGABORT etc
This is needed because cargo test will only print out the test
name before execution when limited to one thread.
|
2019-07-30 16:27:06 +02:00 |
|
Christoph Herzog
|
67d43e20ed
|
Add justfile command for updating embedded quickjs
Command will:
* download new quickjs
* generate bindings with bindgen
* remove unneeded files from download
|
2019-07-30 16:27:06 +02:00 |
|
Christoph Herzog
|
31ecb12bab
|
Improve string serialization - use NewStringLen to avoid cstring cast
|
2019-07-30 16:27:06 +02:00 |
|
Christoph Herzog
|
a638222cb8
|
Add a large string serialization test
|
2019-07-30 16:27:06 +02:00 |
|
Christoph Herzog
|
8a8d0b4528
|
Improve code docs.
|
2019-07-22 10:26:11 +02:00 |
|
Christoph Herzog
|
1bd1ed15f6
|
0.1.0 release
|
2019-07-22 10:04:04 +02:00 |
|
theduke
|
132d949cda
|
Update README.md
|
2019-07-22 10:01:42 +02:00 |
|
Christoph Herzog
|
3851a43e85
|
Rename crate to quick-js
|
2019-07-22 09:49:30 +02:00 |
|
Christoph Herzog
|
af0cd2bf7f
|
0.1.0-alpha.4 release with updated QuickJS
|
2019-07-22 09:30:04 +02:00 |
|
Christoph Herzog
|
676e645be8
|
Update quickjs to 2019-07-21 release
|
2019-07-22 09:26:30 +02:00 |
|
theduke
|
05e56d8ee8
|
Update README.md
|
2019-07-19 12:33:56 +02:00 |
|
theduke
|
1264da4f05
|
Update README.md
|
2019-07-19 12:33:33 +02:00 |
|
theduke
|
d238296a6e
|
Update README.md
|
2019-07-18 17:09:42 +02:00 |
|
Christoph Herzog
|
8e608f4ec4
|
Bump version for readme warning
|
2019-07-17 00:17:05 +02:00 |
|
Christoph Herzog
|
015b11affe
|
Add stability warning to README.
|
2019-07-17 00:16:59 +02:00 |
|
Christoph Herzog
|
51d0f28b20
|
Refactor crate names... damn name squatters!
|
2019-07-16 23:47:12 +02:00 |
|
Christoph Herzog
|
370ae5fa84
|
Use circle CI for linux
|
2019-07-16 23:08:01 +02:00 |
|
Christoph Herzog
|
3844d62293
|
Add bundled feature
|
2019-07-16 19:21:16 +02:00 |
|
Christoph Herzog
|
6d397bca93
|
(ci) Switch to Azure Pipelines + enable Mac OS
Set up CI with Azure Pipelines
[skip ci]
|
2019-07-16 18:22:33 +02:00 |
|
Christoph Herzog
|
2b5d63bfb4
|
Fix exception handling (convert objects to string)
|
2019-07-16 16:36:56 +02:00 |
|
Christoph Herzog
|
9de3f94510
|
Fix warnings and add #![deny(warnings)] setting
|
2019-07-16 16:08:13 +02:00 |
|
Christoph Herzog
|
72f4907eb2
|
Add doc tests for Context methods
|
2019-07-16 16:06:23 +02:00 |
|
Christoph Herzog
|
4450c0ac13
|
Add badges to readme
|
2019-07-16 15:48:58 +02:00 |
|
Christoph Herzog
|
8dcaac05ab
|
Readme + Cargo.toml improvements
|
2019-07-16 15:35:04 +02:00 |
|
Christoph Herzog
|
8832e3c10d
|
Added circlecli config
|
2019-07-16 15:34:58 +02:00 |
|
Christoph Herzog
|
00d9c9e9fb
|
Add some more tests
|
2019-07-16 14:40:45 +02:00 |
|
Christoph Herzog
|
8f4b124b00
|
Callbacks: handle panics and propagate any errors to JS as an exception
|
2019-07-16 14:26:04 +02:00 |
|
Christoph Herzog
|
2747928033
|
(sys) Fix library location detection
|
2019-07-16 14:25:49 +02:00 |
|