Joshua Haberman
d49c1db6c2
New JSON decoder, string->msg using reflection.
...
This compiles successfully, but I have not executed
it even once.
5 years ago
Joshua Haberman
b409f8cd85
Fixed code generator for upbdefs when a file has no messages.
5 years ago
Joshua Haberman
58010a3f73
Another fix for google import.
5 years ago
Joshua Haberman
4b8c04e521
Ran buildifier and fixed a few things for google3 import.
5 years ago
Joshua Haberman
384cf15b0f
[json encoder] passes almost all conformance tests.
5 years ago
Joshua Haberman
6e9db7dafc
Fixed JSON encoder so that it compiles.
5 years ago
Joshua Haberman
02c89a8b15
Renamed textencode -> text_encode for greater readability. ( #249 )
5 years ago
Joshua Haberman
4c6dcc3c6b
[textformat]: added missing newline when a message opens. ( #245 )
...
* [textformat]: added missing newline when a message opens.
* Added tostring() support to Lua that prints to text format.
Also fixed a gnarly bug that this exposed.
5 years ago
Joshua Haberman
ca512852f3
Fixed parsing for string->double maps. ( #243 )
...
Map parsing/serializing relies on map entries always
having a predictable order. The code that generates
layout was not respecting this in the case of string
keys and primitive values.
5 years ago
Joshua Haberman
ce1a399a19
Text format serializer for upb_msg ( #242 )
...
* WIP, first version of encoder.
* More progress on text encoder.
* A lot of progress on the text printer.
* Added textencode header file.
* Text encoder now passes conformance tests.
These aren't very stringent though, and more testing is needed.
* Print text into static buffer. Passes all conformance tests.
* Fixed kokoro errors.
* Fix for indent depth when printing map fields.
5 years ago
Joshua Haberman
ad2eb65a4b
Refactored conformance_upb to use reflection, and fixed a decoder bug.
5 years ago
Anna R
a27429f265
Add port_def.inc and port_undef.inc to generated code hdrs
5 years ago
Anna R
3797ad2217
port should not be public
5 years ago
Anna R
578dc32208
Set port visibility to public.
5 years ago
Anna R
fc4941183f
Add :port dependencies to libraries that include it
5 years ago
Anna R
de1bc11663
Split port into its own target, add msg.h to :legacy_msg_reflection
5 years ago
Anna R
0b63c75164
Do not strip :descriptor_upbreflection and make some headers public that are used outside of the their module
5 years ago
Joshua Haberman
059f226d41
Unit tests for maps generated code.
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
92509cc3b2
Rename lua_test.
5 years ago
Joshua Haberman
4c57b1fefd
More progress on Lua extension.
5 years ago
Joshua Haberman
bfc86d3577
Fixed many bugs, basic Lua test passes!
5 years ago
Joshua Haberman
5239655b99
WIP.
5 years ago
Joshua Haberman
23825332e1
WIP.
5 years ago
Joshua Haberman
27b95c969a
WIP.
5 years ago
Lizan Zhou
bcdfe6b1b0
bazel: use canonical repository name for absl
...
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
c486da3970
WIP.
5 years ago
Esun Kim
e5f873198e
Removed -std=c89 option
5 years ago
Esun Kim
2c3a28e411
Add -Wstrict-prototypes option
5 years ago
Esun Kim
7a1e6aa84b
Support MSVC prior to 2015
5 years ago
Nicolas "Pixel" Noble
ce3ba4dcdc
Disabling gcc flags for Windows build.
5 years ago
Google-Autofuzz
14f4c9eadc
change back to the original BUILD
5 years ago
Google-Autofuzz
b52178d54b
modified BUILD
5 years ago
Google-Autofuzz
7d0b7c838f
fix -fsanitize
5 years ago
Google AutoFuzz Team
5149dc5ce2
Update BUILD
6 years ago
Google-Autofuzz
8f19667786
modified fuzz config
6 years ago
Joshua Haberman
493e9b2614
Build fixes from fuzz target.
6 years ago
Google AutoFuzz Team
76baf906c9
Update BUILD with OSS-FUZZ
6 years ago
Joshua Haberman
901463e41e
Added benchmark of parsing.
6 years ago
Joshua Haberman
ba29af3a6a
Hid generated-code-only headers inside a separate library.
6 years ago
Joshua Haberman
5611ff267b
Moved bazel files to bazel/ directory.
6 years ago
Joshua Haberman
a126b9a046
Removed package(), Bazel doesn't support it.
6 years ago
Joshua Haberman
44817c02fa
Added package() statement.
6 years ago
Joshua Haberman
c58541ea04
Added support for public dependencies.
6 years ago
Joshua Haberman
ef9499cb44
Migrate std::unordered_map -> absl::flat_hash_map.
6 years ago
Joshua Haberman
06b90f9b69
Split upb_proto_library.bzl into its own .bzl file.
6 years ago
Joshua Haberman
d94c2d3c74
Another fix of course.
6 years ago
Joshua Haberman
1cf4af7b2c
A (final?) round of Blaze fixes.
6 years ago