1. 19 Mar, 2014 4 commits
  2. 17 Mar, 2014 4 commits
  3. 15 Mar, 2014 1 commit
  4. 21 Apr, 2013 2 commits
  5. 14 Jan, 2013 1 commit
  6. 04 Aug, 2011 1 commit
  7. 29 Jul, 2011 2 commits
    • Craig Silverstein's avatar
      mingw fixes: · 357b3d9d
      Craig Silverstein authored
      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
      357b3d9d
    • Craig Silverstein's avatar
      Some reorganization that results from a new method I'm moving to to · 917f4e7b
      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
      917f4e7b