Lizan Zhou
31999a3f95
Add JsonParseOptions to ignore unknown fields
...
- add JsonParseOptions for JsonToBinaryString allow unknown fields
- rename current JsonOptions to JsonPrintOptions
9 years ago
detlevschwabe
dc0aeaa903
Adding conditional compiler symbol to support .NET 3.5 ( #1713 )
...
* Adding condition compiler symbol to support .NET 3.5
9 years ago
Thomas Van Lenten
fc4c617199
Fix GPBGetMessage{Repeated,Map}Field()
...
- Correct impl by using helpers the message wiring does.
- Add unittests.
Fixes https://github.com/google/protobuf/issues/1716
9 years ago
Thomas Van Lenten
7b5648ca98
Merge pull request #1719 from esteluk/patch-1
...
Fix Objective-C generator option readme typo
9 years ago
Nathan Wong
3be6110934
Fix Objective-C generator option typo
...
Looks like this was changed during #1683 , but missed in the README :)
9 years ago
Thomas Van Lenten
2bcd43afe4
Merge pull request #1714 from dnkoutso/master
...
Get value from text format name in GPBEnumDescriptor
9 years ago
Dimitris Koutsogiorgas
37ca94f8ae
Get value from text format name in GPBEnumDescriptor
9 years ago
Joshua Haberman
0ab78e19eb
Merge pull request #1705 from haberman/revjsver
...
Updates to package.json: rev version, add WKT, and recateogrize dependencies
9 years ago
Josh Haberman
6a6f95d522
JS package.json: Added author and updated Closure Library version.
9 years ago
Jan Tattermusch
6f67be6f37
Merge pull request #1707 from jskeet/format-value
...
Expose JsonFormatter.WriteValue.
9 years ago
Jon Skeet
0421238cc1
Expose JsonFormatter.WriteValue.
...
This isn't useful to most users, but can be handy in advanced use cases,
as requested in #1465 .
9 years ago
Josh Haberman
1dc62803e8
Moved all dependencies to devDependencies.
...
The runtime doesn't depend on anything, so these
packages should always have been in devDependencies.
9 years ago
Josh Haberman
48735cba77
Add "google" to package.json "files" for WKT.
9 years ago
Josh Haberman
c4b40a37dd
Create patch release for JS to include WKT.
9 years ago
Luke Bakken
80694669e4
Modify csharp README since there are now two NuGet packages
9 years ago
Jon Skeet
a897ebb6a8
Merge pull request #1700 from jskeet/ordering
...
Remove ordering guarantees in the MapField documentation
9 years ago
Thomas Van Lenten
a230b5d209
Rename methods to avoid ObjC KVC collisions. ( #1699 )
...
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
9 years ago
Jon Skeet
e3f6e2b870
Remove ordering guarantees in the MapField documentation
...
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.)
9 years ago
Sergio Campamá
1a5333b8c1
Adds destination flag to xcodebuild to avoid possible flake errors ( #1697 )
...
Adds destination flag to xcodebuild to avoid possible flake errors
9 years ago
Feng Xiao
4f93098eb3
Merge pull request #1666 from yeswalrus/cmake-prerelease-examples
...
CMake Fix up prerelease version handling
9 years ago
Joshua Haberman
b7560df598
Merge pull request #1696 from haberman/jswkt
...
JS: import well-known types from google-protobuf package.
9 years ago
Thomas Van Lenten
8c20e55c57
Add new generation option for using proto sources from other frameworks.
...
- 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
9 years ago
Josh Haberman
104723fccf
Fix tests for CommonJS.
9 years ago
Feng Xiao
98bd6d753a
Merge pull request #1692 from vjpai/friendless
...
Workaround for gcc-4.4 incompatibility
9 years ago
Josh Haberman
4308cc4d46
Added plugin.proto to well-known types for JS.
9 years ago
vjpai
6daf3d2c4a
Address review comments on function name
9 years ago
Josh Haberman
0e27112c2b
Bugfix: base the require logic on the file being required.
9 years ago
Josh Haberman
1337486755
JS: import well-known types from google-protobuf package.
9 years ago
Vijay Pai
37eaae2006
Remove a friend-class template that is only used for the
...
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.
9 years ago
Feng Xiao
52598c646e
Merge pull request #1658 from yeswalrus/cmake-fixup-module
...
Cleanup protobuf-module.cmake.in
9 years ago
Feng Xiao
a5e116aaf6
Merge pull request #1665 from yeswalrus/cmake-package-requirements
...
CMake package requirements
9 years ago
Thomas Van Lenten
f180ef6398
Merge pull request #1683 from thomasvl/third_party_framework
...
Add support for generation sources into a framework.
9 years ago
Thomas Van Lenten
a2a3399a6f
Add support for generation sources into a framework.
...
- 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 .
9 years ago
Sergio Campamá
f0c1492ef6
Add the CocoaPods integration tests to Travis.
...
Also hotwires updating ruby as CocoaPods was crashing within a support library.
Fixes #1619
9 years ago
Sergio Campamá
71f4a9c6f3
Fixes Xcode 8 analyzer warning saying that it was missing a release in dealloc ( #1678 )
9 years ago
Feng Xiao
088c5c491e
Merge pull request #1664 from bshaffer/patch-1
...
proper codeblock in README
9 years ago
Walter Gray
4150a91c14
make protobuf_MSVC_STATIC_RUNTIME a dependent option to reflect it's use.
9 years ago
Walter Gray
78b3498bf4
Save the relevant options used to create a package, allow users to reject packages based on them.
9 years ago
Walter Gray
5ebcfc1cfd
Fix prerelease version matching to be more consistent with the find_package arguments.
9 years ago
Brent Shaffer
f8a969d50a
proper codeblock in README
9 years ago
Feng Xiao
fba7976f5d
Merge pull request #879 from mathstuf/support-equals-in-proto-path
...
protoc: support '=' in --proto_path arguments
9 years ago
Walter Gray
cadfbc8e2f
Removed handling for ALIASED targets since they are unused.
9 years ago
Bo Yang
401e07d372
Add GOOGLE_ prefix before PROTOBUF_DEPRECATED_ATTR
9 years ago
Bo Yang
b60e615cba
Fix the undefined behavior for opensource users.
9 years ago
Feng Xiao
6aa981f949
Merge pull request #1624 from yeswalrus/cmake-prerelease-versioning
...
CMake prerelease versioning
9 years ago
Feng Xiao
dfe0c9ad38
Merge pull request #1643 from yeswalrus/cmake-examples
...
Build examples in CMake
9 years ago
Joshua Haberman
ed1d560023
Merge pull request #1541 from haberman/conformancestrict
...
Make conformance tests more strict about the failure list.
9 years ago
Josh Haberman
350453f2d5
Make surrogate regex even more lenient.
9 years ago
Josh Haberman
923d2c7ccf
JSON surrogates Python: adjust regex for OSX error message.
...
OS X's version of Python has a slightly different error
message for this error case.
9 years ago
Walter Gray
23fef56e6d
Replace handwritten protobuf-targets with exported version.
9 years ago