Commit Graph
46 Commits
Author SHA1 Message Date
Marc Rousavy 2bce625f02 fix: Fix dealloc crash by not making it optional 2024-07-17 15:23:05 +02:00
Marc Rousavy eec426e433 feat: Create getHybridPart to move this logic 2024-07-17 13:47:26 +02:00
Marc Rousavy 3c0e96d81c Rename JSContext to HybridContext 2024-07-17 13:32:17 +02:00
Marc Rousavy 8240a03583 feat: Set JS Context in Swift 2024-07-17 13:27:21 +02:00
Marc Rousavy 152d643edd fix: Fix cyclic Swift build 2024-07-17 13:19:37 +02:00
Marc Rousavy ce74f39a64 Try to make it work 2024-07-16 18:53:54 +02:00
Marc Rousavy 7762876fdc Swift part with Swift impl 2024-07-16 18:39:46 +02:00
Marc Rousavy 24b1fde801 Update HybridObject.cpp 2024-07-16 18:35:33 +02:00
Marc Rousavy 19d3e848d5 fix: Make _mutex a unique ptr so it can be accessed from Swift 2024-07-16 18:30:05 +02:00
Marc Rousavy 03d20d8fde it builds 2024-07-16 18:19:01 +02:00
Marc Rousavy 82d66ef8c8 Update Hash.hpp 2024-07-14 02:01:41 +02:00
Marc Rousavy 118614838e feat: Move Hash.hpp into core codebase 2024-07-14 01:51:43 +02:00
Marc Rousavy 295600ecd8 Comment 2024-07-14 00:52:03 +02:00
Marc Rousavy d3f6b042ea Update ArrayBuffer.hpp 2024-07-14 00:51:31 +02:00
Marc Rousavy 44608b8448 feat: Add ArrayBuffer support 2024-07-14 00:49:53 +02:00
Marc Rousavy 9c7bf31287 chore: Remove EnumMapper as it is now statically generated (nitrogen) 2024-07-14 00:04:57 +02:00
Marc Rousavy 66ef4ad304 docs 2024-07-13 12:44:02 +02:00
Marc Rousavy 4d266e5837 Update HybridObject.cpp 2024-07-13 12:29:15 +02:00
Marc Rousavy a3988c7c08 Update HybridObject.cpp 2024-07-13 12:28:02 +02:00
Marc RousavyandGitHub ba5d17e824 fix: Fix destructor never deleting weak ref due to < 0 2024-07-07 20:30:02 +02:00
Marc RousavyandGitHub bb67b6a556 fix: Fix ref counting being smaller than 0 2024-07-07 20:29:16 +02:00
Marc Rousavy bd630ddc36 Bridge to test swift object 2024-06-23 16:19:30 +02:00
Marc Rousavy d0e7cfe41b Run tests in App 2024-06-23 12:46:24 +02:00
Marc Rousavy a6b69b309a perf: Speed up Dispatcher get calls 2024-06-23 12:27:04 +02:00
Marc Rousavy f4ad20865c Test errors 2024-06-23 12:19:05 +02:00
Marc Rousavy 5a302b2f93 Implement install() for Runtime dispatcher 2024-06-23 12:12:43 +02:00
Marc Rousavy 0cc2321ae1 Use as instead of get 2024-06-23 12:08:08 +02:00
Marc Rousavy 3d932dbb06 Add func name 2024-06-23 12:07:58 +02:00
Marc Rousavy f1c7038227 Woohoooooo!!! 2024-06-23 11:46:32 +02:00
Marc Rousavy 9dd0cd1ea5 fix 2024-06-23 11:32:01 +02:00
Marc Rousavy 6b68537fd5 Create Borrowing/Owning reference types 2024-06-23 11:26:33 +02:00
Marc Rousavy 19764548c3 Initialize CxxTurboModule 2024-06-21 13:28:19 +02:00
Marc Rousavy 0d77ac18d0 Set up CxxTurboModule 2024-06-21 13:07:41 +02:00
Marc Rousavy 3c84ea9afd final 2024-06-20 17:14:30 +02:00
Marc Rousavy 492ad57332 Update HybridObject.cpp 2024-06-20 16:42:49 +02:00
Marc Rousavy 198b894fe8 Make FunctionCache robust now 2024-06-20 16:40:06 +02:00
Marc Rousavy 166feb425f Create test object 2024-06-20 16:32:05 +02:00
Marc Rousavy 2bc02c0f6f A ton of improvements around jsi::Runtime safe code. 2024-06-20 16:20:13 +02:00
Marc Rousavy 3e89cf8900 It works! 2024-06-20 11:26:04 +02:00
Marc Rousavy 31696d7702 I can import it 2024-06-20 11:17:59 +02:00
Marc Rousavy caf953f552 fix imports 2024-06-20 10:47:50 +02:00
Marc Rousavy 84b995e4eb Rename to .hpp 2024-06-20 10:41:09 +02:00
Marc Rousavy 0da06a7efb perf: Use get (assert) instead of as for faster perf! 2024-06-19 20:01:35 +02:00
Marc Rousavy b7f40384e1 Add Dispatcher 2024-06-19 19:59:03 +02:00
Marc Rousavy ee1b3bd2cb Add core HybridObject infra 2024-06-19 19:57:47 +02:00
Marc Rousavy 81e0014f1e Move to packages 2024-06-19 19:23:05 +02:00