Stan Hu
c604ed9ae9
Fix big endian handling of enums
...
Previously using an enum for a field on big-endian process such as the
s390x would fail to decode properly. We need to munge it in the correct
byte order before decoding it.
3 years ago
Joshua Haberman
40dfcc2838
Merge pull request #434 from haberman/def-to-proto
...
Added util library for converting defs back to descriptor protos
3 years ago
Joshua Haberman
c59d8f8eb7
Addressed PR comments and fixed the broken test.
3 years ago
Joshua Haberman
d0795a29d9
Test for def_to_proto is working.
3 years ago
Joshua Haberman
0be33b1e3c
WIP.
3 years ago
Joshua Haberman
da350f6aae
Merge pull request #432 from haberman/required2
...
Added a standalone required field check
3 years ago
Joshua Haberman
ec7d8e69da
Updated branch for GitHub Actions master -> main.
3 years ago
Joshua Haberman
1c941dbf16
Added a clarifying comment.
3 years ago
Joshua Haberman
50b360f974
Addressed PR comments.
3 years ago
Joshua Haberman
cfda119c52
Updated the doc comments.
3 years ago
Joshua Haberman
880ca37531
Functionality is complete and it is passing all tests.
3 years ago
Joshua Haberman
5817886392
Simplified the field path representation.
3 years ago
Joshua Haberman
0834ee254b
Baseline code.
3 years ago
Joshua Haberman
160625a972
Merge pull request #431 from haberman/required
...
Required fields checking in the parser
3 years ago
Joshua Haberman
2199be91bc
Fixed UBSAN error.
3 years ago
Joshua Haberman
58968d6a78
A bit of minor code tweaking that improves benchmarks by 10%.
3 years ago
Joshua Haberman
58c1dbc11f
Addressed PR comments.
3 years ago
Joshua Haberman
1618e1b9a6
Fixed case of parsing an unknown field.
3 years ago
Joshua Haberman
779c30949b
Finished up the test.
3 years ago
Joshua Haberman
f7980b7ed1
Restructured for simplicity and fixed fasttable parser.
3 years ago
Joshua Haberman
62bae8fff9
Merge branch 'unknown-opt' into required
3 years ago
Joshua Haberman
dfa28861cc
Don't store field_start, derive it separately.
3 years ago
Joshua Haberman
7c83eb93be
Removed extra size from message.
3 years ago
Joshua Haberman
3d437bbcab
Some pre-PR fixes.
3 years ago
Joshua Haberman
e4855feec8
Merge pull request #429 from haberman/utf8
...
Switched to utf8_range for UTF8 verification
3 years ago
Joshua Haberman
a763267219
Addressed PR comments.
3 years ago
Joshua Haberman
4abe724dde
A few more fixes.
3 years ago
Joshua Haberman
7c8a24dadd
Merge branch 'master' into utf8
3 years ago
Joshua Haberman
4307f5dbba
Fixed the CMake build and amalgamation.
3 years ago
Joshua Haberman
ae6aaa1ff7
Merge pull request #420 from haberman/new-fuzzing
...
Updated rules_fuzzing which brings GCC compatibility.
3 years ago
Joshua Haberman
94565270c9
Checked in unmodified utf8_range code.
3 years ago
Joshua Haberman
b5b32357b3
Merge pull request #427 from haberman/proto2enum
...
Implemented proto2's unfortunate enum behavior
3 years ago
Joshua Haberman
e595ceebc5
Added FALLTHROUGH_INTENDED to fix GCC warning.
3 years ago
Joshua Haberman
42be22faea
Opted the table-driven parser out of fasttable parsing.
3 years ago
Joshua Haberman
7771a0515b
Addressed PR comments.
3 years ago
Joshua Haberman
f21ce7255d
Fixed double-lookups.
3 years ago
Joshua Haberman
16f763e4d6
Addressed PR comments.
3 years ago
Joshua Haberman
9d26c706e0
Removed dependency on popcount() intrinsic.
3 years ago
Joshua Haberman
7907ed913b
Expanded the test to cover packed fields also.
3 years ago
Joshua Haberman
c755099a89
WIP.
3 years ago
Joshua Haberman
e5c1583452
Merge pull request #426 from haberman/defs
...
Filling out the functionality of defs.
3 years ago
Joshua Haberman
6f7634f707
Fixed ABSL version to a specific commit.
3 years ago
Joshua Haberman
401e1747b5
Addressed PR feedback.
3 years ago
Joshua Haberman
cd4981133f
WIP.
3 years ago
Joshua Haberman
9f45814dd7
Removed sha256 for our build which follows the master branch.
3 years ago
Joshua Haberman
2e1502a637
Set benchmark baseline back to master.
3 years ago
Joshua Haberman
cc03669a17
Several changes to defs.
...
Biggest/key changes:
1. Defs are now nested per the .proto file syntax.
2. Options are parsed and vended.
3 years ago
Joshua Haberman
0e0de7d9f9
Merge pull request #423 from haberman/msgset
...
Implemented support for MessageSet.
3 years ago
Joshua Haberman
2484d12c1c
Addressed PR comments.
3 years ago
Joshua Haberman
77c0381013
Interleave benchmark results.
3 years ago