- 07 Jul, 2016 1 commit
-
-
Thomas Van Lenten authored
As bazel folks are looking at getting auto generation of module maps going and the importing of sources files causes issues there. We were only do it to hack around some of the apple linker behaviors around objc classes and categories, but even that isn't complete and CocoaPods was already doing -ObjC, and developers not using pods could have still needed it to ensure everything was linked anyways; so drop the hack of importing sources.
-
- 06 Jul, 2016 1 commit
-
-
Thomas Van Lenten authored
add nullable qualifier to return types that can be nil, to support Swift 2 try-catch syntax
-
- 05 Jul, 2016 1 commit
-
-
Dia Kharrat authored
Add the `nullable` qualifier to return types of Objective-C methods that can return a nil due to errors. This change makes these methods compatible with the Swift 2 try-catch syntax.
-
- 01 Jul, 2016 6 commits
-
-
Feng Xiao authored
Add JsonParseOptions to ignore unknown fields
-
Feng Xiao authored
Fix some failing travis tests.
-
Feng Xiao authored
1. Add missing header file to Makefile.am. 2. Re-generate objectivec generated code for well-known types. Change-Id: If28217c701cf8bd739ea0db240e9eee600f23ee7
-
Feng Xiao authored
Add minified Json printing functionality
-
Thomas Van Lenten authored
Xcode project cleanup/setup.
-
chezRong authored
-
- 30 Jun, 2016 3 commits
-
-
Feng Xiao authored
Change-Id: Ibf7d1df850f4b497303f9f617751be98327898ef
-
Adam Cozzette authored
-
Adam Cozzette authored
In Python 2.6 the positional argument specifiers are apparently required to be explicitly specified: http://stackoverflow.com/questions/10054122/valueerror-zero-length-field-name-in-format-python
-
- 29 Jun, 2016 3 commits
-
-
Adam Cozzette authored
This includes all internal changes from around May 20 to now.
-
Thomas Van Lenten authored
- Correct some cases sources were compiled into the static lib and the tests. - Enable Xcodes code coverage support on the unittests. We aren't complete on coverage, but having the data always there should make it easier to chip away at this going forward. - Drop method in tests that isn't used, wire up a validator in another test.
-
Thomas Van Lenten authored
There was a twist code path (that some times showed up due to what happened to be in memory in failure cases), that would cast a bogus wire type into the enum, and then fall through switch statements. Resolve this by validating all wire types when parsing tags and throwing the error at that point so it can't enter the system. As added safety, stick in a few asserts for apis that get passed tags to ensure they also are only seeing valid data. Bonus: Tweak the parsing loop to skip some work when we get the end marker (zero tag) instead of still looping through all the fields.
-
- 28 Jun, 2016 5 commits
-
-
Thomas Van Lenten authored
Fix GPBGetMessage{Repeated,Map}Field()
-
Lizan Zhou authored
- add JsonParseOptions for JsonToBinaryString allow unknown fields - rename current JsonOptions to JsonPrintOptions
-
detlevschwabe authored
* Adding condition compiler symbol to support .NET 3.5
-
Thomas Van Lenten authored
- Correct impl by using helpers the message wiring does. - Add unittests. Fixes https://github.com/google/protobuf/issues/1716
-
Thomas Van Lenten authored
Fix Objective-C generator option readme typo
-
- 27 Jun, 2016 2 commits
-
-
Nathan Wong authored
Looks like this was changed during #1683, but missed in the README :)
-
Thomas Van Lenten authored
Get value from text format name in GPBEnumDescriptor
-
- 26 Jun, 2016 1 commit
-
-
Dimitris Koutsogiorgas authored
-
- 23 Jun, 2016 4 commits
-
-
Joshua Haberman authored
Updates to package.json: rev version, add WKT, and recateogrize dependencies
-
Josh Haberman authored
-
Jan Tattermusch authored
Expose JsonFormatter.WriteValue.
-
Jon Skeet authored
This isn't useful to most users, but can be handy in advanced use cases, as requested in #1465.
-
- 22 Jun, 2016 3 commits
-
-
Josh Haberman authored
The runtime doesn't depend on anything, so these packages should always have been in devDependencies.
-
Josh Haberman authored
-
Josh Haberman authored
-
- 21 Jun, 2016 3 commits
-
-
Jon Skeet authored
Remove ordering guarantees in the MapField documentation
-
Thomas Van Lenten authored
Note: Breaking API change on the Dictionary classes. The numeric value classes were using "Value" in the naming, but this silently collided with the KVC category on NSObject; meaning KVC code could break up a keypath and call these selectors with the wrong types leading to crashes (even though the code all would compile cleanly). - Rename the methods to use the "type" instead of literal "Value". - Update all the impls and tests. - Enable the warning that will catch issues like this in the future. Fixes https://github.com/google/protobuf/issues/1616
-
Jon Skeet authored
This doesn't currently change the ordering in the implementation, but allows us to do so in the future. We also need to change https://developers.google.com/protocol-buffers/docs/reference/csharp-generated#singular which states "Finally, unlike Dictionary<TKey, TValue>, MapField<TKey, TValue> preserves insertion order of entries." (We can just remove that sentence, I think.)
-
- 20 Jun, 2016 1 commit
-
-
Sergio Campamá authored
Adds destination flag to xcodebuild to avoid possible flake errors
-
- 17 Jun, 2016 4 commits
-
-
Feng Xiao authored
CMake Fix up prerelease version handling
-
Joshua Haberman authored
JS: import well-known types from google-protobuf package.
-
Thomas Van Lenten authored
- Better docs in the generator for the different options that can be passed during an invoke of protoc. - Add named_framework_to_proto_path_mappings_path to pass the path to a file containing mappings of frameworks for different proto files. - Update the generation to use the mapping to change the #import directives it creates. Note: the changes in helpers is mostly moving code within the fine, and then a small change to expose the parsing so a passed on class can consume the line. Fixes https://github.com/google/protobuf/issues/1457
-
Josh Haberman authored
-
- 16 Jun, 2016 2 commits
-
-
Feng Xiao authored
Workaround for gcc-4.4 incompatibility
-
Josh Haberman authored
-