Joshua Haberman
744f8588da
Cleanup to remove END_GROUP from descriptortype -> type tables.
5 years ago
Joshua Haberman
f9efbcd5d6
Added missing append fallback.
5 years ago
Joshua Haberman
c4b64e6a20
Slight simplification: NULL arena will avoid creating a new sub-object.
5 years ago
Joshua Haberman
d541566a7b
Moved upb_array_new() to upb/reflection.h where it belongs.
5 years ago
Joshua Haberman
059f226d41
Unit tests for maps generated code.
5 years ago
Joshua Haberman
520ddc1f11
c89 fixes.
5 years ago
Joshua Haberman
806c8c9c6e
Removed obsolete testing files.
5 years ago
Joshua Haberman
2a85bef825
Generated code interface for maps is complete, though not yet tested.
5 years ago
Joshua Haberman
7f5fe52dfa
Fixes for non-C89 code.
5 years ago
Joshua Haberman
6c2d732082
Fixed upb's map parsing to overwrite existing elements.
5 years ago
Joshua Haberman
090a0c33a4
Fixed VLA error and rewrote the map parsing code to be clearer.
5 years ago
Joshua Haberman
0fbae939d2
Removed stray fprintf().
5 years ago
Joshua Haberman
572ba75d1c
Removed comma after final enumerator.
5 years ago
Joshua Haberman
c9135e5276
Fixed the build.
5 years ago
Joshua Haberman
d040aa1302
Merge branch 'master' into maps
5 years ago
Joshua Haberman
e18541a9dd
Added some missing files.
5 years ago
Joshua Haberman
2a25fd557e
Merge pull request #226 from lizan/upb_bazel_version
...
bazel: prefix bazel_version repository
5 years ago
Joshua Haberman
92509cc3b2
Rename lua_test.
5 years ago
Joshua Haberman
382f92a87f
Maps encode and decode successfully!
5 years ago
Joshua Haberman
4c57b1fefd
More progress on Lua extension.
5 years ago
Joshua Haberman
d6c3152c0b
Added more Lua tests that are passing.
...
Also ripped out the ctype checking in upb_table, it
was not helpful (didn't help catch bugs) but was causing
problems.
5 years ago
Joshua Haberman
ae66e571d4
Fixed some bugs and added a few more tests.
5 years ago
Joshua Haberman
bfc86d3577
Fixed many bugs, basic Lua test passes!
5 years ago
Joshua Haberman
b518b06d75
Lua test program is loaded successfully.
5 years ago
Joshua Haberman
6ae4a2694c
Merge branch 'maps' of github.com:haberman/upb into maps
5 years ago
Joshua Haberman
cc6db9fb0b
Fixed crash bug.
5 years ago
Joshua Haberman
88d996132e
Added Lua main.c test driver program.
5 years ago
Joshua Haberman
626ec4bfcf
Everything builds, test pass except test_decoder.
5 years ago
Joshua Haberman
5239655b99
WIP.
5 years ago
Joshua Haberman
23825332e1
WIP.
5 years ago
Joshua Haberman
27b95c969a
WIP.
5 years ago
Joshua Haberman
8a3ae1ef3e
Merge pull request #229 from veblush/zlib
...
Use github.com as a zlib repo
5 years ago
Esun Kim
34e55c1c56
Use github.com as a zlib repo
5 years ago
Lizan Zhou
bcdfe6b1b0
bazel: use canonical repository name for absl
...
Signed-off-by: Lizan Zhou <lizan@tetrate.io>
5 years ago
Lizan Zhou
b973c06480
prefix bazel_version
...
Signed-off-by: Lizan Zhou <lizan@tetrate.io>
5 years ago
Joshua Haberman
9a360ad43d
Moved legacy_msg_reflection.{c,h} -> reflection.{c.h}.
5 years ago
Joshua Haberman
dc58b657ee
New reflection API doesn't need types as parameters for map/array.
...
All tests are passing again.
5 years ago
Joshua Haberman
c486da3970
WIP.
5 years ago
Joshua Haberman
b76040cfcc
Merge branch 'maps' of github.com:haberman/upb into maps
5 years ago
Joshua Haberman
cc8e894b63
Merge branch 'master' into maps
5 years ago
Joshua Haberman
f32f2fdb25
Merge pull request #221 from haberman/endsubmsg
...
Changed endsubmsg handler to return the closure of the submessage.
5 years ago
Joshua Haberman
ea99941f92
Merge pull request #223 from haberman/timestamp
...
Fixed leap year handling by reworking upb_mktime() -> upb_timegm().
5 years ago
Joshua Haberman
88b1026d26
Fixed leap year handling by reworking upb_mktime() -> upb_timegm().
...
The new function name also better reflects the semantics of the
function. Like timegm(), this function always converts to/from
UTC, not local time.
5 years ago
Joshua Haberman
715718d5a5
Changed endsubmsg handler to return the closure of the submessage.
...
This is a behavior change to help out PHP for the lazy wrappers
optimization.
5 years ago
Joshua Haberman
946880c105
Merge branch 'master' into maps
5 years ago
Joshua Haberman
56589c7276
Merge pull request #219 from haberman/asan
...
Fixed compiler error "error: control reaches end of non-void function".
5 years ago
Joshua Haberman
1ed64db8c2
Fixed compiler error "error: control reaches end of non-void function".
5 years ago
Joshua Haberman
32bed8562a
Merge pull request #217 from haberman/fix-bazel
...
Fixed for Bazel >= 1.0.
5 years ago
Joshua Haberman
5768e68ed7
Fixed for Bazel >= 1.0.
5 years ago
Alan Wu
a73fd86c13
Use memcpy to perform unaligned reads
...
Creating and reading from unaligned pointers is UB and I'm trying to
run upb on a platform (GraalVM) that is sensitive to that unfortunately.
Recent compilers are smart enough to fold the memcpy down to a simple
memory load on platforms that support it, so this should mostly be a
aesthetic change.
5 years ago