Adam Cozzette
d41c47fff9
Merge pull request #2733 from wmamrak/patch-1
...
Disable MSVC warning C4309
8 years ago
Adam Cozzette
8d61f9c3bf
Merge pull request #2729 from MarcelRaad/fix_inline_msvc12
...
Fix unresolved symbols with MSVC12 and /Zc:inline
8 years ago
Feng Xiao
b4b0e304be
Merge pull request #2355 from xfxyjwf/fixjson
...
Speed up JSON parsing.
8 years ago
Adam Cozzette
8387b88cdc
Merge pull request #2732 from AsturaPhoenix/master
...
const FieldDescriptorCompare
8 years ago
Adam Cozzette
66c64e7045
Merge pull request #2747 from liutikas/master
...
Fix unused variables warnings in generated_message_reflection.h
8 years ago
Adam Cozzette
8c8b8e61f2
Merge pull request #2734 from msabramo/patch-1
...
README.md: Make docs URL a link
8 years ago
Jisi Liu
72b82e6875
Merge pull request #2630 from blodan/master
...
FreeBSD compatibility
8 years ago
Thomas Van Lenten
963473b1dd
Merge pull request #2753 from thomasvl/recursive_drop
...
Add GPBMessageDropUnknownFieldsRecursively() and tests.
8 years ago
Thomas Van Lenten
d07176654b
Add GPBMessageDropUnknownFieldsRecursively() and tests.
...
GPBMessageDropUnknownFieldsRecursively() is a new helper to drop the
unknownFields from a message and all sub messages (in fields or extensions).
8 years ago
Manjunath Kudlur
2d430f8c72
Added a header only cc_library target for the protobuf library.
8 years ago
John Brock
17174b54dd
Updating README
...
- Adding more detail on running tests
- Adding info about the status of .NET 3.5 support and how to enable .NET 3.5
8 years ago
John Brock
f83d129555
Upgrading test-related libraries
...
NUnit 3.4.0 —> 3.6.0
dotnet-test-nunit 3.4.0-alpha-2 —> 3.4.0-beta-3
8 years ago
John Brock
c9b2c8f327
Fixes for .NET 3.5 compatibility
...
* Changing DOTNET35 framework symbols in preprocessor directives to the default built-in value of NET35.
* Adding extension method StreamExtension.CopyTo for .NET 3.5 because it didn’t exist until .NET 4, and adding associated unit tests.
8 years ago
Aurimas Liutikas
a434bfc232
Fix compiler warnings about unused variables in generated_message_reflection.h
8 years ago
Feng Xiao
1a8cbfd355
Merge pull request #2736 from na-ka-na/master3
...
Add an option to always print enums as ints in Json API
8 years ago
Sanchay Harneja
172e0a6423
Add an option to always print enums as ints in Json API
...
https://github.com/google/protobuf/issues/2735
8 years ago
Marc Abramowitz
86208c526b
README.md: Make docs URL a link
...
Dedent URL so it renders as a link and not as code (fixed width font and not clickable).
8 years ago
Wojciech Mamrak
37bd5d525b
Disable MSVC warning C4309
...
> warning C4309: static_cast': truncation of constant value
introduced in commit 9db5b11c9c
8 years ago
Ross Wang
01a05a53f4
const FieldDescriptorCompare
...
Clang now validates that <set> comparators must have a const operator():
https://reviews.llvm.org/rL291969
Discussion:
https://groups.google.com/d/msg/protobuf/9W6zFIHaJ-4/9RrfwelpEQAJ
8 years ago
Marcel Raad
8f9c0a44bd
Fix unresolved symbols with MSVC12 and /Zc:inline
...
In #726 and #813 , linking errors with MSVC14 were resolved. The change in
MSVC12 leading to these errors was not a newly introduced bug, but that
/Zc:inline was made on by default. This option is also available with MSVC12,
so the workaround should be applied for it too.
8 years ago
Adam Cozzette
a9ab38c171
Merge pull request #2722 from ckennelly/unified
...
Merge #2653 , #2622 , #2579 , #2652
8 years ago
Chris Kennelly
8af35f28f6
Keep loop bounds in a local variable for string fields.
8 years ago
Chris Kennelly
a6c30d9705
Keep loop bounds in a local variable.
8 years ago
Chris Kennelly
9db5b11c9c
Work with truncated tag numbers.
...
This allows more compact comparisons (1 byte instead of 4 byte
immediates on x86) for each possible wire/tag inside each field.
8 years ago
Chris Kennelly
0026dff9f6
Expose rvalue setters for repeated string fields.
...
rvalue setters for scalar string fields were added in #2506 .
8 years ago
Adam Cozzette
38b14408c5
Merge pull request #2663 from ckennelly/varint-size
...
Inline branch-less VarintSize32/VarintSize64 implementations.
8 years ago
Adam Cozzette
15360e59cf
Merge pull request #2689 from ckennelly/aliasing-fixed32-fixed64
...
Avoid aliasing CodedInputStream::buffer_ when parsing little endian integers
8 years ago
Thomas Van Lenten
38c238e35e
Improve support for plugin parameters.
...
--[name]_opt support depended on the plugin being register, and didn't support
working with just --[name]_out directive (where the plugin is found via the
users PATH. This extends the command line handing to allow --[name]_out to
be all it takes for the _opt directive to also be supported.
Fixes https://github.com/google/protobuf/issues/2712
8 years ago
Feng Xiao
d2dfe46b27
Merge pull request #2609 from yixiang/patch-1
...
Undef TYPE_BOOL to avoid conflict with iOS.
8 years ago
Jie Luo
3f6f73b796
Merge pull request #2701 from anandolee/master
...
Add csharp compatibility tests against v3.0.0
8 years ago
Feng Xiao
ed423c2c52
Merge pull request #2451 from podsvirov/json-primitive-map
...
JsonUtilTest: Add ParsePrimitiveMapIn subtest
8 years ago
Feng Xiao
aa78aeba98
Merge pull request #2704 from liutikas/master
...
Fix compiler warnings about unused variables in wire_format.h
8 years ago
Paul Yang
74eb9a0a30
Add clear method to PHP message ( #2700 )
8 years ago
Konstantin Podsvirov
46c022a0a9
JsonUtilTest: Add ParsePrimitiveMapIn subtest
8 years ago
Aurimas Liutikas
9079079ec0
Fix compiler warnings about unused variables in wire_format.h
8 years ago
Jonathan Hseu
ef927cc428
Switch to gcc atomic intrinsics for macOS and delete the file that uses ( #2699 )
...
the deprecated atomics.
8 years ago
Jie Luo
7288689d8c
Add csharp compatibility tests against v3.0.0 and run on Travis.
8 years ago
Feng Xiao
1d2736f24d
Merge pull request #2656 from pcj/patch-1
...
Add bazel protobuf resources
8 years ago
Jie Luo
9f09d1804a
Add proto and test files for csharp compatibility tests against v3.0.0.
...
All the files are copied from 3.0.0 (JosnFormaterTest was deleted)
8 years ago
Jie Luo
c6e0d0e7f3
Merge pull request #2647 from anandolee/master
...
Fix python compatibility test
8 years ago
Jie Luo
42e1e2abef
Fix python compatibility test when a new generated code imports an old version(2.6.1 or older) generated code.
8 years ago
Feng Xiao
e844510f44
Merge pull request #2692 from cgrushko/patch-3
...
Update load() statement to latest style
8 years ago
cgrushko
65a4d20deb
Update load() statement to latest style
...
The first argument is currently implicitly a .bzl file.
Change this to be explicit.
8 years ago
Feng Xiao
a60cc08d83
Merge pull request #2691 from cgrushko/patch-3
...
Bazel can build protobuf when it's not in the root
8 years ago
Paul Yang
cba04b19e8
Implement json encoding decoding for php. ( #2682 )
8 years ago
cgrushko
6fffd4adb4
Bazel can build protobuf when it's not in the root
...
That is, Bazel can now build protobuf when the latter resides in a subdirectory of a project.
8 years ago
Chris Kennelly
56da82820e
Avoid aliasing CodedInputStream::buffer_ when parsing little endian integers.
...
This eliminates an unnecessary reload of buffer_ that occurs (before
this change) after the store to *value.
8 years ago
Paul Yang
c00274313d
Add fixed version to phpunit used in travis ( #2673 )
8 years ago
Thomas Van Lenten
36f51f963c
Merge pull request #2681 from sergiocampama/spaces
...
Removes trailing whitespaces
8 years ago
Sergio Campama
e7f5c9d071
Removes trailing whitespaces
8 years ago