Arkady Shapkin [Thu, 11 May 2017 12:02:21 +0000 (15:02 +0300)]
Install dll's to correct path (#213)
Arkady Shapkin [Sat, 6 May 2017 00:01:26 +0000 (03:01 +0300)]
Fix statically linked gflags library with MSVC
Fix #211
Dan Minor [Tue, 28 Mar 2017 20:04:41 +0000 (16:04 -0400)]
Mark single argument constructors in mutex.h as explicit.
Geoffrey Lalonde [Thu, 5 Jan 2017 21:07:27 +0000 (13:07 -0800)]
Changed include directory in bazel build
Andreas Schuh [Tue, 29 Nov 2016 10:33:53 +0000 (10:33 +0000)]
enh: Link to online documentation in README
Andreas Schuh [Sat, 26 Nov 2016 21:55:33 +0000 (21:55 +0000)]
fix: Enable language C for older CMake versions when needed (#196)
* fix: Enable language C for older CMake versions when needed
* fix: Don’t care about buggy Android toolchain
Andreas Schuh [Sat, 26 Nov 2016 21:18:30 +0000 (21:18 +0000)]
fix: Remove unused program_name variable
Andreas Schuh [Sat, 26 Nov 2016 15:37:45 +0000 (15:37 +0000)]
fix: Include utils by file instead of CMAKE_MODULE_PATH search
Andreas Schuh [Fri, 25 Nov 2016 18:32:19 +0000 (18:32 +0000)]
Release v2.2.0
Andreas Schuh [Fri, 25 Nov 2016 18:49:11 +0000 (18:49 +0000)]
doc: //external:gflags_nothreads Bazel target
Andreas Schuh [Fri, 25 Nov 2016 18:10:51 +0000 (18:10 +0000)]
git: Ignore builds/ subdirectory
Andreas Schuh [Fri, 25 Nov 2016 18:10:19 +0000 (18:10 +0000)]
doc: Update use of gflags with Bazel documentation
Andreas Schuh [Fri, 25 Nov 2016 17:37:38 +0000 (17:37 +0000)]
enh: Bazel BUILD, add WORKSPACE file (#192)
Andreas Schuh [Fri, 25 Nov 2016 13:47:53 +0000 (13:47 +0000)]
add: Bazel WORKSPACE file
Andreas Schuh [Fri, 25 Nov 2016 13:47:29 +0000 (13:47 +0000)]
enh: Refactored Bazel BUILD rules
Andreas Schuh [Fri, 25 Nov 2016 13:42:29 +0000 (13:42 +0000)]
Revert "enh: Rename private sources, include public headers with rel path"
Andreas Schuh [Fri, 25 Nov 2016 12:35:39 +0000 (12:35 +0000)]
enh: Rename private sources, include public headers with rel path
Andreas Schuh [Fri, 25 Nov 2016 09:10:09 +0000 (09:10 +0000)]
fix: Add -lpthread to link Bazel BUILD options (#189)
* fix: Add -pthread link option to Bazel BUILD file
* fix: Use -lpthread instead of -pthread
Andreas Schuh [Fri, 25 Nov 2016 08:50:08 +0000 (08:50 +0000)]
enh: Configure and install pkg-config .pc file
Andreas Schuh [Fri, 25 Nov 2016 08:25:09 +0000 (08:25 +0000)]
enh: Set GFLAGS_IS_A_DLL in INTERFACE_COMPILE_DEFINITIONS
Andreas Schuh [Thu, 24 Nov 2016 23:15:34 +0000 (23:15 +0000)]
fix: Ensure installation path uses forward slashes
Andreas Schuh [Thu, 24 Nov 2016 22:36:48 +0000 (22:36 +0000)]
enh: Add option to add installation to CMake’s package registry
Andreas Schuh [Thu, 24 Nov 2016 23:16:58 +0000 (23:16 +0000)]
fix: Copy missing IMPORTED_IMPLIB_<CONFIG> gflags target property
Andreas Schuh [Thu, 24 Nov 2016 21:49:41 +0000 (21:49 +0000)]
enh: Avoid use of install(EXPORTS) FILE option
Todd Lipcon [Wed, 12 Oct 2016 17:23:42 +0000 (10:23 -0700)]
Convert dashes to underscores for unknown flags (#177)
David Lam [Wed, 5 Oct 2016 07:25:50 +0000 (00:25 -0700)]
Fix error messages to not truncate to 255 characters (#175)
Andreas Schuh [Sat, 17 Sep 2016 16:17:24 +0000 (17:17 +0100)]
fix: Validate modified flags only once (#173)
田欧 [Wed, 31 Aug 2016 05:39:41 +0000 (13:39 +0800)]
fix make error for lacking namespace (#170)
Aaryaman Sagar [Wed, 24 Aug 2016 17:03:08 +0000 (13:03 -0400)]
Fix unsigned comparison error in gflags_reporting.cc (#168)
Dreamer [Wed, 3 Aug 2016 07:25:38 +0000 (10:25 +0300)]
Fix Windows linker errors and warnings. (#166)
Dreamer [Wed, 3 Aug 2016 07:24:55 +0000 (10:24 +0300)]
Add shared library build to the AppVeyor CI config. (#167)
Dreamer [Tue, 2 Aug 2016 11:28:57 +0000 (14:28 +0300)]
Remove filter for excluded tests from AppVeyor config. (#165)
Andreas Schuh [Tue, 2 Aug 2016 11:24:34 +0000 (12:24 +0100)]
test: Travis CI build static+shared in Release+Debug (#164)
Andreas Schuh [Tue, 2 Aug 2016 11:15:44 +0000 (12:15 +0100)]
fix: Run strip_flags_binary test only for release configurations (#163)
Dreamer [Tue, 2 Aug 2016 11:00:16 +0000 (14:00 +0300)]
test: Run AppVeyor build via cmake --build and run tests. (#162)
Andreas Schuh [Tue, 2 Aug 2016 08:51:47 +0000 (09:51 +0100)]
fix: Typo in gflags_strip_flags_test.cmake script
Andreas Schuh [Mon, 1 Aug 2016 19:04:43 +0000 (20:04 +0100)]
doc: Add AppVeyor status badge to README
[ci skip]
Dreamer [Mon, 1 Aug 2016 18:57:54 +0000 (22:57 +0400)]
Add initial AppVeyor config. (#161)
Andreas Schuh [Mon, 1 Aug 2016 16:05:26 +0000 (17:05 +0100)]
doc: Add Travis CI status badge to README
Dreamer [Mon, 1 Aug 2016 16:01:18 +0000 (20:01 +0400)]
Enable Travis CI for Linux and OSX builds (#160)
Andreas Schuh [Mon, 1 Aug 2016 14:10:29 +0000 (15:10 +0100)]
Merge pull request #158 from dreamer-dead/use-type-name-enum
Use enum to specify flag value type.
dreamer.dead [Mon, 1 Aug 2016 13:45:49 +0000 (16:45 +0300)]
Fix wrong type comparison and outdated OfType() usage.
dreamer.dead [Mon, 1 Aug 2016 11:54:46 +0000 (14:54 +0300)]
Fix indentation and remove outdated assert.
dreamer.dead [Mon, 1 Aug 2016 11:52:26 +0000 (14:52 +0300)]
Extract common code from FlagRegisterer to reduce size.
dreamer.dead [Mon, 1 Aug 2016 11:51:11 +0000 (14:51 +0300)]
Change template FlagValue::OfType() to Type() getter.
dreamer.dead [Fri, 29 Jul 2016 18:02:29 +0000 (21:02 +0300)]
Do not pass flag type as a char literal when registering a new flag.
It is possible to create a type-safe version of FlagRegisterer
ctor (as well as some internal gflags classes), that will deduce
type of the new flag automatically.
This results in removing quite a few calls to strcmp() when new
flag is created.
No existing behavior change.
Andreas Schuh [Wed, 20 Jul 2016 09:24:14 +0000 (10:24 +0100)]
Merge pull request #156 from dreamer-dead/fix-flag-value-typename
Fix incorrect flag value typename for uint32.
dreamer.dead [Wed, 20 Jul 2016 09:18:08 +0000 (12:18 +0300)]
Fix unittests expectations related to uint32.
dreamer.dead [Wed, 20 Jul 2016 09:16:34 +0000 (12:16 +0300)]
Fix uint32 type name.
Andreas Schuh [Mon, 18 Jul 2016 16:09:53 +0000 (17:09 +0100)]
Merge pull request #155 from dreamer-dead/add-missing-reference
Add missing reference symbol to a function parameter.
dreamer.dead [Mon, 18 Jul 2016 15:44:20 +0000 (18:44 +0300)]
Add missing reference symbol to a function parameter.
Andreas Schuh [Tue, 28 Jun 2016 11:15:02 +0000 (12:15 +0100)]
Merge pull request #152 from Liuchang0812/master
fix: Consider Windows-style LRLF in flag parsing
liuchang0812 [Tue, 28 Jun 2016 09:57:02 +0000 (17:57 +0800)]
fix bug about LRLF
Andreas Schuh [Wed, 1 Jun 2016 11:00:42 +0000 (12:00 +0100)]
fix #151: Ubuntu package name in INSTALL instructions
Andreas Schuh [Tue, 10 May 2016 21:45:26 +0000 (22:45 +0100)]
Merge pull request #150 from LuminateWireless/fix-bazel-build
Fix bazel build
Ming Zhao [Tue, 10 May 2016 21:42:11 +0000 (14:42 -0700)]
Add gendir to the include path so that building with bazel doesn't
complain config.h can't be found.
Andreas Schuh [Tue, 26 Apr 2016 14:46:56 +0000 (15:46 +0100)]
Merge pull request #149 from hevy-CC4477/master
Add GFLAGS_IS_A_DLL compile option for unit test which includes private config.h.
FARBOS Arnaud [Tue, 26 Apr 2016 13:05:53 +0000 (15:05 +0200)]
fix test compilation
Andreas Schuh [Wed, 6 Apr 2016 10:55:47 +0000 (11:55 +0100)]
Merge pull request #147 from bazineta/master
Support uint32 as flag type
Allan L. Bazinet [Tue, 5 Apr 2016 17:56:57 +0000 (10:56 -0700)]
Correct FV_MAX_INDEX
Allan L. Bazinet [Tue, 5 Apr 2016 17:50:21 +0000 (10:50 -0700)]
Support uint32 as flag type
From #99, “Given that there is an unsigned flag type for 64-bit
integers, it is probably reasonable to request/expect the same for
32-bit integers.”
Andreas Schuh [Fri, 4 Mar 2016 10:12:01 +0000 (10:12 +0000)]
Merge PR #137 with change of SOVERSION to <major>.<minor>
Andreas Schuh [Fri, 4 Mar 2016 10:11:39 +0000 (10:11 +0000)]
fix: Change SOVERSION to <major>.<minor> for 2.x release versions
Andreas Schuh [Wed, 2 Mar 2016 17:53:32 +0000 (17:53 +0000)]
Merge pull request #143 from schuhschuh/fix-bazel-bulid-osx
fix #133: Use awk instead of sed which would require different options on OS X
Andreas Schuh [Wed, 2 Mar 2016 17:52:19 +0000 (17:52 +0000)]
fix #133: Use awk instead of sed which would require different options on OS X
Andreas Schuh [Tue, 1 Mar 2016 22:01:54 +0000 (22:01 +0000)]
Merge pull request #142 from schuhschuh/master
mod: Update doc with new find_package COMPONENTS or subproject use
Andreas Schuh [Tue, 1 Mar 2016 22:01:29 +0000 (22:01 +0000)]
mod: Update doc with new find_package COMPONENTS or subproject use
Andreas Schuh [Tue, 1 Mar 2016 21:35:48 +0000 (21:35 +0000)]
Merge pull request #141 from schuhschuh/master
Fix build of unit test on Ubuntu/Windows by changing include order
Andreas Schuh [Tue, 1 Mar 2016 21:34:32 +0000 (21:34 +0000)]
Merge branch 'master' of github.com:gflags/gflags
Andreas Schuh [Tue, 1 Mar 2016 21:34:24 +0000 (21:34 +0000)]
fix: Include order of config.h and gflags.h in unit test
Andreas Schuh [Tue, 1 Mar 2016 21:33:41 +0000 (21:33 +0000)]
Merge pull request #140 from schuhschuh/enh-#117-gflags-subproject-support
These changes improve the CMakeLists.txt of the gflags project to make CMake variables configurable via command-line option -D or super-project settings. Moreover, gflags related variables are only added to the CMake cache when the gflags project is configured as a standalone project. When it is a subproject (cf. #117), the super-project is responsible for setting the configuration variables.
This change set also changes the names of the (exported) target names to gflags[_nothreads]_(static|shared) and the CMake (package) configuration variable names to start with an uppercase prefix "GFLAGS_".
Andreas Schuh [Tue, 1 Mar 2016 21:04:10 +0000 (21:04 +0000)]
cmake: Rename targets to gflags[_nothreads]_(static|shared), support
find_package COMPONENTS
Andreas Schuh [Tue, 1 Mar 2016 21:03:05 +0000 (21:03 +0000)]
cmake: Require CMake 2.8.12 in NC tests
Andreas Schuh [Tue, 1 Mar 2016 20:04:16 +0000 (20:04 +0000)]
cmake: Change CMake package configuration variable name prefix to GFLAGS_
Andreas Schuh [Tue, 1 Mar 2016 20:03:43 +0000 (20:03 +0000)]
cmake: Add CMake variable to cache only when gflags is not a subproject
This change allows the user to include the gflags project as subtree/
submodule in their own project. In this case, no CMake variables used
to configure the build and installation of the gflags library should be
added to the CMake cache.
Andreas Schuh [Tue, 1 Mar 2016 20:10:22 +0000 (20:10 +0000)]
git: Add CMakeLists.txt.user Qt Creator configuration to ignore list
Andreas Schuh [Tue, 1 Mar 2016 19:59:53 +0000 (19:59 +0000)]
Merge pull request #139 from schuhschuh/master
Fix compilation of unittest on Ubuntu
Andreas Schuh [Tue, 1 Mar 2016 19:56:54 +0000 (19:56 +0000)]
fix: Require CMake version 2.8.12 in test project
Andreas Schuh [Tue, 1 Mar 2016 19:56:02 +0000 (19:56 +0000)]
fix: Include private config.h in gflags_unittest.cc
Andreas Schuh [Tue, 1 Mar 2016 16:01:45 +0000 (16:01 +0000)]
fix: Package URLs
Andreas Schuh [Mon, 29 Feb 2016 19:30:58 +0000 (19:30 +0000)]
Revert "#136 Move test binaries to Testing/bin"
This reverts commit
02f318978863a74c74359bc5bf7ab2ed09cf0d87.
Andreas Schuh [Mon, 29 Feb 2016 19:18:21 +0000 (19:18 +0000)]
fix: DLL import/export defines for unit tests, remove obsolete config_for_unittests.h
Andreas Schuh [Mon, 29 Feb 2016 19:17:00 +0000 (19:17 +0000)]
fix: Add missing include guards to gflags/config.h
Andreas Schuh [Mon, 29 Feb 2016 17:58:46 +0000 (17:58 +0000)]
cmake: Clean up static library filename suffix code from PR #126
Andreas Schuh [Mon, 29 Feb 2016 17:54:40 +0000 (17:54 +0000)]
Merge pull request #126 from hevy-CC4477/master
Use ```_static``` suffix in filename of static library on Windows to distinguish it from the import library.
Andreas Schuh [Mon, 29 Feb 2016 17:12:15 +0000 (17:12 +0000)]
enh: Add usage of DEFINE_validator to test project
Andreas Schuh [Mon, 29 Feb 2016 17:03:08 +0000 (17:03 +0000)]
#136 Move test binaries to Testing/bin
Andreas Schuh [Mon, 29 Feb 2016 16:15:11 +0000 (16:15 +0000)]
#51 #138 Use std::string instead const char * for global "constants"
Andreas Schuh [Mon, 29 Feb 2016 16:12:33 +0000 (16:12 +0000)]
fix: Pass std::string directly, no need for c_str() call
Evan Klitzke [Sat, 27 Feb 2016 20:36:14 +0000 (12:36 -0800)]
properly export the .so minor version
Andreas Schuh [Fri, 19 Feb 2016 13:43:45 +0000 (13:43 +0000)]
mod: Update doc
Andreas Schuh [Fri, 19 Feb 2016 13:20:28 +0000 (13:20 +0000)]
#51 Call ShutDownCommandLineFlags for (manual) valgrind test
Andreas Schuh [Fri, 19 Feb 2016 12:59:05 +0000 (12:59 +0000)]
#51 Use static StringFlagDestructor to destruct string objects allocated by placement new
Andreas Schuh [Fri, 19 Feb 2016 09:50:17 +0000 (09:50 +0000)]
Merge pull request #133 from earhart/master
Add Bazel build support
Rob Earhart [Fri, 19 Feb 2016 02:16:44 +0000 (18:16 -0800)]
Add bazel support
Andreas Schuh [Fri, 12 Feb 2016 17:44:56 +0000 (17:44 +0000)]
Merge pull request #131 from sbc100/no_threads
Define NO_THREADS when building without threads
Sam Clegg [Sat, 30 Jan 2016 00:09:43 +0000 (16:09 -0800)]
Define NO_THREADS in when building without threads
Previously NOTHREADS was being defined but the code
in mutex.h checks for NO_THREADS.
Andreas Schuh [Tue, 12 Jan 2016 13:30:13 +0000 (13:30 +0000)]
Merge pull request #129 from Nazg-Gul/master
Resolve some compiler warnings
Sergey Sharybin [Thu, 31 Dec 2015 12:16:26 +0000 (17:16 +0500)]
Fix some compilation warnings with MSVC 2015
MSVC 2015 already defines vsnprintf() and va_copy().
Sergey Sharybin [Thu, 31 Dec 2015 12:09:59 +0000 (17:09 +0500)]
Resolve several missing declarations warnings