aboutsummaryrefslogtreecommitdiffhomepage
path: root/objectivec/Tests/GPBWellKnownTypesTest.m
Commit message (Collapse)AuthorAge
* Timestamp helper fix, Duration helper cleanup.Gravatar Thomas Van Lenten2017-01-12
| | | | | | | | | - 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.
* Revert "Fix Timestamps with dates before the Unix epoch that contain ↵Gravatar Thomas Van Lenten2017-01-12
| | | | fractional seconds."
* Fix Timestamps with dates before the Unix epoch that contain fractional seconds.Gravatar Thomas Van Lenten2017-01-12
| | | | | The Timestamp proto does not allow for negative nanos fields, so the seconds must be shifted and a positive nanos then applied.
* Add ObjC helpers for Any WKT.Gravatar Thomas Van Lenten2016-09-08
| | | | | | | | | | | | | | | - Capture the ObjC prefix used when generating the the file. - Track the containing type on descriptors. - Mark descriptors where the message class name got a suffix added to it. - Expose a fullName property on Descriptors. - Add helpers for packing/unpacking Any messages. - Bump the ObjC runtime version number. Since we added methods and invoke them in the generated code, ensure the code is running against a matching version. Otherwise, someone could compile against headers, but run with a framework that is older and get unknown selector failures. This should trip clearer messaging. Fixes https://github.com/google/protobuf/issues/1674
* Alpha 1 drop of Google's Objective C plugin and runtime support for protobufs.Gravatar Thomas Van Lenten2015-05-06