Commit Graph

16 Commits

Author SHA1 Message Date
Trevor Clinkenbeard 1bc151d47f Add more clang-tidy checks 2026-05-24 15:15:47 -07:00
Trevor Clinkenbeard 399d13505f Make single-argument constructors explicit 2026-04-24 18:53:40 +00:00
Trevor Clinkenbeard 2fe353499d Merge remote-tracking branch 'origin/main' into dev/tclinkenbeard/enforce-clang-tidy2 2026-04-21 21:37:31 -07:00
Trevor Clinkenbeard 45d02aab33 Encapsulate flow header files 2026-04-20 17:09:44 +00:00
Trevor Clinkenbeard 156674391e Merge remote-tracking branch 'apple/main' into dev/tclinkenbeard/enforce-clang-tidy2 2026-04-16 22:29:42 +00:00
gxglass 4539929692
Add a test for logging XML formatted text through TraceEvent (#12999)
* Add a test to ensure that logging XML formatted test through TraceEvent results in it getting escaped

* Wording update in comment
2026-04-15 16:14:45 -07:00
Trevor Clinkenbeard e38baf18ea Fix more clang-tidy warnings 2026-04-15 14:23:33 +00:00
Xiaoge Su 5a2804e04b
fixup! Fix the XmlTraceLogFormatter (#7322)
* fixup! Fix the XmlTraceLogFormatter

The original escape process uses a `loop` while the code is actually not
an ACTOR. So the actorcompiler is not reacting. This causes the escape
not escaping the XML fields properly.

* fixup! Reformat source
2022-06-13 13:38:17 -07:00
Mohamed Oulmahdi 541ff206f3 Use \n instead of \r\n in log formatters 2022-05-31 11:59:21 +02:00
sfc-gh-tclinkenbeard 63b241c60b Improve const-correctness of ITraceLogFormatter 2021-10-25 14:42:31 -07:00
FDB Formatster df90cc89de apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-03-10 10:18:07 -08:00
Robert Escriva 268093a96d Adjust all includes to be relative to the root.
Remove the use of relative paths.  A header at foo/bar.h could be included by
files under foo/ with "bar.h", but would be included everywhere else as
"foo/bar.h".  Adjust so that every include references such a header with the
latter form.

Signed-off-by: Robert Escriva <rescriva@dropbox.com>
2018-10-19 17:35:33 +00:00
Alex Miller 7feb5d8209 Remove including flow.h in actorcompiler.h, and fix resulting breakage.
For files that required flow.h, and only got it through actorcompiler.h,
their version of flow.h would have the actorcompiler #defines defined.
Then, if it included a STL/boost file, the same breakage would result.

This needs to not happen, so the include of flow.h in actorcompiler.h
was removed.
2018-08-14 15:50:26 -07:00
Alex Miller fb31a6999f Rewrite all files to have #include actorcompiler.h as the last include. 2018-08-14 15:50:26 -07:00
A.J. Beamon 5848055620 More line ending fixes 2018-05-31 13:44:38 -07:00
A.J. Beamon f1dea3bed9 Rework the formatter a bit and extract out the writing logic so that it could be pluggable. 2018-05-31 13:27:35 -07:00