Commit graph

207 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
fb9644c07c fix: clippy lints 2023-02-05 23:38:46 +01:00
a9a6f559d4 disable rstest default features 2023-02-05 23:35:37 +01:00
f6c341e67f fix cargo-release replacements 2023-02-05 23:30:45 +01:00
bc638cb114 add documentation for patch-dateparser feature
[skip ci]
2023-02-05 23:00:18 +01:00
a702c33c57 fix: warnings from deprecated chrono fn 2023-02-05 22:49:49 +01:00
097f416516 update crate description 2023-02-05 22:37:18 +01:00
77e93c66fa update README 2023-02-05 22:34:56 +01:00
ca9956fcf1 rename crates 2023-02-05 22:25:34 +01:00
df3ec1d417 added quickjs patch for dateparser 2023-02-05 21:31:46 +01:00
ddfaae50c2 update dependencies 2023-02-05 20:32:41 +01:00
95c79348b2 recreate bindings with latest bindgen 2023-02-05 20:29:03 +01:00
9f69e8f5b4 format code 2023-02-05 18:34:00 +01:00
972114fae8 upgrade rust edition 2023-02-05 18:25:07 +01:00
fbb192e4b3 fix clippy lints 2023-02-05 18:22:56 +01:00
6eeb0f70b9 fix: cargo warnings 2022-10-03 00:37:26 +02: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
941b3610e7
build: Valgrind: Show error list 2021-08-10 01:08:26 +02:00
Christoph Herzog
ac1c41f5e6
build: Don't deny warnings for now 2021-08-09 19:38:36 +02:00
Christoph Herzog
0dc8675409
build: Test all features with valgrind 2021-08-09 15:51:43 +02:00
Christoph Herzog
070f20ae17
Prepare -sy 0.10 release 2021-08-09 15:49:37 +02:00
Christoph Herzog
a158099b25
fix: Remove unused imports 2021-08-09 15:49:37 +02:00
Christoph Herzog
956cce9e76
build: just valgrind improvements
* Add --gen-suppressions to output surpression codes
* Make sure to cargo clean before running to always run the correct
  executable.
2021-08-09 15:49:34 +02:00
Christoph Herzog
fb569edd84 Update quickjs to 2021-03-27 2021-06-08 21:24:47 +00:00
Christoph Herzog
4a4c2ff04f docs: Update Windows info in crate docs 2021-06-08 21:24:47 +00:00
Christoph Herzog
9980a14770 Preparations for making bytecode compilation public 2021-06-08 21:24:47 +00:00
Christoph Herzog
8ed314de5f Remove dead code, make JsCompiledFunction public 2021-06-08 21:24:47 +00:00
Christoph Herzog
ad8d27e463 Move DroppableValue to bindings
Since it is only used for bindings, it's better located there.
2021-06-08 21:24:47 +00:00
Christoph Herzog
7c675ebb70 Enable chrono feature by default
DafeTime is used a lot, so having it on by default is a better
experience.
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
Andries Hiemstra
05f39f3db6 Implement bytecode compilation. 2021-06-08 21:24:47 +00:00
Christoph Herzog
e6e6fd66d9 Prevent double free on set_property failure 2021-03-25 09:51:17 +00:00
Christoph Herzog
5db7b834eb Allow JsValue arguments in add_callback + dead code cleanup 2021-03-25 09:51:17 +00:00
Christoph Herzog
7fb91e24c4
Fix Cargo.toml... 2021-03-25 09:54:08 +01:00
Christoph Herzog
d04bc9a88e
Changelog for 0.4.1 2021-03-15 15:13:56 +01:00
Christoph Herzog
0f9865358c
(cargo-release) version 0.4.1 2021-03-15 15:13:48 +01:00
Christoph Herzog
58a148a6a8
(cargo-release) start next development iteration 0.4.2-alpha.0 2021-03-15 15:13:22 +01:00
Christoph Herzog
e759be05f7 Fix set_global() use after free. 2021-03-15 14:06:58 +00:00
theduke
05998ab82f
Merge pull request #100 from theduke/jsvalue-tryfrom-vec
Implement TryFrom<JsValue> for Vec<T>
2021-02-18 08:58:52 +00:00
Christoph Herzog
5daf2b2527 Implement TryFrom<JsValue> for Vec<T> 2021-02-18 09:20:54 +01:00
Christoph Herzog
6aa7cba728 (cargo-release) start next development iteration 0.4.1-alpha.0 2021-02-04 22:01:35 +01: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
de0bb12b8f Ignore .vscode 2021-02-04 21:52:25 +01:00
Christoph Herzog
4cc491c257 Prepare for new releases 2021-02-04 21:52:25 +01:00