1. 06 Jun, 2017 2 commits
  2. 01 Jun, 2017 1 commit
  3. 23 May, 2017 1 commit
  4. 17 May, 2017 1 commit
    • Thomas Van Lenten's avatar
      Fix ExtensionRegistry copying and add tests. · 49e4ba60
      Thomas Van Lenten authored
      - Fix up -copyWithZone: to not leave the two registries sharing
        some of the storage by using -addExtensions:.
      - Improve -addExtensions: to clone the sub dict when there is
        nothing to merge into.
      - A ExtensionRegistry unittests.
      - Update project schemes to not have extra things in perf scheme.
      49e4ba60
  5. 28 Mar, 2017 1 commit
  6. 23 Feb, 2017 1 commit
  7. 13 Jan, 2017 1 commit
    • Thomas Van Lenten's avatar
      Timestamp helper fix, Duration helper cleanup. · d0bc096b
      Thomas Van Lenten authored
      - The Timestamp proto does not allow for negative nanos fields, so the seconds
        must be shifted and a positive nanos then applied.
      - Tweak the helpers on Duration to make it clear there is no "base" time
        involved.
      - Update the unittests for duration and timestamp to cover positive and
        negative NSTimeIntervals and what their impact is on the protos.
      d0bc096b
  8. 12 Jan, 2017 2 commits
  9. 05 Jan, 2017 1 commit
    • Thomas Van Lenten's avatar
      Minor fix for autocreated object repeated fields and maps. · 988ffe0a
      Thomas Van Lenten authored
      - If setting/clearing a repeated field/map that was objects, check the class
        before checking the autocreator.
      - Just to be paranoid, don’t mutate within copy/mutableCopy for the autocreated
        classes to ensure there is less chance of issues if someone does something
        really crazy threading wise.
      - Some more tests for the internal AutocreatedArray/AutocreatedDictionary
        classes to ensure things are working as expected.
      - Add Xcode 8.2 to the full_mac_build.sh supported list.
      988ffe0a
  10. 08 Dec, 2016 1 commit
    • Thomas Van Lenten's avatar
      Improve ObjC deprecated annotation support. · dad775b7
      Thomas Van Lenten authored
      - Check the parent file options for deprecation when deciding to tag Messages
        and Enums as deprecated.
      - Within the generated source push/pop the warning for implementing deprecated
        things around a deprecated class implementation.
      - Annotate the methods generated for extension fields as deprecated.
      - Add a testing .proto file that covers deprecated fields, messages, enums,
        enum values and compile it into the unittests to confirm things compile
        cleanly.
      - Add a testing .proto file that uses the file level option to make everything
        deprecated and compile it into the unittests to confirm things compile
        cleanly.
      dad775b7
  11. 03 Oct, 2016 1 commit
    • Thomas Van Lenten's avatar
      Update the ObjC projects for Xcode 8 · 297449aa
      Thomas Van Lenten authored
      - Let Xcode 8 update settings on the projects/schemes.
      - Migrate Swift tests to Swift 3 syntax.
      - Update the build/test script:
        - Require Xcode 8 (because of the Swift 3 requirement for tests)
        - Update the devices to what Xcode 8 has (8.x simulator seem to fail even
          though they can be downloaded in Xcode 8)
      - Update the travis images to ones with Xcode 8.
      297449aa
  12. 08 Sep, 2016 3 commits
  13. 01 Sep, 2016 1 commit
    • Thomas Van Lenten's avatar
      Make Root's +extensionRegistry generation smarter. · 13a41246
      Thomas Van Lenten authored
      At generation time, walk the file's dependencies to see what really contains
      extensions so we can generate more minimal code that only links together the
      roots that provided extensions. Gets a bunch of otherwise noop code out of
      the call flow when the roots are +initialized.
      13a41246
  14. 17 Aug, 2016 3 commits
  15. 12 Aug, 2016 3 commits
  16. 11 Aug, 2016 1 commit
  17. 09 Aug, 2016 2 commits
  18. 05 Jul, 2016 1 commit
    • Dia Kharrat's avatar
      add nullable qualifier to nil return types · 523bfd4f
      Dia Kharrat authored
      Add the `nullable` qualifier to return types of Objective-C methods that
      can return a nil due to errors. This change makes these methods
      compatible with the Swift 2 try-catch syntax.
      523bfd4f
  19. 29 Jun, 2016 1 commit
    • Thomas Van Lenten's avatar
      Xcode project cleanup/setup. · 6cfc19ed
      Thomas Van Lenten authored
      - Correct some cases sources were compiled into the static lib and the tests.
      - Enable Xcodes code coverage support on the unittests.  We aren't complete on
        coverage, but having the data always there should make it easier to chip away
        at this going forward.
      - Drop method in tests that isn't used, wire up a validator in another test.
      6cfc19ed
  20. 28 Jun, 2016 1 commit
  21. 26 Jun, 2016 1 commit
  22. 21 Jun, 2016 1 commit
    • Thomas Van Lenten's avatar
      Rename methods to avoid ObjC KVC collisions. (#1699) · a230b5d2
      Thomas Van Lenten authored
      Note: Breaking API change on the Dictionary classes.
      
      The numeric value classes were using "Value" in the naming, but this silently
      collided with the KVC category on NSObject; meaning KVC code could break up a
      keypath and call these selectors with the wrong types leading to crashes (even
      though the code all would compile cleanly).
      
      - Rename the methods to use the "type" instead of literal "Value".
      - Update all the impls and tests.
      - Enable the warning that will catch issues like this in the future.
      
      Fixes https://github.com/google/protobuf/issues/1616
      a230b5d2
  23. 20 Jun, 2016 1 commit
  24. 14 Jun, 2016 1 commit
  25. 02 Jun, 2016 1 commit
  26. 26 May, 2016 1 commit
  27. 24 May, 2016 1 commit
    • Thomas Van Lenten's avatar
      Better support for using the proto library from a framework. · 7da023b8
      Thomas Van Lenten authored
      - Add generator constant for the default framework name.
      - Add generator api for making the CPP symbol from the name.
      - Add generator api to see if it is a bundled proto file.
      - Output a CPP conditional and two imports for the core library headers.
      - Add helper for generating the #import for file headers to deal with the
        framework imports.
      - Add a reference from the unittests to a WKT to use that to inspect how
        imports generate.
      - Update the podspec to define the CPP symbol and require pods 1.0 (or later).
      
      Fixes https://github.com/google/protobuf/issues/1457
      7da023b8
  28. 20 May, 2016 1 commit
    • Thomas Van Lenten's avatar
      Make the CocoaPods integration tests more robust · 6c47faa8
      Thomas Van Lenten authored
      - Env solution doesn't seem to always work, use template pod files and copy
        them in place instead.
      - Flush the pods cache before and after runs.
      - Make pod install verbose to have the info incase something goes wrong.
      6c47faa8
  29. 19 May, 2016 2 commits
    • Thomas Van Lenten's avatar
      Add shared schemes for the CocoaPods integration tests · 20b5bf62
      Thomas Van Lenten authored
      Otherwise the projects have to be opened once to create user schemes for the
      command line builds to work.
      20b5bf62
    • Thomas Van Lenten's avatar
      CocoaPod Integration Tests · 16dd477a
      Thomas Van Lenten authored
      - Add an Xcode 6.3 created default iOS Project.
      - Add an Xcode 6.3 created default OS X Project.
      - Add Podfiles to for both that use Protobufs from within the tree.
      - Add a script to run the tests (and cleanup) to help confirm the state of the
        Protobuf.podspec and sources.
      16dd477a
  30. 27 Apr, 2016 1 commit