Commit graph

191 commits

Author SHA1 Message Date
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
Christoph Herzog
4d05a9c538 Fix download command in justfile 2019-07-16 12:50:43 +02:00
Christoph Herzog
b2d00fc4ef Add Limitations section to readme. 2019-07-16 11:01:49 +02:00
Christoph Herzog
aebe684edf Cleanup and initial code documenation
* Remove some unused code
* Add method/struct comments
2019-07-16 10:33:15 +02:00
Christoph Herzog
b057edbd9f Add sparse README 2019-07-16 10:03:05 +02:00
Christoph Herzog
49aee8be6a Add eval_as helper. 2019-07-16 10:02:53 +02:00
Christoph Herzog
3ebc1bd4aa Initial commit with working project. 2019-07-16 09:41:39 +02:00
Christoph Herzog
7e2937ef43 Root commit 2019-07-12 13:51:12 +02:00