Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-12-12 | Amalgamated 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-09 | Removed obsolete benchmarks/ and examples/ directories. | Josh Haberman | |
2014-12-09 | JSON 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-04 | JSON printer: remove dependency on YAJL, using a hand-rolled printer instead. | Chris Fallin | |
2014-12-03 | Sync from Google-internal development. | Josh Haberman | |
Most notably, a JSON parser is now provided. | |||
2014-11-18 | Fixed building of googlepbtests. | Josh Haberman | |
2014-11-18 | Sync to Google-internal development. | Josh Haberman | |
2014-09-01 | Added lua and core32 Travis builds, and rewrote README.md | Josh Haberman | |
2014-09-01 | Enable more Travis configurations. | Josh Haberman | |
2014-08-31 | Rewrite 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-30 | Fixed build and added Travis CI support. | Josh Haberman | |
2014-08-09 | Make 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-01 | Beginnings of a prototype Ruby extension. | Josh Haberman | |
2014-02-04 | Sync from Google development. | Josh Haberman | |
2014-01-21 | Sync to internal Google development. | Josh Haberman | |
2013-12-20 | Sync from Google-internal development. | Josh Haberman | |
2013-10-24 | Build fix for Mac OS X. | Josh Haberman | |
2013-10-24 | Fixes to make the open-source build compile on Linux. | Josh Haberman | |
2013-05-28 | Fixes to compile on GCC 4.2, as shipped with XCode. | Josh Haberman | |
2013-05-28 | Merge 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-25 | Merge branch 'master' of github.com:haberman/upb | Josh Haberman | |
Conflicts: upb/google/proto2.cc upb/handlers.h | |||
2013-05-25 | Synced with Google-internal development. | Josh Haberman | |
C++ handlers are now type-safe; SinkFrame is gone. Various other changes. | |||
2013-05-11 | Updated benchmarks to new APIs. | Joshua Haberman | |
2013-05-11 | Open source fixes: builds on OS X again. | Joshua Haberman | |
2013-02-15 | Sync with 8 months of Google-internal development. | Josh Haberman | |
Many things have changed and been simplified. The memory-management story for upb_def and upb_handlers is much more robust; upb_def and upb_handlers should be fairly stable interfaces now. There is still much work to do for the runtime component (upb_sink). | |||
2012-03-31 | Sync from internal Google development. | Joshua Haberman | |
2012-03-24 | Sync from internal Google development. | Joshua Haberman | |
Many improvements, too many to mention. One significant perf regression warrants investigation: omitfp.parsetoproto2_googlemessage1.upb_jit: 343 -> 252 (-26.53) plain.parsetoproto2_googlemessage1.upb_jit: 334 -> 251 (-24.85) 25% regression for this benchmark is bad, but since I don't think there's any fundamental design issue that caused it I'm going to go ahead with the commit anyway. Can investigate and fix later. Other benchmarks were neutral or showed slight improvement. | |||
2011-12-22 | Small Makefile fix. | Joshua Haberman | |
2011-12-22 | Fixed the open-source build. | Joshua Haberman | |
2011-12-22 | Sync with internal Google development. | Joshua Haberman | |
This breaks the open-source build, will follow up with a change to fix it. | |||
2011-11-19 | Changes to get upb compiling inside Google. | Joshua Haberman | |
2011-09-21 | Fix GDB unwinding through JIT-compiled frames. | Joshua Haberman | |
2011-09-20 | Fixes to get upb to compile inside Google. | Joshua Haberman | |
2011-09-20 | x86 JIT: now works without -NDNDEBUG (also small perf increase). | Joshua Haberman | |
2011-09-20 | Fix perf-tests.sh to skip building non-upb tests. | Joshua Haberman | |
2011-09-19 | Rename x86 -> x64, since JIT is x64-only. | Joshua Haberman | |
2011-09-12 | Added an example, constified some more methods. | Joshua Haberman | |
2011-09-04 | Const invasion: large parts of upb made const-correct. | Joshua Haberman | |
2011-08-31 | Header cleanup, clarify/correct comments for interfaces. | Joshua Haberman | |
2011-08-31 | Make "benchmark" build "benchmarks", add bug note. | Joshua Haberman | |
2011-08-31 | Revised upb_bytesink, refactored upb_textprinter (untested). | Joshua Haberman | |
2011-08-20 | Fold gen-deps.sh into Makefile. | Joshua Haberman | |
2011-08-20 | Fix stack alignment on OS X. | Joshua Haberman | |
2011-08-20 | Some Makefile cleanup. | Joshua Haberman | |
2011-08-19 | Renamed lang_ext -> bindings, README updates. | Joshua Haberman | |
2011-08-19 | Fix proto2 benchmark for newer proto2. | Josh Haberman | |
2011-08-19 | Benchmark to parse into proto2 messages. | Joshua Haberman | |
2011-08-17 | Benchmark JIT vs no JIT without forcing a whole-project recompile. | Joshua Haberman | |
2011-08-12 | Python: basic SymbolTable support and empty accessors. | Joshua Haberman | |
2011-08-10 | Fixed overzealous assert(). | Joshua Haberman | |