1. 14 Nov, 2017 1 commit
  2. 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
  3. 18 Feb, 2016 1 commit
    • Thomas Van Lenten's avatar
      Support ObjC Generic Collections · 2480acb6
      Thomas Van Lenten authored
      - Extend GPB*ObjectDictionary to support generic syntax.
      - Update the generator to output generics so the enclosed type is exposed for compiler checks.
      - Use generics in a the public interfaces.
      - Update the generated sources that are checked in.
      2480acb6
  4. 29 Sep, 2015 1 commit
    • Thomas Van Lenten's avatar
      Cleanups for newer Xcodes · 1383d53e
      Thomas Van Lenten authored
      - Move up to 8.4 as the high simulator (assuming Xcode 6.4).
      - Add cast to NSMutableDictionary so clang and resolve the selector.
      - Add case for the newer static analyzer so it won't trigger a false warning.
      - Update the "dictionary" interface to use "object" naming. Xcode 7+ has gotten
        more strict on the use of nonnull/nullable; combining that with the generic
        collection support; and the "dictionary" classes we created now collide with
        what the generic KeyValueCoding in the system headers triggering
        warnings/errors. Fix this and hopefully all future issue by renaming the
        methods to use "object" for the classes that have data types as objects
        instead of PODs. Taking this renaming hit now while ObjC is still in beta
        because it is a breaking change for any existing code.
      1383d53e
  5. 22 May, 2015 1 commit
    • Thomas Van Lenten's avatar
      Objective C Second Alpha Drop · 1dcc3294
      Thomas Van Lenten authored
      - Style fixups in the code.
      - map<> serialization fixes and more tests.
      - Autocreation of map<> fields (to match repeated fields).
      - @@protoc_insertion_point(global_scope|imports).
      - Fixup proto2 syntax extension support.
      - Move all startup code to +initialize so it happen on class usage and not app startup.
      - Have generated headers use forward declarations and move imports into generated code, reduces what is need at compile time to speed up compiled and avoid pointless rippling of rebuilds.
      1dcc3294
  6. 06 May, 2015 1 commit