summaryrefslogtreecommitdiff
path: root/upb/def.c
AgeCommit message (Collapse)Author
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-27Removed reflection and other extraneous things from the core library. (#158)Joshua Haberman
* 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.
2019-03-26Merge branch 'master' into apitweaksJosh Haberman
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-26Added missing functions.Josh Haberman
2019-01-24Fixes for Google-internal tests.Josh Haberman
2019-01-23Some more fixes for PHP.Joshua Haberman
2019-01-19Some fixes for PHP.Joshua Haberman
2019-01-17Merge branch 'arrayapi' into defcleanupJoshua 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-15Fixed a few bugs surfaced by Ruby.Joshua Haberman
2019-01-15Merge branch 'arrayapi' into defcleanupJoshua Haberman
2019-01-14WIP.Joshua Haberman
2019-01-02Some bugfixes.Joshua Haberman
2018-12-31WIP.Joshua Haberman
2018-12-20Some fixes for Ruby.Joshua 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-13Use some hazzers in def.c.Joshua Haberman
2018-12-13Merge branch 'arrayapi' into defcleanupJoshua Haberman
2018-12-13Updated to use the new array accessors.Joshua Haberman
2018-12-13Ported some tests.Joshua Haberman
2018-12-12WIP, more progress on refactoring.Joshua Haberman
2018-12-10WIP, core library compiles now.Joshua Haberman
2018-12-08Merge branch 'master' into defcleanupJoshua Haberman
2018-12-08Merge branch 'cmake-mac-fixes' into defcleanupJoshua 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-10-21Merge branch 'master' into defcleanupJosh 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-11WIP.Josh Haberman
2018-09-06Fix json parsing for Struct, ListValue and Value.Bo Yang
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-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
2017-09-19Reserve unknown fields in upbBo Yang
1. For decoding, an unknownfields will be lazily created on message, which contains bytes of unknown fields. 2. For encoding, if the unknownfields is present on message, all bytes contained in it will be serialized.
2017-06-01Fix upb load descriptor when no messages defined in prorto.Bo Yang
2017-05-31Add new file option php_namespace.Bo Yang
Use this option to change the namespace of php generated classes. Default is empty. When this option is empty, the package name will be used for determining the namespace.
2017-03-14Add new file option php_class_prefix.Bo Yang
This option will be prepended to all php generated classes. The PHP runtime needs to know this option to figure out the class name for specific message.
2017-01-23A couple more fixes.Josh Haberman
2017-01-23Remove another bit of obsolete code.Josh Haberman
2017-01-23Removed 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-21Ripped 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-21Make upb::SymbolTable no longer reference-counted.Josh Haberman
This transitions it from shared ownership to unique ownership.
2017-01-21Moved upb_symtab to def.h/def.c.Josh Haberman
This is in anticipation of removing refcounting and making upb_symtab (soon to be upb_defpool) the unique owner of all defs inside.
2016-11-29New 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-09-09Some 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.
2016-05-12Added UPB_ASSERT() that helps avoid unused var warnings.Joshua Haberman
* Added UPB_ASSERT() that helps avoid unused var warnings. * Addressed PR comments. * Fixed assert in the JIT.
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback