Thomas Van Lenten
b640f216a5
Merge pull request #1003 from sainaetr/patch-1
...
Update GPBProtocolBuffers.h
9 years ago
Osman Cihangir
f1e14fba23
Update GPBProtocolBuffers.h
9 years ago
Thomas Van Lenten
bc6a85dbac
Merge pull request #1001 from thomasvl/fix_last_objc_conformance_tests
...
Set the stream limit to the length of the data.
9 years ago
Thomas Van Lenten
ba800e2e57
Set the stream limit to the length of the data.
...
- Mark all conformance tests as now passing.
9 years ago
Thomas Van Lenten
4e3388168d
Merge pull request #980 from thomasvl/obj_conformance
...
Add support for the conformance test for objc when run on OS X
9 years ago
Jon Skeet
41824d93e5
Merge pull request #990 from jskeet/naming
...
Tidying up reflection further
9 years ago
Jon Skeet
a2667aafd8
Generated code changes for previous commit (basically InternalBuildGeneratedFileFrom => FromGeneratedCode)
9 years ago
Jon Skeet
72ec33676f
Tidy up reflection in advance of attempting to implement DynamicMessage.
...
There are corner cases where MessageDescriptor.{ClrType,Parser} will return null, and these are now documented. However, normally they *should* be implemented, even for descriptors of for dynamic messages. Ditto FieldDescriptor.Accessor.
We'll still need a fair amount of work to implement dynamic messages, but this change means that the public API will be remain intact.
Additionally, this change starts making use of C# 6 features in the files that it touches. This is far from exhaustive, and later PRs will have more.
Generated code changes coming in the next commit.
9 years ago
Jon Skeet
d6202a9b89
Merge pull request #994 from jskeet/type-registry
...
Added the type registry in advance of implementing Any support.
9 years ago
Jon Skeet
f7e43c6f80
Added the type registry in advance of implementing Any support.
...
Biting off just this bit first as I don't need the changes from a previous PR for this part.
9 years ago
Jan Tattermusch
956a770adc
Merge pull request #988 from gabikliot/CSharp-SampleUsage-Big-Fix
...
Fixed a bug in CSharp SampleUsage.
9 years ago
Jan Tattermusch
562372e53a
Merge pull request #989 from jskeet/rename-umbrella
...
Rename "umbrella" to "reflection" consistently.
9 years ago
Jisi Liu
fa8e2911bb
Merge pull request #977 from lberki/master
...
add headers
9 years ago
Gabriel Kliot
bdec990703
Removed redundant comment.
9 years ago
Jon Skeet
a6361a124a
Rename "umbrella" to "reflection" consistently.
...
This changes csharp_names.h, which will require a corresponding change in GRPC.
9 years ago
Jon Skeet
ff37edcd8a
Merge pull request #974 from jskeet/parser
...
Parser property in MessageDescriptor
9 years ago
Jon Skeet
360feda5f7
Finished an implementation comment
9 years ago
Jon Skeet
eadd4caa09
Generated code from previous commit.
9 years ago
Jon Skeet
2a15051a1e
Introduce a Parser property into MessageDescriptor, and populate it from generated types.
...
Generated code coming in next commit - in a subsequent PR I want to do a bit of renaming and redocumenting around this, in anticipation of DynamicMessage.
9 years ago
Jon Skeet
c581acb562
Merge pull request #944 from jskeet/umbrella-classname
...
Change the way the "umbrella class" (descriptors) is named/namespaced
9 years ago
Gabriel Kliot
09d03dfc7e
Fixed a bug in CSharp SampleUsage.
9 years ago
Thomas Van Lenten
1745f7eae9
Add support for the conformance test for objc when run on OS X
9 years ago
Thomas Van Lenten
8162451b72
Merge pull request #984 from thomasvl/prefix_validation_tweaks
...
Reorder the checks so anything in the expected file is an implicit whitelisting
9 years ago
Thomas Van Lenten
2a91c64f49
Reorder the checks so anything in the expected file is an implicit whitelisting.
...
In the old flow, any 2 char prefix in the expected file was still generating a
warning about being a poor prefix. Now we check the expected file first, so
anything expected is let through.
9 years ago
Jisi Liu
6a3d6d9fd5
Merge pull request #982 from pherl/bazel_test
...
Make the cc wkt proto target public.
9 years ago
Jisi Liu
6a40bf89d3
Make the cc wkt proto target public.
9 years ago
Joshua Haberman
496826efa0
Merge pull request #978 from thomasvl/conformance_tweaks
...
Cleanups of deps and ignores for conformance
9 years ago
Thomas Van Lenten
42f2eee932
Cleanups of deps and ignores for conformance
...
- Hopefully complete the deps for other languages for the generated conformance proto sources.
- List the generated sources for cleanup by make's clean rules.
- Make the toplevel nuke the pyc files that can get created in the ObjC dir.
9 years ago
Lukacs T. Berki
915d9cd245
add headers
9 years ago
Thomas Van Lenten
8b31d7410a
Merge pull request #960 from thomasvl/xctool_support
...
Switch ObjC Travis testing to using xctool
9 years ago
Thomas Van Lenten
76b61384a2
Switch ObjC Travis testing to using xctool
...
xctool is preinstalled on the Travis OS X images and it seems to do better with
iOS simulator flake, so use it instead of xcodebuild.
xctool also is less chatty compared to xcodebuild, so it makes the logs a little
easier to read.
9 years ago
Thomas Van Lenten
a663afb23b
Merge pull request #959 from thomasvl/travis_mac2
...
Add ObjC build to travis setup
9 years ago
Thomas Van Lenten
9642b821f2
Add ObjC build to travis setup
...
- Add objc for iOS and OS X builds to travis configs.
- Update handing of python install to deal with newer OS X versions.
9 years ago
Jon Skeet
284bb452e4
Generated code changes and manual changes for previous commit.
9 years ago
Jon Skeet
61a50b9e6b
Change how the reflection descriptor class is generated.
...
Instead of having a Proto nested namespace to avoid conflicts between the descriptor-holding static class and message classes, just append "Reflection" to the name.
Generated code changes (and corresponding manual changes) in following commit.
9 years ago
Jan Tattermusch
64aa954dae
Merge pull request #954 from jskeet/blank-lines-in-comments
...
Stop removing all blank lines in doc comments.
9 years ago
Paul Yang
1e54dcfc70
Merge pull request #949 from thomasvl/newer_sims
...
Tweaks to the Mac build script
9 years ago
Jon Skeet
cff900e8f9
Generated code for previous commit.
9 years ago
Jon Skeet
f4f601bd47
Stop removing all blank lines in doc comments.
...
This fixes issue #832 .
Generated code changes in next commit.
9 years ago
Jan Tattermusch
ffe25c76ea
Merge pull request #941 from jskeet/recursion-limit
...
Add recursion limit handling to JSON parsing.
9 years ago
Feng Xiao
1470ced7ce
Merge pull request #950 from jhump/jh/plugin-proto-in-java-runtime
...
include plugin.proto and generated code in protobuf-java
9 years ago
Thomas Van Lenten
f1a3c8fe0d
Tweaks to the Mac build script
...
- Support building with Xcode 6.4 or 7.x
- Fix an error in usage info.
- Add a flag to build the core parts of protobuf only.
9 years ago
Joshua Humphries
37b262bfb4
include plugin.proto and generated code in protobuf-java
9 years ago
Jon Skeet
6fa17e7597
Reimplement JSON recursion by detecting the depth in the tokenizer.
...
Added a TODO around a possible change to the tokenizer API, changing PushBack(token) into just Rewind() or something similar.
9 years ago
Jon Skeet
3a72a1eeaf
Merge pull request #940 from jskeet/json-names
...
Move the creation of the "fields by JSON name" dictionary to the descriptor
9 years ago
Jan Tattermusch
25c045a180
Merge pull request #942 from jskeet/json-exception
...
Created a new exception for JSON failures.
9 years ago
Paul Yang
a030cc750c
Merge pull request #943 from thomasvl/conformance
...
Update the Mac build script to include the conformance tests
9 years ago
Jon Skeet
0fb39c4afe
Created a new exception for JSON failures.
...
This is only thrown directly by JsonTokenizer, but surfaces from JsonParser as well. I've added doc comments to hopefully make everything clear.
The exception is actually thrown by the reader within JsonTokenizer, in anticipation of keeping track of the location within the document, but that change is not within this PR.
9 years ago
Thomas Van Lenten
f0411ec974
Update the Mac build script to include the conformance tests
...
- Kick off the conformance tests
- Add missing ignore for something generated by a build on the conformance directory.
9 years ago
Jon Skeet
3d257a9dc1
Add recursion limit handling to JSON parsing.
...
Fixes issue #932 .
9 years ago