Commit Graph

754 Commits

Author SHA1 Message Date
maxli 4a1db38943 fix(android): recordNativeInitEndTime after bridge initialized 2024-10-07 22:47:55 +08:00
yokots 62102ab1e8 feat(vue-next): minify webpack bundle size (#3983)
* chore(drive/js): bump up ttypescript version

Current ttypescript version not support node v16.20.2, the latest v16 version.
It will cause this issue: https://github.com/cevek/ttypescript/issues/150

* fix(hipp-vue-next): correct patchProps types

align patchProps types with vue runtime core, but
there also have some spec tests to fix

* refactor(vue-next): minify generated style code

just like fromSsrAstNodes, optimize the output in hippy-vue-css-loader,
and make hippy-vue-next-style-parser to compatible with old and new format.

* build(example-scripts): remove webpack.NamedModulesPlugin

webpack.NamedModulesPlugin was deprecated in v4 and removed in v5.
these plugin are default in devlopment mode and should not be configured in production mode,
because it will expose file path and increase bundle sizes.

https://v4.webpack.js.org/migrate/4/#deprecatedremoved-plugins

* chore(examples): update vue3 assets

---------

Co-authored-by: zealotchen <92966734+zealotchen0@users.noreply.github.com>
2024-09-29 19:38:43 +08:00
maxli 213d26aa15 fix(android): support work reuse with group id 2024-09-29 15:35:54 +08:00
wwwcg 80c5b5d619 fix(ios): nullptr exception of engine resources in rare scenarios (#4046) 2024-09-24 11:33:20 +08:00
wwwcg be6ae6bcaf fix(ios): type error when conversion of bool value to ctx value (#4045) 2024-09-20 20:35:48 +08:00
wwwcg de870a2f73 fix(ios): resolve boolean ctx value conversion issue 2024-09-19 15:28:52 +08:00
wwwcg aaebcc56eb fix(ios): resolve compatibility issue when using ResponseSenderBlock (#4040)
The problem occurs only in UI components,
Methods in modules are not affected.
2024-09-19 11:27:36 +08:00
wwwcg 13163c67c0 feat(ios): modular header import support 2024-09-18 15:50:17 +08:00
wwwcg 8902f7676e fix(ios): potential thread race while accessing bridge
Refactoring: remove some debug code
2024-09-18 15:50:17 +08:00
wwwcg 753946d624 fix(ios): avoid startup crash when script load error 2024-09-18 15:50:17 +08:00
wwwcg c2927bb15b refactor(ios): rewrite bundle loading process (#4028) 2024-09-12 20:59:41 +08:00
wwwcg 7ec9c240d5 fix(ios): resolve sandbox dir issue in debug mode (#4025) 2024-09-11 19:12:30 +08:00
wwwcg 806786ba3a fix(ios): resolve hot reload issue (#4024)
Use the default network loading timeout
Delete some obsolete demo classes
2024-09-11 17:40:32 +08:00
wwwcg c9ddbc1e23 fix(ios): resolve jsc_try_catch invalid issue (#4021) 2024-09-10 16:44:05 +08:00
wwwcg 09072062d3 fix(ios): resolve engine reuse issue (#4019)
refactor UIManager and HippyBridge,
remove some redundant UIView's category
2024-09-05 19:41:19 +08:00
wwwcg 99de753231 build(voltron): resolve voltron build error 2024-09-04 21:43:55 +08:00
wwwcg 95ee14f7b6 fix(ios): null pointer exception of bridge setup in rare scenarios 2024-09-04 19:15:39 +08:00
wwwcg 05b0ba18dd refactor(ios): remove unused code in scope and update demo (#4013) 2024-09-03 11:06:05 +08:00
wwwcg 48f746dca8 chore(ios): update demo and eliminate some warnings 2024-08-28 19:39:13 +08:00
wwwcg 4ce199fc1d fix(ios): resolve conversion error between NSString and CtxValue (#4007)
add unit test for data conversion
2024-08-28 16:51:22 +08:00
wwwcg d27e8abe00 fix(ios): resolve reload not working (#4006)
refactor hippy demo code
2024-08-28 15:39:56 +08:00
wwwcg b95df1bfea refactor(ios): remove all context wrapper classes (#3994) 2024-08-15 17:45:38 +08:00
wwwcg 221358d48b chore(ios): eliminate code warnings 2024-08-05 17:24:51 +08:00
wwwcg 5e6823a0ba fix(ios): add exception handle process for jsc (#3976)
* fix(ios): add exception handle process for jsc

* chore(ios): remove unnecessary exception check log
2024-08-01 21:56:10 +08:00
siguangli fc8fd5d134 fix(android): use weak reference replace strong (#3975)
Co-authored-by: maxli <maxli@tencent.com>
2024-08-01 10:25:27 +08:00
lvfen fa4120aa0e fix(voltron): fix voltron http request dio null error (#3962)
* fix(voltron): resolve remoteServerUrl parse version id failed

* fix(voltron): add license for flutter_render_test.dart

* fix(voltron): remoteServerUrl connect without path

* fix(voltron): remoteServerUrl connect without path

* fix(voltron): remoteServerUrl connect without path

* fix(voltron): fix voltron http request dio null error

* fix(voltron): fix voltron http request dio null error

---------

Co-authored-by: OpenHippy <124017524+open-hippy@users.noreply.github.com>
2024-07-24 16:44:44 +08:00
maxli f4f039d44b fix(android): removeRootView params may be null 2024-07-22 22:17:00 +08:00
wwwcg 390c338eb6 fix(ios, android): performance records inaccurate issues 2024-07-22 11:35:51 +08:00
wwwcg 12e0ce0c11 feat(ios): add app bundle and container path support for hpfile url 2024-07-12 15:48:47 +08:00
wwwcg 58622901db feat(ios,android): add request duration in fetch response header 2024-07-12 15:44:42 +08:00
wwwcg a7dcbdbb13 fix(ios): eliminate all warnings and open treat_warning_as_error 2024-07-08 14:37:45 +08:00
wwwcg 59c0232990 chore(ios): add PrivacyInfo config for iOS 2024-06-25 21:47:50 +08:00
wwwcg 8065ebf3a6 chore(ios): resolve podspec issues
remove use_frameworks env variable
2024-06-20 11:29:44 +08:00
wwwcg a63ddf3f3a fix(ios): performance api of FP not working 2024-06-19 11:35:33 +08:00
wwwcg 201807b967 fix(ios): potential thread race in HippyJSExecutor 2024-06-18 17:00:46 +08:00
wwwcg 22df117146 refactor(ios): add gesture event delegate for hippyBridge
useful for external data reporting of hippy gesture events
2024-06-18 16:35:48 +08:00
siguangli fc6d506408 fix(android): remove onSystemUiVisibilityChange listener (#3913)
Co-authored-by: siguangli <maxli@tencent.com>
2024-06-17 21:20:10 +08:00
wwwcg e8047bbe09 refactor(ios): clean and refactor the HippyBridge's code 2024-06-13 20:51:03 +08:00
wwwcg 76ca98f3dc fix(ios): dangling pointer in HippyBridge when unload after invalidate 2024-06-13 20:51:03 +08:00
wwwcg 2055bd229f refactor(ios): add method call parameter matching protection 2 2024-06-13 20:51:03 +08:00
wwwcg 7dbd2a3e0a refactor(ios): add method call parameter matching protection
To prevent wild pointer problem caused by the number of parameters
passed by the front end being smaller than the actual parameters
2024-06-13 20:51:03 +08:00
徐浩哲 8ef98824ad fix(android): resolve local ref overflow 2024-06-13 11:41:14 +00:00
etkmao 1537ba887e fix(perf): fix OnResourceLoadEnd crash (#3895) 2024-06-12 12:16:44 +08:00
etkmao a6d3da3321 Bugfix/anim state crash (#3891)
* fix(perf): animation state not crash on release version

* fix(core): crash protect when onInstanceDestroy is invoked 2 timers

* fix(core): animation state not crash on release version
2024-06-11 16:21:57 +08:00
siguangli f1f6b82746 Feat/screen snapshot (#3884)
* fix(android): use screen density for dp to px

* feat(android): support get screenshot bitmap from hippy engine

---------

Co-authored-by: siguangli <maxli@tencent.com>
2024-06-11 15:10:27 +08:00
etkmao 948927c098 fix(perf): fix OnResourceLoadEnd crash (#3888) 2024-06-11 14:51:28 +08:00
wwwcg 1735774bdd fix(ios): resolve null pointer crash when loadBundleURL 2024-06-07 17:30:54 +08:00
zealotchen 60fd4eb13e fix(devtool): fix muli devtool instance crash on android (#3862)
* fix(devtool): fix muli devtool instance crash on android

* fix(devtool): modify some comment
2024-05-20 10:52:27 +08:00
wwwcg a1d5220b94 refactor(ios): non-standard url support of bundle loading 2024-05-17 17:16:35 +08:00
wwwcg b95869e084 build(ios): remove xcodegen usage due to test support issues 2024-05-17 11:12:29 +08:00