Commit Graph

8627 Commits

Author SHA1 Message Date
Brian
3c7c4d6368 Add CodeQL Workflow for Code Security Analysis
Add CodeQL Workflow for Code Security Analysis

This pull request introduces a CodeQL workflow to enhance the security analysis of our repository. CodeQL is a powerful static analysis tool that helps identify and mitigate security vulnerabilities in our codebase. By integrating this workflow into our GitHub Actions, we can proactively identify and address potential issues before they become security threats.

We added a new CodeQL workflow file (.github/workflows/codeql.yml) that
- Runs on every pull request (functionality to run on every push to main branches is included as a comment for convenience).
- Runs daily.
- Excludes queries with a high false positive rate or low-severity findings.
- Does not display results for git submodules, focusing only on our own codebase.

Testing:
To validate the functionality of this workflow, we have run several test scans on the codebase and reviewed the results. The workflow successfully compiles the project, identifies issues, and provides actionable insights while reducing noise by excluding certain queries and third-party code.

Deployment:
Once this pull request is merged, the CodeQL workflow will be active and automatically run on every push and pull request to the main branch. To view the results of these code scans, please follow these steps:
1. Under the repository name, click on the Security tab.
2. In the left sidebar, click Code scanning alerts.

Additional Information:
- You can further customize the workflow to adapt to your specific needs by modifying the workflow file.
- For more information on CodeQL and how to interpret its results, refer to the GitHub documentation and the CodeQL documentation (https://codeql.github.com/ and https://codeql.github.com/docs/).

Signed-off-by: Brian <bayuan@purdue.edu>
2023-10-18 16:46:10 -04:00
Brian
3b6edea53b Add CodeQL Workflow for Code Security Analysis
Add CodeQL Workflow for Code Security Analysis

This pull request introduces a CodeQL workflow to enhance the security analysis of our repository. CodeQL is a powerful static analysis tool that helps identify and mitigate security vulnerabilities in our codebase. By integrating this workflow into our GitHub Actions, we can proactively identify and address potential issues before they become security threats.

We added a new CodeQL workflow file (.github/workflows/codeql.yml) that
- Runs on every push and pull request to the main branch.
- Excludes queries with a high false positive rate or low-severity findings.
- Does not display results for third-party code, focusing only on our own codebase.

Testing:
To validate the functionality of this workflow, we have run several test scans on the codebase and reviewed the results. The workflow successfully compiles the project, identifies issues, and provides actionable insights while reducing noise by excluding certain queries and third-party code.

Deployment:
Once this pull request is merged, the CodeQL workflow will be active and automatically run on every push and pull request to the main branch. To view the results of these code scans, please follow these steps:
1. Under the repository name, click on the Security tab.
2. In the left sidebar, click Code scanning alerts.

Additional Information:
- You can further customize the workflow to adapt to your specific needs by modifying the workflow file.
- For more information on CodeQL and how to interpret its results, refer to the GitHub documentation and the CodeQL documentation.

Signed-off-by: Brian <bayuan@purdue.edu>
2023-10-11 19:46:37 -04:00
sparkles43
78645a5967 feat(object_tree): make lv_obj_get_index return error value if the object has no parent (#4152) 2023-04-21 11:40:13 +02:00
sparkles43
312303cb44 fix(obj_tree): update parents of children after swapping (#4150) 2023-04-20 20:29:58 +02:00
bjsylvia
fb50f4abaf fix(fbdev): allocated memory size is insufficient (#4151) 2023-04-20 20:28:06 +02:00
_VIFEXTech
7e20b12930 feat(mem): add lv_strcpy_builtin (#4145)
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2023-04-20 05:35:41 +02:00
Gabriel Wang
7f45d87848 chore(cmsis-pack): List v8.3.6 on Keil.com and update v9.0.0-dev (#4143) 2023-04-19 12:10:55 +02:00
少年老王
bac9d6878a feat(list): add lv_list_set_btn_text (#4142) 2023-04-19 10:08:20 +02:00
Man, Jianting (Meco)
9061a787f7 docs(rt-thread): update rt-thread supported BSPs (up to 21 BSPs) (#4123) 2023-04-18 11:39:48 +02:00
_VIFEXTech
aefb1cd840 fix(table): fix heap buffer overflow (#4131)
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2023-04-18 10:32:35 +02:00
Gabor Kiss-Vamosi
a04f1baf48 Update ROADMAP.md 2023-04-17 21:29:23 +02:00
Gabor Kiss-Vamosi
d34958f588 fix(style): be sure to not add a style with the same selector twice
fixes #4133
2023-04-17 12:52:26 +02:00
Gabor Kiss-Vamosi
1fed654577 fix(textaea): disable arrow scroll 2023-04-16 14:05:24 +02:00
Tomas Rezucha
da278c764b fix(esp): fix ESP-IDF pedantic builds (#4132) 2023-04-14 11:39:24 +02:00
Neo Xu
b770b6c74b feat(txt): any Chinese character should be allowed to break line (#4127)
Signed-off-by: Xuxingliang <xuxingliang@xiaomi.com>
2023-04-12 19:25:14 +02:00
Gabor Kiss-Vamosi
d6cc2ff76f fix(group): do not prefer KEYPAd and ENCODER indevs
fixes #4052
2023-04-12 18:59:19 +02:00
_VIFEXTech
690b1bc1c4 fix(checkbox | label): fix string copy error (#4120)
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2023-04-11 11:59:51 +02:00
_VIFEXTech
f2b161ed57 fix(calendar): fix warning (#4126)
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2023-04-11 11:36:17 +02:00
_VIFEXTech
9eb0c021a9 fix(arduino): fix unsafe log printing (#4125)
Signed-off-by: FASTSHIFT <vifextech@foxmail.com>
2023-04-11 10:57:44 +02:00
Gabor Kiss-Vamosi
862478f152 docs(README): update to GitHub Sponsors 2023-04-11 10:11:55 +02:00
Carlos Diaz
53dcb8cd99 fix: fix lv_strlen_builtin and replace strlen/strcpy with lv_strlen/strncpy (#4114) 2023-04-06 19:41:12 +02:00
Gabor Kiss-Vamosi
efa02eca24 ci(build): in minimal config use default theme disabled, basic theme enabled
fixes: #4111
2023-04-06 09:11:03 +02:00
hanhsuan
401f2dba27 feat(sdl): add lv_sdl_window_set_title() (#4113) 2023-04-06 08:45:54 +02:00
Benign X
12b9e8809e chore: change sdl simulator name (#4109) 2023-04-03 17:25:13 +02:00
Gabor Kiss-Vamosi
20e1ae2130 docs: udpate changelog 2023-04-03 10:30:48 +02:00
Gabor Kiss-Vamosi
fd08c81745 fix(bar): delete running animations when a new value is set without animation
fixes #4094
2023-04-03 10:26:22 +02:00
Benign X
02b5611517 chore: simplify and flatten code (#4097) 2023-03-31 09:56:21 +02:00
Benign X
74c415536f chore: remove useless include (#4096) 2023-03-31 09:46:10 +02:00
Benign X
4a4c9fdd3c chore: fix comment @param orders (#4095) 2023-03-31 09:45:00 +02:00
Gabor Kiss-Vamosi
2e536491bf Update FUNDING.yml 2023-03-30 11:50:47 +02:00
Carlos Diaz
609e2d34d7 fix(checkbox): check for mem allocation failure in set_text (#4089) 2023-03-29 09:15:55 +02:00
Gabor Kiss-Vamosi
639e6b7b42 fix(gh-codespace): add intellisense settings 2023-03-28 15:30:33 +00:00
Gabor Kiss-Vamosi
e5279bdbec feat: add GitHub code space support 2023-03-28 15:19:47 +02:00
Gabor Kiss-Vamosi
4c922cab0f fix(arc): fix knob area invalidation 2023-03-28 14:02:04 +02:00
Benign X
5a66e0af88 fix(lv_img_buf): fix LV_IMG_SIZE_MODE_REAL doesn't work properly (#4086) 2023-03-27 09:48:21 +02:00
CMoranMINTL
5371e4e483 fix(chart,ticks): change line chart ticks (#3980) 2023-03-24 09:28:43 +01:00
Carlos Diaz
61b46756f6 ci(malloc): add malloc/realloc/free stub in unit tests (#4078) 2023-03-24 09:06:16 +01:00
Carlos Diaz
03142218e3 fix(span): add malloc result checks (#4085) 2023-03-24 09:04:07 +01:00
Benign X
490bc2b00e fix(lv_obj_class): simplify malloc routine (#4082) 2023-03-23 11:18:38 +01:00
Benign X
537975fa55 fix(lv_draw_sw_blend): fix wrong limitation range (#4079) 2023-03-23 03:52:58 +01:00
Gabor Kiss-Vamosi
b466913494 example(calendar): fix lv_example_calendar_1.py 2023-03-23 03:35:07 +01:00
Gabor Kiss-Vamosi
7efd153402 fix(refr): use of color struct with LV_USE_REFR_DEBUG 2023-03-23 00:25:42 +01:00
Gabor Kiss-Vamosi
a6880eb825 docs(disp): use px_map parameter name instead of color_p
related to https://github.com/lvgl/lv_binding_micropython/issues/263#issuecomment-1477790684
2023-03-22 10:07:01 +01:00
Carlos Diaz
68b6fc7bcf meter: Return early on malloc failure (#4077) 2023-03-21 13:48:52 +01:00
Gabor Kiss-Vamosi
f43a0bcb98 fix failing tests 2023-03-20 14:33:12 +01:00
Gabor Kiss-Vamosi
1faa4c8d7a revert(event): use original_target and target to follow JS conventions
fixes #4050
2023-03-20 14:24:21 +01:00
Gabor Kiss-Vamosi
cdcd6cf5ef fix(win_fs): add #include <limits.h>
fixes #4069
2023-03-17 17:02:31 +01:00
Gabor Kiss-Vamosi
c7b26a27b6 test(fs): fix typo, change rd -> r in fopen 2023-03-17 16:34:58 +01:00
Gabor Kiss-Vamosi
d855ba8830 fix(chart): fix rounding error in lv_chart_get_point_pos_by_id
fixes #4064
2023-03-17 10:56:53 +01:00
Benign X
9029733b3b chore: fix warnings (#4067)
Signed-off-by: W-Mai <1341398182@qq.com>
2023-03-16 17:53:05 +01:00