- 05 Jun, 2018 1 commit
-
-
Sergio Campamá authored
* Update code to work for Xcode 10b * Update README and test scripts to mention that Xcode 7 is no longer supported
-
- 30 Apr, 2018 1 commit
-
-
Hiroshi Ichikawa authored
* Fix memory leak of exceptions raised by RaiseException() Currently exceptions raised by RaiseException() is never deallocated because: * ARC is disabled for this library: https://github.com/google/protobuf/blob/master/BUILD#L913 * It is constructed with `+alloc` but is never `-release`d. This change fixes the issue by using `-[NSException exceptionWithName:...]` instead, which returns an autoreleased instance, so it is deallocated properly. * Fix format.
-
- 21 Apr, 2018 1 commit
-
-
Thomas Van Lenten authored
-
- 20 Apr, 2018 1 commit
-
-
Thomas Van Lenten authored
The tests can run as what Apple calls a Logic Test (under xctest), which means it doesn't have to load an full UI App under the simulator, which speeds things up a fair amount.
-
- 06 Apr, 2018 1 commit
-
-
Sergio Campama authored
-
- 02 Apr, 2018 2 commits
-
-
Thomas Van Lenten authored
To ensure all headers aren't dependent on other things being imported before/after them, make a source that just imports each header and add it to the unittesting target, that way we ensure it can be included on its own with ordering issues. Also do this testing with a few generated headers that aren't part of the library to help ensure the different generated imports needed are complete.
-
Thomas Van Lenten authored
To avoid a cycle between headers, have the WKTs use minimal imports instead of using the helper to get everything from the library. Fixes https://github.com/google/protobuf/issues/4301 Fixes https://github.com/google/protobuf/issues/4403
-
- 14 Mar, 2018 1 commit
-
-
Adam Cozzette authored
-
- 08 Mar, 2018 2 commits
-
-
Felix Jendrusch authored
-
Felix Jendrusch authored
-
- 07 Feb, 2018 1 commit
-
-
Thomas Van Lenten authored
Fixes #4277
-
- 31 Jan, 2018 5 commits
-
-
Thomas Van Lenten authored
Haven't been able to make a repo case, but this should "fix" the problem by avoid it completely. - Move readOnlySemaphore_ into the .m file so it isn't exposed in any header. - Move GPBGetObjectIvarWithField() also to go with the new limited visibility on the readOnlySemaphore_.
-
Thomas Van Lenten authored
The Undefined Behavior sanitizer flags one part of the unittests for this. For default values for `bytes` we write a length on the front of a c-string in the static data, apparently the compiler/linker doesn't always make this 4 byte aligned, so it get flagged for undefined/degraded performance. Avoid this by using memcpy instead.
-
Thomas Van Lenten authored
-
Thomas Van Lenten authored
-
Thomas Van Lenten authored
Fixes #4246 Fixes #4247
-
- 25 Jan, 2018 2 commits
-
-
Thomas Van Lenten authored
The generated code for enums needs atomics support, so generate the import instead of relying on it via transitive imports. This will make future changes to this likely likely to break generated code and runtime support are mixed. Followup to https://github.com/google/protobuf/pull/4184.
-
Thomas Van Lenten authored
Followup to https://github.com/google/protobuf/pull/4184, keep the import to not break any existing generated code that isn't regenerated when they update to the newer protobuf code.
-
- 22 Jan, 2018 1 commit
-
-
Jonathan Dierksen authored
* Migrate away from deprecated OSAtomic APIs.
-
- 03 Jan, 2018 2 commits
-
-
Thomas Van Lenten authored
-
Thomas Van Lenten authored
Add tests to cover all the common special casing in the runtime code to ensure things come out correctly.
-
- 29 Dec, 2017 1 commit
-
-
kvukic authored
-
- 18 Dec, 2017 1 commit
-
-
Thomas Van Lenten authored
Fixes #4060
-
- 12 Dec, 2017 1 commit
-
-
Feng Xiao authored
-
- 01 Dec, 2017 1 commit
-
-
Adam Cozzette authored
-
- 17 Nov, 2017 2 commits
-
-
Thomas Van Lenten authored
Use the ivar for the -open, so hopefully it lines up with the -close in dealloc and isn't seen as an unbalanced "open".
-
Thomas Van Lenten authored
Stop having travis build the test matrix and make it explicit so extra settings are only on the test that need the, this helps make the travis UI a little cleaner (linux hosted stuff doesn't list an Xcode version), as well as avoid unneeded requirements limiting the travis pool something can run on. Small improvements to objectivec/DevTools/full_mac_build.sh to avoid some repeated scripting and hopefully make things more reliable work with Xcode 9.x. Don't mark the iOS tests as able to fail, hopefully with the new settings they are stable and won't give false signals. Simplify the case for xcode versions and fixup xcode 9.[0-1].
-
- 16 Nov, 2017 2 commits
- 15 Nov, 2017 3 commits
-
-
Sergio Campama authored
-
Dave MacLachlan authored
-
Dave MacLachlan authored
-
- 14 Nov, 2017 3 commits
-
-
Dave MacLachlan authored
Remove unnecessary retain/releases for GPBFieldDescriptors when creating implementations with blocks. The descriptors do not need to be memory managed because they are essentially global constructs that are guaranteed to be around the lifetime of the app.
-
Dave MacLachlan authored
-
Dave MacLachlan authored
Remove unreferenced 'GPBMessageSignatureProtocol' class that is just taking up space in the Objective C runtime information by hanging the protocol it needs to declare off of GPBRootObject instead. Small binary size reduction, but more importantly a removal of a class that appears to be unused when statically analyzed.
-
- 03 Nov, 2017 1 commit
-
-
Thomas Van Lenten authored
This will cover someone subclassing the message, and also handles something crazy like someone comparing to a raw NSObject.
-
- 30 Oct, 2017 1 commit
-
-
xuwei-k authored
-
- 24 Oct, 2017 1 commit
-
-
Sergio Campama authored
-
- 18 Oct, 2017 1 commit
-
-
Jisi Liu authored
-
- 03 Oct, 2017 1 commit
-
-
Thomas Van Lenten authored
-