-
Notifications
You must be signed in to change notification settings - Fork 282
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exclude #649
base: master
Are you sure you want to change the base?
Exclude #649
Conversation
Building fails with a warning that we didn't init this var. So I'm setting it to 0. Is that right, wrong, catastrophic? I dunno, but the warning went away and the build succeeds. Maybe it would be better to just -Wno-error=maybe-uninitialized in vendor/github.com/google/googletest/googletest/cmake/internal_utils.cmake or something.
We can now notice the exclude parameter on the command line, though we don't actually do anything once we notice it yet.
….361e8d1c 361e8d1c version bump ef7f75fb simplified code (#1439) e27c9307 use target_compile_definitions (#1440) 7b3ac075 Stop generating the export header and just check it in (#1435) d845b7b3 Also fix the SOVERSION for benchmark_main d4bc509b Fix SOVERSION of shared library 7a2024e9 v1.6.2 bump 48c2d1c1 Expose google_benchmark.State for python bindings. (#1430) 4efcc474 Suppress nvcc `offsetof` warning (#1429) 1531ee0d Correct typo in Passing Arguments section ac8a6d3d cleanup comments 8205547c fix sanitizer builds by using clang 13 (#1426) 0a95a422 fix dependabot numpy version warning a8bc318b fix cmake warning for libcxx setup 4136c4a3 Expose default help printer function (#1425) dfdda57a Fix DoNotOptimize() GCC compile error with some types (#1340) (#1424) 7280499e Remove redundant formatting tags (#1420) b7afda2c Revert "Add possibility to ask for libbenchmark version number (#1004) (#1403)" (#1417) af7de865 Clarify that the cpu frequency is not used for benchmark timings. (#1414) 8545dfb3 Fix DoNotOptimize() GCC copy overhead (#1340) (#1410) efadf67a Add possibility to ask for libbenchmark version number (#1004) (#1403) 2365c4a6 add multiple OSes to bazel workflow (#1412) 920fa148 fix some build warnings on type conversions 108ca848 fix typo in comment 6d50251d Report large numbers in scientific notation in console reporter (#1303) (#1402) 7eb8c0fe Introduce warmup phase to BenchmarkRunner (#1130) (#1399) 6c46c9f5 Add support to get clock for new architecture CSKY (#1400) 37be1e82 Add option to get the verbosity provided by commandline flag -v (#1330) (#1397) aecbdbff fix some typos (#1393) bc4639c1 Add installation and build instructions for Python bindings (#1392) 8d86026c Enable -Wconversion (#1390) b0d5adfa Add benchmark labels to the output of the comparison tool (#1388) a162a38c Filter out benchmarks that start with "DISABLED_" (#1387) dc901ff9 Fix wheel job name for PyPI uploads (#1384) 6f75bb52 Shut down Bazel gracefully and revert wheel build strategy to job matrix (#1383) 74ae5672 Small optimization to counter map management (#1382) 3eac3b60 getting sysinfo in line with Google style (#1381) 60b16f11 Promote inclusive language. (#1360) a480a088 [nfc] Reformat doc-string in generate_export_header (#1376) 808571a5 Fix Bazel build breakage caused by commit 6a894bd. (#1374) 6a894bd5 Build `//:benchmark` as a static library only. (#1373) 5704cd4c add note about wheels action to releasing docs 3eab9854 Change artifact download name to dist to match upload name (#1371) 7d6f1534 Remove conditional trigger from PyPI upload job (#1370) 9a71e5d7 Add BENCHMARK_STATIC_DEFINE to the Python bindings' `cc_binary` local defines. (#1369) 4a1943d6 Update LICENSE file to clearly state which file needs BSD 3 (#1366) 4f77cf9e Fix float comparaison and add float comparison warning (#1368) 705202d2 Add PyPI upload job to wheel building workflow (#1359) a25f3cde Appended additional BSD 3-Clause to LICENSE (#1363) eacce0b5 Add SetBenchmarkFilter() to set --benchmark_filter flag value in user code (#1362) df7749cd Add long description and content type for proper PyPI presentation (#1361) d08e7b60 Allow setting the default time unit globally (#1337) e33986a0 restore BENCHMARK_MAIN() (#1357) 7cb29142 @platforms is magical; remove it from WORKSPACE. (#1356) e057a7ce Make generate_export_header.bzl work for Windows. (#1355) e82a6ed7 avoid case sensitive issues with duplicated names (#1354) b46208fc move bzl file out of tools (#1352) c5636440 Introduce the possibility to customize the help printer function (#1342) 28b210eb simplify reference to internal path (#1349) 7b46d3dd Check for macro existence before using (#1347) 9e47d070 annotate and export public symbols (#1321) 6e51dcbc Expose default display reporter creation in public API (#1344) d2cbd4b2 Avoid potential truncation issues for the integral type parameterized tests. (#1341) bdea5051 Add mutex when reading counters_ (Fixes #1335) (#1338) 1ee7bee6 Use Win32 API only for Win32 apps (#1333) 14eee07f bump numby, as per dependabot (#1336) 6d51a119 Fix cross compilation for macOS ARM builds in `cibuildwheel` (#1334) d0fbf8ac Cache PerfCounters instance in PerfCountersMeasurement (#1308) 57b2bfa3 Fix some errors in Custom Statistics demo code. (#1332) acd75620 Refine the User Guide CPU Frequency Scaling section (#1331) 9e859f5b Refine docs on changing cpufreq governor (#1325) 00e22110 Expand documentation for unpacking arbitrary arguments. (#1324) 6cf20f1e Suppress GoogleTest warnings on windows (MSVC) too. (#1320) 5531ec80 Add docs on Memory profiling (#1217). (#1319) 31e79417 Add docs for `ThreadRange`. (#1318) 0d98dba2 Creating release commit for v1.6.1 0e78738a Destructor not returning is expected in some cases (#1316) 6dfe7afb Address c4267 warning on MSVC (#1315) 3b3de694 Fix `-DBENCHMARK_ENABLE_INSTALL=OFF` (Fixes #1275) (#1305) b0006727 Avoid errors due to "default label in switch which covers all enumeration values" in Windows codepath (#1302) 1f994050 update googletest to latest release tag 1.11.0 (#1301) ab867074 clang-tidy: readability-redundant and performance (#1298) fd258bbd Update user_guide.md (#1296) fe2e8aa1 Fix broken link to Setup/Teardown section (#1291) 680d3fdb Add clang-tidy check (#1290) d6ba952f compare.py: compute and print 'OVERALL GEOMEAN' aggregate (#1289) ce92bbfb remove long-defunct cli parameter 88ea9d90 lose some build warnings 91ed7eea Disable clang-tidy (unused-using-decls) (#1287) 8722d6f0 disable lint check where we know it'd fail (#1286) b5bb9f06 Add Setup/Teardown option on Benchmark. (#1269) a07f6d17 Googletest renamed master to main today. (#1285) 8401429e Remove bazelbuild/rules_cc dependency (#1283) 926f61da Support for building with LLVM clang-10/clang-11 on Windows. (#1227) a17480dd Fix dependency typo and unpin cibuildwheel version in wheel building … (#1263) b3c08f6e check clang format on pull requests and merges (#1281) c07a4989 format tests with clang-format (#1282) fcef4fb6 clang-format Google on {src/,include/} (#1280) 431abd14 Fix warning with MacOS (#1276) 4b99670c Fixed typo in doc: s/marcro/macro (#1274) 329fb06d Fix error with Fix Werror=old-style-cast (#1272) 8826ef79 Fix error Wshorten-64-to-32 (#1273) 8aae0a4f [cleanup] Change `== ""` to `.empty()` on string to avoid clang-tidy warnings (#1271) 4f31803e Fix un-initted error in test and fix change the API previously proposed to use std::string instead of raw char* (#1266) da01c5e6 use docker container for ubuntu-16.04 builds (#1265) 4f47ed2c [RFC] Adding API for setting/getting benchmark_filter flag? (#1254) fca34829 Allow template arguments to be specified directly on the BENCHMARK macro (#1262) 365670e4 Added Doxygen support. (#1228) 80d70ddd Fix -Wdeprecated-declarations warning once more. (#1256) 1e3ab7fa Merge remote-tracking branch 'upstream/pr/1240' 1be88c06 cmake: allow to use package config from build directory 33959495 Merge remote-tracking branch 'upstream/pr/1244' eb9100bf cmake: make package config relocatable 2f30903c GoogleTest.cmake.in: mention BENCHMARK_USE_BUNDLED_GTEST 8c8052aa GoogleTest.cmake.in: immediately error-out after failure message, Closes #1255 7fad964a Introduce additional memory metrics (#1238) f730846b Fix -Wdeprecated-declarations warning triggered by clang-cl. (#1245) 285e5e97 Cmake: options for controlling werror, disable werror for PGI compilers (#1246) 59bbc7fd cmake: eliminate redundant `target_include_directories` (#1242) 0baacde3 Update policy to match reality 713b9177 Fix mention of --benchmarks in comment (#1229) 400ed3f5 Added support of packaged GTest for running unit tests. (#1226) 1bd8098d Optimized docs installation (#1225) c23a0012 Remove unused parameter from lambda. (#1223) 92f50a22 add to final releasing step f91b6b42 bump version to 1.6 in preparation for release 4f807059 COnsole reporter: if statistic produces percents, format it as such (#1221) 45b194e4 Introduce Coefficient of variation aggregate (#1220) 12dc5eea Statistics: add support for percentage unit in addition to time (#1219) 67b77da3 report.py: adjust expected u-test values for tests e7a84158 CMake: add forgotten include(FeatureSummary) into FindPFM.cmake to fix build 2b093325 replace #warning with #pragma message (#1216) 04c46660 force cmake version to 3.5.1 e7fa637c [NFC] PFM: actually report package as found, and advertise description 0a447f8a Fix links to further doc in user_guide.md (#1215) dc1a9717 Introduce accessors for currently public data members (threads and thread_index) (#1208) 8fd49d66 Fix a -Wunreachable-code-aggressive warning (#1214) c4b06e5b Set theme jekyll-theme-minimal 0fb4b751 wrap things that look like tags but aren't with `{% raw %}` 990299ff install docs folder when installing library (#1212) 91ce110b add .DS_Store to .gitignore 201b981a refactor the documentation to minimise `README.md` (#1211) 2d054b68 Merge branch 'main' of github.com:google/benchmark ddc76e51 preparing v1.5.6 release cb9afbba Set theme jekyll-theme-modernist 07f833d6 so much for googletest not failing any more d0db4e01 turn back on strict mode for googletest as it no longer breaks 4124223b Change the default value of `--benchmark_filter` from "." to <empty> (#1207) 1067dfc9 Remove dead code from PredictNumItersNeeded (#1206) ab74ae5e downgrade warnings for googletest (#1203) 9433793f Add wheel and sdist building action to GH Workflow (#1180) e451e50e add g++ to sanitizer buildbots (#1197) 1fcb5c23 Don't return a reference when the callers all expect pointers. 19026e23 fix clang-tidy warnings (#1195) 94f845ec Fix typos (#1194) 05a2ace7 Fix type warning on certain compilers (#1193) 40d2069d Use C++11 atomic_signal_fence for ClobberMemory (#1190) 38b767e5 Bazel qnx (#1192) d6778aeb Deduplicate test function name in python bindings example (#1189) 1799e1b9 prefix VLOG (#1187) 6a5bf081 prefix macros to avoid clashes (#1186) 5da56604 Move flags inside the `benchmark` namespace (#1185) 62937f91 Add missing trailing commas (#1182) c932169e Provide helpers to create integer lists for the given ranges. (#1179) 5b751848 benchmark_runner.h: Remove superfluous semi colon (#1178) e991355c [NFCI] Drop warning to satisfy clang's -Wunused-but-set-variable diag (#1174) f90215f1 Add support for new architecture loongarch (#1173) 34240912 Use modern clang/libc++ for sanitizers (#1171) bdd6c447 Enable various sanitizer builds in github actions (#1167) fbc31405 Random interleaving of benchmark repetitions - the sequel (fixes #1051) (#1163) d17ea665 Fix leak in test, and provide path to remove leak from library (#1169) 32cc6071 [NFCI] Make BenchmarkRunner non-internal to it's .cpp file 520573fe [NFCI] RunBenchmarks(): extract FlushStreams()/Report() functions 6e32352c compare.py: sort the results (#1168) 0c1da0a7 Make 'complexity reports' cache per-family, not global (#1166) 80a62618 Introduce per-family instance index (#1165) 4c2e32f1 Introduce "family index" field into JSON output (#1164) e0a080d0 BenchmarkFamilies::FindBenchmarks(): correctly use std::vector<>::reserve() a54ef37a Ensure that we print repetition count even when it was specified via flag `--benchmark_repetitions=` e025dd5a Revert "Implementation of random interleaving. (#1105)" (#1161) 6f094ba1 Fix perf counter argument parsing (#1160) 4ff73496 Run build-and-test on all branches f10b9c0c Un-disable github actions :] 604112c2 Run build-and-test on all branches 09a87e31 Set theme jekyll-theme-hacker bc5651e5 bump version to v1.5.4 0e1255af Removing freenode from README db2de74c Fix pedantic compilation flag violation (#1156) a4bcd937 fix version recorded in releases (#1047) a6a738c1 Implementation of random interleaving. (#1105) c983c3ec remove appveyor and add libera.chat as IRC resource e539e807 [PFM] Extend perf counter support to multi-threaded cases. (#1153) 7d0d9061 Support -Wsuggest-override (#1059) 3b508fad Refactor `BenchmarkInstance` (#1148) 1f47b6b6 Remove travis configs that are covered by actions (#1145) 0852c79f remove done TODOs 551a21ba add g++-6 to ubuntu-14.04 (#1144) 17948a78 Add MSVC ARM64 support to cmake (#1090) a53b8853 Add ubuntu-14.04 build and test workflow (#1131) a2e8a8a9 Clean -Wreserved-identifier instances (#1143) e0826ede Fix StrSplit empty string case (#1142) e50b572e cmake: Add explicit BENCHMARK_ENABLE_LIBPFM option (#1141) d0c227cc Add API to benchmark allowing for custom context to be added (#1137) 33c133a2 Add `benchmark_context` flag that allows per-run custom context. (#1127) ba9a763d Add multiple compiler support to build-and-test workflow (#1128) 64cb55e9 enable markdown rendering on github pages 376ebc26 Support optional, user-directed collection of performance counters (#1114) 835951aa Be compliant and return 0 from main. 264976de Fix windows warning on type conversion (#1121) 86da5ec2 Add verbosity to CI logs (#1122) d882be1e fix cmake issue with referencing a non-existing function argument (#1118) 058fb588 [tools] Fix dumb mistake in previous commit - print aggregates only means aggregates, not non-aggregates 362c2ab9 [tools] Don't forget to print UTest when printing aggregates only c05843a9 [sysinfo] Fix CPU Frequency reading on AMD Ryzen CPU's (#1117) 69054ae5 Use fewer ramp up repetitions when KeepRunningBatch is used (#1113) 0882a74c Add bazel status to README 2dad9aef Re-enable bazel without bazelisk and with scoped build/test targets (#1109) 39b5a298 Improve BENCHMARK_UNUSED definition (#1111) 07578d82 Shrink the tz_offset size to 41. (#1110) f1deaf16 fix minor typo (though this is an external property) 5a77a6d8 fix minor typo b8084e50 fix minor typo 5e387e7d Implement custom benchmark name (#1107) cc9abfc8 Fix URL to googletest primer (#1102) 50c9eb54 Removing conanfile (and support) per #1088 (#1099) 4c26070d disable bazel for now (#1101) 5c43112e Update 'Output Files' section to reflect csv support. (#1095) a9b9471c Fix typo in invalid file name error message. (#1094) d90321ff - add support for Elbrus 2000 (e2k) (#1091) ea5a5bbf Add MSVC ARM64 support for reading clocks (#1052) 8df87f6c Revert "Add bazel target for benchmark_release (#1078)" (#1081) a6d08aea Create workflow to exercise bazel build (#1079) d8254bb9 Add bazel target for benchmark_release (#1078) 378ed8ff Add 'seconds' time unit (#1076) bf585a27 Fix some bazel warnings about missing sha256 on http_archives 17a6b21e Fix Range when starting at zero (#1073) 7fa6f1f9 Disable lto-type-mismatch warnings (#1071) 37ced31b Added support for macro expansion in benchmark names (#1054) 348aa2c9 bazel support for tools (#982) d9abf017 Rename 'mftbl' to 'mftb' (#1069) a9704c26 Nanosleep workaround for z/OS in sleep.cc (#1067) dce3322a Add support for z/OS XL compiler inline asm syntax (#1063) 3d1c2677 src/benchmark_register.h: add missing <limits> inclusion (#1060) af72911f Add support for DragonFly BSD (#1058) ffe1342e Add CycleTimer implementation for M68K architecture (#1050) 2d9bfe1e Include github workflows status in README 949f5bb1 Add support for JSON dumps of benchmark diff reports. (#1042). Fixes #737. 7efada2d Fixed pkg-config on other than Ubuntu GNU/Linux distributions. (#1043) 73d4d5e8 Bind benchmark builder to Python (#1040) df9e2948 Add workflow to exercise bindings (#1041) 12e85b2e Bind more State methods/attributes to Python (#1037) beb360d0 Create pylint.yml (#1039) 47515508 Revert previous linker additions for FreeBSD as the problem is Bazel using /usr/bin/clang instead of /usr/bin/clang++ to link C++ code. (#1035) 4475ff6b Adds -lm linker flag for FreeBSD/OpenBSD and uses github.com/bazelbuil… (#1032) 01c0ab7c Fix Clang builds on Windows (#1021) 48579623 Add CartesianProduct with associated test (#1029) 5c25ad3a Ctest support (#1025) bb978c06 Update build instructions to better use CMake (#1017) 5b72b6c2 Remove "BENCHMARK_" prefix from env var version of command line flags (#997) 4986d0b2 Create build-and-test.yml (#1013) 1302d2ce Add missing breaks for QNX cache counting (#1012) 99010118 JSONReporter: don't report on scaling if we didn't get it (#1005) (#1008) 37177a84 Fix python extension import (#1000) 39c8d58a Rename python bindings package to `google_benchmark`. (#999) 7f27afe8 Expose methods for custom main functions in Python. (#993) 8f5e6ae0 Add requirements.txt for python dependencies (#994) 39b6e703 adds a "--no-color" flag to the compare.py script (#990) 15e6dfd7 timers: silence strncat truncation warning (#984) 76efbcdd Merge pull request #980 from brianwolfe/wolfe-fix-overflow-warning 7cc06ef8 timers: just make the buffers big enough f25ea40a timers: use snprintf instead of sprintf f6ac240c timers: silence format overflow warning 99c52f14 use rfc3339-formatted timestamps in output [output format change] (#965) 8039b403 Upgrade bazel from 0.10.1 to 3.2.0 (#976) 4ecb5f31 Merge branch 'master' of github.com:google/benchmark 22e55e18 Add some simple docs for installing the Python bindings from source. (#975) 74b4612c Add absl dependency as needed b63da7b8 Ignore python bindings build artifacts 4e88f582 move releasing doc to docs 6746c65b Expose `SkipWithError` in Python bindings. (#968) 9284e90f Drop unused mingw.py (#966) d3ad0b9d Add Python bindings. (#957) 56898e9a Add missing <cerrno> header include - fixes Android build (#960) ecc16853 Fix formatting issues introduced by a77d5f7 (#959) 8cead007 Remove warnings for internal use of CSVReporter (#956) a77d5f70 Fix cycleclock::Now for RISC-V and PPC (#955) 0ab2c290 Fix type conversion warnings. (#951) b23d3557 Fix Travis-ci builds (#950) e30cac6b Revert "Add d postfix to Debug libraries (#923)" (#947) 70d89ac5 Revert "Add d postfix to Debug libraries (#923)" 8e0b1913 Update issue templates c0783374 Relax CHECK condition in benchmark_runner.cc (#938) 168604d8 [docs] Use `benchmark::IterationCount` rather than `int64_t` in lambda to complexity (#940) 8982e1ee Fix MSVC warning. (#935) e5ea03ce Fix cxx03 standard selection, option override in CMake 3.13+. Fixes #933 (#934) 5ac80de0 Disable pedantic warnings and errors until googletest/gmock is fixed daff5fea Alias CMake Targets. Fixes #921 (#926) 5ce2429a Add d postfix to Debug libraries (#923) 0811f1d7 Fix typo in mutex.h (#917) 36711948 CPU caches are binary units, not SI. (#911) 318d0711 README.md: a few adjustments after #894 daf276ff Document environment variables options usage (#894) 49aa79b6 update header guard to match style a8b36933 Merge pull request #905 from LebedevRI/misc-cleanup 51d991f1 ParseCommandLineFlags(): do not dereference argc if it is null c22c266e JSONReporter: RoundDouble(): use std::lround() to round double to int cc7f50e1 BenchmarkRunner: use std::lround() to round double to int 74e112ae mingw.py: check for None via 'is', not '=='. 173aff82 src/counter.h: add header guard c50ac68c CMake: use full add_test(NAME <> COMMAND <>) signature (#901) cf446a18 Remove superfluous cache line scaling in JSON reporter. (#896) d16ae64e Set CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS (#889) bc200ed8 Read options from environment (#881) (#883) 309de598 Switch to Starlark for C++ rules. (#887) f4f5dba4 Cache RUN_${FEATURE} variable in CXXFeatureCheck.cmake (#886) b8bce0c7 fixed the param order in g++ command and fixed the path for -L (#879) b874e722 Guard definition of __STDC_FORMAT_MACROS in ifndef (#875) 7411874d Define HOST_NAME_MAX for NaCl and RTEMS (#876) e7e3d976 Add missing parenthesis to code sample, and fix spacing. (#877) d2fc7fe6 Guard ASSERT_THROWS checks with BENCHMARK_HAS_NO_EXCEPTIONS (#874) bf4f2ea0 Addresses issue vgough#634. (#866) ef7d51c8 Allow setting GOOGLETEST_PATH cmake argument. Fixes #867 (#868) 7ee72863 Remove unused `doc` argument from `DEFINE_` macros. (#857) 67853d3e Add .gitignore rule to ignore temporary .swp backup files created by vim. (#859) ffadb65d Documentation of basic use of DenseRange. (#855) 3523f11d Update README.md: fix MS VS version requirement 7d97a057 Custom user counters: add invert modifier. (#850) c4084619 Disable deprecated warnings when touching CSVReporter internally. 140fc22a Corrected the installation procedure (#849) 140db8a2 fix typo in README (#844) 66482d53 README.md: corrected cmake commands (#846) ff7e2d45 README.md: Spelling fix (#845) 32a1e397 Bugfix/wsl selftest fixes. Fixes #839 (#843) 8e48105d CMake; windows: link to lowercase 'shlwapi' - consistent with headers (#840) df4f9fe3 docs: fix typo (#837) 4abdfbb8 Add RISC-V support in cycleclock::Now (#833) 04a9343f Make some functions const (#832) 090faecb Use IterationCount in one more place f92903cc Iteration counts should be `uint64_t` globally. (#817) 2e7203aa CMake: check CMAKE_CXX_COMPILER_ID, not CMAKE_C_COMPILER_ID 12c978c5 Mark CMake project as C++-only (#681) b988639f Fix compilation for Android (#816) 33d44046 Don't read CMAKE_BUILD_TYPE if it is not there (#811) 7d856b03 If gtest targets are already defined, use them. (#777) 823d2463 Add support for GNU Install Dirs from GNU Coding Standards. Fixes #807 (#808) 13b8bdc2 Bump required cmake version from 2.x to 3.x (#801) 94115f44 Revert "Travis-ci: more correctly pass -m32 to 32-bit jobs" 7da47d03 Travis-ci: more correctly pass -m32 to 32-bit jobs 727a81aa CMake: avoid incorrect extra "" around the GOOGLETEST_PATH. 4b771940 CMake: codedrop of googletest cmake magic from me (#809) 05d8c1c5 Improve README (#804) 588be044 escape special chars in csv and json output. (#802) 1d41de84 Add command line flags tests (#793) 415835e0 fix master branch on *BSD (#792) 56fd56dc Refactor U-Test calculation into separate function. (#740) c5b2fe93 Load http_archive for bazel build 7a1c3702 Add process_time for better OpenMP and user-managed thread timing 30bd6ea7 Fix .clang-format 3bc802e4 Silence CMake Policy 0063 warning (#790) 6a5c379c Set theme jekyll-theme-midnight 64dcec38 Set theme jekyll-theme-midnight e3666568 Negative ranges #762 (#787) 478eafa3 [JSON] add threads and repetitions to the json output (#748) fae87266 Replace JSON inf and nan with JS compliant Infinity and NaN 5acb0f05 Travis-ci: fix clang+libc++ build (#783) f6e96861 BENCHMARK_CAPTURE() and Complexity() - naming problem (#761) df7c7ee1 [Tooling] report.py: whoops, don't ignore the rest of benches after a bad one. f62c63b1 [Tooling] report.py: don't crash on BigO/RMS benchmarks d205ead2 [#774] implement GetNumCPUs(), GetCPUCyclesPerSecond(), and GetCacheSizes() (#775) 0ae233ab [#766] add x-compile support for QNX SDP7 (#770) 7c571338 Prefer -pthread to -lpthread for better compatibility when cross-compiling (#771) b8ca0c42 README.md: mention that fixture has SetUp() / TearDown() 97393e5e Add -lpthread to pkg-config Libs.private. (#755) 785e2c31 Move Statistics struct to internal namespace (#753) 4b9f43e2 Fix header lines length (#752) eec9a8e4 Add minimal Conan support (#728) dc106455 Set CMP0048 policy before project() to silence warnings (#750) 4528c76b Print at least three significant digits for times. (#701) 57bf879d README.md: document State::{Pause,Resume}Timing() 0ed529a7 Update documentation of benchmark_filter (#744) 47a5f77d #722 Adding Host Name in Reporting (#733) 1f3cba06 Update reference to complexity calculation (#723) 5cb8f8a0 Fix signed vs unsigned comparisons in string_util unit tests (#742) eee8b05c [tools] Run autopep8 and apply fixes found. (#739) eafa34a5 Remove use of std::tmpnam. (#734) 19f7d5c2 README.md: complexity lambda takes int64_t arg. Fixes #719 c9f2693e StrFormat() is a printf-like function, mark it as such, fix fallout. (#727) c9311a44 README.md: BM_Sequential(): the return type is 'void' 56f5cd6a Fix C++17 mode compilation with Apple clang (#721) b1717916 Merge branch 'atdt-report_loadavg' b5082bbd Merge branch 'report_loadavg' of https://github.com/atdt/benchmark into atdt-report_loadavg bb15a4e3 Ensure all informational cmake messages have STATUS type a9b31c51 Disable exceptions in Microsoft STL (#715) c6193afe Fix parsing of cpuinfo for s390 platform. (#712) 507c06e6 Aggregates: use non-aggregate count as iteration count. (#706) 99d1356c [NFC] BenchmarkRunner: always populate *_report_aggregates_only bools. (#708) 9cacec8e [NFC] RunBenchmarks(): s/has_repetitions/might_have_aggregates/ (#707) d731697a Fix SOURCE_DIR in HandleGTest.cmake (#705) 8356d646 Revert "Fix SOURCE_DIR in HandleGTest.cmake (#703)" (#704) 60975230 Fix SOURCE_DIR in HandleGTest.cmake (#703) 8503dfe5 benchmark_color: fix auto option (vgough#559) (#699) 9ffb8df6 Fix Clang Detection (#697) a8082de5 [NFC] Refactor RunBenchmark() (#690) d8c0f274 Fix possible loss of data warnings in MSVC. (#694) edc77a36 Make State constructor private. (vgough#650) eb8cbec0 appveyor ci: drop Visual Studio 12 2013 - unsupported by Google Test master branch. (#691) aad33aab [Tooling] Rewrite generate_difference_report(). (#678) 439d6b1c Include sys/time.h for cycleclock.h when building on MinGW (#680) 52613079 [benchmark] Lowercase windows specific includes (#679) a5e9c061 [Tooling] 'display aggregates only' support. (#674) 1b44120c Un-deprecate [SG]et{Item,Byte}sProcessed, re-implement as custom counters. (#676) 58588476 Track two more details about runs - the aggregate name, and run name. (#675) c614dfc0 *Display* aggregates only. (vgough#665) f274c503 Backport LLVM's r341717 "Fix flags used to compile benchmark library with clang-cl" (vgough#673) f0901417 GetCacheSizesMacOSX(): use consistent types. (vgough#667) a7ed76ad Travis-ci: attempt to add 32-bit osx xcode build (vgough#669) 305ba313 Pass name by const-reference instead of by value in class Statistics' constructor (vgough#668) fbfc495d add missing closing bracket in --help message (vgough#666) 51599675 Mark Set{Items,Bytes}Processed()/{items,bytes}_processed() as deprecated. (vgough#654) caa2fcb1 Counter(): add 'one thousand' param. (vgough#657) d9cab612 [NFC] s/console_reporter/display_reporter/ (vgough#663) a0018c39 Ignore 32 bit build option when using MSVC (vgough#638) 8688c5c4 Track 'type' of the run - is it an actual measurement, or an aggregate. (vgough#658) 9a179cb9 [NFC] Prefix "report(_)?mode" with Aggregation. (vgough#656) ede90ba6 Make tests pass on 1-core VMs (vgough#653) af441fc1 properly escape json names (vgough#652) 94c4d6d5 [Tools] Drop compare_bench.py, compare.py is to be used, add U-test docs. (vgough#645) f85304e4 Remove redundant default which causes failures (vgough#649) d939634b README improvements (vgough#648) f965eab5 Memory management and reporting hooks (vgough#625) 63e183b3 Add note to tools.md regarding scipy. e1150aca Add Ori Livneh to AUTHORS and CONTRIBUTORS da9ec3df Include system load average in console and JSON reports 1f35fa4a Update AUTHORS and CONTRIBUTORS (vgough#632) 0c21bc36 Fix build with Intel compiler (vgough#631) 5946795e Disable Intel invalid offsetof warning (vgough#629) 847c0069 fixed Google Test (Primer) Documentation link (vgough#628) b123abdc Add Iteration-related Counter::Flags. Fixes vgough#618 (vgough#621) d8584bda Use EXPECT_DOUBLE_EQ when comparing doubles in tests. (vgough#624) 7d03f2df [Tooling] Enable U Test by default, add tooltip about repetition count. (vgough#617) 151ead62 Disable deprecation warnings when -Werror is enabled. (vgough#609) 505be96a Avoid using CMake 3.6 feature list(FILTER ...) (vgough#612) 1301f53e cmake: use numeric version in package config (vgough#611) 7fb3c564 Fix compilation on Android with GNU STL (vgough#596) 4c2af078 (clang-)format all the things (vgough#610) 4fbfa2f3 Some platforms and environments don't pass a valid argc/argv. (vgough#607) d07372e6 clang-format run on the benchmark header (vgough#606) 7b8d0249 Deprecate CSVReporter - A first step to overhauling reporting. (vgough#488) 16703ff8 cleaner and slightly larger statistics tests (vgough#604) c8adf453 Add some 'travis_wait' commands to avoid gcc@7 installation timeouts. (vgough#605) a6a1b0d7 Benchmarking is hard. Making sense of the benchmarking results is even harder. (vgough#593) ec0f69c2 Update README.md e776aa02 Add benchmark_main target. (vgough#601) d7aed736 Corrections, additions to initial doc (vgough#600) ce3fde16 Return 0 from State::iterations() when not yet started. (vgough#598) 6d74c062 split_list is not defined for assembly tests (vgough#595) e90801ae Remove unnecessary memset functions. (vgough#591) 718cc91d [Tools] Fix a few python3-compatibility issues (vgough#585) e8ddd907 There is no "FATAL" in message(), only "FATAL_ERROR" (vgough#584) 16af6450 Run git from the source directory (vgough#589) (vgough#590) 8986839e Use __EMSCRIPTEN__ (rather then EMSCRIPTEN) to check for emscripten (vgough#583) ea5551e7 Porting into OpenBSD (vgough#582) 62a9d756 Update bazel WORKSPACE and BUILD files to work better on Windows. (vgough#581) b678a202 Fix bazel config to link against pthread. (vgough#579) ed1bac84 Issue 571: Allow support for negative regex filtering (vgough#576) 105ac14b Add caching for cxx_feature_check (vgough#573) 64d4805d Fix precision loss warning in MSVC. (vgough#574) c4858d80 Report the actual iterations run. (vgough#572) 64e5a13f Ensure 64-bit truncation doesn't happen for complexity_n (vgough#569) 50ffc781 Optimize by using nth_element instead of partial_sort to find the median. (vgough#565) 2844167f Fix vgough#564 - gmock/gmock.h not found in benchmark tests. 9913418d Allow AddRange to work with int64_t. (vgough#548) e7eb54b5 Fix uninitialized warning (vgough#560) 7b03df7f Add tests to verify assembler output -- Fix DoNotOptimize. (vgough#530) df60aeb2 Rely on compiler intrinsics to identify regex engine. (vgough#555) e668e2a1 Fix vgough#552 - GCC and Clang warn on possibly invalid offsetof usage. 68e22894 Fix vgough#538 - gtest.h not found when building with older CMake versions. 674d0498 Move thread classes out to clean up monolithic code (vgough#554) a9beffda Add support for building with Bazel. (vgough#533) 61497236 Make string_util naming more consistent (vgough#547) f48a28d1 Do not let StrCat be renamed to lstrcatA (vgough#546) 69a52cff Spelling fixes (vgough#543) 47df49e5 Add Solaris support (vgough#539) ff2c255a Use STCK to get the CPU clock on s390x (vgough#540) 56f52ee2 Print the executable name as part of the context. (vgough#534) e9a49be7 Update note about linking with pthreads (vgough#536) 19048b7b Fix typo in README.md (vgough#535) 858688b8 Ensure std::iterator_traits<StateIterator> instantiates. 6ecf8a8e Don't include <sys/resource.h> on Fuchsia. (vgough#531) 207b9c7a Improve State packing: put important members on first cache line. (vgough#527) 3924ee7b Fixups following addition of KeepRunningBatch (296ec5693) (vgough#526) 37dbe80f Attempt to fix travis timeouts during apt-get. (vgough#528) dd8dcc8d Make output tests more stable on slow machines. 562f9d25 Fix GTest workaround on MSVC 906749a4 Work around Gtest build failure caused by -Werror=unused-function. (vgough#529) 296ec569 Support State::KeepRunningBatch(). (vgough#521) bc83262f .vs/ and CmakeSettings.json to gitignore (vgough#522) df415adb Some small clang-tidy fixes (vgough#520) 4fe0206b Fixes compilation error caused by integer precision loss due to implicit (vgough#518) 9f5694ce Wrap COMPILER macros. (vgough#514) e1c3a83b Merge pull request vgough#509 from efcs/fix-gtest-install 778b85a7 Prevent GTest and GMock from being installed with Google Benchmark. 052421c8 Updated documentation. (vgough#503) e4ccad7c Update README.md 7db02be2 Add support for GTest based unit tests. (vgough#485) de725e5a Document new 'v2' branch meant for unstable development. 7f2d2cd5 fix xcode travis builds by skipping mkdir errors 5b2c0866 Enforce using a semicolon after BENCHMARK_MAIN to remove compiler warnings (vgough#495) 0bbaeeaf Add GCC on OSX to list of Travis CI configurations. (vgough#492) 95a1435b Fix compilation error with GCC on OSX (issue vgough#490). (vgough#491) c45f0186 CMake: implement LTO for clang. Fixes vgough#478 (vgough#487) eae42212 Added the installation guide for Ubuntu (vgough#489) ec5684ed Console reporter: properly account for the lenght of custom counter names (vgough#484) 2ec7399c Improve BENCHMARK_UNREACHABLE() implementation. 11dc3682 Improve CPU Cache info reporting -- Add Windows support. (vgough#486) 27e0b439 Refactor System information collection -- Add CPU Cache Info (vgough#483) aad6a5fa Add NetBSD support (vgough#482) 0c3ec998 Add a pkg-config file, for the benefit of projects not using CMake. (vgough#480) ed5764ea Add doc specifying the scope of the timing calculation 5e66248b [Tools] A new, more versatile benchmark output compare tool (vgough#474) 90aa8665 Reorder inline to avoid warning on MSVC (vgough#469) f4009ef8 Fix vgough#476. Explicit coersion of size_t to boolean (vgough#477) 72a4581c Fix vgough#382 - MinGW often reports negative CPU times. (vgough#475) f65c6d9a Remove deprecated headers (vgough#473) 1e525601 Add releasing doc (vgough#472) 336bb8db Update AUTHORS/CONTRIBUTORS (vgough#471) 4463a60e Mention how to disable CPU frequency scaling while running the benchmark. (vgough#466) fa341e51 Improve BM_SetInsert example (vgough#465) 491360b8 Add option to install benchmark (vgough#463) 25acf220 Refactor most usages of KeepRunning to use the perfered ranged-for. (vgough#459) 22fd1a55 Fix and document SkipWithError(...) using ranged-for loop. a37fc0c4 Improve KeepRunning loop performance to be similar to the range-based for. (vgough#460) 2fc2ea0e Correct typo in sample code for range-based for loop. (vgough#458) cacd3218 Avoid implicit float to double conversion (vgough#457) 05267559 Add C++11 Ranged For loop alternative to KeepRunning (vgough#454) f3cd636f Always use inline asm DoNotOptimize with clang. (vgough#452) 819adb4c Add macros for create benchmark with templated fixture (vgough#451) 2409cb2e Minor move of code to cleanup up namespace spaghetti a bit a96ff121 Alphabets are hard. AUTHORS version. 5d47e987 Alphabets are hard. CONTRIBUTORS version. 8792dff1 Remove myself from AUTHORS 359120be Order CONTRIBUTORS 84a54ae9 Organize AUTHORS 6d8339dd Fix vgough#444 - Use BENCHMARK_HAS_CXX11 over __cplusplus. (vgough#446) 2a05f248 Improve README's basic usage example (vgough#433) 24b80427 Fix Markdown typos in readme. (vgough#445) 886585a3 [RFC] Tools: compare-bench.py: print change% with two decimal digits (vgough#440) 6e066481 Attempting to resolve a submoduling issues... (vgough#439) a271c36a Drop Stat1, refactor statistics to be user-providable, add median. (vgough#428) d7041799 Allow the definition of 1k to be flexible. (vgough#438) c7192c8a compare_bench.py: fixup benchmark_options. (vgough#435) 90293603 CMake: Fallback from try_run to try_compile when cross-compiling. (vgough#436) 3347a20e reporter_output_test: json: iterations is int, not float (vgough#431) abafced9 Suppress -Wodr on C++03 tests when LTO is enabled. d474450b Tooling: generate_difference_report(): show old/new for both values (vgough#427) b9be142d Json reporter: don't cast floating-point to int; adjust tooling (vgough#426) git-subtree-dir: vendor/github.com/google/benchmark git-subtree-split: 361e8d1cfe0c6c36d30b39f1b61302ece5507320
…aca4..1dee28e51 1dee28e51 setting the version to 9.0.0 55716da04 Merge pull request #865 from JonasVautherin/fix-android-x86_64 41151ce21 Add defined(__ANDROID__) for fseeko defined and android-x86_64 4c7cc9d6e Merge pull request #862 from heitbaum/patch-1 0838dd11a meson.build: fix typo 329139033 update the docs 9c6752a64 setting the version to 8.1.0 cc2efbbd2 Merge pull request #861 from leethomason/modern-cmake-2 95b80f445 update readme 7d054695e update gitignore 212a53bb5 refresh visual studio project be4eaaac8 remove bit rotted premake5, update readme 97739352a test new build links efefbb85b Merge branch 'master' of https://github.com/modern-cmake/tinyxml2 into modern-cmake-master f2db58e65 Merge pull request #859 from cugone/FixWrongQueryAssignment 5e7657389 Fix Query function results being assigned to int instead of XMLError 6376b3fbc Merge pull request #845 from dov/patch-1 7df6b3ff4 Overhaul CMake build 9d899a73c Update meson.build d4514ad72 Merge pull request #837 from dcbaker/meson 91bfd4b7f Merge pull request #827 from ngc92/ClearError 4ec7320e5 Merge pull request #790 from offlinemark/mark/cmake-namespace ee6684483 Merge pull request #831 from plekakis/master a9ed6746d Merge pull request #838 from dfaure-kdab/Wundef 11376382f Merge pull request #840 from dota17/master 8e1af3a7f Merge pull request #841 from pazner/master d3a82c5e4 Fix format string errors in sscanf d59fd15db skip comment node before get text c509d569c Add meson build system b5d3b93e0 Add missing `defined`, detected by -Werror=undef 4001a468b cmake: Use a namespace for the tinyxml2 target in local export c87bf8187 reverted the strong typed enum change 1aeb57d26 Merge pull request #823 from c72578/2020-06-17_Fix_pkgconfig_lib_postfix a0ce5527a Merge pull request #789 from offlinemark/mark/cmake-clean 54e1d6b2f Merge pull request #820 from orudge/fix-symbol-export 6df0cae18 - Allowing TIXMLASERT to be defined before including the main header. - Fix for enum bitmask usage 2c6a41a92 removed overhead of clear error 2c5a6bfdd reorder 51d9f51d1 update readme link 463796533 add test case d34d0ef5e Merge pull request #822 from ghost/queryattr 1e384d503 Fix debug postfix in pkgconfig file 5ee20feaf Add QueryAttribute for const char** fc8967074 update the docs 2e6912bf8 Merge pull request #816 from a-lunkov/master 098eb3739 Merge branch 'master' of github.com:leethomason/tinyxml2 8812f197a make printer functions virtual 6b7effe54 Merge pull request #812 from amai2012/master 1578df3bf Merge pull request #811 from hyperair/fix-first-line-indentation 98ca9146b Merge branch 'netcan-master' 18468b8cc minor changes to hex parsing c9c9d8cdf Merge branch 'master' of https://github.com/netcan/tinyxml2 into netcan-master b341e66e3 cmake: Don't export symbols if building static library a953b9565 Suppress UndefinedBehaviorSanitizer warnings ba02706e6 Merge pull request vgough#1 from leethomason/master eefc07a73 Rename action 064d90da1 Try to install dcc28da4c Add macos-latest e3abe1bd0 Remove distcheck e120ee328 Add github action bfbcc0333 Merge pull request #809 from a-lunkov/patch-1 99db0247d Merge pull request #807 from jsenn/sharpen-ftell-ifdef 6a514399c XMLPrinter: Fix first line indentation 63fb154ad Update tinyxml2.cpp 1fdee25d1 Sharpened check for 64-bit Unix when defining fseek/ftell macros. bd5950bb0 Merge pull request #798 from DanRStevens/removeCleanBeforeTest 67271b1fd Merge pull request #787 from jsenn/feature/large-file-support a9f29b74d Fixed warning caused by sloppy conversion between signed/unsigned types. dfb45cb73 support IntText(),UnsignedText(),Int64Text() for hex value bf15233ad Setting the version to 8.0.0 850419584 fix vs version 8db004b74 Merge pull request #802 from LilyWangL/vcpkg-instructions 3d6a5477a Merge pull request #797 from DanRStevens/gitIgnoreLinux bbbb8c9a9 Merge branch 'master' of github.com:leethomason/tinyxml2 e44426810 add convenience methods 6ac05b2b9 Merge branch 'push' of https://github.com/ngc92/tinyxml2 into ngc92-push 655b15c07 Merge pull request #781 from daniel347x/patch-1 59b01033f Merge branch 'Alanscut-tinyxml2_addtestcase' 37ccc7100 fix some casting 3574d3e22 Merge branch 'tinyxml2_addtestcase' of https://github.com/Alanscut/tinyxml2 into Alanscut-tinyxml2_addtestcase de62366e6 Merge branch 'master' of github.com:leethomason/tinyxml2 20f2d5eec Merge pull request #773 from Alanscut/fix_issue712 a9c28ce3e Merge pull request #768 from Alanscut/fix_wrong_symbol 2c642bf25 update to visstudio 2019 f4520c990 Merge pull request #762 from orbitcowboy/master 1eb8a3f76 Add vcpkg installation instructions 22e5db140 Remove `clean` before `test` or `check` d09f879ad Add Makefile outputs to .gitignore 60e96163c cmake: Move TARGETS_EXPORT_NAME to top 588c6577d cmake: Clarify comment around exported cmake script 57cd52b04 cmake: Use TARGETS_EXPORT_NAME var throughout file e86e947cb cmake: Use CMAKE_PROJECT_NAME instead of PROJECT_NAME e62024504 PushNewChild* family of convenience functions d58436c4b Fixed bug caused by type checking code in `LoadFile`. bf59a2d4c Added support for files larger than ~2GB. d7455034e Change constants used in 'ToBool' to support MSVC 7d9ca1e73 Supplementary test case ad7bdf9ed fix issue#712 8916a3c58 fix wrong symbol 73f5409b6 Improved const correctness. There are no functional changes intended. ff6165051 Merge branch 'master' of github.com:leethomason/tinyxml2 9c740e8d2 setting the version to 7.1.0 a9a0ea22f Merge pull request #761 from untereiner/master 50daa32fc minor fixes to test cases f60928eaa Merge branch 'supplementary_test_case' of git://github.com/wangkirin/tinyxml2 into wangkirin-supplementary_test_case 4994f1cc5 Merge pull request #754 from wangkirin/reorg_file_path 5bf58f0d1 Merge pull request #753 from orbitcowboy/master 141d2117b Merge pull request #751 from wangkirin/fix_comment 87aaa2592 Merge pull request #750 from equalent/patch-1 c3601c62f Merge branch 'cugone-master' effdf95f8 add test cases c36d59f6b Merge branch 'master' of git://github.com/cugone/tinyxml2 into cugone-master 7fd646a8a support more bool options 1675bec2f Merge pull request #743 from deduktionstheorem/master d39b13bbb Add COMPONENT support at cmake install stage f12d7a241 Supplement test case in xmltest.cpp e08c2d2e0 adjust path of testfile `bomtest.xml` to `resource/out` 38f7d65b4 Merge pull request vgough#1 from aaronkirkham/master c341cea50 add missing uint64_t methods to XMLPrinter add missing XMLElement::Unsigned64Attribute body 710a3324f Fixed -Wold-style-cast warnings from g++. 4add958b4 fix comment in Programmatic DOM test case eda7f81b1 Fixed typos 1dbfe3185 Missing uint64_t XMLElement::Unsigned64Text(uint64_t defaultValue) implementation 47e229e18 Forgot Text and XMLElement versions; 75a5acc6b UnsignedInt64 support 61a4c7d50 Merge branch 'master' of github.com:leethomason/tinyxml2 db39dbc0f add license and minor readme edit eb2b8c47c Merge pull request #732 from orbitcowboy/master bd5a1414d Merge pull request #731 from aarnchng/cmake_verspec e1b301318 Issue 742: allow intermittent calls of XMLPrinter::ClearBuffer 0e7f28959 Improved const correctness of local variables. There are no functional changes intended. f5641e547 CMakeList.txt: fix wrong version 8f4a9a8cc Merge pull request #721 from MortenMacFly/master d944ef762 * removed merge artifact from Doxygen control file de6d16482 fix export issue and cmake. version to 7.0.1 08da3d91c Merge pull request #720 from scpeters/patch-1 e06a24016 tinyxml2.pc.in: use exec_prefix for libdir c3e09dabc tinyxml2.pc.in: restore prefix to lib/include dir 44ac39514 new docs 397f22581 setting the version to 7.0.0 dcedec857 Merge pull request #718 from bolry/patch-1 992e40538 Merge pull request #716 from Dmitry-Me/fixInt64Slicing de6f6616c Merge pull request #715 from Dmitry-Me/checkLastChildBeforeInsertion b894947c9 Merge pull request #714 from Masadow/pic 65c1b8658 Correct assigment interface for StrPair ed3e9dc82 Fix slicing of int64_t 178149439 Check the element is the last child of the document 4be5bc805 Add support for position independant code compilation 7e8e24999 Merge pull request #707 from SwiftEngineering/issue_706 25b23b88e Merge pull request #703 from orbitcowboy/master ade41cdfe Make resources folder for xml test relative to current source and binary directory 2cc8a4c71 Added explicit-keyword to constructors having 1 argument. c07409b5c remove virtual call in destruction 3be5d2b74 Merge pull request #695 from leethomason/manydecs 92506ca69 Merge remote-tracking branch 'origin/master' into manydecs baf8bc93a Merge pull request #690 from orbitcowboy/master db13a82e6 fix huge number of declaration security issue 22b21ec9b Fixed typos in comments. There are no functional changes intended. c483646db fix test cases 93a8fb18e Merge branch 'issue647' 92fc089e1 remove deprecated errors. next version will be major. 9f14aca07 Merge pull request vgough#645 from jasjuang/master 30d0c3d5f add assertion 2bdb13ae5 Merge pull request #686 from leethomason/issue647 233b2cb82 Merge pull request #685 from leethomason/deadcode fc80df3b3 fix query return type 70d942e30 remove dead yet conflicting method 1cc174c2d Merge pull request #682 from lsolanka/pr.unify-cmake-build 1b029f2bd add target_compile_definitions 392ec1832 use configure_package_config_file() b7c169ccb Replace absolute installation paths with relative c0ff86950 Merge pull request #681 from johnb003/patch-1 d89d6d955 Updated CMakeLists.txt for relocatable installs b54cf3cb4 Made CMakeLists.txt installation relocatable. a1d462d33 Merge pull request vgough#670 from dquam/ProcessEntitiesBugWhenFalse be69ae635 In PrintString, move the optimization under the if ( _processEntities ) block and retain the strlen Write in the new else block. Added a test case. 3cdaf8b15 update the readme c1424ee4e setting the version to 6.2.0 b94eefc7a Merge pull request vgough#669 from leethomason/overflow e2d02e162 and the same fix in the test case befc3c3ae fix compiler inconsistency f928c3518 clean up the depth tracking a bit d946ddadc upgrade to vs2017. fix stack overflow attack. 65b5366a0 Merge pull request vgough#667 from Dmitry-Me/simplifyToUnknownTests e59e3c346 Merge pull request vgough#668 from Dmitry-Me/improveDeclarationTestMessage 7dd295609 Merge pull request vgough#666 from Dmitry-Me/clarifyErrorNameTests 6a18a3105 Improve test message to avoid duplicate log output f5af951f1 Simplify checks 95f687b1f Cleanup ErrorName() tests 074194158 Merge pull request vgough#662 from mschmieder/fix_testrun_windows ecbc16ae4 add namespace for cmake export 00b74a40b Merge pull request vgough#657 from noloader/master 72407d205 Merge pull request vgough#663 from Dmitry-Me/clarifyHandlesTests 938560f9f Improve handles tests 3c9370561 fixed issue where CTest is executed in the wrong directory 0bb8767e3 Merge pull request vgough#656 from Gumichan01/master 51a1d1c93 Merge pull request vgough#653 from fcami/master ff7543037 Fix typo in permissions 5dd529236 Add install and uninstall target to Makefile This PR closes some gaps in the makefile. It follows GNU coding standards and conventions at https://www.gnu.org/prep/standards/standards.html. It is not specific to GNU, and most of the world follows it. 0f1fa6d27 fix "dereference before null check" defect 59785ec38 fix installation path for *.cmake cc1745b55 Merge pull request vgough#649 from PeterMatula/rename-DEBUG-define dc75a362c Merge pull request vgough#648 from Dmitry-Me/removeUnneededConversions 50689919b rename DEBUG define to TINYXML2_DEBUG 63d8de627 Remove unneeded conversions 703f91e6b Merge pull request vgough#643 from leethomason/querystring c8593733a Merge pull request vgough#641 from leethomason/error-str 588e4ef8a Merge pull request vgough#639 from zyndor/DEV_PremakeBuilds f26a547fd sync the version 28f9a48d5 Merge branch 'master' into querystring f6dc9be12 merge master ff97dbb2c Merge branch 'master' into error-str 5b00e0662 add query string method a36f7ac77 fix error string output when there is no formatting bd197877c write the version number as a macro c9e3b5274 Added premake5 build configuration with projects for Windows & Mac. - updated .gitignore with the .projects / .artifacts directories. e1b50439c remove dead files cf1006943 tweaking docs 71b12596e update the docs 8c8293ba8 setting the version to 6.0.0 2ab76dab6 Merge pull request vgough#632 from alabuzhev/size_t_to_int_warning 90e69c95e Suppress MSVC warning C4267: conversion from 'size_t' to 'int', possible loss of data 4155ac0c7 Merge pull request vgough#628 from leethomason/errorstr d548b7e71 Merge branch 'master' into errorstr eb2f51e63 removed unused variables 82e48435d Merge pull request vgough#629 from brad-anderson/memcpy-unformatted 85aac0217 Minor performance tweaks b2e08e4bc XMLPrinter optimization 0c0f98bf8 merge from master d556e6df9 Merge branch 'master' into errorstr f49b9658b fix up error system issues 8b83b2387 make effc compilation optional 714ccfe29 fix line number tracker. error msg wip 7abfa6b1a Merge branch 'gccWeffc' of git://github.com/lelegard/tinyxml2 into lelegard-gccWeffc dd4034c51 Merge pull request vgough#626 from Dmitry-Me/betterTestDeletionLoop c59b17e5a Merge pull request vgough#625 from Dmitry-Me/checkAcceptResult b41e24aa1 Better test deletion loop f0f2e99cf Check result of Accept() 884852eb6 Merge pull request vgough#584 from DragonValley/patch-1 aa1883928 Error string re-work 3a37e6411 Merge pull request vgough#623 from Dmitry-Me/testErrorName 620cb1c55 Merge pull request vgough#624 from Dmitry-Me/fixCrashWhenInsertingAfterItself e8f4a8b56 Fix crash when element is being inserted "after itself" 47845b699 Test ErrorName() returns valid string after SetError() bdad8d73a Merge pull request vgough#620 from Dmitry-Me/clarifyComment c8c4618f2 Merge pull request vgough#618 from Dmitry-Me/buildDebugToo a9e75d1b2 Clarify comment 20166d2b4 Build and test Debug configuration too 7f0f754cb Code cleanup to pass gcc -Weffc++ warnings dbf18add4 Merge pull request vgough#613 from Dmitry-Me/testResultOfSetError da24c3b22 Merge pull request vgough#612 from Dmitry-Me/fixMisleadingComment d3f6c6361 Test SetError() has effect 260433673 Fix misleading comment 4b173cbcf Merge pull request vgough#611 from Dmitry-Me/testClearResetErrorState b0c421d9a Merge pull request vgough#610 from Dmitry-Me/reuseConversionCode 985ea1f78 Test Clear() clears the error a28eb0763 Extract and reuse conversion code d69e2c0d0 Merge pull request vgough#609 from JugglerShu/master 33883d6fe Merge pull request vgough#605 from Dmitry-Me/clarifyTestStrings 87cd4e058 Add 'const' on XMLDocument::DeepCopy. This make us copy const XMLDocument being copied to another document. caed4ec7d Clarify what is being tested 4bbf74205 Merge pull request vgough#603 from Dmitry-Me/cleanupFopenTests 30dec7591 Merge pull request vgough#602 from Dmitry-Me/testWithStopwatchOff cd453f86e Merge pull request vgough#596 from Dmitry-Me/useValidPointerForUserData 520009ef1 Cleanup fopen() tests 1ab85878b Stopwatch must be stopped before test check 82e20b183 Merge pull request vgough#601 from Dmitry-Me/testErrorIdAfterParse e9945966c Merge pull request vgough#600 from Dmitry-Me/cleanupStreamModeTests 8d40f7a56 Test ErrorID after Parse() c0fad2908 Cleanup stream mode tests c11a7c5ca Merge pull request vgough#599 from Dmitry-Me/cleanupSomeChecks 68edbcee4 Merge pull request vgough#598 from Dmitry-Me/fallThroughComments 63fe21f4d Merge pull request vgough#597 from Dmitry-Me/betterTestQueryXText 30cdecada Merge pull request vgough#595 from Dmitry-Me/checkInsertionReturnValues bc6920b68 Cleanup and simplify checks 3cc6f5c6f Annotate fall throughs with comments 43c019d44 Better tests for Query???Text() 7d8dfb9ee Use valid pointer for user data 8e0637019 Test return values from nodes insertion 02d2764fd Merge pull request vgough#593 from Dmitry-Me/testDeletionViaDocument 8d1bfbbf7 Merge pull request vgough#592 from Dmitry-Me/clarifyTestOutput 152958073 Merge pull request vgough#591 from Dmitry-Me/properIndentDirectives 48725fa8e Merge pull request vgough#590 from Dmitry-Me/betterVariableName e5790dba9 Test nodes deletion via document 6f4c4e726 Clarify and simplify test output de381df35 Indent directives consistently with surrounding code effab6ff0 Better variable name f0f506fe5 Update html5-printer.cpp f3f9925f1 update docs aca4fb16d new docs 528986ff2 update readme 757375631 add docs 646af8d21 Merge pull request vgough#582 from Dmitry-Me/distinctDefaultAndReplacement 057058017 Merge pull request vgough#581 from Dmitry-Me/testQueryingAttributesBetter 80379a331 Merge pull request vgough#580 from Dmitry-Me/checkLoadSaveResult bf9b3a263 remove code that creates directory. add file in out directory so that git creates the directory ef11c2f8e Update on html5-printer.cpp 3d20c5de6 Use distinct values as default and replacement values 2087a276c Test querying attributes thoroughly 46b70ce51 Check result of LoadFile()/SaveFile() 3a6e51a12 fix build issue e4dc7218a fix an issue on windows fc2a0017d Merge pull request vgough#578 from Dmitry-Me/checkReadingResults cd3369992 Merge pull request vgough#577 from Dmitry-Me/checkParseResult 7096e779d Merge pull request vgough#573 from kbinny62/master d1b82825f Check various stages of reading the XML file 68578f473 Check result of Parse() call c1f1de724 Merge pull request vgough#575 from Dmitry-Me/extractDuplicatedString 5d1aec10f Extract duplicated text string 9720fbaf4 xmltest.cpp: path separator is '\\' under WIN32 bf29a1524 xmltest: create dir resources/out to avoid crashes git-subtree-dir: vendor/github.com/leethomason/tinyxml2 git-subtree-split: 1dee28e51f9175a31955b9791c74c430fe13dc82
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's no need for an extra variable here. Removing it simplifies the code.
@@ -90,11 +93,27 @@ static bool _nextName(struct dirent *&de, const std::shared_ptr<DIR> &dir, | |||
|
|||
std::string DirTraverse::nextPlaintextName(int *fileType, ino_t *inode) { | |||
struct dirent *de = nullptr; | |||
bool exclude = false; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bool exclude = false; |
for (int i=0; i<opts->excludeArgc; i++) { | ||
if (! fnmatch(opts->excludeArgv[i], de->d_name, FNM_PATHNAME)) { | ||
VLOG(1) << "excluding filename: " << de->d_name; | ||
exclude = true; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
exclude = true; | |
continue; |
if (exclude) { | ||
exclude = false; | ||
continue; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if (exclude) { | |
exclude = false; | |
continue; | |
} |
This is a useful addition to --reverse which I'd welcome. I see no major issues with it. Please merge as is or with my suggestions. |
Any news on this request, @vgough / @benrubson ? |
Issue #55 is a feature-request for a --exclude option. This patch implements that option, though it's not ready for merge yet.
First, do people still want this feature? I know I do, but I don't know if anybody else using encfs still does.
Second, I haven't written tests yet. Left to my own devices, I'd do integration tests in python. There's not much point wrestling with C++ for that kind of high-level "make a dir, run encfs, see if the files are excluded" tests. I could dig into gtest and do C++ tests, but that's extra work, and I don't want to do it if this patch has no chance of landing in the repo.
So, I guess, my question here is tol @vgough or @benrubson: do you want to take the time to look at the patch and tell me what you would want to see before merging? I can get this code to the point where I can use it, but my guess is that code review might tell me to do things differently. For example, maybe the pattern matching is better placed somewhere else.
I've been using encfs for a looong time. It's great, and I'm happy to help make it better if the project is interested in contributions. If it's not, I'll just carry this in my repo instead.
Thanks much!