| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously, extensions with field numbers greater than 268435455 would
result in a compile time error in generated code that looks something
like this:
Foo.java:3178: error: integer number too large: 3346754610
3346754610);
This is because we were trying to represent the tag number (an
unsigned int) using a java int constant, but java int constants are
signed, and can't exceed Integer.MAX_VALUE.
Fixed by declaring it as a long instead, and casting it down to an
int in the implementation. This is safe, because the tag value always
fits in 32 bis.
Change-Id: If2017bacb4e20af667eaeaf9b65ddc2c30a7709f
|
|
|
|
| |
Change-Id: I122f1cee71a8a739ea603e52582cb0fa9698f0ed
|
|
|
|
| |
Use stdlib's 'unittest' instead.
|
|
|
|
|
| |
This fixes the problem where `make check` generates files not ignored
by `.gitignore`.
|
|
|
| |
The file `SEBS` is a build file for a toy build system I was writing in my spare time six years ago, back when I maintained protobufs. Arguably it was never appropriate for me to have placed this file in the protobuf tree, but it was convenient at the time and didn't seem to hurt anything. It clearly doesn't belong here now, though.
|
| |
|
|\
| |
| | |
Sanitize Enum names from collisions with reserved words.
|
| | |
|
| | |
|
| |
| |
| |
| | |
Change-Id: Ic98584616bd6ee49680273f0cdbe6d9c038ec0e9
|
|\ \
| | |
| | | |
Implement a feature to generate a dependency file
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
test-driver
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
"--dependency_manifest_out=FILE", protoc will write dependencies of
input proto files into FILE. In FILE, the format will be
<full path to FILE>: <full path to 1st proto>\\\n <full path to 2nd proto> ...
This cl is based on https://github.com/google/protobuf/pull/178
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Use --manifest-file=somefile.d to output the dependency manifest.
This file will contain a list of files which were read by protoc as part
of creating the output files. It doesn't include the plugin inputs if
plugins are used, that could be a later extension.
The manifest file is in the format <output file>: <input files>. The
manifest file format only allows you to specify one output file, which
isn't a problem as it's used to detect input changes in order to detect
when to rerun the protoc command. The output file used in the manifest
is the manifest filename itself; to use this in ninja you should declare
the manifest file as the first output as well as the depfile input.
|
| | |
| | |
| | |
| | | |
Change-Id: I1a3acadd059f87c26a2e26f3b7a169c0780e981e
|
|\ \ \
| |_|/
|/| | |
Add support for the TILE-Gx processor family.
|
| |/ |
|
| |
| |
| |
| |
| |
| | |
class definition, which is a C++11 extension.
Change-Id: I477fe484d737f4c60c519d68f431940ffaa33431
|
| |
| |
| |
| |
| |
| |
| | |
The later is not supported by some versions of MSVC and the former is
more accurate for the use case.
Change-Id: I7096226b1ebfef8340d288bbaf2788540aa3e97f
|
| |
| |
| |
| | |
Change-Id: Ic0fdb52c17b9495c73b8ce15879531383a148585
|
| |
| |
| |
| | |
Change-Id: Idc5fb65a2cc469d55aff6f2cde0b51b326be0963
|
| |
| |
| |
| | |
Change-Id: Iaa75f8333541bc378bea699e7f147c7f17b652ad
|
| |
| |
| |
| |
| |
| |
| |
| | |
- Maps for C++ lite
- C++ Arena optimizations.
- Java Lite runtime code size optimization.
Change-Id: I7537a4357c1cb385d23f9e8aa7ffdfeefe079f13
|
|\ \
| | |
| | | |
Remove unused methods:
|
| | |
| | |
| | |
| | | |
MessageTypeProtoName, IsVariableLenType
|
|\ \ \
| | | |
| | | | |
Add the .proto files for well-known types.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
anyother targets.
Change-Id: I507009cd92a711739d7d58ccee93dfbf0a9fe135
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: I7f745929b137b93c122448a4a2d9a7bbab6648d6
|
|\ \ \ \
| | | | |
| | | | | |
Proto3 Python changes for v3.0.0-alpha-2
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* Rosy hack doesn't apply (that test should be removed
for the open-source release).
* Added our own copy of parameterized.py (the open-source
version of Google Apputils doesn't contain it).
* The C++ Descriptor object didn't implement extension_ranges.
* Had to implement a hack around returning EncodeError, to
work around the module-loading behavior of the test runner.
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I34d301133eea9c6f3a822c47d1f91e136fd33145
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
in the map_field_inl.h
Change-Id: Ieeaab5507ee34b317d76b5937beb67c298905eb4
|
|/ / / /
| | | |
| | | |
| | | | |
Change-Id: Id937e25bbb35968ee76c92bd4a8ce6247408c443
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
field.
Change-Id: Idb5b53da5accd24038a895aba49b684eeee95814
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Disable commandline interface test for heap check tests.
Change-Id: I02aa2ad9704e3c70dcecae8b3b3557b18607d455
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
pass in systems without rtti.
Change-Id: Ib32b47a66f14928de9399c49dbdb07263a30d1bc
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: Iafd4a3aa9d55e31478bf070311eeadfe95ece4d7
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
field oneof support.
|