Skip to content

Conversation

@andycall
Copy link
Member

We should share the HttpClient instance between multiple WebF pages and keep the existing connection alive to avoid establishing a new TCP connection with the same URL every time.

@yifei8 yifei8 added this pull request to the merge queue Mar 21, 2023
@yifei8 yifei8 merged commit 9b78c85 into main Mar 21, 2023
andycall added a commit that referenced this pull request 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>
Co-authored-by: jiangzhou <[email protected]>
Co-authored-by: Eros Zhao <[email protected]>
Co-authored-by: eroszhao <[email protected]>
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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>
Co-authored-by: jiangzhou <[email protected]>
Co-authored-by: Eros Zhao <[email protected]>
Co-authored-by: eroszhao <[email protected]>
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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>

* 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 <[email protected]>
Co-authored-by: jiangzhou <[email protected]>
Co-authored-by: Eros Zhao <[email protected]>
Co-authored-by: eroszhao <[email protected]>
looseyi pushed a commit that referenced this pull request Nov 11, 2024
[fix][NEZ][1.91.0]: fix menu offset on jarvis new UI
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.

5 participants