Commit Graph

764 Commits

Author SHA1 Message Date
yokots 5aee7f754e 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-11-05 20:38:18 +08:00
wwwcg fc11e02665 refactor(ios): add delegate method for remote debugging (#4109)
update hippy demo
2024-11-04 16:13:42 +08:00
siguangli 6a67d9cf07 feat(android): add layout module for reset layout cache (#4089)
* feat(android): add layout module for reset layout cache

* fix(android): correct to YogaLayoutNode

---------

Co-authored-by: siguangli <maxli@tencent.com>
2024-11-04 10:51:28 +08:00
maxli 2bc9bd6da6 fix(android): document improvement and update 2024-11-04 10:51:06 +08:00
siguangli 4a3fe34f9b fix(android): image module get size support return bitmap 2024-11-04 10:50:16 +08:00
maxli 82eaecf25b fix(android): recordNativeInitEndTime after initJSBridge 2024-11-04 10:48:05 +08:00
maxli cfc0b59fc4 fix(android): support work reuse with group id 2024-11-04 10:47:40 +08:00
siguangli 1e07b8b7f5 fix(android): use weak reference replace strong (#3975)
Co-authored-by: maxli <maxli@tencent.com>
2024-11-04 10:45:27 +08:00
maxli b43eeb6eeb fix(android): removeRootView params may be null 2024-11-04 10:44:41 +08:00
wwwcg f7b17e1ef0 fix(ios): potential thread race in vfs file module 2024-10-31 11:28:12 +08:00
wwwcg 2d070054d0 fix(ios): delay release engine resource to avoid deadlock (#4090) 2024-10-24 11:15:27 +08:00
wwwcg ca3967f998 fix(ios): websocket module support extra headers (#4069) (#4081) 2024-10-24 11:15:27 +08:00
wwwcg 4fb39809b4 fix(ios): add nil protection when bridge released during loading bundle 2024-10-17 19:27:16 +08:00
wwwcg 4180c45b80 fix(ios): thread race of bundle load op in very small scenarios 2024-10-16 12:09:38 +08:00
wwwcg cb8c33449b fix(ios): add nullptr exception protection in rare scenarios (#4055) 2024-10-11 16:03:42 +08:00
wwwcg a196111b03 fix(ios): nullptr exception of engine resources in rare scenarios (#4046) 2024-09-26 15:42:25 +08:00
wwwcg eae7c73621 fix(ios): type error when conversion of bool value to ctx value (#4045) 2024-09-26 15:42:25 +08:00
wwwcg e0df4b4fbc fix(ios): resolve boolean ctx value conversion issue 2024-09-19 15:27:46 +08:00
wwwcg dee0b454b8 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 15:27:46 +08:00
wwwcg 5088247b32 feat(ios): modular header import support 2024-09-13 22:43:53 +08:00
wwwcg 15b0c83b8a fix(ios): potential thread race while accessing bridge
Refactoring: remove some debug code
2024-09-13 22:43:53 +08:00
wwwcg 7197030328 fix(ios): avoid startup crash when script load error 2024-09-13 22:43:53 +08:00
wwwcg 37902e5396 refactor(ios): rewrite bundle loading process (#4028) 2024-09-13 14:54:20 +08:00
wwwcg 0b6a033a83 fix(ios): resolve sandbox dir issue in debug mode (#4025) 2024-09-13 14:54:20 +08:00
wwwcg e9ce240bbd fix(ios): resolve hot reload issue (#4024)
Use the default network loading timeout
Delete some obsolete demo classes
2024-09-13 14:54:20 +08:00
wwwcg 4c37c16067 fix(ios): resolve jsc_try_catch invalid issue (#4021) 2024-09-13 14:54:20 +08:00
wwwcg 7496c00277 fix(ios): resolve engine reuse issue (#4019)
refactor UIManager and HippyBridge,
remove some redundant UIView's category
2024-09-13 14:54:20 +08:00
wwwcg ec36901c66 build(voltron): resolve voltron build error 2024-09-13 14:54:20 +08:00
wwwcg e490a7a5d9 fix(ios): null pointer exception of bridge setup in rare scenarios 2024-09-13 14:54:20 +08:00
wwwcg be8a66934d refactor(ios): remove unused code in scope and update demo (#4013) 2024-09-13 14:54:20 +08:00
wwwcg dc2dc48a55 chore(ios): update demo and eliminate some warnings 2024-09-13 14:54:20 +08:00
wwwcg 8a7bc1a8f3 fix(ios): resolve conversion error between NSString and CtxValue (#4007)
add unit test for data conversion
2024-09-13 14:54:20 +08:00
wwwcg 9c351ad551 fix(ios): resolve reload not working (#4006)
refactor hippy demo code
2024-09-13 14:54:20 +08:00
wwwcg 877814e936 refactor(ios): remove all context wrapper classes (#3994) 2024-09-13 14:54:20 +08:00
wwwcg f77d766bbc chore(ios): eliminate code warnings 2024-09-13 14:54:20 +08:00
zealotchen 371b38b4ea chore(release): released 3.3.1 2024-08-26 14:53:48 +08:00
wwwcg 3fc7225b46 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-02 15:26:12 +08:00
wwwcg 1083ed3721 fix(ios, android): performance records inaccurate issues 2024-08-02 15:26:12 +08:00
wwwcg 64f94ae284 feat(ios): add app bundle and container path support for hpfile url 2024-08-02 15:26:12 +08:00
wwwcg c5a676ce4f feat(ios,android): add request duration in fetch response header 2024-08-02 15:26:12 +08:00
wwwcg 1d9ed5a93b fix(ios): eliminate all warnings and open treat_warning_as_error 2024-08-02 15:26:12 +08:00
zealotchen 7ca089c03b chore(release): released 3.3.0 2024-06-20 15:26:49 +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