Eric Salo
cdb078275d
upb: add more functions to bits/mini_table_field.h
...
PiperOrigin-RevId: 592847506
11 months ago
Eric Salo
de7f589d44
upb: eliminate :mini_table_internal
...
PiperOrigin-RevId: 592392732
11 months ago
Eric Salo
1587fefee7
upb: simplify upb_Map_Insert() down to upb_Map_Set() where possible
...
PiperOrigin-RevId: 592107014
11 months ago
Eric Salo
121896da15
upb: add upb_Message_ExtensionByIndex()
...
PiperOrigin-RevId: 592091162
11 months ago
Eric Salo
1f67b8dfe1
upb: tag upb_MiniTableField:offset as UPB_ONLYBITS()
...
PiperOrigin-RevId: 592081461
11 months ago
Eric Salo
5b7bafc60e
upb: upb_Message_Extension -> upb_Extension
...
PiperOrigin-RevId: 592075816
11 months ago
Eric Salo
a4a98bdcc0
upb: tag upb_Array.size as UPB_ONLYBITS()
...
PiperOrigin-RevId: 592035282
11 months ago
Eric Salo
088fee7f28
upb: implement upb_Message_FindExtensionByNumber()
...
PiperOrigin-RevId: 590420044
12 months ago
Protobuf Team Bot
1b62d18159
Reunify with-bits and no-bits on upb.js to only use bits for non-repeated getters and string-alloc (the latter we can revisit in a followup). All setters go through the upb C api.
...
PiperOrigin-RevId: 590258193
12 months ago
Eric Salo
0c3e116c25
upb: tag _upb_Message_AddUnknown() as UPB_PRIVATE()
...
PiperOrigin-RevId: 590013675
12 months ago
Eric Salo
a649ddadb5
upb: reverse the polarity of the MiniTableField untyped data accessors
...
PiperOrigin-RevId: 590007603
12 months ago
Eric Salo
a303ccbe05
upb: use upb_alloc functions internally instead of stdlib malloc/free
...
PiperOrigin-RevId: 589864832
12 months ago
Eric Salo
0755621dd2
Automated rollback of commit 3c75c331d3
.
...
PiperOrigin-RevId: 588239901
12 months ago
Eric Salo
3c75c331d3
upb: inline upb_Message_New()
...
PiperOrigin-RevId: 588189563
12 months ago
Eric Salo
6efd909a9b
upb: clean up and lock down the internal oneof accessors
...
PiperOrigin-RevId: 588166536
12 months ago
Eric Salo
347486dd85
upb: clean up and lock down the internal hasbit accessors
...
PiperOrigin-RevId: 588147628
12 months ago
Eric Salo
b64c6e193b
upb: implement upb_Message_ShallowClone()/Copy()
...
PiperOrigin-RevId: 588088145
12 months ago
Eric Salo
10c3e3dfb6
upb: move some extension-related message functions
...
PiperOrigin-RevId: 587586555
12 months ago
Eric Salo
848a2bfd41
upb: tag upb_MiniTableField:number as UPB_ONLYBITS()
...
PiperOrigin-RevId: 587127664
1 year ago
Protobuf Team Bot
2ff245ef18
Internal
...
PiperOrigin-RevId: 587060845
1 year ago
Eric Salo
bb5322a194
upb: lock down upb_MiniTable (mostly)
...
PiperOrigin-RevId: 586542236
1 year ago
Eric Salo
19ef3a58cf
upb: lock down MiniTableField
...
PiperOrigin-RevId: 586171362
1 year ago
Eric Salo
21133d554f
upb: lock down upb_MiniTableExtension
...
PiperOrigin-RevId: 585817227
1 year ago
Eric Salo
3ce2c573b3
upb: start to lock down upb_Array
...
PiperOrigin-RevId: 585696951
1 year ago
Eric Salo
a49f6b8ea0
upb: move ElemSizeLg2() from message/ into mini_table/
...
PiperOrigin-RevId: 584380544
1 year ago
Eric Salo
0b892a5466
upb: move IsOneof() from message/internal/accessors.h
...
PiperOrigin-RevId: 584358795
1 year ago
Protobuf Team Bot
4656b0d6e0
Make SetField/GetField public and operate on MessageValue instead of void*.
...
PiperOrigin-RevId: 584309590
1 year ago
Protobuf Team Bot
0fab773c1d
Update remainder of upb to new short license style.
...
PiperOrigin-RevId: 584116886
1 year ago
Eric Salo
7fa050d8c1
upb: move IsSubMessage() and IsRepeatedOrMap() from mini_table/internal/field.h
...
PiperOrigin-RevId: 584082079
1 year ago
Eric Salo
8324c900b7
upb: steal a bit from upb_Array
...
PiperOrigin-RevId: 583524301
1 year ago
Eric Salo
88f0a82a18
upb: normalize the accessor functions for hasbits and oneof_cases
...
PiperOrigin-RevId: 582708011
1 year ago
Eric Salo
8849deab91
upb: implement some upb_FieldType and upb_CType functions
...
PiperOrigin-RevId: 582150596
1 year ago
Eric Salo
07fba1da07
upb: merge ":collections" into ":message"
...
PiperOrigin-RevId: 569594353
1 year ago
Adam Cozzette
501ececd39
Reorganize upb file structure
...
This change moves almost everything in the `upb/` directory up one level, so
that for example `upb/upb/generated_code_support.h` becomes just
`upb/generated_code_support.h`. The only exceptions I made to this were that I
left `upb/cmake` and `upb/BUILD` where they are, mostly because that avoids
conflict with other files and the current locations seem reasonable for now.
The `python/` directory is a little bit of a challenge because we had to merge
the existing directory there with `upb/python/`. I made `upb/python/BUILD` into
the BUILD file for the merged directory, and it effectively loads the contents
of the other BUILD file via `python/build_targets.bzl`, but I plan to clean
this up soon.
PiperOrigin-RevId: 568651768
1 year ago
Adam Cozzette
0d1ba13e83
Move everything into new upb/ directory
1 year ago
Protobuf Team Bot
d06eac7b5e
Fixed "unused-parameter-warning"
...
PiperOrigin-RevId: 559198615
1 year ago
Eric Salo
f669ef6576
upb: clean up upb/message/internal/
...
PiperOrigin-RevId: 557164806
1 year ago
Protobuf Team Bot
c552102d66
No public description
...
PiperOrigin-RevId: 556849883
1 year ago
Adam Cozzette
5aca728f72
Reformat copyright headers
...
PiperOrigin-RevId: 554509301
1 year ago
Mike Kruskal
58877b55e0
Fixes a bug on 32-bit architectures with map decoding.
...
This also enables 32-bit tests and adds ASAN coverage for better diagnostics.
PiperOrigin-RevId: 553946734
1 year ago
Eric Salo
d17233c25b
upb: upb/message/accessors_internal.h -> upb/message/internal/accessors.h
...
PiperOrigin-RevId: 553494306
1 year ago
Joshua Haberman
07f6b578ee
Split mini_descriptor into its own directory
...
After this change, `mini_table` only has MiniTable definitions themselves. Everything having to do with the MiniDescriptor wire format is in `mini_descriptor`.
Also rearranged some of the files in mini_table to have better structure for `internal/`.
This CL contains no functional change.
PiperOrigin-RevId: 543529112
1 year ago