diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 0a7808a..dd54838 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -126,6 +126,12 @@ HIG The recommended HIG is [KDE one](https://techbase.kde.org/Projects/Usability/HIG). +Licensing +--------- + +All files should be licensed under GPLv3, the owner of the license should be the +project (i.e. **awesome-widgets**). See **Tools** section for more details. + Logging ------- @@ -212,7 +218,7 @@ Tools // declare with default value bool m_prop = false; ``` -* Use `cppcheck` to avoid common errors in the code. Refer to `utils` for more - details. -* Use `clang-format` to apply valid code format. Refer to `utils` for more - details. +* Use `cppcheck` to avoid common errors in the code. To start application just + run `make cppcheck`. +* Use `clang-format` to apply valid code format. To start application just run + `make clangformat`. diff --git a/utils/.clang-format b/sources/.clang-format similarity index 96% rename from utils/.clang-format rename to sources/.clang-format index 9baa1fd..b4b4e86 100644 --- a/utils/.clang-format +++ b/sources/.clang-format @@ -9,7 +9,7 @@ AlignTrailingComments: true AllowAllParametersOfDeclarationOnNextLine: true AllowShortBlocksOnASingleLine: false AllowShortCaseLabelsOnASingleLine: false -AllowShortFunctionsOnASingleLine: All +AllowShortFunctionsOnASingleLine: Inline AllowShortIfStatementsOnASingleLine: false AllowShortLoopsOnASingleLine: false AlwaysBreakAfterDefinitionReturnType: None @@ -37,7 +37,7 @@ IndentWrappedFunctionNames: false KeepEmptyLinesAtTheStartOfBlocks: true MacroBlockBegin: '' MacroBlockEnd: '' -MaxEmptyLinesToKeep: 1 +MaxEmptyLinesToKeep: 2 NamespaceIndentation: None ObjCBlockIndentWidth: 2 ObjCSpaceAfterProperty: false diff --git a/sources/.idea/codeStyleSettings.xml b/sources/.idea/codeStyleSettings.xml new file mode 100644 index 0000000..e46bb42 --- /dev/null +++ b/sources/.idea/codeStyleSettings.xml @@ -0,0 +1,41 @@ + + + + + + \ No newline at end of file diff --git a/sources/.idea/sources.iml b/sources/.idea/sources.iml index fa1fc54..5fc47ca 100644 --- a/sources/.idea/sources.iml +++ b/sources/.idea/sources.iml @@ -66,6 +66,8 @@ + + diff --git a/sources/.idea/workspace.xml b/sources/.idea/workspace.xml index 319fa3b..92726ab 100644 --- a/sources/.idea/workspace.xml +++ b/sources/.idea/workspace.xml @@ -6,8 +6,10 @@ + + @@ -21,38 +23,88 @@ + + + + + + + + + + + + + - - - + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + + + + - - + + + - + @@ -74,40 +126,68 @@ - - + + - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -116,10 +196,37 @@ @@ -191,6 +298,24 @@ + + + + + + + + true + + + @@ -387,7 +554,15 @@ - + + + + + + + + + @@ -399,6 +574,8 @@ + + @@ -415,27 +592,46 @@ - + - + - - - + + + - - + + - - + + + + + + + + + + + + + + + + + + + + +