Skip to content

Commit 6c312f7

Browse files
committed
Initial commit. Alpha of ui-slim
- Base working UI
0 parents  commit 6c312f7

86 files changed

Lines changed: 12750 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.clang-format

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
# Project: Crankshaft
2+
# This file is part of Crankshaft project.
3+
# Copyright (C) 2025 OpenCarDev Team
4+
#
5+
# Crankshaft is free software: you can redistribute it and/or modify
6+
# it under the terms of the GNU General Public License as published by
7+
# the Free Software Foundation; either version 3 of the License, or
8+
# (at your option) any later version.
9+
#
10+
# Crankshaft is distributed in the hope that it will be useful,
11+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
12+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13+
# GNU General Public License for more details.
14+
#
15+
# You should have received a copy of the GNU General Public License
16+
# along with Crankshaft. If not, see <http://www.gnu.org/licenses/>.
17+
18+
# Inherit from project root .clang-format if it exists
19+
# This configuration follows Google C++ Style Guide with Qt-specific adjustments
20+
21+
BasedOnStyle: Google
22+
IndentWidth: 4
23+
UseTab: Never
24+
ColumnLimit: 100
25+
ReflowComments: true
26+
27+
# Qt-specific settings
28+
AccessModifierOffset: -4
29+
ConstructorInitializerIndentWidth: 4
30+
ContinuationIndentWidth: 4
31+
32+
# Includes
33+
SortIncludes: true
34+
IncludeBlocks: Regroup
35+
IncludeCategories:
36+
- Regex: '^<Qt'
37+
Priority: 2
38+
- Regex: '^<crankshaft'
39+
Priority: 3
40+
- Regex: '^<'
41+
Priority: 1
42+
- Regex: '.*'
43+
Priority: 4
44+
45+
# Spacing
46+
SpaceBeforeParens: ControlStatements
47+
SpaceInEmptyParentheses: false
48+
SpaceBeforeRangeBasedForLoopColon: true
49+
50+
# Line breaks
51+
AlwaysBreakTemplateDeclarations: true
52+
BreakBeforeBraces: Attach
53+
54+
# Pointer alignment
55+
PointerAlignment: Left
56+
57+
# Comments
58+
SpaceAfterLogicalNot: false

.gitattributes

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# Enforce LF line endings repo-wide
2+
* text eol=lf
3+
4+
# Shell scripts should always use LF
5+
*.sh text eol=lf
6+
7+
# Windows scripts: still enforce LF to keep consistency across WSL/CI
8+
*.ps1 text eol=lf
9+
*.bat text eol=lf
10+
*.cmd text eol=lf
11+
12+
# Dockerfile should use LF
13+
Dockerfile text eol=lf
14+
15+
# Source code
16+
*.cpp text eol=lf
17+
*.hpp text eol=lf
18+
*.h text eol=lf
19+
*.c text eol=lf
20+
*.cc text eol=lf
21+
*.cxx text eol=lf
22+
23+
# CMake files
24+
*.cmake text eol=lf
25+
CMakeLists.txt text eol=lf
26+
27+
# Configuration files
28+
*.json text eol=lf
29+
*.xml text eol=lf
30+
*.yml text eol=lf
31+
*.yaml text eol=lf
32+
*.conf text eol=lf
33+
*.ini text eol=lf
34+
*.ts text eol=lf
35+
*.qml text eol=lf
36+
37+
# Documentation
38+
*.md text eol=lf
39+
*.txt text eol=lf
40+
41+
# Binary files
42+
*.png binary
43+
*.jpg binary
44+
*.jpeg binary
45+
*.gif binary
46+
*.ico binary
47+
*.pdf binary

0 commit comments

Comments
 (0)