| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2023-06-28 | fix(test_ffi): thread_safe_callback is flaky (#19640) | Aapo Alasuutari | |
| Attempts to fix the thread_safe_callback flakiness. It's unclear what the flake is about, the exit code is apparently `C0000005` or `ACCESS_VIOLATION`, pointing to an issue with memory access. My only guess is that maybe dropping the `Option<extern "C" fn ()>` is somehow checking the validity of the function pointer and since the function has been dropped, the pointer is no longer valid and sometimes points to memory that should not be accessed. So now the will explicitly drop the functions before they get deallocated. If this doesn't fix the flake then something beyond my understanding is wrong. | |||
| 2023-02-22 | fix(ext/ffi): Fix re-ref'ing UnsafeCallback (#17704) | Aapo Alasuutari | |
| 2023-02-22 | feat(ext/ffi): Replace pointer integers with v8::External objects (#16889) | Aapo Alasuutari | |
| 2023-01-27 | chore: upgrade to Rust 1.67 (#17548) | David Sherret | |
| Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
| 2023-01-08 | feat(ext/ffi): structs by value (#15060) | Dj | |
| Adds support for passing and returning structs as buffers to FFI. This does not implement fastapi support for structs. Needed for certain system APIs such as AppKit on macOS. | |||
| 2023-01-02 | chore: update copyright year to 2023 (#17247) | David Sherret | |
| Yearly tradition of creating extra noise in git. | |||
| 2022-10-20 | feat(ext/ffi): Make op_ffi_ptr_of fast (#16297) | Aapo Alasuutari | |
| Makes `op_ffi_ptr_of` fast. One of the tests changed from printing `false` to `true` as the fast `&[u8]` slice path creates the slice with a null pointer. Thus the `op_ffi_ptr_of` will now return a null pointer value whereas previously it returned a dangling pointer value. | |||
| 2022-09-07 | feat(ext/ffi): Implement FFI fast-call trampoline with Dynasmrt (#15305) | Arnau Orriols | |
| 2022-09-05 | feat(ext/ffi): Support bool FFI type (#15754) | Aapo Alasuutari | |
| 2022-07-24 | feat(ext/ffi): Safe number pointers (#15173) | Aapo Alasuutari | |
| 2022-07-23 | feat(ext/ffi): Add support to get ArrayBuffers from UnsafePointerView (#15143) | Aapo Alasuutari | |
| 2022-07-12 | feat(ext/ffi): Support 64 bit parameters in Fast API calls (#15140) | Aapo Alasuutari | |
| Co-authored-by: Divy Srivastava <dj.srivastava23@gmail.com> | |||
| 2022-07-12 | fix(ext/ffi): trampoline for fast calls (#15139) | Divy Srivastava | |
| 2022-07-09 | fix(ext/ffi): Avoid keeping JsRuntimeState RefCell borrowed for event loop ↵ | Aapo Alasuutari | |
| middleware calls (#15116) | |||
| 2022-06-29 | fix(ext/ffi): Empty buffers error with index out of bounds on FFI (#14997) | Aapo Alasuutari | |
| 2022-06-28 | feat(ext/ffi): Thread safe callbacks (#14942) | Aapo Alasuutari | |
| 2022-06-21 | perf(ext/ffi): Optimize FFI Rust side type checks (#14923) | Aapo Alasuutari | |
| 2022-06-20 | feat(ext/ffi): Callbacks (#14663) | Aapo Alasuutari | |
| This commit adds support for unstable FFI callbacks. A callback is registered using the `Deno.UnsafeCallback` API. The backing memory for the callback can be disposed of using `Deno.UnsafeCallback#close`. It is not safe to pass the callback after calling close. Callbacks from other than the isolate thread are not supported. Co-authored-by: Divy Srivastava <dj.srivastava23@gmail.com> Co-authored-by: Bert Belder <bertbelder@gmail.com> | |||
| 2022-06-08 | feat(ext/ffi): support passing and returning bigints (#14523) | Elias Sjögreen | |
| 2022-02-18 | feat(ext/ffi): Support read only global statics (#13662) | Aapo Alasuutari | |
| 2022-01-12 | feat(ext/ffi): UnsafeFnPointer API (#13340) | DjDeveloper | |
| 2022-01-11 | feat(ext/ffi): support alias names for symbol definitions (#13090) | DjDeveloper | |
| 2022-01-10 | feat(ext/ffi): infer symbol types (#13221) | Divy Srivastava | |
| Co-authored-by: sinclairzx81 <sinclairzx81@users.noreply.github.com> | |||
| 2022-01-07 | chore: update copyright to 2022 (#13306) | Ryan Dahl | |
| Co-authored-by: Erfan Safari <erfanshield@outlook.com> | |||
| 2022-01-05 | fix(ext/ffi): throw errors instead of panic (#13283) | DjDeveloper | |
| 2021-12-15 | feat(ext/ffi): implement UnsafePointer and UnsafePointerView (#12828) | Elias Sjögreen | |
| 2021-10-10 | test(ext/ffi): add test for multiple buffers (#12373) | Bartek Iwańczuk | |
| 2021-10-07 | fix(ext/ffi): don't panic in dlopen (#12344) | Divy Srivastava | |
| 2021-10-06 | feat(ext/ffi): add support for buffer arguments (#12335) | Bartek Iwańczuk | |
| This commit adds support for passing buffer arguments across FFI boundary. Co-authored-by: eliassjogreen <eliassjogreen1@gmail.com> Co-authored-by: Bert Belder <bertbelder@gmail.com> | |||
| 2021-10-05 | feat(ext/ffi): Non-blocking FFI (#12274) | Divy Srivastava | |
| 2021-09-20 | test(ext/ffi): add tests for different parameter and return types (#12158) | Elias Sjögreen | |
| 2021-08-06 | feat: ffi to replace plugins (#11152) | Elias Sjögreen | |
| This commit removes implementation of "native plugins" and replaces it with FFI API. Effectively "Deno.openPlugin" API was replaced with "Deno.dlopen" API. | |||
