Commit Graph

541 Commits

Author SHA1 Message Date
pengfei.zhou
986d32a8e0 iOS:add Bundle Resource 2021-10-25 17:16:01 +08:00
pengfei.zhou
235549eea4 Add Resource Loader for iOS 2021-10-25 17:16:01 +08:00
pengfei.zhou
7637a820e5 iOS: fix when init NSAttributedString cause it runs blocks on main queue immediately 2021-10-22 16:10:56 +08:00
pengfei.zhou
72a4562885 iOS: optimze when updating cell do not cause size change, do not reload 2021-10-20 17:54:21 +08:00
pengfei.zhou
c04994ab21 iOS: FlexNode ignore maxSize if largger than intrinsic size when it is root flex node 2021-10-17 12:37:41 +08:00
pengfei.zhou
3a1d07ecc4 iOS: FlexLayout's root node do not enable margin 2021-10-17 12:37:41 +08:00
pengfei.zhou
6cae752456 Add find visible items for list and flowlayout 2021-10-12 17:44:02 +08:00
pengfei.zhou
f09f7859b9 Flowlayout's loadMoreView supports fullSpan,default is false 2021-10-12 17:44:02 +08:00
pengfei.zhou
738c072ee4 Remove header and footer support,this is unnecessary 2021-10-12 17:44:02 +08:00
pengfei.zhou
0e77c62e13 FlowLayoutItem add fullSpan attribute 2021-10-12 17:44:02 +08:00
pengfei.zhou
9429c75834 flowlayout add header and footer:iOS implement 2021-10-12 17:44:02 +08:00
pengfei.zhou
0dbab344d9 iOS: fix iOS cannot loadmore when list's itemCount is 0 2021-10-12 17:44:02 +08:00
pengfei.zhou
5224be8f90 feat:List add header and footer 2021-10-12 17:44:02 +08:00
pengfei.zhou
f6d117da06 iOS: fix missing super call for requestLayout 2021-10-12 17:44:02 +08:00
pengfei.zhou
3250523fb4 fix when remove child node from group node,reuse cause problem 2021-10-08 18:49:45 +08:00
pengfei.zhou
9757a6e8c6 iOS: fix blend viewModel error 2021-09-30 14:27:22 +08:00
pengfei.zhou
46609aee4c iOS: fix when blend subnode,occured crash 2021-09-29 19:08:14 +08:00
pengfei.zhou
8ef9ddc610 iOS: fix get property error 2021-09-29 19:08:14 +08:00
pengfei.zhou
63e0d1c38c feat: Image add isAnimating, startAnimating and stopAnimating API 2021-09-26 16:35:24 +08:00
pengfei.zhou
3fd8405e0b feat: Image loadCallback add animated prop 2021-09-26 16:35:24 +08:00
王劲鹏
bf0de5e02a native response parameter changed 2021-09-23 18:11:27 +08:00
王劲鹏
6e8c5cc8ea iOS: update with js dispatcher 2021-09-23 11:08:13 +08:00
王劲鹏
0421b8258f iOS: implement touch api 2021-09-22 16:25:59 +08:00
王劲鹏
ac6a027f02 iOS: implement gesture container 2021-09-22 16:25:59 +08:00
pengfei.zhou
563f1a7fe1 iOS: fix when reuse flexnode, its childNode cannot measure properly 2021-09-16 19:23:19 +08:00
pengfei.zhou
dd4e8db3ad Remove nativeEmpty, check call change to native side 2021-09-16 13:01:47 +08:00
pengfei.zhou
e6647214dd iOS: fix part corner with border 2021-09-09 18:24:22 +08:00
pengfei.zhou
95ff2155f5 iOS: Text set shadow do not set clipToBounds 2021-09-09 18:24:22 +08:00
pengfei.zhou
116469d52c iOS: fix hintFont default is font 2021-09-09 18:24:22 +08:00
pengfei.zhou
145e157558 iOS: input focus fix 2021-09-09 18:24:22 +08:00
pengfei.zhou
abc39ed28f iOS: Input align to android implement 2021-09-09 18:24:22 +08:00
pengfei.zhou
58067e217e iOS:TextField support virtical alignment 2021-09-09 18:24:22 +08:00
pengfei.zhou
228c2c131c iOS:TextNode use content size 2021-09-09 18:24:22 +08:00
pengfei.zhou
88c594ae10 iOS: input support textfield 2021-09-09 18:24:22 +08:00
pengfei.zhou
5b3d45f607 iOS: Text textAligment support Top and Bottom 2021-09-09 18:24:22 +08:00
pengfei.zhou
41e610e424 Animation add keyFrame 2021-09-07 20:18:24 +08:00
pengfei.zhou
d7d19b17d0 Add BackgroundColorAnimation and AlphaAnimation 2021-09-07 18:50:09 +08:00
pengfei.zhou
31fb5186d3 iOS:use macro to control use of image and cache library 2021-09-07 16:13:49 +08:00
王劲鹏
d62303baf0 iOS: fix quickly set image url caused image integrity error 2021-09-07 10:50:21 +08:00
王劲鹏
7a0a2c6621 iOS: image render optimize
UIGraphicsBeginImageContextWithOptions replaced with UIGraphicsImageRenderer above iOS 10
2021-09-03 15:52:15 +08:00
pengfei.zhou
15172bb653 iOS:fix refreshableview srolling problem 2021-09-01 15:44:43 +08:00
pengfei.zhou
0ffb14ec72 iOS: move bundle to DoricSingleton 2021-08-24 16:15:25 +08:00
pengfei.zhou
04cfbf49d8 iOS typo fix 2021-08-24 11:59:11 +08:00
王劲鹏
e0d76d218d iOS: remove sync in dealloc & add some weak-strong-dance 2021-08-20 11:40:02 +08:00
pengfei.zhou
e6637b82de iOS:fix when text font is customized,set fontStyle cause font change to system font 2021-08-12 16:02:08 +08:00
pengfei.zhou
6e048e39fc fix compile err 2021-08-12 11:33:20 +08:00
pengfei.zhou
aee2ed6027 iOS: fix multi context,share same zone storage 2021-08-12 11:33:20 +08:00
王劲鹏
33c681031d fix: iOS List scroll to row inaccurate 2021-08-11 18:40:28 +08:00
pengfei.zhou
ee737c5c17 iOS: add default content type 2021-08-11 11:34:45 +08:00
pengfei.zhou
bfa865fe5d feat:Image add imageFilePath 2021-08-05 17:44:06 +08:00
pengfei.zhou
7a8fe598cd iOS:fix callEntity pass param error. 2021-08-02 11:43:18 +08:00
王劲鹏
e1032721f1 iOS: add h & v scroll bar enable for input 2021-07-29 17:21:34 +08:00
王劲鹏
fc28d3b90d iOS: remove mutable copy (may caused alloc exception when oom)
use barrier async dispatch queue to avoid multi-threading error
2021-07-29 11:40:56 +08:00
pengfei.zhou
5224df5369 iOS: change logic weight caculating to align android 2021-07-29 11:37:55 +08:00
pengfei.zhou
ba099b6f7e iOS:fix TextNode cannot switch back to normal style 2021-07-27 18:13:11 +08:00
王劲鹏
a1c67e2b48 iOS: status bar delegate 2021-07-27 11:53:04 +08:00
pengfei.zhou
f75a6f8071 iOS:change the way created item view. 2021-07-23 10:45:27 +08:00
pengfei.zhou
05655972e3 iOS:fix memory leak 2021-07-23 10:45:27 +08:00
pengfei.zhou
0a54a5a5e7 feat:add deprecated api 2021-07-22 19:03:35 +08:00
pengfei.zhou
c7de1f90e2 refact:compat DoricJSLoaderManager api 2021-07-21 20:15:30 +08:00
pengfei.zhou
61c262bcc6 refact: use DoricSingleton to hold all static or singleton objects 2021-07-21 19:32:31 +08:00
pengfei.zhou
8f50d2d67c iOS: add DoricDevPerfVC 2021-07-21 19:32:31 +08:00
pengfei.zhou
74e9aa0e38 feat:optimize iOS Native Driver method 2021-07-21 19:32:31 +08:00
pengfei.zhou
a021aae3de feat:use global anchor hook to print log 2021-07-21 19:32:31 +08:00
pengfei.zhou
17e14e7119 feat:add global anchor hook to monitor all performance hook 2021-07-21 19:32:31 +08:00
pengfei.zhou
6bff1bd9a1 feat:DoricPerf export anchor map 2021-07-21 19:32:31 +08:00
王劲鹏
c49bfadb9c add view id display 2021-07-21 19:32:31 +08:00
pengfei.zhou
49d3426d85 iOS:snapshot view add control logic 2021-07-21 19:32:31 +08:00
pengfei.zhou
47022fe715 iOS update devkit ui,add snapshot switch and performance switch 2021-07-21 19:32:31 +08:00
王劲鹏
cd9f08fa97 iOS: impl text color with gradient 2021-07-20 15:56:36 +08:00
王劲鹏
489fea0839 iOS: impl font & hint font for input 2021-07-20 15:53:19 +08:00
pengfei.zhou
c82510f57a iOS: fix flowlayout loadmoreView do not show on content 2021-07-15 18:09:03 +08:00
pengfei.zhou
9531fbffc0 iOS:flowlayout fix reused problem 2021-07-15 18:09:03 +08:00
pengfei.zhou
83aab985d3 iOS: do not show flowlayout's scroll indicator 2021-07-15 18:09:03 +08:00
pengfei.zhou
de8d102bc8 iOS: fix type error 2021-07-15 18:09:03 +08:00
pengfei.zhou
5c089f1b7c iOS: flowlayout do not set pagingEnabled. 2021-07-15 15:58:11 +08:00
王劲鹏
df204c97ae add enable for each performance profile 2021-07-14 11:42:30 +08:00
王劲鹏
560990a39e add reset logic when item count or render page changed 2021-07-08 20:05:56 +08:00
pengfei.zhou
98c3bc6668 iOS: fix locale return nil in some case 2021-07-08 19:26:58 +08:00
pengfei.zhou
fd8cac42ed feat:add performance anchor hook 2021-07-08 15:40:06 +08:00
pengfei.zhou
b7dab8c30f iOS: use NSHashTable to store DoricRegistry instead 2021-07-08 15:40:06 +08:00
pengfei.zhou
5c4bbe2fa5 feat:fix cannot record onDestroy 2021-07-08 15:40:06 +08:00
pengfei.zhou
f5bd4406d9 feat:add switch for performance,default is off 2021-07-08 15:40:06 +08:00
pengfei.zhou
34876de69f optimize:performance code 2021-07-08 15:40:06 +08:00
pengfei.zhou
a40413f991 iOS:Add PerformanceProfile 2021-07-08 15:40:06 +08:00
王劲鹏
800365645c fix: iOS load more view abnormal when item count zero 2021-07-08 14:41:55 +08:00
王劲鹏
98f2d29cee fix crash when looped slider with item count zero 2021-07-08 10:13:28 +08:00
pengfei.zhou
e6595d5c51 feat:add set environment value api 2021-07-07 18:51:21 +08:00
pengfei.zhou
0c10b513b9 feat: add onEnvChanged 2021-07-07 18:51:21 +08:00
pengfei.zhou
70bde4fba9 feat:Environment add locale 2021-07-07 18:51:21 +08:00
王劲鹏
666998d3a6 fix wrong page slided index 2021-07-05 12:44:41 +08:00
王劲鹏
84ca53c3b7 iOS: set property to strong for test 2021-06-30 10:05:43 +08:00
王劲鹏
8366e1c508 iOS: fix text alignment sync on placeholder label 2021-06-29 16:08:20 +08:00
王劲鹏
07a958c3bd fix: iOS dynamic set gradient props does not take effect 2021-06-22 17:43:24 +08:00
pengfei.zhou
901d3fdf72 feat:add protect case for plugin and view 2021-06-22 17:19:50 +08:00
pengfei.zhou
8339a64663 optimize: make lazy registered doric library effective 2021-06-22 17:19:50 +08:00
王劲鹏
25b6a69d02 fix: markedTextRange overlap with placeholder while inputing 2021-06-18 14:55:54 +08:00
王劲鹏
48d6a84394 revert apply 2021-06-18 14:55:17 +08:00
王劲鹏
28513efd67 fix: flow layout cell order 2021-06-18 09:38:03 +08:00
王劲鹏
9bf4072777 fix: scroller parent aware child size change 2021-06-15 16:11:08 +08:00
pengfei.zhou
9fed9e431c feat:Input add beforeTextChange API 2021-06-11 17:48:56 +08:00
pengfei.zhou
e528630f71 feat:Input add getSelection API 2021-06-11 17:48:56 +08:00
pengfei.zhou
5263731dd7 feat:input add onSubmitEditing 2021-06-11 17:48:56 +08:00
pengfei.zhou
ff641bf983 feat:Input add editable and returnKeyType 2021-06-11 17:48:56 +08:00
王劲鹏
188e3b55f6 fix: flow layout load more view not span entirely 2021-06-11 14:52:43 +08:00
王劲鹏
cbaa560dea avoid plugin call after context destroy 2021-06-09 20:10:30 +08:00
pengfei.zhou
d834336b3c iOS: code optimize,delete useless code 2021-06-08 18:31:05 +08:00
pengfei.zhou
4da1f3be9d feat: enhance plugin navigator,add popSelf and popToRoot 2021-06-08 11:56:11 +08:00
王劲鹏
5a9b55c75b filter the candidate while inputing 2021-06-07 17:17:42 +08:00
pengfei.zhou
783f77e7ac iOS:fix refreshable cannot scroll properly 2021-05-21 18:29:36 +08:00
pengfei.zhou
c1ac0a04a5 bugfix: read callbackId before read other properties. 2021-05-21 18:29:36 +08:00
pengfei.zhou
053e06ff2e iOS: fix when main bundle load error, exception is nil 2021-05-19 17:35:04 +08:00
pengfei.zhou
466aa0ff54 iOS: fix scroller cannot be fit 2021-05-14 21:00:25 +08:00
pengfei.zhou
c27a9bd672 iOS: measure undefined set content size 2021-05-14 19:58:34 +08:00
王劲鹏
8d8c44c8f6 handle shadow conflict with corners 2021-05-11 16:45:30 +08:00
pengfei.zhou
98db105a73 iOS: fix when set padding 2021-05-08 10:30:45 +08:00
pengfei.zhou
a46bfe9284 iOS: Stack gravity default to left and top 2021-05-08 10:30:45 +08:00
pengfei.zhou
d8412f3a96 iOS: fix case when parent is fit,child is most, align to android 2021-05-08 10:30:45 +08:00
pengfei.zhou
6da8d5658b feat: add bounces for list,scroller,nestedSlider,flowlayout 2021-04-30 14:34:54 +08:00
pengfei.zhou
e621db48b9 feat: slider add bounces for iOS 2021-04-30 14:34:54 +08:00
pengfei.zhou
f8b983b8d2 iOS: do not show indication in slider 2021-04-30 14:34:54 +08:00
pengfei.zhou
bdab13209c iOS: fix callback error.Use item's node instead 2021-04-25 15:49:01 +08:00
pengfei.zhou
e18b7e781e iOS:add ListItem actions api 2021-04-25 15:49:01 +08:00
pengfei.zhou
5982b15b0d feat:NestedScroller add scrollable 2021-04-23 17:58:48 +08:00
pengfei.zhou
056f2f041f feat:Slider add scrollable 2021-04-23 17:58:48 +08:00
pengfei.zhou
c2ca3c0b31 feat:Flowlayout support scrollable 2021-04-23 17:58:48 +08:00
pengfei.zhou
418b71c7a3 feat:List support scrollable 2021-04-23 17:58:48 +08:00
pengfei.zhou
4cc67a463d feat:Scroller support scrollable 2021-04-23 17:58:48 +08:00
pengfei.zhou
c82fdf1a0d iOS: fix iOS 11 & iOS 12 DoricListNode crash 2021-04-22 15:44:40 +08:00
pengfei.zhou
cdd25caa7d feat:when cancel Animation,sync the properties from native 2021-04-22 14:57:51 +08:00
pengfei.zhou
e7ced92281 feat:Add cancelAnimation and clearAnimation 2021-04-22 14:57:51 +08:00
pengfei.zhou
2fe2cded48 iOS: fix when parent and parent's parent is fit,child is most,cannot be extend to right size. 2021-04-19 17:44:04 +08:00
pengfei.zhou
009e8734b6 feat:add pureCallEntityMethod,avoid hook affects 2021-04-19 17:44:04 +08:00
pengfei.zhou
b762b9db4b iOS:Fix ListNode cannot measure content height properly 2021-04-14 16:56:19 +08:00
pengfei.zhou
526234b878 iOS: Fix size change cause corners show error 2021-04-07 17:25:47 +08:00
王劲鹏
10c60814d1 iOS: add oldBottomMargin, oldHeight & bottomMargin 2021-03-30 12:29:16 +08:00
王劲鹏
b006658fb9 iOS: hide scroll bar by default 2021-03-22 10:43:32 +08:00
王劲鹏
b25aad5bac iOS: implement keyboard plugin 2021-03-19 10:34:32 +08:00
王劲鹏
eba0261082 fix inconsistency due to itemcount change 2021-03-19 10:33:38 +08:00
王劲鹏
774cacc0fc fix crash 2021-03-12 11:13:53 +08:00
王劲鹏
bd0f155360 iOS: fix tableview blink when reload on some devices 2021-03-09 16:02:35 +08:00
王劲鹏
9c166da915 iOS: fix memory leak in image node block 2021-03-04 15:43:12 +08:00
pengfei.zhou
e78625281f fix:iOS Runloop cannot exit and other issues 2021-03-04 14:52:00 +08:00
pengfei.zhou
627f323ae3 feat:fix iOS memory leak in debugging 2021-03-04 14:52:00 +08:00
pengfeizhou
dfcbec696e iOS:optimize devkit header ui 2021-02-24 19:15:17 +08:00
pengfeizhou
cc1b4d92cb iOS:Timer key change from NSString to NSNumber 2021-02-23 17:26:39 +08:00
pengfeizhou
1d6a2d8828 iOS:success to debug js 2021-02-23 11:45:53 +08:00
pengfeizhou
9db60d94ba iOS:Support debugging 2021-02-23 11:45:53 +08:00
pengfeizhou
3fa9124801 iOS:fix when obj_retain DoricContext cause crash 2021-02-09 15:11:54 +08:00
pengfeizhou
07c701ef23 feat:Input add password property 2021-02-08 18:19:23 +08:00
pengfeizhou
682b6ebcb4 iOS:init registry synchronously 2021-02-07 18:11:00 +08:00
pengfeizhou
e32e6a321a iOS:Fix ImageNode cannot showed up 2021-02-04 17:16:15 +08:00
pengfeizhou
2de59a307f feat:Fix Flowlayout call onLoadMore multi times 2021-02-02 19:56:27 +08:00
pengfeizhou
112e45af06 feat:Fix List call onLoadMore multi times 2021-02-02 19:56:27 +08:00
pengfeizhou
438d7233ff iOS:Remove umbrella header 2021-02-01 21:47:11 +08:00
pengfeizhou
d0f4fdd98b iOS:fix compile error 2021-02-01 18:16:56 +08:00
pengfeizhou
fe4e90ec53 iOS:Native plugin use safe method to get from dictionary,avoid type error 2021-02-01 18:16:56 +08:00
pengfeizhou
156f70bb97 iOS:Add safe opt methods for NSDictionary,check type error 2021-02-01 17:48:45 +08:00
pengfeizhou
5a12a770fd iOS:use safe method to prevent unexpected exception 2021-02-01 17:48:45 +08:00
pengfeizhou
36975d1377 iOS:Fix warnning method 2021-02-01 17:48:45 +08:00
pengfeizhou
f0f660f709 iOS:Remove unused method 2021-02-01 17:48:45 +08:00
pengfeizhou
c74ceefc42 iOS:Remove dependency of YYCache,add support for YYCache,TMCache,or PINCache 2021-02-01 17:48:45 +08:00
pengfeizhou
4c78a91f7a iOS:update SDWebImage API call 2021-02-01 17:48:45 +08:00
pengfeizhou
4ad278e9c9 iOS:Support SDWebImage 2021-02-01 17:48:45 +08:00
pengfeizhou
a68155a0ec iOS:Remove dependency of YYImage 2021-02-01 17:48:45 +08:00
pengfeizhou
f44416a139 iOS:add NS_NOESCAPE attribute to avoid warnning 2021-01-27 18:54:07 +08:00
王劲鹏
13453f6a30 iOS: deal with context nil caused array init crash 2021-01-23 15:47:36 +08:00
王劲鹏
510cdf53cb iOS: notch superview change to first object 2021-01-18 16:38:37 +08:00
pengfeizhou
2100eff054 feat:avoid iOS dealloc JSValue in main thread,this may cause crash in JavaScriptCore 2021-01-06 11:57:41 +08:00
pengfei.zhou
967ad27a22 iOS: fix property from assign to copy 2020-12-10 09:52:34 +08:00
pengfei.zhou
33fe830422 fix code error 2020-11-03 19:21:08 +08:00
pengfei.zhou
cfe7e96831 iOS code format 2020-11-03 19:18:48 +08:00
刘涛
c9a9cc3227 fix:iOS view blurry after 3D animation 2020-11-03 17:44:17 +08:00
pengfei.zhou
171e96d0b5 iOS:fix iOS 14 cannot display image 2020-09-18 17:00:50 +08:00
pengfei.zhou
6a09c583fc iOS:adjust position of toast 2020-09-05 14:19:49 +08:00
pengfei.zhou
821cb1823c iOS support internal class 2020-09-05 14:19:49 +08:00
pengfei.zhou
cf2b5b3fac feat:Popover area do not over the root view's area 2020-09-04 15:38:13 +08:00
pengfei.zhou
a8cbdc0c1d iOS:openUrl do not check canOpenUrl 2020-09-03 14:57:30 +08:00
王劲鹏
3d656e13c6 iOS: pick width & height as default constant in portrait orientation 2020-08-25 17:16:42 +08:00
shukaka
4358551f92 fix: pullable not callback on iOS platform 2020-08-19 20:10:13 +08:00
shukaka
4e263a7c91 Update DoricImageNode.m
fix: iOS 上无法加载 Image.xcassets 中的图片
2020-08-07 15:58:23 +08:00
pengfei.zhou
ca6e0d5c39 iOS fix compile problem 2020-08-07 10:53:44 +08:00
pengfei.zhou
408868e8d5 iOS fix listnode 2020-08-04 19:18:09 +08:00
pengfei.zhou
bc6f9fac9b iOS:fix item count change cause reload crash 2020-07-24 18:13:07 +08:00
pengfei.zhou
5113d73b37 fix:iOS ListNode item index outof range 2020-07-13 11:26:28 +08:00
刘涛
91c3d4f630 fix:iOS clear ListNode cell color 2020-07-01 17:10:32 +08:00
pengfei.zhou
eabb98cee9 fix:iOS DoricListNode exception and DoricGroupNode exception 2020-06-22 16:09:42 +08:00
刘涛
cb3dfcbec8 feat:iOS animation reset duration when duration is 0 2020-06-16 18:01:23 +08:00
pengfei.zhou
4a788eb4bb adjust code style and add default case 2020-06-13 11:59:47 +08:00
tracy
8e8999dd7a add inputtype 2020-06-13 11:59:47 +08:00
pengfei.zhou
6b1040b8a2 feat:fix ListNode crash on iOS 10 and iOS 11 2020-06-12 11:17:10 +08:00
pengfei.zhou
9b181830fc add perspective for rotattionX and rotationY 2020-06-03 14:54:52 +08:00
pengfei.zhou
c14ec1954e Add rotationX and rotationY 2020-06-03 14:54:52 +08:00
pengfei.zhou
81dfce17fb iOS:JS operation use seperated thread 2020-05-13 10:03:38 +08:00
王劲鹏
1830acf977 iOS: implements base64 for placeholder & error in image 2020-05-11 11:31:42 +08:00
王劲鹏
9759eac38b iOS: implements locations in gradient color 2020-05-11 09:53:28 +08:00
王劲鹏
d060e1427c iOS: ensure start & end are not nil 2020-05-11 09:53:28 +08:00
王劲鹏
6406bfdcef iOS: implements multiple segments as gradient color 2020-05-11 09:53:28 +08:00
pengfei.zhou
6c21866d39 iOS:fix when input hans limit length error 2020-05-09 16:23:05 +08:00
pengfei.zhou
c51fc83537 iOS:fix NSTimer invalidate in main queue 2020-05-08 16:53:29 +08:00