Commit Graph
2837 Commits
Author SHA1 Message Date
Liu Chao 4e1ff1f28e Add test for flex layout in absolute position 2017-12-23 22:40:16 +08:00
Liu Chao 547f937bbf Update widget width computation 2017-12-23 22:36:32 +08:00
Liu Chao e9953e3072 Update Widget_UpdateTaskStatus() 2017-12-22 22:07:38 +08:00
Liu Chao 7eff43ac8b Set visible default to TRUE 2017-12-21 22:20:18 +08:00
Liu Chao b0b98cbcd0 Add tests for flex layout 2017-12-21 22:18:02 +08:00
Liu Chao d83ac20dd9 Add Widget_ComputeMaxContentWidth() 2017-12-21 22:16:50 +08:00
Liu Chao 374a414f57 Improve flex layout processing and style parsing (#117) 2017-12-20 23:59:14 +08:00
Liu Chao 426c8aff98 Update markdown ordered list syntax 2017-12-18 22:33:07 +08:00
Liu Chao 6ffa09e2cf Update widget layout processing, add justify-content support (#117) 2017-12-18 22:22:45 +08:00
Liu Chao 892fca1b78 Update README.zh-cn.md 2017-12-18 22:12:10 +08:00
Liu Chao 3230914cd4 Add w->proto valid check for Widget_CheckType() 2017-12-17 16:31:35 +08:00
Liu Chao 80aac94eed Update Widget_Append(), add Widget_UpdateStyle() call 2017-12-17 16:30:41 +08:00
Liu Chao 403fec6fbe Add opacity parsing, update LCUI_PrintStyleSheet() 2017-12-16 21:35:55 +08:00
Liu Chao 3e80463fb3 Use key_display to control widget visible 2017-12-16 21:33:56 +08:00
Liu Chao ced8d28c78 Add LCUI_GetFrameCount() 2017-12-16 21:32:24 +08:00
Liu Chao 317670ab05 Enable some tests 2017-12-15 21:12:46 +08:00
Liu Chao 637ae86573 Fix widget shadow render bug 2017-12-15 21:08:23 +08:00
Liu Chao 75b0d77a20 using FreeType direct to get space width 2017-12-14 23:03:36 +08:00
Liu Chao 3ac68ab03a Update widget renderer, add return the count of rendered widgets 2017-12-14 23:01:24 +08:00
Liu Chao 988963f2b9 Add support to parse "line-height: 1" 2017-12-12 20:57:53 +08:00
Liu Chao 3b8a397b6a Add support to parse "border: 0" 2017-12-12 20:57:33 +08:00
Liu Chao 9cc51642d5 Add LCUI_WidgetRenderer, refactor old code 2017-12-10 22:25:01 +08:00
Liu Chao 4fcb7bcb3f Rename data-placeholder to placeholder 2017-12-10 22:22:57 +08:00
Liu Chao 3e51e42e5a Improve CSS parser fault tolerance, ignore invalid style name 2017-12-10 22:22:37 +08:00
Liu Chao 9887e605f1 Update CodingStyle.zh-cn.md 2017-12-10 16:26:09 +08:00
Liu Chao d71e64389b Update semibold font weight detection 2017-12-08 21:12:55 +08:00
Liu Chao e5f137f4c3 Add test for font load 2017-12-04 23:00:56 +08:00
Liu Chao 9b6439232f Add LCUI_PostAsyncTaskTo() for font file loader
The font library are not thread-safe, so we need to operate it on single thread.
2017-12-04 23:00:27 +08:00
Liu Chao 25821ee98e Update LCUI_PrintStyleLink() output format 2017-12-04 22:56:26 +08:00
Liu Chao f392a07a4e Update textlayer style cache processing 2017-12-04 22:55:21 +08:00
Liu Chao 3ad89c1d24 Update font-weight and font-style parsing and computation 2017-12-04 22:54:02 +08:00
Liu Chao fa8ff61d8d Fix: segment fault bug in Graph_FillRectARGB() (#110) 2017-12-03 18:23:06 +08:00
Liu Chao 85f1ef66ba Rename detech to detect, Correct LCUIFont_DetectStyle() return value 2017-12-03 17:52:26 +08:00
Liu Chao 885d97ad4f Fix: memory leak bug in fontlibrary.c 2017-12-03 15:16:55 +08:00
Liu Chao ad81038178 Fix: ‘Font’ redeclared as different kind of symbol at X11/Xlib.h 2017-12-03 14:55:47 +08:00
Liu Chao 3bf8e9d239 Remove including css_parser.h from widget_base.h 2017-12-03 14:53:04 +08:00
Liu Chao 6995e56ba1 Improve the font library query, add the font weight support (#112) 2017-12-02 23:08:47 +08:00
Liu Chao 088db410fc Fix: use of uninitialised value 2017-12-01 21:03:09 +08:00
Liu Chao d9eb92d76d Improve font data storage and operation method 2017-11-30 21:55:53 +08:00
Liu Chao b35e2068da Clear compiler errors 2017-11-28 23:06:20 +08:00
Liu Chao 16f90da799 Add bgcolor tag support, Update LCUI_TextStyle struct naming (#110) 2017-11-27 23:51:58 +08:00
Liu Chao cc2522621f Update ParseUrl() absolute path check 2017-11-27 23:44:36 +08:00
Liu Chao d6d1b3e0d9 Clear compiler warnings and errors 2017-11-26 16:07:23 +08:00
Liu Chao 50f282ed92 Enable some tests 2017-11-26 15:16:28 +08:00
Liu Chao d6e13040c1 Add ParseUrl(), Update style parser functions (#98) 2017-11-26 15:15:55 +08:00
Liu Chao 4dea270b5b Add async font loader for css font-face rule parser (#95) 2017-11-25 23:49:29 +08:00
Liu Chao 27c192ed7b Set LCUI_PostAsyncTask() direct run task when worker are not active 2017-11-25 23:34:03 +08:00
Liu Chao 1074889f5c Rename LCUI_FontStyle to LCUI_CSSFontStyle 2017-11-25 23:31:51 +08:00
Liu Chao 21958229e7 Clear compiler warnings 2017-11-23 23:13:07 +08:00
Liu Chao 14e04f0d0d Improve ending token check for font-face rule data 2017-11-22 22:29:48 +08:00