Joshua Haberman
9cc02bb60d
Rewrote the MessageSet parsing code in the upb decoder to properly handle several edge cases.
...
PiperOrigin-RevId: 440788402
3 years ago
Protobuf Team
bef53686ec
Add support for clear field in upbc.
...
Add support for setting extension field value.
PiperOrigin-RevId: 439365359
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
98aa7d7add
Fixed GitHub Actions syntax.
...
PiperOrigin-RevId: 438592264
3 years ago
Protobuf Team
e6e73198e3
Ignore recently added pb unit test method
...
PiperOrigin-RevId: 438590118
3 years ago
Joshua Haberman
f32e79a975
Added GitHub Action to build generated files and push them to the `generated` branch.
...
PiperOrigin-RevId: 438583959
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
68b8469245
Set theme jekyll-theme-cayman
3 years ago
Joshua Haberman
8835242b8b
Moved GitHub docs from `doc` -> `docs`. GitHub pages only supports the latter.
...
This will unfortunately break all existing links to the docs. Soon the links should point to upb.dev anyway.
PiperOrigin-RevId: 438138611
3 years ago
Joshua Haberman
b25e7218ef
Call reserve() before push_back().
...
PiperOrigin-RevId: 436318676
3 years ago
Protobuf Team
e80ac6df59
Fix typos
...
PiperOrigin-RevId: 435416635
3 years ago
Copybara-Service
8bc976b951
Merge pull request #554 from haberman:push_back
...
PiperOrigin-RevId: 435158445
3 years ago
Joshua Haberman
c6dae657fb
Reserve elements from vector before calling push_back().
3 years ago
Protobuf Team
b0f55f0879
Reserve vector capacity prior to calling `push_back()` in a loop.
...
PiperOrigin-RevId: 435111851
3 years ago
Theodore Rose
027129bf0f
Merge pull request #552 from protocolbuffers/test_435060849
...
Internal change
3 years ago
Protobuf Team
78f5af8103
Internal change
...
PiperOrigin-RevId: 435060849
3 years ago
Protobuf Team
b8edc7153f
Internal change
...
PiperOrigin-RevId: 435056074
3 years ago
Joshua Haberman
b79b8b3f4d
Merge pull request #550 from haberman/minitable-api
...
Ported code generator to the new mini-table build API
3 years ago
Joshua Haberman
a9e894dbbc
Addressed PR comments.
3 years ago
Joshua Haberman
adff8bd239
Merge pull request #551 from haberman/hash_function
...
Ruby needs the "seed" parameter in our hash function.
3 years ago
Joshua Haberman
99d0b36baa
Change parameter to const void*.
3 years ago
Joshua Haberman
570332dfee
Ruby needs the "seed" parameter in our hash function.
3 years ago
Joshua Haberman
a1a101ab8e
clang-format.
3 years ago
Joshua Haberman
cb55c4d781
Addressed PR comments.
3 years ago
Joshua Haberman
8d148f023e
Clang-format and fixed missing dep.
3 years ago
Joshua Haberman
20e7802fca
Clang-format.
3 years ago
Joshua Haberman
3692e6659f
Reverted decode_fast.c changes. They are not necessary for this PR.
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
c4ae35070b
Removed asserts we can no longer count on.
3 years ago
Joshua Haberman
911a25e738
Passes nearly all tests!
3 years ago
Joshua Haberman
21e9cc80de
Merge branch 'main' into minitable-api
3 years ago
Joshua Haberman
bb4073cfda
Updated generated code.
3 years ago
Joshua Haberman
273398ca5f
Removed MessageLayout from upbc.
3 years ago
Joshua Haberman
99e0e9fbd5
Merge pull request #549 from haberman/refactor-upbc
...
(NFC) Refactored upbc header generation into smaller methods.
3 years ago
Joshua Haberman
a2004150f8
Merge branch 'refactor-upbc' into minitable-api
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
37a7661855
Fixed bitmath bug.
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
2eb88661e0
Merge branch 'refactor-upbc' into minitable-api
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
f2aab6ed3c
Merge branch 'main' into minitable-api
3 years ago
Joshua Haberman
237e3bf51d
Merge pull request #545 from haberman/disable-proto2-enum
...
Two Ruby changes to unblock the release
3 years ago
Joshua Haberman
afffa9eaeb
Two Ruby changes to unblock the release
3 years ago
Joshua Haberman
dbf6b66f87
Merge pull request #544 from haberman/unknown_map_enum
...
Put map entries into unknown fields when unknown enum values are encountered
3 years ago