Joshua Haberman
ac27e3b317
Remaining fixes to make Python tests pass in google3.
3 years ago
Joshua Haberman
6a94a385f8
Factor out name differences into macros.
3 years ago
Joshua Haberman
936a753290
Added missing ".google3" prefix.
3 years ago
Joshua Haberman
0a858bb57a
Factor out name differences into macros.
3 years ago
Joshua Haberman
61f904efb7
Strip out OSS-only test for google3.
3 years ago
Joshua Haberman
0853c41b9c
Factored out common logic around our python test wrappers.
3 years ago
Joshua Haberman
dd28a2a745
Make minimal_test open-source only for now.
3 years ago
Joshua Haberman
dfc07a8f89
Added explicit dep on :table from Python.
3 years ago
Joshua Haberman
cf7dc19b72
Added explicit cast for freefunc.
3 years ago
Joshua Haberman
b1426546fc
Mark python packaging rules as stripped for google3.
3 years ago
Joshua Haberman
f9c2a1d6ba
Fixed copybara tag.
3 years ago
Joshua Haberman
1e75fbf2c2
Ported api_implementation to py_extension().
3 years ago
Joshua Haberman
711885db8f
Added py_extension().
3 years ago
Joshua Haberman
c56fe27f88
Fix mistake in previous rename: upb_MessageDef_FindFieldByNameWithSize.
3 years ago
Matt Kulukundis
bf04341805
more licenses
3 years ago
Matt Kulukundis
cce4cffd85
more licenses
3 years ago
Matt Kulukundis
9d9e36125c
another license
3 years ago
Joshua Haberman
022ccf54d4
Updated to the HEAD version of Protobuf.
...
This brings in a few new Python tests that are failing.
3 years ago
Joshua Haberman
1938d1f6ac
Added specific issue numbers for the TODOs.
3 years ago
Joshua Haberman
67efea7cf3
Added a TODO about how we are currently including unit tests.
3 years ago
Joshua Haberman
5a10ce7025
Added a Bazel rule to build a binary wheel.
3 years ago
Joshua Haberman
62af892ddf
Fixed the build for Python 3.7.
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
06d6f5c91f
Added test for -0.
3 years ago
Joshua Haberman
bc7b5dcadf
Ported protobuf's dtoa() function for text format and JSON.
3 years ago
Joshua Haberman
bb95a18631
Fixed a bug in the enum value map, fixing a few unit tests.
3 years ago
Joshua Haberman
cfdd016bed
PyUpb_CheckStrData() -> PyUpb_VerifyStrData()
3 years ago
Joshua Haberman
606308c639
Added back missing underscore.
3 years ago
Joshua Haberman
b38e4a4332
Fixed a few cases where we were not checking GetStrData properly.
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
2bdbfc33e5
Addressed PR comments.
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
cd214fe73d
upb_TextEncode.
3 years ago
Joshua Haberman
0c541f3305
Single encode.
3 years ago
Joshua Haberman
72af9dc0cc
Switch to a single upb_Decode.
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
201d2265e3
Variable rename for readability.
3 years ago
Joshua Haberman
8c256cc677
Addressed PR comments.
3 years ago
Joshua Haberman
5953ac4736
Backed out Reify() signature change.
3 years ago
Joshua Haberman
fff8dfb035
Cleaned up reporting of initialization errors.
3 years ago
Joshua Haberman
917f425326
Removed extraneous whitespace.
3 years ago
Joshua Haberman
4c005384d6
A few readability improvements.
3 years ago
Joshua Haberman
d4c0c638b8
Cleaned up ListFields sorting.
3 years ago
Joshua Haberman
d8915b3174
Cleaned up IsInitialized().
3 years ago
Joshua Haberman
cfeb1ad685
Removed extraneous whitespace.
3 years ago
Joshua Haberman
62702b6cb1
Matched text format for maps.
3 years ago