Commit Graph

159 Commits

Author SHA1 Message Date
王劲鹏
f488f023fa add modal plugin interface; optimize layouts code 2021-05-20 18:27:45 +08:00
王劲鹏
8d04d41b19 update yoga to cbf6495d66a7a8066d1354daa14d3bb1af19f6ef 2021-05-20 18:27:45 +08:00
王劲鹏
5ba5f5ce6c add sizeThatFits in scroller node 2021-05-20 18:27:45 +08:00
王劲鹏
77e32d1f08 refactor layout code 2021-05-20 18:27:45 +08:00
王劲鹏
00528a3ce5 fix a layout bug 2021-05-20 18:27:45 +08:00
王劲鹏
bb03b8b5a3 changes
add border for h & v layout, stack, scroller & text
fix background color transparent
2021-05-20 18:27:45 +08:00
王劲鹏
e42b5c8400 default disable scroll bar 2021-05-20 18:27:45 +08:00
王劲鹏
9d87f32cbb fix text alignment error when font change 2021-05-20 18:27:45 +08:00
王劲鹏
7b6a4c4d51 change to set measured y 2021-05-20 18:27:45 +08:00
王劲鹏
fb68b66128 text default center 2021-05-20 18:27:45 +08:00
王劲鹏
7950416ba6 fix scroll node cannot scroll 2021-05-20 18:27:45 +08:00
王劲鹏
3207cc2581 scroller implements 2021-05-20 18:27:45 +08:00
王劲鹏
5e72a97a41 thread pool won't release thread 2021-05-20 18:27:45 +08:00
王劲鹏
6452b469a2 a lot of changes
int -> qreal; set width & height property only under change; code refactor; v8 isolate npe try fix
2021-05-20 18:27:45 +08:00
王劲鹏
65e5f8af19 fix print error 2021-05-20 18:27:45 +08:00
王劲鹏
d231ae099f fix doric layout bug 2021-05-20 18:27:45 +08:00
王劲鹏
46bcaeb772 add doric layout 2021-05-20 18:27:45 +08:00
王劲鹏
d9828dca93 destroy context when qquickview hidden 2021-05-20 18:27:45 +08:00
王劲鹏
7402fc2c0c add scroller node 2021-05-20 18:27:45 +08:00
王劲鹏
b8440d9fb7 change way in set background color, compat with text node 2021-05-20 18:27:45 +08:00
王劲鹏
5c5d6165c2 update fill condition 2021-05-20 18:27:45 +08:00
王劲鹏
2e8093175f fill height according except fit mode 2021-05-20 18:27:45 +08:00
王劲鹏
ad1b1a979b add head & tail for h & v layout for fill 2021-05-20 18:27:45 +08:00
王劲鹏
5229e04752 avoid arrow function; fix wrapper type 2021-05-20 18:27:45 +08:00
王劲鹏
42b7d0723d mac compile pass 2021-05-20 18:27:45 +08:00
王劲鹏
0b5d9d69c7 add darwin & win32 header split 2021-05-20 18:27:45 +08:00
王劲鹏
7b43707684 add darwin v8 binary 2021-05-20 18:27:45 +08:00
王劲鹏
ac39073551 fix isolate on wrong thread 2021-05-20 18:27:45 +08:00
王劲鹏
c01bd1e98c fix json value crash & timer not work 2021-05-20 18:27:45 +08:00
王劲鹏
fc0af6e992 clip children 2021-05-20 18:27:45 +08:00
王劲鹏
cd5799fe26 fix crash 2021-05-20 18:27:45 +08:00
王劲鹏
a2c0a34a8a fix click order 2021-05-20 18:27:45 +08:00
王劲鹏
e4527f7f39 optimize 2021-05-20 18:27:45 +08:00
王劲鹏
1ef0a7720a update v8 info 2021-05-20 18:27:45 +08:00
王劲鹏
3a251b5adf abstract spec mode 2021-05-20 18:27:45 +08:00
王劲鹏
7e59150831 snake build on v8 success 2021-05-20 18:27:45 +08:00
王劲鹏
7458d0f4c0 complete invoke method on v8 2021-05-20 18:27:45 +08:00
王劲鹏
dada2e4e0d complete invoke (except callNative) 2021-05-20 18:27:45 +08:00
王劲鹏
18cef64141 clearify code 2021-05-20 18:27:45 +08:00
王劲鹏
2684a78493 remove stack size & ignore lib 2021-05-20 18:27:45 +08:00
王劲鹏
f6f25f6344 fix allocator loss when exec large script 2021-05-20 18:27:45 +08:00
王劲鹏
8bb7fdb66b add v8 executor & default executor 2021-05-20 18:27:45 +08:00
王劲鹏
500df331fc add v8 release bin 2021-05-20 18:27:45 +08:00
王劲鹏
87eb538347 add counter demo 2021-05-20 18:27:45 +08:00
王劲鹏
2b277a44f4 add click response callback 2021-05-20 18:27:45 +08:00
王劲鹏
ace6d87bda add click for text stack hlayout vlayout 2021-05-20 18:27:45 +08:00
王劲鹏
0784fa844c add mouse area 2021-05-20 18:27:45 +08:00
王劲鹏
e9de03cbed add part text node alignment 2021-05-20 18:27:45 +08:00
王劲鹏
b8aded79b7 add gobang entry 2021-05-20 18:27:45 +08:00
王劲鹏
0c151c435f add gravity handle & nested layout with rectangle with height handle 2021-05-20 18:27:45 +08:00
王劲鹏
fc104c4ec1 remove config file 2021-05-20 18:27:45 +08:00
王劲鹏
c51b99a351 add text color & text size 2021-05-20 18:27:45 +08:00
王劲鹏
ca1129d31e log optimize 2021-05-20 18:27:45 +08:00
王劲鹏
b123c56d11 add text wrap or precise width height 2021-05-20 18:27:45 +08:00
王劲鹏
23882e6088 complete fit most & just with children rect & parent width, height 2021-05-20 18:27:45 +08:00
王劲鹏
6c8c3d69bc panel to flex, text stack wrap with flex 2021-05-20 18:27:45 +08:00
王劲鹏
692397be2e add blend layout config 2021-05-20 18:27:45 +08:00
王劲鹏
78629497aa change item to rectangle 2021-05-20 18:27:45 +08:00
王劲鹏
97fdb55091 remove log 2021-05-20 18:27:45 +08:00
王劲鹏
1e31d935e9 update import module version 2021-05-20 18:27:45 +08:00
王劲鹏
a0fb9a4666 remove wrap prop 2021-05-20 18:27:45 +08:00
王劲鹏
dd534a8d4e fix layout error 2021-05-20 18:27:45 +08:00
王劲鹏
e35f0a79c4 add simple layout demo 2021-05-20 18:27:45 +08:00
王劲鹏
257f3f0dab hlayout & vlayout change to flex 2021-05-20 18:27:45 +08:00
王劲鹏
06f47e31cc add flex layout, config & service 2021-05-20 18:27:45 +08:00
王劲鹏
72f7e4586c remove doric layout 2021-05-20 18:27:45 +08:00
王劲鹏
1b83298102 add third party: yoga 1.18.0 2021-05-20 18:27:45 +08:00
王劲鹏
fc0df69ed4 add text node 2021-05-20 18:27:45 +08:00
王劲鹏
46ecc85ece add doric layout 2021-05-20 18:27:45 +08:00
王劲鹏
63c8e864d1 space & gravity dispatch to v & h layout 2021-05-20 18:27:45 +08:00
王劲鹏
d35c8d2118 add x & y & spacing; render try catch; remove rectangle layer in qml 2021-05-20 18:27:45 +08:00
王劲鹏
850d6321a0 remove redundant qcritical 2021-05-20 18:27:45 +08:00
王劲鹏
0f0b0b0756 fix stack before warning 2021-05-20 18:27:45 +08:00
王劲鹏
8ffc0753ef add hlayout & handle color 2021-05-20 18:27:45 +08:00
王劲鹏
028334e530 add target node view & set width, height 2021-05-20 18:27:45 +08:00
王劲鹏
4c0a177747 error log filter 2021-05-20 18:27:45 +08:00
王劲鹏
dc438b135a change column to row 2021-05-20 18:27:45 +08:00
王劲鹏
a38b998b60 add vlayout node & stack node 2021-05-20 18:27:45 +08:00
王劲鹏
1c574f030c config child nodes 2021-05-20 18:27:45 +08:00
王劲鹏
66649fe0f0 new way to impl main thread 2021-05-20 18:27:45 +08:00
王劲鹏
2048320470 remove several logs 2021-05-20 18:27:45 +08:00
王劲鹏
535d21e8c4 add view node reg; add node create & mix 2021-05-20 18:27:45 +08:00
王劲鹏
6371b3fd82 root node init with context pointer 2021-05-20 18:27:45 +08:00
王劲鹏
65d6f97908 impl blend in group, super & view 2021-05-20 18:27:45 +08:00
王劲鹏
ea0b87df24 refactor doric panel; add blend method 2021-05-20 18:27:45 +08:00
王劲鹏
7ced952a57 add quick item to quick view dynamically 2021-05-20 18:27:45 +08:00
王劲鹏
df8b98bc6c change to set encoding 2021-05-20 18:27:45 +08:00
王劲鹏
ae19dbd694 upgrade to qt 6.0 2021-05-20 18:27:45 +08:00
王劲鹏
36427898cb change qml component to quick item 2021-05-20 18:27:45 +08:00
王劲鹏
3eeb062d2e fix circular deps 2021-05-20 18:27:45 +08:00
王劲鹏
915814fc2a add node hierarchy 2021-05-20 18:27:45 +08:00
王劲鹏
b406460a8d add async call on main 2021-05-20 18:27:45 +08:00
王劲鹏
60218cd8dd remove test code 2021-05-20 18:27:45 +08:00
王劲鹏
47cf75a0aa optimize stack trace print 2021-05-20 18:27:45 +08:00
王劲鹏
e00bae87f8 format error output 2021-05-20 18:27:45 +08:00
王劲鹏
ed7d186510 add view node 2021-05-20 18:27:45 +08:00
王劲鹏
ceb08bfa1d add thread mode & async call 2021-05-20 18:27:45 +08:00
王劲鹏
24f7bb2498 context holder & generic 2021-05-20 18:27:45 +08:00
王劲鹏
41640c1399 code opt 2021-05-20 18:27:45 +08:00
王劲鹏
be37a71699 code format & class prefix 2021-05-20 18:27:45 +08:00