- 21 Apr, 2013 2 commits
-
-
Andreas Schuh authored
Move public header files to src/ subdirectory. Copy them to <prefix>/include/<ns>/ upon installation.
-
Andreas Schuh authored
-
- 20 Apr, 2013 1 commit
-
-
Andreas Schuh authored
-
- 11 Nov, 2012 1 commit
-
-
Andreas Schuh authored
Use project name (gflags) within include guards to avoid conflict with gperftools as reported by chen3feng (issue #62, http://code.google.com/p/gflags/issues/detail?id=62). git-svn-id: https://gflags.googlecode.com/svn/trunk@78 6586e3c6-dcc4-952a-343f-ff74eb82781d
-
- 18 Aug, 2011 1 commit
-
-
Craig Silverstein authored
R=jyrki DELTA=33 (0 added, 27 deleted, 6 changed) Revision created by MOE tool push_codebase. MOE_MIGRATION=3016 git-svn-id: https://gflags.googlecode.com/svn/trunk@60 6586e3c6-dcc4-952a-343f-ff74eb82781d
-
- 30 Jul, 2011 1 commit
-
-
Craig Silverstein authored
So make the #ifdef correct for mscv-but-not-mingw. I think the right fix would be to take all this logic out and insert it via a MOE directive, just for the windows versions of these files. This is what ctemplate does. But it's a more-major change, and I'm looking to get this release out today, so I'm submitting this (TBR), since it's a much more minor change. Revision created by MOE tool push_codebase. MOE_MIGRATION=2837 git-svn-id: https://gflags.googlecode.com/svn/trunk@55 6586e3c6-dcc4-952a-343f-ff74eb82781d
-
- 29 Jul, 2011 1 commit
-
-
Craig Silverstein authored
maintaining this opensource tree. Some of this reorganization is entirely a result of reorganization: blank lines in a few different places, etc. Here are the others: 1) I've added a new file, util.h, with lots of new, helpful routines, most notably StringPrintf (printf returning a string). I've also moved some routines from the .cc and unittest.cc file here, such as the CHECK macros, testing framework, and #ifdefs for 16-bit ints. Quite a bit of code was rewritten to use these new routines. 2) I noticed that the special-case setenv() code was only needed for windows systems, so I moved it to port.h/cc. 3) I also had to add a new vsnprintf wrapper in port.h/cc, to support StringPrintf. 4) A few places I used an old name, commandlineflags, instead of gflags. Most or all of these should be fixed now. 5) Some of my copyright dates weren't quite right. Fixed them up. 6) In some .cc files, I added using directives to not have to use std:: so much. 7) I've added a minor new test, adding 10000 or so flags to see how the system scales. 8) Some compile-warning fixes, such as int -> size_t when appropriate, and better protected #defines in mutex.h 9) The .h files gained some logic defining GFLAGS_DLL_DECL. This is true even for .h files outside the windows directory, which will never have these dll issues. But one big advantage of my new organization is auto-generating the windows versions of these files from the unix versions, so there's some unnecessary (but harmless) duplication as a result. 10) Fixed a bug in rpm.sh which would cause an unnecessary crash when dpkg was missing. git-svn-id: https://gflags.googlecode.com/svn/trunk@52 6586e3c6-dcc4-952a-343f-ff74eb82781d
-
- 21 Aug, 2008 1 commit
-
-
Craig Silverstein authored
* google-gflags: version 1.0rc1 * Move #include files from google/ to gflags/ (csilvers) * Small optimizations to reduce binary (library) size (jyrki) * BUGFIX: forgot a std:: in one of the .h files (csilvers) * Speed up locking by making sure calls are inlined (ajenjo) * 64-BIT COMPATIBILITY: Use %PRId64 instead of %lld (csilvers) * PORTABILITY: fix Makefile to work with Cygwin (ajenjo) * PORTABILITY: fix code to compile under Visual Studio (ajenjo) * PORTABILITY: fix code to compile under Solaris 10 with CC (csilvers) git-svn-id: https://gflags.googlecode.com/svn/trunk@25 6586e3c6-dcc4-952a-343f-ff74eb82781d
-
- 22 Jul, 2008 1 commit
-
-
Craig Silverstein authored
* google-gflags: version 0.9 * Add the ability to validate a command-line flag (csilvers) * Add completion support for commandline flags in bash (daven) * Add -W compile flags to Makefile, when using gcc (csilvers) * Allow helpstring to be NULL (cristianoc) * Improved documentation of classes in the .cc file (csilvers) * Fix python bug with AppendFlagValues + shortnames (jjtswan) * Use bool instead of int for boolean flags in gflags.py (bcmills) * Simplify the way we declare flags, now more foolproof (csilvers) * Better error messages when bool flags collide (colohan) * Only evaluate DEFINE_foo macro args once (csilvers) git-svn-id: https://gflags.googlecode.com/svn/trunk@23 6586e3c6-dcc4-952a-343f-ff74eb82781d
-