Adam Cozzette
067b1eec3b
Merge pull request #3023 from acozzette/min
...
Fully qualify min as std::min in wire_format_lite.cc
8 years ago
Adam Cozzette
07c284f86c
Fully qualify min as std::min in wire_format_lite.cc
8 years ago
Adam Cozzette
cbd08cb7d1
Merge pull request #3018 from acozzette/using-namespace-std
...
Remove "using namespace std" from stubs/common.h
8 years ago
Feng Xiao
54d1701f6c
Merge pull request #3015 from buchgr/unused-consts
...
Remove unused constants.
8 years ago
Adam Cozzette
7c76ac1735
Remove "using namespace std" from stubs/common.h
...
This prevents the contents of the std namespace from being effectively
pulled into the top-level namespace in all translation units that
include common.h. I left in individual using statements for a few common
things like std::set and std::map, because it did not seem worth going
through the churn of updating the whole codebase to fix those right now.
8 years ago
Jakob Buchgraber
b1c75bc742
Remove unused constants.
...
When compiling with -Werror, -Wunused-const-variable the build fails due
to those two constants not being used.
8 years ago
Feng Xiao
4920e27a48
Merge pull request #3008 from postmasters/patch-1
...
Add a link to dart-lang/protobuf
8 years ago
postmasters
4777574a6c
Add a link to dart-lang/protobuf
8 years ago
Feng Xiao
14afc3fd41
Merge pull request #2992 from xiaogaozi/patch-1
...
Add gogoprotobuf to third-party add-ons list
8 years ago
Changjian Gao
f85eecb585
Add gogoprotobuf to third-party add-ons list
8 years ago
Feng Xiao
357afc39de
Merge pull request #2508 from yliu120/pass_default_env_to_protoc
...
add a key to ctx.action dict to prevent protoc losing the default env
8 years ago
Feng Xiao
0a93f67055
Merge pull request #2987 from konsumer/patch-1
...
Add node-protoc-plugin to "Other Utilities"
8 years ago
Adam Cozzette
594f810081
Merge pull request #2982 from mda000/issue2972
...
Simplify the Element dtor invocation when freeing elements in InternalDeallocate
8 years ago
David Konsumer
3055a02125
Add node-protoc-plugin to "Other Utilities"
8 years ago
Thomas Van Lenten
a3873cafae
Merge pull request #2985 from thomasvl/class_check_tweaks
...
Tighten up class usage/checks.
8 years ago
Thomas Van Lenten
f5a01d1bbd
Tighten up class usage/checks.
...
- Ensure extensions resolution/wiring is happening directly on the
messageClass (incase someone is doing odd things our out classes).
- Make the extension message check match the other class checks in
for mergeFrom/isEqual/etc.
8 years ago
Michael Allen
2240a785f9
Simplify the Element dtor invocation when freeing elements in
...
InternalDeallocate to avoid confusing the compiler when there's
a class named Element already defined in the global namespace.
8 years ago
Feng Xiao
8aa927f08f
Merge pull request #2950 from anuraaga/dev_rag
...
Allow unknown values for Map put*Value methods just like every other …
8 years ago
Anuraag Agrawal
bf483dfb99
Allow unknown values for Map put*Value methods just like every other enum mutation method.
8 years ago
Adam Cozzette
efec757104
Merge pull request #2937 from anuraaga/dev_rag2
...
Fix duplicate fields test and Any test. The repeated version is passing because nu…
8 years ago
Jie Luo
69bfde22b6
Merge pull request #2922 from anandolee/master
...
Use PyUnicode_AsEncodedString() instead of PyUnicode_AsEncodedObject()
8 years ago
Anuraag Agrawal
09328db1ff
Fix test for unexpected type url when parsing Any. Currently, the test fails since TestAllTypes doesn't have field '@type', which is the same test as testUnknownFields.
8 years ago
Adam Cozzette
139fd0a1c5
Merge pull request #2933 from mharrend/patch-1
...
Adding default shell env to allow non-default compilers
8 years ago
Adam Cozzette
37c7b766b3
Merge pull request #2930 from anuraaga/dev_rag
...
Fix error message for int64 parse failure.
8 years ago
Anuraag Agrawal
662f97841e
Fix duplicate fields test. The repeated version is passing because null values in a repeated field are rejected and not testing what it wanted to. Also adds a oneof version that verifies the case of oneof fields of different names (currently only same name check seems to be tested).
...
Also fix spelling of a test.
8 years ago
Adam Cozzette
cc3fa2ec80
Merge pull request #2676 from acozzette/js-compatibility-tests
...
JS compatibility tests
8 years ago
Adam Cozzette
10ea25133d
Added compatibility tests for version 3.0.0
8 years ago
Adam Cozzette
7e5f980508
Split test protos into two groups
8 years ago
Marco A. Harrendorf
dd04ffb923
Adding default shell env
...
I am adding default shell environment, so that protobuf compilation makes use of set
LD_LIBRARY_PATH and so on.
In this way, also non-default gcc installations (e.g. not in /usr/lib) can be used to compile protobuf.
This would fix the following issue:
https://github.com/bazelbuild/bazel/issues/2515
8 years ago
Anuraag Agrawal
58373fa160
Fix error message for int64 parse error.
8 years ago
Anuraag Agrawal
11c902ea2e
Add IntelliJ project to gitignore for java project.
8 years ago
Jie Luo
c348d46a9b
Use PyUnicode_AsEncodedString() instead of PyUnicode_AsEncodedObject()
8 years ago
Juan David Dominguez
4a0dd03e52
Removes ignored const from return type ( #2915 )
...
See https://github.com/google/protobuf/issues/2425
8 years ago
Thomas Van Lenten
258406b88f
Merge pull request #2919 from thomasvl/drop_dispatch
...
Remove the use of dispatch_once that is heap backed.
8 years ago
Thomas Van Lenten
130c166697
Remove the use of dispatch_once that is heap backed.
...
Apple recently updated the docs on dispatch_once to point out
that the storage for the dispatch_once_t must be static or global,
but not something that was ever used before as the implementation
doesn't use a memory barrier. So we drop the use and create the
semaphore when needed and use an atomic swap deal with any
threading races.
8 years ago
Thomas Van Lenten
ba3fa41ba8
Merge pull request #2918 from thomasvl/xcode_8_3
...
Add support for Xcode 8.3 to the build helper.
8 years ago
Thomas Van Lenten
558ba98811
Add support for Xcode 8.3 to the build helper.
8 years ago
Thomas Van Lenten
04c77c4e4b
Merge pull request #2913 from thomasvl/conformance_ignores
...
Add some new ignores for things generated in conformance.
8 years ago
drivehappy
d43eaf2b8f
Fix gcc warning when using map ( #2213 )
...
* Issue #2211 : Addressing GCC warning on enumeral/non-enumeral in conditional expression.
* Updated per 80 character wrap.
8 years ago
Adam Cozzette
585993201a
Merge pull request #2914 from acozzette/nacl
...
Added a workaround to allow building for NaCl
8 years ago
Adam Cozzette
f316375a95
Added a workaround to allow building for NaCl
...
arm-nacl-clang seems to produce a mysterious compiler error when it
encounters __builtin_clzll, so when we are building for NaCl, let's
avoid that in favor of the portable implementation of
Log2FloorNonZero64.
8 years ago
Thomas Van Lenten
8adf57e0fa
Add some new ignores for things generated in conformance.
8 years ago
Thomas Van Lenten
b3f3e123aa
Merge pull request #2912 from thomasvl/objc_recursion_limit
...
Raise the recursion limit to 100 to match other languages.
8 years ago
Thomas Van Lenten
ddb438855a
Raise the recursion limit to 100 to match other languages.
8 years ago
Joshua Haberman
d9e0119f2c
Merge pull request #2858 from haberman/gopackage
...
Changed go_package for plugin.proto.
8 years ago
Joshua Haberman
c565e25c7d
Merge pull request #1662 from haberman/jsconformance
...
Conformance tests for JavaScript (Node.js). 15 tests are failing.
8 years ago
Jie Luo
7610f101e8
Merge pull request #2884 from anandolee/master
...
Add FormatEnumsAsIntegers support for Json Format. Scale JsonFormatter.Settings for multi options.
8 years ago
Jie Luo
689e4bf5f4
Add FormatEnumAsInt support for Json Format. And scale JsonFormatter.Settings to multiple options.
8 years ago
Feng Xiao
373809e5f5
Merge pull request #2897 from cgrushko/patch-5
...
Compile the Java proto runtime with Java 6
8 years ago
cgrushko
6f21e29268
Compile the Java proto runtime with Java 6
...
in order to avoid errors related to generics when
building user code in newer versions of Java.
8 years ago