platform/upstream/gflags.git
7 years agoMerge pull request #155 from dreamer-dead/add-missing-reference
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.

7 years agoAdd 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.

7 years agoMerge pull request #152 from Liuchang0812/master
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

7 years agofix bug about LRLF
liuchang0812 [Tue, 28 Jun 2016 09:57:02 +0000 (17:57 +0800)]
fix bug about LRLF

7 years agofix #151: Ubuntu package name in INSTALL instructions
Andreas Schuh [Wed, 1 Jun 2016 11:00:42 +0000 (12:00 +0100)]
fix #151: Ubuntu package name in INSTALL instructions

8 years agoMerge pull request #150 from LuminateWireless/fix-bazel-build
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

8 years agoAdd gendir to the include path so that building with bazel doesn't
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.

8 years agoMerge pull request #149 from hevy-CC4477/master
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.

8 years agofix test compilation
FARBOS Arnaud [Tue, 26 Apr 2016 13:05:53 +0000 (15:05 +0200)]
fix test compilation

8 years agoMerge pull request #147 from bazineta/master
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

8 years agoCorrect FV_MAX_INDEX
Allan L. Bazinet [Tue, 5 Apr 2016 17:56:57 +0000 (10:56 -0700)]
Correct FV_MAX_INDEX

8 years agoSupport uint32 as flag type
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.”

8 years agoMerge PR #137 with change of SOVERSION to <major>.<minor>
Andreas Schuh [Fri, 4 Mar 2016 10:12:01 +0000 (10:12 +0000)]
Merge PR #137 with change of SOVERSION to <major>.<minor>

8 years agofix: Change SOVERSION to <major>.<minor> for 2.x release versions
Andreas Schuh [Fri, 4 Mar 2016 10:11:39 +0000 (10:11 +0000)]
fix: Change SOVERSION to <major>.<minor> for 2.x release versions

8 years agoMerge pull request #143 from schuhschuh/fix-bazel-bulid-osx
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

8 years agofix #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

8 years agoMerge pull request #142 from schuhschuh/master
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

8 years agomod: 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

8 years agoMerge pull request #141 from schuhschuh/master
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

8 years agoMerge branch 'master' of github.com:gflags/gflags
Andreas Schuh [Tue, 1 Mar 2016 21:34:32 +0000 (21:34 +0000)]
Merge branch 'master' of github.com:gflags/gflags

8 years agofix: Include order of config.h and gflags.h in unit test
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

8 years agoMerge pull request #140 from schuhschuh/enh-#117-gflags-subproject-support
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_".

8 years agocmake: Rename targets to gflags[_nothreads]_(static|shared), support
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

8 years agocmake: Require CMake 2.8.12 in NC tests
Andreas Schuh [Tue, 1 Mar 2016 21:03:05 +0000 (21:03 +0000)]
cmake: Require CMake 2.8.12 in NC tests

8 years agocmake: Change CMake package configuration variable name prefix to GFLAGS_
Andreas Schuh [Tue, 1 Mar 2016 20:04:16 +0000 (20:04 +0000)]
cmake: Change CMake package configuration variable name prefix to GFLAGS_

8 years agocmake: Add CMake variable to cache only when gflags is not a subproject
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.

8 years agogit: Add CMakeLists.txt.user Qt Creator configuration to ignore list
Andreas Schuh [Tue, 1 Mar 2016 20:10:22 +0000 (20:10 +0000)]
git: Add CMakeLists.txt.user Qt Creator configuration to ignore list

8 years agoMerge pull request #139 from schuhschuh/master
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

8 years agofix: Require CMake version 2.8.12 in test project
Andreas Schuh [Tue, 1 Mar 2016 19:56:54 +0000 (19:56 +0000)]
fix: Require CMake version 2.8.12 in test project

8 years agofix: Include private config.h in gflags_unittest.cc
Andreas Schuh [Tue, 1 Mar 2016 19:56:02 +0000 (19:56 +0000)]
fix: Include private config.h in gflags_unittest.cc

8 years agofix: Package URLs
Andreas Schuh [Tue, 1 Mar 2016 16:01:45 +0000 (16:01 +0000)]
fix: Package URLs

8 years agoRevert "#136 Move test binaries to Testing/bin"
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.

8 years agofix: DLL import/export defines for unit tests, remove obsolete config_for_unittests.h
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

8 years agofix: Add missing include guards to gflags/config.h
Andreas Schuh [Mon, 29 Feb 2016 19:17:00 +0000 (19:17 +0000)]
fix: Add missing include guards to gflags/config.h

8 years agocmake: Clean up static library filename suffix code from PR #126
Andreas Schuh [Mon, 29 Feb 2016 17:58:46 +0000 (17:58 +0000)]
cmake: Clean up static library filename suffix code from PR #126

8 years agoMerge pull request #126 from hevy-CC4477/master
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.

8 years agoenh: Add usage of DEFINE_validator to test project
Andreas Schuh [Mon, 29 Feb 2016 17:12:15 +0000 (17:12 +0000)]
enh: Add usage of DEFINE_validator to test project

8 years ago#136 Move test binaries to Testing/bin
Andreas Schuh [Mon, 29 Feb 2016 17:03:08 +0000 (17:03 +0000)]
#136 Move test binaries to Testing/bin

8 years ago#51 #138 Use std::string instead const char * for global "constants"
Andreas Schuh [Mon, 29 Feb 2016 16:15:11 +0000 (16:15 +0000)]
#51 #138 Use std::string instead const char * for global "constants"

8 years agofix: Pass std::string directly, no need for c_str() call
Andreas Schuh [Mon, 29 Feb 2016 16:12:33 +0000 (16:12 +0000)]
fix: Pass std::string directly, no need for c_str() call

8 years agoproperly export the .so minor version
Evan Klitzke [Sat, 27 Feb 2016 20:36:14 +0000 (12:36 -0800)]
properly export the .so minor version

8 years agomod: Update doc
Andreas Schuh [Fri, 19 Feb 2016 13:43:45 +0000 (13:43 +0000)]
mod: Update doc

8 years ago#51 Call ShutDownCommandLineFlags for (manual) valgrind test
Andreas Schuh [Fri, 19 Feb 2016 13:20:28 +0000 (13:20 +0000)]
#51 Call ShutDownCommandLineFlags for (manual) valgrind test

8 years ago#51 Use static StringFlagDestructor to destruct string objects allocated by placement new
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

8 years agoMerge pull request #133 from earhart/master
Andreas Schuh [Fri, 19 Feb 2016 09:50:17 +0000 (09:50 +0000)]
Merge pull request #133 from earhart/master

Add Bazel build support

8 years agoAdd bazel support
Rob Earhart [Fri, 19 Feb 2016 02:16:44 +0000 (18:16 -0800)]
Add bazel support

8 years agoMerge pull request #131 from sbc100/no_threads
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

8 years agoDefine NO_THREADS in 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.

8 years agoMerge pull request #129 from Nazg-Gul/master
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

8 years agoFix some compilation warnings with MSVC 2015
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().

8 years agoResolve several missing declarations warnings
Sergey Sharybin [Thu, 31 Dec 2015 12:09:59 +0000 (17:09 +0500)]
Resolve several missing declarations warnings

8 years agohandle generation of dynamic and static library on windows.
Arnaud Farbos [Thu, 5 Nov 2015 20:03:37 +0000 (12:03 -0800)]
handle generation of dynamic and static library on windows.

8 years ago#125 Fix unused typedef/variable warning for static assertion
Andreas Schuh [Wed, 28 Oct 2015 00:19:33 +0000 (00:19 +0000)]
#125 Fix unused typedef/variable warning for static assertion

8 years ago#124 Remove using namespace from mutex.h
Andreas Schuh [Tue, 27 Oct 2015 23:00:58 +0000 (23:00 +0000)]
#124 Remove using namespace from mutex.h

9 years agoMerge pull request #116 from KjellSchubert/vs2015
Andreas Schuh [Tue, 19 May 2015 23:37:42 +0000 (00:37 +0100)]
Merge pull request #116 from KjellSchubert/vs2015

Fix build with MS VS 2015 RC

9 years agosupport for msvs 2015
Kjell Schubert [Tue, 19 May 2015 22:56:39 +0000 (15:56 -0700)]
support for msvs 2015

9 years ago#113 Require CMake >= 2.8.12
Andreas Schuh [Fri, 3 Apr 2015 15:12:38 +0000 (16:12 +0100)]
#113 Require CMake >= 2.8.12

Earlier version, such as CMake 2.8.11.2 in particular, have incomplete or faulty support of target_include_directories generator expressions. Moreover, this allows us to assume that the command target_include_directories is available.

9 years ago#112 Use HTTPS protocol for "doc" submodule to not require SSH authentication
Andreas Schuh [Tue, 31 Mar 2015 14:53:18 +0000 (15:53 +0100)]
#112 Use HTTPS protocol for "doc" submodule to not require SSH authentication

9 years ago#106 Add test of gflags-config.cmake package configuration
Andreas Schuh [Wed, 25 Mar 2015 13:54:49 +0000 (13:54 +0000)]
#106 Add test of gflags-config.cmake package configuration

9 years ago#110 Set gflags_LIBRARIES to value of gflags_TARGET instead of "gflags"
Andreas Schuh [Wed, 25 Mar 2015 03:17:36 +0000 (03:17 +0000)]
#110 Set gflags_LIBRARIES to value of gflags_TARGET instead of "gflags"

9 years ago#110 Update CMake example on how to link against gflags library
Andreas Schuh [Wed, 25 Mar 2015 03:13:56 +0000 (03:13 +0000)]
#110 Update CMake example on how to link against gflags library

9 years ago#110 Add "gflags" import target and gflags_TARGET
Andreas Schuh [Wed, 25 Mar 2015 03:07:04 +0000 (03:07 +0000)]
#110 Add "gflags" import target and gflags_TARGET

The gflags_TARGET variable contains the name of the originally exported import target. The "gflags" import target contains a copy of the relevant properties of this import target created by CMake. The gflags_LIBRARIES variable can be used to be consistent with other packages, but is otherwise no longer needed. In most cases, "target_link_libraries(foo gflags)" should be used.

9 years ago#108 Use PROJECT_BINARY_DIR in place of gflags_BINARY_DIR
Andreas Schuh [Wed, 25 Mar 2015 00:14:46 +0000 (00:14 +0000)]
#108 Use PROJECT_BINARY_DIR in place of gflags_BINARY_DIR

9 years ago#107 Correct description of GFLAGS_INCLUDE_DIR
Andreas Schuh [Wed, 25 Mar 2015 00:02:22 +0000 (00:02 +0000)]
#107 Correct description of GFLAGS_INCLUDE_DIR

9 years ago#107 Document remaining CMake cache entries
Andreas Schuh [Wed, 25 Mar 2015 00:00:50 +0000 (00:00 +0000)]
#107 Document remaining CMake cache entries

9 years ago#105 Modify negative compilation tests to link against gflags_LIBRARIES
Andreas Schuh [Tue, 24 Mar 2015 23:45:21 +0000 (23:45 +0000)]
#105 Modify negative compilation tests to link against gflags_LIBRARIES

9 years ago#108 Fix temporary directory configuration of negative compilation tests
Andreas Schuh [Tue, 24 Mar 2015 23:44:34 +0000 (23:44 +0000)]
#108 Fix temporary directory configuration of negative compilation tests

9 years ago#104 Fix compilation of tests
Andreas Schuh [Tue, 24 Mar 2015 23:43:53 +0000 (23:43 +0000)]
#104 Fix compilation of tests

9 years agomod: Update gh-pages with correct GitHub organization URLs and CMake example
Andreas Schuh [Tue, 24 Mar 2015 23:31:34 +0000 (23:31 +0000)]
mod: Update gh-pages with correct GitHub organization URLs and CMake example

9 years agomod: Update gh-pages with documentation of config options
Andreas Schuh [Tue, 24 Mar 2015 19:13:46 +0000 (19:13 +0000)]
mod: Update gh-pages with documentation of config options

9 years ago#105 Add gflags_SHARED and gflags_NOTHREADED gflags-config.cmake options
Andreas Schuh [Tue, 24 Mar 2015 18:55:17 +0000 (18:55 +0000)]
#105 Add gflags_SHARED and gflags_NOTHREADED gflags-config.cmake options

9 years ago#104 Fix library include directories settings
Andreas Schuh [Tue, 24 Mar 2015 18:54:30 +0000 (18:54 +0000)]
#104 Fix library include directories settings

9 years agodoc: Correct year in README
Andreas Schuh [Tue, 24 Mar 2015 17:48:29 +0000 (17:48 +0000)]
doc: Correct year in README

9 years agodoc: Spelling correction
Andreas Schuh [Tue, 24 Mar 2015 17:07:00 +0000 (17:07 +0000)]
doc: Spelling correction

9 years agomod: Change URL of gh-pages submodule to use GitHub gflags community repo
Andreas Schuh [Tue, 24 Mar 2015 17:04:08 +0000 (17:04 +0000)]
mod: Change URL of gh-pages submodule to use GitHub gflags community repo

9 years agodoc: Add ChangeLog entries for release 2.1.2
Andreas Schuh [Tue, 24 Mar 2015 16:36:13 +0000 (16:36 +0000)]
doc: Add ChangeLog entries for release 2.1.2

9 years agodoc: Update README
Andreas Schuh [Tue, 24 Mar 2015 16:35:19 +0000 (16:35 +0000)]
doc: Update README

9 years agofixup: Package configuration
Andreas Schuh [Tue, 24 Mar 2015 16:29:31 +0000 (16:29 +0000)]
fixup: Package configuration

9 years agofix: Extension of README file for PackageMaker
Andreas Schuh [Tue, 24 Mar 2015 16:21:44 +0000 (16:21 +0000)]
fix: Extension of README file for PackageMaker

9 years ago#101 Enable C language again as long as FindThreads requires it
Andreas Schuh [Tue, 24 Mar 2015 15:36:26 +0000 (15:36 +0000)]
#101 Enable C language again as long as FindThreads requires it

This avoids having patched CMake modules in the source tree of the gflags library. Usually a C compiler is installed along a C++ compiler (or it is used for C as well). The only slight downside is the extra configuration time needed by CMake to check the C compiler.

9 years agomod: Update gh-pages
Andreas Schuh [Tue, 24 Mar 2015 15:05:08 +0000 (15:05 +0000)]
mod: Update gh-pages

9 years agodoc: Readding doc submodule
Andreas Schuh [Tue, 24 Mar 2015 14:59:51 +0000 (14:59 +0000)]
doc: Readding doc submodule

9 years agofix: Remove accidentally added gh-pages files
Andreas Schuh [Tue, 24 Mar 2015 14:48:59 +0000 (14:48 +0000)]
fix: Remove accidentally added gh-pages files

9 years agoMerge branch 'master' of github.com:schuhschuh/gflags
Andreas Schuh [Tue, 24 Mar 2015 14:45:05 +0000 (14:45 +0000)]
Merge branch 'master' of github.com:schuhschuh/gflags

9 years agocmake: Set version of master branch to next release version
Andreas Schuh [Tue, 24 Mar 2015 14:44:57 +0000 (14:44 +0000)]
cmake: Set version of master branch to next release version

9 years ago#104 Set INTERFACE_INCLUDE_DIRECTORIES of (imported) targets
Andreas Schuh [Tue, 24 Mar 2015 14:44:12 +0000 (14:44 +0000)]
#104 Set INTERFACE_INCLUDE_DIRECTORIES of (imported) targets

9 years agofix: File paths and package URLs
Andreas Schuh [Tue, 24 Mar 2015 14:41:52 +0000 (14:41 +0000)]
fix: File paths and package URLs

9 years ago#103 Silence CMake warning regarding CMP0042 (MACOS_RPATH)
Andreas Schuh [Tue, 24 Mar 2015 14:41:10 +0000 (14:41 +0000)]
#103 Silence CMake warning regarding CMP0042 (MACOS_RPATH)

9 years agoMerge branch 'update-cmake-example'
Andreas Schuh [Tue, 24 Mar 2015 14:40:11 +0000 (14:40 +0000)]
Merge branch 'update-cmake-example'

9 years agoMerge branch 'master' of github.com:schuhschuh/gflags into update-cmake-example
Andreas Schuh [Tue, 24 Mar 2015 14:39:48 +0000 (14:39 +0000)]
Merge branch 'master' of github.com:schuhschuh/gflags into update-cmake-example

9 years agodoc: Remove no longer needed include_directories command from example
Andreas Schuh [Tue, 24 Mar 2015 14:39:43 +0000 (14:39 +0000)]
doc: Remove no longer needed include_directories command from example

9 years agodoc: Spelling correction
Andreas Schuh [Tue, 24 Mar 2015 13:21:35 +0000 (13:21 +0000)]
doc: Spelling correction

9 years agoadd: Common build directory names to ignore list
Andreas Schuh [Tue, 24 Mar 2015 12:59:56 +0000 (12:59 +0000)]
add: Common build directory names to ignore list

9 years agodoc: Add gh-pages branch as submodule in doc directory
Andreas Schuh [Tue, 24 Mar 2015 12:58:23 +0000 (12:58 +0000)]
doc: Add gh-pages branch as submodule in doc directory

9 years agoadd: .nojekyll file
Andreas Schuh [Tue, 24 Mar 2015 12:55:52 +0000 (12:55 +0000)]
add: .nojekyll file

9 years agofix: Rename documentation HTML file to index.html
Andreas Schuh [Tue, 24 Mar 2015 12:55:31 +0000 (12:55 +0000)]
fix: Rename documentation HTML file to index.html

9 years agoadd: Files from doc/ directory of master branch
Andreas Schuh [Tue, 24 Mar 2015 12:51:30 +0000 (12:51 +0000)]
add: Files from doc/ directory of master branch

9 years agoMerge branch 'feature/#83-alternative-namespace'
Andreas Schuh [Tue, 24 Mar 2015 12:42:53 +0000 (12:42 +0000)]
Merge branch 'feature/#83-alternative-namespace'

9 years agodoc: Convert INSTALL instructions to Markdown
Andreas Schuh [Tue, 24 Mar 2015 12:41:43 +0000 (12:41 +0000)]
doc: Convert INSTALL instructions to Markdown

9 years agodoc: Replace README by previous NEWS in Markdown format
Andreas Schuh [Tue, 24 Mar 2015 12:34:22 +0000 (12:34 +0000)]
doc: Replace README by previous NEWS in Markdown format