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
1b44ce0fee
Extract hpb::ExtensionRegistry, hpb::internal::{ExtensionMiniTableProvider, ExtensionIdentifer} to extension.h
...
PiperOrigin-RevId: 668643168
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
caa8f9dbf8
Move hpb::internal::CreateMessage to hpb::interop::upb::CreateMessage
...
PiperOrigin-RevId: 666438557
3 months ago
Hong Shin
94c50325ca
Internal Change
...
PiperOrigin-RevId: 666414131
3 months ago
Hong Shin
582201a95e
Update GetMiniTable namespace from protos::internal to hpb::interop::upb
...
PiperOrigin-RevId: 666061587
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
Hong Shin
f5f94f334b
Introduce hpb/internal/internal.h
...
Moved PrivateAccess and some helper funcs
PiperOrigin-RevId: 664831322
3 months ago
Hong Shin
cb845a5962
hpb: introduce ptr.h and break out template helpers into internal/template_help.h
...
PiperOrigin-RevId: 663441859
3 months ago
Hong Shin
6c2be3bfc7
Make hpb:traits private visibility again
...
PiperOrigin-RevId: 663388295
3 months ago
Hong Shin
6879b81364
Remove trailing mangle for generated_protos_support
...
and rename to hpb (!)
PiperOrigin-RevId: 663373078
3 months ago
Hong Shin
29a024831f
Remove protos::upb_cc_proto_library_copts__for_generated_code_only_do_not_use
...
PiperOrigin-RevId: 663017124
3 months ago
Hong Shin
7a039dd177
Remove repeated_field_iterator (protos)
...
PiperOrigin-RevId: 662933968
3 months ago
Hong Shin
1937e7645f
Expunge protos_internal in totality
...
PiperOrigin-RevId: 662897498
3 months ago
Hong Shin
6739739ade
hpb: rm unused ctor
...
PiperOrigin-RevId: 662149022
4 months ago
Hong Shin
1ec060bb04
re-point upb_cc_proto_library_bzl from upb to hpb and utilize hpb_proto_library
...
PiperOrigin-RevId: 660821782
4 months ago
Hong Shin
2f8472adc1
Introduce hpb_proto_library_bzl
...
PiperOrigin-RevId: 660150036
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
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
00a5a200e5
rename EnableIfProtosClass -> EnableIfHpbClass
...
PiperOrigin-RevId: 652532888
4 months ago
Hong Shin
133136cd9a
Migrate internal.h to hpb + update fwd hdr
...
PiperOrigin-RevId: 652504901
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
36dc83f066
superficial file rename protos_* -> hpb_*
...
PiperOrigin-RevId: 650640353
5 months ago
Hong Shin
096b139192
move upb/hpb_generator -> protobuf/compiler/hpb
...
PiperOrigin-RevId: 649112245
5 months ago
Mike Kruskal
8d1efddeb6
Revert workaround for std::mutex issues on github windows runners.
...
PiperOrigin-RevId: 648802955
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