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
cfdd016bed
PyUpb_CheckStrData() -> PyUpb_VerifyStrData()
3 years ago
Joshua Haberman
e613af9e87
Fixed test by checking string argument properly.
3 years ago
Joshua Haberman
75b6291e40
Renamed upb_FieldType_* -> kUpb_FieldType_*
3 years ago
Joshua Haberman
392531c14f
Fixed test by implementing FindMethodByName().
3 years ago
Joshua Haberman
3eeea895dd
Fixed FieldDescriptor test.
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
c2053d2bc2
Addressed PR comment.
3 years ago
Joshua Haberman
00c106f551
Addressed PR comments.
3 years ago
Joshua Haberman
7a24340a26
Fixed some more tests.
3 years ago
Joshua Haberman
a754a370a9
Added beginnings of support for descriptor DB.
3 years ago
Joshua Haberman
8f0a2cd603
Implemented the behavior of ignoring duplicate added filenames.
3 years ago
Joshua Haberman
89ff28cead
Fixed a few tests: extensions are not fields.
3 years ago
Joshua Haberman
e4c88ad35a
Addressed PR comments.
3 years ago
Joshua Haberman
cc9b486cf1
Added comment for db member.
3 years ago
Joshua Haberman
b0f81596be
All tests passing!
3 years ago
Joshua Haberman
55e5da5489
Implemented DescriptorPool methods.
3 years ago
Joshua Haberman
eb38a2a608
Some more cleanups before sending for PR.
3 years ago
Joshua Haberman
a155418fea
Addressed PR comment.
3 years ago
Joshua Haberman
e3cd0586bc
More PR comments.
3 years ago
Joshua Haberman
deddc20f0c
Adds implementations for most descriptor objects.
3 years ago
Joshua Haberman
b66344a476
Fixed the GC object to use the appropriate GC functions.
3 years ago
Joshua Haberman
cdc9fcd93a
Addressed PR comments.
3 years ago
Joshua Haberman
eec1a45e02
Formatted files with clang-format.
3 years ago
Joshua Haberman
94ece04552
Initial commit of Python+upb.
3 years ago