James Moore
c92b4e11d3
Don't look for sched_yield on Android.
...
The problem is that sched_yield is available on the target, but configure.ac is asking to build
a host binary using the AC_SEARCH_LIBS macro. It can't configure for Android, since sched_yield isn't
available on the host.
7 years ago
Adam Cozzette
e232038e06
Merge pull request #4624 from eughermann/hash-ub-fix
...
Fix undefined behavior in hash function.
7 years ago
Jisi Liu
15cde292ce
Merge pull request #4625 from liujisi/3.6.x
...
Update version number to 3.6.0
7 years ago
Feng Xiao
6ab3196dae
Merge pull request #4632 from chronoxor/master
...
Fix issue with version.rc
7 years ago
Ivan Shynkarenka
291d9a0ab0
Fix issue with version.rc
7 years ago
Feng Xiao
5932547a6f
Merge pull request #4574 from jozefizso/patch-1
...
Fix appveyor documentation
7 years ago
Jozef Izso
8835f5d2f1
Fix appveyor documentation
7 years ago
Christian von Arnim
411018e3fb
cmake: Fix DEPENDS of add_custom_command in protobuf_generate
7 years ago
Robert Hancock
29ad3002cb
Declare some generated C++ methods as static #4602
...
This avoids compile warnings when compiling generated code with the
-Wmissing-declarations option.
7 years ago
Yilun Chong
b83b8e3d44
Merge pull request #4623 from BSBandme/fix_kokoro_benchmark_build
...
Fix python install, cat java error log for kokoro build
7 years ago
Paul Yang
3d9e99b7e0
Adopt php_metadata_namespace in php code generator ( #4622 )
...
* Adopt php_metadata_namespace in php code generator
The php_metadata_namespace is corresponded to the relative directory of
the metadata file. e.g., previously, the metadata file of foo.proto was
GPBMetadata/Foo.php. If the php_metadata_namespace is "Metadata\\Bar",
the metadata file will be Metadata/Bar/Foo.php.
* Handle empty php_metadata_namespace
7 years ago
Jisi Liu
45eb28b588
Update version number to 3.6.0
7 years ago
Eugene Hermann
72d18e3faa
Remove undefined behavior from the hash function.
...
Signed integer overflow creates undefined behavior that may lead to unpredictable fails on different platforms.
One known example of the hardware where this code did fail is Apple A6 (32-bit Apple Swift CPU)
16777619, 16777499 - two prime numbers that typically used to get better dispersion.
7 years ago
Feng Xiao
ac34bf8f59
Merge pull request #4579 from jozefizso/dev/3380_version_info
...
Include version information in Windows binaries #3380
7 years ago
Cameron Taggart
394866c002
enable source link for csharp ( #4179 )
7 years ago
Feng Xiao
4600f789a2
Merge pull request #4587 from chronoxor/master
...
Appveyor MinGW build
7 years ago
Feng Xiao
6dda83dc8c
Merge pull request #4611 from anuraaga/remove-string-move
...
[Java] Remove unsafe no-copy String allocation since it's not useful in rece…
7 years ago
Warren Falk
e7eeb7004b
fix index out of range error in C# generation using msvc ( #1329 )
7 years ago
Yilun Chong
c3566c6861
Fix python install, cat java error log for kokoro build
7 years ago
Christian von Arnim
b9c0c5f526
cmake: Add parameter PROTOC_OUT_DIR to protobuf_generate
7 years ago
Christian von Arnim
e8ae76fbde
cmake: Use GENERATE_EXTENSIONS parameter in protobuf_generate
7 years ago
Paul Yang
b61dd9d9a2
Add file option php_metadata_namespace and ruby_package ( #4609 )
7 years ago
Feng Xiao
2213c1c1f6
Merge pull request #4538 from Mizux/patch-2
...
Add .proto files to extract_includes.bat
7 years ago
Anuraag Agrawal
92ac1ed6a5
Remove unsafe no-copy String allocation since it's not useful in recent Java versions.
7 years ago
Paul Yang
7377d81ca4
Throw error if user want to access message properties ( #4603 )
...
* Throw error if user want to access message properties
* Fix typo
7 years ago
Paul Yang
5f7334f5f3
Avoid direct check of class name ( #4601 )
...
* Avoid direct check of class name
So that subclasses are also ok
* Use type hint in function signature.
7 years ago
Jie Luo
5f9232b5e0
use brew install instead of easy_install in OSX ( #4537 )
...
use brew instead of easy_install in OSX (easy_install keep failing for a month)
7 years ago
Peter Marton
13f94b4092
Fix strict JS generator with import in a protofile
7 years ago
Peter Marton
3c4e368473
Test: cover import_style=commonjs_strict
7 years ago
Peter Marton
1062d985b9
Feat: add import-style=commonjs_strict option to the compiler
7 years ago
Fahrzin Hemmati
55962db9b7
Fix generated_protos_proto deps
7 years ago
Fahrzin Hemmati
2cfa7612b2
Fix moving generated files onto themselves
7 years ago
Fahrzin Hemmati
0d68b29ac4
Add unittest build rules
7 years ago
Fahrzin Hemmati
d1403e58d8
Only use realpath when in gendir, and use the original ctx.action if not in gendir
7 years ago
Fahrzin Hemmati
ae638966e5
Track outputs correctly
7 years ago
Fahrzin Hemmati
b3c2ec7073
Handle multiple outs per input (for plugins)
7 years ago
Fahrzin Hemmati
a6501e4a2b
Strip trailing / from path
7 years ago
Fahrzin Hemmati
800f8d66bf
Handle srcs in generated files by cd'ing in and out
7 years ago
Feng Xiao
25625b956a
Merge pull request #4590 from PetterS/undefined_fix
...
Fix error in Clang UndefinedBehaviorSanitizer
7 years ago
Petter Strandmark
d14cacd791
Fix error in Clang UndefinedBehaviorSanitizer
...
Pointer Arguments to memcpy can not be null in UndefinedBehaviorSanitizer.
In this case, both the memory and the size was zero. This change allows
protoc to run under UndefinedBehaviorSanitizer.
7 years ago
David Chennells
513b35dc4e
Add VS2017 optional component dependency details to the C# readme ( #4128 )
...
Add mention to the "Build" section of the ReadMe of the requirement of installing an optional component to VS2017.
7 years ago
Yilun Chong
4a09836e6c
Fix python ext build on kokoro ( #4527 )
7 years ago
Ivan Shynkarenka
feb183d895
Appveyor MinGW build
7 years ago
Feng Xiao
92898e9e9c
Merge pull request #4586 from chronoxor/master
...
Fix MinGW build
7 years ago
Ivan Shynkarenka
3474155371
MinGW build failed
7 years ago
Feng Xiao
b0403a7db8
Merge pull request #4583 from chronoxor/master
...
Fix CMake build on Cygwin.
7 years ago
Ivan Shynkarenka
f80a886bc1
Cygwin build failed
7 years ago
Stuart Campbell
05c2d01b61
Fix RepeatedField#delete_if ( #4292 )
...
Make RepeatedField#delete_if consistent with Array#delete_if.
7 years ago
Petar Dambovaliev
0869b1a0a7
Add space between class name and concat message ( #4577 )
...
The class name was linked to the next word in the sentence.
"User\UserRequestis not found in descriptor pool."
7 years ago
Feng Xiao
306f4e3774
Merge pull request #4581 from Yeolar/3rd_rpc_raster
...
Add a third-party RPC implementation: raster
7 years ago