543a0ce8f2 Fixes for PHP. (#286)
93e2a40881 MSVC 2019 Fixes (#285)
a1c2caeb25 More arena tests. (#279)
16facab490 Created an amalgamation without handlers, and fixed some bugs. (#283)
22182e6e54 Simplified epoch day algorithm. (#282)
55f5bcd62c Add upb_symtab_lookupfile2 (#281)
c26e8db53d Ignore Unknown Enum Value (#280)
6c4acba610 Implemented upb_arena_fuse() (#278)
2b1e7dc1cc Arena refactor: moves cleanup list into regular blocks (#277)
a0ae30bd16 Remove bytes allocated measurement functions. (#276)
025cc2ec3d New arena benchmarks that actually hit the heap. (#275)
cef720e9b0 Parser bugfix and updated generated file. (#273)
262bcbcada Updated generated files. (#274)
0842f88211 Support for proto3 optional. (#270)
d638d74d1b Add load statements for @rules_proto (#271)
2559e78aa3 Separated C++ wrappers into separate files in a backward-compatible way. (#265)
9bd23dab42 Changed upb status to suit GCC10's warning about strncpy(). (#268)
38a1045975 Added a has_foo() generated method for proto3 submessage fields. (#266)
ef25ea5281 Added Kokoro verification of the ASAN build. (#220)
378cbbc3cc Updated to new protobuf version, and added support for packed=false. (#264)
08b6d2d6fd Rewrite of the decoder (#263)
git-subtree-dir: third_party/upb
git-subtree-split: 543a0ce8f21709fe7e65ac5a53cc4136d7b4216c
4e2505edaa Merge pull request #259 from haberman/rmsubmodule
91fd76cc9c Merge pull request #258 from haberman/bazel_version
d0d5339620 Removed .gitmodules, we don't use submodules any more.
6c5d5afc43 Remove compatibility code for old Bazel versions.
c1357afb2e Merge pull request #230 from moroten/maybe-deps
a3d693544b Merge pull request #257 from haberman/warnings2
63e673383b Fixed narrowing warnings in text_encode.c.
39bc93a527 Merge pull request #252 from haberman/jsondecode
0fdd65f223 Merge branch 'master' into jsondecode
82af3d661c Merge pull request #255 from protocolbuffers/const-array
90b3a20af0 Making sure _upb_fieldtype_to_sizelg2 is readonly
5667a7a806 Removed stray assert, causing C90 build errors.
23a5af3513 [json] fixed all remaining conformance bugs.
6ec4df82c1 Updated other parts of upb for new JSON name API.
a292261aeb Added JSON decoder to conformance tests, and fixed tons of bugs.
d49c1db6c2 New JSON decoder, string->msg using reflection.
f593289087 Merge branch 'master' into maybe-deps
0c2046f732 Make workspace_deps.bzl overridable using maybe()
git-subtree-dir: third_party/upb
git-subtree-split: 4e2505edaa325bcf0ffd69eefa7cb810d6dde861
I discovered a couple of existing shortcomings while implementing this
client that mean this is *not yet ready for inclusion in CI*. I
nonetheless want to get an early review and integrate this to the master
branch, in the interest of small easily reviewable code changes.
The first problem was that the bazel build has apparently never pulled
roots.pem in as a data dependency. This appears not to have been a
problem until XDS enters into the mix. This has been added into the
Bazel build with a small change to the pyx_library rule.
The larger problem is that there is currently no public Python API to
get a peer's identity from the client side. This is crucial to
determining the correctness of an interaction of a client-server pair
under XDS. I intend to add such an method to the RpcContext interface in
an upcoming PR and use it in the interop client. For the moment, I
simply fake the peer details.
Finally, I add a knob to run_xds_tests.py allowing multiple instances of
this test to exist at once. Multiple instances forwarding to the same
port cannot exist on GCE, so this enables multiple people to run tests
at the same time.
ce1a399a19 Text format serializer for upb_msg (#242)
888f35cae6 Merge pull request #241 from haberman/conformance-fixes
46b93f8cea A bit more cleanup in the decoder.
ad2eb65a4b Refactored conformance_upb to use reflection, and fixed a decoder bug.
a202c5f84d Merge pull request #234 from haberman/parser
4c974cf72d Fixed generated files.
9a870d957f Removed upb_decframe and made ptr an explicit parameter and return.
a6c54729df Added UPB_ASSUME(), to work around warnings when optimization is enabled:
9e1f89ef2c Merge pull request #224 from haberman/maps
ce0496eb86 Merge branch 'master' into maps
e911aae5f6 Factored upb_map_entry into a shared place.
4c1a97ae9c Merge branch 'master' into maps
59fe620fa0 Merge branch 'maps' of github.com:haberman/upb into maps
744f8588da Cleanup to remove END_GROUP from descriptortype -> type tables.
f9efbcd5d6 Added missing append fallback.
c4b64e6a20 Slight simplification: NULL arena will avoid creating a new sub-object.
d541566a7b Moved upb_array_new() to upb/reflection.h where it belongs.
059f226d41 Unit tests for maps generated code.
520ddc1f11 c89 fixes.
806c8c9c6e Removed obsolete testing files.
2a85bef825 Generated code interface for maps is complete, though not yet tested.
7f5fe52dfa Fixes for non-C89 code.
6c2d732082 Fixed upb's map parsing to overwrite existing elements.
090a0c33a4 Fixed VLA error and rewrote the map parsing code to be clearer.
0fbae939d2 Removed stray fprintf().
572ba75d1c Removed comma after final enumerator.
c9135e5276 Fixed the build.
d040aa1302 Merge branch 'master' into maps
e18541a9dd Added some missing files.
92509cc3b2 Rename lua_test.
382f92a87f Maps encode and decode successfully!
4c57b1fefd More progress on Lua extension.
d6c3152c0b Added more Lua tests that are passing.
ae66e571d4 Fixed some bugs and added a few more tests.
bfc86d3577 Fixed many bugs, basic Lua test passes!
b518b06d75 Lua test program is loaded successfully.
6ae4a2694c Merge branch 'maps' of github.com:haberman/upb into maps
cc6db9fb0b Fixed crash bug.
88d996132e Added Lua main.c test driver program.
626ec4bfcf Everything builds, test pass except test_decoder.
5239655b99 WIP.
23825332e1 WIP.
27b95c969a WIP.
9a360ad43d Moved legacy_msg_reflection.{c,h} -> reflection.{c.h}.
dc58b657ee New reflection API doesn't need types as parameters for map/array.
c486da3970 WIP.
b76040cfcc Merge branch 'maps' of github.com:haberman/upb into maps
cc8e894b63 Merge branch 'master' into maps
946880c105 Merge branch 'master' into maps
1461da5056 WIP.
0a07f2714b Merge branch 'master' into maps
18de110b00 Merge branch 'master' into maps
283857f308 WIP.
5dea3f8486 Merge branch 'master' into maps
07ac6f0e8e Merge branch 'master' into maps
0c64c4b594 WIP.
git-subtree-dir: third_party/upb
git-subtree-split: ce1a399a19f11683d58ba4c2569ec3fdd5a67621