Commit Graph

23 Commits

Author SHA1 Message Date
Jason Rhinelander
bfc6d35b33 Simplifications & C++17
- Modernize some iterator loops
- Simplify a couple places by using `if (init; ...)`
- Replace various std::binds with lambdas
2021-11-14 10:11:00 -04:00
Thomas Winget
7caa87862e standardize include format and pragma once
All #ifndef guards on headers have been removed, I think,
in favor of #pragma once

Headers are now included as `#include "filename"` if the included file
resides in the same directory as the file including it, or any
subdirectory therein.  Otherwise they are included as
`#include <project/top/dir/relative/path/filename>`

The above does not include system/os headers.
2021-03-09 19:01:41 -05:00
Stephen Shelton
273270916e
The Great Wall of Blame
This commit reflects changes to clang-format rules. Unfortunately,
these rule changes create a massive change to the codebase, which
causes an apparent rewrite of git history.

Git blame's --ignore-rev flag can be used to ignore this commit when
attempting to `git blame` some code.
2020-04-07 12:38:56 -06:00
Michael
16cdfbd5f0
clang-tidy modernize pass 2019-08-12 16:52:58 +01:00
Jeff Becker
095330b787
disable shell hooks by default 2019-07-12 09:06:59 -04:00
Michael
b01e5accbb
Add function to set threadname, and use from threadpool impl 2019-07-09 01:06:22 +01:00
Michael
06882338bb
Change ExecShellHookBackend to use a modern thread pool 2019-05-18 23:04:08 +01:00
Michael
1744ae7686
Tidy up service endpoint a bit more 2019-05-07 09:29:47 +01:00
Jeff
236434e5c3
Merge pull request #591 from despair86/upstream-push
build fixes, but keep lto
2019-05-06 05:51:54 -04:00
Rick V
2e49c2ffc7
fix non-loonix 2019-05-05 23:02:24 -05:00
Jeff Becker
92ad98be8b
refactor hooks to be have more c++isms
make path build timeouts use log level warning
2019-05-05 09:51:48 -04:00
Jeff Becker
5b49008bca
more 2019-05-02 12:23:31 -04:00
Jeff Becker
aa5d4c17fe
win32 guards 2019-05-01 11:36:20 -04:00
Jeff Becker
20ba2c7b8c
try not to die 2019-04-30 12:57:59 -04:00
Jeff Becker
d50b18d7b0
try fixing leak also make format 2019-04-30 08:22:15 -04:00
Jeff
f97b9bd299 fix osx shell hooks 2019-04-27 06:48:01 -04:00
Jeff Becker
d5162c2aad
dont kill active exit paths 2019-04-22 13:55:07 -04:00
Jeff Becker
3120464fd6
catch error 2019-04-22 10:53:30 -04:00
Jeff Becker
fddb4c6b5d
give commandline args to hooks 2019-04-22 10:33:27 -04:00
Jeff Becker
a73d6f5c31
stop and drain threadpool 2019-04-22 10:03:22 -04:00
Jeff Becker
c0d7b53328
make it work 2019-04-22 10:00:59 -04:00
Jeff Becker
6785bd75c6
actually fork 2019-04-22 08:48:48 -04:00
Jeff Becker
3a8cb0bfb5
add shell based hooks for service::Endpoint, also make format 2019-04-22 08:25:25 -04:00