Age | Commit message (Collapse) | Author | Files | Lines |
|
The OS_WINDOWS #define has previously been used in gflags.cc before the CMake migration.
|
|
|
|
|
|
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.
|
|
|
|
|
|
gflags.h no longer needed.
|
|
|
|
|
|
<prefix>/include/<ns>/ upon installation.
|
|
|
|
1) mingw needs an #include to have access to mkdir.
2) It needs to always #include port.h (this is an identical
bit of code, in configure.ac, that I have in other opensource
projects for mingw support.)
3) I moved some code from port.cc to port.h, so I didn't have
to add logic to link in port.cc for mingw.
Last change before new release! (*knock on wood*) Submitting
TBR so I can get the release out today. This isn't exactly a
trivial change, so I'm chary to submit TBR, but it's pretty
isolated to windows and mingw, and I've tested on those
platforms to make sure they compile and all tests pass.
DELTA=70 (37 added, 30 deleted, 3 changed)
Revision created by MOE tool push_codebase.
MOE_MIGRATION=2823
git-svn-id: https://gflags.googlecode.com/svn/trunk@54 6586e3c6-dcc4-952a-343f-ff74eb82781d
|
|
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
|
|
* Set up configure.ac to give proper library version numbers (csilvers)
* Update from autoconf 2.64 to 2.65. Also hermeticize libtool a bit
git-svn-id: https://gflags.googlecode.com/svn/trunk@42 6586e3c6-dcc4-952a-343f-ff74eb82781d
|
|
* Comment danger of using GetAllFlags in validators (wojtekm)
* Add python support for gnu_getopt (hobe)
* DEFINE_list now accepts a list as a default (dsturtevant)
* TMPDIR -> TEST_TMPDIR in Makefile, fixing objcopy behavior (csilvers)
* Fix the 'cp' command to use $(top_srcdir) in the Makefile (csilvers)
git-svn-id: https://gflags.googlecode.com/svn/trunk@34 6586e3c6-dcc4-952a-343f-ff74eb82781d
|
|
* google-gflags: version 1.2
* PORTABILITY: can now build and run tests under mingw (csilvers)
* Using a string arg for a bool flag is a compile-time error (rbayardo)
* Add --helpxml to gflags.py (salcianu)
* Protect against a hypothetical global d'tor mutex problem (csilvers)
* BUGFIX: can now define a flag after 'using namespace google' (hamaji)
git-svn-id: https://gflags.googlecode.com/svn/trunk@32 6586e3c6-dcc4-952a-343f-ff74eb82781d
|
|
* google-gflags: version 1.1
* Add both foo and nofoo for boolean flags, with --undefok (andychu)
* Better document how validators work (wojtekm)
* Improve binary-detection for bash-completion (mtamsky)
* Python: Add a concept of "key flags", used with --help (salcianu)
* Python: Robustify flag_values (salcianu)
* Python: Add a new DEFINE_bool alias (keir, andrewliu)
* Python: Do module introspection based on module name (dsturtevant)
* Fix autoconf a bit better, especially on windows and solaris (ajenjo)
* BUG FIX: gflags_nothreads was linking against the wrong lib (ajenjo)
* BUG FIX: threads-detection failed on FreeBSD; replace it (ajenjo)
* PORTABILITY: Quiet an internal compiler error with SUSE 10 (csilvers)
* PORTABILITY: Update deb.sh for more recenty debuilds (csilvers)
* PORTABILITY: #include more headers to satify new gcc's (csilvers)
* INSTALL: Updated to autoconf 2.61 and libtool 1.5.26 (csilvers)
git-svn-id: https://gflags.googlecode.com/svn/trunk@29 6586e3c6-dcc4-952a-343f-ff74eb82781d
|
|
* 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
|
|
* google-gflags: version 0.4
* Remove is_default from GetCommandLineFlagInfo (csilvers)
* Portability fixes: includes, strtoll, gcc4.3 errors (csilvers)
* A few doc typo cleanups (csilvers)
git-svn-id: https://gflags.googlecode.com/svn/trunk@13 6586e3c6-dcc4-952a-343f-ff74eb82781d
|
|
* google-gflags: version 0.3
* python portability fix: use popen instead of subprocess (csilvers)
* Add is_default to CommandLineFlagInfo (pchien)
* Make docs a bit prettier (csilvers)
* Actually include the python files in the distribution! :-/ (csilvers)
git-svn-id: https://gflags.googlecode.com/svn/trunk@11 6586e3c6-dcc4-952a-343f-ff74eb82781d
|