aboutsummaryrefslogtreecommitdiff
path: root/objectivec/Tests
Commit message (Collapse)AuthorAgeFilesLines
* Have the tests rely on the autocreator behaviors.Thomas Van Lenten2016-01-054-13/+1
| | | | | Incase developers look at the tests for examples, have them rely on the autocreators also.
* Drop all use of OSSpinLockThomas Van Lenten2015-12-172-514/+5
| | | | | | | | | | | | | Apple engineers have pointed out that OSSpinLocks are vulnerable to live locking on iOS in cases of priority inversion: . http://mjtsai.com/blog/2015/12/16/osspinlock-is-unsafe/ . https://lists.swift.org/pipermail/swift-dev/Week-of-Mon-20151214/000372.html - Use a dispatch_semaphore_t within the extension registry. - Use a dispatch_semaphore_t for protecting autocreation within messages. - Drop the custom/internal GPBString class since we don't have really good numbers to judge the locking replacements and it isn't required. We can always bring it back with real data in the future.
* Update the min toolchain for iOS/OS X to be Xcode 7Thomas Van Lenten2015-12-103-10/+10
| | | | | | | - Let Xcode update the projects, schemes, and info.plists. - Add workaround for shallow analyzer issues in current Xcode versions (deep analyze gets things correct). - Tweak the Swift based tests to avoid warnings from Xcode 7's XCTest using optionals for autoenclosure results. - No longer tag the ObjC iOS travis test as flaky, xctool seems to manage the simulator pretty well.
* Enable CLANG_WARN_NULLABLE_TO_NONNULL_CONVERSION for the projects.Thomas Van Lenten2015-12-073-49/+142
|
* Support enum forward decls in Objective C++Thomas Van Lenten2015-10-011-0/+69
| | | | | | NS_ENUM changes defintion in Objective C++ based on the C++ spec being compiled with, special case the one situation where it wouldn't support doing a forward decl for the enum.
* Cleanups for newer XcodesThomas Van Lenten2015-09-2912-828/+829
| | | | | | | | | | | | | | - 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.
* Fix bugs for objectivecTeBoring2015-08-262-0/+5
|
* Add nonnil markup to ObjC library.Thomas Van Lenten2015-06-161-1/+1
| | | | Add the clang annotations to the objc library and generated code to help with Swift bridging and compiler checks.
* Update podspec for files that can build now, rename assets to not need @ in ↵Thomas Van Lenten2015-06-106-6/+6
| | | | the name.
* Beta quality drop of Objective C Support.Thomas Van Lenten2015-06-0817-608/+637
| | | | | | | | | | | | | | | - 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.
* ObjC fixup for the branch.Thomas Van Lenten2015-05-263-30/+9
| | | | | | | | - Shouldn't need SRCROOT in the project since Xcode should be setting the working directory to where the project lives. - Remove the packed/unpacked repeated enum field in the tests and update the code to handle the defaults. - Move up the ignore to cover .DS_Store files in src also. add starstar
* Fix bugs in objective-c.Bo Yang2015-05-252-1/+11
|
* Objective C Second Alpha DropThomas Van Lenten2015-05-2224-188/+664
| | | | | | | | | | - 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.
* Alpha 1 drop of Google's Objective C plugin and runtime support for protobufs.Thomas Van Lenten2015-05-0656-0/+37205