* feat: Add support for `Date` types
* feat: Add Swift example
* Update Podfile.lock
* Use java.time.Instant
* fix: Fix bugs
* fix: Now it builds
* Update getTests.ts
* fix: Fix `Date.valueOf(..)` not using `this`
* Lint
* Simplify
* fix: Use Double
* Parse Swift Date
* fix: Use `double` now
* Use `margelo.nitro.chrono_time`
* feat: Add `Date` to docs
* ci: Remove pods cache
* Revert "ci: Remove pods cache"
This reverts commit b1c47f4fe0.
* Update Podfile.lock
* Update Podfile.lock
* fix: Fix JInstant methods on Kotlin
They're called differently.
* feat: Improve the tests a bit
* valueOf -> getTime
* fix: Add additional nullptr check to `make_shared_from_jni` function
* fix: Allow move `&&` and forward
* Update JNISharedPtr.hpp
* fix: Add copy ctor
* fix: Avoid `emplace` if there can be duplicates
* Update JNISharedPtr.hpp
* fix: Don't call `release()` on global_ref!
* fix: Use `const &` to keep it lvalue
* Also check `cthis()`
* fix: Fix a case where a `nullptr` `BorrowingReference<T>` could be accessed
* Update HybridObjectPrototype.cpp
* chore: Replace `jsi::Runtime*` with `jsi::Runtime&` in `JSArrayBuffer`
* Update ArrayBuffer.cpp
* feat: Create `Sync<T>`
* Return
* Make it return number
* feat: Add `isSync` check...
* check
* Impl
* feat: Add `JSCallback`
* perf: Store `Dispatcher` in cache if really missed
* I think it builds now
* fix memory
* fix: Use `isAsync`
* Rename
* fix: Impl `callHybridFunction` again
* fix: Avoid forward decl
* Docs
* feat: Cache `regex` in `NitroTypeInfo`
* Update NitroTypeInfo.cpp
* perf: Make `Dispatcher` a `weak_ptr`
* Some formating
* fix: Fix styling in Benchmarks
* feat: Test if callbackSync returns same number
* fix: Fix warning in `toString()`
* Update Sync.ts
* perf: Allow `std::forward<...>`
* feat: Upgrade to react-native 0.78
* Bump target SDK to 35
* fix: Remove if guards for RN 78 version check
* fix: Use proper type to fix build for RN78
* feat: Create View Screen
* feat: Add Views logo
* feat: Actually render the view
* feat: It extends ViewProps
* feat: Style it better
* Blue light :)
* fix: Separate border and shadow
* fix: Set Folly flags
* fix: Fix build for Android by tweaking state getter
* WOOOHOOO IT WORKS ON ANDROID!!!!!!
* background color in android?
* chore: Rename to `isBlue`
* Update ViewScreen.tsx
* fix: `isX` for boolean getters
* fix: Also register view component in J View
* Revert "fix: `isX` for boolean getters"
This reverts commit 1ce5f31e06697f9c1dd0731c5903f0ae9797299b.
* feat: Pass environment to setter names
* fix: Fix stupid kotlin props being prefixed differently
* Update HybridTestView.kt
* feat: Add `beforeUpdate()` and `afterUpdate()` to Android
* indent
* feat: Unmount custom view when navigating away
* perf: Only override `adopt()` on Android
* perf: Make state updater `internal`
* add button to start/stop updating props
* Add infinite mount example
* chore: Rebuild lockfiles
* Update HybridTestViewSpec_cxx.swift
* feat: Upgrade to 78 stable
* lockfiles
* fix: Update RN Screens and Safe Area Context
* fix: Upgrade to RN Screens 4.9.0-beta.0 (for RN 78 support)
* perf: Make `OwningReference`/`BorrowingReference` only allocate a large block once
* fix: Fix usage
* style
* fix: Docs
* perf: Remove mutex locking from reference types entirely!
* feat: Update `memorySize` when a HybridObject makes a round-trip
* feat: Add `NitroModules.updateMemorySize(..)` to imperatively update mem size
* feat: Add test for `NitroModules.updateMemorySize`
* feat: Add some more tests for `NitroModules.*`
* feat: Add even more tests
* fix: Use `jsi::Object`
* fix: use `getObject`
* fix: Register `updateMemorySize()`
* Update HybridNitroModulesProxy.cpp
* feat: Specify RN version in iOS
* Set RN version
* docs
* fix: Adjust scripts and add bootstrap
* fix: Fix react-native path again
* feat: Add `REACT_NATIVE_VERSION` flag to gradle
* fix: Use `tasks.register` to avoid reconfiguration
* fix: Use `project.layout.buildDirectory` instead of `project.buildDir`
* fix: arguments with comma
* fix: Use `buildDir` again
* fix: Pass `YES`
* feat: Add CMake C++ flags now
* fix: Indicate default overridden `HybridObject` constructor
* perf: Make `equals()` a bit faster
* feat: Add `ArrayBuffer::copyBuffer(..)` API
* feat: Add `wrap` API for Kotlin
* feat: Add `ArrayBuffer.copy(data:)`
* perf: Copy Data a bit more effectively
* fix: Rename a bunch of things
* docs: Add creating docs
* feat: Add `ArrayBufferHolder.toData()`
* feat: Add `ArrayBuffer::copy(std::vector&)`
* perf: Change type of `.data` to `uint8_t*` to avoid upcast
* feat: Add `copyIfNeeded` flag
* Update array-buffers.md
* fix: Reject Promise with timeout if it gets destroyed
If a Promise gets destroyed without ever being resolved or rejected, it goes stale.
This PR fixes this and rejects a Promise with a timeout error if it gets destructed and is still pending
* Add promise typename
* Reject swift promise as well
* Update Promise.hpp
* fix: Build
* Update Dispatcher.cpp
* fix: Also reject `JPromise` if it gets destroyed
* feat: Create `PromiseHolder<T>`
* fix: Fix PromiseHolder
* partial fix
* It works now
* fix: Make `_mutex` a value
* Move ctor
* perf: Move functions
* Add back deprecated func
* more explicit