Commit graph

207 commits

Author SHA1 Message Date
Christoph Herzog
7182a89f38 add Context::set_global 2021-02-04 21:52:25 +01:00
Christoph Herzog
9fa5f9798a Stop canonicalizing paths in build.rs.
Fixes windows builds.
2021-02-04 21:52:25 +01:00
Cheng XU
4080a6f5b0 fix github action 2021-02-04 21:52:25 +01:00
Christoph Herzog
ff3c3521be Move tests to dedicated file 2021-02-04 21:13:34 +01:00
Christoph Herzog
d9807329af Re-enable valgrind on CI 2021-02-04 20:49:17 +01:00
Christoph Herzog
2e37802653 Fix docs warnings 2021-02-04 20:49:01 +01:00
Christoph Herzog
03998e454c Fix up static wrapper logic
Compile with proper flags.

Also: do not generate for system builds.
2021-02-04 20:36:50 +01:00
Christoph Herzog
66210df6d6 Fix just valgrind command 2021-02-04 20:23:19 +01:00
Christoph Herzog
aca955fe3d Handle int values in Date deserialization 2021-02-04 20:05:40 +01:00
Christoph Herzog
eb28ee5826 Re-generate bindings 2021-02-04 20:05:18 +01:00
Christoph Herzog
c3e33951f5 Fix quickjs update instructions 2021-02-04 19:13:30 +01:00
Andries Hiemstra
bede50f636 updated quickjs to 2020-11-08 2020-11-26 15:40:15 +01:00
Andries Hiemstra
d93ef40eb4 added most static inline functions and moved to new file 2020-11-26 10:16:45 +01:00
Ivan Pavluk
0c3eff9024 cargo fmt 2020-11-26 10:16:13 +01:00
Ivan Pavluk
f9eb75785c Add JsValue::Undefined 2020-11-26 10:16:13 +01:00
Ivan Pavluk
93d0a2214a Hide possible build warnings on C side 2020-11-26 10:16:13 +01:00
Andries Hiemstra
dad76a5896 clippy fixes 2 2020-11-07 23:12:19 +01:00
Andries Hiemstra
8d524ff371 clippy fixes 2020-11-07 23:12:19 +01:00
Andries Hiemstra
8e7d1846b0 added static inline functions to lib
JS_DupValue, JS_FreeValue, JS_NewInt32, JS_NewBool and JS_NewFloat64
2020-11-07 23:12:19 +01:00
Christoph Herzog
fa35e3984d (cargo-release) start next development iteration 0.3.7-alpha.0 2020-09-29 16:00:46 +02:00
Christoph Herzog
fa75f7e71e (cargo-release) version 0.3.6 2020-09-29 16:00:46 +02:00
Christoph Herzog
5f2e0c622e (cargo-release) version 0.8.0 2020-09-29 16:00:46 +02:00
Christoph Herzog
ca97d98407 Bump libquickjs-sys version requirements 2020-09-29 16:00:46 +02:00
Christoph Herzog
ff6e5a5bc1 sys: Upgrade quickjs to 2020-09-06 release 2020-09-29 15:51:25 +02:00
Christoph Herzog
6979b7805f (cargo-release) start next development iteration 0.3.5-alpha.0 2020-07-09 02:01:12 +02:00
Christoph Herzog
935e4be166 (cargo-release) version 0.3.4 2020-07-09 02:00:35 +02:00
Christoph Herzog
f9e86f05c0 Fix old version in Cargo.toml 2020-07-09 02:00:28 +02:00
Christoph Herzog
752df5500e (cargo-release) version 0.7.0 2020-07-09 01:56:23 +02:00
Christoph Herzog
92a56d5c96 Prepare releasing libquickjs-sys 0.7 and quickjs-0.3.4 2020-07-09 01:51:17 +02:00
Christoph Herzog
b504ce73a5 Add shell.nix for Nix OS development 2020-07-09 01:50:41 +02:00
Christoph Herzog
961b14414c Finish updating quickjs to 2020-07-05 2020-07-09 01:41:31 +02:00
Graham Abbott
49626b4128 upgrade quickjs lib to latest 2020-07-05 2020-07-09 01:41:31 +02:00
Christoph Herzog
f49a1a49bf Also add cargo-release config for sys crate 2020-05-27 10:14:54 +02:00
Christoph Herzog
3304c3ed4e (cargo-release) start next development iteration 0.3.4-alpha.0 2020-05-27 10:12:20 +02:00
Christoph Herzog
c0c1098c77 (cargo-release) version 0.3.3 2020-05-27 10:11:46 +02:00
Christoph Herzog
7f576b9516 Added shell.nix file for NixOS 2020-05-27 10:11:20 +02:00
Christoph Herzog
b34e01806f Prepare v0.3.3 release 2020-05-27 10:06:31 +02:00
Christoph Herzog
b3010d0e77 Add cargo-release config 2020-05-27 10:06:27 +02:00
Christoph Herzog
457d892ce9 Update README with windows build instructions 2020-05-27 09:53:46 +02:00
Christoph Herzog
96898df6d4 ci: rustfmt/clippy are not needed on Windows 2020-05-27 09:53:46 +02:00
Cheng XU
c8681ba45a ci: test win 2020-05-27 09:53:46 +02:00
Cheng XU
7dc5d352e8 libquickjs-sys: fix handling path on windows 2020-05-27 09:53:46 +02:00
Christoph Herzog
ad4660f6b0 Format + fix warning in examples 2020-05-25 17:00:08 +02:00
error.d
51162d2ef4 add examples, easy to verify and learn 2020-05-25 16:58:50 +02:00
Christoph Herzog
76f772e0b1 Release 0.3.2 2020-05-25 16:45:53 +02:00
Christoph Herzog
13a6ae5fee Improve CI job setup 2020-05-25 16:45:53 +02:00
Christoph Herzog
6c144258b6 sys: Ignore some more warnings during native compilation 2020-05-25 14:40:36 +02:00
Christoph Herzog
96220c78d1 Add size cast that seems to be needed on some linux variants 2020-05-25 14:14:06 +02:00
Christoph Herzog
f01400a552 sys: Don't build quickjs-libc.c 2020-05-25 14:14:06 +02:00
Noah
81708528f8 Update stack overflow patch 2020-05-25 14:14:06 +02:00