aboutsummaryrefslogtreecommitdiff
path: root/objectivec
Commit message (Collapse)AuthorAgeFilesLines
* Add support for the conformance test for objc when run on OS XThomas Van Lenten2015-11-181-1/+13
|
* Tweaks to the Mac build scriptThomas Van Lenten2015-11-051-17/+51
| | | | | | - Support building with Xcode 6.4 or 7.x - Fix an error in usage info. - Add a flag to build the core parts of protobuf only.
* Update the Mac build script to include the conformance testsThomas Van Lenten2015-11-041-1/+5
| | | | | - Kick off the conformance tests - Add missing ignore for something generated by a build on the conformance directory.
* Merge remote-tracking branch 'origin/master' into fix-authorJisi Liu2015-10-0521-1215/+1329
|\
| * Support enum forward decls in Objective C++Thomas Van Lenten2015-10-014-6/+91
| | | | | | | | | | | | 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-2915-1208/+1216
|/ | | | | | | | | | | | | | - 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-2615-29/+456
|
* Add support for a file listing expected package to objc prefixes for validation.Thomas Van Lenten2015-08-141-4/+1
| | | | | | - Add a env var to pass a set of expected prefixes for validation. - Report warnings/errors based on the expected prefixes vs. the data in the files compiled. - Use some helpers from common directory.
* Revert "Add packFrom, unpackTo and is in google.protobuf.Any."Thomas Van Lenten2015-08-113-121/+1
| | | | | | This reverts commit 7366efd81e7f36108aa35e66fca61da8a65762c2. Still some discussion about the api to expose the helpers with.
* Update GPBWellKnownTypes.mYue Zhang2015-07-291-1/+1
| | | fix an bug(forgive my english..)
* Add packFrom, unpackTo and is in google.protobuf.Any.TeBoring2015-07-214-3/+122
| | | | | | The previous two methods make it easy to transform between any and normal message. unPackeTo will throw error if the type url in any doesn't match the type of the message to be transformed to. is checks any's type url matches the give GPBMessage type.
* Add Bazel target for protobuf ObjC runtimeJorge Canizales2015-07-061-0/+12
| | | | | Also add WKT headers to the umbrella file, and simplify Podspec with it. Plus some layout improvements to the BUILD file.
* Add nonnil markup to ObjC library.Thomas Van Lenten2015-06-1628-265/+353
| | | | 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-0879-7452/+6549
| | | | | | | | | | | | | | | - 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-265-34/+13
| | | | | | | | - 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-256-9/+212
|
* Objective C Second Alpha DropThomas Van Lenten2015-05-2273-1150/+5865
| | | | | | | | | | - 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.
* Getting the ObjC generator building on Windows.Thomas Van Lenten2015-05-191-1/+1
| | | | | | | | | Remove the ClassList support (maybe bring it back in the future). Trim the includes to hopefully get a working Window build. Add some more returns after switches for compilers that warn even when all values of the enum are handled. Use ghtonl instead of htonl. Change the use of [u]int(8,32)_t within the ObjC generator code to [u]int(8,32) to match the rest of the compiler. Add objective-c generator files to Visual Studio project.
* Post csharp landing fixup.Thomas Van Lenten2015-05-182-0/+18
| | | | | Re-add the objc prefix that got removed by accident. Regenerate the generated descriptors (C++ and ObjC).
* Alpha 1 drop of Google's Objective C plugin and runtime support for protobufs.Thomas Van Lenten2015-05-06122-0/+77147