Protobuf Team Bot
9f2893a554
Auto-generate files after cl/642327960
6 months ago
Joshua Haberman
bcde8d4b54
Generate one source file per message/enum/extension on Android/iOS.
...
The functionality is enabled when the proto_one_output_per_message option used by C++ Lite is enabled.
This mirrors the behavior of C++ lite protos.
PiperOrigin-RevId: 642327960
6 months ago
Protobuf Team Bot
b2a6cdb910
Auto-generate files after cl/640749918
6 months ago
Protobuf Team Bot
3dd89a457e
Automated rollback of commit 638ee8f654
.
...
PiperOrigin-RevId: 640749918
6 months ago
Protobuf Team Bot
569184774e
Auto-generate files after cl/640592937
6 months ago
Joshua Haberman
638ee8f654
Generate one source file per message/enum/extension on Android/iOS.
...
The functionality is enabled when the `proto_one_output_per_message` option used by C++ Lite is enabled.
This mirrors the behavior of C++ lite protos.
PiperOrigin-RevId: 640592937
6 months ago
Protobuf Team Bot
532f0c2ed5
Auto-generate files after cl/640369522
6 months ago
Joshua Haberman
85c7cc24e0
Add an indirection to sub-messages pointers to allow for static tree shaking.
...
PiperOrigin-RevId: 640369522
6 months ago
Joshua Haberman
a1c99afd98
Introduced a generated extension registry using linker arrays.
...
PiperOrigin-RevId: 640196225
6 months ago
Protobuf Team Bot
d3b2fc52a4
Auto-generate files after cl/630090538
7 months ago
Protobuf Team Bot
c9eeb1c8a7
Internal changes.
...
PiperOrigin-RevId: 630090538
7 months ago
Eric Salo
7a1c926ef3
upb: begin to delete the old Dart v2 plugin code
...
PiperOrigin-RevId: 628090572
7 months ago
Mike Kruskal
88e4ec9ea8
Fix Windows 2019 linker error due to bootstrap/staleness issues
...
PiperOrigin-RevId: 623824344
8 months ago
Eric Salo
9b8f41c595
upb: rewrite the Dart code generator in C++
...
PiperOrigin-RevId: 623367386
8 months ago
Protobuf Team Bot
ac32c97fbf
Auto-generate files after cl/623355801
8 months ago
Eric Salo
9118be944d
upb: extension/basefield setters are now public functions
...
PiperOrigin-RevId: 623355801
8 months ago
Protobuf Team Bot
d7f032ad15
Move private definitions out of //bazel
...
This is needed to make protobuf/bazel package minimal for other proto rules.
Keep 4 public bzl files in upb/bazel. They end up under protobuf/bazel, and they are legitimately used by other repositories.
Move upb_proto_library_internal/* under bazel/private. Those are utilities used in the rules. Moving them one level deeper makes protobuf/bazel package clean for other rules.
Move build_defs.bzl and amalgamation under /upb/bazel. Those are utilities used in the build.
Move lua.BUILD and python* uner /python/dist. Those are used in the WORKSPACE dependency setup.
PiperOrigin-RevId: 621442236
8 months ago
Protobuf Team Bot
83ec410d30
Internal change
...
PiperOrigin-RevId: 619377672
8 months ago
Eric Salo
da06505bdd
upb: use mapentry() in the code generator
...
PiperOrigin-RevId: 616713001
9 months ago
Mike Kruskal
b6032d72e3
Add basic upb cmake support.
...
libupb will always be statically linked, and currently doesn't ever install itself.
PiperOrigin-RevId: 615136389
9 months ago
Protobuf Team Bot
45f9158b8a
Auto-generate files after cl/613970553
9 months ago
Mike Kruskal
8c0485cb68
Include minitable codegen in checked-in cmake files
...
PiperOrigin-RevId: 613970553
9 months ago
Protobuf Team Bot
e41ffb01a2
Auto-generate files after cl/613765356
9 months ago
Mike Kruskal
58312a6f2e
Check in upb bootstrap gencode for future cmake usage
...
PiperOrigin-RevId: 613757614
9 months ago
Protobuf Team Bot
f2242d7136
Add proto full name support for tracing.
...
Creates a tracing helper function to associate mini tables with proto full names to use for upcoming upb metrics collectors.
PiperOrigin-RevId: 613290255
9 months ago
Protobuf Team Bot
e8244da7c6
Adds mutable extension accessors to the codegen for upb C for getting mutable extension messages.
...
PiperOrigin-RevId: 613017999
9 months ago
Mike Kruskal
e26193d168
Add no-op support for the experimental_strip_nonfunctional_codegen parameter.
...
This will be used for codegen tests to verify that an editions upgrade hasn't changed anything meaningful.
PiperOrigin-RevId: 608660846
10 months ago
Eric Salo
dad74e2db7
upb: remove reflection:internal as a dep in upb_generator/
...
PiperOrigin-RevId: 601286979
10 months ago
Joshua Haberman
50d0421170
Separate MiniTable code generator into a separate library target.
...
This will allow it to be linked into other code generators.
PiperOrigin-RevId: 599171495
11 months ago
Eric Salo
e6d8669958
upb: fix gencode bug with Map<*, bytes>
...
PiperOrigin-RevId: 597678769
11 months ago
Eric Salo
c7f44a02eb
upb: finish locking down the upb_Array internals
...
PiperOrigin-RevId: 597629658
11 months ago
Marcel Hlopko
36d344b63f
Automated rollback of commit 0ce457f6e7
.
...
PiperOrigin-RevId: 597327159
11 months ago
Eric Salo
c026907a5d
upb: replace public universal hazzer with non-universal hazzers
...
PiperOrigin-RevId: 597126288
11 months ago
Protobuf Team Bot
0ce457f6e7
Adds mutable extension accessors to the codegen for upb C and adds a `::protos::MutableExtension` method to upb C++ for getting a mutable extension.
...
PiperOrigin-RevId: 597088960
11 months ago
Eric Salo
c02f943f1a
upb: distinguish between fields and extensions in the public clear() accessors
...
PiperOrigin-RevId: 596588385
11 months ago
Eric Salo
64dbf0dba4
upb: delete the aliases for upb:hash, upb:lex, upb:reflection_internal
...
PiperOrigin-RevId: 594992691
11 months ago
Protobuf Team Bot
19c800c4f8
Fix warning from missing (void) on a 0-arg function.
...
PiperOrigin-RevId: 594080778
11 months ago
Eric Salo
2fb0b93d9d
upb: tighten up and lock down upb/wire/
...
PiperOrigin-RevId: 593821827
11 months ago
Joshua Haberman
238538b6ce
Fixed breaking ARM tests by properly aligning default options.
...
This char array is interpreted as a proto, so it needs pointer alignment at least.
PiperOrigin-RevId: 592935088
12 months ago
Eric Salo
b997cb6d8d
upb: add a non-void typedef for upb_Message
...
PiperOrigin-RevId: 592863926
12 months ago
Eric Salo
de7f589d44
upb: eliminate :mini_table_internal
...
PiperOrigin-RevId: 592392732
12 months ago
Eric Salo
1f67b8dfe1
upb: tag upb_MiniTableField:offset as UPB_ONLYBITS()
...
PiperOrigin-RevId: 592081461
12 months ago
Eric Salo
a4a98bdcc0
upb: tag upb_Array.size as UPB_ONLYBITS()
...
PiperOrigin-RevId: 592035282
12 months ago
Eric Salo
fa62c92071
upb: stop generating hazzers for repeated fields
...
PiperOrigin-RevId: 591299107
12 months ago
Eric Salo
0755621dd2
Automated rollback of commit 3c75c331d3
.
...
PiperOrigin-RevId: 588239901
1 year ago
Eric Salo
3c75c331d3
upb: inline upb_Message_New()
...
PiperOrigin-RevId: 588189563
1 year ago
Eric Salo
b64c6e193b
upb: implement upb_Message_ShallowClone()/Copy()
...
PiperOrigin-RevId: 588088145
1 year ago
Eric Salo
848a2bfd41
upb: tag upb_MiniTableField:number as UPB_ONLYBITS()
...
PiperOrigin-RevId: 587127664
1 year ago
Eric Salo
0e6607a5c9
upb: tag upb_MiniTableField:mode as UPB_ONLYBITS()
...
PiperOrigin-RevId: 587022805
1 year ago
Mike Kruskal
cba41100fb
Force plugins to specify their edition support window.
...
This is similar to what we did for built-in generators, and gives us the ability to create a new edition without subtley breaking generators that don't support it yet.
PiperOrigin-RevId: 586756816
1 year ago