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
Feng Xiao
98bd6d753a
Merge pull request #1692 from vjpai/friendless
...
Workaround for gcc-4.4 incompatibility
9 years ago
vjpai
6daf3d2c4a
Address review comments on function name
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
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
Walter Gray
09f6a5c1d2
Use ExternalProject_Add to build the examples in a stand-alone fashion.
9 years ago
Konstantin Podsvirov
71556295ff
CMake project updates
...
A series of improvements:
- Improved Protobuf module compatibility (disabled by default);
- Hide advanced settings;
- Added build tree configuration;
- Added build of examples.
9 years ago
Josh Haberman
6a618949aa
Added test for surrogates (valid and invalid).
9 years ago
Josh Haberman
84a1b60703
Added update_failure_list.py.
9 years ago
Josh Haberman
4833b4c003
Surrogate checking is unpredictable, so always manually check.
9 years ago
Josh Haberman
bd98eae1c9
Fixed Python by updating failure lists and fixed a few broken tests.
...
Python 2.x doesn't detect unpaired surrogates so we have to
do that manually.
9 years ago
Josh Haberman
ef7894e2dc
Make conformance tests more strict about the failure list.
...
The failure lists were falling out of date because the
tests would pass even if people forgot to remove failures
from the list.
9 years ago
Bo Yang
20b532544f
Integrate interanl changes
9 years ago
Sergio Campamá
e34c09182e
Improving the granularity parsing errors ( #1623 )
...
Add more context to GPBCodedInputStream failures.
Have GPBMessage parsing apis extract out the GPBCodedInputStream information and expose it.
Update HeaderDocs with pointers to all error domains/codes.
Expand the unittests to cover the full set of errors reported.
Fixes https://github.com/google/protobuf/issues/1618
9 years ago
Feng Xiao
0ab7a7f744
Merge pull request #1640 from os72/master
...
Add https://github.com/os72/protobuf-dynamic
9 years ago
os72
f6be0d1fc1
Add https://github.com/os72/protobuf-dynamic
...
Add reference to Protocol Buffers Dynamic Schema (https://github.com/os72/protobuf-dynamic )
9 years ago
Walter Gray
0420eab173
For prerelease versions, require protobuf_FIND_VERSION to be set.
9 years ago
Walter Gray
f1091ab1aa
Include the prerelease version in the protobuf_VERSION
9 years ago
Feng Xiao
18a9140f33
Merge pull request #1625 from yeswalrus/note-versions
...
Update the list of places where the version is stored.
9 years ago
Feng Xiao
cc30be105c
Merge pull request #1613 from yeswalrus/cmake-min-version
...
Bump cmake minimum required version to 2.8.12
9 years ago
Feng Xiao
c4611939cd
Merge pull request #1629 from zhongfq/patch-1
...
add protobuf as3 lib and code generator for as3
9 years ago
Feng Xiao
a315bb8b1e
Merge pull request #1614 from yeswalrus/cmake-cleanup
...
Remove unused lines from CMake files.
9 years ago
Thomas Van Lenten
e215828525
Merge pull request #1630 from google/beta-3
...
Merge beta-3 release branch into master.
9 years ago
Thomas Van Lenten
e845187cf6
Merge pull request #1620 from sergiocampama/cleanup1
...
Removing unused GPBExceptionMessageKey
9 years ago
Eric Zhong
4629659f3a
add protobuf as3 lib and code generator for as3
...
1.only support proto3
2.support oneof map
3.support nested message and enum for as3
9 years ago
Walter Gray
457a2975f4
Remove __PROTOBUF_PACKAGE_PREFIX
9 years ago
Walter Gray
61c9696586
Update the list of places where the version is stored.
9 years ago
Sergio Campama
a714c401a9
Removing unused GPBExceptionMessageKey
...
https://github.com/google/protobuf/issues/1618
9 years ago
Thomas Van Lenten
40ff94ebef
Merge pull request #1617 from thomasvl/more_warnings
...
Add -Woverriding-method-mismatch.
9 years ago
Thomas Van Lenten
86e8f1fd7a
Merge pull request #1604 from jonwallg/repeated_types
...
fix expected class checking in GPBSetMessageRepeatedField
9 years ago
Thomas Van Lenten
38b9e74691
Add -Woverriding-method-mismatch.
...
Fixes up the code to avoid some issues with isEqual: methods.
Opened https://github.com/google/protobuf/issues/1616 to track the KVC
collision.
9 years ago