Joshua Haberman
125db89ff5
Added fuzz tests for mini table building and binary format parsing/serialization.
...
PiperOrigin-RevId: 458240180
2 years ago
Joshua Haberman
6df5517d25
Consolidate upb visibility into a single visibility list.
...
PiperOrigin-RevId: 450733238
3 years ago
Protobuf Team
ee6b1abb35
Create targets for UPB release
...
PiperOrigin-RevId: 441496547
3 years ago
Joshua Haberman
7ff1662f97
Removed pre-generated CMake files from the main branch.
...
From now on, these files will live in the "generated" branch only, and a GitHub action will regenerate these files whenever there is a commit to the main branch.
PiperOrigin-RevId: 438879338
3 years ago
Joshua Haberman
a5243ff6d9
Restructure our file syncing so GitHub only files are tracked separately in Piper.
...
PiperOrigin-RevId: 438395194
3 years ago
Joshua Haberman
911a25e738
Passes nearly all tests!
3 years ago
Joshua Haberman
bb4073cfda
Updated generated code.
3 years ago
Joshua Haberman
169bc6a83c
Changed many strings in the compiler to use "cc" raw strings.
...
These strings can be formatted by clang-format.
3 years ago
Joshua Haberman
5b711f286b
WIP.
3 years ago
Joshua Haberman
e0aaad386f
Passes all conformance tests!
3 years ago
Joshua Haberman
c3d8ef7939
Get packed flag working.
3 years ago
Joshua Haberman
03c1fe48c4
We are passing most tests and most conformance tests!
...
Proto2 enum mini-table building is not yet implemented.
3 years ago
Joshua Haberman
76a81e2177
WIP.
3 years ago
Joshua Haberman
a1e6f29de9
Fixed CMakeLists.txt.
3 years ago
Joshua Haberman
8ede0d552d
Tests are passing.
3 years ago
Joshua Haberman
532dc1f0f0
Renamed a few more constants to the new style.
...
These are not in the public API and so were not prioritized before.
No functional change here, just renames.
3 years ago
Joshua Haberman
af6574a416
WIP.
3 years ago
Joshua Haberman
8c530f9226
Changed generated code deps to avoid deps on core libraries.
...
This will allow the core libraries to be visibility controlled if
necessary.
3 years ago
Matt Kulukundis
edd1dd30e7
Fix missing build deps
3 years ago
Matt Kulukundis
5d7daf1ce2
fix cmake
3 years ago
Matt Kulukundis
074a469cbe
sort file list
3 years ago
Joshua Haberman
60a3edb87f
Code is in place to generate from upbc, but segv results.
3 years ago
Joshua Haberman
56c59c10ed
Call protobuf_deps() ourselves instead of from upb_deps().
3 years ago
Joshua Haberman
022ccf54d4
Updated to the HEAD version of Protobuf.
...
This brings in a few new Python tests that are failing.
3 years ago
Joshua Haberman
13434560e0
WIP.
3 years ago
Joshua Haberman
11b6df0c46
Moved tests into the main source tree.
3 years ago
Joshua Haberman
0c541f3305
Single encode.
3 years ago
Joshua Haberman
72af9dc0cc
Switch to a single upb_Decode.
3 years ago
Joshua Haberman
499c2cc8b1
upb_extreg, upb_msg
3 years ago
Joshua Haberman
1c955f37ce
Mass API rename and clang-reformat ( #485 )
...
* Wave 1: upb_fielddef.
* upb_fielddef itself.
* upb_oneofdef.
* upb_msgdef.
* ExtensionRange.
* upb_enumdef
* upb_enumvaldef
* upb_filedef
* upb_methoddef
* upb_servicedef
* upb_symtab
* upb_defpool_init
* upb_wellknown and upb_syntax_t
* Some constants.
* upb_status
* upb_strview
* upb_arena
* upb.h constants
* reflection
* encode
* JSON decode.
* json encode.
* msg_internal.
* Formatted with clang-format.
* Some naming fixups and comment reformatting.
* More refinements.
* A few more stragglers.
* Fixed PyObject_HEAD with semicolon. Removed TODO entries.
3 years ago
Joshua Haberman
3921e02990
Fixed make_cmakelists.py.
3 years ago
Joshua Haberman
a0374b3b08
Added required field checking into the encoder.
3 years ago
Joshua Haberman
c59d8f8eb7
Addressed PR comments and fixed the broken test.
3 years ago
Joshua Haberman
58c1dbc11f
Addressed PR comments.
3 years ago
Joshua Haberman
3d437bbcab
Some pre-PR fixes.
3 years ago
Joshua Haberman
4307f5dbba
Fixed the CMake build and amalgamation.
3 years ago
Joshua Haberman
c755099a89
WIP.
3 years ago
Joshua Haberman
401e1747b5
Addressed PR feedback.
3 years ago
Joshua Haberman
b1bbbdd4e7
Addressed PR comments.
3 years ago
Joshua Haberman
ce012b7b55
Added support for extensions.
3 years ago
Joshua Haberman
7183780b60
Added a Valgrind test that works for Python!
3 years ago
Joshua Haberman
5d8c3db94f
Added copyright header and docs for python_headers().
3 years ago
Joshua Haberman
f098230df8
Exclude fuzz test from non-Clang compilers.
3 years ago
Joshua Haberman
fa4d70fad6
Restore CMake files, we're not ready to delete them yet.
3 years ago
Joshua Haberman
173554146f
Updated some docs and removed/rearranged some obsolete stuff.
3 years ago
Joshua Haberman
c4744c0b21
Updated generated files.
3 years ago
Joshua Haberman
91d506ac32
Ported ABSL's wyhash to C.
3 years ago
Joshua Haberman
6e53de4a03
Addressed PR comments.
4 years ago
Joshua Haberman
cdd6434a31
Introduced upb_extreg and plumbed it into decoder.
4 years ago
Joshua Haberman
58e158c6fa
Changed mini-table to use a custom "mode" instead of descriptor's "label."
4 years ago