Deanna Garcia
bbcc9ca8e8
Specify language of extension
2 years ago
Deanna Garcia
100a025766
Change header installation now that we are using pip
2 years ago
Deanna Garcia
d7fe9387f4
Attempt to fix tests
2 years ago
Deanna Garcia
af9e5b7333
Try to fix debug statement again
2 years ago
Deanna Garcia
13c90ce437
Fix debug statement
2 years ago
Deanna Garcia
ca3f2a6f0f
Add debug statement
2 years ago
Deanna Garcia
68d3ae7586
Fix cmake
2 years ago
Deanna Garcia
6f17e81048
Add pkg_files to cmake defs
2 years ago
Deanna Garcia
f887fe30aa
Add lots more source files
2 years ago
Deanna Garcia
4efa9c3c40
Add manifest
2 years ago
Deanna Garcia
d21ea652dd
Add include dir to setup.py
2 years ago
Deanna Garcia
c740802bcb
Update proto dep and setup.py
2 years ago
Deanna Garcia
52f21e30f8
Change find comment
2 years ago
Deanna Garcia
3cfab5d1ef
Attempt to fix test
2 years ago
Deanna Garcia
031a12b6a5
Move pyext to python dir and change test installation
2 years ago
Deanna Garcia
30b9f9a2da
Change directory to look for wheels
2 years ago
Deanna Garcia
c0d3ff4ca5
Change test name and download path
2 years ago
Deanna Garcia
f0c0385a5a
Fix workspace
2 years ago
Deanna Garcia
68e6248950
Fix workspace sha
2 years ago
Deanna Garcia
ac7af1d64c
Fix dependency
2 years ago
deannagarcia
4ae547f9f8
Merge branch 'main' into srcWhl
2 years ago
Deanna Garcia
9880136636
Add bazel target for source distribution
2 years ago
Eric Salo
02cf7aaa1d
upb_Array_Resize() now correctly clears new values
...
PiperOrigin-RevId: 496255949
2 years ago
Eric Salo
8797415383
mark the public array accessors as UPB_API
...
PiperOrigin-RevId: 496140567
2 years ago
Eric Salo
abed1995a9
implement some simple array accessors for Dart
...
add upb_Message_GetOrCreateMutableArray()
add some array wrappers to upbc_so.c
PiperOrigin-RevId: 495976356
2 years ago
Eric Salo
4f8734694c
rename the array accessors to match the other accessors
...
upb_MiniTable_GetArray() -> upb_Message_GetArray()
upb_MiniTable_GetMutableArray() -> upb_Message_GetMutableArray()
upb_MiniTable_ResizeArray() -> upb_Message_ResizeArray()
PiperOrigin-RevId: 495809284
2 years ago
Protobuf Team Bot
85fcfcb792
Fix a param naming issue for upb_Message_InsertMapEntry. Should just be mini_table instead of map_entry_mini_table
...
PiperOrigin-RevId: 495621671
2 years ago
Eric Salo
d9ee7f5b10
implement end-to-end dart unit test
...
PiperOrigin-RevId: 495384181
2 years ago
Eric Salo
9ab09b47fa
fix unset mini table field presence bug
...
PiperOrigin-RevId: 495373227
2 years ago
Joshua Haberman
fa2481ddeb
Unified accessor for WhichOneof().
...
PiperOrigin-RevId: 495220998
2 years ago
Protobuf Team Bot
9e9d43b462
Add support for promoting unlinked map fields from unknown to upb_Map.
...
PiperOrigin-RevId: 494820200
2 years ago
Mike Kruskal
ea1996f40d
Separate pip and fuzzing_py wrappers into separate files.
...
This will allow cases where downstream repos don't depend on fuzzing_py but do use pip.
PiperOrigin-RevId: 494767924
2 years ago
Eric Salo
11fc16328a
fix fuzzer failure due to a bad map descriptor
...
Maps may only have exactly two fields. Fail when we see otherwise.
PiperOrigin-RevId: 494634279
2 years ago
Eric Salo
e6e48dfea3
another dart code generator snapshot
...
PiperOrigin-RevId: 494618679
2 years ago
Joshua Haberman
4a581e5cd0
Fixed Lexan builds that were broken by cl/494400285.
...
PiperOrigin-RevId: 494428378
2 years ago
Eric Salo
1b0b06f082
allow reserved enums to be negative
...
https://github.com/protocolbuffers/upb/issues/1024
PiperOrigin-RevId: 494414605
2 years ago
Joshua Haberman
68d1d91475
Separated out buffering code into upb_EpsCopyInputStream.
...
This mirrors the structure of C++ protobuf, which has an EpsCopyInputStream class.
This will lay the foundation for making EpsCopyInputStream capable of true streaming, by reading its input from a ZeroCopyInputStream. It also lets us test EpsCopyInputStream separately from the decoder: see the new unit test that fuzzes upb_EpsCopyInputStream.
After this CL is submitted, the two decoders (the normal decoder and the fast decoder) should no longer be accessing the members of upb_EpsCopyInputStream.
PiperOrigin-RevId: 494400285
2 years ago
Protobuf Team Bot
9e89142283
Add upb_MiniTableField_IsClosedEnum API.
...
PiperOrigin-RevId: 494269273
2 years ago
Protobuf Team Bot
e231dc955b
Fix Upb Unknown to repeated message promotion when initial message has null upb_Array.
...
PiperOrigin-RevId: 494044387
2 years ago
Jie Luo
0def88b582
Internal change only
...
PiperOrigin-RevId: 493925498
2 years ago
Eric Salo
3bac8780cb
normalize most of the message accessors:
...
- Rename the accessors from upb_MiniTable_Foo() to upb_Message_Foo()
- delete _upb_Message_Clearext() which is now redundant
- Allow the getters and setters to accept both extension and non-extension fields
- Add a (upb_Arena*) param to setters (only needed for extensions)
- Change setters from void to bool (since extensions may require allocations)
PiperOrigin-RevId: 493760399
2 years ago
Jie Luo
44e6f6699a
Internal change only
...
PiperOrigin-RevId: 493742523
2 years ago
Protobuf Team Bot
79abc9f1a1
Implement UPB_UNREACHABLE for Visual C++.
...
See https://stackoverflow.com/a/60802890 .
PiperOrigin-RevId: 493726837
2 years ago
Jie Luo
0980a7b418
Internal change only
...
PiperOrigin-RevId: 493712594
2 years ago
Eric Salo
3f1c7f121b
update PHP and Ruby to use the new accessors, delete the old ones
...
PiperOrigin-RevId: 493109199
2 years ago
Mike Kruskal
1fee6d8327
Expand visibility of amalgamation targets.
...
This will give us more freedom to refactor PHP and Ruby runtimes as part of go/protobuf-bazelification.
PiperOrigin-RevId: 493074147
2 years ago
Eric Salo
a07c5d3fe8
snapshot some pending dart work
...
PiperOrigin-RevId: 493073994
2 years ago
Deanna Garcia
92dbe4b8bb
Add license file to pypi wheels.
...
Addresses https://github.com/protocolbuffers/protobuf/issues/10936 .
This requires updating to the newest version of rules_python to use the new py_wheel API that includes a parameter for extra distinfo files
PiperOrigin-RevId: 493060514
2 years ago
Eric Salo
b747edb830
append "ByDef" to names of message accessors that use reflection
...
PiperOrigin-RevId: 493018484
2 years ago
Eric Salo
a3e49f90ac
add some formatted append functions to the string class
...
PiperOrigin-RevId: 492571663
2 years ago