1. 31 Jan, 2018 1 commit
  2. 25 Jan, 2018 2 commits
  3. 22 Jan, 2018 1 commit
  4. 29 Mar, 2017 1 commit
    • Thomas Van Lenten's avatar
      Remove the use of dispatch_once that is heap backed. · 130c1666
      Thomas Van Lenten authored
      Apple recently updated the docs on dispatch_once to point out
      that the storage for the dispatch_once_t must be static or global,
      but not something that was ever used before as the implementation
      doesn't use a memory barrier.  So we drop the use and create the
      semaphore when needed and use an atomic swap deal with any
      threading races.
      130c1666
  5. 01 Mar, 2017 1 commit
  6. 15 Jul, 2016 1 commit
  7. 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
  8. 21 Mar, 2016 1 commit
    • Thomas Van Lenten's avatar
      Only create the readonlySemaphore on demand. · bd41a39f
      Thomas Van Lenten authored
      This will lower the amount of dispatch_semaphores created per Message when the
      full object tree isn't walked in a way that would require them to be created.
      Uses a dispatch_once_t for one time init of the dispatch_semaphore.
      bd41a39f
  9. 17 Dec, 2015 1 commit
  10. 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
  11. 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
  12. 06 May, 2015 1 commit