133 Commits (1cd0cb17d36dbeacc75fe1788f18d46c764dac74)

Author SHA1 Message Date
Joshua Haberman 8f3ee80d46 Drop C89/C90 support and MSVC prior to Visual Studio 2015. 4 years ago
Joshua Haberman 5aa5b77b41 Added simple offset-based accessors for defs, and deprecated old iterators. 4 years ago
Joshua Haberman 80441e4eb4 Optimized binary encoder. 4 years ago
Joshua Haberman b717575cef
Added -Wextra and -Wshorten-64-to-32 and fixed resulting errors. (#289) 5 years ago
Joshua Haberman 6b808a4072 Fixed all UBSan issues and added UBSan CI checks. 5 years ago
Joshua Haberman a0ae30bd16
Remove bytes allocated measurement functions. (#276) 5 years ago
Joshua Haberman aacdcf8b91 The compile is now clean of -Wshorten-64-to-32 warnings. 5 years ago
Joshua Haberman a6c54729df Added UPB_ASSUME(), to work around warnings when optimization is enabled: 5 years ago
Joshua Haberman 7f5fe52dfa Fixes for non-C89 code. 5 years ago
Joshua Haberman 715718d5a5 Changed endsubmsg handler to return the closure of the submessage. 5 years ago
Joshua Haberman 29c30e9cb3 Fixed cache to properly insert by msgdef key. 5 years ago
Joshua Haberman ca4605b3af Properly cache decoder methods, instead of regenerating every time. 5 years ago
Esun Kim bc8b1a8f90 Fixed UBSAN issues 5 years ago
Esun Kim 2c3a28e411 Add -Wstrict-prototypes option 5 years ago
Joshua Haberman cf35baa1ad
Moved macros from upb.h to port_def.inc to avoid leaking them to users. (#160) 6 years ago
Shahid 17db372267
Removing the 'byteswap.h' header which is not portable 6 years ago
Shahid 33cd3cfa1d
Update varint.int.h 6 years ago
Josh Haberman b07fcde013 Fix for C++ inclusion of decoder.int.h. 6 years ago
Josh Haberman 22ad7121c2 Fixes for google3. 6 years ago
Josh Haberman c4327e55ac A few more fixes. 6 years ago
Josh Haberman 8980f6db5c text_printer.h now successfully compiles. 6 years ago
Josh Haberman c358bb42fd A few more Google fixes. 6 years ago
Josh Haberman 76033b3a65 Correct TextPrinterPtr. 6 years ago
Joshua Haberman 315c167bed Some more fixes for PHP. 6 years ago
Joshua Haberman 04923fc26e Some fixes for PHP. 6 years ago
Paul Yang c7870e0f77
Supprot FieldMask json encoding/decoding. (#147) 6 years ago
Joshua Haberman 84fb01ad0f Removed the JIT. Nobody was actually using it, and table-driven should achieve 80-90% of the perf. 6 years ago
Joshua Haberman 2c26f60dbb Added some comments and reversed upb_arena_cleanup() args. 6 years ago
Joshua Haberman f30c7f4acb Take sinks by value. 6 years ago
Joshua Haberman 1508648f30 Build & fix the JIT. 6 years ago
Joshua Haberman 754b9f1cfd All tests pass again! 6 years ago
Joshua Haberman cb26d883d1 WIP. 6 years ago
Joshua Haberman 48863ea0be A lot more tests are working now. 6 years ago
Joshua Haberman d2f9bec5c6 Removed old-style C++ handlers that relied on UB in favor of more normal ones. 6 years ago
Joshua Haberman 0553eff64a upb_refcounted is gone! Some tests still to fix. 6 years ago
Joshua Haberman 336402b4d7 WIP, core library compiles now. 6 years ago
Josh Haberman b79fd65a83 WIP. 6 years ago
Bo Yang 0a9681874e Modify TODO 7 years ago
Bo Yang 1e1c54f772 Change parameter type from enum opcode to int. 7 years ago
Joshua Haberman 0776f64830 Fixed JIT for unknown fields. (#1) 7 years ago
Bo Yang dd77460c65 Do not expose encode_unknown 7 years ago
Bo Yang 69dee545ec Remove upb_pb_encoder_encode_unknown 7 years ago
Bo Yang 6a6e192375 Remove unused declaration. 7 years ago
Bo Yang 5aa27d91c6 Use upb_sink_putunknown for reserve unknown 7 years ago
Bo Yang dc9d15084f Remove upb_addunknown_handlerfunc and upb_handlers_setaddunknown 7 years ago
Bo Yang 0b7904e18c Reserve unknown fields in upb 7 years ago
Joshua Haberman be9094d91a New encode/decode: most (171 / 192) conformance tests pass. 7 years ago
Josh Haberman c909a7aa6e Deleted some dead code related to varint decoding. 8 years ago
Bo Yang 0168f28daf Bug fix: When encoding, negative int32 values should be padded to int64 in order to be wire compatible 8 years ago
Josh Haberman c850bc0a4e Moved upb_symtab to def.h/def.c. 8 years ago