Commit graph

31 commits

Author SHA1 Message Date
31956cfd75
fix: update dateparser patch 2024-03-23 01:32:06 +01:00
a3b3d3bc51
chore: update quickjs to 2024-01-13 2024-03-23 01:21:50 +01:00
df3ec1d417 added quickjs patch for dateparser 2023-02-05 21:31:46 +01:00
95c79348b2 recreate bindings with latest bindgen 2023-02-05 20:29:03 +01:00
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
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
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
Andries Hiemstra
bede50f636 updated quickjs to 2020-11-08 2020-11-26 15:40:15 +01:00
Christoph Herzog
ff6e5a5bc1 sys: Upgrade quickjs to 2020-09-06 release 2020-09-29 15:51:25 +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
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
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
8b1b6fbd46 Update quickjs to 2020-01-19 2020-01-28 21:00:26 +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
Alexander Rodin
fd24e206f2 Add "patched" feature with "stack-overflow-signed.patch"
This commit adds a new "patched" feature to both the
bindings and the main crate.

This feature applies patches to the embedded version that fix up/extend quickjs.

All patches are in libquickjs-sys/embed/patches.
2019-08-13 00:06:25 +02:00
Christoph Herzog
a89c6fd930 lib: Upgrade quickjs to release 2019-08-10 2019-08-12 08:52:22 +02:00
Christoph Herzog
d5d77f8f27 lib: Update embedded quickjs to 2018-07-28 2019-07-30 16:27:06 +02:00
Christoph Herzog
676e645be8 Update quickjs to 2019-07-21 release 2019-07-22 09:26:30 +02:00
Christoph Herzog
51d0f28b20 Refactor crate names... damn name squatters! 2019-07-16 23:47:12 +02:00