Commit Graph

52 Commits

Author SHA1 Message Date
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
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
siguangli 5ef587eff9 fix(android): debugServerHost invalid setting (#3841)
Co-authored-by: siguangli <maxli@tencent.com>
2024-05-07 17:34:39 +08:00
siguangli 14dc634461 fix(android): update react demo bundle (#3825)
Co-authored-by: maxli <maxli@tencent.com>
2024-04-12 15:12:50 +08:00
wwwcg 75fb3f1ce9 chore(ios): fix home page layout and update default demo bundle (#3814) 2024-04-10 11:09:50 +08:00
siguangli 8dad9f2463 feat(android): refactoring WaterfallView (#3809)
* feat(android): refactoring WaterfallView

* fix(vue3): fix vue3 refreshing && vue2 style

* fix(android): fix PullRefreshContainer size for recycler view

* fix(android): add copyright header for ItemLayoutParams

---------

Co-authored-by: maxli <maxli@tencent.com>
Co-authored-by: zealotchen <zealotchen@tencent.com>
2024-04-08 13:03:23 +08:00
maxli b93d175fdf fix(android): should create view if has custom props 2023-10-30 16:59:18 +08:00
maxli 77a949ac43 fix(android): supplementary node snapshot usage examples 2023-08-17 03:08:45 +00:00
maxli d8a0402470 fix(android): should call native renderer destroy 2023-08-10 08:29:49 +00:00
maxli eb81c33af1 fix(android): call bridge destroy after destroy driver 2023-08-08 13:01:56 +00:00
iPel e85ecfc84f docs(android): update doc and example for BackAndroid (#3325)
Co-authored-by: OpenHippy <124017524+open-hippy@users.noreply.github.com>
2023-06-29 00:46:55 +08:00
iPel faf509026b fix(android,doc): fix turbo object reference and update doc, example 2023-06-28 11:57:06 +08:00
maxli 6598c8b472 fix(android): add tips for new demo 2023-06-20 15:17:13 +08:00
iPel e4266c07d5 fix(android): flattened node not response gesture and not update 2023-06-09 07:26:51 +00:00
maxli bce9b99a87 fix(android): support add view with z index 2023-06-05 09:58:21 +00:00
maxli b914cb843b fix(android): revert jks to old demo version 2023-05-22 20:58:07 +08:00
maxli 486e541782 fix(android): support new demo debug mode 2023-05-17 18:38:44 +08:00
siguangli fd118636ac feat(android): add new example project (#3229)
* feat(android): add new example project

* feat(android): new example support muti window

* feat(android): impl entry of snapshot

* feat(android): add engine destroy impl

* feat(android): add new example project

* feat(android): new example support muti window

* feat(android): impl entry of snapshot

* feat(android): add engine destroy impl

* feat(android): support PageConfiguration orientation change

* feat(android): replace old example

* fix(android): add uses-permission

* fix(android): delete old demo dir

---------

Co-authored-by: maxli <maxli@tencent.com>
2023-05-16 08:20:06 +00:00
maxli 64f9710838 fix(android): add image holder redf count 2023-05-16 06:35:52 +00:00
zealotchen e269b7eac2 chore(build): add react/vue2/vue3 js bundle path 2023-05-15 07:48:16 +00:00
maxli 1c9eec24f1 fix(android): call load module in bridge thread 2023-04-28 10:31:03 +00:00
etkmao 5312eb0c91 fix(renderer): update binary tdfcore and compile fix 2023-04-24 04:51:09 +00:00
shermanchen 4fef150eb5 refactor(example): rebuild examples 2023-03-21 22:51:35 +08:00
churchill-zhang 0df056b08f feat(driver): refactor napi and jsi (#3033)
* refactor(driver): refactor napi and jsi

* feat(demo): reset @hippy/react dependencies
2023-03-15 19:30:39 +08:00
maxli f2cf27ebec fix(android): add License header for MyCustomViewController 2023-03-03 08:03:35 +00:00
maxli 94e2a407e6 feat(android): support dispatch function to custom controller 2023-03-03 08:03:35 +00:00
maxli 1a26c563be feat(android): remove ControllerProvider 2023-02-28 11:38:01 +00:00
canlu c973443f57 feat(connector): add tdf renderer connector (#2842)
* feat(connector): add tdf renderer connector

* feat(connector): remove renderer-support module

* feat(connector): add missed copyright

* feat(android): adapt to connector&embed design & fix build error

* feat(connector): remove renderer/support dir

* feat(connector): add tdf renderer connector

* feat(connector): remove renderer-support module

* feat(android): adapt to connector&embed design & fix build error

* feat(connector): remove renderer/support dir

* feat(connector): remove dependencies module from connector-support

* feat(connector): fix codestyle & add licenses & add class cast check

* feat(connector): fix connector/tdf build.gradle error

* feat(connector): add missing copyright & fix codestyle

* feat(connector): add missing namespace & optimize strong references

* feat(connector): add missing namespace

---------

Co-authored-by: vimerzhao <vimerzhao@tencent.com>
Co-authored-by: Super Zheng <medns@126.com>
Co-authored-by: OpenHippy <124017524+open-hippy@users.noreply.github.com>
2023-02-10 08:27:09 +00:00
wwwcg 60f71e9459 feat(android,ios,js): add getBoundingClientRect api (#2914)
* feat(android): add `getBoundingClientRect` api

* feat(ios): add `getBoundingClientRect` api

* feat(react,vue): add getBoundingClientRect api

* docs(homepage): add getBoundingClient api docs

* fix(android): use ArrayUtils, MapUtils access params

* fix(android): modify pair alloc time

---------

Co-authored-by: iPel <pel20121221@gmail.com>
Co-authored-by: shermanchen <shermanchen@tencent.com>
Co-authored-by: OpenHippy <124017524+open-hippy@users.noreply.github.com>
2023-02-10 03:09:51 +00:00
siguangli dae789fb96 feat(publish): use fat-aar-android to build aar (#2813)
* feat(publish): use fat-aar-android to build aar

* feat(publish): add include connector in gradle properties

* feat(publish): support set local project path in gradle properties

* fix(publish): add header License for sub-module-deps.gradle

* fix(publish): remove sub-module-deps.gradle

* fix(publish): use path isAbsolute()

Co-authored-by: maxli <maxli@tencent.com>
Co-authored-by: Zoom Chan <zoom_chan@163.com>
2023-01-10 02:49:47 +00:00
maxli 52ac5ecfa8 fix(example): add copyright header 2022-12-13 18:56:48 +08:00
maxli 301f720f14 feat(vfs): text image span request to vfs 2022-12-13 18:56:48 +08:00
maxli 96a651a7e0 fix(connector): adjust copyright header 2022-12-07 17:03:05 +08:00
maxli cef136d83d fix(connector): adjust destroy order 2022-12-07 17:03:05 +08:00
maxli 73e199c16a fix(connector): develop mode reload crash 2022-12-07 17:03:05 +08:00
maxli a1949484d6 refactor(connector): destroy bridge after destroy instance 2022-12-07 17:03:05 +08:00
maxli 32a4843f42 feat(connector): remove link_supplier
(cherry picked from commit d334fdd95a23e09f2b9851f46ece94409a852faf)
2022-12-01 17:46:27 +08:00
maxli 141a8b472a feat(connector): add connector support
(cherry picked from commit 15f2266796f4af29f736de9e77fca8a89d64d323)
2022-12-01 17:46:27 +08:00
maxli 82524c9eac feat(connector): add dom jsdriver renderer connector
(cherry picked from commit 3346e2512c991e9e8d2fbcce0a0b5fbce895ba2a)
2022-12-01 17:46:27 +08:00
wufan a8ed2b8f93 feat(devtoos): add devtools-integration (#2688)
* feat(devtools): add devtools-integration module

* feat(devtools): add devtools-integration enable_inspector

* feat(devtools): add ios change for devtools-integration

* feat(devtools): add voltron for devtools-integration

* feat(devtools): update ios project name

* feat(devtools): remove unuse files for android

* feat(devtools): move ios-devtools to devtools-integration

* fix(ios): fix conflict
2022-11-24 10:06:14 +00:00
maxli 3a8bb54fd8 feat(android): update AGP to 7.3.1 2022-11-21 14:42:18 +08:00
maxli 2d5bc3e72f feat(android): vfs support sync http 2022-10-27 16:10:59 +08:00
churchill-zhang 8fa613d87a feat(vfs): add vfs module
Co-authored-by: luomy <ozonelmy@163.com>
2022-10-17 10:43:10 +08:00
maxli 30897130f6 refactor(android): update gradle to 7.3.0 2022-09-26 21:42:58 +08:00
maxli 0b1482be23 fix(android): add copyright header for MyActivity 2022-09-21 11:43:47 +08:00
maxli 3a71ca6f76 feat(android): print log with log level 2022-09-21 11:43:47 +08:00
赵裕 065c26d267 feat(renderer): TDF render init commit (#2224)
Co-authored-by: vimerzhao <vimerzhao@tencent.com>
Co-authored-by: tangyun <wangtangyun@gmail.com>
Co-authored-by: etkmao <etkmao@tecent.com>
Co-authored-by: Super Zheng <superzheng@tencent.com>
2022-09-16 16:03:54 +08:00
zoomchan-cxj 53919fa97f feat(vue): perf first screen attributes node update 2022-09-14 10:43:06 +08:00
shermanchen f1fbbf198b feat(react,vue): perf print log logic & remove event attribute in props 2022-09-02 17:11:41 +08:00