Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-01-16 | Removed the JIT. Nobody was actually using it, and table-driven should ↵ | Joshua Haberman | |
achieve 80-90% of the perf. | |||
2019-01-15 | Merge branch 'arrayapi' into defcleanup | Joshua Haberman | |
2019-01-15 | All tests pass again! | Joshua Haberman | |
2019-01-14 | WIP. | Joshua Haberman | |
2019-01-12 | All tests pass again! | Joshua Haberman | |
2019-01-12 | A lot more tests are working now. | Joshua Haberman | |
2019-01-12 | Removed old-style C++ handlers that relied on UB in favor of more normal ones. | Joshua Haberman | |
2019-01-09 | upb_refcounted is gone! Some tests still to fix. | Joshua Haberman | |
2019-01-03 | Renamed upb_stringview -> upb_strview for C terseness. | Josh Haberman | |
2018-12-17 | Added missing test_cpp.proto. | Josh Haberman | |
2018-12-17 | test_cpp is working! | Josh Haberman | |
2018-12-17 | test_json is working! | Josh Haberman | |
2018-12-16 | Got test_decoder working! | Joshua Haberman | |
2018-12-15 | test_encoder passes! Other tests still need to be fixed. | Joshua Haberman | |
2018-12-13 | Updated encoder to new API. | Joshua Haberman | |
2018-12-13 | Ported some tests. | Joshua Haberman | |
2018-12-04 | Implement 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-03 | Conformance tests work under Bazel. | Josh Haberman | |
2018-09-18 | Fix 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-06 | Disabled another Lua test for the time being. | Josh Haberman | |
2018-09-06 | Removed default instance and oneof array from tables. | Josh Haberman | |
2018-09-06 | Removed unused variable. | Joshua Haberman | |
2018-09-06 | Changed C API to use inline functions and computed offsets. | Joshua Haberman | |
2018-09-03 | Changed C API to only define structs, a table, and a few minimal inline ↵ | Joshua Haberman | |
functions. | |||
2018-09-02 | More work on CMake build, and updated conformance for proto3. | Joshua Haberman | |
2018-08-27 | Got CMake build working on macOS, and updated CMake build. | Joshua Haberman | |
2018-08-12 | Enforced 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-27 | Enable ignore unknown field in json parsing | Bo Yang | |
2018-03-07 | Added 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-21 | Modify selector base in tests/json/test.upbdefs.cc | Bo Yang | |
2017-07-19 | Address review comments and fix compile warnings. | Joshua Haberman | |
2017-07-18 | Responded to PR comments. | Joshua Haberman | |
2017-07-18 | Fixes for oneof conformance tests. | Joshua Haberman | |
2017-07-18 | Fixed varint length when buffer is reallocated. | Joshua Haberman | |
2017-07-17 | New encode/decode: most (171 / 192) conformance tests pass. | Joshua Haberman | |
2017-07-08 | A good start on upb_encode and upb_decode. | Josh Haberman | |
2017-07-04 | First version of a real C codegen for upb. | Joshua Haberman | |
Also includes an implementation of the conformance tests to display what the API usage will be like. There is still a lot to do, and things that are broken (oneofs, repeated fields, etc), but it's a good start. | |||
2017-07-02 | Start migrating upb_msglayout to be suitable for generated code. | Joshua Haberman | |
This involves: - remove upb_msglayout -> upb_msgfactory dependency. - remove upb_msglayout -> upb_msgdef dependency (in progress). - make upb_msglayout use a representation that can be statically initialized by generated code. The goal here is that upb_msglayout becomes a kind of "descriptor lite": it contains enough data to parser and serialize protobufs and manipulate a upb_msg in memory, while being far smaller and simpler than a full descriptor. It also does not include field names, which can be a benefit for applications that do not want to leak field names. Generated code can then create a upb_msglayout, and do most things without ever needing to construct full descriptors/defs if they don't want to. | |||
2017-03-14 | Deleted some dead code related to varint decoding. | Josh Haberman | |
2017-01-23 | A couple more fixes. | Josh Haberman | |
2017-01-23 | Removed all code for adding extensions to upb_symtab. | Josh Haberman | |
This means extensions can't be used until we implement the replacement APIs for accessing extensions from a symtab. | |||
2017-01-21 | Ripped out complicated and unused code for replacing defs in a symtab. | Josh Haberman | |
Also hid the dup() functions. We can't quite delete them yet because our current approach for extensions depends on duplicating defs. | |||
2017-01-21 | Make upb::SymbolTable no longer reference-counted. | Josh Haberman | |
This transitions it from shared ownership to unique ownership. | |||
2016-12-12 | Basic serialization for upb_msg and Lua. | Josh Haberman | |
Doesn't yet include strings, submessages, maps, or repeated fields. | |||
2016-12-07 | Merge pull request #74 from haberman/msg | Joshua Haberman | |
Added upb_msg and Lua bindings for using it. | |||
2016-12-06 | Changes for PR comments. | Josh Haberman | |
2016-11-29 | Fixed some bugs surfaced by Travis. | Josh Haberman | |
2016-11-29 | New upb_msg code and Lua bindings around it. | Josh Haberman | |
There are still some things that are unfinished, but we are at parity with what Lua had before. | |||
2016-11-13 | Fix glibc coupling in test | HATATANI Shinta | |
2016-09-09 | Some refcounting fixes. | Josh Haberman | |
Clearly this stuff is too complex overall. The plan is to move away from this and more towards pools, like proto2 uses. |