summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-09-11WIP.Josh Haberman
2018-09-07Merge pull request #124 from haberman/unknownJoshua Haberman
Added support for unknown fields to upb_msg.
2018-09-06Fixed warnings.Josh Haberman
2018-09-06Added 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-06Merge pull request #123 from haberman/rmdefaultJoshua Haberman
Removed default instance and oneof array from tables.
2018-09-06Disabled another Lua test for the time being.Josh Haberman
2018-09-06Removed unnecessary struct definition with "int a".Josh Haberman
2018-09-06Fixed some c89 errors.Josh Haberman
2018-09-06Removed default instance and oneof array from tables.Josh Haberman
2018-09-06Updated protobuf submodule.Josh Haberman
2018-09-06Merge pull request #121 from haberman/minimizeJoshua Haberman
Changed C API to only define structs, a table, and a few minimal inline function.
2018-09-06Merge pull request #122 from TeBoring/json-valuesJoshua Haberman
Fix json parsing for Struct, ListValue and Value.
2018-09-06Fixed amalgamation.Joshua Haberman
2018-09-06Removed unused variable.Joshua Haberman
2018-09-06Removed unused parameter.Joshua Haberman
2018-09-06A few more compile fixes.Joshua Haberman
2018-09-06Added port_def.inc and port_undef.inc.Joshua Haberman
2018-09-06Changed C API to use inline functions and computed offsets.Joshua Haberman
2018-09-06Initialize valueBo Yang
2018-09-06Fix json parsing for Struct, ListValue and Value.Bo Yang
2018-09-03Changed C API to only define structs, a table, and a few minimal inline ↵Joshua Haberman
functions.
2018-09-02Merge pull request #120 from haberman/cmakeJoshua Haberman
More work on CMake.
2018-09-02More work on CMake build, and updated conformance for proto3.Joshua Haberman
2018-08-29Fix 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-27Got CMake build working on macOS, and updated CMake build.Joshua Haberman
2018-08-27Merge pull request #119 from rohitsakala/masterJoshua Haberman
Bugfix for bigendian platforms by casting size_t to unint32_t
2018-08-27Merge branch 'master' of https://github.com/rohitsakala/upbSakala Venkata Krishna Rohit
2018-08-27Bugfix on bigendianess by casting size_t to unint32_tSakala 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-27Bugfix on bigendianess by casting size_t to unint32_tSakala 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-24Fix 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-23Merge pull request #117 from haberman/cmakeJoshua Haberman
Moved upb_msg parts that depend on def to a separate msgfactory.{c,h}.
2018-08-22Moved 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-21Merge pull request #116 from haberman/rmgooglepbgerben-s
Removed a bunch of obsolete code.
2018-08-21Re-add amalgamation rules and remove google protobuf from Travis.Josh Haberman
2018-08-21Re-add upb/bindings/stdc++/string.h, which is still used in tests.Josh Haberman
2018-08-21Removed a bunch of obsolete code.Josh Haberman
A lot of this code was experimental or temporarily useful, but is no longer needed.
2018-08-21Merge pull request #114 from haberman/arenaonlyJoshua Haberman
Enforced that upb_msg lives in an Arena only, and other simplifying.
2018-08-12Re-add msg handlers to the .c file also.Joshua Haberman
2018-08-12Re-add message handlers to upb/handlers.*.Joshua Haberman
These are still being used by the proto2 bindings.
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-08-09Merge pull request #113 from TeBoring/json-wrapperJoshua Haberman
Support json parsing for wrapper values
2018-08-09Use special eof char to mark end of parsingBo Yang
2018-08-09Move logic away from ragel machineBo Yang
2018-08-05Remove unused codeBo Yang
2018-08-05Make value top levelBo Yang
2018-08-01Mark unused variableBo Yang
2018-07-31Update ragel generated fileBo Yang
2018-07-30Make top level wrapper value parsing workBo Yang
2018-07-27Fix json decoding for wrapper messagesBo Yang
2018-06-27Merge pull request #112 from TeBoring/json-unknownJoshua Haberman
Enable ignore unknown field in json parsing
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback