Commit Graph
3225 Commits
Author SHA1 Message Date
Liu 4e7aaee434 docs: update table of contents 2020-01-19 17:48:25 +08:00
Liu 7f50550a02 docs: add config.win.h.in usage 2020-01-19 17:48:25 +08:00
Liu f9c924faac build: update config.win.h.in 2020-01-19 17:48:24 +08:00
Liu cecb39331a test: update test_render.c 2020-01-19 17:48:23 +08:00
Liu c81da291af perf: improve dirty rectangle collection 2020-01-19 17:48:22 +08:00
d4yvectorandLiu d8583337fb perf: add OpenMP support for widget rendering (#118) (#189)
* perf: Add OpenMP support for widget rendering (#118)

- Modified src/Makefile.am and added compiler option.
- Modified src/display.c and added preprocessor directives for OpenMP.
- To check whether multithreading is possible, the string is output to standard output. However, I will remove it before merging.

* test: add rendering performance test

* build: add OpenMP configure option

* refactor: change include path of `config.h` and remove printf()

* perf: split the dirty rectangles into four parts for rendering

* fix(linux): missing surface size access method

* refactor(display): update dirty rectangle collection method

* test: update test_render.c

* build: add vs project file for test render

* fix(display): Convert `rects` list to array and follow a "Canonical Loop Form" defined in OpenMP

* refactor: Change where variable i is initialized

* fix: Widget_GenerateHash() not work

* test: improved widget update performance

Co-authored-by: Liu <lc-soft@live.cn>
2020-01-19 17:48:21 +08:00
Vasilyy 460354c489 build: fix package name in debian control file (#177) (#188)
Rename package lcui1 -> liblcui1.
2019-12-11 14:46:38 +08:00
Liu dabe1cb64c docs: update README.md 2019-12-10 21:00:17 +08:00
Liu acd29f950e chore: remove unused dependency 2019-12-09 22:19:50 +08:00
Liu 460ee00d4e fix(builder): comment node should be ignore 2019-12-09 22:18:59 +08:00
Liu 12a6b947eb refactor(util): set logger handler in LCUI_InitBase() 2019-12-09 22:16:46 +08:00
Liu c47a6c0fac fix(font): FontBitmap_Free() memory leak 2019-12-09 22:15:28 +08:00
Liu 2e4cab4e30 style(util): add the const keyword to decorate parameter 2019-12-01 19:52:31 +08:00
Liu 2929ea6e7e build(scripts): remove build-win-dist.js 2019-12-01 19:44:31 +08:00
Liu 20abb19ce3 fix(util): the preset dict types are not exported correctly 2019-12-01 19:44:30 +08:00
d4yvector 6d54685bfe fix(font): fix to get the correct file path (#187)
Change to include config.h.
However, applying this change will cause memory leak in make test.
2019-11-27 16:16:59 +08:00
Anshul Chauhan 02384f599a docs: update README.md (#185)
Updates in this commit:

- Update the broken link to Contributing file
- Update a minor grammatical error

Fixes #184
2019-10-20 22:28:51 +08:00
maximelkin 480737bc48 ci: fix codecov for clang (#183)
* fix: collecting codecov for clang

* fix: return back codecov for gcc

* fix: travis.yml fix back

* fix: enable codecov for clang
2019-10-19 10:55:45 +08:00
Liu d52bae5b03 docs: update CHANGELOG.md v1.3.0 2019-10-08 20:45:08 +08:00
Liu d6315c588d fix(font): failed to get bitmap when font_size > 18 2019-10-08 20:31:32 +08:00
Liu 45444def49 test: remove unused function declaration 2019-10-07 14:14:44 +08:00
Liu 778912dcd5 build(vs): update build configuration 2019-10-07 14:14:44 +08:00
Liu 6b122ebe37 build(lcpkg): update package config 2019-10-07 14:14:43 +08:00
Liu d689971704 build(lcpkg): add CMakeLists.txt for libxml2-lite 2019-10-07 14:14:43 +08:00
Liu 085c15083d style: clear compiler warnings 2019-10-07 14:14:42 +08:00
Liu d0048c2e85 test: update box-shadow tests 2019-10-07 14:14:42 +08:00
Liu 4a78f74bca docs: add lcui-cli usage 2019-10-07 14:14:41 +08:00
Liu 68696831c4 fix(css): setting font style parser's style_handler doesn't work 2019-10-07 14:14:41 +08:00
Liu 811585bdcd feat(gui): add Widget_CollectReferences() 2019-10-07 14:14:40 +08:00
Liu 2d7d1ee6fd feat(gui): add Widget_Each() 2019-10-07 14:14:39 +08:00
Liu 0ece33305f ci: remove notifications 2019-10-07 14:14:39 +08:00
Liu 8b8d3047f2 ci: remove apt update 2019-10-07 14:14:38 +08:00
Liu 4fed5bdd04 chore: add FIXME comments 2019-10-07 14:14:38 +08:00
Liu f2f91627e5 feat(scrollbar): capture touch and mousewheel events from the container 2019-10-07 14:14:38 +08:00
Liu 0f26c8b657 fix(gui): event target selection bug when widget pointer-events is none 2019-10-07 14:14:37 +08:00
Liu f36d071bf3 feat: add rounded border rendering (#174) 2019-10-07 14:14:36 +08:00
dependabot[bot] f9acbef071 build(deps): bump lodash from 4.17.11 to 4.17.15 (#179)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.11 to 4.17.15.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.11...4.17.15)

Signed-off-by: dependabot[bot] <support@github.com>
2019-10-07 14:14:35 +08:00
dependabot[bot] bafea79169 build(deps): bump js-yaml from 3.12.2 to 3.13.1 (#178)
Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 3.12.2 to 3.13.1.
- [Release notes](https://github.com/nodeca/js-yaml/releases)
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nodeca/js-yaml/compare/3.12.2...3.13.1)

Signed-off-by: dependabot[bot] <support@github.com>
2019-10-07 14:14:35 +08:00
Liu 1cf05af698 docs: update README.md 2019-10-07 14:14:34 +08:00
Liu Chao 484c3d7be5 fix(display): memory leak from X11Surface_SetCaptionW() 2019-10-07 14:14:34 +08:00
Liu Chao 9b4841e059 build: add debian directory for build .deb package 2019-10-07 14:14:33 +08:00
Liu Chao 7414b6896b build(automake): keep pkgconfigdir default 2019-10-07 14:14:33 +08:00
Liu Chao 904fc6b6d2 test: exclude test_widget() from test.c 2019-10-07 14:14:32 +08:00
Liu Chao 36d656d664 test: remove png file output 2019-10-07 14:14:32 +08:00
Liu 666cb99efa docs: update README.md (#176) 2019-10-07 14:14:31 +08:00
Liu Chao f9ecdb7fcf refactor: make config.h private 2019-10-07 14:14:31 +08:00
Liu d827767b9b fix(gui): TextEdit placeholder are not working 2019-10-07 14:14:30 +08:00
Liu 3f9450c4c8 fix(util): ParseUrl() parsing result is incorrect 2019-10-07 14:14:30 +08:00
Liu de40c7c513 feat: add LCUI_GetVersion() 2019-10-07 14:14:29 +08:00
Liu a425987659 chore(vscode): update settings.json 2019-10-07 14:14:28 +08:00