Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
65 commits
Select commit Hold shift + click to select a range
bb85f2e
littlevgl sample update
xwang98 Apr 22, 2020
8228a15
Merge remote-tracking branch 'upstream/master'
xwang98 Apr 22, 2020
ed3d02e
sample gui update
xwang98 Apr 22, 2020
85c0bc2
Merge branch 'bytecodealliance:main' into master
xwang98 Jul 4, 2021
8c82670
Add TSC members
xwang98 Jul 4, 2021
b554a9d
Implement wasm-c-api frame/trap APIs for interpreter mode (#660)
wenyongh Jul 6, 2021
0f1ce9e
Implement wasm-c-api frame/trap APIs for AOT mode (#663)
wenyongh Jul 13, 2021
ea06c19
Implement wasm-c-api wasm_config related APIs (#665)
wenyongh Jul 15, 2021
e4023c8
Implement AOT support for RISCV (#649)
no1wudi Jul 22, 2021
04e7afe
Update documents (#669)
no1wudi Jul 22, 2021
28f1040
Fix some compile warnings and update document (#670)
wenyongh Jul 22, 2021
5867527
Enable to build wamrc with custom llvm and fix some compile warnings …
no1wudi Jul 26, 2021
d11743b
Enable mpu stack for latest zephyr to enable app manager (#673)
wenyongh Jul 27, 2021
ce2f65f
Merge branch 'master' into main
xwang98 Jul 27, 2021
4193949
Update README.md (#674)
xwang98 Jul 27, 2021
edb184f
Implement most missing wasm-c-api APIs (#303) (#676)
wenyongh Jul 28, 2021
62fb3c9
Unify product-mini main.c implementation for POSIX compatible system …
no1wudi Jul 29, 2021
7cdfc9f
Fix issues reported by gcc -fsanitize flag (#678)
wenyongh Jul 30, 2021
445722c
update the readme.md for TSC member (#681)
xwang98 Aug 2, 2021
541f577
Implement wasm_runtime_init_thread_env for Windows platform (#683)
wenyongh Aug 3, 2021
0db04e0
Fix some compile issues of samples (#690)
wenyongh Aug 6, 2021
8fd89bd
Implement clock() wrapper for built-in libc (#691)
no1wudi Aug 7, 2021
db695fa
Implement XIP feature and enable ARC target support (#694)
wenyongh Aug 12, 2021
6a7fd3e
Make sp 8 byte aligned in invokeNative on ARM (#697)
no1wudi Aug 18, 2021
ef14ace
small doc fixes (#700)
yamt Aug 19, 2021
4735467
Fix issue of conflicting target names in Windows (#702)
mbbill Aug 19, 2021
e80715f
lib-pthread: Fix pthread_create callback arg issue (#701)
yamt Aug 19, 2021
6ef7477
Correct confusing usage of intirnsic check (#707)
no1wudi Aug 27, 2021
5d2882f
Make aot intrinsic flags readable (#711)
no1wudi Sep 1, 2021
1687b7b
Add missing symbols from libgcc for thumb platform (#712)
no1wudi Sep 1, 2021
ee24d78
Fix Debug build error with clang-11 on linux (#714)
yamt Sep 1, 2021
3f316a9
Fix windows compile error and warning (#715)
wenyongh Sep 1, 2021
bb0e450
Move type definition of IntCond and FloatCond to aot.h (#713)
no1wudi Sep 2, 2021
cef7d35
Implement float and integer conversion intrinsics (#718)
no1wudi Sep 2, 2021
3953f81
Use builtin intrinsic for float/integer conversion (#719)
no1wudi Sep 2, 2021
4e4d48e
Fix several coding style and return value unchecked issues (#722)
wenyongh Sep 4, 2021
79f163d
Appease some UBSan complaints (#720)
yamt Sep 4, 2021
336abc2
Fix a build on alpine, whose libc is musl (#726)
yamt Sep 7, 2021
7e60b86
Add ia32 support and fix compiling issue for RT-Thread (#730)
BernardXiong Sep 7, 2021
4b0d608
Enable lazy Orc JIT feature (#732)
wenyongh Sep 7, 2021
00663f0
Import test suites to test spec cases (#736)
wenyongh Sep 9, 2021
b31804b
Apply aot intrinsics to riscv
no1wudi Sep 9, 2021
88192ab
Merge pull request #739 from no1wudi/main
wenyongh Sep 9, 2021
ea835db
Enable wamr-test-suites on MacOS (#740)
yamt Sep 10, 2021
e07b580
Change arg name 'export' to other to fix keyword conflict in C++11 (#…
csegarragonz Sep 11, 2021
b1173d1
Allocate correct space for results before native callback is run (#747)
Sep 13, 2021
ed32693
Fix calling multi-module import func issue (#748)
wenyongh Sep 14, 2021
76d641c
Update wasm_c_api to use vector types (#751)
saju Sep 16, 2021
310feb6
Fix compilation warnings (#754)
wenyongh Sep 16, 2021
7e60a5d
Update document: add SGX to key feature list (#755)
wenyongh Sep 16, 2021
7be0d38
Implement SIMD latest opcodes and update LLVM to 13.0 (#758)
wenyongh Sep 17, 2021
1ad76f4
zephyr: add module.yml and fix riscv compile error (#763)
wenyongh Sep 24, 2021
b5a67cb
Fix several issues of document, spec test script and simd (#767)
wenyongh Sep 29, 2021
9ef37dd
Implement source debugging for interpreter and AOT (#769)
wenyongh Sep 29, 2021
7191ecf
Customize clang-format coding styles based on Mozilla template (#770)
wenyongh Oct 6, 2021
8d9bf18
Make include headers follow strict protoype rule (#773)
kfessel Oct 8, 2021
6415e1b
Apply clang-format for interpreter source files (#772)
wenyongh Oct 8, 2021
52b6c73
Apply clang-format for more src files and update spec test script (#775)
wenyongh Oct 8, 2021
0be1f68
Fix source debugging issues (#776)
xujuntwt95329 Oct 9, 2021
03494f9
Refactor CI rules: merge ubuntu/macos/android, enable spec test (#777)
wenyongh Oct 11, 2021
ee1ae4d
Fix CI issues (#781)
wenyongh Oct 12, 2021
8edca21
Enable triggering workflows on push events (#783)
wenyongh Oct 12, 2021
c94e752
Allow empty import array for wasm-c-api wasm_instance_new (#782)
mykmartin Oct 12, 2021
dc65d29
Set APP_THREAD_STACK_SIZE_DEFAULT/MIN for POSIX platforms (#779)
DS-LK Oct 12, 2021
fb4afc7
Apply clang-format for core/iwasm compilation and libraries (#784)
wenyongh Oct 13, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
146 changes: 22 additions & 124 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# using [clang-formt-12 options](https://releases.llvm.org/12.0.0/tools/clang/docs/ClangFormatStyleOptions.html)
RawStringFormats:
- Language: Cpp
- Language: Cpp
Delimiters:
- c
- C
Expand All @@ -13,35 +14,23 @@ RawStringFormats:
- h
- hpp
CanonicalDelimiter: ''
BasedOnStyle: google
- Language: TextProto
Delimiters:
- pb
- PB
- proto
- PROTO
EnclosingFunctions:
- EqualsProto
- EquivToProto
- PARSE_PARTIAL_TEXT_PROTO
- PARSE_TEST_PROTO
- PARSE_TEXT_PROTO
- ParseTextOrDie
- ParseTextProtoOrDie
CanonicalDelimiter: ''
BasedOnStyle: google
BasedOnStyle: Mozilla

Language: Cpp
BasedOnStyle: Mozilla
# 6.1
IndentWidth: 4
ContinuationIndentWidth: 4
# 6.2
TabWidth: 4
UseTab: Never
# 6.3
ColumnLimit: 80
# 6.9
AlignAfterOpenBracket: Align
AllowAllArgumentsOnNextLine: false
AlignConsecutiveMacros: true
AllowShortBlocksOnASingleLine: true
AlwaysBreakAfterReturnType: All
BinPackArguments: true
BinPackParameters: false
BreakBeforeBinaryOperators: NonAssignment
BinPackParameters: true
# 6.10
BreakBeforeBraces: Custom
BraceWrapping:
AfterCaseLabel: true
Expand All @@ -60,104 +49,13 @@ BraceWrapping:
SplitEmptyFunction: true
SplitEmptyRecord: false
SplitEmptyNamespace: true
ColumnLimit: 79
ContinuationIndentWidth: 2
DerivePointerAlignment: false
IncludeBlocks: Regroup
IncludeCategories:
- Regex: '^"(llvm|llvm-c|clang|clang-c)/'
Priority: 2
- Regex: '^(<|"(gtest|gmock|isl|json)/)'
Priority: 1
- Regex: ".*"
Priority: 3
IndentPPDirectives: None
KeepEmptyLinesAtTheStartOfBlocks: false
NamespaceIndentation: None
PointerAlignment: Right
ReflowComments: false
SortIncludes: false
Standard: Auto
StatementMacros:
- Q_UNUSED
- QT_REQUIRE_VERSION

# AccessModifierOffset: -2
# AlignConsecutiveAssignments: false
# AlignConsecutiveDeclarations: false
# AlignEscapedNewlines: Right
# AlignOperands: true
# AlignTrailingComments: true
# AllowAllConstructorInitializersOnNextLine: true
# AllowAllParametersOfDeclarationOnNextLine: false
# AllowShortCaseLabelsOnASingleLine: false
# AllowShortFunctionsOnASingleLine: Inline
# AllowShortLambdasOnASingleLine: All
# AllowShortIfStatementsOnASingleLine: Never
# AllowShortLoopsOnASingleLine: false
# AlwaysBreakAfterDefinitionReturnType: TopLevel
# AlwaysBreakAfterReturnType: TopLevel
# AlwaysBreakBeforeMultilineStrings: false
# AlwaysBreakTemplateDeclarations: Yes
# BreakBeforeInheritanceComma: false
# BreakInheritanceList: BeforeComma
# BreakBeforeTernaryOperators: true
# BreakConstructorInitializersBeforeComma: false
# BreakConstructorInitializers: BeforeComma
# BreakAfterJavaFieldAnnotations: false
# BreakStringLiterals: true
# CommentPragmas: '^ IWYU pragma:'
# CompactNamespaces: false
# ConstructorInitializerAllOnOneLineOrOnePerLine: false
# ConstructorInitializerIndentWidth: 2
# Cpp11BracedListStyle: false
# DisableFormat: false
# ExperimentalAutoDetectBinPacking: false
# FixNamespaceComments: false
# ForEachMacros:
# - foreach
# - Q_FOREACH
# - BOOST_FOREACH
# IncludeIsMainRegex: '(Test)?$'
# IndentCaseLabels: true
# IndentWrappedFunctionNames: false
# JavaScriptQuotes: Leave
# JavaScriptWrapImports: true
# KeepEmptyLinesAtTheStartOfBlocks: true
# MacroBlockBegin: ''
# MacroBlockEnd: ''
# MaxEmptyLinesToKeep: 1
# ObjCBinPackProtocolList: Auto
# ObjCBlockIndentWidth: 2
# ObjCSpaceAfterProperty: true
# ObjCSpaceBeforeProtocolList: false
# PenaltyBreakAssignment: 2
# PenaltyBreakBeforeFirstCallParameter: 19
# PenaltyBreakComment: 300
# PenaltyBreakFirstLessLess: 120
# PenaltyBreakString: 1000
# PenaltyBreakTemplateDeclaration: 10
# PenaltyExcessCharacter: 1000000
# PenaltyReturnTypeOnItsOwnLine: 200
# SortIncludes: true
# SortUsingDeclarations: true
# SpaceAfterCStyleCast: false
# SpaceAfterLogicalNot: false
# SpaceAfterTemplateKeyword: false
# SpaceBeforeAssignmentOperators: true
# SpaceBeforeCpp11BracedList: false
# SpaceBeforeCtorInitializerColon: true
# SpaceBeforeInheritanceColon: true
# SpaceBeforeParens: ControlStatements
# SpaceBeforeRangeBasedForLoopColon: true
# SpaceInEmptyParentheses: false
# SpacesBeforeTrailingComments: 1
# SpacesInAngles: false
# SpacesInContainerLiterals: true
# SpacesInCStyleCastParentheses: false
# SpacesInParentheses: false
# SpacesInSquareBrackets: false
# TabWidth: 4
# UseTab: Never
# ...
# 6.27
BreakBeforeBinaryOperators: NonAssignment

# additional
AlignEscapedNewlines: Left
AllowAllParametersOfDeclarationOnNextLine: false
AllowAllArgumentsOnNextLine: false
PointerAlignment: Right
SpaceAroundPointerQualifiers: After
SortIncludes: false
16 changes: 16 additions & 0 deletions .clang-tidy
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# refer to https://clang.llvm.org/extra/clang-tidy/checks/list.html

Checks: '-*, readability-identifier-naming, clang-analyzer-core.*,'
WarningsAsErrors: '-*'
HeaderFilterRegex: ''
FormatStyle: file
InheritParentConfig: false
AnalyzeTemporaryDtors: false
User: wamr
CheckOptions:
- key: readability-identifier-naming.VariableCase
value: lower_case
- key: readability-identifier-naming.ParameterCase
value: lower_case
- key: readability-identifier-naming.MacroDefinitionCase
value: UPPER_CASE
91 changes: 0 additions & 91 deletions .github/workflows/android.yml

This file was deleted.

Loading