Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-03-05 | Fix the issue for strptime | Bo Yang | |
* Define _XOPEN_SOURCE * Exclude usage on windows | |||
2019-02-18 | Merge pull request #148 from TeBoring/empty-fieldmask | Joshua Haberman | |
Fix empty FieldMask json encoding | |||
2019-01-29 | Merge pull request #145 from haberman/arrayapi | Joshua Haberman | |
Generated code API changes for array and hazzers. | |||
2019-01-28 | Fix for C++ inclusion of decoder.int.h. | Josh Haberman | |
2019-01-28 | Fixes for google3. | Josh Haberman | |
2019-01-28 | Discard extensions since current symtab can't handle them. | Josh Haberman | |
2019-01-19 | Fix empty FieldMask json encoding | Bo Yang | |
2019-01-16 | Supprot FieldMask json encoding/decoding. (#147) | Paul Yang | |
2019-01-03 | Renamed upb_stringview -> upb_strview for C terseness. | Josh Haberman | |
2018-12-31 | Fixed bugs in array accessors. | Joshua Haberman | |
2018-12-24 | Fixed bug: make proto2 setters set hasbit. | Joshua Haberman | |
2018-12-23 | Added "add" accessors for repeated fields. | Joshua Haberman | |
2018-12-23 | Merge branch 'master' into arrayapi | Joshua Haberman | |
2018-12-19 | Fix comments | Bo Yang | |
2018-12-13 | Fix generated file test | Bo Yang | |
2018-12-13 | Fixed generated code for C++. | Joshua Haberman | |
2018-12-13 | Added hazzers. | Joshua Haberman | |
2018-12-13 | Changed generated array accessors to be more convenient. | Joshua Haberman | |
2018-12-12 | Mark unused parameter | Bo Yang | |
2018-12-12 | Remove unused code | Bo Yang | |
2018-12-12 | Add support for encoding Any in json | Bo Yang | |
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 | Bazel builds everything except conformance_upb. | Josh Haberman | |
2018-10-05 | Fix json ignore unknown (#128) | Paul Yang | |
* Fix json ignore unknown Previously, there were several problems with ignoring unknown in json. 1) After finding a field is unknown, the parser's state is not changed. Thus, there is no way to distinguish whether the parser is dealing with an unknown field or it's just a top level message. 2) Several method didn't respect unknown field, e.g., start_object, end_bool, start_array. * Update json parser size * Update json parser size | |||
2018-09-21 | Fix mac use local timezone for strptime by default. (#127) | Paul Yang | |
* Fix mac use local timezone for strptime by default. * Fix comments * Check len == UPB_TIMESTAMP_BASE_SIZE * Fix comment | |||
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 | Fixed warnings. | Josh Haberman | |
2018-09-06 | Added support for unknown fields to upb_msg. | Josh Haberman | |
After this CL, upb passes all existing proto3 conformance tests. However the conformance suite is missing a lot of cases and should be fleshed out. | |||
2018-09-06 | Fixed some c89 errors. | Josh Haberman | |
2018-09-06 | Removed default instance and oneof array from tables. | Josh Haberman | |
2018-09-06 | Merge pull request #121 from haberman/minimize | Joshua Haberman | |
Changed C API to only define structs, a table, and a few minimal inline function. | |||
2018-09-06 | Removed unused variable. | Joshua Haberman | |
2018-09-06 | Removed unused parameter. | Joshua Haberman | |
2018-09-06 | A few more compile fixes. | Joshua Haberman | |
2018-09-06 | Added port_def.inc and port_undef.inc. | Joshua Haberman | |
2018-09-06 | Changed C API to use inline functions and computed offsets. | Joshua Haberman | |
2018-09-06 | Initialize value | Bo Yang | |
2018-09-06 | Fix json parsing for Struct, ListValue and Value. | Bo Yang | |
2018-09-03 | Changed C API to only define structs, a table, and a few minimal inline ↵ | Joshua Haberman | |
functions. | |||
2018-08-29 | Fix json encoding/decoding for duration. (#118) | Paul Yang | |
* Fix json encoding/decoding for duration. * Use lld for int64_t * Cast int64_t to long | |||
2018-08-27 | Bugfix on bigendianess by casting size_t to unint32_t | Sakala Venkata Krishna Rohit | |
The reason for typecasting size_t to unint32_t is that size_t is 8 bytes and uint32_t is only 4 bytes. If not typecasted Memcpy fails to copy the *correct* four bytes in big endian platforms. | |||
2018-08-24 | Fix json parsing for timestamp (#115) | Paul Yang | |
* Fix json parsing for timestamp * Fix json encoding for timestamp * Implement timestamp_machine to parse timestamp * Remove comparision for size_t and 0 * Increase defined printer size * Increase size * Increase parser size * Mark json_en_timestamp_machine unused | |||
2018-08-22 | Moved upb_msg parts that depend on def to a separate msgfactory.{c,h}. | Josh Haberman | |
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. | |||
2018-08-21 | Re-add upb/bindings/stdc++/string.h, which is still used in tests. | Josh Haberman | |
2018-08-21 | Removed a bunch of obsolete code. | Josh Haberman | |
A lot of this code was experimental or temporarily useful, but is no longer needed. | |||
2018-08-12 | Re-add msg handlers to the .c file also. | Joshua Haberman | |
2018-08-12 | Re-add message handlers to upb/handlers.*. | Joshua Haberman | |
These are still being used by the proto2 bindings. | |||
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-08-09 | Use special eof char to mark end of parsing | Bo Yang | |
2018-08-09 | Move logic away from ragel machine | Bo Yang | |