Joshua Haberman
928ef7f2c0
Removed reflection and other extraneous things from the core library. ( #158 )
...
* Removed reflection and other extraneous things from the core library.
* Added missing files and ran buildifier.
* New CMakeLists.txt.
* Made table its own cc_library() for internal usage.
6 years ago
Josh Haberman
22ad7121c2
Fixes for google3.
6 years ago
Josh Haberman
68d86cbc59
Ported BUILD file fixes for google3 to arrayapi branch.
6 years ago
Josh Haberman
8980f6db5c
text_printer.h now successfully compiles.
6 years ago
Joshua Haberman
d2f9bec5c6
Removed old-style C++ handlers that relied on UB in favor of more normal ones.
6 years ago
Josh Haberman
549a828f76
Disbled CMake tests for now.
6 years ago
Josh Haberman
9f5dec1c05
Updated CMakeLists.txt.
6 years ago
Josh Haberman
5e958a8c05
test_json is working!
6 years ago
Joshua Haberman
377871f104
Got test_decoder working!
6 years ago
Joshua Haberman
10e682cf2a
Added hazzers.
6 years ago
Joshua Haberman
7ff8413a03
Ported some tests.
6 years ago
Joshua Haberman
0fed529ea1
WIP, more progress on refactoring.
6 years ago
Joshua Haberman
336402b4d7
WIP, core library compiles now.
6 years ago
Paul Yang
13c59cb051
Implement json decoding for Any message. ( #130 )
...
* Implement json decoding for Any message.
type url may not appear as the first value in json. As a result,
other data cannot be resolved before resolving type url. To solve that,
this change caches the start and end position of unparsed values and
resolve them in end_any_object when type url has been resolved.
* Handle Any in switch
* Update json parser size
* Fix comments
* Sync upstream
* Add dependency on upb_pb for upb_json
* Debug failed test
* Fix cmake
* Update test generated files
* Remove debug tests
6 years ago
Joshua Haberman
35fa3df8ec
Fixes for macOS build. Also run tests in CMake test.
6 years ago
Josh Haberman
23fa64f10c
Added script to generate CMake build. Bazel tests it.
6 years ago
Josh Haberman
2d44ad4bad
Some fixes to the CMake build.
6 years ago
Josh Haberman
b79fd65a83
WIP.
6 years ago
Josh Haberman
b290a5dd65
Disabled another Lua test for the time being.
6 years ago
Josh Haberman
340bd01338
Removed default instance and oneof array from tables.
6 years ago
Joshua Haberman
ba03d65a8f
Removed unused variable.
6 years ago
Joshua Haberman
f7713ebc39
Changed C API to use inline functions and computed offsets.
6 years ago
Joshua Haberman
694d51f4d6
Changed C API to only define structs, a table, and a few minimal inline functions.
6 years ago
Joshua Haberman
b6a92a93c6
More work on CMake build, and updated conformance for proto3.
6 years ago
Joshua Haberman
b7cad62b5f
Got CMake build working on macOS, and updated CMake build.
6 years ago
Josh Haberman
e94ac4f757
Moved upb_msg parts that depend on def to a separate msgfactory.{c,h}.
...
Also got rid of the premature "v1" business that was attempting
to create a binary compatibility story.
Also added an in-progress CMakeLists.txt file.
6 years ago