aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* Don't support global ::string in stringpiece.hGravatar Feng Xiao2016-07-06
|
* Merge pull request #1712 from dkharrat/swift-error-handlingGravatar Thomas Van Lenten2016-07-06
|\ | | | | add nullable qualifier to return types that can be nil, to support Swift 2 try-catch syntax
| * add nullable qualifier to nil return typesGravatar Dia Kharrat2016-07-05
|/ | | | | | 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.
* Merge pull request #1704 from lizan/json_parse_optionsGravatar Feng Xiao2016-07-01
|\ | | | | Add JsonParseOptions to ignore unknown fields
* \ Merge pull request #1738 from xfxyjwf/fixbuildGravatar Feng Xiao2016-07-01
|\ \ | | | | | | Fix some failing travis tests.
| * | Fix some failing travis tests.Gravatar Feng Xiao2016-07-01
|/ / | | | | | | | | | | | | 1. Add missing header file to Makefile.am. 2. Re-generate objectivec generated code for well-known types. Change-Id: If28217c701cf8bd739ea0db240e9eee600f23ee7
* | Merge pull request #1710 from chezRong/masterGravatar Feng Xiao2016-07-01
|\ \ | | | | | | Add minified Json printing functionality
* \ \ Merge pull request #1723 from thomasvl/objc_test_coverageGravatar Thomas Van Lenten2016-07-01
|\ \ \ | | | | | | | | Xcode project cleanup/setup.
| | * | added minified JSON formatting functionality with testGravatar chezRong2016-07-01
| |/ / |/| |
* | | Fix windows build.Gravatar Feng Xiao2016-06-30
| | | | | | | | | | | | Change-Id: Ibf7d1df850f4b497303f9f617751be98327898ef
* | | Updated failure_list_java.txt to remove tests that now passGravatar Adam Cozzette2016-06-30
| | |
* | | Fixed string formatting in text_format.py to be Python2.6-compatibleGravatar Adam Cozzette2016-06-30
| | | | | | | | | | | | | | | | | | 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
* | | Integrated internal changes from GoogleGravatar Adam Cozzette2016-06-29
| | | | | | | | | | | | This includes all internal changes from around May 20 to now.
| * | Xcode project cleanup/setup.Gravatar Thomas Van Lenten2016-06-29
|/ / | | | | | | | | | | | | | | - 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.
* | Validate the tag numbers when parsing. (#1725)Gravatar Thomas Van Lenten2016-06-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Merge pull request #1720 from thomasvl/issue_1716Gravatar Thomas Van Lenten2016-06-28
|\ \ | | | | | | Fix GPBGetMessage{Repeated,Map}Field()
| | * Add JsonParseOptions to ignore unknown fieldsGravatar Lizan Zhou2016-06-28
| |/ |/| | | | | | | - add JsonParseOptions for JsonToBinaryString allow unknown fields - rename current JsonOptions to JsonPrintOptions
* | Adding conditional compiler symbol to support .NET 3.5 (#1713)Gravatar detlevschwabe2016-06-28
| | | | | | | | * Adding condition compiler symbol to support .NET 3.5
| * Fix GPBGetMessage{Repeated,Map}Field()Gravatar Thomas Van Lenten2016-06-27
| | | | | | | | | | | | | | - Correct impl by using helpers the message wiring does. - Add unittests. Fixes https://github.com/google/protobuf/issues/1716
* | Merge pull request #1719 from esteluk/patch-1Gravatar Thomas Van Lenten2016-06-27
|\ \ | |/ |/| Fix Objective-C generator option readme typo
| * Fix Objective-C generator option typoGravatar Nathan Wong2016-06-27
|/ | | Looks like this was changed during #1683, but missed in the README :)
* Merge pull request #1714 from dnkoutso/masterGravatar Thomas Van Lenten2016-06-26
|\ | | | | Get value from text format name in GPBEnumDescriptor
| * Get value from text format name in GPBEnumDescriptorGravatar Dimitris Koutsogiorgas2016-06-26
| |
* | Merge pull request #1705 from haberman/revjsverGravatar Joshua Haberman2016-06-23
|\ \ | | | | | | Updates to package.json: rev version, add WKT, and recateogrize dependencies
| * | JS package.json: Added author and updated Closure Library version.Gravatar Josh Haberman2016-06-23
| | |
* | | Merge pull request #1707 from jskeet/format-valueGravatar Jan Tattermusch2016-06-23
|\ \ \ | | | | | | | | Expose JsonFormatter.WriteValue.
| * | | Expose JsonFormatter.WriteValue.Gravatar Jon Skeet2016-06-23
|/ / / | | | | | | | | | | | | This isn't useful to most users, but can be handy in advanced use cases, as requested in #1465.
| * | Moved all dependencies to devDependencies.Gravatar Josh Haberman2016-06-22
| | | | | | | | | | | | | | | The runtime doesn't depend on anything, so these packages should always have been in devDependencies.
| * | Add "google" to package.json "files" for WKT.Gravatar Josh Haberman2016-06-22
| | |
| * | Create patch release for JS to include WKT.Gravatar Josh Haberman2016-06-22
|/ /
* | Merge pull request #1700 from jskeet/orderingGravatar Jon Skeet2016-06-21
|\ \ | | | | | | Remove ordering guarantees in the MapField documentation
* | | Rename methods to avoid ObjC KVC collisions. (#1699)Gravatar Thomas Van Lenten2016-06-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | Remove ordering guarantees in the MapField documentationGravatar Jon Skeet2016-06-21
|/ / | | | | | | | | | | | | | | 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.)
* | Adds destination flag to xcodebuild to avoid possible flake errors (#1697)Gravatar Sergio Campamá2016-06-20
| | | | | | | | Adds destination flag to xcodebuild to avoid possible flake errors
* | Merge pull request #1666 from yeswalrus/cmake-prerelease-examplesGravatar Feng Xiao2016-06-17
|\ \ | | | | | | CMake Fix up prerelease version handling
* \ \ Merge pull request #1696 from haberman/jswktGravatar Joshua Haberman2016-06-17
|\ \ \ | | | | | | | | JS: import well-known types from google-protobuf package.
* | | | Add new generation option for using proto sources from other frameworks.Gravatar Thomas Van Lenten2016-06-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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
| * | | Fix tests for CommonJS.Gravatar Josh Haberman2016-06-16
| | | |
* | | | Merge pull request #1692 from vjpai/friendlessGravatar Feng Xiao2016-06-16
|\ \ \ \ | | | | | | | | | | Workaround for gcc-4.4 incompatibility
| | * | | Added plugin.proto to well-known types for JS.Gravatar Josh Haberman2016-06-16
| | | | |
| * | | | Address review comments on function nameGravatar vjpai2016-06-16
| | | | |
| | * | | Bugfix: base the require logic on the file being required.Gravatar Josh Haberman2016-06-16
| | | | |
| | * | | JS: import well-known types from google-protobuf package.Gravatar Josh Haberman2016-06-16
| | | | |
| * | | | Remove a friend-class template that is only used for theGravatar Vijay Pai2016-06-15
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | constructor, and instead create an _internal_only getter that gets the needed information. This is a workaround for a deficiency in gcc-4.4 that does not properly support templated friend classes.
* | | | Merge pull request #1658 from yeswalrus/cmake-fixup-moduleGravatar Feng Xiao2016-06-15
|\ \ \ \ | | | | | | | | | | Cleanup protobuf-module.cmake.in
* \ \ \ \ Merge pull request #1665 from yeswalrus/cmake-package-requirementsGravatar Feng Xiao2016-06-15
|\ \ \ \ \ | |_|/ / / |/| | | | CMake package requirements
* | | | | Merge pull request #1683 from thomasvl/third_party_frameworkGravatar Thomas Van Lenten2016-06-15
|\ \ \ \ \ | | | | | | | | | | | | Add support for generation sources into a framework.
| * | | | | Add support for generation sources into a framework.Gravatar Thomas Van Lenten2016-06-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add a protoc objc option (generate_for_named_framework) to set the name of the framework all generated sources will be in. - Tweak some comments/naming to make it clear what is the Protobuf framework vs. the framework for generated code. - Update the objc README to document the new generation option to protoc. This is working towards https://github.com/google/protobuf/issues/1457.
* | | | | | Add the CocoaPods integration tests to Travis.Gravatar Sergio Campamá2016-06-14
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | Also hotwires updating ruby as CocoaPods was crashing within a support library. Fixes #1619
* | | | | Fixes Xcode 8 analyzer warning saying that it was missing a release in ↵Gravatar Sergio Campamá2016-06-14
| | | | | | | | | | | | | | | | | | | | dealloc (#1678)