1. 22 Aug, 2018 1 commit
  2. 30 Apr, 2018 1 commit
  3. 31 Jan, 2018 1 commit
  4. 24 Oct, 2017 1 commit
  5. 06 Jun, 2017 1 commit
  6. 28 Mar, 2017 1 commit
  7. 27 Oct, 2016 1 commit
  8. 29 Jun, 2016 1 commit
    • Thomas Van Lenten's avatar
      Validate the tag numbers when parsing. (#1725) · c18aa779
      Thomas Van Lenten authored
      There was a twist code path (that some times showed up due to what happened to
      be in memory in failure cases), that would cast a bogus wire type into the
      enum, and then fall through switch statements.
      
      Resolve this by validating all wire types when parsing tags and throwing the
      error at that point so it can't enter the system.
      
      As added safety, stick in a few asserts for apis that get passed tags to ensure
      they also are only seeing valid data.
      
      Bonus: Tweak the parsing loop to skip some work when we get the end marker
      (zero tag) instead of still looping through all the fields.
      c18aa779
  9. 02 Jun, 2016 1 commit
  10. 25 May, 2016 1 commit
    • Thomas Van Lenten's avatar
      Add more warnings to for the ObjC runtime build · c8a440df
      Thomas Van Lenten authored
      Working on https://github.com/google/protobuf/issues/1599, specifically:
      - Turn on more warnings that the Xcode UI calls out with individual controls.
      - Manually add:
        -Wundef
        -Wswitch-enum
      - Manually add and then diable in the unittests because of XCTest's headers:
        -Wreserved-id-macro
        -Wdocumentation-unknown-command
      - Manually add -Wdirect-ivar-access, but disable it for the unittests and in
        the library code (via #pragmas to suppress it). This is done so proto users
        can enable the warning.
      c8a440df
  11. 05 Apr, 2016 1 commit
  12. 01 Apr, 2016 1 commit
  13. 17 Dec, 2015 1 commit
  14. 23 Nov, 2015 1 commit
  15. 08 Jun, 2015 1 commit
    • Thomas Van Lenten's avatar
      Beta quality drop of Objective C Support. · d846b0b0
      Thomas Van Lenten authored
      - Add more to the ObjC dir readme.
      - Merge the ExtensionField and ExtensionDescriptor to reduce overhead.
      - Fix an initialization race.
      - Clean up the Xcode schemes.
      - Remove the class/enum filter.
      - Remove some forced inline that were bloating things without proof of performance wins.
      - Rename some internal types to avoid conflicts with the well know types protos.
      - Drop the use of ApplyFunctions to the compiler/optimizer can do what it wants.
      - Better document some possible future improvements.
      - Add missing support for parsing repeated primitive fields in packed or unpacked forms.
      - Improve -hash.
      - Add *Count for repeated and map<> fields to avoid auto create when checking for them being set.
      d846b0b0
  16. 06 May, 2015 1 commit