summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2017-10-08Removed unused functions.Sumit Gupta1-23/+0
2017-09-01Remove using ::fLS::clstring;Yi Wang1-1/+0
2017-09-01enh: Move CMake defines to separate header, unused by BazelAndreas Schuh3-114/+105
This change avoids having to configure a private .h.in file during the Bazel build such that these files are not available to dependent projects in the GENDIR of the external gflags project.
2017-07-13fix: Remove obsolete and unused CleanFileName codeAndreas Schuh1-20/+8
2017-07-11fix: Static code analyzer error regarding strncmp with empty kRootDir stringAndreas Schuh1-1/+1
2017-05-16Use inttypes.h on VC++ 2013 and upBen Vanik1-0/+4
Warnings will spit out on newer compilers due to PRI* being redefined. Tested with VC++ 2015 and 2017. [Blog post](https://blogs.msdn.microsoft.com/vcblog/2013/07/19/c99-library-support-in-visual-studio-2013/) describing the defines being added in 2013.
2017-05-12Fix static initialization order fiasco caused by global registry lock (#215)Mmanu Chaturvedi1-3/+2
2017-05-06Fix statically linked gflags library with MSVCArkady Shapkin1-1/+1
Fix #211
2017-03-29Mark single argument constructors in mutex.h as explicit.Dan Minor1-2/+2
2016-11-26fix: Remove unused program_name variableAndreas Schuh1-3/+0
2016-11-25enh: Refactored Bazel BUILD rulesAndreas Schuh5-11/+8
2016-11-25Revert "enh: Rename private sources, include public headers with rel path"Andreas Schuh6-10/+11
2016-11-25enh: Rename private sources, include public headers with rel pathAndreas Schuh6-11/+10
2016-11-25enh: Set GFLAGS_IS_A_DLL in INTERFACE_COMPILE_DEFINITIONSAndreas Schuh2-9/+13
2016-11-22Convert dashes to underscores for unknown flags (#177)Todd Lipcon1-1/+6
2016-10-05Fix error messages to not truncate to 255 characters (#175)David Lam1-3/+1
2016-09-17fix: Validate modified flags only once (#173)Andreas Schuh1-8/+23
2016-08-31fix make error for lacking namespace (#170)田欧1-0/+1
2016-08-24Fix unsigned comparison error in gflags_reporting.cc (#168)Aaryaman Sagar1-1/+2
2016-08-03Fix Windows linker errors and warnings. (#166)Dreamer2-2/+3
2016-08-01Fix wrong type comparison and outdated OfType() usage.dreamer.dead1-2/+2
2016-08-01Fix indentation and remove outdated assert.dreamer.dead1-4/+3
2016-08-01Extract common code from FlagRegisterer to reduce size.dreamer.dead1-9/+21
2016-08-01Change template FlagValue::OfType() to Type() getter.dreamer.dead1-18/+16
2016-07-29Do not pass flag type as a char literal when registering a new flag.dreamer.dead2-47/+92
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.
2016-07-20Merge pull request #156 from dreamer-dead/fix-flag-value-typenameAndreas Schuh1-1/+1
Fix incorrect flag value typename for uint32.
2016-07-20Fix uint32 type name.dreamer.dead1-1/+1
2016-07-18Add missing reference symbol to a function parameter.dreamer.dead1-2/+2
2016-06-28fix bug about LRLFliuchang08121-1/+5
2016-04-05Correct FV_MAX_INDEXAllan L. Bazinet1-1/+1
2016-04-05Support uint32 as flag typeAllan L. Bazinet4-5/+46
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.”
2016-02-29fix: Add missing include guards to gflags/config.hAndreas Schuh1-0/+7
2016-02-29#51 #138 Use std::string instead const char * for global "constants"Andreas Schuh1-33/+24
2016-02-19#51 Use static StringFlagDestructor to destruct string objects allocated by ↵Andreas Schuh1-0/+21
placement new
2016-02-18Add bazel supportRob Earhart1-1/+0
2015-12-31Fix some compilation warnings with MSVC 2015Sergey Sharybin2-4/+4
MSVC 2015 already defines vsnprintf() and va_copy().
2015-12-31Resolve several missing declarations warningsSergey Sharybin1-0/+2
2015-10-28#125 Fix unused typedef/variable warning for static assertionAndreas Schuh1-2/+3
2015-10-27#124 Remove using namespace from mutex.hAndreas Schuh2-3/+3
2015-05-19support for msvs 2015Kjell Schubert1-0/+4
2014-07-17fix: Include guard of alternative "gflags" namespace header.Andreas Schuh1-3/+3
2014-05-02Support alternative namespaces in GFLAGS_NAMESPACE CMake variable.Andreas Schuh2-0/+105
The first element in the GFLAGS_NAMESPACE list is used as primary/default namespace. The symbols are then imported from this primary namespace into each of the other alternative namespaces with the using keyword. This is in particular used to maintain backwards compatibility with previous gflags library versions that used the "google" namespace instead of the new default "gflags" namespace.
2014-05-02Define GFLAGS_NAMESPACE in public headers.Andreas Schuh3-18/+20
This avoids any mistakes where once @GFLAGS_NAMESPACE@ was used in public .h.in files, or the #define GFLAGS_NAMESPACE in internal source files.
2014-03-26Replace GFLAGS_NAMESPACE by @GFLAGS_NAMESPACE@ in gflags_declare.h (Fixes ↵Andreas Schuh1-3/+3
issue #79).
2014-03-20Change mode of text file.Andreas Schuh1-0/+0
2014-03-20Enable packaging of library using CPack.Andreas Schuh1-2/+4
2014-03-19Add link dependency on shlwapi.lib during build configuration instead of ↵Andreas Schuh1-3/+2
#pragma comment statement. Use this library also on MinGW.
2014-03-19Use strtoll as defined by windows_port.h for strto64.Andreas Schuh1-5/+2
2014-03-19Use OS_WINDOWS #define instead of _WIN32 and WINDOWS.Andreas Schuh5-7/+10
The OS_WINDOWS #define has previously been used in gflags.cc before the CMake migration.
2014-03-19Remove GFLAGS_NAMESPACE and version macros from public headers again.Andreas Schuh3-34/+18