summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2019-05-14More Blaze fixes.Joshua Haberman
2019-04-24Merge pull request #162 from haberman/aspectJoshua Haberman
Replaced upb_proto_library() with a truly aspect-based rule.
2019-04-19Fixed oneof case accessor to cast to enum for C++.Joshua Haberman
2019-04-17upb_proto_library() aspect is working, even for external repos.Josh Haberman
2019-04-13upb_proto_library() works for local project!Josh Haberman
Doesn't work for remote projects yet though.
2019-03-27Moved macros from upb.h to port_def.inc to avoid leaking them to users. (#160)Joshua Haberman
* Use port_def.inc to prevent macros from leaking to users. * Added helpful comments to port_def.inc/port_undef.inc.
2019-03-26Merge branch 'master' into apitweaksJosh Haberman
2019-03-14Merge pull request #151 from linux-on-ibm-z/masterJoshua Haberman
Adding support for big endian platform (s390x)
2019-02-01A few small API tweaks.Josh Haberman
- Foo_parsenew() -> Foo_parse(). - parse function takes plain (const char*, size_t) instead of upb_strview. The latter is mainly useful for strings inside message objects.
2019-02-02Update test_varint.cShahid
2019-01-29Merge pull request #145 from haberman/arrayapiJoshua Haberman
Generated code API changes for array and hazzers.
2019-01-28Fixes for google3.Josh Haberman
2019-01-26Fixed tests and code.Josh Haberman
2019-01-26Added missing functions.Josh Haberman
2019-01-25text_printer.h now successfully compiles.Josh Haberman
2019-01-17Merge branch 'arrayapi' into defcleanupJoshua Haberman
2019-01-17Merge branch 'master' into arrayapiJoshua Haberman
2019-01-16Supprot FieldMask json encoding/decoding. (#147)Paul Yang
2019-01-16upb_symtab_add() returns upb_filedef* instead of bool.Joshua Haberman
2019-01-16Removed the JIT. Nobody was actually using it, and table-driven should ↵Joshua Haberman
achieve 80-90% of the perf.
2019-01-15Merge branch 'arrayapi' into defcleanupJoshua Haberman
2019-01-15All tests pass again!Joshua Haberman
2019-01-14WIP.Joshua Haberman
2019-01-12All tests pass again!Joshua Haberman
2019-01-12A lot more tests are working now.Joshua Haberman
2019-01-12Removed old-style C++ handlers that relied on UB in favor of more normal ones.Joshua Haberman
2019-01-09upb_refcounted is gone! Some tests still to fix.Joshua Haberman
2019-01-03Renamed upb_stringview -> upb_strview for C terseness.Josh Haberman
2018-12-17Added missing test_cpp.proto.Josh Haberman
2018-12-17test_cpp is working!Josh Haberman
2018-12-17test_json is working!Josh Haberman
2018-12-16Got test_decoder working!Joshua Haberman
2018-12-15test_encoder passes! Other tests still need to be fixed.Joshua Haberman
2018-12-13Updated encoder to new API.Joshua Haberman
2018-12-13Ported some tests.Joshua Haberman
2018-12-04Implement json decoding for Any message. (#130)Paul Yang
* 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
2018-11-03Conformance tests work under Bazel.Josh Haberman
2018-09-18Fix json encoding for wrappers, ListValue, Struct and Value. (#126)Paul Yang
* Fix json encoding for wrappers, ListValue, Struct and Value. * Add well_known_type field in upb_msgdef to specify type of well known messages. * Remove comma at end of enum definition. * Group number wrappers * Fix comments * Refactoring to use is_wellknown_{msg/field}
2018-09-06Disabled another Lua test for the time being.Josh Haberman
2018-09-06Removed default instance and oneof array from tables.Josh Haberman
2018-09-06Removed unused variable.Joshua Haberman
2018-09-06Changed C API to use inline functions and computed offsets.Joshua Haberman
2018-09-03Changed C API to only define structs, a table, and a few minimal inline ↵Joshua Haberman
functions.
2018-09-02More work on CMake build, and updated conformance for proto3.Joshua Haberman
2018-08-27Got CMake build working on macOS, and updated CMake build.Joshua Haberman
2018-08-12Enforced that upb_msg lives in an Arena only, and other simplifying.Joshua Haberman
upb_msg was trying to be general enough that it could either live in an arena or be allocated with malloc()/free(). This was too much complexity for too little benefit. We should commit to just saying that upb_msg is arena-only. I also ripped out the code to glue upb_msg to the existing handlers-based encoder/decoder. upb_msg has its own, small, simple encoder/decoder. I'm trying to whittle down upb_msg to a small and simple core. I updated the Lua extension for these changes. Lua needs some more work to properly create arenas per message. For now I just created a single global arena.
2018-06-27Enable ignore unknown field in json parsingBo Yang
2018-03-07Added google/protobuf/descriptor.upb.* to core.Josh Haberman
This is in preparation for making upb_def capable of parsing binary descriptors directly. We leave upb/descriptor/descriptor.upbdefs.* in place for now, because upb/descriptor/reader.* still depends on it. Also removed a bit of cruft from the codegen.
2017-09-21Modify selector base in tests/json/test.upbdefs.ccBo Yang
2017-07-19Address review comments and fix compile warnings.Joshua Haberman
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback