Skip to content

Commit 6b49a76

Browse files
authored
Merge branch 'master' into feature/client-side-jetpack
2 parents dcfde02 + ffd10da commit 6b49a76

1,350 files changed

Lines changed: 39632 additions & 31863 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: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ Cpp11BracedListStyle: true
5555
DerivePointerAlignment: false
5656
DisableFormat: false
5757
ExperimentalAutoDetectBinPacking: false
58-
FixNamespaceComments: true
58+
FixNamespaceComments: false
5959
ForEachMacros:
6060
- foreach
6161
- Q_FOREACH
@@ -70,6 +70,7 @@ IncludeCategories:
7070
Priority: 3
7171
IncludeIsMainRegex: '([-_](test|unittest))?$'
7272
IndentCaseLabels: true
73+
InsertNewlineAtEOF: true
7374
IndentPPDirectives: BeforeHash
7475
IndentWidth: 4
7576
IndentWrappedFunctionNames: false
@@ -99,7 +100,7 @@ SpaceAfterTemplateKeyword: true
99100
SpaceBeforeAssignmentOperators: true
100101
SpaceBeforeParens: ControlStatements
101102
SpaceInEmptyParentheses: false
102-
SpacesBeforeTrailingComments: 12
103+
SpacesBeforeTrailingComments: 2
103104
SpacesInAngles: false
104105
SpacesInContainerLiterals: false
105106
SpacesInCStyleCastParentheses: false

.clang-tidy

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
Checks: 'readability-braces-around-statements,modernize-redundant-void-arg'
3+
CheckOptions:
4+
- key: readability-braces-around-statements.ShortStatementLines
5+
value: '2'

.git-blame-ignore-revs

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,3 +259,33 @@ e7c3619a5d5e0b6bf352befde6ff33c5921032b2
259259
# Date: Wed Jan 7 16:42:45 2026 -0500
260260
#
261261
# codemod: disable clang-format for `__asm` directives (#4611)
262+
263+
c2a0ba939f0fabba96450d02ec56a111658230d6
264+
# Author: qaisjp <qaisjp@gmail.com>
265+
# Date: Sat Jan 17 10:20:18 2026 -0500
266+
#
267+
# Run ./utils/clang-format.ps1
268+
269+
6be278d2d37f5f9686984856b72573290852ed74
270+
# Author: Qais Patankar <qaisjp@gmail.com>
271+
# Date: Sat Jan 17 17:14:10 2026 -0500
272+
#
273+
# Remove more FixNamespaceComments changes (#4638)
274+
275+
a665e0144e7f71a4c7898f024262393f019f6b7b
276+
# Author: qaisjp <qaisjp@gmail.com>
277+
# Date: Sat Jan 17 17:30:03 2026 -0500
278+
#
279+
# Revert back to pre-enforcement
280+
281+
7cd17bc67c5c2d631b6aaac1ac48521b6922045e
282+
# Author: qaisjp <qaisjp@gmail.com>
283+
# Date: Mon Jan 19 01:50:18 2026 -0500
284+
#
285+
# fastmod '} // namespace [a-zA-Z0-9]+$' '}' Client/ Server/ Shared/
286+
287+
e75ba93362c6ae99d30a95d3f20a1e04ba46a22e
288+
# Author: qaisjp <qaisjp@gmail.com>
289+
# Date: Mon Jan 19 02:08:21 2026 -0500
290+
#
291+
# Run utils/clang-format.ps1

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
*.hh text diff=cpp
1010
*.hpp text diff=cpp
1111
*.h++ text diff=cpp
12+
*.json text eol=lf
1213
*.rc text
1314
*.vcproj text eol=crlf
1415
*.sln text eol=crlf
@@ -23,6 +24,7 @@
2324
*.nsh text
2425
*.xsd text
2526
*.po text
27+
*.ps1 text eol=lf
2628
*.ico binary
2729
*.png binary
2830
*.bmp binary

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,21 @@
1-
Before you go ahead and create a pull request, please make sure:
1+
#### Summary
2+
<!-- What change are you making? -->
3+
<!-- When changing Lua APIs, consider including code samples and documentation. -->
24

3-
* [ ] [your code follows the coding guidelines](https://wiki.multitheftauto.com/index.php?title=Coding_guidelines)
4-
* [ ] your commit messages are informative ("update file.cpp" is unhelpful. "fix missing model in getVehicleNameFromModel" is helpful)
55

6-
If your work is incomplete, **do not prefix your pull request with "WIP"**, instead
7-
create a _draft_ pull request: https://github.blog/2019-02-14-introducing-draft-pull-requests/
86

9-
Thank you!
7+
#### Motivation
8+
<!-- Why are you making this change? Which GitHub issue does this resolve, if any? Any additional context? -->
9+
10+
11+
12+
#### Test plan
13+
<!-- How have you tested this change? This should give confidence to the reviewer -->
14+
<!-- If someone makes changes to this code in the future, what steps can they follow to check that it's still working correctly? -->
15+
16+
17+
18+
#### Checklist
19+
20+
* [ ] Your code should follow the [coding guidelines](https://wiki.multitheftauto.com/index.php?title=Coding_guidelines).
21+
* [ ] Smaller pull requests are easier to review. If your pull request is beefy, your pull request should be reviewable commit-by-commit.

.github/workflows/clang-format.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: clang-format
2+
3+
on: [push, pull_request, workflow_dispatch]
4+
5+
jobs:
6+
clang-format:
7+
runs-on: ubuntu-24.04
8+
9+
steps:
10+
- name: Checkout code
11+
uses: actions/checkout@v4
12+
13+
- name: Run clang-format
14+
shell: pwsh
15+
run: ./utils/clang-format.ps1 -Verbose

.github/workflows/rebuild-pots.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
name: "Rebuild en_US pot files"
22

3-
on: [push, workflow_dispatch]
3+
on:
4+
schedule:
5+
- cron: '0 0 * * 1' # Every Monday at 00:00 UTC
6+
workflow_dispatch:
47

58
jobs:
69
test:

.github/workflows/sync-master-to-maetro.yaml

Lines changed: 0 additions & 52 deletions
This file was deleted.

.gitignore

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -83,13 +83,6 @@ Makefile
8383
*.make
8484
obj/
8585

86-
### VisualStudioCode ###
87-
.vscode/*
88-
#!.vscode/settings.json
89-
#!.vscode/tasks.json
90-
#!.vscode/launch.json
91-
#!.vscode/extensions.json
92-
9386
### Windows ###
9487
# Windows thumbnail cache files
9588
Thumbs.db

.vscode/extensions.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
// See https://go.microsoft.com/fwlink/?LinkId=827846 to learn about workspace recommendations.
3+
// Extension identifier format: ${publisher}.${name}. Example: vscode.csharp
4+
5+
// List of extensions which should be recommended for users of this workspace.
6+
"recommendations": [
7+
"ms-vscode.powershell", // provides formatter for PowerShell scripts
8+
"sleistner.vscode-fileutils" // generally helpful so you can easily delete files via the command palette
9+
],
10+
// List of extensions recommended by VS Code that should not be recommended for users of this workspace.
11+
"unwantedRecommendations": [
12+
13+
]
14+
}

0 commit comments

Comments
 (0)