Skip to content

Commit afc5c0a

Browse files
committed
Added .clang-format, CHANGELOG. Fix for InAppStore transaction states.
1 parent c1cb0cd commit afc5c0a

File tree

11 files changed

+258
-106
lines changed

11 files changed

+258
-106
lines changed

.clang-format

Lines changed: 128 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,128 @@
1+
# Commented out parameters are those with the same value as base LLVM style
2+
# We can uncomment them if we want to change their value, or enforce the
3+
# chosen value in case the base style changes (last sync: Clang 6.0.1).
4+
---
5+
### General config, applies to all languages ###
6+
BasedOnStyle: LLVM
7+
AccessModifierOffset: -4
8+
AlignAfterOpenBracket: DontAlign
9+
# AlignConsecutiveAssignments: false
10+
# AlignConsecutiveDeclarations: false
11+
# AlignEscapedNewlines: Right
12+
# AlignOperands: true
13+
AlignTrailingComments: false
14+
AllowAllParametersOfDeclarationOnNextLine: false
15+
# AllowShortBlocksOnASingleLine: false
16+
AllowShortCaseLabelsOnASingleLine: true
17+
AllowShortFunctionsOnASingleLine: Inline
18+
AllowShortIfStatementsOnASingleLine: true
19+
# AllowShortLoopsOnASingleLine: false
20+
# AlwaysBreakAfterDefinitionReturnType: None
21+
# AlwaysBreakAfterReturnType: None
22+
# AlwaysBreakBeforeMultilineStrings: false
23+
# AlwaysBreakTemplateDeclarations: false
24+
# BinPackArguments: true
25+
# BinPackParameters: true
26+
# BraceWrapping:
27+
# AfterClass: false
28+
# AfterControlStatement: false
29+
# AfterEnum: false
30+
# AfterFunction: false
31+
# AfterNamespace: false
32+
# AfterObjCDeclaration: false
33+
# AfterStruct: false
34+
# AfterUnion: false
35+
# AfterExternBlock: false
36+
# BeforeCatch: false
37+
# BeforeElse: false
38+
# IndentBraces: false
39+
# SplitEmptyFunction: true
40+
# SplitEmptyRecord: true
41+
# SplitEmptyNamespace: true
42+
# BreakBeforeBinaryOperators: None
43+
# BreakBeforeBraces: Attach
44+
# BreakBeforeInheritanceComma: false
45+
BreakBeforeTernaryOperators: false
46+
# BreakConstructorInitializersBeforeComma: false
47+
BreakConstructorInitializers: AfterColon
48+
# BreakStringLiterals: true
49+
ColumnLimit: 0
50+
# CommentPragmas: '^ IWYU pragma:'
51+
# CompactNamespaces: false
52+
ConstructorInitializerAllOnOneLineOrOnePerLine: true
53+
ConstructorInitializerIndentWidth: 8
54+
ContinuationIndentWidth: 8
55+
Cpp11BracedListStyle: false
56+
# DerivePointerAlignment: false
57+
# DisableFormat: false
58+
# ExperimentalAutoDetectBinPacking: false
59+
# FixNamespaceComments: true
60+
# ForEachMacros:
61+
# - foreach
62+
# - Q_FOREACH
63+
# - BOOST_FOREACH
64+
# IncludeBlocks: Preserve
65+
IncludeCategories:
66+
- Regex: '".*"'
67+
Priority: 1
68+
- Regex: '^<.*\.h>'
69+
Priority: 2
70+
- Regex: '^<.*'
71+
Priority: 3
72+
# IncludeIsMainRegex: '(Test)?$'
73+
IndentCaseLabels: true
74+
# IndentPPDirectives: None
75+
IndentWidth: 4
76+
# IndentWrappedFunctionNames: false
77+
# JavaScriptQuotes: Leave
78+
# JavaScriptWrapImports: true
79+
# KeepEmptyLinesAtTheStartOfBlocks: true
80+
# MacroBlockBegin: ''
81+
# MacroBlockEnd: ''
82+
# MaxEmptyLinesToKeep: 1
83+
# NamespaceIndentation: None
84+
# PenaltyBreakAssignment: 2
85+
# PenaltyBreakBeforeFirstCallParameter: 19
86+
# PenaltyBreakComment: 300
87+
# PenaltyBreakFirstLessLess: 120
88+
# PenaltyBreakString: 1000
89+
# PenaltyExcessCharacter: 1000000
90+
# PenaltyReturnTypeOnItsOwnLine: 60
91+
# PointerAlignment: Right
92+
# RawStringFormats:
93+
# - Delimiter: pb
94+
# Language: TextProto
95+
# BasedOnStyle: google
96+
# ReflowComments: true
97+
# SortIncludes: true
98+
# SortUsingDeclarations: true
99+
# SpaceAfterCStyleCast: false
100+
# SpaceAfterTemplateKeyword: true
101+
# SpaceBeforeAssignmentOperators: true
102+
# SpaceBeforeParens: ControlStatements
103+
# SpaceInEmptyParentheses: false
104+
# SpacesBeforeTrailingComments: 1
105+
# SpacesInAngles: false
106+
# SpacesInContainerLiterals: true
107+
# SpacesInCStyleCastParentheses: false
108+
# SpacesInParentheses: false
109+
# SpacesInSquareBrackets: false
110+
TabWidth: 4
111+
UseTab: Always
112+
---
113+
### C++ specific config ###
114+
Language: Cpp
115+
Standard: Cpp03
116+
---
117+
### ObjC specific config ###
118+
Language: ObjC
119+
Standard: Cpp03
120+
ObjCBlockIndentWidth: 4
121+
# ObjCSpaceAfterProperty: false
122+
# ObjCSpaceBeforeProtocolList: true
123+
---
124+
### Java specific config ###
125+
Language: Java
126+
# BreakAfterJavaFieldAnnotations: false
127+
JavaImportGroups: ['org.godotengine', 'android', 'androidx', 'com.android', 'com.google', 'java', 'javax']
128+
...

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
## 2021-01-31
6+
7+
## Fixes
8+
9+
- `InAppStore` plugin now handles additional `transactionState`s.
10+
11+
## 2021-01-27
12+
13+
Initial iOS plugins release.

plugins/arkit/arkit_interface.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ typedef ARVRPositionalTracker GodotARTracker;
5252

5353
typedef PoolVector<uint8_t> GodotUInt8Vector;
5454

55-
#define GODOT_ARKIT_OVERRIDE
55+
#define GODOT_ARKIT_OVERRIDE
5656
#endif
5757

5858
#include "servers/camera/camera_feed.h"

0 commit comments

Comments
 (0)