Protobuf Team
04cb5af6b6
Fix segmentation fault in python upb when instantiating field via repeated field assignment
...
PiperOrigin-RevId: 451406772
3 years ago
Joshua Haberman
12fffeb9c3
Rename CMessage -> Message, to make the change in https://github.com/protocolbuffers/upb/pull/617 work as intended.
...
The previous change did not have the desired effect, because the generated code uses the class named "Message" instead of "CMessage."
There was no real need to use the class "CMessage" instead of "Message." The new name is simpler and will make the previous change work.
PiperOrigin-RevId: 449309343
3 years ago
Joshua Haberman
3e75131bc1
Fixed Python test by implementing RichCompare() for RepeatedCompositeContainer.
...
PiperOrigin-RevId: 447613334
3 years ago
Joshua Haberman
f70eee4cce
Fixed broken tests by implementing RepeatedScalarContainer.__reduce__.
...
PiperOrigin-RevId: 447125225
3 years ago
Joshua Haberman
1c3d63dc25
Fixed a test by checking for the type of proto.
...
Also labeled a few tests for why we don't pass them.
3 years ago
Joshua Haberman
499c2cc8b1
upb_extreg, upb_msg
3 years ago
Joshua Haberman
ffdcc46390
Fixed a handful of reference leaks found in a debug build of Python ( #484 )
...
* Fixed some reference leaks.
* Fixed a few reference leaks.
* Fixed a few more memory errors.
* Fixed a few more reference leaks.
* Revert minimal_test.py.
* Re-enable limited API.
* Removed some debugging and spurious changes.
* Addressed PR comments.
3 years ago
Joshua Haberman
1c955f37ce
Mass API rename and clang-reformat ( #485 )
...
* Wave 1: upb_fielddef.
* upb_fielddef itself.
* upb_oneofdef.
* upb_msgdef.
* ExtensionRange.
* upb_enumdef
* upb_enumvaldef
* upb_filedef
* upb_methoddef
* upb_servicedef
* upb_symtab
* upb_defpool_init
* upb_wellknown and upb_syntax_t
* Some constants.
* upb_status
* upb_strview
* upb_arena
* upb.h constants
* reflection
* encode
* JSON decode.
* json encode.
* msg_internal.
* Formatted with clang-format.
* Some naming fixups and comment reformatting.
* More refinements.
* A few more stragglers.
* Fixed PyObject_HEAD with semicolon. Removed TODO entries.
3 years ago
Joshua Haberman
5953ac4736
Backed out Reify() signature change.
3 years ago
Joshua Haberman
7de3052fbb
Implemented reverse().
3 years ago
Joshua Haberman
a2e280e865
Fixed slice assignment of unequal length.
3 years ago
Joshua Haberman
1be47593f0
Fixed disconnecting before Clear().
3 years ago
Joshua Haberman
e5d8d28b0f
Addressed PR comments.
3 years ago
Joshua Haberman
54b775d4f4
WIP.
3 years ago
Joshua Haberman
0549fc0ce1
Fixed several tests.
3 years ago
Joshua Haberman
69d948a9cb
Implemented deep copy for repeated fields.
3 years ago
Joshua Haberman
58960e0442
Addressed PR comments.
3 years ago
Joshua Haberman
faac2d8b78
Updated some terminology and added comments.
3 years ago
Joshua Haberman
a949e45075
Added decref in error path.
3 years ago
Joshua Haberman
c8f1de8688
Addressed PR comments.
3 years ago
Joshua Haberman
80776e363d
Changed the style of a few range checks.
3 years ago
Joshua Haberman
5f0978abb7
Added tests for slice deletion and fixed bugs.
3 years ago
Joshua Haberman
2a87c3ddb8
Addressed PR comments.
3 years ago
Joshua Haberman
f6e76190e1
Addressed PR comments.
3 years ago
Joshua Haberman
f85cf27ea4
Fixes to delete algorithm.
3 years ago
Joshua Haberman
d067bd3f41
Addressed PR comments.
3 years ago
Joshua Haberman
2d4ffbf1c4
Addressed PR comments.
3 years ago
Joshua Haberman
455426ec70
Added repeated fields.
3 years ago