platform/upstream/gflags.git
10 years agoResolve conflicts upon pull.
Andreas Schuh [Thu, 20 Mar 2014 21:25:35 +0000 (21:25 +0000)]
Resolve conflicts upon pull.

10 years agoSet package architecture to i386 when compiling with -m32.
Andreas Schuh [Thu, 20 Mar 2014 20:56:05 +0000 (20:56 +0000)]
Set package architecture to i386 when compiling with -m32.

10 years agoMerge remote-tracking branch 'google/release' into develop
Andreas Schuh [Thu, 20 Mar 2014 20:29:11 +0000 (20:29 +0000)]
Merge remote-tracking branch 'google/release' into develop

10 years agoMerge remote-tracking branch 'google/hotfix/rpm-package-architecture' into release
Andreas Schuh [Thu, 20 Mar 2014 20:27:48 +0000 (20:27 +0000)]
Merge remote-tracking branch 'google/hotfix/rpm-package-architecture' into release

10 years agoFix architecture used for RPM packages and DEB/RPM package file names.
Andreas Schuh [Thu, 20 Mar 2014 20:21:30 +0000 (20:21 +0000)]
Fix architecture used for RPM packages and DEB/RPM package file names.

10 years agoMerge remote-tracking branch 'google/release' into 'master'.
Andreas Schuh [Thu, 20 Mar 2014 16:37:14 +0000 (16:37 +0000)]
Merge remote-tracking branch 'google/release' into 'master'.

Conflicts:
gflags-vs2003.sln
gflags-vs2010.sln
gflags-vs2012.sln
vsprojects/gflags_unittest/gflags_unittest-vs2010.vcxproj
vsprojects/libgflags/libgflags-vs2010.vcxproj

10 years agoMention Git branching model in NEWS.
Andreas Schuh [Thu, 20 Mar 2014 16:35:30 +0000 (16:35 +0000)]
Mention Git branching model in NEWS.

10 years agoAdd release notes.
Andreas Schuh [Thu, 20 Mar 2014 16:32:54 +0000 (16:32 +0000)]
Add release notes.

10 years agoChange version to 2.1.0, i.e., use common semantic versioning system including patch...
Andreas Schuh [Thu, 20 Mar 2014 16:19:00 +0000 (16:19 +0000)]
Change version to 2.1.0, i.e., use common semantic versioning system including patch number for bug fix releases.

10 years agoAdd missing entry to ChangeLog for v2.1 release.
Andreas Schuh [Thu, 20 Mar 2014 16:15:10 +0000 (16:15 +0000)]
Add missing entry to ChangeLog for v2.1 release.

10 years agoAdd ChangeLog entries for v2.1 release.
Andreas Schuh [Thu, 20 Mar 2014 16:02:15 +0000 (16:02 +0000)]
Add ChangeLog entries for v2.1 release.

10 years agoIgnore packages subdirectory (if it exists).
Andreas Schuh [Thu, 20 Mar 2014 04:43:01 +0000 (04:43 +0000)]
Ignore packages subdirectory (if it exists).

10 years agoMerge branch 'refs/heads/feature/cpack-package-generation' into develop
Andreas Schuh [Thu, 20 Mar 2014 04:38:03 +0000 (04:38 +0000)]
Merge branch 'refs/heads/feature/cpack-package-generation' into develop

10 years agoUse dpkg --print-architecture also for RPM generator.
Andreas Schuh [Thu, 20 Mar 2014 04:24:57 +0000 (04:24 +0000)]
Use dpkg --print-architecture also for RPM generator.

10 years agoSet additional DEB CPack variables in package.cmake.in.
Andreas Schuh [Thu, 20 Mar 2014 04:20:15 +0000 (04:20 +0000)]
Set additional DEB CPack variables in package.cmake.in.

10 years agoChange package vendor to just a name.
Andreas Schuh [Thu, 20 Mar 2014 04:09:02 +0000 (04:09 +0000)]
Change package vendor to just a name.

10 years agoRemove brief description from README to avoid duplicate appearance in RPM and other...
Andreas Schuh [Thu, 20 Mar 2014 04:06:13 +0000 (04:06 +0000)]
Remove brief description from README to avoid duplicate appearance in RPM and other packages.

10 years agoAdd missing year to ChangeLog entry. RPM is now generated successfully.
Andreas Schuh [Thu, 20 Mar 2014 03:53:50 +0000 (03:53 +0000)]
Add missing year to ChangeLog entry. RPM is now generated successfully.

10 years agoRemove separating lines from ChangeLog again.
Andreas Schuh [Thu, 20 Mar 2014 03:51:30 +0000 (03:51 +0000)]
Remove separating lines from ChangeLog again.

10 years agoAdd missing name to ChangeLog entry and further format changes.
Andreas Schuh [Thu, 20 Mar 2014 03:49:21 +0000 (03:49 +0000)]
Add missing name to ChangeLog entry and further format changes.

10 years agoRemove time fields from ChangeLog entries which are not compatible with RPM spec.
Andreas Schuh [Thu, 20 Mar 2014 03:42:22 +0000 (03:42 +0000)]
Remove time fields from ChangeLog entries which are not compatible with RPM spec.

10 years agoFix bugs in package configuration file.
Andreas Schuh [Thu, 20 Mar 2014 03:38:59 +0000 (03:38 +0000)]
Fix bugs in package configuration file.

10 years agoConvert ChangeLog to format allowed in RPM spec.
Andreas Schuh [Thu, 20 Mar 2014 03:35:15 +0000 (03:35 +0000)]
Convert ChangeLog to format allowed in RPM spec.

10 years agoSet RPM CPack variables already in CMakeList.txt.
Andreas Schuh [Thu, 20 Mar 2014 03:27:13 +0000 (03:27 +0000)]
Set RPM CPack variables already in CMakeList.txt.

10 years agoSet RPM generator specific variables.
Andreas Schuh [Thu, 20 Mar 2014 03:23:08 +0000 (03:23 +0000)]
Set RPM generator specific variables.

10 years agoCorrect CPack package description file.
Andreas Schuh [Thu, 20 Mar 2014 03:22:57 +0000 (03:22 +0000)]
Correct CPack package description file.

10 years agoFix build of threaded library on Unix by adding the appropriate link library.
Andreas Schuh [Thu, 20 Mar 2014 03:04:44 +0000 (03:04 +0000)]
Fix build of threaded library on Unix by adding the appropriate link library.

10 years agoChange mode of text file.
Andreas Schuh [Thu, 20 Mar 2014 02:13:13 +0000 (02:13 +0000)]
Change mode of text file.

10 years agoEnable packaging of library using CPack.
Andreas Schuh [Thu, 20 Mar 2014 02:11:44 +0000 (02:11 +0000)]
Enable packaging of library using CPack.

10 years agoRevert "Added Git ignore file to prevent build files being seen as changed files"
Andreas Schuh [Wed, 19 Mar 2014 17:56:32 +0000 (17:56 +0000)]
Revert "Added Git ignore file to prevent build files being seen as changed files"

This reverts commit fb21f3cca06e9ff367795ed47e6bb93a9cfcfcba.

10 years agoAdd link dependency on shlwapi.lib during build configuration instead of #pragma...
Andreas Schuh [Wed, 19 Mar 2014 17:32:23 +0000 (17:32 +0000)]
Add link dependency on shlwapi.lib during build configuration instead of #pragma comment statement. Use this library also on MinGW.

10 years agoLook for shlwapi.h also in case of MinGW.
Andreas Schuh [Wed, 19 Mar 2014 17:15:36 +0000 (17:15 +0000)]
Look for shlwapi.h also in case of MinGW.

10 years agoUse strtoll as defined by windows_port.h for strto64.
Andreas Schuh [Wed, 19 Mar 2014 16:53:19 +0000 (16:53 +0000)]
Use strtoll as defined by windows_port.h for strto64.

10 years agoUse OS_WINDOWS #define instead of _WIN32 and WINDOWS.
Andreas Schuh [Wed, 19 Mar 2014 16:46:56 +0000 (16:46 +0000)]
Use OS_WINDOWS #define instead of _WIN32 and WINDOWS.

The OS_WINDOWS #define has previously been used in gflags.cc before the CMake migration.

10 years agoMerge remote-tracking branch 'github/cmake-migration'
Andreas Schuh [Wed, 19 Mar 2014 16:08:35 +0000 (16:08 +0000)]
Merge remote-tracking branch 'github/cmake-migration'

10 years agoRemove GFLAGS_NAMESPACE and version macros from public headers again.
Andreas Schuh [Wed, 19 Mar 2014 16:05:02 +0000 (16:05 +0000)]
Remove GFLAGS_NAMESPACE and version macros from public headers again.

10 years agoSimplify check for strtoll and strtoq.
Andreas Schuh [Wed, 19 Mar 2014 15:56:26 +0000 (15:56 +0000)]
Simplify check for strtoll and strtoq.

10 years agoFix conditional compilation of tests using glob expressions.
Andreas Schuh [Wed, 19 Mar 2014 15:55:43 +0000 (15:55 +0000)]
Fix conditional compilation of tests using glob expressions.

10 years agoAdd .gitattributes file to normalize all files to LF.
Andreas Schuh [Wed, 19 Mar 2014 14:48:03 +0000 (14:48 +0000)]
Add .gitattributes file to normalize all files to LF.

10 years agoConvert line endings to Unix format.
unknown [Wed, 19 Mar 2014 14:27:08 +0000 (15:27 +0100)]
Convert line endings to Unix format.

10 years agoReplace GFLAGS_HAVE_* #defines by HAVE_* again.
Andreas Schuh [Wed, 19 Mar 2014 14:24:52 +0000 (14:24 +0000)]
Replace GFLAGS_HAVE_* #defines by HAVE_* again.

10 years agoNo need to export CommandLineFlagInfo data only structure from DLL.
Andreas Schuh [Wed, 19 Mar 2014 11:35:30 +0000 (11:35 +0000)]
No need to export CommandLineFlagInfo data only structure from DLL.

10 years agoFix bug in SafeFOpen showing up in Cygwin. Errno only guaranteed to be set on failure.
Andreas Schuh [Wed, 19 Mar 2014 11:29:43 +0000 (11:29 +0000)]
Fix bug in SafeFOpen showing up in Cygwin. Errno only guaranteed to be set on failure.

10 years agoFix check for pthreads library on Ubuntu.
Andreas Schuh [Tue, 18 Mar 2014 22:39:59 +0000 (22:39 +0000)]
Fix check for pthreads library on Ubuntu.

10 years agoAdd missing CheckTypeSizeMap.cmake.in file.
Andreas Schuh [Tue, 18 Mar 2014 22:06:13 +0000 (22:06 +0000)]
Add missing CheckTypeSizeMap.cmake.in file.

Copied from CMake master branch.

10 years agoFix DLL build on Windows and use PathMatchSpec instead of fnmatch.
Andreas Schuh [Tue, 18 Mar 2014 22:03:10 +0000 (22:03 +0000)]
Fix DLL build on Windows and use PathMatchSpec instead of fnmatch.
Expose as few system variables as possible through public interface.
Perform STRIP_FLAGS_HELP test using CMake instead of Bash.
Change file path separator used by gflags_reporting.cc to backslash on Windwos.

10 years agoModify CheckTypeSize.cmake module so it works with older CMake versions.
Andreas Schuh [Tue, 18 Mar 2014 21:59:48 +0000 (21:59 +0000)]
Modify CheckTypeSize.cmake module so it works with older CMake versions.

10 years agoFix unit tests for Windows and CygWin.
Andreas Schuh [Mon, 17 Mar 2014 21:49:10 +0000 (21:49 +0000)]
Fix unit tests for Windows and CygWin.

10 years agoAdd missing errno.h include statement and use int instead of errno_t.
Andreas Schuh [Mon, 17 Mar 2014 21:38:21 +0000 (21:38 +0000)]
Add missing errno.h include statement and use int instead of errno_t.

10 years agoFix up use of SafeFOpen.
Andreas Schuh [Mon, 17 Mar 2014 21:27:01 +0000 (21:27 +0000)]
Fix up use of SafeFOpen.

10 years agoEnable test case which tests invalid negative value for uint64 flag.
Andreas Schuh [Mon, 17 Mar 2014 21:22:51 +0000 (21:22 +0000)]
Enable test case which tests invalid negative value for uint64 flag.

10 years agoCreate temporary directory for unit tests in specified --test_tmpdir if possible.
Andreas Schuh [Mon, 17 Mar 2014 21:21:59 +0000 (21:21 +0000)]
Create temporary directory for unit tests in specified --test_tmpdir if possible.

10 years agoUse _strtoi64 and _strtoui64 on Windows.
Andreas Schuh [Mon, 17 Mar 2014 21:21:21 +0000 (21:21 +0000)]
Use _strtoi64 and _strtoui64 on Windows.

10 years agoFix VS linker warning regarding locally defined FLAGS_tryfromenv symbol.
Andreas Schuh [Mon, 17 Mar 2014 21:20:24 +0000 (21:20 +0000)]
Fix VS linker warning regarding locally defined FLAGS_tryfromenv symbol.

10 years agoFix VS security warnings using SafeGetEnv and SafeFOpen utility functions.
Andreas Schuh [Mon, 17 Mar 2014 21:19:35 +0000 (21:19 +0000)]
Fix VS security warnings using SafeGetEnv and SafeFOpen utility functions.

10 years agoMinor CMake coding style change of version_numbers function.
Andreas Schuh [Mon, 17 Mar 2014 21:16:31 +0000 (21:16 +0000)]
Minor CMake coding style change of version_numbers function.

10 years agoPass --test_tmpdir and --srcdir to unittests.
Andreas Schuh [Mon, 17 Mar 2014 21:15:52 +0000 (21:15 +0000)]
Pass --test_tmpdir and --srcdir to unittests.

10 years agoRequire at least CMake 2.8.4 to avoid Cygwin legacy warning.
Andreas Schuh [Mon, 17 Mar 2014 20:54:48 +0000 (20:54 +0000)]
Require at least CMake 2.8.4 to avoid Cygwin legacy warning.

10 years agoAdd missing execute_test.cmake script.
Andreas Schuh [Mon, 17 Mar 2014 16:12:56 +0000 (16:12 +0000)]
Add missing execute_test.cmake script.

10 years agoRename FindThreadsCXX module.
Andreas Schuh [Mon, 17 Mar 2014 13:44:03 +0000 (13:44 +0000)]
Rename FindThreadsCXX module.

10 years agoFix typo in documentation and path of execute_test.cmake script.
Andreas Schuh [Mon, 17 Mar 2014 13:41:46 +0000 (13:41 +0000)]
Fix typo in documentation and path of execute_test.cmake script.

10 years agoRemove obsolete set(GFLAGS_INTTYPES_FORMAT) call.
Andreas Schuh [Mon, 17 Mar 2014 13:38:48 +0000 (13:38 +0000)]
Remove obsolete set(GFLAGS_INTTYPES_FORMAT) call.

10 years agoMinor style change to be consistent.
Andreas Schuh [Mon, 17 Mar 2014 13:36:34 +0000 (13:36 +0000)]
Minor style change to be consistent.

10 years agoFix preprocessor conditions to use new GFLAGS_* defines.
Andreas Schuh [Mon, 17 Mar 2014 13:33:26 +0000 (13:33 +0000)]
Fix preprocessor conditions to use new GFLAGS_* defines.

10 years agoModify CheckCXXLibraryExists to use CMakeFiles directory.
Andreas Schuh [Mon, 17 Mar 2014 13:25:04 +0000 (13:25 +0000)]
Modify CheckCXXLibraryExists to use CMakeFiles directory.

10 years agoAdd CheckCXXLibraryExists.cmake module and use it in FindTreadsCXX.cmake.
Andreas Schuh [Mon, 17 Mar 2014 13:17:44 +0000 (13:17 +0000)]
Add CheckCXXLibraryExists.cmake module and use it in FindTreadsCXX.cmake.

10 years agoFix previous change of FindThreadsCxx.cmake by copying needed source file from CMake...
Andreas Schuh [Mon, 17 Mar 2014 12:38:41 +0000 (12:38 +0000)]
Fix previous change of FindThreadsCxx.cmake by copying needed source file from CMake installation, changing the file name extension only.

10 years agoUse CheckForPthreads.cxx to find pthreads library on Ubuntu.
Andreas Schuh [Mon, 17 Mar 2014 12:35:28 +0000 (12:35 +0000)]
Use CheckForPthreads.cxx to find pthreads library on Ubuntu.

10 years agoMerge pull request #7 from andy-held/cmake-migration
Andreas Schuh [Mon, 17 Mar 2014 12:16:26 +0000 (12:16 +0000)]
Merge pull request #7 from andy-held/cmake-migration

Fix case in CMake module includes.

10 years ago* fixed letter case of included file names
Andreas Franek [Mon, 17 Mar 2014 08:38:15 +0000 (09:38 +0100)]
* fixed letter case of included file names
* C language definition is needed for CheckForPthreads.c

10 years agoCheck if pthread_rwlock_t is available and use it if so.
Andreas Schuh [Sat, 15 Mar 2014 14:31:21 +0000 (14:31 +0000)]
Check if pthread_rwlock_t is available and use it if so.

10 years agoFix build with Xcode 5, system checks, set LANGUAGE to CXX.
Andreas Schuh [Sat, 15 Mar 2014 14:15:33 +0000 (14:15 +0000)]
Fix build with Xcode 5, system checks, set LANGUAGE to CXX.

10 years agoRemove obsolete gflags_unittest.sh script.
Andreas Schuh [Fri, 14 Mar 2014 20:34:30 +0000 (20:34 +0000)]
Remove obsolete gflags_unittest.sh script.

10 years agoMigrate unit tests to CMake/CTest. Fix preprocessor directive in gflags_unittest.cc.
Andreas Schuh [Fri, 14 Mar 2014 20:32:37 +0000 (20:32 +0000)]
Migrate unit tests to CMake/CTest. Fix preprocessor directive in gflags_unittest.cc.

10 years agoIssue #73 Merge gflags_config.h into gflags_declare.h. Configuration of gflags.h...
Andreas Schuh [Fri, 14 Mar 2014 16:29:51 +0000 (16:29 +0000)]
Issue #73 Merge gflags_config.h into gflags_declare.h. Configuration of gflags.h no longer needed.

10 years agoIssue #73 Fix missing STL DLL export warnings of Visual Studio according to KB168958.
Andreas Schuh [Fri, 14 Mar 2014 16:08:52 +0000 (16:08 +0000)]
Issue #73 Fix missing STL DLL export warnings of Visual Studio according to KB168958.

10 years agoFix build on Windows using Visual Studio. Add gflags_config.h.
Andreas Schuh [Fri, 14 Mar 2014 13:30:22 +0000 (13:30 +0000)]
Fix build on Windows using Visual Studio. Add gflags_config.h.

10 years agoAdd header files to add_library targets so they show up in IDEs.
Andreas Schuh [Fri, 14 Mar 2014 13:29:11 +0000 (13:29 +0000)]
Add header files to add_library targets so they show up in IDEs.

10 years agoMerge pull request #5 from Photonios/master
Andreas Schuh [Wed, 27 Nov 2013 17:51:19 +0000 (09:51 -0800)]
Merge pull request #5 from Photonios/master

Add .gitignore for typical auxiliary files on Windows, renamed projects to match VS version, added x64 to VS2010.

10 years agoRenamed projects in VS2003 solution file to match the filename
Swen Kooij [Wed, 27 Nov 2013 17:05:06 +0000 (18:05 +0100)]
Renamed projects in VS2003 solution file to match the filename

10 years agoRenamed projects in VS2012 solution file to match the filename
Swen Kooij [Wed, 27 Nov 2013 17:04:40 +0000 (18:04 +0100)]
Renamed projects in VS2012 solution file to match the filename

10 years agoAdded configuration options for x64 to vs2010 solution/project file
Photonios [Fri, 22 Nov 2013 16:32:40 +0000 (17:32 +0100)]
Added configuration options for x64 to vs2010 solution/project file

10 years agoAdded Git ignore file to prevent build files being seen as changed files
Photonios [Fri, 22 Nov 2013 16:31:07 +0000 (17:31 +0100)]
Added Git ignore file to prevent build files being seen as changed files

10 years agoMinor update of README.
Andreas Schuh [Wed, 6 Nov 2013 20:56:03 +0000 (20:56 +0000)]
Minor update of README.

10 years agoIgnore .DS_Store files of OS X.
Andreas Schuh [Tue, 5 Nov 2013 12:09:52 +0000 (12:09 +0000)]
Ignore .DS_Store files of OS X.

10 years agoBe more specific about what to ignore.
Andreas Schuh [Tue, 5 Nov 2013 12:03:29 +0000 (12:03 +0000)]
Be more specific about what to ignore.

10 years agoMerge pull request #3 from dominichamon/cmake-migration
Andreas Schuh [Tue, 5 Nov 2013 11:56:17 +0000 (03:56 -0800)]
Merge pull request #3 from dominichamon/cmake-migration

Adding gitignore for generated files

10 years agoMerge pull request #4 from daniperez/cmake-migration
Andreas Schuh [Tue, 5 Nov 2013 00:56:31 +0000 (16:56 -0800)]
Merge pull request #4 from daniperez/cmake-migration

Exporting binary tree to CMake registry

10 years agoexporting binary tree to CMake registry
Dani Perez [Tue, 22 Oct 2013 21:03:27 +0000 (23:03 +0200)]
exporting binary tree to CMake registry

This eases integration with other applications making use
of gflags without needing to install it in the system.
find_package looks in the registry for existing software.

10 years agoAdding gitignore for generated files
Dominic Hamon [Fri, 20 Sep 2013 21:14:23 +0000 (14:14 -0700)]
Adding gitignore for generated files

10 years agoRemove reference to README_windows.
Andreas Schuh [Thu, 1 Aug 2013 02:53:59 +0000 (03:53 +0100)]
Remove reference to README_windows.

10 years agoDocument finding and linking to gflags using CMake.
Andreas Schuh [Thu, 1 Aug 2013 02:46:29 +0000 (03:46 +0100)]
Document finding and linking to gflags using CMake.

10 years agoAdd negative compilation tests.
Andreas Schuh [Thu, 1 Aug 2013 02:31:47 +0000 (03:31 +0100)]
Add negative compilation tests.

10 years agoAdd gflags library which is built with NO_THREADS definition.
Andreas Schuh [Thu, 1 Aug 2013 01:04:37 +0000 (02:04 +0100)]
Add gflags library which is built with NO_THREADS definition.

10 years agoAdd missing unittest2 and unittest3 executables.
Andreas Schuh [Thu, 1 Aug 2013 00:59:32 +0000 (01:59 +0100)]
Add missing unittest2 and unittest3 executables.

10 years agoEnable build and execution of tests again using CTest.
Andreas Schuh [Thu, 1 Aug 2013 00:47:13 +0000 (01:47 +0100)]
Enable build and execution of tests again using CTest.

10 years agoInstall Bash completion script.
Andreas Schuh [Thu, 1 Aug 2013 00:06:36 +0000 (01:06 +0100)]
Install Bash completion script.

10 years agoGive basic CMake based build instructions in INSTALL file.
Andreas Schuh [Wed, 31 Jul 2013 23:52:46 +0000 (00:52 +0100)]
Give basic CMake based build instructions in INSTALL file.

10 years agoSet PACKAGE_VERSION_EXACT to FALSE if major.minor version is not equal to the request...
Andreas Schuh [Wed, 31 Jul 2013 23:27:40 +0000 (00:27 +0100)]
Set PACKAGE_VERSION_EXACT to FALSE if major.minor version is not equal to the requested version.

10 years agoMove definition of configure_sources CMake function to utils module.
Andreas Schuh [Wed, 31 Jul 2013 23:17:53 +0000 (00:17 +0100)]
Move definition of configure_sources CMake function to utils module.