Hong Shin
7620bbf3c6
Temporary removal of hpb BUILD files for OSS while we refactor.
...
At some point we will re-introduce these with the corresponding CI tests to ensure they stay green.
PiperOrigin-RevId: 675691367
2 months ago
Hong Shin
4c13f48847
Automated rollback of commit 9a9e5cf7ff
.
...
PiperOrigin-RevId: 673940081
2 months ago
Hong Shin
9a9e5cf7ff
hpb: Remove DeepCopy - no extant users
...
PiperOrigin-RevId: 673815064
2 months ago
Hong Shin
877b02506c
Introduce hpb::interop::upb::GetMessage; née protos::internal::GetInternalMsg
...
PiperOrigin-RevId: 672659339
3 months ago
Joshua Haberman
8422e9795f
Migrated upb to use Copybara-standard stripping.
...
This CL is mostly a no-op, except that now google3-only code is actually stripped from OSS, instead of being preserved in `# begin:google_only` blocks.
This follows the conventions of the greater Copybara ecosystem.
PiperOrigin-RevId: 669513564
3 months ago
Joshua Haberman
e4449ba248
Harmonize license rules between google3 and OSS
...
This simplifies upb by removing differences between google3 and OSS.
This also points upb at the protobuf license, instead of keeping a separate copy around for upb.
PiperOrigin-RevId: 669447145
3 months ago
Hong Shin
fa15d09055
Introduce and migrate to hpb::interop::upb::GetArena from protos::internal::GetArena
...
PiperOrigin-RevId: 668955137
3 months ago
Hong Shin
facfa3f45e
Migrate GetExtension from protos to hpb
...
PiperOrigin-RevId: 668534183
3 months ago
Hong Shin
d4fc727be4
Abrogate protos::Parse with hpb::Parse
...
PiperOrigin-RevId: 667643856
3 months ago
Hong Shin
a33a81b163
Move ExtensionNumber from protos to hpb
...
PiperOrigin-RevId: 666453855
3 months ago
Hong Shin
0c8c922681
hbp: Rename and rehouse extension_lock -> internal/message_lock
...
PiperOrigin-RevId: 665459381
3 months ago
Hong Shin
090edb7a77
replace protos namespace from {repeated_field, repeated_field_iterator} with hpb
...
PiperOrigin-RevId: 659995152
4 months ago
Hong Shin
c75e50febb
Obliterate protos namespace from hpb.h!
...
PiperOrigin-RevId: 658477450
4 months ago
Hong Shin
824f6ac9e9
Migrate core (sans Parse & Serialize) and extension funcs from `protos` to `hpb`
...
This entails:
- CreateMessage
- ClearMessage
- CloneMessage
- DeepCopy
- HasExtension
- ClearExtension
- SetExtension
- GetExtension
PiperOrigin-RevId: 657386985
4 months ago
Protobuf Team Bot
51763f3e40
Automated rollback of commit 74f6da4d26
.
...
PiperOrigin-RevId: 657257908
4 months ago
Hong Shin
9f5aed39ea
Migrate all of `protos::internal` into `hpb::internal`
...
`hpb.cc` has also been transformed to be 100% hpb.
PiperOrigin-RevId: 657183219
4 months ago
Hong Shin
165d2c76ed
Fold 80% of `protos::internal` into `hpb::internal`:
...
```
- PrivateAccess
- GetInternalMsg
- CreateMessage
- CreateMessageProxy
- GetExtensionNumber
- ExtensionIdentifier
```
PiperOrigin-RevId: 655597227
4 months ago
Hong Shin
9e38dce616
fold Ptr into hpb namespace
...
PiperOrigin-RevId: 654835437
4 months ago
Protobuf Team Bot
74f6da4d26
Switch C++ extension identifier to constexpr.
...
Add static_assert test for ExtensionNumber API.
PiperOrigin-RevId: 654129635
4 months ago
Protobuf Team Bot
a8d83db3c7
Add ::hpb::ExtensionNumber API for extension field constants.
...
PiperOrigin-RevId: 653385818
4 months ago
Hong Shin
16a8034d04
Migrate Arena to hpb namespace with forwarding
...
PiperOrigin-RevId: 652503898
4 months ago
Hong Shin
5f366b3b7d
update .proto namespace for hpb_generator/tests
...
PiperOrigin-RevId: 651523466
5 months ago
Hong Shin
ab78e2fc1d
protos -> hpb namespace transition :: minimal slice
...
PiperOrigin-RevId: 651111836
5 months ago
Hong Shin
7a2b37f77d
Update hpb generator plugin namespace protos -> hpb
...
PiperOrigin-RevId: 650780819
5 months ago
Hong Shin
fba399ad35
Remove protos/requires.h
...
PiperOrigin-RevId: 650374125
5 months ago
Hong Shin
096b139192
move upb/hpb_generator -> protobuf/compiler/hpb
...
PiperOrigin-RevId: 649112245
5 months ago
Hong Shin
d7087fc901
Move over upb/protos -> hpb (note that hpb is now a sibling of upb, not a child)
...
PiperOrigin-RevId: 647378884
5 months ago
Hong Shin
0d1e067640
Remove bad dep imported_proto
...
PiperOrigin-RevId: 642661970
6 months ago
Hong Shin
968087eb61
protos abrogation stage 1 - rename :: hpb for protos_generator
...
In this first stage, we rename the directory from protos_generator to hpb_generator, updating all necessary BUILD files and #includes.
PiperOrigin-RevId: 642600953
6 months ago