749be29936
added date validation
2022-08-13 18:07:09 +02:00
333283c377
fix more date formats, now passes all tests
2022-08-13 15:02:04 +02:00
ad17c000b6
fix y2k issue
2022-08-13 10:11:06 +02:00
f52e54d69c
2 small fixes
2022-08-13 01:39:24 +02:00
f13cc55ce2
added better date parser
2022-08-13 01:05:39 +02:00
Christoph Herzog
070f20ae17
Prepare -sy 0.10 release
2021-08-09 15:49:37 +02:00
Christoph Herzog
fb569edd84
Update quickjs to 2021-03-27
2021-06-08 21:24:47 +00:00
Christoph Herzog
f32bb7165a
Initial Bindings Refactor
...
This commit cleans up the bindings code and makes it a little more
structured and coherent.
It also removes sum direct usage of C code, or uses newly exported C
functions where appropriate.
The future goal of these changes is to export more functionality to
users and make the Owned* wrappers public.
* Manually export some additional helpers via static-helpers.c
* Rename Owned* types and move them to a subdirectory
* Add more convenience methods on Owned* types
* Add additional Owned wrappers for functions, bytecode, modules
* Move compile utils to bindings
* Move serializiation to subfile
TODO: The serialization code is also in need of a cleanup.
2021-06-08 21:24:47 +00:00
Christoph Herzog
92e68b9145
Bump bindgen/cc versions
2021-02-04 22:00:54 +01:00
Christoph Herzog
7b8412d11c
Bump versions (0.4.0)
2021-02-04 21:57:03 +01:00
Christoph Herzog
4cc491c257
Prepare for new releases
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
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
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
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
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
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
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
Cheng XU
7dc5d352e8
libquickjs-sys: fix handling path on windows
2020-05-27 09:53:46 +02:00
Christoph Herzog
76f772e0b1
Release 0.3.2
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
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
Noah
387b3b53df
Update quickjs to 2020-04-12
2020-05-25 14:14:06 +02:00
Christoph Herzog
ebf71e4653
sys: Hardcode -O2 optimization level
2020-05-25 13:26:53 +02:00
Cheng XU
83cd850782
libquickjs-sys: use cc to build quickjs directly
2020-05-25 13:26:53 +02:00
Noah
1284f7b041
Allow specifying the path to libquickjs.a ( #63 )
...
* Allow specifying the path to libquickjs.a
2020-05-04 10:27:43 +02:00
Cheng XU
d705b7f85f
libquickjs-sys: use cc to determine the proper compiler
...
This allows us to build quickjs for the following targets:
* `x86_64-unknown-linux-musl`
* `x86_64-pc-windows-gnu` (through cross-compilation)
2020-04-13 11:54:10 +02:00
Christoph Herzog
b0b54e73f9
libquickjs-sys v0.5.0 release
2020-03-24 23:20:08 +01:00
Christoph Herzog
86207cc0a0
Finish the quickjs update to 2020-03-16
2020-03-24 22:14:36 +00:00
Rail Khusnutdinov
2973b0e1c8
Update quickjs to 2020-03-16
2020-03-24 22:14:36 +00:00
Mrmaxmeier
0284b12036
fix build for bignum feature
2020-01-28 21:00:26 +01:00
Mrmaxmeier
8b1b6fbd46
Update quickjs to 2020-01-19
2020-01-28 21:00:26 +01:00
Christoph Herzog
306835e393
release: prepare v0.3.0
2019-11-02 23:47:33 +01:00
Christoph Herzog
5578af79a9
Update quickjs to 2019-10-27
2019-11-02 22:59:17 +01:00
Alexander Rodin
308686035b
feat: Arbitrary Precision Integer Support
...
Implement support for the arbitrary precision integers feature of
quickjs.
In Rust, values are represented with the num-bignum::BigInt type.
2019-09-26 18:08:06 +02:00
Christoph Herzog
f65c702428
Update quickjs to 2019-09-18
2019-09-21 14:52:01 +02:00
Christoph Herzog
7f31c267ff
Update quickjs to 2019-09-01 release
2019-09-05 09:20:24 +02:00
Christoph Herzog
f05e738c44
v0.2.1 release
2019-08-13 01:40:29 +02:00