Joshua Haberman
|
a9e894dbbc
|
Addressed PR comments.
|
3 years ago |
Joshua Haberman
|
cb55c4d781
|
Addressed PR comments.
|
3 years ago |
Joshua Haberman
|
20e7802fca
|
Clang-format.
|
3 years ago |
Joshua Haberman
|
d1a6423600
|
A bit more refactoring and comments.
|
3 years ago |
Joshua Haberman
|
75660afaa5
|
Moved class definitions out of line.
|
3 years ago |
Joshua Haberman
|
911a25e738
|
Passes nearly all tests!
|
3 years ago |
Joshua Haberman
|
273398ca5f
|
Removed MessageLayout from upbc.
|
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
|
7c541f0ba6
|
(NFC) Refactored upbc header generation into smaller methods.
This is in anticipation of a larger upcoming refactor.
|
3 years ago |
Joshua Haberman
|
04e4276ea2
|
WIP.
|
3 years ago |
Joshua Haberman
|
76a81e2177
|
WIP.
|
3 years ago |
Joshua Haberman
|
8a6f9591d8
|
WIP.
|
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
|
7647b79403
|
WIP.
|
3 years ago |
Joshua Haberman
|
af6574a416
|
WIP.
|
3 years ago |
Samuel Benzaquen
|
8d755661aa
|
Update protoc-gen-upbdefs.cc
|
3 years ago |
Samuel Benzaquen
|
aa779cd779
|
Update protoc-gen-upb.cc
|
3 years ago |
Joshua Haberman
|
ecc8bae4ce
|
Fix for proto2 files that use proto3 enums.
|
3 years ago |
Joshua Haberman
|
992448eefe
|
Addressed PR comments.
|
3 years ago |
Joshua Haberman
|
9715597895
|
Fixed clang-format.
|
3 years ago |
Joshua Haberman
|
2e141b24fc
|
Addressed PR comments.
|
3 years ago |
Joshua Haberman
|
85072ce04e
|
Fixed a bug in enum layout generation.
|
3 years ago |
Joshua Haberman
|
65a85a63c8
|
Fixed two bugs with proto2 enums:
1. The mask was getting improperly truncated for values 32-63.
2. We were not handling duplicated enum values.
|
3 years ago |
Joshua Haberman
|
74bc67bbbc
|
WIP
|
3 years ago |
Joshua Haberman
|
32038c1c59
|
New API for building extensions appears to work.
|
3 years ago |
Joshua Haberman
|
2dad1f94a2
|
MiniTable builder is successfully working on all files!
|
3 years ago |
Matt Kulukundis
|
17f3a0d236
|
move to internal
|
3 years ago |
Matt Kulukundis
|
9457aa6452
|
force explicit conversions to desired types in generated code
|
3 years ago |
Matt Kulukundis
|
dc11657df6
|
Small fixes to compile with stricter warnings
|
3 years ago |
Joshua Haberman
|
60a3edb87f
|
Code is in place to generate from upbc, but segv results.
|
3 years ago |
Joshua Haberman
|
13434560e0
|
WIP.
|
3 years ago |
Joshua Haberman
|
032400a03e
|
Fixed data corruption when total hasbits are a power of two.
|
3 years ago |
Joshua Haberman
|
5dfbc684dd
|
WIP.
|
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
|
39365f16a7
|
Addressed PR comments.
|
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
|
d0795a29d9
|
Test for def_to_proto is working.
|
3 years ago |
Joshua Haberman
|
58c1dbc11f
|
Addressed PR comments.
|
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
|
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 |