Hong Shin
f77e770486
Empty out protos.h!
...
PiperOrigin-RevId: 673862431
3 months ago
Hong Shin
7ace14c513
Abrogate protos::Arena with hpb::Arena
...
PiperOrigin-RevId: 673395989
3 months ago
Hong Shin
0b98d419fa
Efface blank protos::internal namespace
...
PiperOrigin-RevId: 672966501
3 months ago
Hong Shin
877b02506c
Introduce hpb::interop::upb::GetMessage; née protos::internal::GetInternalMsg
...
PiperOrigin-RevId: 672659339
3 months ago
Hong Shin
44e9777103
Adios, protos::ptr!
...
PiperOrigin-RevId: 672567642
3 months ago
Hong Shin
d46874c047
Remove protos::internal::Serialize shim
...
PiperOrigin-RevId: 671494278
3 months ago
Hong Shin
37f3ced360
Migrate internal::SetExtension from protos to hpb
...
PiperOrigin-RevId: 671415520
3 months ago
Hong Shin
b01eee755e
Migrate PrivateAccess from protos to hpb
...
PiperOrigin-RevId: 670965004
3 months ago
Hong Shin
1f237eff07
Abrogate protos::internal::ExtensionIdentifier in favor of hpb::internal::ExtensionIdentifier
...
PiperOrigin-RevId: 670690046
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
4 months ago
Hong Shin
f13b593e1c
Remove protos::HasExtension shim
...
PiperOrigin-RevId: 668515165
4 months ago
Hong Shin
9c12fee65e
Migrate protos::Serialize to hpb::Serialize
...
PiperOrigin-RevId: 668493817
4 months ago
Hong Shin
b6928aa9a6
Migrate SetExtension from protos to hpb
...
PiperOrigin-RevId: 668073531
4 months ago
Hong Shin
6e2fe5b8c9
Update all refs from protos::internal::CreateMessage to hpb::interop::upb::MakeCHandle
...
PiperOrigin-RevId: 667690021
4 months ago
Hong Shin
d4fc727be4
Abrogate protos::Parse with hpb::Parse
...
PiperOrigin-RevId: 667643856
4 months ago
Hong Shin
a33a81b163
Move ExtensionNumber from protos to hpb
...
PiperOrigin-RevId: 666453855
4 months ago
Hong Shin
caa8f9dbf8
Move hpb::internal::CreateMessage to hpb::interop::upb::CreateMessage
...
PiperOrigin-RevId: 666438557
4 months ago
Hong Shin
582201a95e
Update GetMiniTable namespace from protos::internal to hpb::interop::upb
...
PiperOrigin-RevId: 666061587
4 months ago
Hong Shin
bc6f561151
Remove unused protos::internal::{DeepCopy, DeepClone, GetOrPromoteExtension, GetUpbExtension, HasExtensionOrUnknown, MoveExtension}
...
PiperOrigin-RevId: 665934981
4 months ago
Hong Shin
d2c7f60714
Remove protos::CreateMessage, protos::ClearExtension both unused
...
Update ExtensionNotFoundError from protos to hpb
PiperOrigin-RevId: 665855910
4 months ago
Hong Shin
9a24fc999d
Abrogate protos::MessageAllocationError with hpb::MessageAllocationError
...
PiperOrigin-RevId: 665549987
4 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
4 months ago
Hong Shin
7a4319428b
hpb cleanup: abrogate protos::{ClearMessage,CloneMessage,CreateMessage,DeepCopy} with hpb::{...}
...
PiperOrigin-RevId: 665350963
4 months ago
Hong Shin
29a024831f
Remove protos::upb_cc_proto_library_copts__for_generated_code_only_do_not_use
...
PiperOrigin-RevId: 663017124
4 months ago
Hong Shin
e535b00dde
Delete protos::repeated_field.h
...
PiperOrigin-RevId: 662979637
4 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
fda2669a52
Remove upb/protos/bazel/*
...
PiperOrigin-RevId: 662077251
4 months ago
Hong Shin
f066157be5
Expunge protos_extension_lock entirely
...
PiperOrigin-RevId: 660444393
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
0811818d01
Delete protos README
...
PiperOrigin-RevId: 659572087
4 months ago
Hong Shin
aea6dfc495
Remove protos_traits.h
...
PiperOrigin-RevId: 659536470
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
5 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
5 months ago
Hong Shin
165d2c76ed
Fold 80% of `protos::internal` into `hpb::internal`:
...
```
- PrivateAccess
- GetInternalMsg
- CreateMessage
- CreateMessageProxy
- GetExtensionNumber
- ExtensionIdentifier
```
PiperOrigin-RevId: 655597227
5 months ago
Hong Shin
a0387c1923
Remove protos.cc - abrogated by hpb.cc
...
PiperOrigin-RevId: 655176487
5 months ago
Hong Shin
133136cd9a
Migrate internal.h to hpb + update fwd hdr
...
PiperOrigin-RevId: 652504901
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
Protobuf Team Bot
e2c4d0f27e
Automated Code Change
...
PiperOrigin-RevId: 650549584
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
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
Hong Shin
1aae78549a
upb_cc_proto_library.bzl: replace body of _filter_none with list comprehension
...
PiperOrigin-RevId: 641927931
6 months ago