Commit Graph

569 Commits

Author SHA1 Message Date
pengfei.zhou
6efd008841 android: fix when reuse image'drawable may cause crash in some devices 2022-06-06 11:12:15 +08:00
pengfei.zhou
34b759bb82 feat: expose plugin and viewNode outsize registry 2022-06-02 20:02:01 +08:00
pengfei.zhou
19a8aaae94 android: expose doric's library and registry 2022-06-02 20:02:01 +08:00
pengfei.zhou
531e2d9298 fix: image inside list flushes when loading more or in other situations 2022-06-02 15:41:49 +08:00
pengfei.zhou
75151d57d4 android: add setLifecycleOwner support 2022-05-25 18:22:59 +08:00
pengfei.zhou
bcb0f2d9e4 android: expose more API from ImageNode 2022-05-25 18:22:59 +08:00
pengfei.zhou
80e19dbfa8 android: export mSuperNode from ViewNode 2022-04-07 17:34:13 +08:00
pengfei.zhou
a19c327743 android:change DoricArrayBufferResource to public 2022-03-21 17:59:38 +08:00
吴尚昆
55ff312312 image scaleType add an enumeration ScaleToTile. 2022-03-18 20:02:52 +08:00
吴尚昆
31f45d161f Android: resize image support tile mode. 2022-03-18 20:02:52 +08:00
吴尚昆
3f017a9beb add resources to support image tile mode. 2022-03-18 20:02:52 +08:00
pengfei.zhou
8aebbc7a36 android: Update JSC and compat new api 2022-03-09 18:14:06 +08:00
pengfei.zhou
774d3160a9 android: fix Fragment be created twice 2022-03-09 18:14:06 +08:00
pengfei.zhou
e8e344ed21 feat: add ArrayBufferResource 2022-03-09 18:14:06 +08:00
pengfei.zhou
9bd4ba8722 feat: Image add setImagePixels API,iOS receive ArrayBuffer directly 2022-03-09 18:14:06 +08:00
吴尚昆
85a03bdd93 file can not is null. 2022-03-03 17:15:22 +08:00
吴尚昆
2bac5352e8 remove TextUtils.isEmpty(fileName) 2022-03-03 17:15:22 +08:00
吴尚昆
af9b47466c [UIFont familyNames] before CGFontCreateWithDataProvider() 2022-03-03 17:15:22 +08:00
吴尚昆
b75e42dac3 createFile function throws IOException. 2022-03-03 17:15:22 +08:00
吴尚昆
37a4332a19 remove textSize && using urlencode 2022-03-03 17:15:22 +08:00
吴尚昆
f7daebfd77 use the MD5 value of the font file as the unique identifier of the cache. 2022-03-03 17:15:22 +08:00
吴尚昆
fcc016d81c update fileName 2022-03-03 17:15:22 +08:00
吴尚昆
08cc6cd293 Android text font support from custom loader. 2022-03-03 17:15:22 +08:00
pengfei.zhou
92bbe90165 android: update proguard file for doric 2022-03-03 14:47:11 +08:00
pengfei.zhou
37197a8f45 android: optimize code 2022-02-17 12:51:25 +08:00
pengfei.zhou
2c399e6a64 Base64 resource support all kinds of base64 2022-02-17 12:46:56 +08:00
pengfei.zhou
d9c53f328b android: fix when reload clear retained java value 2022-02-17 11:30:10 +08:00
pengfei.zhou
894cc91dd6 Doric remove DoricAssetsResource for now 2022-01-26 15:38:49 +08:00
pengfei.zhou
1c4b1181d3 android: move RetainedJavaValue to engine package 2022-01-26 15:38:49 +08:00
pengfei.zhou
829063e0ff android: optimize code style 2022-01-26 15:38:49 +08:00
pengfei.zhou
8c57e5e500 android: compat webviewexecutor to support arraybuffer 2022-01-26 15:38:49 +08:00
王劲鹏
c67803b717 retain java value 2022-01-26 15:38:49 +08:00
王劲鹏
7f39727cf4 add interface to provide jse 2022-01-26 15:38:49 +08:00
pengfei.zhou
f393891545 android: update jsc4a to 0.3.5 2022-01-26 15:38:49 +08:00
pengfei.zhou
e9e2d14a9d feat:Remove Image's setImagePixels API 2022-01-26 15:38:49 +08:00
pengfei.zhou
96266921ff feat: cache resource move from global to each context 2022-01-26 15:38:49 +08:00
pengfei.zhou
a36a4237b2 android: jsc4a update to 0.3.3 2022-01-26 15:38:49 +08:00
pengfei.zhou
695d35a83f android:update jsc4a to 0.3.2 2022-01-26 15:38:49 +08:00
pengfei.zhou
b29f2d6a4e iOS: implement Image Pixel 2022-01-26 15:38:49 +08:00
pengfei.zhou
190eb4afd7 feat:Image add pixel API,pass pixels directly to Image 2022-01-26 15:38:49 +08:00
pengfei.zhou
e270b9c520 feat:android support ArrayBuffer Resource 2022-01-26 15:38:49 +08:00
pengfei.zhou
3bedd8034c feat: add Resource Cache for loading the same resource 2022-01-26 15:38:49 +08:00
pengfei.zhou
5b80e4e0e1 add resId to cache DoricResource on native 2022-01-26 15:38:49 +08:00
pengfei.zhou
d746c5b4d4 add ResourceLoader plugin 2022-01-26 15:38:49 +08:00
pengfei.zhou
6bc9c7629a feat: context's source ignore what behinds semicolon 2022-01-10 10:38:46 +08:00
pengfei.zhou
41b74312cb android: fix cannot set Pivot before view is layouted 2021-12-28 16:36:17 +08:00
pengfei.zhou
39e1fc98e2 android: fix cancel cause modify map concurrently 2021-12-24 16:21:47 +08:00
pengfei.zhou
24e704e1b9 android: fix cancel cause modify map concurrently 2021-12-24 15:32:38 +08:00
pengfei.zhou
48afc3acb3 android: fix when animator cannot be released 2021-12-24 10:33:50 +08:00
pengfei.zhou
96e61e2268 android: add animationEnd callback for image 2021-12-17 18:01:43 +08:00
pengfei.zhou
e4b27af938 android: remove some code which require higher system permission 2021-12-13 11:20:21 +08:00
王劲鹏
7edaf08c18 fix onclick overlapped by onsingletap 2021-12-10 14:56:56 +08:00
pengfei.zhou
7f21d8293f android: decode base64 image synchronously 2021-12-08 17:19:51 +08:00
pengfei.zhou
b0ff68e660 refact: optimize code 2021-12-08 12:06:25 +08:00
pengfei.zhou
4fb5848ca9 feat: change alias to dev in demo app 2021-12-08 12:06:25 +08:00
pengfei.zhou
68ba8875a5 feat: android and iOS support load assets file remotely on dev mode 2021-12-08 12:06:25 +08:00
pengfei.zhou
7b44801b17 feat: add DoricDevAssetsLoader in dev mode 2021-12-08 12:06:25 +08:00
pengfei.zhou
1ba4336857 feat: add DoricAssets resource 2021-12-08 12:06:25 +08:00
pengfei.zhou
c3093d9ff2 Android: fix listItem cannot be animated 2021-12-03 17:45:51 +08:00
pengfei.zhou
ec926cda0c android: DoricLayer setWillNotDraw set false to call draw,otherwise dispatchDraw will be called directly 2021-11-29 10:52:04 +08:00
pengfei.zhou
8ebccdc3fe feat:resume script change 2021-11-26 14:56:36 +08:00
pengfei.zhou
91f154cd9b feat: update EffectDemo and fix some code problems 2021-11-26 14:56:36 +08:00
pengfei.zhou
7c9e13158d iOS: Use Animator to control blur effect 2021-11-26 14:56:36 +08:00
pengfei.zhou
f302592d11 feat:Aero add style property 2021-11-26 14:56:36 +08:00
pengfei.zhou
cc014a6061 android: implement Aero effect 2021-11-26 14:56:36 +08:00
pengfei.zhou
bf5a8c0e9a android: remove transformations library 2021-11-26 14:56:36 +08:00
pengfei.zhou
a528165207 android: add AeroEffect 2021-11-26 14:56:36 +08:00
pengfei.zhou
62a8357d77 feat: fix typo 2021-11-26 14:56:36 +08:00
pengfei.zhou
87b73461e6 android: resume script 2021-11-26 14:56:36 +08:00
pengfei.zhou
3f49ca125e android:update targetAPI and compileAPI to 31 2021-11-26 14:56:36 +08:00
pengfei.zhou
265b662ca8 android: fix when Stack restore canvas cause draw position error 2021-11-26 14:56:36 +08:00
pengfei.zhou
9704f95592 android: add effectiveRect for BlurEffect 2021-11-26 14:56:36 +08:00
pengfei.zhou
7792bcafc0 android: remove leakcanary 2021-11-26 14:56:36 +08:00
pengfei.zhou
d24e0ecff6 android: add BlurEffectView 2021-11-26 14:56:36 +08:00
王劲鹏
040823a8af Android: fix load anchor not reset in flow layout 2021-11-22 11:40:25 +08:00
王劲鹏
c3e05a39c0 Android: fix load anchor not reset 2021-11-22 11:29:46 +08:00
pengfei.zhou
af77a0e98e android: fix list item cannot response click action 2021-11-11 14:29:28 +08:00
pengfei.zhou
f448692896 android: fix when there's no permission, crash will happen 2021-11-11 14:29:28 +08:00
pengfei.zhou
d6b9186f52 android:add some logs when fallback to webview executors 2021-11-09 17:01:45 +08:00
pengfei.zhou
098d96e47c android: change back to DoricJSEngine by default 2021-11-09 17:01:45 +08:00
pengfei.zhou
18b50be203 Remove JavaScript Element when not needed 2021-11-09 17:01:45 +08:00
pengfei.zhou
ce892a31bf Add other types of JSEngine 2021-11-09 17:01:45 +08:00
pengfei.zhou
c7252613a2 android: webview shell mode 2021-11-09 17:01:45 +08:00
pengfei.zhou
b7935e48c7 android: add web shell 2021-11-09 17:01:45 +08:00
pengfei.zhou
86b6c63588 android: add flag to decide whether use webview only 2021-11-08 10:29:40 +08:00
pengfei.zhou
dea6e05bee android:catch throwable,not just exception 2021-11-08 10:29:40 +08:00
pengfei.zhou
643a9f5fe9 android:restore build.gradle change 2021-11-08 10:29:40 +08:00
pengfei.zhou
a3738859aa Android: rename module name to jse 2021-11-08 10:29:40 +08:00
pengfei.zhou
7eb8287f04 Android add jse implement to replace jsc4a 2021-11-08 10:29:40 +08:00
pengfei.zhou
cbcbc21737 Add JS Value package source 2021-11-08 10:29:40 +08:00
pengfei.zhou
2175c44338 adjust code 2021-11-08 10:29:40 +08:00
pengfei.zhou
a4a55db9cf Change Android minSdkVersion to 19 2021-11-08 10:29:40 +08:00
pengfei.zhou
2be389461c Android:use webview executor for fallback plan 2021-11-08 10:29:40 +08:00
pengfei.zhou
0ca5913357 Init dev before starting 2021-11-08 10:29:40 +08:00
pengfei.zhou
7282146e14 feat:fix when android excute js on same thread,cause stucked 2021-11-08 10:29:40 +08:00
pengfei.zhou
5c74729fbc android: enable setTimeout and setInterval 2021-11-08 10:29:40 +08:00
pengfei.zhou
bb17b74b99 Android:use webview to execute js 2021-11-08 10:29:40 +08:00
pengfei.zhou
196497f3bd android:webview add some api 2021-11-08 10:29:40 +08:00
pengfei.zhou
780188e145 Add webview init 2021-11-08 10:29:40 +08:00
pengfei.zhou
e8089e98a8 android: use webview as js executor 2021-11-08 10:29:40 +08:00