Skip to content

Commit

Permalink
Release of v0.4.0-alpha
Browse files Browse the repository at this point in the history
  • Loading branch information
ceeac committed Nov 11, 2018
2 parents 78c6b9d + f1f749a commit 874fb7f
Show file tree
Hide file tree
Showing 2,688 changed files with 176,453 additions and 353,442 deletions.
114 changes: 114 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
---
BasedOnStyle: WebKit
Language: Cpp
Standard: Cpp11
UseTab: Never
TabWidth: 4
IndentWidth: 4
ContinuationIndentWidth: 4
ColumnLimit: 100

AccessModifierOffset: -4
ConstructorInitializerIndentWidth: 4
AlignAfterOpenBracket: Align
AlignConsecutiveAssignments: true
AlignConsecutiveDeclarations: false
AlignEscapedNewlines: Right
AlignOperands: true
AlignTrailingComments: true

AllowAllParametersOfDeclarationOnNextLine: false
AllowShortBlocksOnASingleLine: true
AllowShortCaseLabelsOnASingleLine: true
AllowShortFunctionsOnASingleLine: InlineOnly
AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
AlwaysBreakAfterReturnType: None
AlwaysBreakBeforeMultilineStrings: false
AlwaysBreakTemplateDeclarations: true

BinPackArguments: true
BinPackParameters: true
BreakBeforeBinaryOperators: None
BreakBeforeTernaryOperators: true
BreakConstructorInitializers: BeforeComma
# BreakInheritanceList: BeforeComma
BreakStringLiterals: true
BreakBeforeBraces: Custom
BraceWrapping:
AfterClass: true
AfterControlStatement: false
AfterEnum: true
AfterFunction: true
AfterNamespace: true
AfterStruct: true
AfterUnion: true
AfterExternBlock: true
BeforeCatch: true
BeforeElse: true
IndentBraces: false
SplitEmptyFunction: true
SplitEmptyNamespace: true

CompactNamespaces: true
ConstructorInitializerAllOnOneLineOrOnePerLine: false
ConstructorInitializerIndentWidth: 4
Cpp11BracedListStyle: false
DerivePointerAlignment: false
DisableFormat: false
ExperimentalAutoDetectBinPacking: false
FixNamespaceComments: false
ForEachMacros: []

IncludeBlocks: Regroup
IncludeCategories:
- Regex: '^"boomerang/'
Priority: 3
- Regex: '^"boomerang'
Priority: 2
- Regex: '^<Q.*>'
Priority: 4
- Regex: '^<.*>'
Priority: 5
- Regex: '.*'
Priority: 1

IndentCaseLabels: false
IndentPPDirectives: AfterHash
IndentWrappedFunctionNames: false
KeepEmptyLinesAtTheStartOfBlocks: false
MaxEmptyLinesToKeep: 2
NamespaceIndentation: None

# Penalties
PenaltyBreakAssignment: 1000
PenaltyBreakBeforeFirstCallParameter: 20
PenaltyBreakComment: 300
PenaltyBreakFirstLessLess: 120
PenaltyBreakString: 1000
# PenaltyBreakTemplateDeclaration: 1000
PenaltyExcessCharacter: 1000000
PenaltyReturnTypeOnItsOwnLine: 60

PointerAlignment: Right

ReflowComments: true
SortIncludes: true
SortUsingDeclarations: true

SpaceAfterCStyleCast: false
SpaceAfterTemplateKeyword: false
SpaceBeforeAssignmentOperators: true
# SpaceBeforeCpp11BracedList: false
# SpaceBeforeCtorInitializerColon: true
# SpaceBeforeInheritanceColon: true
SpaceBeforeParens: ControlStatements
# SpaceBeforeRangeBasedForLoopColon: true
SpaceInEmptyParentheses: false
SpacesBeforeTrailingComments: 1
SpacesInAngles: false
SpacesInCStyleCastParentheses: false
SpacesInContainerLiterals: true
SpacesInParentheses: false
SpacesInSquareBrackets: false

1 change: 1 addition & 0 deletions .codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
comment: off
21 changes: 21 additions & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<!--
Fill in the placeholders below. Delete any headings and placeholders that you do not fill in.
-->
**OS:** [e.g. Ubuntu 18.04 LTS 64 bit]
**Output of 'boomerang-cli --version'** [e.g. boomerang-cli v0.3.99-alpha-1701-g30f62610]

<!-- Explanation of the issue -->

**Steps to reproduce:**
1.
2.

**Expected/desired behaviour**
[...]

**Actual behaviour**
[...]

**Additional comments**
[...]

6 changes: 2 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
boomerang.kdev4
build
out
tests/outputs/*
*.user
*.kdev4
*.i64
56 changes: 56 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
os: linux
dist: trusty
sudo: required
language: cpp

cache: ccache
addons:
apt:
update: false


install:
- docker run -d --name build-env -v $(pwd):/home/boomerang/boomerang/ -v /home/travis/.ccache/:/home/boomerang/.ccache ceeac/boomerang-build-$TARGET:latest tail -f /dev/null


matrix:
include:
- env:
- TARGET="source-check"
before_script:
script:
- docker exec -t build-env bash -c "cd boomerang && ./scripts/run-clang-format.py -r src/ -e */machO/objc/*"
- env:
- TARGET="clang5-debug" BUILD_TYPE="Debug" UNIT_TESTS="ON" REGRESSION_TESTS="OFF" COVERAGE="OFF" SHARED_LIBS="OFF"
- env:
- TARGET="clang6-release" BUILD_TYPE="Release" UNIT_TESTS="ON" REGRESSION_TESTS="OFF" COVERAGE="OFF" SHARED_LIBS="ON"
- env:
- TARGET="gcc7-release" BUILD_TYPE="Release" UNIT_TESTS="ON" REGRESSION_TESTS="OFF" COVERAGE="OFF" SHARED_LIBS="OFF"
- env:
- TARGET="gcc8-regression" BUILD_TYPE="RelWithDebInfo" UNIT_TESTS="OFF" REGRESSION_TESTS="ON" COVERAGE="OFF" SHARED_LIBS="ON"
script:
- docker exec -t build-env bash -c "cd boomerang/build && make -j$(nproc) && make check"
- env:
- TARGET="gcc7-debug-cov" BUILD_TYPE="Debug" UNIT_TESTS="ON" REGRESSION_TESTS="OFF" COVERAGE="ON" SHARED_LIBS="ON"
after_success:
- echo "Building CodeCov reports" && docker exec -t build-env bash -c "cd boomerang/build &&
lcov --directory . --capture --output-file coverage.info &&
lcov -r coverage.info '*.l' '/usr/*' '*/tests/unit-tests/*' --output-file coverage.info &&
lcov --list coverage.info"
- echo "Uploading CodeCov reports" && bash <(curl -s https://codecov.io/bash) -X gcov -X coveragepy -X xcode -F unittests -s "$(pwd)/build" || echo \"CodeCov coverage report generation failed!\"


before_script:
- docker exec -t build-env bash -c "cd boomerang &&
mkdir build &&
cd build &&
cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DBOOMERANG_BUILD_UNIT_TESTS=$UNIT_TESTS -DBOOMERANG_BUILD_REGRESSION_TESTS=$REGRESSION_TESTS -DBOOMERANG_ENABLE_COVERAGE=$COVERAGE -DBUILD_SHARED_LIBS=$SHARED_LIBS .."


script:
- docker exec -t build-env bash -c "cd boomerang/build && make -j$(nproc) && make test && make package"


notifications:
email: false

Binary file removed 3rd_party/lib/gc.dll
Binary file not shown.
Binary file removed 3rd_party/lib/gc.lib
Binary file not shown.
Binary file removed 3rd_party/lib/gc_cpp.dll
Binary file not shown.
Binary file removed 3rd_party/lib/gc_cpp2.lib
Binary file not shown.
Binary file removed 3rd_party/lib/libexpat.dll
Binary file not shown.
Binary file removed 3rd_party/lib/libexpat.lib
Binary file not shown.
Loading

0 comments on commit 874fb7f

Please sign in to comment.