Skip to content

Conversation

didiergarcia
Copy link
Contributor

@didiergarcia didiergarcia commented Apr 10, 2024

Merging the quickJs changes into substrata to ultimately push all the way up to signals-kotlin.

@didiergarcia didiergarcia merged commit 1d94da9 into main Apr 14, 2024
@didiergarcia didiergarcia deleted the quickjs branch April 14, 2024 20:37
wenxi-zeng added a commit that referenced this pull request Jun 15, 2024
* init optimization

* add json element support

* add JSParamters and JSResult

* segregate conversions

* reorg files

* remove js executor

* safe v8 + unit tests fix

* update export method to be more readable

* update settings.gradle

* Squashed 'quickjs/quickjs/' content from commit 3bb2ca3

git-subtree-dir: quickjs/quickjs
git-subtree-split: 3bb2ca360e994c93e9bf273a685c061d5e0b58f4

* init setup of jni

* draft conversion and memory management

* draft array, object, and function

* finalize Conversions.kt and JSContext.kt

* draft engine

* draft jni

* bug fix

* use delegation on jsobject and jsarray

* add support for json element

* json array bug fix

* add test for json array

* bug fix

* make JSConvertible also Releasable

* memory manager optimization

* add delegation for JSNull and JSUndefined

* implement JSFunction

* remove unnecessary code

* export function

* implement extend

* add console

* fix crash when atom hash returns 0

* clean up

* draft exporting class

* bug fix

* bug fix

* bug fix for JSClass function with parameters

* implement exporting property, replace java reflection with kotlin reflection

* bug fix

* bug fix for prototype instance method

* clean up JSFunctionBody

* memory leak fix

* revert changes made to quickjs.c

* add launch

* clean up

* make exception handler easier to use

* add completion closure to loadBundle

* fix jsCallback always return undefine instead of null for actual null value

* update env

* clean up

* Downgrade Gradle to get ./gradlew publishToSonatype to work

* Bump  version of io.github.gradle-nexus.publish-plugin to 2.0.0

* Adding github workflows for build, release, and snapshot.

* Uncommit the MainActivity.

* Remove unused old imports.

---------

Co-authored-by: Wenxi Zeng <[email protected]>
Co-authored-by: Wenxi Zeng <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants