Adam Cozzette
403df1d047
Added a descriptor option number for ocaml-protoc-plugin
5 years ago
Joshua Haberman
8393d4833f
Nearly all known cases (map, repeated field, and top-level) have been addressed.
...
The only case that doesn't work is decoding a wrapper type from JSON
at the top level. This doesn't make sense and probably no users do it
I changed it to throw.
5 years ago
Paul Yang
c53e5b8e11
Avoid too much overhead in layout_init ( #6716 )
...
* Avoid initializing primitive fields in layout_init
* Avoid initializing string/bytes/message fields in layout_init
* Lazily create map when needed
* Lazily create repeated fields
* Change layout_init to only do memcpy
* Fix test for php-7.0
* Fix conformance test where default value of string/message map is not encoded
* Fix test for zts
* Clean up
* Fix comments
5 years ago
Rafi Kamal
3fa17ca0bd
Merge pull request #6811 from elharo/guava
...
Update GSON and errorprone
5 years ago
Tapasweni Pathak
7ce420298a
fix one more line
5 years ago
Tapasweni Pathak
50fb80cdd8
fix check for undefined behavior
5 years ago
Tapasweni Pathak
fbbbc45ae5
address review
5 years ago
Tapasweni Pathak
a971a4ef1f
Fix: Undefined behavior in UTF8GenericScanFastAscii
5 years ago
Rafi Kamal
620d8fb287
Merge pull request #6810 from elharo/patch-6
...
Update to 3.10.0 in docs
5 years ago
Joshua Haberman
bd253f0130
Fixed equality, and extended to repeated fields and maps.
5 years ago
ST-DDT
4252b7aff3
Fix broken javadoc generation for repeated enum values
5 years ago
Yannic
fc7c65a258
Update six.BUILD
5 years ago
Yannic
3581ee24e9
Update six.BUILD
5 years ago
Yannic
e907a8781d
Update protobuf_deps.bzl
5 years ago
Yannic Bonenberger
29d650aefb
[bazel] Add `strip_prefix` to download of @six
...
This way, we can avoid an unnecessary copy.
5 years ago
Elliotte Rusty Harold
906b57475d
merge
5 years ago
Elliotte Rusty Harold
ed69e88695
update error_prone and gson
5 years ago
Elliotte Rusty Harold
939a6f5de6
Merge pull request #1 from protocolbuffers/master
...
merge
5 years ago
Elliotte Rusty Harold
82db4520a1
Update to 3.10.0 in docs
5 years ago
Rafi Kamal
342a2d627c
Merge pull request #6752 from rafi-kamal/201910111201
...
Down integrate Google3 changes to Github
5 years ago
Rafi Kamal
5e6d57bd8c
Merge branch '201910111201' of https://github.com/rafi-kamal/protobuf into 201910111201
5 years ago
Rafi Kamal
80734b2e1a
Reverted changes in conformance/failure_list_js.txt
5 years ago
Christian Maurer
2fc88527e0
c++ remove warning switch contains default but no case
5 years ago
Rafi Kamal
3f4f315266
Merge pull request #6783 from suztomo/install_bom
...
Installing BOM before running Java test
5 years ago
Rafi Kamal
c0acff1c4e
Merge pull request #6786 from donaldchai/master
...
Add com.google.truth as test dependencies
5 years ago
Donald Chai
175ddfc175
Add com.google.truth as test dependencies
...
This goes hand-in-hand with other dependencies like junit, but seems to
only have been used from util/pom.xml.
5 years ago
Tomo Suzuki
ca25badcbe
Installing BOM before running Java test
5 years ago
Jan Tattermusch
c08b7512cf
Merge pull request #6759 from ObsidianMinor/csharp/extension-length-checks
...
Add length checks to ExtensionCollection
5 years ago
Joshua Haberman
9cfb12bf0a
Tests pass for all common operations.
...
A few things that don't work or aren't tested yet:
- wrappers at the top level
- equality checking for not-yet-expanded wrappers.
5 years ago
Joshua Haberman
969d245bd3
WIP: first steps towards lazily creating wrappers.
5 years ago
Christian Maurer
912d8195da
c++ remove unused parameters
5 years ago
Christian Maurer
6f0f382d56
c++ remove conversion warning in MapEntryFuncs::ByteSizeLong
5 years ago
woegster
b467aa1614
more potential windows macro redefinition
5 years ago
woegster
bba24bcb6b
avoid c++ macro redifitnion on windows
5 years ago
Daniel Johansen
e93dea7746
update Cmake example to build Visual Studio to newest 2019 version.
5 years ago
Jan Tattermusch
2f7f670134
Merge pull request #6530 from prat0088/csharp-ensuresize
...
c# feature(RepeatedField): Capacity property to resize the internal array
5 years ago
Joshua Haberman
77646a45e2
Merge pull request #6758 from XrXr/ub
...
Remove unused argument to avoid UB
5 years ago
debugx
9fdb2cf2bb
fixed typo
5 years ago
Juraj Lutter
982222e71a
Include cmath instead of math.h
...
This fixes build on, at least, NetBSD 8.1 with gcc 5.5 and SmartOS with gcc 7.
5 years ago
Rafi Kamal
3a505c2ded
Merge pull request #6744 from elharo/patch-5
...
Java: Update to Guava 28.1-android
5 years ago
Rafi Kamal
e249134eb8
Merge pull request #6756 from haberman/ruby-empty-names
...
Fixed bug in Ruby DSL when no names are defined in a file.
5 years ago
Rafi Kamal
bf36d04348
Merge pull request #6757 from haberman/ruby-empty-names-release
...
Ported names fix for Ruby to the release branch.
5 years ago
Sydney Acksman
f50bc62feb
Add length checks to ExtensionCollection
5 years ago
Alan Wu
c1ba7c643c
Remove unused argument to avoid UB
...
`OneOfDescriptor_each` is registered as a Ruby method which takes zero
parameters, which means it should take one argument.
When Ruby invokes `OneOfDescriptor_each`, it calls it with one parameter
only, which is one less than what `OneOfDescriptor_each` takes before
this commit. Calling a function with the wrong number of argument is
technically undefined behavior.
See also: §6.5.2.2, N1256
5 years ago
Joshua Haberman
35da84bf64
Ported names fix for Ruby to the release branch.
5 years ago
Joshua Haberman
09a8639482
Fixed bug in Ruby DSL when no names are defined in a file.
5 years ago
Rafi Kamal
27c1defe35
Merge branch 'master' into 201910111201
5 years ago
Rafi Kamal
6c92f9dff1
Down integrate to GitHub
5 years ago
Rafi Kamal
d8e678aae4
Merge pull request #6728 from protocolbuffers/3.10.x-merge
...
Merge 3.10.x with master and increment the version number
5 years ago
Paul Yang
2dec82e1e0
Fix conformance test ( #6750 )
...
* Fix conformance test
Default value of string/message map is not encoded
* Fix zts build
5 years ago