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: mongodb/mongo-c-driver
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 1.6.0
Choose a base ref
...
head repository: mongodb/mongo-c-driver
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref

Commits on Feb 2, 2017

  1. post-release bump

    ajdavis committed Feb 2, 2017
    Copy the full SHA
    299a263 View commit details
  2. NEWS whitespace

    ajdavis committed Feb 2, 2017
    Copy the full SHA
    723d030 View commit details

Commits on Feb 3, 2017

  1. Only used in one file

    bjori committed Feb 3, 2017
    Copy the full SHA
    6adb54f View commit details

Commits on Feb 5, 2017

  1. CDRIVER-2007 fix create-index test

    Depending on the network configuration, trying to create an index on
    mongodb://example.com could cause "connection timeout" or "connection
    refused", so don't specify the error message.
    ajdavis committed Feb 5, 2017
    Copy the full SHA
    1ecb231 View commit details

Commits on Feb 6, 2017

  1. Copy the full SHA
    7bf676d View commit details
  2. Copy the full SHA
    cb9534b View commit details
  3. CDRIVER-784: Improve boolean values in connection URI

    Boolean values can now be "yes" / "no" and more.
    
    Unsupported values issue warnings
    bjori committed Feb 6, 2017
    Copy the full SHA
    fb9f45e View commit details
  4. Copy the full SHA
    b4a1c7b View commit details
  5. Copy the full SHA
    16d03dc View commit details
  6. Copy the full SHA
    6c996ca View commit details
  7. Copy the full SHA
    85ee5fb View commit details
  8. Copy the full SHA
    b4cda69 View commit details
  9. Copy the full SHA
    632da6a View commit details
  10. Copy the full SHA
    1f7634d View commit details
  11. Copy the full SHA
    c80acaf View commit details
  12. Copy the full SHA
    79f154e View commit details
  13. Copy the full SHA
    285c3a0 View commit details
  14. Copy the full SHA
    3cfded6 View commit details
  15. Copy the full SHA
    b789a26 View commit details
  16. Copy the full SHA
    0143ab3 View commit details
  17. Merge branch 'CDRIVER-784-connection-uri-spec'

    * CDRIVER-784-connection-uri-spec:
      CDRIVER-2032 - Unix Domain Sockets must be escaped in URI
      CDRIVER-2031 - Multiple unescaped @ should fail uri parsing
      CDRIVER-2030 - Deprecated options should be ignored if replacement exists
      CDRIVER-2029 - 3 colons should fails URI parsing
      CDRIVER-2025 - Repeated options should issue a warning
      CDRIVER-2024 - Escaped username maybe not properly parsed
      CDRIVER-2023 - Unescaped percent sign in connection uri should fail
      CDRIVER-2022 Missing support for fsync in connection uri
      CDRIVER-2021 UTF-8 Hostnames in connection URI should be allowed
      CDRIVER-2019 Missing delimiting slash between hosts and options should fail
      CDRIVER-2020 Escaped null bytes in URI (%00) should be allowed
      CDRIVER-1388 Define all URI options
      CDRIVER-1388 Warn on unsupported URI options
      CDRIVER-784: Improve boolean values in connection URI
      CDRIVER-1478 Test runner for Connection String Spec Tests
      Only used in one file
    bjori committed Feb 6, 2017
    Copy the full SHA
    4f184cb View commit details
  18. Copy the full SHA
    6c9083c View commit details
  19. Bump version

    bjori committed Feb 6, 2017
    Copy the full SHA
    80f7e9b View commit details
  20. Bump libbson to 1.7.0-dev

    bjori committed Feb 6, 2017
    Copy the full SHA
    66b721c View commit details
  21. Remove unused variable

    bjori committed Feb 6, 2017
    Copy the full SHA
    2cedf09 View commit details
  22. Copy the full SHA
    fc86a2a View commit details
  23. Fix build on aarch64

    bjori committed Feb 6, 2017
    Copy the full SHA
    9b2dd04 View commit details
  24. Copy the full SHA
    bb8b188 View commit details
  25. Improve error on failure

    bjori committed Feb 6, 2017
    Copy the full SHA
    04de452 View commit details
  26. Copy the full SHA
    6755bdb View commit details
  27. Copy the full SHA
    a82dbba View commit details
  28. Copy the full SHA
    fbd2373 View commit details
  29. Copy the full SHA
    acb7b6b View commit details

Commits on Feb 7, 2017

  1. Copy the full SHA
    99084bf View commit details
  2. Revert "Fix incompatible type va_list <-> void *, on aarch64"

    This reverts commit 99084bf.
    bjori committed Feb 7, 2017
    Copy the full SHA
    549cb54 View commit details
  3. Revert "Fix build on aarch64"

    This reverts commit 9b2dd04.
    bjori committed Feb 7, 2017
    Copy the full SHA
    1005383 View commit details
  4. Revert "Add support for case-insensitive values & to define the match…

    … options"
    
    This reverts commit 6c9083c.
    bjori committed Feb 7, 2017
    Copy the full SHA
    8d3ce98 View commit details
  5. CDRIVER-2021 Enable the testcase again

    This reverts commit b4cda69.
    bjori committed Feb 7, 2017
    Copy the full SHA
    2375dec View commit details
  6. CDRIVER-2021 UTF-8 Hostnames in connection URI should be allowed

    Rather then aborting on UTF-8 chars, we leave them intact.
    bjori committed Feb 7, 2017
    Copy the full SHA
    069bc62 View commit details
  7. Copy the full SHA
    02d8d5d View commit details

Commits on Feb 10, 2017

  1. Copy the full SHA
    5f5ad00 View commit details
  2. Copy the full SHA
    e746b2a View commit details

Commits on Feb 12, 2017

  1. Fix LibreSSL build issue

    LibreSSL forked from 1.0.1f, this 1.0.2 method is unavailable
    Sp1l authored Feb 12, 2017
    Copy the full SHA
    2c81e9a View commit details

Commits on Feb 13, 2017

  1. Fix help text

    bjori committed Feb 13, 2017
    Copy the full SHA
    950d4d9 View commit details

Commits on Feb 14, 2017

  1. Copy the full SHA
    6623425 View commit details

Commits on Feb 15, 2017

  1. CDRIVER-2014 update build config for sphinx-build

    Ensure man pages are distributed and that sphinx cache files .buildinfo and
    .doctrees are cleaned.
    ajdavis committed Feb 15, 2017
    Copy the full SHA
    00b23b5 View commit details

Commits on Feb 16, 2017

  1. Copy the full SHA
    dd10f2b View commit details

Commits on Feb 18, 2017

  1. Copy the full SHA
    4a0945f View commit details

Commits on Feb 21, 2017

  1. Copy the full SHA
    5b7ed21 View commit details
  2. Coding standard

    bjori committed Feb 21, 2017
    Copy the full SHA
    c2ef799 View commit details
Showing 4,156 changed files with 711,810 additions and 133,304 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
350 changes: 319 additions & 31 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -1,37 +1,325 @@
---
# Note: the "Language" option is omitted to apply this format style to all files
# regardless of the detected language.
AccessModifierOffset: -2
AlignAfterOpenBracket: Align
AlignConsecutiveAssignments: 'false'
AlignConsecutiveDeclarations: 'false'
AlignEscapedNewlinesLeft: 'true'
AllowAllParametersOfDeclarationOnNextLine: 'true'
AllowShortBlocksOnASingleLine: 'false'
AllowShortCaseLabelsOnASingleLine: 'false'
AlignArrayOfStructures: None
AlignConsecutiveAssignments:
Enabled: false
AcrossEmptyLines: false
AcrossComments: false
AlignCompound: false
AlignFunctionDeclarations: false
AlignFunctionPointers: false
PadOperators: true
AlignConsecutiveBitFields:
Enabled: false
AcrossEmptyLines: false
AcrossComments: false
AlignCompound: false
AlignFunctionDeclarations: false
AlignFunctionPointers: false
PadOperators: false
AlignConsecutiveDeclarations:
Enabled: false
AcrossEmptyLines: false
AcrossComments: false
AlignCompound: false
AlignFunctionDeclarations: true
AlignFunctionPointers: false
PadOperators: false
AlignConsecutiveMacros:
Enabled: false
AcrossEmptyLines: false
AcrossComments: false
AlignCompound: false
AlignFunctionDeclarations: false
AlignFunctionPointers: false
PadOperators: false
AlignConsecutiveShortCaseStatements:
Enabled: false
AcrossEmptyLines: false
AcrossComments: false
AlignCaseArrows: false
AlignCaseColons: false
AlignConsecutiveTableGenBreakingDAGArgColons:
Enabled: false
AcrossEmptyLines: false
AcrossComments: false
AlignCompound: false
AlignFunctionDeclarations: false
AlignFunctionPointers: false
PadOperators: false
AlignConsecutiveTableGenCondOperatorColons:
Enabled: false
AcrossEmptyLines: false
AcrossComments: false
AlignCompound: false
AlignFunctionDeclarations: false
AlignFunctionPointers: false
PadOperators: false
AlignConsecutiveTableGenDefinitionColons:
Enabled: false
AcrossEmptyLines: false
AcrossComments: false
AlignCompound: false
AlignFunctionDeclarations: false
AlignFunctionPointers: false
PadOperators: false
AlignEscapedNewlines: Left
AlignOperands: Align
AlignTrailingComments:
Kind: Always
OverEmptyLines: 0
AllowAllArgumentsOnNextLine: true
AllowAllParametersOfDeclarationOnNextLine: true
AllowBreakBeforeNoexceptSpecifier: Never
AllowShortBlocksOnASingleLine: Never
AllowShortCaseExpressionOnASingleLine: true
AllowShortCaseLabelsOnASingleLine: false
AllowShortCompoundRequirementOnASingleLine: true
AllowShortEnumsOnASingleLine: true
AllowShortFunctionsOnASingleLine: None
AllowShortIfStatementsOnASingleLine: 'false'
AllowShortLoopsOnASingleLine: 'false'
AlwaysBreakAfterReturnType: All
BinPackArguments: 'false'
BinPackParameters: 'false'
AllowShortIfStatementsOnASingleLine: Never
AllowShortLambdasOnASingleLine: All
AllowShortLoopsOnASingleLine: false
AllowShortNamespacesOnASingleLine: false
AlwaysBreakAfterDefinitionReturnType: None
AlwaysBreakBeforeMultilineStrings: false
AttributeMacros:
- __capability
- BSON_GNUC_WARN_UNUSED_RESULT
- BSON_DEPRECATED
- BSON_DEPRECATED_FOR
BinPackArguments: false
BinPackParameters: false
BitFieldColonSpacing: Both
BraceWrapping:
AfterCaseLabel: false
AfterClass: false
AfterControlStatement: Never
AfterEnum: false
AfterExternBlock: false
AfterFunction: false
AfterNamespace: false
AfterObjCDeclaration: false
AfterStruct: false
AfterUnion: false
BeforeCatch: false
BeforeElse: false
BeforeLambdaBody: false
BeforeWhile: false
IndentBraces: false
SplitEmptyFunction: true
SplitEmptyRecord: true
SplitEmptyNamespace: true
BreakAdjacentStringLiterals: true
BreakAfterAttributes: Never
BreakAfterJavaFieldAnnotations: false
BreakAfterReturnType: All
BreakArrays: true
BreakBeforeBinaryOperators: None
BreakBeforeConceptDeclarations: Always
BreakBeforeBraces: Linux
ColumnLimit: '80'
ContinuationIndentWidth: '3'
IndentCaseLabels: 'false'
IndentWidth: '3'
KeepEmptyLinesAtTheStartOfBlocks: 'false'
Language: Cpp
MaxEmptyLinesToKeep: '2'
SortIncludes: 'false'
SpaceAfterCStyleCast: 'true'
SpaceBeforeAssignmentOperators: 'true'
BreakBeforeInlineASMColon: OnlyMultiline
BreakBeforeTernaryOperators: true
BreakBinaryOperations: Never
BreakConstructorInitializers: BeforeColon
BreakFunctionDefinitionParameters: false
BreakInheritanceList: BeforeColon
BreakStringLiterals: true
BreakTemplateDeclarations: MultiLine
ColumnLimit: 120
CommentPragmas: '^ IWYU pragma:'
CompactNamespaces: false
ConstructorInitializerIndentWidth: 4
ContinuationIndentWidth: 3
Cpp11BracedListStyle: true
DerivePointerAlignment: false
DisableFormat: false
EmptyLineAfterAccessModifier: Never
EmptyLineBeforeAccessModifier: LogicalBlock
ExperimentalAutoDetectBinPacking: false
FixNamespaceComments: true
ForEachMacros:
- foreach
- Q_FOREACH
- BOOST_FOREACH
- mlib_foreach_irange
- mlib_foreach_urange
- mlib_foreach
- mlib_foreach_arr
IfMacros:
- mlib_assert_aborts
- KJ_IF_MAYBE
IncludeBlocks: Regroup
IncludeCategories:
# The prelude header must always come first
- Regex: '-prelude\.h>'
Priority: 1
# Relative "in this directory" headers next
- Regex: '"\./|"\.\./'
Priority: 2
# Private API headers
- Regex: '-private\.h>'
Priority: 5
# All other `mongoc/` headers
- Regex: '<mongoc/'
Priority: 10
# all `bson/` headers come after `mongoc` headers
- Regex: '<bson/|<bsonutil/'
Priority: 20
# Private API components
- Regex: '<mlib/|<common'
Priority: 30
# Library Headers
- Regex: '<(openssl/|jsonsl/|utf8proc\.h|bcrypt|sasl/|kms_message/)'
Priority: 40
# Testing Headers
- Regex: '<(TestSuite|test-|(json|ssl)-test|mock_server/|unified/)'
Priority: 50
# Unix platform headers
- Regex: '<(unistd|netdb|pthread|netinet/.*|sys/.*|netdb|fcntl|arpa/.*|resolv|sched|poll)\.h>'
Priority: 90
# Darwin platform headers
- Regex: '<(Availability|AvailabilityMacros|TargetConditionals|CommonCrypto/.*|Security/.*|CoreFoundation/.*)\.h>'
CaseSensitive: false
Priority: 90
# Windows platform headers
- Regex: '<(win(dows|sock2|error|trnl|error|crypt|ver|dns)|sspi|ws2tcpip|ntstatus|mstcpip|process)\.h>'
CaseSensitive: false
Priority: 90
# Standard library headers are near last
- Regex: '<(assert|string|ctype|limits|time|math|errno|inttypes|signal).h>|<std|<[^.]+>'
Priority: 100
# Other -I headers get sorted before platform headers
- Regex: '<'
Priority: 80
IncludeIsMainRegex: '(Test)?$'
IncludeIsMainSourceRegex: ''
IndentAccessModifiers: false
IndentCaseBlocks: false
IndentCaseLabels: false
IndentExportBlock: true
IndentExternBlock: AfterExternBlock
IndentGotoLabels: true
IndentPPDirectives: None
IndentRequiresClause: true
IndentWidth: 3
IndentWrappedFunctionNames: false
InsertBraces: false
InsertNewlineAtEOF: false
InsertTrailingCommas: None
IntegerLiteralSeparator:
Binary: 0
BinaryMinDigits: 0
Decimal: 0
DecimalMinDigits: 0
Hex: 0
HexMinDigits: 0
JavaScriptQuotes: Leave
JavaScriptWrapImports: true
KeepEmptyLines:
AtEndOfFile: false
AtStartOfBlock: false
AtStartOfFile: false
KeepFormFeed: false
LambdaBodyIndentation: Signature
LineEnding: DeriveLF
MacroBlockBegin: ''
MacroBlockEnd: ''
MainIncludeChar: AngleBracket
MaxEmptyLinesToKeep: 2
NamespaceIndentation: None
ObjCBinPackProtocolList: Auto
ObjCBlockIndentWidth: 2
ObjCBreakBeforeNestedBlockParam: true
ObjCSpaceAfterProperty: false
ObjCSpaceBeforeProtocolList: true
PackConstructorInitializers: BinPack
PenaltyBreakAssignment: 2
PenaltyBreakBeforeFirstCallParameter: 19
PenaltyBreakBeforeMemberAccess: 150
PenaltyBreakComment: 300
PenaltyBreakFirstLessLess: 120
PenaltyBreakOpenParenthesis: 0
PenaltyBreakScopeResolution: 500
PenaltyBreakString: 1000
PenaltyBreakTemplateDeclaration: 10
PenaltyExcessCharacter: 1000000
PenaltyIndentedWhitespace: 0
PenaltyReturnTypeOnItsOwnLine: 60
PointerAlignment: Right
PPIndentWidth: -1
QualifierAlignment: Leave
ReferenceAlignment: Pointer
ReflowComments: Always
RemoveBracesLLVM: false
RemoveEmptyLinesInUnwrappedLines: false
RemoveParentheses: Leave
RemoveSemicolon: false
RequiresClausePosition: OwnLine
RequiresExpressionIndentation: OuterScope
SeparateDefinitionBlocks: Leave
ShortNamespaceLines: 1
SkipMacroDefinitionBody: false
SortIncludes: CaseSensitive
SortJavaStaticImport: Before
SortUsingDeclarations: LexicographicNumeric
SpaceAfterCStyleCast: true
SpaceAfterLogicalNot: false
SpaceAfterTemplateKeyword: true
SpaceAroundPointerQualifiers: Default
SpaceBeforeAssignmentOperators: true
SpaceBeforeCaseColon: false
SpaceBeforeCpp11BracedList: false
SpaceBeforeCtorInitializerColon: true
SpaceBeforeInheritanceColon: true
SpaceBeforeJsonColon: false
SpaceBeforeParens: Always
SpaceInEmptyParentheses: 'false'
SpacesInAngles: 'false'
SpacesInCStyleCastParentheses: 'false'
SpacesInContainerLiterals: 'true'
SpacesInParentheses: 'false'
SpacesInSquareBrackets: 'false'
Standard: Cpp11
TabWidth: '3'
UseTab: Never

SpaceBeforeParensOptions:
AfterControlStatements: true
AfterForeachMacros: true
AfterFunctionDefinitionName: false
AfterFunctionDeclarationName: false
AfterIfMacros: true
AfterOverloadedOperator: false
AfterPlacementOperator: false
AfterRequiresInClause: false
AfterRequiresInExpression: false
BeforeNonEmptyParentheses: false
SpaceBeforeRangeBasedForLoopColon: true
SpaceBeforeSquareBrackets: false
SpaceInEmptyBlock: false
SpacesBeforeTrailingComments: 1
SpacesInAngles: Never
SpacesInContainerLiterals: true
SpacesInLineCommentPrefix:
Minimum: 1
Maximum: -1
SpacesInParens: Never
SpacesInParensOptions:
ExceptDoubleParentheses: false
InCStyleCasts: false
InConditionalStatements: false
InEmptyParentheses: false
Other: false
SpacesInSquareBrackets: false
Standard: Cpp11
StatementAttributeLikeMacros:
- Q_EMIT
StatementMacros:
- Q_UNUSED
- QT_REQUIRE_VERSION
TableGenBreakInsideDAGArg: DontBreak
TabWidth: 3
UseTab: Never
VerilogBreakBetweenInstancePorts: true
WhitespaceSensitiveMacros:
- BOOST_PP_STRINGIZE
- CF_SWIFT_NAME
- NS_SWIFT_NAME
- PP_STRINGIZE
- STRINGIZE
WrapNamespaceBodyWithEmptyLines: Leave
...
5 changes: 5 additions & 0 deletions .evergreen/.codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
ignore:
- "src/kms-message"
- "src/zlib-*"
- "src/libbson/tests"
- "src/libmongoc/tests"
Loading