Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Jul 1, 2014
  1. @tudor

    Codemod: use #include angle brackets in folly and thrift

    tudor authored
    Summary: Also changed the thrift compilers to emit code with <...>.
    
    Test Plan: fbconfig -r folly thrift && fbmake opt && fbmake runtests_opt
    
    Reviewed By: davejwatson@fb.com
    
    Subscribers: ruibalp, nli, shilin, tjackson, fugalh, alandau, bmatheny, njormrod
    
    FB internal diff: D1411225
Commits on Feb 21, 2014
  1. @tudor @djwatson

    Better support for folly::Range with non-const iterators underneath

    tudor authored djwatson committed
    Summary:
    Implicitly construct Range<To> from Range<From> if From is implicitly
    convertible to To.
    
    Explicitly construct Range<To> from Range<From> if To is (explicitly)
    constructible from From.
    
    Add special-cases for Range<char*>, Range<unsigned char*> similar to the
    ones for Range<const char*>, Range<const unsigned char*>.
    
    Test Plan: test added
    
    Reviewed By: philipp@fb.com
    
    FB internal diff: D1182999
Commits on Dec 20, 2013
  1. @tudor @jdelong

    Add startsWith, endsWith, removePrefix, removeSuffix to folly::Range

    tudor authored jdelong committed
    Summary:
    Yes, I know about boost::starts_with, but I think the convenience is worth it.
    Also, I've written then equivalent of removePrefix / removeSuffix way too
    many times.
    
    Test Plan: test added
    
    Reviewed By: andrei.alexandrescu@fb.com
    
    FB internal diff: D1106425
Commits on Jun 26, 2013
  1. @tudor @jdelong

    StringPiece comparisons are broken

    tudor authored jdelong committed
    Summary:
    8-bit StringPiece comparisons are broken.
    The reason is char_traits is magic for 'char', but not 'const char'.
    
    Test Plan: test added
    
    Reviewed By: chip@fb.com
    
    FB internal diff: D861521
Commits on May 20, 2013
  1. @tudor @sgolemon

    Unbreak build on glibc 2.5.1

    tudor authored sgolemon committed
    Summary:
    Also move manually-generated stuff away from folly-config.h and into
    Portability.h.  This should be only for things that differs between the
    various (compiler, library) pairs used internally at FB; everything else
    should be autoconf-ed and therefore go into folly-config.h.
    
    Test Plan: built and ran file_util_test on various platforms
    
    Reviewed By: delong.j@fb.com
    
    FB internal diff: D807067
    
    Blame Revision: D806781
Commits on Mar 27, 2013
  1. @tudor @oyamauchi

    make sse4.2 functions in folly/Range.h build on -fb platform

    tudor authored oyamauchi committed
    Test Plan: fbconfig --platform=gcc-4.7.1-glibc-2.14.1-fb folly/test && fbmake runtests_opt
    
    Reviewed By: oyamauchi@fb.com
    
    FB internal diff: D749992
Commits on Sep 17, 2012
  1. @tudor @jdelong

    Stream operations: file access, iteration, splitting.

    tudor authored jdelong committed
    Summary: Intended to complement and replace strings::byLine.
    
    Test Plan: stream_test
    
    Reviewed By: delong.j@fb.com
    
    FB internal diff: D463341
Commits on Jul 13, 2012
  1. @tudor

    Unbreak build.

    tudor authored
    Summary: I could have sworn I undid that un-templatification of the constructor.
    
    Test Plan: build folly/test
    
    Reviewed By: andrei.alexandrescu@fb.com
    
    FB internal diff: D518981
  2. @tudor

    Range<const char*> -> Range<const unsigned char*> implicit conversion

    tudor authored
    Summary: As they can both be used to represent ranges of bytes.
    
    Test Plan: test added
    
    Reviewed By: andrei.alexandrescu@fb.com
    
    FB internal diff: D518666
Something went wrong with that request. Please try again.