Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add kbc file type support for script element. #250

Merged
merged 1 commit into from Mar 21, 2023
Merged

Conversation

andycall
Copy link
Member

Add support for loading kbc files from HTML.

<script type="application/vnd.webf.bc1" src="./bundle.kbc1"></script>

@XGHeaven XGHeaven added this pull request to the merge queue Mar 21, 2023
@XGHeaven XGHeaven merged commit d277265 into main Mar 21, 2023
andycall added a commit that referenced this pull request Mar 27, 2023
* fix: fix memory leaks when send and receive string with dart.

* Committing clang-format changes

* fix: fix HTMLImageElement leak. (#291)

* fix: fix HTMLImageElement leak.

* Committing clang-format changes

* fix: fix bugs related to #255

---------

Co-authored-by: openwebf-bot <openwebf@openwebf.com>

* feat: share HttpClient between multiple WebF pages to keep the exist connection alive. (#287)

* feat: recognize pseudo function (#289)

* fix: fix compile.

* Committing clang-format changes

* fix: fix test compile.

* fix: fix crash with module event.

* fix: fix ui command memory leaks.

* refactor: refactor UICommand to support disposeBindingObjects.

* Committing clang-format changes

* fix: remove logs and fix snapshots.

* feat: add Blob.base64() API. (#278)

* feat: add Blob.base64() API.

* Committing clang-format changes

---------

Co-authored-by: openwebf-bot <openwebf@openwebf.com>

* fix: fix change size of canvas element. (#276)

* feat: expand quickjs default prop size and realloc capacity. (#270)

* feat: add context API for widgetElement. (#264)

* feat: add kbc file type support for script element. (#250)

* fix: ic free atom crash for ctx early free (#293)

Co-authored-by: eroszhao <yang@shore.ai>

* feat: add HTMLIframeElement support. (#257)

* fix: fix script execution order with inline script element. (#273)

* fix: fix script execution order with inline script element.

* fix: fix script load phase.

---------

Co-authored-by: jiangzhou <jiangzhoubai@gmail.com>

* chore: decrease when quickjs vm prop size.

* fix: fix memory leaks when send events and methods from dart to c++.

* Committing clang-format changes

* fix: fix can not find binding object when already disposed.

* fix: fix android armv7 compile.

* Committing clang-format changes

* feat: add __memory_usage__() API.

* fix: checks for disposed of binding objects.

* fix: fix unit test.

* Committing clang-format changes

---------

Co-authored-by: openwebf-bot <openwebf@openwebf.com>
Co-authored-by: jiangzhou <jiangzhoubai@gmail.com>
Co-authored-by: Eros Zhao <zyeros1991@gmail.com>
Co-authored-by: eroszhao <yang@shore.ai>
devjiangzhou added a commit that referenced this pull request Mar 29, 2023
* fix: fix memory leaks when send and receive string with dart.

* Committing clang-format changes

* fix: fix HTMLImageElement leak. (#291)

* fix: fix HTMLImageElement leak.

* Committing clang-format changes

* fix: fix bugs related to #255

---------

Co-authored-by: openwebf-bot <openwebf@openwebf.com>

* feat: share HttpClient between multiple WebF pages to keep the exist connection alive. (#287)

* feat: recognize pseudo function (#289)

* fix: fix compile.

* Committing clang-format changes

* fix: fix test compile.

* fix: fix crash with module event.

* fix: fix ui command memory leaks.

* refactor: refactor UICommand to support disposeBindingObjects.

* Committing clang-format changes

* fix: remove logs and fix snapshots.

* feat: add Blob.base64() API. (#278)

* feat: add Blob.base64() API.

* Committing clang-format changes

---------

Co-authored-by: openwebf-bot <openwebf@openwebf.com>

* fix: fix change size of canvas element. (#276)

* feat: expand quickjs default prop size and realloc capacity. (#270)

* feat: add context API for widgetElement. (#264)

* feat: add kbc file type support for script element. (#250)

* fix: ic free atom crash for ctx early free (#293)

Co-authored-by: eroszhao <yang@shore.ai>

* feat: add HTMLIframeElement support. (#257)

* fix: fix script execution order with inline script element. (#273)

* fix: fix script execution order with inline script element.

* fix: fix script load phase.

---------

Co-authored-by: jiangzhou <jiangzhoubai@gmail.com>

* chore: decrease when quickjs vm prop size.

* fix: fix memory leaks when send events and methods from dart to c++.

* Committing clang-format changes

* fix: fix can not find binding object when already disposed.

* fix: fix android armv7 compile.

* Committing clang-format changes

* feat: add __memory_usage__() API.

* fix: checks for disposed of binding objects.

* feat: disable CSS parser error reports.

* fix: fix evict image cache.

* feat: enable image resize by default.

* fix: evict image cache if request fail.

* fix: fix scroll listener cause PictureLayer leaks.

* fix: fix RenderReplace resize size not satisfy constraints.

* fix: fix hit test on unlayout renderImage.

* Committing clang-format changes

* chore: make decode process on the next frame.

* feat: add __memory_usage__() API.

* fix: checks for disposed of binding objects.

* fix: fix unit test.

* Committing clang-format changes

* Committing clang-format changes

* fix: should scheduleFrame to begin image decode.

* chore: improve code style.

* feat: add check for mem leaks.

* refactor: move codes to memory leak detector.

* fix: Fixing memory leaks in style elements that are marked as dirty

---------

Co-authored-by: openwebf-bot <openwebf@openwebf.com>
Co-authored-by: jiangzhou <jiangzhoubai@gmail.com>
Co-authored-by: Eros Zhao <zyeros1991@gmail.com>
Co-authored-by: eroszhao <yang@shore.ai>
andycall added a commit that referenced this pull request Apr 13, 2023
* fix: fix memory leaks when send and receive string with dart.

* Committing clang-format changes

* fix: fix HTMLImageElement leak. (#291)

* fix: fix HTMLImageElement leak.

* Committing clang-format changes

* fix: fix bugs related to #255

---------

Co-authored-by: openwebf-bot <openwebf@openwebf.com>

* feat: share HttpClient between multiple WebF pages to keep the exist connection alive. (#287)

* feat: recognize pseudo function (#289)

* fix: fix compile.

* Committing clang-format changes

* fix: fix test compile.

* fix: fix crash with module event.

* fix: fix ui command memory leaks.

* refactor: refactor UICommand to support disposeBindingObjects.

* Committing clang-format changes

* fix: remove logs and fix snapshots.

* feat: add Blob.base64() API. (#278)

* feat: add Blob.base64() API.

* Committing clang-format changes

---------

Co-authored-by: openwebf-bot <openwebf@openwebf.com>

* fix: fix change size of canvas element. (#276)

* feat: expand quickjs default prop size and realloc capacity. (#270)

* feat: add context API for widgetElement. (#264)

* feat: add kbc file type support for script element. (#250)

* fix: ic free atom crash for ctx early free (#293)

Co-authored-by: eroszhao <yang@shore.ai>

* feat: add HTMLIframeElement support. (#257)

* fix: fix script execution order with inline script element. (#273)

* fix: fix script execution order with inline script element.

* fix: fix script load phase.

---------

Co-authored-by: jiangzhou <jiangzhoubai@gmail.com>

* chore: decrease when quickjs vm prop size.

* fix: fix memory leaks when send events and methods from dart to c++.

* Committing clang-format changes

* fix: fix can not find binding object when already disposed.

* fix: fix android armv7 compile.

* Committing clang-format changes

* feat: add __memory_usage__() API.

* fix: checks for disposed of binding objects.

* feat: disable CSS parser error reports.

* fix: fix evict image cache.

* feat: enable image resize by default.

* fix: evict image cache if request fail.

* fix: fix scroll listener cause PictureLayer leaks.

* fix: fix RenderReplace resize size not satisfy constraints.

* fix: fix hit test on unlayout renderImage.

* Committing clang-format changes

* chore: make decode process on the next frame.

* feat: add __memory_usage__() API.

* fix: checks for disposed of binding objects.

* fix: fix unit test.

* Committing clang-format changes

* Committing clang-format changes

* fix: should scheduleFrame to begin image decode.

* chore: improve code style.

* feat: add check for mem leaks.

* refactor: move codes to memory leak detector.

* fix: Fixing memory leaks in style elements that are marked as dirty

---------

Co-authored-by: openwebf-bot <openwebf@openwebf.com>
Co-authored-by: jiangzhou <jiangzhoubai@gmail.com>
Co-authored-by: Eros Zhao <zyeros1991@gmail.com>
Co-authored-by: eroszhao <yang@shore.ai>
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.

None yet

3 participants