Hong Shin
1f237eff07
Abrogate protos::internal::ExtensionIdentifier in favor of hpb::internal::ExtensionIdentifier
...
PiperOrigin-RevId: 670690046
3 months ago
Hong Shin
4535f862f5
protos::Ptr -> hpb::Ptr parte deux
...
PiperOrigin-RevId: 670620457
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
d4a899538a
Abrogate protos::internal::CreateMessageProxy with hpb::interop::upb::MakeHandle
...
PiperOrigin-RevId: 668937831
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
caa8f9dbf8
Move hpb::internal::CreateMessage to hpb::interop::upb::CreateMessage
...
PiperOrigin-RevId: 666438557
3 months ago
Hong Shin
9a24fc999d
Abrogate protos::MessageAllocationError with hpb::MessageAllocationError
...
PiperOrigin-RevId: 665549987
3 months ago
Hong Shin
8bb789e462
Introduce hpb::interop::upb and hpb::internal::backend::upb
...
Migrate ::hpb::internal::GetMiniTable to ::hpb::interop::upb::GetMiniTable
hpb.h now shows signs of backend-awareness, #including upb.h if the backend is known to be upb. If no backend is picked, we error out at this time since we solely support upb.
ClearMessage has been migrated to backend-aware hpb.
PiperOrigin-RevId: 665527832
3 months ago
Hong Shin
0c8c922681
hbp: Rename and rehouse extension_lock -> internal/message_lock
...
PiperOrigin-RevId: 665459381
3 months ago
Adam Cozzette
f48205ffed
Internal change
...
PiperOrigin-RevId: 665382029
3 months ago
Hong Shin
7a039dd177
Remove repeated_field_iterator (protos)
...
PiperOrigin-RevId: 662933968
4 months ago
Hong Shin
1937e7645f
Expunge protos_internal in totality
...
PiperOrigin-RevId: 662897498
4 months ago
Hong Shin
dd3a8bf3ac
Genned header: UPB -> HPB
...
PiperOrigin-RevId: 662515884
4 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
Mike Kruskal
149407e24b
Internal changes
...
PiperOrigin-RevId: 658038844
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
1f9206c703
Internal Change
...
PiperOrigin-RevId: 657229104
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
be3d8cb7dc
Bring in {UpbStrToStringView, UpbStrFromStringView}, MessageAlloc/Decode/Encode, and some internal template helpers into hpb
...
PiperOrigin-RevId: 655136424
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
133136cd9a
Migrate internal.h to hpb + update fwd hdr
...
PiperOrigin-RevId: 652504901
5 months ago
Hong Shin
16a8034d04
Migrate Arena to hpb namespace with forwarding
...
PiperOrigin-RevId: 652503898
5 months ago
Hong Shin
5f366b3b7d
update .proto namespace for hpb_generator/tests
...
PiperOrigin-RevId: 651523466
5 months ago
Protobuf Team Bot
b8cb34d744
Prepare the code for migrating return types from `const std::string&` to
...
`absl::string_view`.
PiperOrigin-RevId: 651520812
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
Mike Kruskal
643b0a625f
Internal changes
...
PiperOrigin-RevId: 647549552
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
8d8db9cea8
update hpb_generator emitted comment protos_generator -> hpb_generator
...
PiperOrigin-RevId: 646110222
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