1. 17 Aug, 2016 1 commit
    • Thomas Van Lenten's avatar
      Never use strlen on utf8 runs so null characters work. · 116596a4
      Thomas Van Lenten authored
      Fixes https://github.com/google/protobuf/issues/1933
      
      Add a new test that forces strings into two different implementations from the
      NSString class cluster to help confirm we're exercising both paths by which
      CodedOutputStream will extract data from an NSString.
      
      Move the old +load test (that was flawed because the behavior really depends on
      the type of string from the NSString class cluster); into a unittest that
      targets the specific case we're adding a behavior confirmation on.
      
      As a bonus, improve the TextFormat generation of string characters < 0x20.
      116596a4
  2. 09 Aug, 2016 1 commit
    • Thomas Van Lenten's avatar
      Never use strlen on utf8 runs so null characters work. · 1a6c1d09
      Thomas Van Lenten authored
      Fixes https://github.com/google/protobuf/issues/1933
      
      Add a new test that forces strings into two different implementations from the
      NSString class cluster to help confirm we're exercising both paths by which
      CodedOutputStream will extract data from an NSString.
      
      Move the old +load test (that was flawed because the behavior really depends on
      the type of string from the NSString class cluster); into a unittest that
      targets the specific case we're adding a behavior confirmation on.
      
      As a bonus, improve the TextFormat generation of string characters < 0x20.
      1a6c1d09
  3. 07 Mar, 2016 1 commit
  4. 06 May, 2015 1 commit