platform/upstream/gflags.git
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.

10 years agoUse gflags as target name instead of PACKAGE_NAME to not make things unnecessarily...
Andreas Schuh [Wed, 31 Jul 2013 23:17:13 +0000 (00:17 +0100)]
Use gflags as target name instead of PACKAGE_NAME to not make things unnecessarily generic.

10 years agoFix relative path to installation prefix in CMake config file.
Andreas Schuh [Wed, 31 Jul 2013 23:10:15 +0000 (00:10 +0100)]
Fix relative path to installation prefix in CMake config file.

10 years agoInstall CMake config file inside lib/ directory on Unix.
Andreas Schuh [Wed, 31 Jul 2013 23:01:21 +0000 (00:01 +0100)]
Install CMake config file inside lib/ directory on Unix.

10 years agoConfigure and install CMake package configuration file to help find_package locate...
Andreas Schuh [Wed, 31 Jul 2013 22:55:50 +0000 (23:55 +0100)]
Configure and install CMake package configuration file to help find_package locate the gflags package.

11 years agoFix configuration on Windows and add src directory to include path.
Andreas Schuh [Wed, 22 May 2013 10:02:04 +0000 (11:02 +0100)]
Fix configuration on Windows and add src directory to include path.

11 years agoAdd missing windows portability definitions.
Andreas Schuh [Tue, 21 May 2013 23:06:08 +0000 (00:06 +0100)]
Add missing windows portability definitions.

11 years agoMove public header files to src/ subdirectory. Copy them to <prefix>/include/<ns...
Andreas Schuh [Sun, 21 Apr 2013 02:38:25 +0000 (03:38 +0100)]
Move public header files to src/ subdirectory. Copy them to <prefix>/include/<ns>/ upon installation.

11 years agoSet CMAKE_BUILD_TYPE to Release by default. Require CMake >=2.8.
Andreas Schuh [Sun, 21 Apr 2013 02:09:43 +0000 (03:09 +0100)]
Set CMAKE_BUILD_TYPE to Release by default. Require CMake >=2.8.

11 years agoAdd CMakeLists.txt and adapt source files accordingly.
Andreas Schuh [Sun, 21 Apr 2013 02:05:35 +0000 (03:05 +0100)]
Add CMakeLists.txt and adapt source files accordingly.

11 years agoMove public header files to separate subdirectory.
Andreas Schuh [Sat, 20 Apr 2013 23:11:52 +0000 (00:11 +0100)]
Move public header files to separate subdirectory.

11 years agoRemove build tool related files, operating system packages, and move unit tests to...
Andreas Schuh [Sat, 20 Apr 2013 21:45:51 +0000 (22:45 +0100)]
Remove build tool related files, operating system packages, and move unit tests to separate subdirectory.

11 years agoUpdate NEWS: Git repository hosted on GitHub.
Andreas Schuh [Sat, 20 Apr 2013 22:49:37 +0000 (22:49 +0000)]
Update NEWS: Git repository hosted on GitHub.

git-svn-id: https://gflags.googlecode.com/svn/trunk@84 6586e3c6-dcc4-952a-343f-ff74eb82781d

11 years agoTest commit via git-svn, only adding blank lines to NEWS.
Andreas Schuh [Sat, 20 Apr 2013 22:14:36 +0000 (22:14 +0000)]
Test commit via git-svn, only adding blank lines to NEWS.

git-svn-id: https://gflags.googlecode.com/svn/trunk@83 6586e3c6-dcc4-952a-343f-ff74eb82781d

11 years agoAdd DEFINE_validator macro for convenient registration of a flag validator.
Andreas Schuh [Sat, 20 Apr 2013 18:35:34 +0000 (18:35 +0000)]
Add DEFINE_validator macro for convenient registration of a flag validator.

git-svn-id: https://gflags.googlecode.com/svn/trunk@82 6586e3c6-dcc4-952a-343f-ff74eb82781d

11 years agoUse static_cast to avoid comparison of signed and unsigned integer warning in util.h.
Andreas Schuh [Mon, 14 Jan 2013 15:11:53 +0000 (15:11 +0000)]
Use static_cast to avoid comparison of signed and unsigned integer warning in util.h.

git-svn-id: https://gflags.googlecode.com/svn/trunk@81 6586e3c6-dcc4-952a-343f-ff74eb82781d

11 years agoFix deprecation warnings of VC++ regarding strdup and unlink. Add solution files...
Andreas Schuh [Tue, 20 Nov 2012 14:48:22 +0000 (14:48 +0000)]
Fix deprecation warnings of VC++ regarding strdup and unlink. Add solution files for VS 2010 and VS 2012.

git-svn-id: https://gflags.googlecode.com/svn/trunk@80 6586e3c6-dcc4-952a-343f-ff74eb82781d

11 years agoAdd "build/" subdirectory to ignore list.
Andreas Schuh [Sun, 11 Nov 2012 20:33:21 +0000 (20:33 +0000)]
Add "build/" subdirectory to ignore list.

git-svn-id: https://gflags.googlecode.com/svn/trunk@79 6586e3c6-dcc4-952a-343f-ff74eb82781d

11 years agoUse project name (gflags) within include guards to avoid conflict with gperftools...
Andreas Schuh [Sun, 11 Nov 2012 20:32:35 +0000 (20:32 +0000)]
Use project name (gflags) within include guards to avoid conflict with gperftools as reported by chen3feng (issue #62, code.google.com/p/gflags/issues/detail?id=62).

git-svn-id: https://gflags.googlecode.com/svn/trunk@78 6586e3c6-dcc4-952a-343f-ff74eb82781d

12 years agoFix "invalid suffix on literal; C++11 requires a space between literal and identifier...
Andreas Schuh [Tue, 29 May 2012 15:19:11 +0000 (15:19 +0000)]
Fix "invalid suffix on literal; C++11 requires a space between literal and identifier" errors as reported by code.google.com/p/gflags/issues/detail?id=54.

git-svn-id: https://gflags.googlecode.com/svn/trunk@77 6586e3c6-dcc4-952a-343f-ff74eb82781d

12 years agoFixed a typo in the email address.
Craig Silverstein [Thu, 2 Feb 2012 22:49:44 +0000 (22:49 +0000)]
Fixed a typo in the email address.

git-svn-id: https://gflags.googlecode.com/svn/trunk@76 6586e3c6-dcc4-952a-343f-ff74eb82781d

12 years agoWed Jan 25 15:09:14 2012 Google Inc. <google-gflags@googlegroups.com>
Craig Silverstein [Wed, 25 Jan 2012 23:59:40 +0000 (23:59 +0000)]
Wed Jan 25 15:09:14 2012  Google Inc. <google-gflags@googlegroups.com>

* gflags: version 2.0
* Changed the 'official' gflags email in setup.py/etc
* Renamed google-gflags.sln to gflags.sln
* Changed copyright text to reflect Google's relinquished ownership

git-svn-id: https://gflags.googlecode.com/svn/trunk@74 6586e3c6-dcc4-952a-343f-ff74eb82781d

12 years agoTue Dec 20 19:48:57 2011 Google Inc. <opensource@google.com>
Craig Silverstein [Wed, 21 Dec 2011 04:28:52 +0000 (04:28 +0000)]
Tue Dec 20 19:48:57 2011  Google Inc. <opensource@google.com>

* google-gflags: version 1.7
* Add CommandLineFlagInfo::flag_ptr pointing to current storage (musji)
* PORTING: flush after writing to stderr, needed on cygwin
* PORTING: Clean up the GFLAGS_DLL_DECL stuff better
* Fix a bug in StringPrintf() that affected large strings (csilvers)
* Die at configure-time when g++ isn't installed

git-svn-id: https://gflags.googlecode.com/svn/trunk@72 6586e3c6-dcc4-952a-343f-ff74eb82781d

12 years agoClarify thread-safety comment for FlagSaver.
Craig Silverstein [Thu, 1 Dec 2011 01:58:29 +0000 (01:58 +0000)]
Clarify thread-safety comment for FlagSaver.

Tested:
blaze test base:commandlineflags_unittest

R=csilvers
DELTA=4  (3 added, 0 deleted, 1 changed)

Revision created by MOE tool push_codebase.
MOE_MIGRATION=3791

git-svn-id: https://gflags.googlecode.com/svn/trunk@71 6586e3c6-dcc4-952a-343f-ff74eb82781d

12 years agoThe last bit of rolling back commandlineflag categories:
Craig Silverstein [Thu, 3 Nov 2011 23:37:01 +0000 (23:37 +0000)]
The last bit of rolling back commandlineflag categories:
remove the 'categories' field from CommandLineFlagInfo.  (Note
the code to fill this field was removed from
FillComandLineFlagInfo previously, so it's been an empty
string for some time now.)

R=ncalvin
DELTA=1  (0 added, 1 deleted, 0 changed)

Revision created by MOE tool push_codebase.
MOE_MIGRATION=3616

git-svn-id: https://gflags.googlecode.com/svn/trunk@70 6586e3c6-dcc4-952a-343f-ff74eb82781d

12 years agoGet rid of the old FlagRegisterer constructor.
Craig Silverstein [Thu, 3 Nov 2011 23:28:30 +0000 (23:28 +0000)]
Get rid of the old FlagRegisterer constructor.

R=jkline,georgevdd
DELTA=27  (0 added, 27 deleted, 0 changed)

Revision created by MOE tool push_codebase.
MOE_MIGRATION=3609

git-svn-id: https://gflags.googlecode.com/svn/trunk@69 6586e3c6-dcc4-952a-343f-ff74eb82781d

12 years agoStarting the rollback of flag categories.
Craig Silverstein [Thu, 3 Nov 2011 23:25:32 +0000 (23:25 +0000)]
Starting the rollback of flag categories.

I left in the old FlagRegisterer constructor.
I also left in 'categories' in CommandLineFlagInfo for now,
though I never use it.  I doubt anyone else does either, but I
want to minimize the number of ways this rollback can break
the build.  I will remove it in a subsequent CL.

R=ncalvin
DELTA=121  (28 added, 55 deleted, 38 changed)

Revision created by MOE tool push_codebase.
MOE_MIGRATION=3574

git-svn-id: https://gflags.googlecode.com/svn/trunk@68 6586e3c6-dcc4-952a-343f-ff74eb82781d

12 years agoAdd a 'flag_ptr' field to CommandLineFlagInfo that points to the current storage...
Craig Silverstein [Thu, 3 Nov 2011 23:18:00 +0000 (23:18 +0000)]
Add a 'flag_ptr' field to CommandLineFlagInfo that points to the current storage of the flag (i.e. &FLAGS_foo).

R=csilvers
DELTA=15  (15 added, 0 deleted, 0 changed)

Revision created by MOE tool push_codebase.
MOE_MIGRATION=3301

git-svn-id: https://gflags.googlecode.com/svn/trunk@67 6586e3c6-dcc4-952a-343f-ff74eb82781d

12 years agoA user reported a bug that configure should die when g++ isn't
Craig Silverstein [Thu, 3 Nov 2011 23:16:21 +0000 (23:16 +0000)]
A user reported a bug that configure should die when g++ isn't
installed, but wasn't:
http://code.google.com/p/google-perftools/issues/detail?id=217

This turned out to be a bug in autoconf:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=357378

The workaround is simple: check for CXX before checking for
CC.  This means that if g++ is installed but gcc isn't, we
won't die (at cc-checking time), but I tested, and the
configure script dies later.  In any case, it seems unlikely
someone would have a c++ compiler installed but not a c
compiler.

This fixes the 4 opensource projects I work on that are
susceptible to this.

R=iant
DELTA=1437  (694 added, 694 deleted, 49 changed)

Revision created by MOE tool push_codebase.
MOE_MIGRATION=3222

git-svn-id: https://gflags.googlecode.com/svn/trunk@66 6586e3c6-dcc4-952a-343f-ff74eb82781d

12 years agoNow I can get rid of the old constructor!
Craig Silverstein [Thu, 3 Nov 2011 23:12:52 +0000 (23:12 +0000)]
Now I can get rid of the old constructor!

R=jkline,ncalvin
DELTA=28  (0 added, 27 deleted, 1 changed)

Revision created by MOE tool push_codebase.
MOE_MIGRATION=3169

git-svn-id: https://gflags.googlecode.com/svn/trunk@65 6586e3c6-dcc4-952a-343f-ff74eb82781d

12 years agohttp://code.google.com/p/google-gflags/issues/detail?id=45
Craig Silverstein [Thu, 3 Nov 2011 23:11:24 +0000 (23:11 +0000)]
code.google.com/p/google-gflags/issues/detail?id=45
reports that the error isn't always getting flushed on
cygwin.  So do that explicitly.

R=desovski
DELTA=1  (1 added, 0 deleted, 0 changed)

Revision created by MOE tool push_codebase.
MOE_MIGRATION=3140

git-svn-id: https://gflags.googlecode.com/svn/trunk@64 6586e3c6-dcc4-952a-343f-ff74eb82781d

12 years agoReport category names via the xml help output (but not, yet,
Craig Silverstein [Thu, 3 Nov 2011 23:09:49 +0000 (23:09 +0000)]
Report category names via the xml help output (but not, yet,
during 'normal' help output).

R=ncalvin
DELTA=3  (3 added, 0 deleted, 0 changed)

Revision created by MOE tool push_codebase.
MOE_MIGRATION=3066

git-svn-id: https://gflags.googlecode.com/svn/trunk@63 6586e3c6-dcc4-952a-343f-ff74eb82781d

12 years agoAdd back in a backwards-compatible constructor for
Craig Silverstein [Thu, 3 Nov 2011 23:09:19 +0000 (23:09 +0000)]
Add back in a backwards-compatible constructor for
FlagRegisterer.

Because this backwards-compatible API is intended to be
short-lived, I did it in the simplest, least invasive way
possible, which involved cutting-and-pasting.

R=ncalvin,jkline
DELTA=27  (27 added, 0 deleted, 0 changed)

Revision created by MOE tool push_codebase.
MOE_MIGRATION=3065

git-svn-id: https://gflags.googlecode.com/svn/trunk@62 6586e3c6-dcc4-952a-343f-ff74eb82781d

12 years agoNOTE: I'm checking this in just to have a record in source control of the idea. ...
Craig Silverstein [Thu, 3 Nov 2011 23:08:41 +0000 (23:08 +0000)]
NOTE: I'm checking this in just to have a record in source control of the idea.  We've decided for now it doesn't make sense to go forward with flag categories -- and the __VA_ARGS__ for macros has caused lots of problems with uncaught accidental commas, already -- so a future commit will back this out.  (Actually, it's all a series of commits, for annoying technical reasons.)

Add support for flag categories.

In this CL, all you can do is set categories in the DEFINE_*
macros and then retrieve them via GetCommandLineFlagInfo and
similar.

In future CLs, we will start to give some semantic meaning to
particular flag values, as described in the designdoc.  In
particular, we will start to use flag categories to revamp
--help output.

Implementation-wise: to keep categories an optional macro
argument, I had to use __VA_ARGS__, which means future gflags
releases will no longer work with MSVC 7.1.  We're at MSVC 10
now, so I'm pretty much ok with that.

The downside of __VA_ARGS__ is there is no error if you
specify more args after the ones we expect.  To get around
that, I only use __VA_ARGS_ in this idiom:
static const OptionalDefineArgs var = { __VA_ARGS__ };
The new OptionalDefineArgs struct defines all the args that
may be optionally specified in the DEFINE_* macros.  For now,
that's only the 'categories' arg, though in theory more could be
added later.

R=titus,ncalvin
DELTA=92  (54 added, 3 deleted, 35 changed)

Revision created by MOE tool push_codebase.
MOE_MIGRATION=3057

git-svn-id: https://gflags.googlecode.com/svn/trunk@61 6586e3c6-dcc4-952a-343f-ff74eb82781d

12 years agoClean up the 'GFLAGS_DLL_DECL' stuff better: reduce use outside of windows/ directory.
Craig Silverstein [Thu, 18 Aug 2011 11:39:20 +0000 (11:39 +0000)]
Clean up the 'GFLAGS_DLL_DECL' stuff better: reduce use outside of windows/ directory.

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

12 years agoFix a bug in StringPrintf() that caused it to not print large strings properly.
Craig Silverstein [Thu, 4 Aug 2011 00:02:52 +0000 (00:02 +0000)]
Fix a bug in StringPrintf() that caused it to not print large strings properly.

R=nilton
DELTA=1  (0 added, 0 deleted, 1 changed)

Revision created by MOE tool push_codebase.
MOE_MIGRATION=2886

git-svn-id: https://gflags.googlecode.com/svn/trunk@59 6586e3c6-dcc4-952a-343f-ff74eb82781d

12 years agoAdd a new unittest case, that tests the --help output for a
Craig Silverstein [Thu, 4 Aug 2011 00:02:39 +0000 (00:02 +0000)]
Add a new unittest case, that tests the --help output for a
really long helpstring.  Opensource gflags had a bug where we
were cutting off the output too soon; this test should protect
against such a thing.

R=nilton
DELTA=16  (16 added, 0 deleted, 0 changed)

Revision created by MOE tool push_codebase.
MOE_MIGRATION=2885

git-svn-id: https://gflags.googlecode.com/svn/trunk@58 6586e3c6-dcc4-952a-343f-ff74eb82781d

12 years agoReady to release gflags 1.6!
Craig Silverstein [Sat, 30 Jul 2011 02:57:58 +0000 (02:57 +0000)]
Ready to release gflags 1.6!

* google-gflags: version 1.6
* BUGFIX: Fix a bug where we were leaving out a required $(top_srcdir)
* Fix definition of clstring (jyrki)
* Split up flag declares into its own file (jyrki)
* Add --version support (csilvers)
* Update teh README for gflags with static libs
* Update acx_pthread.m4 for nostdlib
* Change REparseCommandLineFlags to return void (csilvers)
* Some doc typofixes and example augmentation (various)

R=jperkins
DELTA=44  (41 added, 0 deleted, 3 changed)

Revision created by MOE tool push_codebase.
MOE_MIGRATION=2838

git-svn-id: https://gflags.googlecode.com/svn/trunk@56 6586e3c6-dcc4-952a-343f-ff74eb82781d

12 years agoIt turns out we don't want all this dll-decl stuff for mingw.
Craig Silverstein [Sat, 30 Jul 2011 02:55:58 +0000 (02:55 +0000)]
It turns out we don't want all this dll-decl stuff for mingw.
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

12 years agomingw fixes:
Craig Silverstein [Fri, 29 Jul 2011 22:49:50 +0000 (22:49 +0000)]
mingw fixes:

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

12 years agoA few autotools files that it loosk like aren't needed by the latest
Craig Silverstein [Fri, 29 Jul 2011 05:43:14 +0000 (05:43 +0000)]
A few autotools files that it loosk like aren't needed by the latest
version of autotools (taht we're using now).  Get rid of them to clean
up the svn tree.  Also get rid of the 'python' file -- I don't know
what that is, but it's been a long time since the python version of
gflags has moved to its own project.

git-svn-id: https://gflags.googlecode.com/svn/trunk@53 6586e3c6-dcc4-952a-343f-ff74eb82781d

12 years agoSome reorganization that results from a new method I'm moving to to
Craig Silverstein [Fri, 29 Jul 2011 04:26:49 +0000 (04:26 +0000)]
Some reorganization that results from a new method I'm moving to to
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

12 years agoUpdate to automake 1.10.1 (from 1.9), and downdate to autoconf 2.62
Craig Silverstein [Fri, 29 Jul 2011 03:48:59 +0000 (03:48 +0000)]
Update to automake 1.10.1 (from 1.9), and downdate to autoconf 2.62
(from 2.65).  I'm moving to a new system for maintaining the
opensource version, which involves using a 'hermetic' version of
autotools, and those are the versions installed in the hermetic
system.  There shouldn't be a user-noticeable change here.

git-svn-id: https://gflags.googlecode.com/svn/trunk@51 6586e3c6-dcc4-952a-343f-ff74eb82781d

12 years ago * Minor correction for doc of shorthelp (soerenme, mecarson)
Craig Silverstein [Thu, 28 Jul 2011 06:19:07 +0000 (06:19 +0000)]
* Minor correction for doc of shorthelp (soerenme, mecarson)
* Fix a bug where we were leaving out a required $(top_srcdir)

git-svn-id: https://gflags.googlecode.com/svn/trunk@50 6586e3c6-dcc4-952a-343f-ff74eb82781d

13 years agoUpdate the windows version of the .h's to match the unix version.
Craig Silverstein [Thu, 19 May 2011 21:32:31 +0000 (21:32 +0000)]
Update the windows version of the .h's to match the unix version.

git-svn-id: https://gflags.googlecode.com/svn/trunk@49 6586e3c6-dcc4-952a-343f-ff74eb82781d

13 years ago * Split up flag declares into its own file (jyrki)
Craig Silverstein [Thu, 21 Apr 2011 19:22:43 +0000 (19:22 +0000)]
* Split up flag declares into its own file (jyrki)
* Add --version support (csilvers)
* Fix doc typo (sudit)
* Update the README instructions for gflags with static libs (csilvers)

git-svn-id: https://gflags.googlecode.com/svn/trunk@48 6586e3c6-dcc4-952a-343f-ff74eb82781d

13 years agoAdd support for specifying a version number (SetVersionString()),
Craig Silverstein [Thu, 3 Mar 2011 22:26:24 +0000 (22:26 +0000)]
Add support for specifying a version number (SetVersionString()),
which is then displayed in --version.

git-svn-id: https://gflags.googlecode.com/svn/trunk@47 6586e3c6-dcc4-952a-343f-ff74eb82781d

13 years ago * Update acx_pthread.m4 for nostdlib (liujisi)
Craig Silverstein [Wed, 2 Mar 2011 08:05:17 +0000 (08:05 +0000)]
    * Update acx_pthread.m4 for nostdlib (liujisi)
        * Typo fix in docs (bogdand)
        * Change ReparseCommandLineFlags to return void (csilvers)

git-svn-id: https://gflags.googlecode.com/svn/trunk@46 6586e3c6-dcc4-952a-343f-ff74eb82781d

13 years agoMon Jan 24 16:11:35 2011 Google Inc. <opensource@google.com>
Craig Silverstein [Tue, 25 Jan 2011 00:36:41 +0000 (00:36 +0000)]
Mon Jan 24 16:11:35 2011  Google Inc. <opensource@google.com>

* google-gflags: version 1.5
* Better reporting of current vs default value (handler)
* Add API for cleaning up of memory at program-exit (jmarantz)
* Fix macros to work inside namespaces (csilvers)
* Use our own string typedef in case string is redefined (csilvers)
* Updated to autoconf 2.65

git-svn-id: https://gflags.googlecode.com/svn/trunk@44 6586e3c6-dcc4-952a-343f-ff74eb82781d

13 years ago * Remove reference to InitGoogle (csilvers)
Craig Silverstein [Fri, 14 Jan 2011 21:58:28 +0000 (21:58 +0000)]
* Remove reference to InitGoogle (csilvers)
* Remove superfluous friend declaration (mec)
* Better reporting of current vs default value (handler)
* Allow cleaning up of memory at program-exit (jmarantz)
* Put CompileAssert in correct namespace (csilvers)

git-svn-id: https://gflags.googlecode.com/svn/trunk@43 6586e3c6-dcc4-952a-343f-ff74eb82781d

13 years ago * Use our own string typedef so macro is never confused (csilvers)
Craig Silverstein [Tue, 16 Nov 2010 23:21:00 +0000 (23:21 +0000)]
* Use our own string typedef so macro is never confused (csilvers)
* 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

13 years agoWed Oct 13 17:40:12 2010 Google Inc. <opensource@google.com>
Craig Silverstein [Thu, 14 Oct 2010 01:17:43 +0000 (01:17 +0000)]
Wed Oct 13 17:40:12 2010  Google Inc. <opensource@google.com>

* google-gflags: version 1.4
* Add a check to prevent passing 0 to DEFINE_string (jorg)
* Reduce compile (.o) size (jyrki)
* Some small changes to quiet debug compiles (alexk)
* PORTING: better support static linking on windows (csilvers)
* DOCUMENTATION: change default values, use validators, etc.
* Update the NEWS file to be non-empty
* Add pkg-config (.pc) files for libgflags and libgflags_nothreads

git-svn-id: https://gflags.googlecode.com/svn/trunk@40 6586e3c6-dcc4-952a-343f-ff74eb82781d

13 years ago * Reduce .o size by decomposing switches (jyrki)
Craig Silverstein [Thu, 16 Sep 2010 18:53:42 +0000 (18:53 +0000)]
* Reduce .o size by decomposing switches (jyrki)
* Document how to change the default flag value (csilvers)
* Add a windows-specific README (csilvers)
* A few comment updates (wojtekm)

git-svn-id: https://gflags.googlecode.com/svn/trunk@39 6586e3c6-dcc4-952a-343f-ff74eb82781d

14 years ago * Added a contentful NEWS file (csilvers)
Craig Silverstein [Fri, 7 May 2010 21:33:49 +0000 (21:33 +0000)]
* Added a contentful NEWS file (csilvers)
* Fixed email address in maintainers to actually work (csilvers)
* Update docs with info on validators (wojtekm)

git-svn-id: https://gflags.googlecode.com/svn/trunk@38 6586e3c6-dcc4-952a-343f-ff74eb82781d

14 years ago * Get rid of unnecessary c++ aliasing violation (csilvers)
Craig Silverstein [Wed, 10 Mar 2010 00:37:33 +0000 (00:37 +0000)]
* Get rid of unnecessary c++ aliasing violation (csilvers)
* Better error message on parse failure (tstromberg)

git-svn-id: https://gflags.googlecode.com/svn/trunk@37 6586e3c6-dcc4-952a-343f-ff74eb82781d

14 years agoMon Jan 4 18:09:30 2010 Google Inc. <opensource@google.com>
Craig Silverstein [Tue, 5 Jan 2010 02:25:45 +0000 (02:25 +0000)]
Mon Jan  4 18:09:30 2010  Google Inc. <opensource@google.com>

* google-gflags: version 1.3
* PORTABILITY: can now build and run tests under MSVC (csilvers)
* Remove the python gflags code, which is now its own package (tansell)
* Clarify that "last flag wins" in the docs (csilvers)
* Comment danger of using GetAllFlags in validators (wojtekm)
* PORTABILITY: Some fixes necessary for c++0x (mboerger)
* Makefile fix: $(srcdir) -> $(top_srcdir) in one place (csilvres)
* INSTALL: autotools to autoconf v2.64 + automake v1.11 (csilvers)

git-svn-id: https://gflags.googlecode.com/svn/trunk@35 6586e3c6-dcc4-952a-343f-ff74eb82781d

14 years ago * PORTING: Add windows (MSVC) support (csilvers)
Craig Silverstein [Tue, 10 Nov 2009 16:33:51 +0000 (16:33 +0000)]
* PORTING: Add windows (MSVC) support (csilvers)
* 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

14 years agoThu Sep 10 12:53:04 2009 Google Inc. <opensource@google.com>
Craig Silverstein [Fri, 11 Sep 2009 00:15:50 +0000 (00:15 +0000)]
Thu Sep 10 12:53:04 2009  Google Inc. <opensource@google.com>

* 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

14 years agoOops, I accidentally left this out of SVN! See
Craig Silverstein [Fri, 17 Jul 2009 21:43:52 +0000 (21:43 +0000)]
Oops, I accidentally left this out of SVN!  See
   http://code.google.com/p/google-gflags/issues/detail?id=24

git-svn-id: https://gflags.googlecode.com/svn/trunk@31 6586e3c6-dcc4-952a-343f-ff74eb82781d

15 years agoTue Apr 14 12:35:25 2009 Google Inc. <opensource@google.com>
Craig Silverstein [Wed, 15 Apr 2009 21:57:04 +0000 (21:57 +0000)]
Tue Apr 14 12:35:25 2009  Google Inc. <opensource@google.com>

* 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

15 years agoThu Sep 18 12:58:05 2008 Google Inc. <opensource@google.com>
Craig Silverstein [Fri, 19 Sep 2008 19:32:05 +0000 (19:32 +0000)]
Thu Sep 18 12:58:05 2008  Google Inc. <opensource@google.com>

* google-gflags: version 1.0rc2
* Report current flag values in --helpxml (hdn)
* Fix compilation troubles with gcc 4.3.3 (simonb)
* BUG FIX: I was missing a std:: in DECLARE_string (csilvers)
* BUG FIX: Clarify in docs how to specify --bool flags (csilvers)
* BUG FIX: Fix --helpshort for source files not in a subdir (csilvers)
* BUG FIX: Fix python unittest for 64-bit builds (bcmills)

git-svn-id: https://gflags.googlecode.com/svn/trunk@27 6586e3c6-dcc4-952a-343f-ff74eb82781d

15 years agoTue Aug 19 16:15:48 2008 Google Inc. <opensource@google.com>
Craig Silverstein [Thu, 21 Aug 2008 00:50:59 +0000 (00:50 +0000)]
Tue Aug 19 16:15:48 2008  Google Inc. <opensource@google.com>

* 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

15 years agoMon Jul 21 23:01:38 2008 Google Inc. <opensource@google.com>
Craig Silverstein [Tue, 22 Jul 2008 23:29:39 +0000 (23:29 +0000)]
Mon Jul 21 23:01:38 2008  Google Inc. <opensource@google.com>

* 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

16 years agoWed Mar 26 15:20:18 2008 Google Inc. <opensource@google.com>
Craig Silverstein [Thu, 27 Mar 2008 20:11:07 +0000 (20:11 +0000)]
Wed Mar 26 15:20:18 2008  Google Inc. <opensource@google.com>

* google-gflags: version 0.8
* Export DescribeOneFlag() in the API
* Add support for automatic line wrapping at 80 cols for gflags.py
* Bugfix: do not treat an isolated "-" the same as an isolated "--"
* Update rpm spec to point to Google Code rather than sourceforge (!)
* Improve documentation (including documenting thread-safety)
* Improve #include hygiene
* Improve testing

git-svn-id: https://gflags.googlecode.com/svn/trunk@21 6586e3c6-dcc4-952a-343f-ff74eb82781d

16 years agoThu Oct 18 11:33:20 2007 Google Inc. <opensource@google.com>
Craig Silverstein [Thu, 18 Oct 2007 20:08:26 +0000 (20:08 +0000)]
Thu Oct 18 11:33:20 2007  Google Inc. <opensource@google.com>

* google-gflags: version 0.7
* Deal even more correctly with libpthread not linked in (csilvers)
* Add STRIP_LOG, an improved DO_NOT_SHOW_COMMANDLINE_HELP (sioffe)
* Be more accurate printing default flag values in --help (dsturtevant)
* Reduce .o file size a bit by using shorter namespace names (jeff)
* Use relative install path, so 'setup.py --home' works (csilvers)
* Notice when a boolean flag has a non-boolean default (bnmouli)
* Broaden --helpshort to match foo-main.cc and foo_main.cc (hendrie)
* Fix "no modules match" message for --helpshort, etc (hendrie)

git-svn-id: https://gflags.googlecode.com/svn/trunk@19 6586e3c6-dcc4-952a-343f-ff74eb82781d

16 years agoWed Aug 15 07:35:51 2007 Google Inc. <opensource@google.com>
Craig Silverstein [Wed, 15 Aug 2007 19:44:54 +0000 (19:44 +0000)]
Wed Aug 15 07:35:51 2007  Google Inc. <opensource@google.com>

* google-gflags: version 0.6
* Deal correctly with case that libpthread is not linked in (csilvers)
* Update Makefile/tests so we pass "make distcheck" (csilvers)
* Document and test that last assignment to a flag wins (wan)

git-svn-id: https://gflags.googlecode.com/svn/trunk@17 6586e3c6-dcc4-952a-343f-ff74eb82781d

17 years agoTue Jun 12 15:23:42 2007 Google Inc. <opensource@google.com>
Craig Silverstein [Tue, 12 Jun 2007 23:59:42 +0000 (23:59 +0000)]
Tue Jun 12 15:23:42 2007  Google Inc. <opensource@google.com>

* google-gflags: version 0.5
* Include all m4 macros in the distribution (csilvers)
* Python: Fix broken data_files field in setup.py (sidlon)
* Python: better string serliaizing and unparsing (abo, csimmons)
* Fix checks for NaN and inf to work with Mac OS X (csilvers)

git-svn-id: https://gflags.googlecode.com/svn/trunk@15 6586e3c6-dcc4-952a-343f-ff74eb82781d

17 years agoThu Apr 19 15:15:07 2007 Google Inc. <opensource@google.com>
Craig Silverstein [Fri, 20 Apr 2007 21:16:33 +0000 (21:16 +0000)]
Thu Apr 19 15:15:07 2007  Google Inc. <opensource@google.com>

* 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

17 years agoWed Mar 28 12:15:56 2007 Google Inc. <opensource@google.com>
Craig Silverstein [Wed, 28 Mar 2007 21:54:07 +0000 (21:54 +0000)]
Wed Mar 28 12:15:56 2007  Google Inc. <opensource@google.com>

* 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

17 years agogflags 0.2
Craig Silverstein [Thu, 22 Mar 2007 00:18:13 +0000 (00:18 +0000)]
gflags 0.2

git-svn-id: https://gflags.googlecode.com/svn/trunk@9 6586e3c6-dcc4-952a-343f-ff74eb82781d

17 years agogflags 0.1
Craig Silverstein [Thu, 22 Mar 2007 00:15:41 +0000 (00:15 +0000)]
gflags 0.1

git-svn-id: https://gflags.googlecode.com/svn/trunk@7 6586e3c6-dcc4-952a-343f-ff74eb82781d

17 years agoUpdate mime-types. Also get rid of a google-specific comment in
Craig Silverstein [Wed, 21 Mar 2007 21:06:57 +0000 (21:06 +0000)]
Update mime-types.  Also get rid of a google-specific comment in
designstyle.css.

git-svn-id: https://gflags.googlecode.com/svn/trunk@3 6586e3c6-dcc4-952a-343f-ff74eb82781d

17 years agoOriginal upload of documentation to code.google.com
Craig Silverstein [Wed, 21 Mar 2007 19:54:09 +0000 (19:54 +0000)]
Original upload of documentation to code.google.com

git-svn-id: https://gflags.googlecode.com/svn/trunk@2 6586e3c6-dcc4-952a-343f-ff74eb82781d

17 years agoInitial directory structure.
Craig Silverstein [Mon, 18 Dec 2006 19:09:38 +0000 (19:09 +0000)]
Initial directory structure.

git-svn-id: https://gflags.googlecode.com/svn/trunk@1 6586e3c6-dcc4-952a-343f-ff74eb82781d