Wink Saville
b0874cc632
Merge "Fix javanano compiler generating uncompileable java code. This happened for enums when java_multiple_files=true."
12 years ago
Brian Duff
296787577a
Fix javanano compiler generating uncompileable java code. This happened
...
for enums when java_multiple_files=true.
Change-Id: Ia6fe1a51c6a46eb9a2f29527829794076b165cb7
Signed-off-by: Brian Duff <bduff@google.com>
12 years ago
Andrew Flynn
a16121550b
Add toString() method to MessageNano.
...
- All of the real work for printing the proto is actually done in
MessageNanoPrinter.
- Uses reflection to find proto-defined fields and prints those.
- Prints all fields, even defaults and nulls.
- Also added a simple test to make sure it handles all proto types well.
Tried not to make the test too brittle (but hey it's testing a toString()
so how flexible can it be)
Change-Id: I3e360ef8b0561041e010c1f3445ec45ecdcd2559
12 years ago
csharptest
0a0dd0333a
Fix for bug in limited input stream's Position, Introduced Position on output stream
12 years ago
csharptest
8c8a82a260
version 2.4.1.521
12 years ago
csharptest
53147aa3f9
Added tag 2.4.1.521 for changeset ceba24e32f5f
12 years ago
csharptest
fdb4cc7ea5
Adde 'Unsafe' static type in ByteString to allow direct buffer manipulation without
...
copying bytes. Should be used very cautiously as modifications to buffers may result
in unexpected behavior.
12 years ago
csharptest
92fcf3537f
Added the ability to instantiate a coded input with a pre-existing buffer
...
Added CodedInputStream.Position to return the current input stream position
12 years ago
csharptest
71e22f8b7f
Issue #43 : Fix to correct identical 'umbrella_classname' options from trying to write to the same filename.
12 years ago
csharptest
ef7091c9ed
Issue #54 : should retire all bytes in buffer (bufferSize)
12 years ago
Wink Saville
16ab1961a1
am d29f87c7: Merge "Fix typos in protobuf readme."
...
* commit 'd29f87c79f34ecd6b7889cc49ca9e9d90c413634':
Fix typos in protobuf readme.
12 years ago
Wink Saville
bb9b49029e
Merge "Fix typos in protobuf readme."
12 years ago
Matt Thrailkill
adf95183f6
Fix typos in protobuf readme.
...
Change-Id: Ifa3c8674482ae9575df459a3e76e9f8b4a9296b5
Signed-off-by: Matt Thrailkill <mthrailkill@google.com>
12 years ago
Ficus Kirkpatrick
fbbe842a19
am e0ee97ea: Merge "Don\'t use Arrays.copyOf in generated code."
...
* commit 'e0ee97eaac9a0f3d74c42315a109cdc25f2fddc0':
Don't use Arrays.copyOf in generated code.
12 years ago
Ficus Kirkpatrick
4349e11df9
Merge "Don't use Arrays.copyOf in generated code."
12 years ago
Ficus Kirkpatrick
314a302933
Don't use Arrays.copyOf in generated code.
...
It didn't appear until API 9 and is thus incompatible with Froyo.
Instead, allocate a new array and System.arraycopy inline.
Change-Id: I2e1cd07a4a762ef8edd5ec06ceaa1d38b302823d
12 years ago
Wink Saville
12ac3a7e7f
am a6b79eb9: Merge "Prevent conflicts between local and proto variable names."
...
* commit 'a6b79eb9618fc1774aa18a0b365e48398f23808a':
Prevent conflicts between local and proto variable names.
12 years ago
Ulas Kirazci
4380449c7a
am fb8f78fe: Prevent conflicts between local and proto variable names.
...
* commit 'fb8f78fe6e2d757b813747d5d401a0eeb0cd478b':
Prevent conflicts between local and proto variable names.
12 years ago
Ulas Kirazci
741f208bb9
Prevent conflicts between local and proto variable names.
...
Prefix access to proto variable names with "this.". Also remove unused
GenerateMergingCode.
Change-Id: I5f07d3252fc385c4174d9165b64785b40f676e17
12 years ago
Wink Saville
d4bb580f1b
Merge "Prevent conflicts between local and proto variable names."
12 years ago
Ulas Kirazci
3234cee5ba
Prevent conflicts between local and proto variable names.
...
Prefix access to proto variable names with "this.". Also remove unused
GenerateMergingCode.
Change-Id: I5f07d3252fc385c4174d9165b64785b40f676e17
12 years ago
Ulas Kirazci
86ce4717ee
am 43325653: Nano protobufs.
...
* commit '43325653beb4e5b6923d0380a84bf7e204be5c22':
Nano protobufs.
12 years ago
Ulas Kirazci
d6592c758c
Nano protobufs.
...
Like micro protobufs except:
- No setter/getter/hazzer functions.
- Has state is not available. Outputs all fields != their default.
- CodedInputStream can only take byte[] (not InputStream).
- Repeated fields are in arrays, not ArrayList or Vector.
- Unset messages/groups are null, not "defaultInstance()".
- Required fields are always serialized.
To use:
- Link libprotobuf-java-2.3.0-nano runtime.
- Use LOCAL_PROTOC_OPTIMIZE_TYPE := nano
Change-Id: I7429015b3c5f7f38b7be01eb2d4927f7a9999c80
12 years ago
Wink Saville
08b6e50a9b
am 216c9e86: Merge "Nano protobufs."
...
* commit '216c9e8681b9426e84c9e2222da5c0dd669261b2':
Nano protobufs.
12 years ago
Wink Saville
64a842122c
Merge "Nano protobufs."
12 years ago
Ulas Kirazci
2337023fd9
Nano protobufs.
...
Like micro protobufs except:
- No setter/getter/hazzer functions.
- Has state is not available. Outputs all fields != their default.
- CodedInputStream can only take byte[] (not InputStream).
- Repeated fields are in arrays, not ArrayList or Vector.
- Unset messages/groups are null, not "defaultInstance()".
- Required fields are always serialized.
To use:
- Link libprotobuf-java-2.3.0-nano runtime.
- Use LOCAL_PROTOC_OPTIMIZE_TYPE := nano
Change-Id: I7429015b3c5f7f38b7be01eb2d4927f7a9999c80
12 years ago
xiaofeng@google.com
c9f69500b7
Update OSGi meta data.
12 years ago
xiaofeng@google.com
25b2a673ae
Fix issue 474
12 years ago
xiaofeng@google.com
7f4c9e860e
Add a comment about the new "allow_alias" option.
12 years ago
xiaofeng@google.com
7fe28a8973
Update version number in descriptor.pb.h and plugin.pb.h
12 years ago
xiaofeng@google.com
2c9392f8dd
Update version number in trunk
12 years ago
xiaofeng@google.com
a36f1b43e7
Exclude a failing test in MingW build.
12 years ago
xiaofeng@google.com
7f372559cc
Down-integrate from internal branch
12 years ago
xiaofeng@google.com
de3494fe5c
Fix issue 403, issue 456, issue 462
12 years ago
xiaofeng@google.com
e406747cd5
Fix issue 445, issue 449
12 years ago
xiaofeng@google.com
1e5a5e8419
Down-integrate from internal branch
12 years ago
liujisi@google.com
691f6da30b
Rollback the export macros on internal classes/functions.
12 years ago
liujisi@google.com
117064c18b
add missing dll export macros for msvc.
12 years ago
liujisi@google.com
71caf8c25d
Remove "using" directives to disambiguate type_traits for vc2012.
12 years ago
liujisi@google.com
f5b373dfb6
Fix a typo of nacl file name.
12 years ago
liujisi@google.com
e9ee30962f
Add missing qnx files.
12 years ago
liujisi@google.com
4d8c2f94fb
Add arm_qnx atomic ops support and add missing header files in Makefile.am
12 years ago
liujisi@google.com
98080e8598
Update upb namespace in friendship declaration.
12 years ago
liujisi@google.com
cb77c4c381
Generate a warning for duplicated enum values, when allow_alias option isn't
...
set.
12 years ago
liujisi@google.com
4770277ec7
Add the missing PNaCl atomicops support.
12 years ago
liujisi@google.com
728aa760fd
Down-integrate form internal opensource branch
12 years ago
Ying Wang
c4e73a82ff
am db9ab02c: (-s ours) Build against the NDK for x86 and mips too.
...
* commit 'db9ab02c090cdc5d2b31399867a4052351b8793d':
Build against the NDK for x86 and mips too.
12 years ago
Ying Wang
c991c16e92
Build against the NDK for x86 and mips too.
...
Change-Id: I68963dc1c274c3dcf1038d4e21dc418f9554b78f
12 years ago
xiaofeng@google.com
0b30eb8c87
Fix the name of thread safety macros.
12 years ago
liujisi@google.com
5d701498dd
Remove unused macros.
12 years ago