Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: EinarArnason/ArduinoQueue
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 1.2.0
Choose a base ref
...
head repository: EinarArnason/ArduinoQueue
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
  • 19 commits
  • 15 files changed
  • 1 contributor

Commits on May 26, 2020

  1. Create FUNDING.yml

    EinarArnason authored May 26, 2020
    Copy the full SHA
    67a37d9 View commit details
  2. Copy the full SHA
    cbf63e9 View commit details

Commits on May 27, 2020

  1. Copy the full SHA
    8c773ec View commit details
  2. Merge pull request #11 from EinarArnason/dev

    Added head and tail functions
    EinarArnason authored May 27, 2020
    Copy the full SHA
    6b0bdce View commit details

Commits on May 29, 2020

  1. Update FUNDING.yml

    EinarArnason authored May 29, 2020
    Copy the full SHA
    4fcfb3a View commit details
  2. Update FUNDING.yml

    EinarArnason authored May 29, 2020
    Copy the full SHA
    c03754a View commit details

Commits on May 31, 2020

  1. Copy the full SHA
    82f3465 View commit details
  2. Relax performance test

    EinarArnason committed May 31, 2020
    Copy the full SHA
    e8be4b4 View commit details
  3. Copy the full SHA
    4accc72 View commit details
  4. Update README.md

    EinarArnason authored May 31, 2020
    Copy the full SHA
    db3cbea View commit details

Commits on Jun 4, 2020

  1. Copy the full SHA
    f94ca28 View commit details
  2. Merge pull request #14 from EinarArnason/dev

    Added compile support for version < C++11
    EinarArnason authored Jun 4, 2020
    Copy the full SHA
    602db86 View commit details
  3. Version increment

    EinarArnason committed Jun 4, 2020
    Copy the full SHA
    da394f5 View commit details
  4. Merge branch 'dev'

    EinarArnason committed Jun 4, 2020
    Copy the full SHA
    cd6003b View commit details

Commits on Jun 8, 2021

  1. Fix example includes

    EinarArnason committed Jun 8, 2021
    Copy the full SHA
    331d403 View commit details

Commits on Jun 10, 2021

  1. Update FUNDING.yml

    EinarArnason authored Jun 10, 2021
    Copy the full SHA
    a8f1815 View commit details
  2. Update FUNDING.yml

    EinarArnason authored Jun 10, 2021
    Copy the full SHA
    f132772 View commit details

Commits on Jul 19, 2021

  1. Copy the full SHA
    4521665 View commit details
  2. Copy the full SHA
    f066e31 View commit details
Showing with 515 additions and 242 deletions.
  1. +168 −0 .clang-format
  2. +12 −0 .github/FUNDING.yml
  3. +2 −6 .gitignore
  4. +2 −0 .travis.yml
  5. +0 −7 .vscode/extensions.json
  6. +139 −104 ArduinoQueue.h
  7. +1 −1 CMakeLists.txt
  8. +22 −10 README.md
  9. +3 −0 Testing/TAG
  10. +53 −54 examples/intQueueItemsSize/intQueueItemsSize.ino
  11. +56 −57 examples/intQueueMemSize/intQueueMemSize.ino
  12. +1 −1 library.properties
  13. +2 −2 test/CMakeLists.txt
  14. +16 −0 test/test_IntQueue.cpp
  15. +38 −0 test/test_performance.cpp
168 changes: 168 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,168 @@
---
Language: Cpp
# BasedOnStyle: Google
AccessModifierOffset: -1
AlignAfterOpenBracket: Align
AlignConsecutiveMacros: false
AlignConsecutiveAssignments: false
AlignConsecutiveDeclarations: false
AlignEscapedNewlines: Left
AlignOperands: true
AlignTrailingComments: true
AllowAllArgumentsOnNextLine: true
AllowAllConstructorInitializersOnNextLine: true
AllowAllParametersOfDeclarationOnNextLine: true
AllowShortBlocksOnASingleLine: Never
AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: All
AllowShortLambdasOnASingleLine: All
AllowShortIfStatementsOnASingleLine: WithoutElse
AllowShortLoopsOnASingleLine: true
AlwaysBreakAfterDefinitionReturnType: None
AlwaysBreakAfterReturnType: None
AlwaysBreakBeforeMultilineStrings: true
AlwaysBreakTemplateDeclarations: Yes
BinPackArguments: true
BinPackParameters: true
BraceWrapping:
AfterCaseLabel: false
AfterClass: false
AfterControlStatement: false
AfterEnum: false
AfterFunction: false
AfterNamespace: false
AfterObjCDeclaration: false
AfterStruct: false
AfterUnion: false
AfterExternBlock: false
BeforeCatch: false
BeforeElse: false
IndentBraces: false
SplitEmptyFunction: true
SplitEmptyRecord: true
SplitEmptyNamespace: true
BreakBeforeBinaryOperators: None
BreakBeforeBraces: Attach
BreakBeforeInheritanceComma: false
BreakInheritanceList: BeforeColon
BreakBeforeTernaryOperators: true
BreakConstructorInitializersBeforeComma: false
BreakConstructorInitializers: BeforeColon
BreakAfterJavaFieldAnnotations: false
BreakStringLiterals: true
ColumnLimit: 80
CommentPragmas: "^ IWYU pragma:"
CompactNamespaces: false
ConstructorInitializerAllOnOneLineOrOnePerLine: true
ConstructorInitializerIndentWidth: 4
ContinuationIndentWidth: 4
Cpp11BracedListStyle: true
DeriveLineEnding: true
DerivePointerAlignment: true
DisableFormat: false
ExperimentalAutoDetectBinPacking: false
FixNamespaceComments: true
ForEachMacros:
- foreach
- Q_FOREACH
- BOOST_FOREACH
IncludeBlocks: Regroup
IncludeCategories:
- Regex: '^<ext/.*\.h>'
Priority: 2
SortPriority: 0
- Regex: '^<.*\.h>'
Priority: 1
SortPriority: 0
- Regex: "^<.*"
Priority: 2
SortPriority: 0
- Regex: ".*"
Priority: 3
SortPriority: 0
IncludeIsMainRegex: "([-_](test|unittest))?$"
IncludeIsMainSourceRegex: ""
IndentCaseLabels: true
IndentGotoLabels: true
IndentPPDirectives: None
IndentWidth: 2
IndentWrappedFunctionNames: false
JavaScriptQuotes: Leave
JavaScriptWrapImports: true
KeepEmptyLinesAtTheStartOfBlocks: false
MacroBlockBegin: ""
MacroBlockEnd: ""
MaxEmptyLinesToKeep: 1
NamespaceIndentation: None
ObjCBinPackProtocolList: Never
ObjCBlockIndentWidth: 2
ObjCSpaceAfterProperty: false
ObjCSpaceBeforeProtocolList: true
PenaltyBreakAssignment: 2
PenaltyBreakBeforeFirstCallParameter: 1
PenaltyBreakComment: 300
PenaltyBreakFirstLessLess: 120
PenaltyBreakString: 1000
PenaltyBreakTemplateDeclaration: 10
PenaltyExcessCharacter: 1000000
PenaltyReturnTypeOnItsOwnLine: 200
PointerAlignment: Left
RawStringFormats:
- Language: Cpp
Delimiters:
- cc
- CC
- cpp
- Cpp
- CPP
- "c++"
- "C++"
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
ReflowComments: true
SortIncludes: true
SortUsingDeclarations: true
SpaceAfterCStyleCast: false
SpaceAfterLogicalNot: false
SpaceAfterTemplateKeyword: true
SpaceBeforeAssignmentOperators: true
SpaceBeforeCpp11BracedList: false
SpaceBeforeCtorInitializerColon: true
SpaceBeforeInheritanceColon: true
SpaceBeforeParens: ControlStatements
SpaceBeforeRangeBasedForLoopColon: true
SpaceInEmptyBlock: false
SpaceInEmptyParentheses: false
SpacesBeforeTrailingComments: 2
SpacesInAngles: false
SpacesInConditionalStatement: false
SpacesInContainerLiterals: true
SpacesInCStyleCastParentheses: false
SpacesInParentheses: false
SpacesInSquareBrackets: false
SpaceBeforeSquareBrackets: false
Standard: Auto
StatementMacros:
- Q_UNUSED
- QT_REQUIRE_VERSION
TabWidth: 8
UseCRLF: false
UseTab: Never
---

12 changes: 12 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# These are supported funding model platforms

github:
patreon: # Replace with a single Patreon username
open_collective: # Replace with a single Open Collective username
ko_fi: # Replace with a single Ko-fi username
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
otechie: # Replace with a single Otechie username
custom: [paypal.me/EinarArnason]
8 changes: 2 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,2 @@
.pio
.vscode/.browse.c_cpp.db*
.vscode/c_cpp_properties.json
.vscode/launch.json
.vscode/ipch
build/
.vscode/
build/
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -14,6 +14,7 @@ addons:
- llvm-dev
- libclang-dev
- clang
- valgrind

before_script:
- mkdir build
@@ -23,3 +24,4 @@ script:
- cmake --build build --config Debug --target all
- cd build
- ctest -C Debug -T test --output-on-failure
- ctest -C Debug -T memcheck --output-on-failure
7 changes: 0 additions & 7 deletions .vscode/extensions.json

This file was deleted.

Loading