| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|\
| |
| | |
Change the way the "umbrella class" (descriptors) is named/namespaced
|
| | |
|
|/
|
|
|
|
| |
- 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.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
| |
This includes all the well-known types except Any.
Some aspects are likely to require further work when the details of the JSON parsing expectations are hammered out in more detail. Some of these have "ignored" tests already.
Note that the choice *not* to use Json.NET was made for two reasons:
- Going from 0 dependencies to 1 dependency is a big hit, and there's not much benefit here
- Json.NET parses more leniently than we'd want; accommodating that would be nearly as much work as writing the tokenizer
This only really affects the JsonTokenizer, which could be replaced by Json.NET. The JsonParser code would be about the same length with Json.NET... but I wouldn't be as confident in it.
|
|\ |
|
| |
| |
| |
| |
| |
| | |
NS_ENUM changes defintion in Objective C++ based on the C++ spec being
compiled with, special case the one situation where it wouldn't support doing a
forward decl for the enum.
|
| |
| |
| |
| |
| | |
We still need the JSON representation, which relies on something like a DescriptorPool to fetch message types from based on the type URL. That will come a bit later.
(The DescriptorPool comment in this commit is just a note which will prove useful if we use DescriptorPool itself.)
|
|/ |
|
| |
|
|\
| |
| | |
Add distribution for objc
|
| | |
|
|\ \ |
|
| | | |
|
| |/
|/|
| |
| | |
Change-Id: I96fbe5c84a04f5d95c5484002404fc975f2abd21
|
|\| |
|
| |
| |
| |
| | |
Signed-off-by: Dan O'Reilly <oreilldf@gmail.com>
|
|/ |
|
| |
|
| |
|
|
|
|
|
|
|
| |
it from the generated code soon.
Additionally, change it to return the value passed, and make it generic with a class constraint.
A separate method doesn't have the class constraint, for more unusual scenarios.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Change-Id: I74e2d5958b5e7b15d10e5a6468bca917323b9739
|
|\
| |
| | |
Down-integrate from internal code base.
|
| |
| |
| |
| |
| |
| | |
[ci skip]
Change-Id: I9391c09640e0b0b2b21c45a97a1fc91814d95c5d
|
|/
|
|
|
|
|
|
|
|
|
|
|
| |
Now the Build tool needs to define -DHAVE_ZLIB and -DHAVE-PTHREAD rather
than providing a config.h
- Make pbconfig.h a manually written file to handle hash conditions
according to platform related macros.
- Remove #include "config.h" from source code.
- Changed the configure.ac and Makefile.am to pass down the macros.
- Change cmake to pass down the the macros.
Change-Id: I537249d5df8fdeba189706aec436d1ab1104a4dc
|
|
|
|
| |
Change-Id: I2015df2409aa95401af658b40023c8f9b9d75068
|
|
|
|
| |
the name.
|
|\
| |
| | |
Beta quality drop of Objective C Support.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Add more to the ObjC dir readme.
- Merge the ExtensionField and ExtensionDescriptor to reduce overhead.
- Fix an initialization race.
- Clean up the Xcode schemes.
- Remove the class/enum filter.
- Remove some forced inline that were bloating things without proof of performance wins.
- Rename some internal types to avoid conflicts with the well know types protos.
- Drop the use of ApplyFunctions to the compiler/optimizer can do what it wants.
- Better document some possible future improvements.
- Add missing support for parsing repeated primitive fields in packed or unpacked forms.
- Improve -hash.
- Add *Count for repeated and map<> fields to avoid auto create when checking for them being set.
|
|/ |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|\
| |
| | |
Objective C Second Alpha Drop
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Style fixups in the code.
- map<> serialization fixes and more tests.
- Autocreation of map<> fields (to match repeated fields).
- @@protoc_insertion_point(global_scope|imports).
- Fixup proto2 syntax extension support.
- Move all startup code to +initialize so it happen on class usage and not app startup.
- Have generated headers use forward declarations and move imports into generated code, reduces what is need at compile time to speed up compiled and avoid pointless rippling of rebuilds.
|
| | |
|
|/ |
|
| |
|
|
|
|
| |
We already run all tests with and without `--cpp_implementation`
|
|
|
|
| |
This file was broken in ada6556.
|
|
|
|
| |
Change-Id: Ib75664194491643f8e4f1503a2ed942a2d1e1655
|