Josh Haberman
32e3f394b4
A few small API tweaks.
...
- Foo_parsenew() -> Foo_parse().
- parse function takes plain (const char*, size_t) instead of
upb_strview. The latter is mainly useful for strings inside
message objects.
6 years ago
Joshua Haberman
2b62fbce67
Merge pull request #145 from haberman/arrayapi
...
Generated code API changes for array and hazzers.
6 years ago
Josh Haberman
3d93155790
Fix to deps.
6 years ago
Josh Haberman
b07fcde013
Fix for C++ inclusion of decoder.int.h.
6 years ago
Josh Haberman
22ad7121c2
Fixes for google3.
6 years ago
Josh Haberman
8e737d4f9a
Discard extensions since current symtab can't handle them.
6 years ago
Josh Haberman
68d86cbc59
Ported BUILD file fixes for google3 to arrayapi branch.
6 years ago
Paul Yang
c7870e0f77
Supprot FieldMask json encoding/decoding. ( #147 )
6 years ago
Josh Haberman
9ea6bb4678
Renamed upb_stringview -> upb_strview for C terseness.
6 years ago
Josh Haberman
aac4d03420
Standardize on package_name_Message_mutable_foo() for mutable accessors.
6 years ago
Joshua Haberman
0ce9b81815
Fixed bugs in array accessors.
6 years ago
Joshua Haberman
c3011c1548
Fixed bug: make proto2 setters set hasbit.
6 years ago
Joshua Haberman
618981a60f
Added mutable_ accessor for submessages.
6 years ago
Joshua Haberman
bc916f1d0f
Added "add" accessors for repeated fields.
6 years ago
Joshua Haberman
08987e3dd4
Merge branch 'master' into arrayapi
6 years ago
Joshua Haberman
87b59f445b
Merge pull request #146 from haberman/amalgamate
...
Fixed amalgamation to not list header files explicitly.
6 years ago
Joshua Haberman
51a646ec11
Make Bazel print output for failed tests.
6 years ago
Joshua Haberman
b4dec6b897
Fixed amalgamation to not list header files explicitly.
6 years ago
Joshua Haberman
161258a2ad
Merge pull request #142 from TeBoring/json-any-encoding
...
Add support for encoding Any in json
6 years ago
Bo Yang
18563bee4c
Fix comments
6 years ago
Bo Yang
99600b4a0e
Fix generated file test
6 years ago
Joshua Haberman
aa2d5a609b
Fixed generated code for C++.
6 years ago
Joshua Haberman
10e682cf2a
Added hazzers.
6 years ago
Joshua Haberman
6bcdaa1352
Changed generated array accessors to be more convenient.
6 years ago
Joshua Haberman
2c0e0054a8
Merge pull request #144 from haberman/rmupbc
...
Deleted old Lua-based C API compiler.
6 years ago
Josh Haberman
32ef122e38
Deleted old Lua-based C API compiler.
...
This compiler has been ported to C++, so the Lua
compiler is no longer needed.
6 years ago
Joshua Haberman
aad4f403a6
Merge pull request #143 from haberman/rmtravis
...
Removed Travis config and Makefile, in favor of Kokoro and Bazel/CMake.
6 years ago
Josh Haberman
43ab429c09
Use the latest Bazel version.
6 years ago
Josh Haberman
12195ff19f
Removed Travis config and Makefile, in favor of Kokoro and Bazel/CMake.
6 years ago
Bo Yang
375a25423e
Mark unused parameter
6 years ago
Bo Yang
915806ea8d
Remove unused code
6 years ago
Bo Yang
b39dbb9d40
Add support for encoding Any in json
6 years ago
Joshua Haberman
73ccf4a7c7
Merge pull request #140 from haberman/cmake-mac-fixes
...
Bazel and CMake fixes for macOS
6 years ago
Joshua Haberman
66f90464a8
Fix for sed that also works on Linux.
6 years ago
Joshua Haberman
0c824b6b6c
Merge branch 'master' into cmake-mac-fixes
6 years ago
Paul Yang
13c59cb051
Implement json decoding for Any message. ( #130 )
...
* Implement json decoding for Any message.
type url may not appear as the first value in json. As a result,
other data cannot be resolved before resolving type url. To solve that,
this change caches the start and end position of unparsed values and
resolve them in end_any_object when type url has been resolved.
* Handle Any in switch
* Update json parser size
* Fix comments
* Sync upstream
* Add dependency on upb_pb for upb_json
* Debug failed test
* Fix cmake
* Update test generated files
* Remove debug tests
6 years ago
Joshua Haberman
35fa3df8ec
Fixes for macOS build. Also run tests in CMake test.
6 years ago
Paul Yang
9e44a757ed
Fix Bazel Kokoro build ( #136 )
6 years ago
Joshua Haberman
fb6f7e9689
Merge pull request #137 from vishalpowar/add_visibility
...
Add visibility
6 years ago
Vishal Powar
7031f77666
Add visibility for use in other projects.
6 years ago
Vishal Powar
7c005e7807
Merge branch 'master' of github.com:google/upb
6 years ago
Joshua Haberman
22be932863
Merge pull request #135 from vishalpowar/cast_correct
...
Explicit cast when creating a new struct
6 years ago
Vishal Powar
f6c33307c4
Fix tests for generated code
6 years ago
Vishal Powar
e2ad6bd146
Fix tests for generated code
6 years ago
Vishal Powar
0811b6fead
Explicit cast when creating a new struct
6 years ago
Joshua Haberman
cb113bc8cc
Merge pull request #134 from haberman/upbc-cpp
...
Added upb compiler written in C++ as a normal protoc plugin.
6 years ago
Josh Haberman
9ce4a77f61
Updates to build system for upb C++ compiler.
6 years ago
Josh Haberman
5f575995b5
Added upb compiler written in C++ as a normal protoc plugin.
6 years ago
Joshua Haberman
d4e78f9fdf
Merge pull request #132 from haberman/bazel
...
Added Bazel build, and auto-generate CMake build from it.
6 years ago
Josh Haberman
23fa64f10c
Added script to generate CMake build. Bazel tests it.
6 years ago