Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
878 commits
Select commit Hold shift + click to select a range
96798ad
More "buffer overflows" that weren't.
jtv Nov 16, 2025
cb9eca2
Try to fix Infer false positive.
jtv Nov 16, 2025
fe71e84
Another Infer false positive.
jtv Nov 16, 2025
81823e3
Small fix.
jtv Nov 16, 2025
0737d54
Okay that doesn't work.
jtv Nov 16, 2025
d7416ca
Upload full Infer report.
jtv Nov 16, 2025
e347ad0
Stupid typo.
jtv Nov 16, 2025
09a6732
More `infer` warnings.
jtv Nov 17, 2025
385245a
Work around weird `clang-tidy` false positive.
jtv Nov 17, 2025
da48296
Keep hunting `infer` warnings.
jtv Nov 17, 2025
98e5cb7
More `infer`.
jtv Nov 17, 2025
d1e7857
More "buffer overruns."
jtv Nov 17, 2025
ef43729
One more "overflow." Are we done now?
jtv Nov 17, 2025
f5d4546
Work around \`infer\` weirdness in C++23 and up.
jtv Nov 17, 2025
fa6f950
Run `infer` in C++26.
jtv Nov 17, 2025
3a91029
Oh right, gcc doesn't do C++26 yet.
jtv Nov 17, 2025
6715cbf
Oops, silly mistake.
jtv Nov 17, 2025
38f26df
Is `infer` ever happy?
jtv Nov 17, 2025
472910c
There's just no way to keep _all_ the checkers happy.
jtv Nov 17, 2025
dc37784
Document upgrade from 7.x.
jtv Nov 19, 2025
f4d4a60
Try to support release candidates in versioning. (#1063)
jtv Nov 19, 2025
72f8a5b
Set release candidate version.
jtv Nov 19, 2025
dea0a96
New helper: `always_null<...>()`.
jtv Nov 23, 2025
0b7c062
More nullness helpers.
jtv Nov 23, 2025
8ab102c
Typos.
jtv Nov 23, 2025
044e1f5
Lint.
jtv Nov 23, 2025
d24a7bd
Update upgrade notes. Bump RC.
jtv Nov 23, 2025
bfef55c
Mention first Donor-level sponsor.
jtv Nov 24, 2025
2f5054d
NEWS.
jtv Nov 24, 2025
5203db7
Merge branch 'master' into start-8
jtv Nov 24, 2025
8897154
Try running `infer` build in parallel.
jtv Nov 24, 2025
e56bdb9
Oops, missed a spot.
jtv Nov 24, 2025
bc4f296
More checks (#1068)
jtv Nov 27, 2025
420f7bf
Report test coverage. (#1069)
jtv Nov 28, 2025
3658b72
Encoding tests. (#1070)
jtv Nov 30, 2025
1fb9acf
Lint.
jtv Nov 30, 2025
5d679e9
Refactoring `install-deps.sh` package handling. (#1072)
jtv Dec 1, 2025
95f0bde
Use `lcov` to generate HTML coverage reports. (#1071)
jtv Dec 1, 2025
5ec9eb5
Fix some shellcheck lint _properly._ (#1073)
jtv Dec 1, 2025
e2c3e9d
Bit more testing.
jtv Dec 1, 2025
f8bf485
Fill some gaps in test coverage.
jtv Dec 2, 2025
991e502
More test.
jtv Dec 2, 2025
bd4d0d3
Nitpicks.
jtv Dec 2, 2025
d82f4ef
Same nitpick again, elsewhere.
jtv Dec 2, 2025
6048b9b
More test coverage.
jtv Dec 2, 2025
b218876
Test updates.
jtv Dec 2, 2025
33c96c7
Minor tweak.
jtv Dec 2, 2025
081c7c0
Overhaul compiler-specific attributes. (#1074)
jtv Dec 2, 2025
4255d55
More purity.
jtv Dec 2, 2025
16bc5fc
`[[gnu::returns_nonnull]]`
jtv Dec 2, 2025
ed36bbf
`[[gnu::returns_nonnull]]`
jtv Dec 2, 2025
61ac999
Add `begin()`/`end()` to `pqxx::array`.
jtv Dec 3, 2025
43a7938
Ouch. Typo?
jtv Dec 3, 2025
8d8bb17
Also `rbegin()`/`rend()`.
jtv Dec 3, 2025
75e3674
3D array bounds tests.
jtv Dec 3, 2025
d47e403
Make `begin`/`end` pure, group docs.
jtv Dec 3, 2025
e343ea4
[8.0] Make pqxx::array work with stream<...>(...) (#1076)
jagerman Dec 3, 2025
3708f80
Format.
jtv Dec 3, 2025
9523200
Dotting some i's.
jtv Dec 3, 2025
ce0c31d
Bit more testing for streaming arrays.
jtv Dec 3, 2025
244e386
Coverage work.
jtv Dec 4, 2025
172b784
Gah, recursive inlining error.
jtv Dec 4, 2025
1e9695e
Try newer XCode.
jtv Dec 4, 2025
c10e01d
No? Little older then?
jtv Dec 4, 2025
d183e3b
Down to 26.0.
jtv Dec 4, 2025
1282932
Further back down to 16.4...
jtv Dec 4, 2025
50e356b
Docs say I can use 26.2.0.
jtv Dec 4, 2025
a320e41
Okay what if I leave out xcode altogether?
jtv Dec 4, 2025
94dcb93
Would `xcode: latest` work?
jtv Dec 4, 2025
2dec0cc
Okay that didn't work...
jtv Dec 4, 2025
0aacc3d
And if we specify resource class?
jtv Dec 4, 2025
37a674c
Try old xcode with old default resource class.
jtv Dec 4, 2025
2f8d7a3
Coverage inlining on `sql_cursor`.
jtv Dec 4, 2025
d7b7acd
CircleCI notes.
jtv Dec 4, 2025
d0f65e1
Okay, _now_ try xcode 26.2.0.
jtv Dec 4, 2025
c7acf6c
Coverage work. Cursor `close()` no longer `noexcept`.
jtv Dec 4, 2025
6863bbf
Retire obsolete constructor.
jtv Dec 4, 2025
a0cbfcd
Coverage work.
jtv Dec 4, 2025
4596d9d
Leave 'gen1' off resource class..?
jtv Dec 4, 2025
8f9fe17
Try 'm2' then?
jtv Dec 4, 2025
7c781c0
Downgrade XCode so I can upgrade macOS image.
jtv Dec 4, 2025
78bb2ef
Comments.
jtv Dec 4, 2025
2da191f
Coverage.
jtv Dec 4, 2025
a7ac239
I guess they phased out the 'macos.' prefix.
jtv Dec 4, 2025
4674012
What's not working here?
jtv Dec 4, 2025
6873288
Urrrgh. Go with m4, hope it starts working.
jtv Dec 4, 2025
8becccb
Suppress lcov 'inconsistent' error.
jtv Dec 4, 2025
a6936d7
Format.
jtv Dec 4, 2025
fbb306b
Merge branch 'master' into start-8
jtv Dec 4, 2025
9a5ca0a
Test buffer overruns on conversions.
jtv Dec 5, 2025
e74d87f
Try to fill out some small coverage gaps: strconv.
jtv Dec 5, 2025
b080e7a
Warning.
jtv Dec 5, 2025
1fe45b4
Try newer XCode.
jtv Dec 5, 2025
ecc9b59
Tweak nullness.
jtv Dec 5, 2025
7f71e5e
More string conversion coverage.
jtv Dec 5, 2025
1ae4068
Blob coverage.
jtv Dec 5, 2025
f794379
Float mistake.
jtv Dec 5, 2025
b69747f
Blob coverage work.
jtv Dec 5, 2025
59bd043
Suppress warning in test.
jtv Dec 5, 2025
798ba39
Client encoding coverage.
jtv Dec 5, 2025
2f8c6c9
Comment.
jtv Dec 5, 2025
4b46033
Rewrite some result iteration testing.
jtv Dec 5, 2025
8904fe7
Deprecating unnamed prepared statement.
jtv Dec 5, 2025
3cccd0e
Oops, stupid oversight.
jtv Dec 5, 2025
f801854
NEWS.
jtv Dec 5, 2025
585da64
Doc tweak.
jtv Dec 5, 2025
81e7fb4
Lint.
jtv Dec 5, 2025
4a6c13a
Encodings coverage.
jtv Dec 5, 2025
f3d93ca
Merge branch 'master' into start-8
jtv Dec 6, 2025
6716186
Tighten some buffer constraints. (#1079)
jtv Dec 6, 2025
296143f
Assume glyph scanner starts out inside the text. (#1080)
jtv Dec 6, 2025
6c4b4f3
Docs.
jtv Dec 7, 2025
56facd5
Accept SQL statements as `std::string_view`.
jtv Dec 7, 2025
04f28d3
Typo.
jtv Dec 7, 2025
ce000ec
Provide full, compiling code examples. (#1082)
jtv Dec 7, 2025
b44220d
Fuzz-test glyph scanners.
jtv Dec 7, 2025
5d2415a
Encoding coverage work.
jtv Dec 7, 2025
c1e0765
Try hard to hit those encoding switch cases.
jtv Dec 7, 2025
1489a61
NEWS.
jtv Dec 8, 2025
792e99a
robusttransaction coverage.
jtv Dec 8, 2025
995c093
Test against commit-while-in-focus.
jtv Dec 8, 2025
e3ea472
Exclude statically-tested code from lcov reporting.
jtv Dec 8, 2025
ff29573
Stupid mistake.
jtv Dec 8, 2025
5446295
Don't report `infer` warnings against std lib.
jtv Dec 8, 2025
eae2803
Try something.
jtv Dec 8, 2025
5c95dbe
With slash maybe?
jtv Dec 8, 2025
d7bd811
Move option.
jtv Dec 8, 2025
1bdd718
Does the internal error stop?
jtv Dec 8, 2025
8be6393
Is it `--skip-analysis-in-path` that triggers it?
jtv Dec 8, 2025
702b47e
_Little_ bit of structured binding...
jtv Dec 8, 2025
b51b80f
Retry `--skip-analysis-in-path`.
jtv Dec 8, 2025
06c858a
Avoid that structured binding for Infer's sake.
jtv Dec 8, 2025
43a0e69
`--skip-analysis-in-path` in both phases.
jtv Dec 8, 2025
79f1a6b
Infer lint.
jtv Dec 8, 2025
8caadb2
Extend regex to end of path.
jtv Dec 8, 2025
734c88f
Add `.inferconfig`.
jtv Dec 8, 2025
eb89417
Try different block option.
jtv Dec 8, 2025
a928b63
Tweak Infer & lcov outputs.
jtv Dec 8, 2025
05d9d06
Tweak lcov options.
jtv Dec 8, 2025
92a4f0f
Use lcov config file.
jtv Dec 8, 2025
2261ca8
Silly mistake.
jtv Dec 8, 2025
58d33ee
Drop problematic test for deprecated `errorhandler`.
jtv Dec 8, 2025
0334b31
Seems lcov doesn't want the include dir.
jtv Dec 8, 2025
ae30269
Fail on Infer errors.
jtv Dec 8, 2025
1805b27
Work around gcov include path problem.
jtv Dec 8, 2025
4f9a310
Drop lcov `--path` option again.
jtv Dec 8, 2025
6ce56e9
Ouch that's a stupid little mistake.
jtv Dec 8, 2025
c299630
Coverage.
jtv Dec 8, 2025
62245a6
Lint.
jtv Dec 8, 2025
8a20e0e
Try to skip enum conversion declarations in coverage.
jtv Dec 8, 2025
ff4aca3
Ahhh, need to escape the parentheses.
jtv Dec 8, 2025
747d3b5
Rename `test_types.hxx` to `sample_types.hxx`.
jtv Dec 8, 2025
d6eae80
Superficial tweak.
jtv Dec 8, 2025
71e966d
Exclude `name_type()` funcs from coverage.
jtv Dec 8, 2025
bc6083a
Stupid oversight.
jtv Dec 8, 2025
81688dc
Exclude deprecated code from coverage.
jtv Dec 8, 2025
bf08095
Fix silly mistake. Same again.
jtv Dec 8, 2025
ad27845
Remove some commented-out code.
jtv Dec 9, 2025
284e532
Merge branch 'master' into start-8
jtv Dec 10, 2025
ca202ff
YAML lint.
jtv Dec 10, 2025
5f8a2f6
YAML argh.
jtv Dec 10, 2025
2e9bba5
Give up on Flawfinder.
jtv Dec 10, 2025
d7e5ab7
Lint.
jtv Dec 10, 2025
1721390
Try to get more code analysis out of MSVC. (#1087)
jtv Dec 11, 2025
ebad6ac
Suppress more pointless warnings.
jtv Dec 11, 2025
48182cf
Suppress more nonsense warnings.
jtv Dec 11, 2025
055faf8
Another stupid warning.
jtv Dec 11, 2025
f9b778d
Address some reasonable-sounding warnings.
jtv Dec 11, 2025
769308a
Try to silence more.
jtv Dec 11, 2025
b405a19
Shut up padding warnings as well.
jtv Dec 11, 2025
4d63514
Fight some more padding.
jtv Dec 11, 2025
76fb3f5
Suppress harder.
jtv Dec 11, 2025
3931069
Tweaks.
jtv Dec 12, 2025
981d4f9
Tweaks.
jtv Dec 12, 2025
12c232d
Lint.
jtv Dec 12, 2025
2577272
More lint like that.
jtv Dec 12, 2025
687744e
MSVC warnings
jtv Dec 12, 2025
6babe53
More MSVC warnings.
jtv Dec 12, 2025
622b48a
Silly little omission breaking the build.
jtv Dec 12, 2025
a9e962a
Typo.
jtv Dec 12, 2025
a07fea8
Update test expectation to updated test input.
jtv Dec 12, 2025
67c5378
Multiprocessing build.
jtv Dec 12, 2025
17368ed
More MSVC warnings.
jtv Dec 12, 2025
000e9b8
clang-tidy lint.
jtv Dec 12, 2025
c0578a0
More work on msvc warnings.
jtv Dec 12, 2025
39329f2
Blanket-suppress MSVC padding warnings.
jtv Dec 12, 2025
e9b59f3
msvc universal character name warnings.
jtv Dec 13, 2025
d68bb0e
Padding.
jtv Dec 13, 2025
b71040c
Pass `std::source_location` in more places.
jtv Dec 13, 2025
578109f
JOHAB support was always broken!
jtv Dec 13, 2025
89d4f88
Note: Don't need GBK encoding group!
jtv Dec 13, 2025
935fecd
Test `stream_to` against encoding attacks.
jtv Dec 13, 2025
2000bb2
Skip JOHAB attack test for now.
jtv Dec 13, 2025
bc254e6
Comment out code I can't enable yet.
jtv Dec 13, 2025
7b292a5
Drop GBK encoding group. (#1093)
jtv Dec 13, 2025
e6d5ec6
UHC is "practically" ASCII-safe. (#1094)
jtv Dec 14, 2025
612be7b
NEWS.
jtv Dec 14, 2025
973169c
Merge BIG5 and UHC encoding groups. (#1096)
jtv Dec 14, 2025
69b7101
Try to work around MSVC nonsense.
jtv Dec 14, 2025
598dec6
Or does it want it the other way around?
jtv Dec 14, 2025
bd9d8d5
Update a few more `string_traits` calls.
jtv Dec 15, 2025
4dbe4c5
Typos.
jtv Dec 15, 2025
dd1a711
Parenthesise an argument to `PQXX_CHECK_EQUAL`.
jtv Dec 15, 2025
36aae65
Comment.
jtv Dec 16, 2025
0a899dd
Document streaming limitations.
jtv Dec 17, 2025
e918283
Get rid of JOHAB support. It was always broken. (#1097)
jtv Dec 17, 2025
0e02542
Fewer direct calls to `string_traits`.
jtv Dec 18, 2025
5bfbecd
Check for 7/8 string conversion API differently.
jtv Dec 18, 2025
d34f6a8
In `result`/`row/`row_ref`, pass `sl`, not `ctx`.
jtv Dec 18, 2025
0299825
Pass `ctx` or `sl` more consistently.
jtv Dec 18, 2025
690ce3d
Infer lint.
jtv Dec 18, 2025
f6bc1e5
Fighting Infer.
jtv Dec 18, 2025
e6bbe68
`source_location` tweak.
jtv Dec 18, 2025
4b33884
MSVC 2022 multidim support seems to be broken. (#1100)
jtv Dec 19, 2025
be29cdc
pqxx::array minor improvements (#1098)
jagerman Dec 19, 2025
49574df
Deprecate field `as_sql_array()` in favour of `as()`.
jtv Dec 19, 2025
3cf252f
Specify generated files using git attributes.
jtv Dec 19, 2025
8d48971
Lint.
jtv Dec 19, 2025
a5f0df9
Cosmetic.
jtv Dec 19, 2025
70a605f
Pass conversion context when writing composites to buf.
jtv Dec 20, 2025
0415d22
Parse SQL array directly into C++ container. (#1101)
jtv Dec 20, 2025
e4d739d
More `final`. (#1103)
jtv Dec 20, 2025
2fa147d
Add some more `final` etc. (#1104)
jtv Dec 21, 2025
a498092
Bump to rc4.
jtv Dec 21, 2025
a37b72e
Update examples logs.
jtv Dec 21, 2025
9e790ac
On Windows, use bash.
jtv Dec 21, 2025
97f3646
No examples build with cmake.
jtv Dec 21, 2025
6a8cda2
Few more tweaks.
jtv Dec 21, 2025
54413a7
Nicer `pqxx::connection::port()`. (#1106)
jtv Dec 21, 2025
b5d33eb
Annotate zero-terminated string arguments. (#1107)
jtv Dec 23, 2025
4e2c23b
Stupid mistake. Copilot, you could have told me!
jtv Dec 23, 2025
3c280be
Contradiction.
jtv Dec 23, 2025
3c01ba2
Stop trying to use `std::filesystem`. (#1109)
jtv Dec 23, 2025
acd702c
Merge branch 'master' into start-8
jtv Dec 24, 2025
84c5ff9
Improve composites support. (#1110)
jtv Dec 27, 2025
4ee4135
Give `params` an optional encoding argument. (#1112)
jtv Dec 30, 2025
9ba8a87
More source locations (#1113)
jtv Dec 30, 2025
199b891
Omission.
jtv Dec 30, 2025
847ee9b
Silly mistake.
jtv Dec 30, 2025
013d212
Sigh. Okay, have it your way.
jtv Dec 30, 2025
26a092d
Lint check tweak.
jtv Dec 30, 2025
1ff7b47
Fix the tweak.
jtv Dec 30, 2025
3327a4d
Try Copilot's iterative `append_pack()`.
jtv Dec 30, 2025
bc3046b
Tweak `params` a bit further.
jtv Dec 30, 2025
b0f36cc
Another little tweak.
jtv Dec 30, 2025
6bd43d5
Tweak.
jtv Dec 30, 2025
e9af4cd
This fixes the annoying warning for me.
jtv Dec 30, 2025
a3477c9
Clean up some `likely`/`unlikely` annotations.
jtv Dec 30, 2025
1127565
Format.
jtv Dec 30, 2025
d4b4fa3
Merge branch 'master' into start-8
jtv Dec 31, 2025
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
  •  
  •  
  •  
534 changes: 478 additions & 56 deletions .circleci/config.yml

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
Language: Cpp

AlignAfterOpenBracket: AlwaysBreak
Expand Down
3 changes: 1 addition & 2 deletions .clang-tidy
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
# Somebody decided it would be a good idea to represet a "list of strings"
# (a list that can get very long, and the indivdual strings tend to be
# relatively long as well) as a single long comma-separated string, with
# no tolerance for whitespace. Well done!
#
# We use clever YAML multiline-string syntax to work around this.
Checks: >
abseil-*,
bugprone-argument-comment,
bugprone-assert-side-effect,
bugprone-assignment-in-if-condition,
Expand Down Expand Up @@ -265,4 +265,3 @@ Checks: >
readability-uniqueptr-delete-release,
readability-use-anyofallof,
zircon-temporary-objects

172 changes: 88 additions & 84 deletions .cmake-format
Original file line number Diff line number Diff line change
@@ -1,182 +1,186 @@
---
format:
_help_max_prefix_chars:
- !!python/unicode 'If the statement spelling length (including space and'
- !!python/unicode 'parenthesis) is larger than the tab width by more than this'
- !!python/unicode 'amount, then force reject un-nested layouts.'
- !!python/unicode 'If the statement spelling length (including space and'
- !!python/unicode 'parenthesis) is larger than the tab width by more '
- !!python/unicode 'than this, then force reject un-nested layouts.'
max_prefix_chars: 10
_help_dangle_align:
- !!python/unicode 'If the trailing parenthesis must be ''dangled'' on its own'
- !!python/unicode 'line, then align it to this reference: `prefix`: the start'
- !!python/unicode 'of the statement, `prefix-indent`: the start of the'
- !!python/unicode 'statement, plus one indentation level, `child`: align to'
- !!python/unicode 'the column of the arguments'
- !!python/unicode 'If trailing parenthesis must be ''dangled'' on its own'
- !!python/unicode 'line, then align it to this reference: `prefix`: the '
- !!python/unicode 'start of the statement, `prefix-indent`: the start of '
- !!python/unicode 'the statement plus one indentation level, `child`: '
- !!python/unicode 'align to the column of the arguments'
dangle_align: !!python/unicode 'prefix'
_help_max_subgroups_hwrap:
- !!python/unicode 'If an argument group contains more than this many sub-groups'
- !!python/unicode '(parg or kwarg groups) then force it to a vertical layout.'
- !!python/unicode 'If an argument group contains more than this many '
- !!python/unicode 'sub-groups (parg or kwarg groups) then force it to a '
- !!python/unicode 'vertical layout.'
max_subgroups_hwrap: 2
_help_min_prefix_chars:
- !!python/unicode 'If the statement spelling length (including space and'
- !!python/unicode 'parenthesis) is smaller than this amount, then force reject'
- !!python/unicode 'nested layouts.'
- !!python/unicode 'If the statement spelling length (including space and'
- !!python/unicode 'parenthesis) is less than this, then force reject'
- !!python/unicode 'nested layouts.'
min_prefix_chars: 4
_help_max_pargs_hwrap:
- !!python/unicode 'If a positional argument group contains more than this many'
- !!python/unicode 'arguments, then force it to a vertical layout.'
- !!python/unicode 'If a positional argument group contains more than this'
- !!python/unicode 'many arguments, then force it to a vertical layout.'
max_pargs_hwrap: 6
_help_max_lines_hwrap:
- !!python/unicode 'If a candidate layout is wrapped horizontally but it exceeds'
- !!python/unicode 'this many lines, then reject the layout.'
- !!python/unicode 'If a candidate layout is wrapped horizontally but '
- !!python/unicode 'exceeds this many lines, then reject the layout.'
max_lines_hwrap: 2
_help_autosort:
- !!python/unicode 'If true, the parsers may infer whether or not an argument'
- !!python/unicode 'list is sortable (without annotation).'
- !!python/unicode 'If true, the parsers may infer whether or not an '
- !!python/unicode 'argument list is sortable (without annotation).'
autosort: false
_help_line_ending:
- !!python/unicode 'What style line endings to use in the output.'
- !!python/unicode 'What style line endings to use in the output.'
line_ending: !!python/unicode 'unix'
_help_line_width:
- !!python/unicode 'How wide to allow formatted cmake files'
- !!python/unicode 'How wide to allow formatted cmake files'
line_width: 80
_help_dangle_parens:
- !!python/unicode 'If a statement is wrapped to more than one line, then dangle'
- !!python/unicode 'the closing parenthesis on its own line.'
- !!python/unicode 'If a statement is wrapped to more than one line, then '
- !!python/unicode 'dangle the closing parenthesis on its own line.'
dangle_parens: true
_help_tab_size:
- !!python/unicode 'How many spaces to tab for indent'
- !!python/unicode 'How many spaces to tab for indent'
tab_size: 4
_help_always_wrap:
- !!python/unicode 'A list of command names which should always be wrapped'
- !!python/unicode 'A list of command names which should always be wrapped'
always_wrap: []
_help_require_valid_layout:
- !!python/unicode 'By default, if cmake-format cannot successfully fit'
- !!python/unicode 'everything into the desired linewidth it will apply the'
- !!python/unicode 'last, most agressive attempt that it made. If this flag is'
- !!python/unicode 'True, however, cmake-format will print error, exit with non-'
- !!python/unicode 'zero status code, and write-out nothing'
- !!python/unicode 'By default, if cmake-format cannot successfully fit'
- !!python/unicode 'everything into the desired linewidth it will apply '
- !!python/unicode 'the last, most agressive attempt that it made. If '
- !!python/unicode 'this flag is True, however, cmake-format will print '
- !!python/unicode 'error, exit with non-zero status code, and write-out '
- !!python/unicode 'nothing'
require_valid_layout: true
_help_keyword_case:
- !!python/unicode 'Format keywords consistently as ''lower'' or ''upper'' case'
- !!python/unicode 'Format keywords consistently as ''lower'' or '
- !!python/unicode ' ''upper'' case'
keyword_case: !!python/unicode 'unchanged'
_help_layout_passes:
- !!python/unicode 'A dictionary mapping layout nodes to a list of wrap'
- !!python/unicode 'decisions. See the documentation for more information.'
- !!python/unicode 'A dictionary mapping layout nodes to a list of wrap'
- !!python/unicode 'decisions. See the documentation for more information.'
layout_passes: {}
_help_enable_sort:
- !!python/unicode 'If true, the argument lists which are known to be sortable'
- !!python/unicode 'will be sorted lexicographically'
- !!python/unicode 'If true, the argument lists which are known to be '
- !!python/unicode 'sortable will be sorted lexicographically'
enable_sort: true
_help_markup: !!python/unicode 'Options affecting comment reflow and formatting.'
_help_markup: !!python/unicode 'Options affecting comment reflow & formatting.'
markup:
_help_literal_comment_pattern:
- !!python/unicode 'If comment markup is enabled, don''t reflow any comment block'
- !!python/unicode 'which matches this (regex) pattern. Default is `None`'
- !!python/unicode '(disabled).'
- !!python/unicode 'If comment markup is enabled, don''t reflow any '
- !!python/unicode 'comment block which matches this regex. Default is '
- !!python/unicode '`None` (disabled).'
literal_comment_pattern: null
_help_hashruler_min_length:
- !!python/unicode 'If a comment line starts with at least this many consecutive'
- !!python/unicode 'hash characters, then don''t lstrip() them off. This allows'
- !!python/unicode 'for lazy hash rulers where the first hash char is not'
- !!python/unicode 'separated by space'
- !!python/unicode 'If a comment line starts with at least this many '
- !!python/unicode 'consecutive hash characters, then don''t lstrip() '
- !!python/unicode 'them off. This allows for lazy hash rulers where the '
- !!python/unicode 'first hash char is not separated by space'
hashruler_min_length: 10
_help_fence_pattern:
- !!python/unicode 'Regular expression to match preformat fences in comments'
- !!python/unicode 'default=r''^\s*([`~]{3}[`~]*)(.*)$'''
- !!python/unicode 'Regex to match preformat fences in comments'
- !!python/unicode 'default=r''^\s*([`~]{3}[`~]*)(.*)$'''
fence_pattern: !!python/unicode '^\s*([`~]{3}[`~]*)(.*)$'
_help_canonicalize_hashrulers:
- !!python/unicode 'If true, then insert a space between the first hash char and'
- !!python/unicode 'remaining hash chars in a hash ruler, and normalize its'
- !!python/unicode 'length to fill the column'
- !!python/unicode 'If true, insert a space between first hash char and'
- !!python/unicode 'remaining hash chars in a hash ruler, and normalize its'
- !!python/unicode 'length to fill the column'
canonicalize_hashrulers: true
_help_explicit_trailing_pattern:
- !!python/unicode 'If a comment line matches starts with this pattern then it'
- !!python/unicode 'is explicitly a trailing comment for the preceeding'
- !!python/unicode 'argument. Default is ''#<'''
- !!python/unicode 'If a comment line matches starts with this pattern '
- !!python/unicode 'then it is explicitly a trailing comment for the '
- !!python/unicode 'preceding argument. Default is ''#<'''
explicit_trailing_pattern: !!python/unicode '#<'
_help_first_comment_is_literal:
- !!python/unicode 'If comment markup is enabled, don''t reflow the first comment'
- !!python/unicode 'block in each listfile. Use this to preserve formatting of'
- !!python/unicode 'your copyright/license statements.'
- !!python/unicode 'If comment markup is enabled, don''t reflow first '
- !!python/unicode 'comment block in each listfile. Use to preserve '
- !!python/unicode 'formatting of your copyright/license statements.'
first_comment_is_literal: false
_help_enable_markup:
- !!python/unicode 'enable comment markup parsing and reflow'
- !!python/unicode 'enable comment markup parsing and reflow'
enable_markup: true
_help_ruler_pattern:
- !!python/unicode 'Regular expression to match rulers in comments'
- !!python/unicode 'default=r''^\s*[^\w\s]{3}.*[^\w\s]{3}$'''
- !!python/unicode 'Regular expression to match rulers in comments'
- !!python/unicode 'default=r''^\s*[^\w\s]{3}.*[^\w\s]{3}$'''
ruler_pattern: !!python/unicode '^\s*[^\w\s]{3}.*[^\w\s]{3}$'
_help_enum_char:
- !!python/unicode 'What character to use as punctuation after numerals in an'
- !!python/unicode 'enumerated list'
- !!python/unicode 'punctuation character after numerals in an'
- !!python/unicode 'enumerated list'
enum_char: .
_help_bullet_char:
- !!python/unicode 'What character to use for bulleted lists'
- !!python/unicode 'What character to use for bulleted lists'
bullet_char: '*'
_help_lint: !!python/unicode 'Options affecting the linter'
lint:
_help_function_pattern:
- !!python/unicode 'regular expression pattern describing valid function names'
- !!python/unicode 'regex describing valid function names'
function_pattern: !!python/unicode '[0-9a-z_]+'
_help_disabled_codes:
- !!python/unicode 'a list of lint codes to disable'
- !!python/unicode 'a list of lint codes to disable'
disabled_codes: []
_help_min_statement_spacing:
- !!python/unicode 'Require at least this many newlines between statements'
- !!python/unicode 'Require at least this many newlines between statements'
min_statement_spacing: 1
_help_macro_pattern:
- !!python/unicode 'regular expression pattern describing valid macro names'
- !!python/unicode 'regular expression pattern describing valid macro names'
macro_pattern: !!python/unicode '[0-9A-Z_]+'
_help_public_var_pattern:
- !!python/unicode 'regular expression pattern describing valid names for'
- !!python/unicode 'publicdirectory variables'
- !!python/unicode 'regular expression pattern describing valid names for'
- !!python/unicode 'publicdirectory variables'
public_var_pattern: !!python/unicode '[0-9A-Z][0-9A-Z_]+'
max_statements: 50
_help_max_conditionals_custom_parser:
- !!python/unicode 'In the heuristic for C0201, how many conditionals to match'
- !!python/unicode 'within a loop in before considering the loop a parser.'
- !!python/unicode 'In heuristic for C0201, how many conditionals to match'
- !!python/unicode 'within a loop in before considering the loop a parser.'
max_conditionals_custom_parser: 2
_help_global_var_pattern:
- !!python/unicode 'regular expression pattern describing valid names for'
- !!python/unicode 'variables with global scope'
- !!python/unicode 'regular expression pattern describing valid names for'
- !!python/unicode 'variables with global scope'
global_var_pattern: !!python/unicode '[0-9A-Z][0-9A-Z_]+'
_help_keyword_pattern:
- !!python/unicode 'regular expression pattern describing valid names for'
- !!python/unicode 'keywords used in functions or macros'
- !!python/unicode 'regular expression pattern describing valid names for'
- !!python/unicode 'keywords used in functions or macros'
keyword_pattern: !!python/unicode '[0-9A-Z_]+'
max_arguments: 5
_help_private_var_pattern:
- !!python/unicode 'regular expression pattern describing valid names for'
- !!python/unicode 'privatedirectory variables'
- !!python/unicode 'regular expression pattern describing valid names for'
- !!python/unicode 'privatedirectory variables'
private_var_pattern: !!python/unicode '_[0-9a-z_]+'
max_localvars: 15
max_branches: 12
_help_local_var_pattern:
- !!python/unicode 'regular expression pattern describing valid names for'
- !!python/unicode 'variables with local scope'
- !!python/unicode 'regular expression pattern describing valid names for'
- !!python/unicode 'variables with local scope'
local_var_pattern: !!python/unicode '[0-9a-z_]+'
_help_max_statement_spacing:
- !!python/unicode 'Require no more than this many newlines between statements'
- !!python/unicode 'Maximum newlines between statements'
max_statement_spacing: 1
_help_internal_var_pattern:
- !!python/unicode 'regular expression pattern describing valid names for'
- !!python/unicode 'variables with global scope (but internal semantic)'
- !!python/unicode 'regular expression pattern describing valid names for'
- !!python/unicode 'variables with global scope (but internal semantic)'
internal_var_pattern: !!python/unicode '_[0-9A-Z][0-9A-Z_]+'
max_returns: 6
_help_misc: !!python/unicode 'Miscellaneous configurations options.'
misc:
_help_per_command:
- !!python/unicode 'A dictionary containing any per-command configuration'
- !!python/unicode 'overrides. Currently only `command_case` is supported.'
- !!python/unicode 'A dictionary containing any per-command configuration'
- !!python/unicode 'overrides. Currently only `command_case` is supported.'
per_command: {}
_help_parse: !!python/unicode 'Options affecting listfile parsing'
parse:
_help_additional_commands:
- !!python/unicode 'Specify structure for custom cmake functions'
- !!python/unicode 'Specify structure for custom cmake functions'
additional_commands:
!!python/unicode 'foo':
!!python/unicode 'flags':
- !!python/unicode 'BAR'
- !!python/unicode 'BAZ'
- !!python/unicode 'BAR'
- !!python/unicode 'BAZ'
!!python/unicode 'kwargs':
!!python/unicode 'HEADERS': !!python/unicode '*'
!!python/unicode 'DEPENDS': !!python/unicode '*'
Expand Down
10 changes: 10 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
aclocal.m4 linguist-generated=true
configure linguist-generated=true
libpqxx.pc linguist-generated=true
libtool linguist-generated=true
**/Makefile.in linguist-generated=true
cmake/pqxx_cxx_feature_checks.cmake linguist-generated=true
config/* linguist-generated=true
examples/Makefile.am linguist-generated=true
include/CMakeLists.txt linguist-generated=true
tests/Makefile.am linguist-generated=true
30 changes: 17 additions & 13 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@
# These are supported funding model platforms
# These are supported funding model platforms.

---
github: [jtv]
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
lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
polar: # Replace with a single Polar username
buy_me_a_coffee: # Replace with a single Buy Me a Coffee username
thanks_dev: # Replace with a single thanks.dev username
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
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
# Replace with a single Tidelift platform-name/package-name e.g., npm/babel:
tidelift:
# Replace with a single Community Bridge project-name e.g., cloud-foundry:
community_bridge:
liberapay: # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
# Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry:
lfx_crowdfunding:
polar: # Replace with a single Polar username
buy_me_a_coffee: # Replace with a single Buy Me a Coffee username
thanks_dev: # Replace with a single thanks.dev username
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
Loading
Loading