Commit Graph

591 Commits

Author SHA1 Message Date
pengfei.zhou
ab28256916 android:image strech unit should multiply scale 2020-04-27 16:03:16 +08:00
pengfei.zhou
0535d0d4d4 android:fix render callback thread error 2020-04-27 16:03:16 +08:00
pengfei.zhou
57b5c7596b feat:when reload doriccontext,release the js resource 2020-04-27 16:03:16 +08:00
pengfei.zhou
12fcf71526 android:use addIdelHandler to avoid call render callback before it is actually rendered 2020-04-27 16:03:16 +08:00
pengfei.zhou
2995296121 android:fix synchronously set image 2020-04-26 14:55:22 +08:00
pengfei.zhou
05927b33d5 fix when parent is fit ,child is most,resolve this situation 2020-04-23 20:02:23 +08:00
pengfei.zhou
496c4c1838 fix:when onDestroy call native plugin 2020-04-23 17:43:54 +08:00
pengfei.zhou
82fdd5e46c Android and iOS add handling imageScale 2020-04-23 16:52:24 +08:00
pengfei.zhou
9e7c1f04ef feat:Environment add scale 2020-04-23 16:52:24 +08:00
pengfei.zhou
229fc41de3 update js api 2020-04-22 11:38:15 +08:00
pengfei.zhou
5f4942a8ff feat:List add scrollToItem method 2020-04-22 11:38:15 +08:00
pengfei.zhou
64d1153e93 android:incase load image url after activity is destroyed 2020-04-21 19:25:22 +08:00
pengfei.zhou
a386c548ec android:fix DoricActivity be called externally 2020-04-20 09:37:31 +08:00
王劲鹏
4c18171a2b change px to proportion 2020-04-17 17:01:10 +08:00
王劲鹏
b1c1650478 Android: implement stretchInset for ImageNode 2020-04-17 17:01:10 +08:00
pengfei.zhou
b2241fe343 android:add yoga proguard 2020-04-16 18:03:00 +08:00
刘涛
c329cfcf53 android:fix android textview truncate problem 2020-04-14 20:25:42 +08:00
pengfei.zhou
9e0b3e067b feat:Text add htmlText 2020-04-14 12:10:55 +08:00
pengfei.zhou
e73ad1db2b android:fix RootNode type is null 2020-04-14 12:10:55 +08:00
王劲鹏
ea665e516b downgrade glide to 480 2020-04-14 11:37:18 +08:00
pengfei.zhou
8cb135b7b1 Text add strikethrough and underline 2020-04-13 17:44:15 +08:00
pengfei.zhou
8faf0e5d33 android:set imageView adjustViewBounds anywhere 2020-04-13 14:44:32 +08:00
pengfei.zhou
7a2bffdb64 android:fix mix use layoutConfig and flexConfig 2020-04-13 14:44:32 +08:00
pengfei.zhou
d29ff4991d add handling layoutconfig in flexlayout 2020-04-13 14:44:32 +08:00
pengfei.zhou
6cd80f3f0d Release v0.4.2 2020-04-11 13:40:34 +08:00
pengfei.zhou
f66b6161b2 Android:imageview support maxWidth and maxHeight 2020-04-11 13:02:16 +08:00
pengfei.zhou
1e112055db Android implement maxWidth maxHeight 2020-04-11 13:02:16 +08:00
pengfei.zhou
80811a3bf6 Layout add minWidth minHeight maxWidth maxHeight 2020-04-11 13:02:16 +08:00
pengfei.zhou
9bfa93cb4d Release v0.4.0 2020-04-10 16:17:37 +08:00
pengfei.zhou
fb23a11aa9 android add FlexNode 2020-04-10 14:35:21 +08:00
pengfei.zhou
404b4b594f add ts define 2020-04-10 14:35:21 +08:00
pengfei.zhou
dd06675253 add yoga dependency 2020-04-10 14:35:21 +08:00
王劲鹏
4bb9df4dbb Android: add loop in slider 2020-04-10 11:08:39 +08:00
王劲鹏
c44c3e5353 add loop property & fix bug caused by renderPage cache 2020-04-10 11:08:39 +08:00
pengfei.zhou
d1f32b7f5c Android:render's promise's resolve should happen after view's been measured and layouted 2020-04-09 14:14:16 +08:00
王劲鹏
00f5fb3918 fix glide deps 2020-04-03 19:21:19 +08:00
王劲鹏
8d693fdd44 fix app deps 2020-04-03 14:38:19 +08:00
王劲鹏
e5262acdcd update apng; align okhttp; remove rxjava 2020-04-03 11:52:34 +08:00
王劲鹏
6ff085d579 change simulator check method 2020-04-03 11:24:31 +08:00
pengfei.zhou
c20f1c53bf android:text setIncludeFontPadding to false 2020-04-01 18:00:04 +08:00
pengfei.zhou
78d4f51314 navigator add openUrl 2020-04-01 18:00:04 +08:00
pengfei.zhou
9c520e1dc5 android:fix DoricPanel cannot build automaticaly 2020-04-01 14:15:01 +08:00
pengfei.zhou
3bbf671420 feat:Image localRes and base64 support animation image 2020-04-01 14:15:01 +08:00
pengfei.zhou
2f0f0494df feat:devkit connect directly 2020-03-28 12:04:37 +08:00
pengfei.zhou
e7ddcd1b67 android:fix runtime error 2020-03-28 12:04:37 +08:00
pengfei.zhou
0abf8533db feat:align Android and iOS treat ImageView's scale type 2020-03-25 22:52:39 +08:00
pengfei.zhou
65906b6c02 feat:update to 0.3.16 2020-03-25 15:05:50 +08:00
pengfei.zhou
139a8775d4 android:add JSDispatcher to optimize scrollchange callback 2020-03-25 15:05:50 +08:00
pengfei.zhou
66afc4c4bb android:add data type check for blending 2020-03-25 15:05:50 +08:00
pengfei.zhou
75fbb3d527 android fix npe 2020-03-24 20:35:56 +08:00
pengfei.zhou
fcd076067f update android script 2020-03-24 20:33:35 +08:00
pengfei.zhou
d557f2a98d update android script 2020-03-24 20:33:35 +08:00
pengfei.zhou
4bedec2a06 Publish version 0.3.14 2020-03-24 17:22:37 +08:00
pengfei.zhou
4ea6da2d0a feat:align android and iOS image's default scale type 2020-03-24 16:25:14 +08:00
pengfei.zhou
0cfbef67a2 feat:add Text lineSpacing 2020-03-24 16:25:14 +08:00
pengfei.zhou
a25aedcc6f Publish version 0.3.13 2020-03-24 16:25:14 +08:00
pengfei.zhou
fe33a18213 feat:add maxWidth and maxHeight for text 2020-03-24 16:25:14 +08:00
pengfei.zhou
7f16aa23ae android:fix cannot change width and height after rendered 2020-03-24 16:25:14 +08:00
pengfei.zhou
1e22555248 Publish version 0.3.12 2020-03-23 13:38:11 +08:00
pengfei.zhou
2046baa23d feat:fix command view cannot find view,let find on UI Thread 2020-03-23 13:38:11 +08:00
pengfei.zhou
8f4f866bcb Publish version 0.3.11 2020-03-21 19:14:44 +08:00
pengfei.zhou
f311b21f64 Publish version 0.3.10 2020-03-21 19:14:44 +08:00
pengfei.zhou
e9d8018a09 feat:DevKit add disconnect action 2020-03-21 19:14:44 +08:00
yao
365b89cfa6 add devkit to example app 2020-03-20 14:29:34 +08:00
pengfei.zhou
55c5bf2a7b Publish version 0.3.9 2020-03-19 15:36:23 +08:00
pengfei.zhou
5b096ffb2d android remove unused import 2020-03-19 15:36:23 +08:00
pengfei.zhou
2b62e8bd3b feat:adjust the inject timing of panel's initData 2020-03-19 15:36:23 +08:00
王劲鹏
9bb92f410e android: notch plugin implementation 2020-03-19 15:11:57 +08:00
王劲鹏
b626eb3071 android: hasNotch default false 2020-03-19 15:11:57 +08:00
王劲鹏
8a5443b46a android: devkit log 2020-03-18 20:09:41 +08:00
pengfei.zhou
a2e3dea675 Publish version 0.3.8 2020-03-14 11:40:34 +08:00
pengfei.zhou
98c7d59a70 Environment add device brand and model info 2020-03-14 10:55:35 +08:00
pengfei.zhou
47cf63ef36 Publish version 0.3.7 2020-03-13 19:38:39 +08:00
pengfei.zhou
aecccabe84 feat:add onFrameChangedCallback for DoricPanel 2020-03-13 19:38:39 +08:00
王劲鹏
5728b852cd android: add gradient background for view node 2020-03-13 19:08:49 +08:00
王劲鹏
73c0a5e7ab add android icon font support 2020-03-13 15:06:19 +08:00
pengfei.zhou
4359eec700 feat:add switch for Android and iOS 2020-03-13 13:03:23 +08:00
pengfei.zhou
a6df529f8f feat:add imagepath and imageRes for Image 2020-03-13 13:03:23 +08:00
pengfei.zhou
7b371ca58b feat:add onScroll and onScrollEnd for list and flowlayout 2020-03-11 13:42:17 +08:00
pengfei.zhou
348a6f3e56 feat:blendProps for Cooridinate changes 2020-03-11 13:42:17 +08:00
pengfei.zhou
f3f28c55f8 add panel.onRederFinished to be invoked after shader.render make sure coordinatorPlugin affected 2020-03-11 13:42:17 +08:00
pengfei.zhou
01d736c5a6 feature:CoordinateLayout support multi set 2020-03-11 13:42:17 +08:00
pengfei.zhou
eceb7b9567 Publish version 0.3.6 2020-03-09 14:13:08 +08:00
pengfei.zhou
e14e12b0e2 Publish version 0.3.5 2020-03-07 13:22:58 +08:00
pengfei.zhou
3b0a245129 feat:Android and iOS monitor use DoricContext as parameter 2020-03-07 10:41:25 +08:00
pengfei.zhou
fac7f005d8 android:protect while glide version conflict 2020-03-05 12:53:56 +08:00
pengfei.zhou
5053262dd5 feat:add PlcaeHolder and Error setting for Image 2020-03-05 12:53:56 +08:00
pengfei.zhou
ef77d5ec95 android:fix context call method error 2020-03-04 14:18:16 +08:00
pengfei.zhou
021fdab35f feat:scroller add onScroll and onScrollEnd property 2020-03-03 16:37:40 +08:00
pengfei.zhou
35e9f05114 feat:add getX and getY for view 2020-03-03 16:37:40 +08:00
pengfei.zhou
0641f5e223 feat:scroller add scrollBy 2020-03-03 16:37:40 +08:00
pengfei.zhou
6d7562877e feat:Scroller add contentOffset property 2020-03-03 13:24:29 +08:00
pengfei.zhou
46255632ec feat:Scroller add scrollTo method 2020-03-03 13:24:29 +08:00
pengfei.zhou
a3148ef065 android:avoid crash while compating different glide version 2020-03-03 12:00:24 +08:00
pengfei.zhou
fa717c93e5 Publish version 0.3.4 2020-03-02 13:26:29 +08:00
pengfei.zhou
523beaa0e1 android:Switch statusbar mode 2020-02-29 15:11:27 +08:00
pengfei.zhou
d713b04d51 feat:fix when reloading call onCreate and onShow 2020-02-29 15:11:27 +08:00
pengfei.zhou
eb6ba3ee36 Align lifecycle timing for Android and iOS 2020-02-29 14:18:08 +08:00
pengfei.zhou
e0055f437d Publish version 0.3.3 2020-02-29 11:56:14 +08:00
pengfei.zhou
67f92a8bda Publish version 0.3.2 2020-02-29 10:27:44 +08:00
pengfei.zhou
d49f6274f2 feat:for reloading add "__dev__" case 2020-02-29 10:27:44 +08:00
pengfei.zhou
0b0390edfe android:fix eventbus error 2020-02-29 10:27:44 +08:00
pengfei.zhou
9155d343c0 fix upload scrpt 2020-02-29 10:27:44 +08:00
pengfei.zhou
d17b6be1ce Publish version 0.3.1 2020-02-29 10:27:44 +08:00
pengfei.zhou
396a87931c android:downgrade gson's version 2020-02-28 18:42:03 +08:00
pengfei.zhou
7f1b1256ce android:adjust Doric.java and DoricKit.java,optimize api 2020-02-28 18:42:03 +08:00
pengfei.zhou
239ce9b5b4 android:degrade okhttp version 2020-02-28 18:42:03 +08:00
pengfei.zhou
7e7e9fed36 android:use QMUI to change statusbar status 2020-02-28 18:42:03 +08:00
pengfei.zhou
0f7794b2f1 android:scanqrcode stop twice 2020-02-28 18:42:03 +08:00
pengfei.zhou
35944dc2cb android:fix import error 2020-02-28 18:42:03 +08:00
王劲鹏
06133bca9e bug fix 2020-02-28 17:28:46 +08:00
王劲鹏
59a767fcc6 remove rxpermissions with context compat instead 2020-02-28 12:02:56 +08:00
pengfei.zhou
c5c51fd975 Publish version 0.3.0 2020-02-27 19:02:49 +08:00
pengfei.zhou
e11a26bd6d android:fix navbar setHidden cause bottombar translucent 2020-02-27 19:02:49 +08:00
pengfei.zhou
42ae0e245f feat:fix loading error cannot be thrown 2020-02-27 19:02:49 +08:00
王劲鹏
8e79ce3bad remove doric dev init 2020-02-27 17:24:22 +08:00
王劲鹏
e9197ec173 remove reInit method 2020-02-27 17:24:22 +08:00
王劲鹏
25508b0779 update doric dev init 2020-02-27 17:24:22 +08:00
王劲鹏
6b706ba9de android debugger api finished 2020-02-27 17:24:22 +08:00
王劲鹏
3134a0044b spare DoricDev class for further usage 2020-02-27 17:24:22 +08:00
王劲鹏
fa2171b3ff update main list & add dev kit cell 2020-02-27 17:24:22 +08:00
王劲鹏
59eed39493 replace javaValues with values 2020-02-27 17:24:22 +08:00
王劲鹏
8ee5d24912 add global object inject 2020-02-27 17:24:22 +08:00
pengfei.zhou
1a6b730146 feat:remove Context instance before js destory 2020-02-27 13:42:54 +08:00
pengfei.zhou
f7f378f988 Publish version 0.2.9 2020-02-25 18:24:06 +08:00
pengfei.zhou
abb1873b49 feat:doric android and iOS's monitor add source parameter when exception 2020-02-22 15:47:10 +08:00
pengfei.zhou
f65b116607 Publish version 0.2.8 2020-02-22 14:14:57 +08:00
pengfei.zhou
033b881106 Publish version 0.2.7 2020-02-19 19:54:10 +08:00
pengfei.zhou
0c42dba80d android:Okhttp's method must be uppercased 2020-02-19 19:54:10 +08:00
pengfei.zhou
0961cb9fc9 refact:change field name from scheme to source 2020-02-19 19:54:10 +08:00
pengfei.zhou
9e54ba1ea6 android:change asset dir 2020-02-19 19:54:10 +08:00
pengfei.zhou
251cb7770c android:fix StatusBar background color not transparent 2020-02-19 19:54:10 +08:00
pengfei.zhou
9b3156ada8 android:degrade jp.wasabeef:glide-transformations 2020-02-19 19:54:10 +08:00
pengfei.zhou
a75d132e2c android:fix import error 2020-02-19 19:54:10 +08:00
pengfei.zhou
a2ee446437 Publish version 0.2.6 2020-02-14 14:10:01 +08:00
pengfei.zhou
6bf61b3769 feat:iOS implement coordinator plugin 2020-02-13 22:25:13 +08:00
pengfei.zhou
630ec51504 feature:add coordinatorPlugin and Android part 2020-02-13 22:25:13 +08:00
pengfei.zhou
5b0e4959e1 android:implement IDoricScrollable for Scroller,List and Flowlayout 2020-02-13 22:25:13 +08:00
pengfei.zhou
00a5020847 add copyright for some files 2020-02-13 22:25:13 +08:00
pengfei.zhou
81cbc27c5a android:add setBackIconVisible for BaseTitleBar 2020-02-13 22:25:13 +08:00
pengfei.zhou
65f7d0b9ec Android asset load add IO Exception check 2020-02-07 17:05:47 +08:00
pengfei.zhou
4363ef17eb feat:add statusBarHeight in Environment 2020-01-21 15:34:02 +08:00
pengfei.zhou
2e172a1cfd Publish version 0.2.5 2020-01-21 15:34:02 +08:00
pengfei.zhou
7c2af8d1aa android:add api for costomization of DoricActivity 2020-01-21 10:49:16 +08:00
王劲鹏
93a207db9f fix HVScrollView fling 2020-01-20 14:02:03 +08:00
pengfei.zhou
5a68f10cb5 iOS:DoricViewController add loadingView and errorView 2020-01-19 18:26:36 +08:00
pengfei.zhou
7c83581c1e android:mask show error and loading 2020-01-19 18:26:36 +08:00
pengfei.zhou
5586c8f189 android:add mask for DoricActivity,show loading view 2020-01-19 18:26:36 +08:00
pengfei.zhou
ff87034413 Publish version 0.2.4 2020-01-17 17:40:48 +08:00
王劲鹏
7140190adf HVScrollView fling changed 2020-01-15 14:13:19 +08:00
王劲鹏
3855227e74 revert old HVScrollView 2020-01-15 14:13:19 +08:00
pengfei.zhou
5e166de77b android:fix naviator pop when stack is null,finish the activity 2020-01-15 11:26:52 +08:00
pengfei.zhou
c92435f1e0 Text add fontStype property 2020-01-15 09:55:48 +08:00
王劲鹏
8d0a64090c enhance HVScrollView 2020-01-15 09:40:26 +08:00
王劲鹏
6f635a6786 fix h&v scrollview on measure 2020-01-14 19:48:51 +08:00
王劲鹏
6664d8d988 remove old h&v scrollview 2020-01-14 19:13:08 +08:00
王劲鹏
713947e721 h&v scroll view enhancement 2020-01-14 19:13:08 +08:00
王劲鹏
455d7c5402 set margin via navbar instead of decor view 2020-01-14 19:09:48 +08:00
王劲鹏
12bfb16ea1 fix android & iOS consistency 2020-01-14 19:09:48 +08:00
王劲鹏
7f20103148 default immersive status bar in android 2020-01-14 19:09:48 +08:00
王劲鹏
1e167f541b bug fix 2020-01-14 19:09:48 +08:00
王劲鹏
2de57ff317 android status bar api implement 2020-01-14 19:09:48 +08:00
王劲鹏
e6db23d77c fix context teardown multiple times 2020-01-11 13:51:42 +08:00
pengfei.zhou
caea154377 iOS:add monitor 2020-01-11 11:05:34 +08:00
pengfei.zhou
0aaf105f53 android:renanme method 2020-01-11 11:05:34 +08:00
pengfei.zhou
da6afad30d android:add monitor 2020-01-11 11:05:34 +08:00
王劲鹏
894f23cd5b implement android navbar custom left & right view 2020-01-10 17:45:01 +08:00
pengfei.zhou
d4b19eb4ea android:JSLoader move to JSLoaderManager,not hold by DoricRegistry 2020-01-10 15:11:56 +08:00
pengfei.zhou
b9a2065f8a android:custimze Environment 2020-01-10 15:11:56 +08:00
王劲鹏
9a77578b9b android head node logic changed 2020-01-10 11:23:28 +08:00
pengfei.zhou
88d45c2967 add Notification demo,and pass 2020-01-09 11:51:14 +08:00
pengfei.zhou
c5a3f205b4 android:update animation library 2020-01-09 11:51:14 +08:00
pengfei.zhou
9dabd3b1db iOS:notification plugin 2020-01-09 11:51:14 +08:00
pengfei.zhou
0087c5bda4 android&iOS:create context set this to undefined 2020-01-09 11:51:14 +08:00
pengfei.zhou
cdaebe46cd android:add notification 2020-01-09 11:51:14 +08:00
pengfei.zhou
1c937ee899 Publish version 0.2.3 2020-01-06 14:25:41 +08:00
pengfei.zhou
dac37cd899 Publish version 0.2.2 2020-01-06 13:23:43 +08:00
王劲鹏
8f0457101c move logic to native 2020-01-04 14:48:50 +08:00
王劲鹏
e06b305eb8 complete Android & iOS with same logic 2020-01-04 14:48:50 +08:00
王劲鹏
ece2e0cac2 add draggable in js & android 2020-01-04 14:48:50 +08:00
pengfei.zhou
7c88eebeb8 js:adjust hook timing for nested situation 2019-12-26 11:26:11 +08:00
pengfei.zhou
9677207844 feat:In Android,after context finished,the popovered view must be removed 2019-12-24 17:11:19 +08:00
pengfei.zhou
5a5e588876 update to 0.2.1 2019-12-24 17:11:19 +08:00
pengfei.zhou
b1cee1b8eb update android version to 0.2.1 2019-12-23 19:38:49 +08:00
pengfei.zhou
b88e3605b0 fix DoricPanelFragment back to recreate view,recreate context error 2019-12-23 19:38:49 +08:00
osborn
25ba991893
Feature/prepare publish (#2)
* add doric-js bundle into vcs

* android project read js bundle directly

* update iOS project config

* update version
2019-12-23 15:29:38 +08:00
pengfei.zhou
8c1354839c delete debugger 2019-12-22 00:25:36 +08:00
pengfei.zhou
c30ffc5893 fix merge missing 2019-12-21 23:35:51 +08:00
pengfei.zhou
55334a11b2 Merge branch 'android_master' into combine 2019-12-21 21:35:28 +08:00
pengfei.zhou
1d98479c07 rename dir 2019-12-21 20:17:45 +08:00
pengfei.zhou
2a0b33151b rename dirs 2019-12-21 20:14:23 +08:00