lc-soft / LCUI

C library for building user interfaces
https://lcui-dev.github.io
MIT License
4.12k stars 356 forks source link

refactor: remove the dependency of libplatform on LCUI #294

Closed lc-soft closed 1 year ago

commit-lint[bot] commented 1 year ago

Code Refactoring

Contributors

lc-soft

Commit-Lint commands
You can trigger Commit-Lint actions by commenting on this PR: - `@Commit-Lint merge patch` will merge dependabot PR on "patch" versions (X.X.Y - Y change) - `@Commit-Lint merge minor` will merge dependabot PR on "minor" versions (X.Y.Y - Y change) - `@Commit-Lint merge major` will merge dependabot PR on "major" versions (Y.Y.Y - Y change) - `@Commit-Lint merge disable` will desactivate merge dependabot PR - `@Commit-Lint review` will approve dependabot PR - `@Commit-Lint stop review` will stop approve dependabot PR
codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 61.36% and project coverage change: +1.96 :tada:

Comparison is base (2f33c78) 58.32% compared to head (f1f19bd) 60.28%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## v3.0-dev #294 +/- ## ============================================ + Coverage 58.32% 60.28% +1.96% ============================================ Files 158 155 -3 Lines 16431 15824 -607 ============================================ - Hits 9583 9540 -43 + Misses 6848 6284 -564 ``` | [Impacted Files](https://codecov.io/gh/lc-soft/LCUI/pull/294?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Liu) | Coverage Δ | | |---|---|---| | [lib/platform/src/app.c](https://codecov.io/gh/lc-soft/LCUI/pull/294?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Liu#diff-bGliL3BsYXRmb3JtL3NyYy9hcHAuYw==) | `91.66% <ø> (ø)` | | | [lib/platform/src/clipboard.c](https://codecov.io/gh/lc-soft/LCUI/pull/294?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Liu#diff-bGliL3BsYXRmb3JtL3NyYy9jbGlwYm9hcmQuYw==) | `96.29% <ø> (+15.21%)` | :arrow_up: | | [lib/platform/src/events.c](https://codecov.io/gh/lc-soft/LCUI/pull/294?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Liu#diff-bGliL3BsYXRmb3JtL3NyYy9ldmVudHMuYw==) | `59.79% <ø> (ø)` | | | [lib/platform/src/linux/linux\_ime.c](https://codecov.io/gh/lc-soft/LCUI/pull/294?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Liu#diff-bGliL3BsYXRmb3JtL3NyYy9saW51eC9saW51eF9pbWUuYw==) | `100.00% <ø> (+86.95%)` | :arrow_up: | | [lib/platform/src/linux/linux\_keyboard.c](https://codecov.io/gh/lc-soft/LCUI/pull/294?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Liu#diff-bGliL3BsYXRmb3JtL3NyYy9saW51eC9saW51eF9rZXlib2FyZC5j) | `10.00% <0.00%> (ø)` | | | [lib/platform/src/linux/uri.c](https://codecov.io/gh/lc-soft/LCUI/pull/294?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Liu#diff-bGliL3BsYXRmb3JtL3NyYy9saW51eC91cmkuYw==) | `0.00% <ø> (ø)` | | | [lib/ui-widgets/src/anchor.c](https://codecov.io/gh/lc-soft/LCUI/pull/294?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Liu#diff-bGliL3VpLXdpZGdldHMvc3JjL2FuY2hvci5j) | `7.20% <ø> (ø)` | | | [lib/ui-widgets/src/textedit.c](https://codecov.io/gh/lc-soft/LCUI/pull/294?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Liu#diff-bGliL3VpLXdpZGdldHMvc3JjL3RleHRlZGl0LmM=) | `52.99% <ø> (ø)` | | | [src/lcui.c](https://codecov.io/gh/lc-soft/LCUI/pull/294?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Liu#diff-c3JjL2xjdWkuYw==) | `75.64% <ø> (ø)` | | | [src/lcui\_settings.c](https://codecov.io/gh/lc-soft/LCUI/pull/294?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Liu#diff-c3JjL2xjdWlfc2V0dGluZ3MuYw==) | `100.00% <ø> (ø)` | | | ... and [7 more](https://codecov.io/gh/lc-soft/LCUI/pull/294?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Liu) | | ... and [3 files with indirect coverage changes](https://codecov.io/gh/lc-soft/LCUI/pull/294/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Liu) Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Liu). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Liu)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.