Jon Skeet
71f4d7e682
Tests for new MapField behavior in generated messages
...
Before the change, one test passed (merging from a stream) and one failed (merging from another message object)
2 years ago
Jon Skeet
a7dcf1b6c1
Regenerate C# protos
...
The only change is in generated MergeFrom methods for messages with map fields, which now call MapField.MergeFrom instead of Add.
2 years ago
Jon Skeet
1d990dcb9c
Make the C# generator use the new MapField.MergeFrom method in generated code
2 years ago
Jon Skeet
86fa35913d
Add MapField.MergeFrom to merge maps without failing on duplicate keys
...
This will enable message MergeFrom methods to implement the documented behavior.
2 years ago
Mike Kruskal
f3ebd8bb80
Add placeholders for further testing ( #10336 )
...
* Fix comments in cmake test files
* Add placeholder tests
2 years ago
Matt Fowles Kulukundis
a321b050f5
Merge pull request #10332 from zhangskz/benchmark
...
Revert third_party/benchmark changes from sync
2 years ago
Sandy Zhang
05ba39a34f
Revert third_party/benchmark changes from sync
2 years ago
zhangskz
53f7830b21
Merge pull request #10325 from zhangskz/sync-stage
...
Integrate from Piper for C++, Java, and Python
2 years ago
Sandy Zhang
8de514f3f0
Remove rolled back change from changelog
2 years ago
Adam Cozzette
c10963c571
Remove distcheck and dist_install Kokoro tests ( #10326 )
...
These tests verify that various things can be built/installed/tested
using our published distribution archives, but starting with 22.0 we
will no longer be publishing those.
2 years ago
Sandy Zhang
e6a2bf3890
Fix mispelling in comment supressed ==> suppressed in json_util_test.cc
2 years ago
Sandy Zhang
2712eb8133
Update changelog
2 years ago
Sandy Zhang
c49b2245ae
Merge tag 'refs/tags/sync-piper' into sync-stage
2 years ago
Sandy Zhang
c003a02b59
Sync from Piper @463670061
...
PROTOBUF_SYNC_PIPER
2 years ago
zhangskz
1122a02024
Update python/release.sh to handle delay between twine upload and pip install ( #10324 )
2 years ago
Mike Kruskal
11a21d7297
Create placeholders for windows cmake builds ( #10322 )
2 years ago
NathanGrand
5999a02891
Fix Timestamps fromDate for negative 'exact second' java.sql.Timestamps
2 years ago
Brent Shaffer
c752a43e1e
fix: fix PHP readonly legacy files for nested messages
2 years ago
zhangskz
7cd0b6fbf1
Merge pull request #10318 from protocolbuffers/main-202207262015
...
Merge 21.x into main
2 years ago
zhangskz
de48e9d03f
Merge pull request #10317 from protocolbuffers/21.x-202207262015
...
Update version.json to: 21.5-dev
2 years ago
Mike Kruskal
78efa76172
Add CMake Ninja test ( #10314 )
...
* Initial implementation of cmake tests for linux
* Reverting accidental distcheck changes
* Updating gitignore file to include cmake generated files
* Updating existing cmake tests to use newer docker image
* Adding CMake build that uses Ninja as the generator
* Updating CMake documentation to cover Linux support
* Updating to latest cmake image
2 years ago
Sandy Zhang
fb421cb7ec
Fix CHANGES.txt and delete .orig files from merge conflict
2 years ago
Sandy Zhang
e347942f4b
Merge 21.x into main
2 years ago
Sandy Zhang
735e1ef561
Update version.json to: 21.5-dev
2 years ago
Mike Kruskal
b5380c3c3e
Removing partial dependency of test common library on lite test utils ( #10316 )
2 years ago
Alexander Neumann
30f273cb9b
cmake: use add_compile_options instead of add_definitions for compile options ( #10293 )
2 years ago
Matt Fowles Kulukundis
b43e8cfb00
Merge pull request #9391 from datastack-net/feature/csharp-pretty-json
...
Support indented JSON formatting in C#
2 years ago
Bouke Versteegh
69dcd1e475
Support indented JSON formatting in csharp
2 years ago
Mike Kruskal
3edec1f288
Implement cmake linux tests ( #10306 )
...
* Initial implementation of cmake tests for linux
* Reverting accidental distcheck changes
* Deleting extract_includes.bat now that it's been replaced with the generated file_lists.cmake
* Removing unnecessary endif conditions
2 years ago
zhangskz
3cc6b0145c
Merge pull request #10313 from protocolbuffers/21.x-202207252111
...
Merge 21.4 version update and changelog
2 years ago
Sandy Zhang
0ba022556e
Update changelog
2 years ago
Protobuf Team Bot
c9869dc780
Updating version.json and repo version numbers to: 21.4
2 years ago
Yash Tibrewal
c2548258b9
Reduce the required alignment of ArenaString from 8 to 4 ( #10298 )
2 years ago
Sandy Zhang
897b2cebb4
Sync from Piper @review/462489109
...
PROTOBUF_SYNC_PIPER
2 years ago
Sandy Zhang
aebdd0885f
Sync from Piper @463129388
...
PROTOBUF_SYNC_PIPER
2 years ago
Adam Cozzette
13c8a056f9
Merge pull request #10300 from acozzette/merge-21-x
...
Merge 21.x into main
2 years ago
Adam Cozzette
47fc65348b
Update version in java/protoc/pom.xml
2 years ago
Adam Cozzette
41762566dd
Merge branch '21.x' into merge-21-x
2 years ago
Adam Cozzette
ddb21b2dff
Update version.json to: 21.4-dev ( #10299 )
2 years ago
Adam Cozzette
4e7c56cf43
Update developer username in package.xml ( #10297 )
...
I hit an error uploading to pecl.php.net, and I suspect it is because we
have changed to a new username but still have the old username in
package.xml.
2 years ago
Adam Cozzette
e7835368be
Update the release date in package.xml ( #10295 )
...
We did not finish the release yesterday, so this change updates the PHP
release date to today.
2 years ago
deannagarcia
316a97bfea
Merge pull request #10290 from liutikas/patch-1
...
Upgrade to com.google:google:5 for protoc artifact
2 years ago
Adam Cozzette
4d2d935f6c
Merge pull request #10289 from protocolbuffers/21.x-202207202258
...
Updating version.json and repo version numbers to: 21.3
2 years ago
Matt Fowles Kulukundis
36a92e2b7b
Merge pull request #10269 from jskeet/escape_members
...
Disambiguate generated properties in C#
2 years ago
Jon Skeet
c691779416
Generated C# code/descriptor set for reserved name test
2 years ago
Jon Skeet
d9394ecdb1
Add underscore at the end of known common members for C# properties
...
This won't remove all possibilities of naming collisions, but will address the simplest ones.
The "test" is just to add all the reserved names in a proto file: if the generated code builds, it works.
Note that before this change, using any of these field names would result in a compile-time error, so this is not a breaking change.
Generated code is in the next commit.
Fixes #8810
2 years ago
Mike Kruskal
7ff876d758
Migrating macos php builds from 7.0/7.3 to 7.4/8.0 ( #10274 )
...
* Migrating macos php builds from 7.0/7.3 to 7.4/8.0
* Removing local comments
* Fix kokoro issues
* Further cleanup
* Fix permissions in Ruby release test
2 years ago
Matt Fowles Kulukundis
b3f2270de1
Merge pull request #10165 from oontvoo/patch-1
...
Add __unused to variable to silence unused-variable warning
2 years ago
Aurimas
cc13108863
Update java/protoc
2 years ago
Aurimas
ddec86de81
Upgrade to com.google:google:5 for protoc artifact
...
Protoc depeneds on com.google:google:1 which is unsigned. Which means users
the validate signatures have to add it to an allow list. Upgrading makes it no longer
necessary.
Compare:
https://repo1.maven.org/maven2/com/google/google/1
vs
https://repo1.maven.org/maven2/com/google/google/5
2 years ago