Thomas Van Lenten
2360bacd12
Tweak the union used for Extensions to support old generated code.
...
Support the old field name as well as the union to keep the old generated code
building.
Fixes #7555
5 years ago
Joshua Haberman
0ff639994d
Fixed Python release script to upload using twine instead of distutils. ( #7571 )
5 years ago
Joshua Haberman
2d654e8198
Merge pull request #7559 from haberman/merge-312
...
Merge the 3.12.x branch to master
5 years ago
Jan Tattermusch
30d5b7dbe4
Merge pull request #7561 from jtattermusch/csharp_project_cleanup
...
C# project cleanup for dotnet SDK 3.1
5 years ago
Jan Tattermusch
040b2a6d07
C# project cleanup
5 years ago
Joshua Haberman
c077d949d8
Merge branch '3.12.x' into merge-312
5 years ago
Joshua Haberman
678da4f76e
Updated the changelog for the 3.12.2 release.
5 years ago
Joshua Haberman
beeb621f50
Update protobuf version ( #7557 )
5 years ago
Joshua Haberman
746c46ed9d
Switch to using git@ for clone, to avoid having to enter password. ( #7556 )
5 years ago
Joshua Haberman
15d0cd714d
Merge pull request #7551 from haberman/sync-stage
...
Integrate from Piper for C++, Java, and Python
5 years ago
Joshua Haberman
66a189f6b5
Added Changelog entries for Google-internal changes.
5 years ago
Joshua Haberman
eee43838f3
Merge branch 'sync-piper' into sync-stage
...
# Conflicts:
# java/core/src/test/java/com/google/protobuf/TextFormatTest.java
5 years ago
Joshua Haberman
0a737d8eb0
Sync from Piper @313142438
...
PROTOBUF_SYNC_PIPER
5 years ago
Stanley Cheung
ef22086980
Fix :protobuf_objc bazel target ( #7538 )
...
* Potential 3.12 ObjC bazel patch
* Add test targets to bazel test
* Remove :protobuf_objc test target
5 years ago
Stanley Cheung
29de97cc5d
Cherry-pick of df719723: Simplify template exporting macros ( #7539 )
...
* Cherry-pick of df719723: Simplify template exporting macros
* Fix macro usage
5 years ago
Joshua Haberman
a37cc13b2f
Added changelog entry for 3.12.1.
5 years ago
Joshua Haberman
6ad138d85a
Update protobuf version ( #7535 )
5 years ago
Evan Klitzke
39d730dd96
Use lexical-binding in protobuf-mode.el
5 years ago
Daniel Azuma
cf81f38b5d
Restore binary builds of Ruby 2.3 and 2.4 ( #7529 ) ( #7531 )
5 years ago
Daniel Azuma
ba1ce70744
Restore binary builds of Ruby 2.3 and 2.4 ( #7529 )
5 years ago
Joshua Haberman
9952e36f92
Merge release branch into master. ( #7517 )
...
* Added background information about proto3 presence. (#7501 )
* Fixed bug in map key sorting for Java TextFormat. (#7508 )
Fixes: https://github.com/protocolbuffers/protobuf/issues/7505
* Update protobuf version
* Added a changelog entry about the Java fix. (#7516 )
5 years ago
Joshua Haberman
0dd036d675
Added a changelog entry about the Java fix. ( #7516 )
5 years ago
Joshua Haberman
e90b71cdee
Update protobuf version
5 years ago
Protobuf Team
63da77bc97
Project import generated by Copybara
...
PiperOrigin-RevId: 311748964
5 years ago
Joshua Haberman
7276738e79
Fixed bug in map key sorting for Java TextFormat. ( #7508 )
...
Fixes: https://github.com/protocolbuffers/protobuf/issues/7505
5 years ago
listonjesse
2ae7cf0e03
Auxillary -> Auxiliary
5 years ago
Joshua Haberman
6ed738305b
Sync from Piper @311396324
...
PROTOBUF_SYNC_PIPER
5 years ago
Joshua Haberman
4bbdffacf2
Added background information about proto3 presence. ( #7501 )
5 years ago
Joshua Haberman
8053525846
Updated Changelog for 3.12.0-rc2.
5 years ago
Joshua Haberman
73e48b4fb0
Merge pull request #7494 from haberman/3.12.x-202005121247
...
Update protobuf version to 3.12.0-rc2
5 years ago
Joshua Haberman
f597a24627
Update protobuf version
5 years ago
Joshua Haberman
51199fcba2
Merge pull request #7491 from haberman/cherry
...
Cherry-pick fixes onto 3.12.x branch for 3.12.0-rc2
5 years ago
Joshua Haberman
01e8c0fa34
Cherry-pick the fix to #7480 from #7485 .
5 years ago
Joshua Haberman
c0b1ce00f3
Cherry-pick the fix for https://github.com/protocolbuffers/protobuf/issues/7463 .
5 years ago
Jon Skeet
3c3646fa78
Implement HasPresence for C#
...
FieldDescriptor.HasPresence returns true if both ClearValue and HasValue (on the accessor) can be expected to work. Some fields have a working ClearValue, but no HasValue; HasPresence returns false for those fields.
Generally:
- Extension fields have presence if and only if they're singular
- Repeated fields do not support presence
- Map fields do not support presence
- Message fields support presence
- Oneof fields support presence (this includes synthetic oneof fields, so that covers proto3 optional singular fields)
- Proto2 singular primitive fields support presence
- Proto3 singular primitive fields do not support presence (unless they're in a oneof, covered above)
5 years ago
Jan Tattermusch
fc5ded36bc
Merge pull request #7434 from jtattermusch/csharp_expose_options
...
C#: Get rid of broken GetOption API and expose the "GetOptions()" method on descriptors instead
5 years ago
Jon Skeet
807ea2f352
Fix to C# support library code
...
(This was the only use of a HasXyz property for a message type.)
5 years ago
Jon Skeet
13df985bff
Regenerate C# code based on the previous commit
...
(This removes the Has/Clear members for message types in proto2.)
5 years ago
Jon Skeet
6a84e31818
Don't generate Has/Clear members for proto2 message fields.
...
This is a breaking change in terms of proto2 code generation: users who were previously using these members will have to change to null checks for message fields.
After toying with removing Has/Clear for proto2 oneof fields, I've left them alone in this commit, for consistency with other languages. The inconsistency between proto2 and proto3 won't come up here, because proto3 oneof fields can never be explicitly optional.
Fixes #7395 .
5 years ago
Joshua Haberman
6b5fb807c0
Sync from Piper @310858019
...
PROTOBUF_SYNC_PIPER
5 years ago
Joshua Haberman
2d80a70048
Sync from Piper @310457838
...
PROTOBUF_SYNC_PIPER
5 years ago
Paul Yang
d001f8cee4
Ignore unknown enum value when ignore_unknown specified ( #7455 ) ( #7462 )
5 years ago
Joshua Haberman
2ac29ae5d4
Sync from Piper @310014675
...
PROTOBUF_SYNC_PIPER
5 years ago
Joshua Haberman
204f99488c
Use the name from the descriptor instead of RTTI. ( #7465 )
5 years ago
Joshua Haberman
7eb207c574
Merge pull request #7464 from haberman/sync-stage
...
Integrate from Piper for C++, Java, and Python
5 years ago
Jan Tattermusch
a690227398
Merge pull request #7351 from jtattermusch/protobuf_csharp_new_parsing
...
New Span-based C# parsing logic
5 years ago
Joshua Haberman
c05b55880f
Sync from Piper @309848308
...
PROTOBUF_SYNC_PIPER
5 years ago
Joshua Haberman
1119531bb2
Merge branch 'sync-piper' into sync-stage
5 years ago
Paul Yang
317bc83444
Ignore unknown enum value when ignore_unknown specified ( #7455 )
5 years ago
Joshua Haberman
ef7cc81116
Added changelog entry for removing binary gems for Ruby <2.5. ( #7454 )
5 years ago