42 Commits (ddb74551f4faa1e2583b9ece0f2d5a6d6c0dc704)

Author SHA1 Message Date
Joshua Haberman 63daaaca4f Added constants for field names and numbers. 15 years ago
Joshua Haberman 611afe9c69 Removed union tag from types. 15 years ago
Joshua Haberman d5566c6038 Remove struct keyword from all types, use typedef instead. 15 years ago
Joshua Haberman 9116c697f8 upb_parser -> upb_decoder 15 years ago
Joshua Haberman 6a8dfa5f26 upb_array -> upb_arrayptr. 15 years ago
Joshua Haberman 15604083c7 Move string representations back upb.h -> upb_data.h. 15 years ago
Joshua Haberman fa5710f1ca upb_string* -> upb_strptr, to follow aliasing rules. 15 years ago
Joshua Haberman ece08710a6 Bugfixes: descriptorgen works without leaks! 15 years ago
Joshua Haberman 2fdc9df97e Other than a couple memory leaks, "make descriptorgen" works again! 15 years ago
Joshua Haberman 8978661a76 upbc compiles, but doesn't link due to unimplemented stuff in upb_data. 15 years ago
Joshua Haberman e5debfa1c9 More incremental work; ported some of upbc. 15 years ago
Joshua Haberman 2a8ba6f3a2 Updated upbc to new dyncasts. 15 years ago
Joshua Haberman 08b4a91204 Add a test for circularly-linked descriptors. 15 years ago
Joshua Haberman 651c92ab33 Scheme for collecting circular refs. 15 years ago
Joshua Haberman 18291eedc3 Make defs refcounted, rename upb_context->upbsymtab. 15 years ago
Joshua Haberman a95ab58e79 Overhaul defs to derive from a common base. 15 years ago
Joshua Haberman d160380736 Update upbc to use self-describing upb_msg instead of void*. 15 years ago
Joshua Haberman 9e3f5e343b Make upb_msgdef own all its data. 15 years ago
Joshua Haberman 868f118797 Changed parse API to know about msgdefs. 15 years ago
Joshua Haberman 7cde43ea0a Renamed upb_msg_fielddef -> upb_fielddef, upb_enum -> upb_enumdef. 15 years ago
Joshua Haberman e252432a41 Refactoring: split defs into their own file, move private parsing funcs out of .h file. 15 years ago
Joshua Haberman 33a68acb14 Use a status object for errors so a message can be returned. 15 years ago
Joshua Haberman 527a544b04 Small bugfix: enums are int32, not uint32. 16 years ago
Joshua Haberman 2bad79f721 Fix upbc for upb_array API change. 16 years ago
Joshua Haberman 040f7e6ba2 Significant memory-management refactoring any Python extension. 16 years ago
Joshua Haberman cfd67dda49 Various fixes. 16 years ago
Joshua Haberman 7fa19a3f95 Finish upb_context thread-safety. 16 years ago
Joshua Haberman 71d82d06d1 Add refcounting and thread-safety to message definitions. 16 years ago
Joshua Haberman 2282d2489b Refactoring: unify upb_msg. 16 years ago
Joshua Haberman eb67fb9109 Fixed memory leaks in upbc. 16 years ago
Joshua Haberman 8fa6a92f53 Major refactoring of upb_msg. Temporary functionality regression. 16 years ago
Joshua Haberman 10cdab28e9 Add a friendly comment at the top of auto-generated C files. 16 years ago
Joshua Haberman a952e42e99 Fixed a bug in set_flags order in the compiler. 16 years ago
Joshua Haberman e58c871c19 upb is fully self-hosting (except for text->descriptor)! 16 years ago
Joshua Haberman d8c93dc1a2 Make the compiler correctly define the top-level extern symbol. 16 years ago
Joshua Haberman ee1ed1ccb8 Compiler finally works (except string arrays). Untested. Holy crap that was a lot of work. 16 years ago
Joshua Haberman e4e89247e5 More work on the compiler. 16 years ago
Joshua Haberman d963b04ea9 More work on the compiler. 16 years ago
Joshua Haberman 9bc15a1e74 More work on the compiler. 16 years ago
Joshua Haberman 6d77fa0459 More compiler work. 16 years ago
Joshua Haberman 73bac1f2b0 More work on the compiler. 16 years ago
Joshua Haberman 462b26c1cc Directory restructuring. 16 years ago
Joshua Haberman 5235966ed5 Lots of documentation, cleanup, and fixed memory leaks. 16 years ago
Joshua Haberman dd2094537a Compiler now generates correct header files (with structures alone). 16 years ago
Joshua Haberman 907e3d7cd2 More compiler work. 16 years ago
Joshua Haberman 06efc6b12c Fixed a lot of bugs, parser and compiler now work a little! 16 years ago
Joshua Haberman 7f871401c7 More work on upbc. 16 years ago
Joshua Haberman 421f276086 Beginnings of a upb compiler. 16 years ago