Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-02-17 | Merge pull request #46 from haberman/jsoncamel | Joshua Haberman | |
Changed JSON parser/printer to correctly camelCase names. | |||
2016-02-17 | Added assertions for getjsonname() return. | Josh Haberman | |
2016-02-17 | Addressed code review comments. | Josh Haberman | |
2016-02-17 | Changed JSON parser/printer to correctly camelCase names. | Josh Haberman | |
2016-01-26 | Merge pull request #47 from haberman/compact | Joshua Haberman | |
Optimized upb_inttable_compact(): it shrinks inttables more now. | |||
2016-01-26 | Added small explanatory comment. | Josh Haberman | |
2016-01-19 | Optimized upb_inttable_compact(): it shrinks inttables more now. | Josh Haberman | |
2016-01-06 | Merge pull request #45 from mbarbon/fix-status-init | Joshua Haberman | |
Make sure upb_pbdecoder.status is initialized | |||
2016-01-05 | Merge pull request #44 from mbarbon/master | Joshua Haberman | |
Add missing upb_fielddef_fullname implementation | |||
2015-12-30 | Make sure upb_pbdecoder.status is initialized | Mattia Barbon | |
Otherwhise the end message callback is passed a garbage value. | |||
2015-12-30 | Add missing upb_fielddef_fullname implementation | Mattia Barbon | |
2015-10-21 | Merge pull request #43 from haberman/presenceflag | Joshua Haberman | |
Add flag to MessageDef for whether fields have presence. | |||
2015-10-21 | Addressed PR comments. | Josh Haberman | |
2015-10-15 | Properly populate field presence flag on messages according to syntax flag. | Josh Haberman | |
2015-10-14 | Add flag to MessageDef for whether fields have presence. | Josh Haberman | |
2015-08-19 | Merge pull request #38 from haberman/decoderfix2 | Joshua Haberman | |
Added lots of decoder tests and fixed lots of bugs. | |||
2015-08-19 | Refer to a shared definition for max buffered bytes. | Josh Haberman | |
2015-08-14 | Added lots of decoder tests and fixed lots of bugs. | Josh Haberman | |
2015-08-13 | Merge pull request #37 from haberman/google-internal | Joshua Haberman | |
Fix from google3: memory leak caught by heapcheck. | |||
2015-08-13 | Fix from google3: memory leak caught by heapcheck. | Josh Haberman | |
2015-08-12 | Merge pull request #36 from haberman/decoderfix | Joshua Haberman | |
Decoder fix: skipped data at end of submessage. | |||
2015-08-11 | More decoder fixes, and slightly changed parse call semantics. | Josh Haberman | |
Prior to this change, if an error was returned, it would be guaranteed to always return a short byte count. Now the two concepts are a bit more orthogonal. There are cases where the entire input is consumed even though an error was encountered. | |||
2015-07-31 | Decoder fix: skipped data at end of submessage. | Josh Haberman | |
2015-07-31 | Merge pull request #34 from haberman/parserskip | Joshua Haberman | |
Changed parser semantics around skipping. | |||
2015-07-30 | Fixed PR for JIT-enabled builds. | Josh Haberman | |
2015-07-30 | Changed parser semantics around skipping. | Josh Haberman | |
Prior to this change: parse(buf, len) -> len + N ...would indicate that the next N bytes of the input are not needed, *and* would advance the decoding position by this much. After this change: parse(buf, len) -> len + N parse(NULL, N) -> N ...can be used to achieve the same thing. But skipping the N bytes is not explicitly performed by the user. A user that doesn't want/need to skip can just say: parsed = parse(buf, len); if (parsed < len) { // Handle suspend, advance stream by "parsed". } else { // Stream was advanced by "len" (even if parsed > len). } Updated unit tests to test this new behavior, and refactored test utility code a bit to support it. | |||
2015-07-15 | Merge pull request #33 from haberman/jsonerr | Joshua Haberman | |
Fixed JSON parser error reporting. | |||
2015-07-15 | Clear JSON parser status in reset. | Josh Haberman | |
2015-07-15 | Updated JSON parser size. | Josh Haberman | |
2015-07-15 | Fixed JSON parser error reporting. | Josh Haberman | |
This was previously broken -- it would try to set the status object on the parser, but the pointer was never initialized. Also it didn't report errors properly to the environment object. | |||
2015-07-07 | Also remove license headers from Lua. | Josh Haberman | |
2015-07-07 | Updated license headers for Ragel source also. | Josh Haberman | |
2015-07-07 | Brought into compliance with Google open-source policies. | Josh Haberman | |
- removed myself from Author headers in source files. - removed copyright notices from source file headers. - added CONTRIBUTING.md | |||
2015-07-07 | Merge pull request #32 from haberman/third_party | Joshua Haberman | |
Moved lunit to third_party for Google compliance. | |||
2015-07-07 | Moved lunit to third_party for Google compliance. | Josh Haberman | |
2015-07-07 | Merge pull request #31 from haberman/third_party | Joshua Haberman | |
Moved DynASM to third_party to comply with Google policy. | |||
2015-07-07 | Moved DynASM to third_party to comply with Google policy. | Josh Haberman | |
2015-06-22 | Merge pull request #30 from haberman/encoderfix | Joshua Haberman | |
Fixed some bad bugs in upb_env. | |||
2015-06-22 | Fixed some bad bugs in upb_env. | Josh Haberman | |
Also added a unit test for upb_encoder that demonstrates the bugs and the fix. | |||
2015-06-15 | Merge pull request #29 from haberman/symtabfix | Joshua Haberman | |
Fix for stack overflow for cyclic defs. | |||
2015-06-15 | Addressed code review comment and clarified comments. | Josh Haberman | |
2015-06-12 | Fix for stack overflow for cyclic defs. | Josh Haberman | |
Fixes this bug that came up in the Ruby extension: https://github.com/google/protobuf/issues/425 | |||
2015-06-12 | Fix amalgamation by changing include style for structdef.int.h. | Josh Haberman | |
2015-06-06 | Parameterize AR properly in the Makefile. | Josh Haberman | |
2015-06-06 | Fix for va_copy. | Josh Haberman | |
2015-06-04 | Fixes from Google-internal. | Josh Haberman | |
2015-06-03 | Merge branch 'master' into google-internal | Josh Haberman | |
2015-06-03 | Sync from Google-internal development. | Josh Haberman | |
2015-06-03 | Merge pull request #27 from haberman/c89 | Joshua Haberman | |
Ported upb to C89, for greater portability. | |||
2015-06-02 | Ported upb to C89, for greater portability. | Josh Haberman | |
A large part of this change contains surface-level porting, like moving variable declarations to the top of the block. However there are a few more substantial things too: - moved internal-only struct definitions to a separate file (structdefs.int.h), for greater encapsulation and ABI compatibility. - removed the UPB_UPCAST macro, since it requires access to the internal-only struct definitions. Replaced uses with calls to inline, type-safe casting functions. - removed the UPB_DEFINE_CLASS/UPB_DEFINE_STRUCT macros. Class and struct definitions are now more explicit -- you get to see the actual class/struct keywords in the source. The casting convenience functions have been moved into UPB_DECLARE_DERIVED_TYPE() and UPB_DECLARE_DERIVED_TYPE2(). - the new way that we duplicate base methods in derived types is also more convenient and requires less duplication. It is also less greppable, but hopefully that is not too big a problem. Compiler flags (-std=c89 -pedantic) should help to rigorously enforce that the code is free of C99-isms. A few functions are not available in C89 (strtoll). There are temporary, hacky solutions in place. |