59 Commits (33633fd604825adb59d8666f8acc89517fd06412)

Author SHA1 Message Date
Eric Salo f6307877d3 move portability stuff into upb/port/ 2 years ago
Eric Salo e137175092 create wire/ subdir for all wire-format code 2 years ago
Protobuf Team Bot 033859ff5d rename internal/upb.h as internal/encode.h 2 years ago
Protobuf Team Bot e4635f223e match file names to type names 2 years ago
Joshua Haberman 1cf8214e4d Changed upb's arena alignment from 16 to 8. 3 years ago
Joshua Haberman be7dfeba6b Added GitHub Action to test for clang-format. 3 years ago
Joshua Haberman bc7b5dcadf Ported protobuf's dtoa() function for text format and JSON. 3 years ago
Joshua Haberman 1c955f37ce
Mass API rename and clang-reformat (#485) 3 years ago
Joshua Haberman a669587817 Fixed the edge case where rounding up causes overflow. 3 years ago
Joshua Haberman e83aeba595 Align arena initial block to ensure allocations are aligned. 3 years ago
Joshua Haberman 3881393907 Renamed .int.h to _internal.h, for greater clarity. 4 years ago
Joshua Haberman 823eb09694 Update all 2011 dates to 2021. 4 years ago
Joshua Haberman e59d2c8fa7 Added license headers to all files. 4 years ago
Matt Kulukundis 5b97df91dd Restrict fuse to matching block_alloc 4 years ago
Matt Kulukundis e74d6c23de Small renames and use uintptr_t instead of void* 4 years ago
Matt Kulukundis d9a0c58108 Allow arena fuse to fail 4 years ago
Joshua Haberman 9df96874e9 Start arena block doubling at initial block size. 4 years ago
Joshua Haberman 8f3ee80d46 Drop C89/C90 support and MSVC prior to Visual Studio 2015. 4 years ago
Joshua Haberman e2c709e047 Repeated string and primitive support. 4 years ago
Joshua Haberman d5096f9ee8 Fixed bug in addunknown and added ASAN poisoning. 4 years ago
Joshua Haberman ebe53f8590 Fixed compile error. 4 years ago
Joshua Haberman b37f82b58b Fixed compile error. 4 years ago
Joshua Haberman c25d895adf Shrunk the arena state that needs to be synced. 4 years ago
Joshua Haberman 7f67f68c1c Shrunk the arena state that needs to be synced. 4 years ago
Joshua Haberman 746f64692c Moved arena inline for decoder. 4 years ago
Joshua Haberman 7363b91ac3 Moved arena inline for decoder. 4 years ago
Joshua Haberman 086a68d191 Fixed memory leak that could occur after upb_arena_fuse(). 5 years ago
Joshua Haberman b717575cef
Added -Wextra and -Wshorten-64-to-32 and fixed resulting errors. (#289) 5 years ago
Joshua Haberman 634d37515c Bugfix for oneofs and added line/col info to JSON. 5 years ago
Joshua Haberman 6c4acba610
Implemented upb_arena_fuse() (#278) 5 years ago
Joshua Haberman 2b1e7dc1cc
Arena refactor: moves cleanup list into regular blocks (#277) 5 years ago
Joshua Haberman a0ae30bd16
Remove bytes allocated measurement functions. (#276) 5 years ago
Joshua Haberman 9bd23dab42
Changed upb status to suit GCC10's warning about strncpy(). (#268) 5 years ago
Joshua Haberman 08b6d2d6fd
Rewrite of the decoder (#263) 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
Joshua Haberman f4532ab273 Properly align the arena. 6 years ago
Joshua Haberman 315c167bed Some more fixes for PHP. 6 years ago
Joshua Haberman 2c26f60dbb Added some comments and reversed upb_arena_cleanup() args. 6 years ago
Joshua Haberman cb26d883d1 WIP. 6 years ago
Joshua Haberman a9c375f8ea Partway through refactoring of Arena. 6 years ago
Joshua Haberman 380558922b test_encoder passes! Other tests still need to be fixed. 6 years ago
Josh Haberman 3b7dc27fb5 Fixed amalgamated build and added test. 8 years ago
Josh Haberman 4b0c4ca7fb New upb_msg code and Lua bindings around it. 8 years ago
Joshua Haberman fa338b70a6 Added UPB_ASSERT() that helps avoid unused var warnings. 9 years ago
Joshua Haberman d0c2479920 Fixed small omission: upb_env_init2(). (#61) 9 years ago
Joshua Haberman 68bc62a7fa Split upb::Arena/upb::Allocator from upb::Environment. (#58) 9 years ago
Josh Haberman 49dab06e03 Brought into compliance with Google open-source policies. 10 years ago
Josh Haberman 919fea438a Ported upb to C89, for greater portability. 10 years ago
Josh Haberman 87fc2c516b Changes from Google-internal development. 10 years ago
Josh Haberman ce9bba3cb5 Sync from Google-internal development. 11 years ago