mirror of
https://github.com/estkme-group/lpac
synced 2025-08-18 01:52:56 +02:00
* refactor(driver): make json_print() reusable
So we can get rid of redefinition issue of json_print() and use helper.h
in all driver code.
Signed-off-by: Coelacanthus <uwu@coelacanthus.name>
* refactor(driver): use __attribute__((cleanup)) to do SBRM
Signed-off-by: Coelacanthus <uwu@coelacanthus.name>
* refactor: split helpers of driver into a new object library
* To use in lpac frontend code.
* To add lpac path prefix to avoid common header name conflict.
Signed-off-by: Coelacanthus <uwu@coelacanthus.name>
* chore(gitignore): add clangd per-project index directory
Signed-off-by: Coelacanthus <uwu@coelacanthus.name>
* refactor(src): use __attribute__((cleanup)) to do SBRM
Signed-off-by: Coelacanthus <uwu@coelacanthus.name>
* fix(applet/notification/replay): tidy #include usage
Signed-off-by: Coelacanthus <uwu@coelacanthus.name>
* fix(applet/profile/download): memory leak of error_detail
In current code, we always do strdup() on error_detail to avoid invoking
free() on static string. It's safe but will cause memory leak. Let's do
strdup() when assign static string to error_detail to avoid memory leak
and still keep safe.
Signed-off-by: Coelacanthus <uwu@coelacanthus.name>
* fix(mingw): get rid of MinGW's stupid interface macro definition
In [1], they defined interface to struct although the code is not
Object-C or Object-C++. It's stupid and violate C/C++ standard: all
identifiers used by compiler or standard library should either be
a keyword, or be start with an underline plus a uppercase latter or two
underline to avoid conflict with user defined identifiers.
[1]: a51690d44e
Signed-off-by: Coelacanthus <uwu@coelacanthus.name>
* refactor(lpac): remove unnecessary goto logic
Signed-off-by: Coelacanthus <uwu@coelacanthus.name>
---------
Signed-off-by: Coelacanthus <uwu@coelacanthus.name>
27 lines
336 B
Text
27 lines
336 B
Text
CMakeLists.txt.user
|
|
CMakeCache.txt
|
|
CMakeFiles
|
|
CMakeScripts
|
|
Testing
|
|
Makefile
|
|
cmake_install.cmake
|
|
install_manifest.txt
|
|
compile_commands.json
|
|
CTestTestfile.cmake
|
|
_deps
|
|
.vscode*
|
|
.DS_Store
|
|
|
|
# clangd per-project index
|
|
.cache/clangd
|
|
|
|
# version
|
|
/src/version.h
|
|
|
|
# for package files
|
|
lpac_*.deb
|
|
lpac-*.zip
|
|
|
|
# for clion ignores
|
|
.idea
|
|
cmake-build-*
|