summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-01-07Changes from Google-internal development.Josh Haberman
* JSON parser expanded to handle split buffers. * bugfix to the protobuf decoder.
2014-12-19Merge pull request #10 from cfallin/masterJoshua Haberman
Modified strtable to support length-delimited string keys.
2014-12-18Modified strtable to support length-delimited string keys. Allows forChris Fallin
arbitrary binary data, e.g., to support strings from other languages as key values.
2014-12-15Merge pull request #9 from cfallin/map-fieldsJoshua Haberman
Added msgdef flag to indicate map_entry protos.
2014-12-15Added msgdef flag to indicate map_entry protos.Chris Fallin
2014-12-12Merge pull request #8 from cfallin/masterJoshua Haberman
Amalgamated distribution (upb.c/upb.h) tool.
2014-12-12Amalgamated distribution (upb.c/upb.h) tool.Chris Fallin
There are a number of tweaks to get this to work: - The #include dependence graph wasn't quite complete, and I had to add a few #includes to get the tool to work. - I had to change a number of symbol names to avoid conflicts between 'static' definitions in different .c files. This could be avoided if the tool were smart enough to rename static symbols to have unique prefixes instead, but (i) this requires semantic understanding of C, and (ii) the macro-defined static functions (e.g., handlers for primitive types in several places) would probably trip this up. Verified that the resulting upb.h/upb.c compiles and doesn't have any unresolved references.
2014-12-09Removed obsolete benchmarks/ and examples/ directories.Josh Haberman
2014-12-09Decoder bugfix, .gitignore update, and delete obsolete files.Josh Haberman
2014-12-09Merge pull request #7 from cfallin/masterJoshua Haberman
JSON test, symbolic enum names in JSON, and a few improvements.
2014-12-09JSON test, symbolic enum names in JSON, and a few improvements.Chris Fallin
- Added a JSON test that round-trips (parses then re-serializes) several test messages, ensuring that the re-serialized form matches the original exactly. - Added support for printing and parsing symbolic enum names (rather than integer values) in JSON. - Updated JSON printer to properly handle string fields that come in multiple pieces. ('bytes' fields still do not support this, and this work is more challenging because it requires making the base64 encoder resumable. Base64 encoding is not separable at an input-byte granularity, unlike string escaping.) - Fixed a < vs. <= bug in UTF-8 encoding generation (oops).
2014-12-05Merge pull request #6 from cfallin/masterJoshua Haberman
JSON printer and parser updates.
2014-12-05Sync update: haberman@'s internal changes.Chris Fallin
2014-12-05Update JSON parser to emit UTF8 to string fields appropriately.Chris Fallin
2014-12-04Synced to post-code-review JSON printer.Chris Fallin
2014-12-04Merge pull request #5 from cfallin/masterJoshua Haberman
JSON printer: remove dependency on YAJL, using a hand-rolled printer instead.
2014-12-04JSON printer: remove dependency on YAJL, using a hand-rolled printer instead.Chris Fallin
2014-12-03Sync from Google-internal development.Josh Haberman
Most notably, a JSON parser is now provided.
2014-11-18Fixed building of googlepbtests.Josh Haberman
2014-11-18Sync to Google-internal development.Josh Haberman
2014-09-01I think I have the right 32-bit C++ libraries now.Josh Haberman
2014-09-01Maybe I finally got the right C++ library for 32-bit?Josh Haberman
2014-09-0132-bit builds also needs 32-bit C++ library.Josh Haberman
2014-09-0132-bit build needs 32-bit libraries installed.Josh Haberman
2014-09-01Added lua and core32 Travis builds, and rewrote README.mdJosh Haberman
2014-09-01Added compiled version of test.proto.Josh Haberman
This avoids requiring protoc to be installed just to build/run the basic tests. When upb has its own .proto file parser we should be able to remove this precompiled version from the repository.
2014-09-01Enable more Travis configurations.Josh Haberman
2014-08-31Rewrite of build system.Josh Haberman
Notable changes: - We now only build things by default that require no dependencies. So you can build upb even if you don't have Lua or Google protobuf installed. - Checked in a pre-built version of the JIT, so you don't need Lua installed at build time to run DynASM. It will still notice if you change the .dasc file and attempt to re-run DynASM in that case. - The build system now builds all modules of upb into separate libraries, reflecting the modularity that is already inherent in upb's design. This should make it easier to trim the fat. - removed the GDB JIT interface. I wasn't using it much; using a .so is easier and more robust.
2014-08-30Fix in test_cpp for bad macro expansion.Josh Haberman
2014-08-30Fixed build and added Travis CI support.Josh Haberman
2014-08-09Added optimization note.Josh Haberman
2014-08-09Make the absence of perf-cppflags give a good default build.Josh Haberman
Defaults are now: - thread-safe with GCC/Clang - Debugging not enabled (enable with -UNDEBUG)
2014-08-09Fixed some bugs and added accessors.Josh Haberman
2014-08-01Beginnings of a prototype Ruby extension.Josh Haberman
2014-07-29Added UPB_UNTRACKED_REF and some more handler overload options.Josh Haberman
2014-07-24Sync from Google-internal development.Josh Haberman
2014-07-02Sync from internal Google development.Josh Haberman
2014-06-26Sync from internal Google development.Josh Haberman
2014-02-04Sync from Google development.Josh Haberman
2014-01-21Sync to internal Google development.Josh Haberman
2013-12-20Sync from Google-internal development.Josh Haberman
2013-10-24Build fix for Mac OS X.Josh Haberman
2013-10-24Fixes to make the open-source build compile on Linux.Josh Haberman
2013-10-24Merge from Google-internal development:Josh Haberman
- rewritten decoder; interpreted decoder is bytecode-based, JIT decoder no longer falls back to the interpreter. - C++ improvements: C++11-compatible iterators, upb::reffed_ptr for RAII refcounting, better upcast/downcast support. - removed the gross upb_value abstraction from public upb.h.
2013-05-28Fix to compile on Linux.Josh Haberman
2013-05-28Fixes to compile on GCC 4.2, as shipped with XCode.Josh Haberman
2013-05-28Merge from Google-internal development.Josh Haberman
- Better error reporting for upb::Def setters. - error reporting for upb::Handlers setters. - made the start/endmsg handlers a little less special-cased.
2013-05-25Updated benchmarks to new API.Josh Haberman
2013-05-25Merge branch 'master' of github.com:haberman/upbJosh Haberman
Conflicts: upb/google/proto2.cc upb/handlers.h
2013-05-25Synced with Google-internal development.Josh Haberman
C++ handlers are now type-safe; SinkFrame is gone. Various other changes.
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback