slidge-whatsapp 0.2.5__cp311-cp311-manylinux_2_36_aarch64.whl → 0.3.0b0__cp311-cp311-manylinux_2_36_aarch64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of slidge-whatsapp might be problematic. Click here for more details.
- slidge_whatsapp/config.py +3 -0
- slidge_whatsapp/contact.py +13 -3
- slidge_whatsapp/event.go +135 -60
- slidge_whatsapp/gateway.go +16 -68
- slidge_whatsapp/gateway.py +4 -5
- slidge_whatsapp/generated/_whatsapp.cpython-311-aarch64-linux-gnu.h +198 -181
- slidge_whatsapp/generated/_whatsapp.cpython-311-aarch64-linux-gnu.so +0 -0
- slidge_whatsapp/generated/build.py +166 -152
- slidge_whatsapp/generated/whatsapp.c +1804 -1532
- slidge_whatsapp/generated/whatsapp.go +1150 -1039
- slidge_whatsapp/generated/whatsapp.py +1243 -1118
- slidge_whatsapp/generated/whatsapp_go.h +198 -181
- slidge_whatsapp/go.mod +21 -15
- slidge_whatsapp/go.sum +49 -31
- slidge_whatsapp/group.py +34 -30
- slidge_whatsapp/media/media.go +22 -12
- slidge_whatsapp/session.go +105 -81
- slidge_whatsapp/session.py +46 -14
- slidge_whatsapp/vendor/github.com/beeper/argo-go/LICENSE +9 -0
- slidge_whatsapp/vendor/github.com/beeper/argo-go/block/blockreader.go +329 -0
- slidge_whatsapp/vendor/github.com/beeper/argo-go/block/blockwriter.go +417 -0
- slidge_whatsapp/vendor/github.com/beeper/argo-go/codec/decoder.go +652 -0
- slidge_whatsapp/vendor/github.com/beeper/argo-go/codec/encoder.go +985 -0
- slidge_whatsapp/vendor/github.com/beeper/argo-go/header/header.go +135 -0
- slidge_whatsapp/vendor/github.com/beeper/argo-go/internal/util/util.go +133 -0
- slidge_whatsapp/vendor/github.com/beeper/argo-go/label/label.go +384 -0
- slidge_whatsapp/vendor/github.com/beeper/argo-go/label/wiremarkers.go +37 -0
- slidge_whatsapp/vendor/github.com/beeper/argo-go/pkg/bitset/bitset.go +197 -0
- slidge_whatsapp/vendor/github.com/beeper/argo-go/pkg/buf/buf.go +420 -0
- slidge_whatsapp/vendor/github.com/beeper/argo-go/pkg/varint/varint.go +246 -0
- slidge_whatsapp/vendor/github.com/beeper/argo-go/wire/wire.go +614 -0
- slidge_whatsapp/vendor/github.com/beeper/argo-go/wirecodec/decode.go +341 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/dlfcn.go +4 -4
- slidge_whatsapp/vendor/github.com/ebitengine/purego/dlfcn_darwin.go +0 -5
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/go_libinit.go +3 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/symbols.go +40 -20
- slidge_whatsapp/vendor/github.com/elliotchance/orderedmap/v3/LICENSE +21 -0
- slidge_whatsapp/vendor/github.com/elliotchance/orderedmap/v3/list.go +95 -0
- slidge_whatsapp/vendor/github.com/elliotchance/orderedmap/v3/orderedmap.go +187 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/fitz.go +1 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/fitz_cgo.go +3 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/fitz_nocgo.go +4 -5
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/purego_darwin.go +11 -1
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/purego_linux.go +10 -0
- slidge_whatsapp/vendor/github.com/gen2brain/go-fitz/purego_windows.go +12 -0
- slidge_whatsapp/vendor/github.com/jupiterrider/ffi/.gitignore +0 -2
- slidge_whatsapp/vendor/github.com/jupiterrider/ffi/CHANGELOG.md +44 -1
- slidge_whatsapp/vendor/github.com/jupiterrider/ffi/COPYRIGHT.txt +6 -1
- slidge_whatsapp/vendor/github.com/jupiterrider/ffi/README.md +14 -17
- slidge_whatsapp/vendor/github.com/jupiterrider/ffi/abi.go +1 -1
- slidge_whatsapp/vendor/github.com/jupiterrider/ffi/abi2.go +7 -0
- slidge_whatsapp/vendor/github.com/jupiterrider/ffi/assets/libffi/LICENSE +21 -0
- slidge_whatsapp/vendor/github.com/jupiterrider/ffi/assets/libffi/darwin_amd64/libffi.8.dylib +0 -0
- slidge_whatsapp/vendor/github.com/jupiterrider/ffi/assets/libffi/darwin_arm64/libffi.8.dylib +0 -0
- slidge_whatsapp/vendor/github.com/jupiterrider/ffi/assets/libffi/windows_amd64/libffi-8.dll +0 -0
- slidge_whatsapp/vendor/github.com/jupiterrider/ffi/cif.go +15 -0
- slidge_whatsapp/vendor/github.com/jupiterrider/ffi/cif_arm64.go +16 -0
- slidge_whatsapp/vendor/github.com/jupiterrider/ffi/embed.go +49 -0
- slidge_whatsapp/vendor/github.com/jupiterrider/ffi/embed_darwin_amd64.go +10 -0
- slidge_whatsapp/vendor/github.com/jupiterrider/ffi/embed_darwin_arm64.go +10 -0
- slidge_whatsapp/vendor/github.com/jupiterrider/ffi/embed_windows_amd64.go +10 -0
- slidge_whatsapp/vendor/github.com/jupiterrider/ffi/ffi.go +53 -15
- slidge_whatsapp/vendor/github.com/jupiterrider/ffi/fun.go +10 -2
- slidge_whatsapp/vendor/github.com/jupiterrider/ffi/init.go +22 -9
- slidge_whatsapp/vendor/github.com/jupiterrider/ffi/lib.go +1 -1
- slidge_whatsapp/vendor/github.com/jupiterrider/ffi/lib_unix.go +1 -1
- slidge_whatsapp/vendor/github.com/jupiterrider/ffi/lib_windows.go +1 -1
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/README.md +4 -7
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/callback.go +2 -1
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3-binding.c +11545 -6680
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3-binding.h +527 -273
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3.go +57 -23
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_unlock_notify.c +4 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_unlock_notify.go +4 -0
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3_opt_userauth.go +13 -140
- slidge_whatsapp/vendor/github.com/mattn/go-sqlite3/sqlite3ext.h +4 -0
- slidge_whatsapp/vendor/github.com/petermattis/goid/.gitignore +4 -0
- slidge_whatsapp/vendor/github.com/petermattis/goid/LICENSE +202 -0
- slidge_whatsapp/vendor/github.com/petermattis/goid/README.md +4 -0
- slidge_whatsapp/vendor/github.com/petermattis/goid/goid.go +35 -0
- slidge_whatsapp/vendor/github.com/petermattis/goid/goid_gccgo.go +26 -0
- slidge_whatsapp/vendor/github.com/petermattis/goid/goid_go1.3.c +23 -0
- slidge_whatsapp/vendor/github.com/petermattis/goid/goid_go1.3.go +22 -0
- slidge_whatsapp/vendor/github.com/petermattis/goid/goid_go1.4.go +35 -0
- slidge_whatsapp/vendor/github.com/petermattis/goid/goid_go1.4.s +18 -0
- slidge_whatsapp/vendor/github.com/petermattis/goid/goid_go1.5.go +28 -0
- slidge_whatsapp/vendor/github.com/petermattis/goid/goid_go1.5.s +44 -0
- slidge_whatsapp/vendor/github.com/petermattis/goid/goid_slow.go +24 -0
- slidge_whatsapp/vendor/github.com/petermattis/goid/runtime_gccgo_go1.8.go +17 -0
- slidge_whatsapp/vendor/github.com/petermattis/goid/runtime_go1.23.go +38 -0
- slidge_whatsapp/vendor/github.com/petermattis/goid/runtime_go1.25.go +37 -0
- slidge_whatsapp/vendor/github.com/petermattis/goid/runtime_go1.5.go +57 -0
- slidge_whatsapp/vendor/github.com/petermattis/goid/runtime_go1.6.go +43 -0
- slidge_whatsapp/vendor/github.com/petermattis/goid/runtime_go1.9.go +37 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/CONTRIBUTING.md +43 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/README.md +31 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/console.go +20 -5
- slidge_whatsapp/vendor/github.com/rs/zerolog/log/log.go +131 -0
- slidge_whatsapp/vendor/github.com/rs/zerolog/log.go +1 -1
- slidge_whatsapp/vendor/github.com/rs/zerolog/sampler.go +4 -1
- slidge_whatsapp/vendor/github.com/rs/zerolog/writer.go +9 -0
- slidge_whatsapp/vendor/github.com/vektah/gqlparser/v2/LICENSE +19 -0
- slidge_whatsapp/vendor/github.com/vektah/gqlparser/v2/ast/argmap.go +37 -0
- slidge_whatsapp/vendor/github.com/vektah/gqlparser/v2/ast/collections.go +148 -0
- slidge_whatsapp/vendor/github.com/vektah/gqlparser/v2/ast/comment.go +31 -0
- slidge_whatsapp/vendor/github.com/vektah/gqlparser/v2/ast/decode.go +216 -0
- slidge_whatsapp/vendor/github.com/vektah/gqlparser/v2/ast/definition.go +110 -0
- slidge_whatsapp/vendor/github.com/vektah/gqlparser/v2/ast/directive.go +43 -0
- slidge_whatsapp/vendor/github.com/vektah/gqlparser/v2/ast/document.go +89 -0
- slidge_whatsapp/vendor/github.com/vektah/gqlparser/v2/ast/dumper.go +159 -0
- slidge_whatsapp/vendor/github.com/vektah/gqlparser/v2/ast/fragment.go +41 -0
- slidge_whatsapp/vendor/github.com/vektah/gqlparser/v2/ast/operation.go +32 -0
- slidge_whatsapp/vendor/github.com/vektah/gqlparser/v2/ast/path.go +72 -0
- slidge_whatsapp/vendor/github.com/vektah/gqlparser/v2/ast/selection.go +41 -0
- slidge_whatsapp/vendor/github.com/vektah/gqlparser/v2/ast/source.go +19 -0
- slidge_whatsapp/vendor/github.com/vektah/gqlparser/v2/ast/type.go +68 -0
- slidge_whatsapp/vendor/github.com/vektah/gqlparser/v2/ast/value.go +122 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/groups/GroupCipher.go +17 -6
- slidge_whatsapp/vendor/go.mau.fi/libsignal/groups/GroupSessionBuilder.go +17 -7
- slidge_whatsapp/vendor/go.mau.fi/libsignal/groups/state/store/SenderKeyStore.go +4 -2
- slidge_whatsapp/vendor/go.mau.fi/libsignal/keys/chain/ChainKey.go +1 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/keys/identity/IdentityKey.go +1 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/logger/DefaultLogger.go +2 -2
- slidge_whatsapp/vendor/go.mau.fi/libsignal/serialize/FingerprintProtocol.pb.go +3 -2
- slidge_whatsapp/vendor/go.mau.fi/libsignal/serialize/LocalStorageProtocol.pb.go +3 -2
- slidge_whatsapp/vendor/go.mau.fi/libsignal/serialize/WhisperTextProtocol.pb.go +3 -2
- slidge_whatsapp/vendor/go.mau.fi/libsignal/session/Session.go +41 -17
- slidge_whatsapp/vendor/go.mau.fi/libsignal/session/SessionCipher.go +64 -30
- slidge_whatsapp/vendor/go.mau.fi/libsignal/state/store/IdentityKeyStore.go +5 -3
- slidge_whatsapp/vendor/go.mau.fi/libsignal/state/store/MessageKeyStore.go +6 -4
- slidge_whatsapp/vendor/go.mau.fi/libsignal/state/store/PreKeyStore.go +6 -4
- slidge_whatsapp/vendor/go.mau.fi/libsignal/state/store/SessionStore.go +8 -6
- slidge_whatsapp/vendor/go.mau.fi/libsignal/state/store/SignedPreKeyStore.go +7 -5
- slidge_whatsapp/vendor/go.mau.fi/util/dbutil/connlog.go +257 -0
- slidge_whatsapp/vendor/go.mau.fi/util/dbutil/database.go +309 -0
- slidge_whatsapp/vendor/go.mau.fi/util/dbutil/iter.go +233 -0
- slidge_whatsapp/vendor/go.mau.fi/util/dbutil/json.go +47 -0
- slidge_whatsapp/vendor/go.mau.fi/util/dbutil/log.go +129 -0
- slidge_whatsapp/vendor/go.mau.fi/util/dbutil/massinsert.go +164 -0
- slidge_whatsapp/vendor/go.mau.fi/util/dbutil/queryhelper.go +137 -0
- slidge_whatsapp/vendor/go.mau.fi/util/dbutil/reflectscan.go +30 -0
- slidge_whatsapp/vendor/go.mau.fi/util/dbutil/transaction.go +180 -0
- slidge_whatsapp/vendor/go.mau.fi/util/dbutil/upgrades.go +250 -0
- slidge_whatsapp/vendor/go.mau.fi/util/dbutil/upgradetable.go +331 -0
- slidge_whatsapp/vendor/go.mau.fi/util/exerrors/dualerror.go +33 -0
- slidge_whatsapp/vendor/go.mau.fi/util/exerrors/must.go +23 -0
- slidge_whatsapp/vendor/go.mau.fi/util/exhttp/cors.go +32 -0
- slidge_whatsapp/vendor/go.mau.fi/util/exhttp/handleerrors.go +98 -0
- slidge_whatsapp/vendor/go.mau.fi/util/exhttp/json.go +36 -0
- slidge_whatsapp/vendor/go.mau.fi/util/exhttp/middleware.go +30 -0
- slidge_whatsapp/vendor/go.mau.fi/util/exhttp/networkerror.go +38 -0
- slidge_whatsapp/vendor/go.mau.fi/util/exstrings/stringutil.go +104 -0
- slidge_whatsapp/vendor/go.mau.fi/util/exsync/event.go +104 -0
- slidge_whatsapp/vendor/go.mau.fi/util/exsync/returnonce.go +25 -0
- slidge_whatsapp/vendor/go.mau.fi/util/exsync/ringbuffer.go +139 -0
- slidge_whatsapp/vendor/go.mau.fi/util/exsync/syncmap.go +94 -0
- slidge_whatsapp/vendor/go.mau.fi/util/exsync/syncset.go +136 -0
- slidge_whatsapp/vendor/go.mau.fi/util/exzerolog/callermarshal.go +28 -0
- slidge_whatsapp/vendor/go.mau.fi/util/exzerolog/defaults.go +32 -0
- slidge_whatsapp/vendor/go.mau.fi/util/exzerolog/generics.go +45 -0
- slidge_whatsapp/vendor/go.mau.fi/util/exzerolog/writer.go +81 -0
- slidge_whatsapp/vendor/go.mau.fi/util/ptr/ptr.go +43 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/.pre-commit-config.yaml +3 -3
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/appstate/decode.go +27 -26
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/appstate/encode.go +4 -3
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/appstate/hash.go +1 -1
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/appstate/keys.go +5 -4
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/appstate.go +32 -26
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/argo/argo-wire-type-store.argo +63 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/argo/argo.go +62 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/argo/name-to-queryids.json +306 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/armadillomessage.go +42 -8
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/binary/encoder.go +1 -1
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/broadcast.go +5 -4
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/call.go +2 -1
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/client.go +134 -55
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/connectionevents.go +34 -11
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/download-to-file.go +63 -30
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/download.go +78 -34
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/errors.go +4 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/group.go +157 -55
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/internals.go +202 -154
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/keepalive.go +3 -2
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/mediaconn.go +5 -3
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/mediaretry.go +2 -1
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/message.go +448 -138
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/msgsecret.go +106 -31
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/newsletter.go +83 -7
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/notification.go +83 -43
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/pair-code.go +9 -6
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/pair.go +42 -18
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/prekeys.go +9 -5
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/presence.go +17 -7
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/privacysettings.go +10 -11
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/extra.go +7 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloAddMessage/InstamadilloAddMessage.pb.go +983 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloAddMessage/InstamadilloAddMessage.proto +85 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloAddMessage/extra.go +3 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloCoreTypeActionLog/InstamadilloCoreTypeActionLog.pb.go +197 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloCoreTypeActionLog/InstamadilloCoreTypeActionLog.proto +13 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloCoreTypeAdminMessage/InstamadilloCoreTypeAdminMessage.pb.go +279 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloCoreTypeAdminMessage/InstamadilloCoreTypeAdminMessage.proto +21 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloCoreTypeCollection/InstamadilloCoreTypeCollection.pb.go +137 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloCoreTypeCollection/InstamadilloCoreTypeCollection.proto +10 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloCoreTypeLink/InstamadilloCoreTypeLink.pb.go +313 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloCoreTypeLink/InstamadilloCoreTypeLink.proto +27 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloCoreTypeMedia/InstamadilloCoreTypeMedia.pb.go +1299 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloCoreTypeMedia/InstamadilloCoreTypeMedia.proto +112 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloCoreTypeText/InstamadilloCoreTypeText.pb.go +514 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloCoreTypeText/InstamadilloCoreTypeText.proto +47 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloDeleteMessage/InstamadilloDeleteMessage.pb.go +123 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloDeleteMessage/InstamadilloDeleteMessage.proto +7 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloDeleteMessage/extra.go +3 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloSupplementMessage/InstamadilloSupplementMessage.pb.go +720 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloSupplementMessage/InstamadilloSupplementMessage.proto +59 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloSupplementMessage/extra.go +3 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloTransportPayload/InstamadilloTransportPayload.pb.go +365 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloTransportPayload/InstamadilloTransportPayload.proto +33 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloXmaContentRef/InstamadilloXmaContentRef.pb.go +1238 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/instamadilloXmaContentRef/InstamadilloXmaContentRef.proto +105 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waAdv/WAAdv.pb.go +39 -9
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waArmadilloApplication/WAArmadilloApplication.pb.go +354 -175
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waArmadilloApplication/WAArmadilloApplication.proto +5 -5
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waArmadilloXMA/WAArmadilloXMA.pb.go +170 -15
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waArmadilloXMA/WAArmadilloXMA.proto +4 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waBotMetadata/WABotMetadata.pb.go +5156 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waBotMetadata/WABotMetadata.proto +516 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waCert/WACert.pb.go +29 -9
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waChatLockSettings/WAProtobufsChatLockSettings.pb.go +13 -9
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waCommon/WACommon.pb.go +344 -31
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waCommon/WACommon.proto +26 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waCompanionReg/{WAWebProtobufsCompanionReg.pb.go → WACompanionReg.pb.go} +211 -89
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waCompanionReg/{WAWebProtobufsCompanionReg.proto → WACompanionReg.proto} +5 -1
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waConsumerApplication/WAConsumerApplication.pb.go +173 -9
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waDeviceCapabilities/WAProtobufsDeviceCapabilities.pb.go +78 -16
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waDeviceCapabilities/WAProtobufsDeviceCapabilities.proto +5 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waE2E/WAWebProtobufsE2E.pb.go +7463 -5180
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waE2E/WAWebProtobufsE2E.proto +366 -343
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waHistorySync/WAWebProtobufsHistorySync.pb.go +485 -135
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waHistorySync/WAWebProtobufsHistorySync.proto +17 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waLidMigrationSyncPayload/WAWebProtobufLidMigrationSyncPayload.pb.go +198 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waLidMigrationSyncPayload/WAWebProtobufLidMigrationSyncPayload.proto +14 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMediaTransport/WAMediaTransport.pb.go +162 -9
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMediaTransport/WAMediaTransport.proto +1 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMmsRetry/WAMmsRetry.pb.go +32 -9
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMmsRetry/WAMmsRetry.proto +1 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMsgApplication/WAMsgApplication.pb.go +192 -52
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMsgApplication/WAMsgApplication.proto +8 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMsgTransport/WAMsgTransport.pb.go +60 -9
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMsgTransport/extra.go +7 -6
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMultiDevice/WAMultiDevice.pb.go +39 -9
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waServerSync/WAServerSync.pb.go +61 -9
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waStatusAttributions/WAStatusAttributions.pb.go +952 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waStatusAttributions/WAStatusAttributions.proto +88 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waSyncAction/WASyncAction.pb.go +1802 -453
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waSyncAction/WASyncAction.proto +92 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waUserPassword/WAProtobufsUserPassword.pb.go +27 -9
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waVnameCert/WAWebProtobufsVnameCert.pb.go +59 -9
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waWa6/WAWebProtobufsWa6.pb.go +435 -109
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waWa6/WAWebProtobufsWa6.proto +11 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waWeb/WAWebProtobufsWeb.pb.go +563 -9
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waWeb/WAWebProtobufsWeb.proto +4 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/receipt.go +32 -9
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/reportingfields.json +1 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/reportingtoken.go +176 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/retry.go +39 -21
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/send.go +267 -79
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/sendfb.go +28 -16
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/clientpayload.go +3 -1
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/noop.go +87 -44
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/signal.go +75 -88
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/container.go +86 -65
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/lidmap.go +186 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/store.go +314 -170
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/upgrades/00-latest-schema.sql +155 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/upgrades/03-message-secrets.sql +11 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/upgrades/04-privacy-tokens.sql +8 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/upgrades/05-account-jid-format.sql +2 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/upgrades/06-facebook-uuid.sql +2 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/upgrades/07-account-lid.sql +2 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/upgrades/08-lid-mapping.sql +5 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/upgrades/09-decryption-buffer.sql +10 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/upgrades/10-chat-db-lid-migration-ts.sql +2 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/upgrades/upgrades.go +22 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/store.go +109 -56
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/types/botmap.go +210 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/types/call.go +1 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/types/events/events.go +21 -2
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/types/group.go +15 -6
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/types/jid.go +9 -9
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/types/message.go +18 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/types/user.go +2 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/update.go +3 -2
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/upload.go +1 -1
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/user.go +59 -37
- slidge_whatsapp/vendor/golang.org/x/crypto/curve25519/curve25519.go +1 -1
- slidge_whatsapp/vendor/golang.org/x/exp/LICENSE +27 -0
- slidge_whatsapp/vendor/golang.org/x/exp/PATENTS +22 -0
- slidge_whatsapp/vendor/golang.org/x/exp/constraints/constraints.go +54 -0
- slidge_whatsapp/vendor/golang.org/x/net/http/httpguts/guts.go +50 -0
- slidge_whatsapp/vendor/golang.org/x/net/http/httpguts/httplex.go +347 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/.gitignore +2 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/ascii.go +53 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/ciphers.go +641 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/client_conn_pool.go +311 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/config.go +164 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/databuffer.go +149 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/errors.go +145 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/flow.go +120 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/frame.go +1702 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/gotrack.go +181 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/hpack/encode.go +245 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/hpack/hpack.go +523 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/hpack/huffman.go +226 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/hpack/static_table.go +188 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/hpack/tables.go +403 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/http2.go +410 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/pipe.go +184 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/server.go +3332 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/transport.go +3233 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/unencrypted.go +32 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/write.go +381 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/writesched.go +251 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/writesched_priority.go +451 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/writesched_random.go +77 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/writesched_roundrobin.go +119 -0
- slidge_whatsapp/vendor/golang.org/x/net/idna/go118.go +13 -0
- slidge_whatsapp/vendor/golang.org/x/net/idna/idna10.0.0.go +769 -0
- slidge_whatsapp/vendor/golang.org/x/net/idna/idna9.0.0.go +717 -0
- slidge_whatsapp/vendor/golang.org/x/net/idna/pre_go118.go +11 -0
- slidge_whatsapp/vendor/golang.org/x/net/idna/punycode.go +217 -0
- slidge_whatsapp/vendor/golang.org/x/net/idna/tables10.0.0.go +4559 -0
- slidge_whatsapp/vendor/golang.org/x/net/idna/tables11.0.0.go +4653 -0
- slidge_whatsapp/vendor/golang.org/x/net/idna/tables12.0.0.go +4733 -0
- slidge_whatsapp/vendor/golang.org/x/net/idna/tables13.0.0.go +4959 -0
- slidge_whatsapp/vendor/golang.org/x/net/idna/tables15.0.0.go +5144 -0
- slidge_whatsapp/vendor/golang.org/x/net/idna/tables9.0.0.go +4486 -0
- slidge_whatsapp/vendor/golang.org/x/net/idna/trie.go +51 -0
- slidge_whatsapp/vendor/golang.org/x/net/idna/trie12.0.0.go +30 -0
- slidge_whatsapp/vendor/golang.org/x/net/idna/trie13.0.0.go +30 -0
- slidge_whatsapp/vendor/golang.org/x/net/idna/trieval.go +119 -0
- slidge_whatsapp/vendor/golang.org/x/net/internal/httpcommon/ascii.go +53 -0
- slidge_whatsapp/vendor/golang.org/x/net/internal/httpcommon/headermap.go +115 -0
- slidge_whatsapp/vendor/golang.org/x/net/internal/httpcommon/request.go +467 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/affinity_linux.go +1 -3
- slidge_whatsapp/vendor/golang.org/x/sys/unix/mkerrors.sh +3 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_darwin.go +93 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_linux.go +16 -26
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_solaris.go +1 -1
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_linux.go +47 -16
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_linux_386.go +3 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_linux_amd64.go +3 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_linux_arm.go +3 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go +3 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_linux_loong64.go +3 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_linux_mips.go +3 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_linux_mips64.go +3 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_linux_mips64le.go +3 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_linux_mipsle.go +3 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_linux_ppc.go +3 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64.go +3 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64le.go +3 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_linux_riscv64.go +3 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_linux_s390x.go +3 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zerrors_linux_sparc64.go +3 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go +84 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.s +20 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.go +84 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.s +20 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsyscall_solaris_amd64.go +4 -4
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_linux_386.go +1 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_linux_amd64.go +1 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_linux_arm.go +1 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_linux_arm64.go +1 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_linux_loong64.go +1 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_linux_mips.go +1 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_linux_mips64.go +1 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_linux_mips64le.go +1 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_linux_mipsle.go +1 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc.go +1 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64.go +1 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64le.go +1 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_linux_riscv64.go +1 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_linux_s390x.go +1 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/zsysnum_linux_sparc64.go +1 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_linux.go +168 -12
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_linux_386.go +17 -1
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_linux_amd64.go +16 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_linux_arm.go +18 -2
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_linux_arm64.go +16 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_linux_loong64.go +16 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_linux_mips.go +17 -1
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_linux_mips64.go +16 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_linux_mips64le.go +16 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_linux_mipsle.go +17 -1
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_linux_ppc.go +18 -2
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_linux_ppc64.go +16 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_linux_ppc64le.go +16 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_linux_riscv64.go +16 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_linux_s390x.go +16 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ztypes_linux_sparc64.go +16 -0
- slidge_whatsapp/vendor/golang.org/x/sys/windows/security_windows.go +44 -5
- slidge_whatsapp/vendor/golang.org/x/sys/windows/syscall_windows.go +4 -2
- slidge_whatsapp/vendor/golang.org/x/sys/windows/types_windows.go +245 -0
- slidge_whatsapp/vendor/golang.org/x/sys/windows/zsyscall_windows.go +491 -482
- slidge_whatsapp/vendor/golang.org/x/text/LICENSE +27 -0
- slidge_whatsapp/vendor/golang.org/x/text/PATENTS +22 -0
- slidge_whatsapp/vendor/golang.org/x/text/secure/bidirule/bidirule.go +336 -0
- slidge_whatsapp/vendor/golang.org/x/text/secure/bidirule/bidirule10.0.0.go +11 -0
- slidge_whatsapp/vendor/golang.org/x/text/secure/bidirule/bidirule9.0.0.go +14 -0
- slidge_whatsapp/vendor/golang.org/x/text/transform/transform.go +709 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/bidi/bidi.go +359 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/bidi/bracket.go +335 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/bidi/core.go +1071 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/bidi/prop.go +206 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/bidi/tables10.0.0.go +1815 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/bidi/tables11.0.0.go +1887 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/bidi/tables12.0.0.go +1923 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/bidi/tables13.0.0.go +1955 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/bidi/tables15.0.0.go +2042 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/bidi/tables9.0.0.go +1781 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/bidi/trieval.go +48 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/norm/composition.go +512 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/norm/forminfo.go +279 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/norm/input.go +109 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/norm/iter.go +458 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/norm/normalize.go +610 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/norm/readwriter.go +125 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/norm/tables10.0.0.go +7657 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/norm/tables11.0.0.go +7693 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/norm/tables12.0.0.go +7710 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/norm/tables13.0.0.go +7760 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/norm/tables15.0.0.go +7907 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/norm/tables9.0.0.go +7637 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/norm/transform.go +88 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/norm/trie.go +54 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/encoding/protowire/wire.go +25 -1
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/editiondefaults/editions_defaults.binpb +0 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/filedesc/editions.go +13 -5
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/filedesc/presence.go +33 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/genid/api_gen.go +6 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/genid/descriptor_gen.go +81 -19
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/codec_message_opaque.go +2 -1
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/message_opaque.go +8 -37
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/impl/presence.go +0 -3
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/strs/{strings_unsafe_go121.go → strings_unsafe.go} +0 -2
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/version/version.go +1 -1
- slidge_whatsapp/vendor/google.golang.org/protobuf/proto/merge.go +6 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/reflect/protoreflect/source_gen.go +10 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/reflect/protoreflect/{value_unsafe_go121.go → value_unsafe.go} +0 -2
- slidge_whatsapp/vendor/modules.txt +80 -21
- {slidge_whatsapp-0.2.5.dist-info → slidge_whatsapp-0.3.0b0.dist-info}/METADATA +2 -2
- {slidge_whatsapp-0.2.5.dist-info → slidge_whatsapp-0.3.0b0.dist-info}/RECORD +456 -263
- {slidge_whatsapp-0.2.5.dist-info → slidge_whatsapp-0.3.0b0.dist-info}/WHEEL +1 -1
- slidge_whatsapp/vendor/github.com/jupiterrider/ffi/abi_amd64.go +0 -7
- slidge_whatsapp/vendor/github.com/rs/zerolog/CNAME +0 -1
- slidge_whatsapp/vendor/github.com/rs/zerolog/_config.yml +0 -1
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waAdv/WAAdv.pb.raw +0 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waArmadilloApplication/WAArmadilloApplication.pb.raw +0 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waArmadilloXMA/WAArmadilloXMA.pb.raw +0 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waCert/WACert.pb.raw +0 -23
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waChatLockSettings/WAProtobufsChatLockSettings.pb.raw +0 -7
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waCommon/WACommon.pb.raw +0 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waCompanionReg/WAWebProtobufsCompanionReg.pb.raw +0 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waConsumerApplication/WAConsumerApplication.pb.raw +0 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waDeviceCapabilities/WAProtobufsDeviceCapabilities.pb.raw +0 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waE2E/WAWebProtobufsE2E.pb.raw +0 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waHistorySync/WAWebProtobufsHistorySync.pb.raw +0 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMediaTransport/WAMediaTransport.pb.raw +0 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMmsRetry/WAMmsRetry.pb.raw +0 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMsgApplication/WAMsgApplication.pb.raw +0 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMsgTransport/WAMsgTransport.pb.raw +0 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waMultiDevice/WAMultiDevice.pb.raw +0 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waServerSync/WAServerSync.pb.raw +0 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waSyncAction/WASyncAction.pb.raw +0 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waUserPassword/WAProtobufsUserPassword.pb.raw +0 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waVnameCert/WAWebProtobufsVnameCert.pb.raw +0 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waWa6/WAWebProtobufsWa6.pb.raw +0 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waWeb/WAWebProtobufsWeb.pb.raw +0 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/upgrade.go +0 -296
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/strs/strings_unsafe_go120.go +0 -94
- slidge_whatsapp/vendor/google.golang.org/protobuf/reflect/protoreflect/value_unsafe_go120.go +0 -98
- {slidge_whatsapp-0.2.5.dist-info → slidge_whatsapp-0.3.0b0.dist-info}/LICENSE +0 -0
- {slidge_whatsapp-0.2.5.dist-info → slidge_whatsapp-0.3.0b0.dist-info}/entry_points.txt +0 -0
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
// Copyright 2013 The Go Authors. All rights reserved.
|
|
2
|
+
// Use of this source code is governed by a BSD-style
|
|
3
|
+
// license that can be found in the LICENSE file.
|
|
4
|
+
|
|
5
|
+
package norm
|
|
6
|
+
|
|
7
|
+
import (
|
|
8
|
+
"unicode/utf8"
|
|
9
|
+
|
|
10
|
+
"golang.org/x/text/transform"
|
|
11
|
+
)
|
|
12
|
+
|
|
13
|
+
// Reset implements the Reset method of the transform.Transformer interface.
|
|
14
|
+
func (Form) Reset() {}
|
|
15
|
+
|
|
16
|
+
// Transform implements the Transform method of the transform.Transformer
|
|
17
|
+
// interface. It may need to write segments of up to MaxSegmentSize at once.
|
|
18
|
+
// Users should either catch ErrShortDst and allow dst to grow or have dst be at
|
|
19
|
+
// least of size MaxTransformChunkSize to be guaranteed of progress.
|
|
20
|
+
func (f Form) Transform(dst, src []byte, atEOF bool) (nDst, nSrc int, err error) {
|
|
21
|
+
// Cap the maximum number of src bytes to check.
|
|
22
|
+
b := src
|
|
23
|
+
eof := atEOF
|
|
24
|
+
if ns := len(dst); ns < len(b) {
|
|
25
|
+
err = transform.ErrShortDst
|
|
26
|
+
eof = false
|
|
27
|
+
b = b[:ns]
|
|
28
|
+
}
|
|
29
|
+
i, ok := formTable[f].quickSpan(inputBytes(b), 0, len(b), eof)
|
|
30
|
+
n := copy(dst, b[:i])
|
|
31
|
+
if !ok {
|
|
32
|
+
nDst, nSrc, err = f.transform(dst[n:], src[n:], atEOF)
|
|
33
|
+
return nDst + n, nSrc + n, err
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
if err == nil && n < len(src) && !atEOF {
|
|
37
|
+
err = transform.ErrShortSrc
|
|
38
|
+
}
|
|
39
|
+
return n, n, err
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
func flushTransform(rb *reorderBuffer) bool {
|
|
43
|
+
// Write out (must fully fit in dst, or else it is an ErrShortDst).
|
|
44
|
+
if len(rb.out) < rb.nrune*utf8.UTFMax {
|
|
45
|
+
return false
|
|
46
|
+
}
|
|
47
|
+
rb.out = rb.out[rb.flushCopy(rb.out):]
|
|
48
|
+
return true
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
var errs = []error{nil, transform.ErrShortDst, transform.ErrShortSrc}
|
|
52
|
+
|
|
53
|
+
// transform implements the transform.Transformer interface. It is only called
|
|
54
|
+
// when quickSpan does not pass for a given string.
|
|
55
|
+
func (f Form) transform(dst, src []byte, atEOF bool) (nDst, nSrc int, err error) {
|
|
56
|
+
// TODO: get rid of reorderBuffer. See CL 23460044.
|
|
57
|
+
rb := reorderBuffer{}
|
|
58
|
+
rb.init(f, src)
|
|
59
|
+
for {
|
|
60
|
+
// Load segment into reorder buffer.
|
|
61
|
+
rb.setFlusher(dst[nDst:], flushTransform)
|
|
62
|
+
end := decomposeSegment(&rb, nSrc, atEOF)
|
|
63
|
+
if end < 0 {
|
|
64
|
+
return nDst, nSrc, errs[-end]
|
|
65
|
+
}
|
|
66
|
+
nDst = len(dst) - len(rb.out)
|
|
67
|
+
nSrc = end
|
|
68
|
+
|
|
69
|
+
// Next quickSpan.
|
|
70
|
+
end = rb.nsrc
|
|
71
|
+
eof := atEOF
|
|
72
|
+
if n := nSrc + len(dst) - nDst; n < end {
|
|
73
|
+
err = transform.ErrShortDst
|
|
74
|
+
end = n
|
|
75
|
+
eof = false
|
|
76
|
+
}
|
|
77
|
+
end, ok := rb.f.quickSpan(rb.src, nSrc, end, eof)
|
|
78
|
+
n := copy(dst[nDst:], rb.src.bytes[nSrc:end])
|
|
79
|
+
nSrc += n
|
|
80
|
+
nDst += n
|
|
81
|
+
if ok {
|
|
82
|
+
if err == nil && n < rb.nsrc && !atEOF {
|
|
83
|
+
err = transform.ErrShortSrc
|
|
84
|
+
}
|
|
85
|
+
return nDst, nSrc, err
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
// Copyright 2011 The Go Authors. All rights reserved.
|
|
2
|
+
// Use of this source code is governed by a BSD-style
|
|
3
|
+
// license that can be found in the LICENSE file.
|
|
4
|
+
|
|
5
|
+
package norm
|
|
6
|
+
|
|
7
|
+
type valueRange struct {
|
|
8
|
+
value uint16 // header: value:stride
|
|
9
|
+
lo, hi byte // header: lo:n
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
type sparseBlocks struct {
|
|
13
|
+
values []valueRange
|
|
14
|
+
offset []uint16
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
var nfcSparse = sparseBlocks{
|
|
18
|
+
values: nfcSparseValues[:],
|
|
19
|
+
offset: nfcSparseOffset[:],
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
var nfkcSparse = sparseBlocks{
|
|
23
|
+
values: nfkcSparseValues[:],
|
|
24
|
+
offset: nfkcSparseOffset[:],
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
var (
|
|
28
|
+
nfcData = newNfcTrie(0)
|
|
29
|
+
nfkcData = newNfkcTrie(0)
|
|
30
|
+
)
|
|
31
|
+
|
|
32
|
+
// lookup determines the type of block n and looks up the value for b.
|
|
33
|
+
// For n < t.cutoff, the block is a simple lookup table. Otherwise, the block
|
|
34
|
+
// is a list of ranges with an accompanying value. Given a matching range r,
|
|
35
|
+
// the value for b is by r.value + (b - r.lo) * stride.
|
|
36
|
+
func (t *sparseBlocks) lookup(n uint32, b byte) uint16 {
|
|
37
|
+
offset := t.offset[n]
|
|
38
|
+
header := t.values[offset]
|
|
39
|
+
lo := offset + 1
|
|
40
|
+
hi := lo + uint16(header.lo)
|
|
41
|
+
for lo < hi {
|
|
42
|
+
m := lo + (hi-lo)/2
|
|
43
|
+
r := t.values[m]
|
|
44
|
+
if r.lo <= b && b <= r.hi {
|
|
45
|
+
return r.value + uint16(b-r.lo)*header.value
|
|
46
|
+
}
|
|
47
|
+
if b < r.lo {
|
|
48
|
+
hi = m
|
|
49
|
+
} else {
|
|
50
|
+
lo = m + 1
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
return 0
|
|
54
|
+
}
|
|
@@ -371,7 +371,31 @@ func ConsumeVarint(b []byte) (v uint64, n int) {
|
|
|
371
371
|
func SizeVarint(v uint64) int {
|
|
372
372
|
// This computes 1 + (bits.Len64(v)-1)/7.
|
|
373
373
|
// 9/64 is a good enough approximation of 1/7
|
|
374
|
-
|
|
374
|
+
//
|
|
375
|
+
// The Go compiler can translate the bits.LeadingZeros64 call into the LZCNT
|
|
376
|
+
// instruction, which is very fast on CPUs from the last few years. The
|
|
377
|
+
// specific way of expressing the calculation matches C++ Protobuf, see
|
|
378
|
+
// https://godbolt.org/z/4P3h53oM4 for the C++ code and how gcc/clang
|
|
379
|
+
// optimize that function for GOAMD64=v1 and GOAMD64=v3 (-march=haswell).
|
|
380
|
+
|
|
381
|
+
// By OR'ing v with 1, we guarantee that v is never 0, without changing the
|
|
382
|
+
// result of SizeVarint. LZCNT is not defined for 0, meaning the compiler
|
|
383
|
+
// needs to add extra instructions to handle that case.
|
|
384
|
+
//
|
|
385
|
+
// The Go compiler currently (go1.24.4) does not make use of this knowledge.
|
|
386
|
+
// This opportunity (removing the XOR instruction, which handles the 0 case)
|
|
387
|
+
// results in a small (1%) performance win across CPU architectures.
|
|
388
|
+
//
|
|
389
|
+
// Independently of avoiding the 0 case, we need the v |= 1 line because
|
|
390
|
+
// it allows the Go compiler to eliminate an extra XCHGL barrier.
|
|
391
|
+
v |= 1
|
|
392
|
+
|
|
393
|
+
// It would be clearer to write log2value := 63 - uint32(...), but
|
|
394
|
+
// writing uint32(...) ^ 63 is much more efficient (-14% ARM, -20% Intel).
|
|
395
|
+
// Proof of identity for our value range [0..63]:
|
|
396
|
+
// https://go.dev/play/p/Pdn9hEWYakX
|
|
397
|
+
log2value := uint32(bits.LeadingZeros64(v)) ^ 63
|
|
398
|
+
return int((log2value*9 + (64 + 9)) / 64)
|
|
375
399
|
}
|
|
376
400
|
|
|
377
401
|
// AppendFixed32 appends v to b as a little-endian uint32.
|
slidge_whatsapp/vendor/google.golang.org/protobuf/internal/editiondefaults/editions_defaults.binpb
CHANGED
|
Binary file
|
|
@@ -13,8 +13,10 @@ import (
|
|
|
13
13
|
"google.golang.org/protobuf/reflect/protoreflect"
|
|
14
14
|
)
|
|
15
15
|
|
|
16
|
-
var
|
|
17
|
-
|
|
16
|
+
var (
|
|
17
|
+
defaultsCache = make(map[Edition]EditionFeatures)
|
|
18
|
+
defaultsKeys = []Edition{}
|
|
19
|
+
)
|
|
18
20
|
|
|
19
21
|
func init() {
|
|
20
22
|
unmarshalEditionDefaults(editiondefaults.Defaults)
|
|
@@ -41,7 +43,7 @@ func unmarshalGoFeature(b []byte, parent EditionFeatures) EditionFeatures {
|
|
|
41
43
|
b = b[m:]
|
|
42
44
|
parent.StripEnumPrefix = int(v)
|
|
43
45
|
default:
|
|
44
|
-
panic(fmt.Sprintf("
|
|
46
|
+
panic(fmt.Sprintf("unknown field number %d while unmarshalling GoFeatures", num))
|
|
45
47
|
}
|
|
46
48
|
}
|
|
47
49
|
return parent
|
|
@@ -69,8 +71,14 @@ func unmarshalFeatureSet(b []byte, parent EditionFeatures) EditionFeatures {
|
|
|
69
71
|
parent.IsDelimitedEncoded = v == genid.FeatureSet_DELIMITED_enum_value
|
|
70
72
|
case genid.FeatureSet_JsonFormat_field_number:
|
|
71
73
|
parent.IsJSONCompliant = v == genid.FeatureSet_ALLOW_enum_value
|
|
74
|
+
case genid.FeatureSet_EnforceNamingStyle_field_number:
|
|
75
|
+
// EnforceNamingStyle is enforced in protoc, languages other than C++
|
|
76
|
+
// are not supposed to do anything with this feature.
|
|
77
|
+
case genid.FeatureSet_DefaultSymbolVisibility_field_number:
|
|
78
|
+
// DefaultSymbolVisibility is enforced in protoc, runtimes should not
|
|
79
|
+
// inspect this value.
|
|
72
80
|
default:
|
|
73
|
-
panic(fmt.Sprintf("
|
|
81
|
+
panic(fmt.Sprintf("unknown field number %d while unmarshalling FeatureSet", num))
|
|
74
82
|
}
|
|
75
83
|
case protowire.BytesType:
|
|
76
84
|
v, m := protowire.ConsumeBytes(b)
|
|
@@ -144,7 +152,7 @@ func unmarshalEditionDefaults(b []byte) {
|
|
|
144
152
|
_, m := protowire.ConsumeVarint(b)
|
|
145
153
|
b = b[m:]
|
|
146
154
|
default:
|
|
147
|
-
panic(fmt.Sprintf("
|
|
155
|
+
panic(fmt.Sprintf("unknown field number %d while unmarshalling EditionDefault", num))
|
|
148
156
|
}
|
|
149
157
|
}
|
|
150
158
|
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
// Copyright 2025 The Go Authors. All rights reserved.
|
|
2
|
+
// Use of this source code is governed by a BSD-style
|
|
3
|
+
// license that can be found in the LICENSE file.
|
|
4
|
+
|
|
5
|
+
package filedesc
|
|
6
|
+
|
|
7
|
+
import "google.golang.org/protobuf/reflect/protoreflect"
|
|
8
|
+
|
|
9
|
+
// UsePresenceForField reports whether the presence bitmap should be used for
|
|
10
|
+
// the specified field.
|
|
11
|
+
func UsePresenceForField(fd protoreflect.FieldDescriptor) (usePresence, canBeLazy bool) {
|
|
12
|
+
switch {
|
|
13
|
+
case fd.ContainingOneof() != nil && !fd.ContainingOneof().IsSynthetic():
|
|
14
|
+
// Oneof fields never use the presence bitmap.
|
|
15
|
+
//
|
|
16
|
+
// Synthetic oneofs are an exception: Those are used to implement proto3
|
|
17
|
+
// optional fields and hence should follow non-oneof field semantics.
|
|
18
|
+
return false, false
|
|
19
|
+
|
|
20
|
+
case fd.IsMap():
|
|
21
|
+
// Map-typed fields never use the presence bitmap.
|
|
22
|
+
return false, false
|
|
23
|
+
|
|
24
|
+
case fd.Kind() == protoreflect.MessageKind || fd.Kind() == protoreflect.GroupKind:
|
|
25
|
+
// Lazy fields always use the presence bitmap (only messages can be lazy).
|
|
26
|
+
isLazy := fd.(interface{ IsLazy() bool }).IsLazy()
|
|
27
|
+
return isLazy, isLazy
|
|
28
|
+
|
|
29
|
+
default:
|
|
30
|
+
// If the field has presence, use the presence bitmap.
|
|
31
|
+
return fd.HasPresence(), false
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -27,6 +27,7 @@ const (
|
|
|
27
27
|
Api_SourceContext_field_name protoreflect.Name = "source_context"
|
|
28
28
|
Api_Mixins_field_name protoreflect.Name = "mixins"
|
|
29
29
|
Api_Syntax_field_name protoreflect.Name = "syntax"
|
|
30
|
+
Api_Edition_field_name protoreflect.Name = "edition"
|
|
30
31
|
|
|
31
32
|
Api_Name_field_fullname protoreflect.FullName = "google.protobuf.Api.name"
|
|
32
33
|
Api_Methods_field_fullname protoreflect.FullName = "google.protobuf.Api.methods"
|
|
@@ -35,6 +36,7 @@ const (
|
|
|
35
36
|
Api_SourceContext_field_fullname protoreflect.FullName = "google.protobuf.Api.source_context"
|
|
36
37
|
Api_Mixins_field_fullname protoreflect.FullName = "google.protobuf.Api.mixins"
|
|
37
38
|
Api_Syntax_field_fullname protoreflect.FullName = "google.protobuf.Api.syntax"
|
|
39
|
+
Api_Edition_field_fullname protoreflect.FullName = "google.protobuf.Api.edition"
|
|
38
40
|
)
|
|
39
41
|
|
|
40
42
|
// Field numbers for google.protobuf.Api.
|
|
@@ -46,6 +48,7 @@ const (
|
|
|
46
48
|
Api_SourceContext_field_number protoreflect.FieldNumber = 5
|
|
47
49
|
Api_Mixins_field_number protoreflect.FieldNumber = 6
|
|
48
50
|
Api_Syntax_field_number protoreflect.FieldNumber = 7
|
|
51
|
+
Api_Edition_field_number protoreflect.FieldNumber = 8
|
|
49
52
|
)
|
|
50
53
|
|
|
51
54
|
// Names for google.protobuf.Method.
|
|
@@ -63,6 +66,7 @@ const (
|
|
|
63
66
|
Method_ResponseStreaming_field_name protoreflect.Name = "response_streaming"
|
|
64
67
|
Method_Options_field_name protoreflect.Name = "options"
|
|
65
68
|
Method_Syntax_field_name protoreflect.Name = "syntax"
|
|
69
|
+
Method_Edition_field_name protoreflect.Name = "edition"
|
|
66
70
|
|
|
67
71
|
Method_Name_field_fullname protoreflect.FullName = "google.protobuf.Method.name"
|
|
68
72
|
Method_RequestTypeUrl_field_fullname protoreflect.FullName = "google.protobuf.Method.request_type_url"
|
|
@@ -71,6 +75,7 @@ const (
|
|
|
71
75
|
Method_ResponseStreaming_field_fullname protoreflect.FullName = "google.protobuf.Method.response_streaming"
|
|
72
76
|
Method_Options_field_fullname protoreflect.FullName = "google.protobuf.Method.options"
|
|
73
77
|
Method_Syntax_field_fullname protoreflect.FullName = "google.protobuf.Method.syntax"
|
|
78
|
+
Method_Edition_field_fullname protoreflect.FullName = "google.protobuf.Method.edition"
|
|
74
79
|
)
|
|
75
80
|
|
|
76
81
|
// Field numbers for google.protobuf.Method.
|
|
@@ -82,6 +87,7 @@ const (
|
|
|
82
87
|
Method_ResponseStreaming_field_number protoreflect.FieldNumber = 5
|
|
83
88
|
Method_Options_field_number protoreflect.FieldNumber = 6
|
|
84
89
|
Method_Syntax_field_number protoreflect.FieldNumber = 7
|
|
90
|
+
Method_Edition_field_number protoreflect.FieldNumber = 8
|
|
85
91
|
)
|
|
86
92
|
|
|
87
93
|
// Names for google.protobuf.Mixin.
|
|
@@ -34,6 +34,19 @@ const (
|
|
|
34
34
|
Edition_EDITION_MAX_enum_value = 2147483647
|
|
35
35
|
)
|
|
36
36
|
|
|
37
|
+
// Full and short names for google.protobuf.SymbolVisibility.
|
|
38
|
+
const (
|
|
39
|
+
SymbolVisibility_enum_fullname = "google.protobuf.SymbolVisibility"
|
|
40
|
+
SymbolVisibility_enum_name = "SymbolVisibility"
|
|
41
|
+
)
|
|
42
|
+
|
|
43
|
+
// Enum values for google.protobuf.SymbolVisibility.
|
|
44
|
+
const (
|
|
45
|
+
SymbolVisibility_VISIBILITY_UNSET_enum_value = 0
|
|
46
|
+
SymbolVisibility_VISIBILITY_LOCAL_enum_value = 1
|
|
47
|
+
SymbolVisibility_VISIBILITY_EXPORT_enum_value = 2
|
|
48
|
+
)
|
|
49
|
+
|
|
37
50
|
// Names for google.protobuf.FileDescriptorSet.
|
|
38
51
|
const (
|
|
39
52
|
FileDescriptorSet_message_name protoreflect.Name = "FileDescriptorSet"
|
|
@@ -65,6 +78,7 @@ const (
|
|
|
65
78
|
FileDescriptorProto_Dependency_field_name protoreflect.Name = "dependency"
|
|
66
79
|
FileDescriptorProto_PublicDependency_field_name protoreflect.Name = "public_dependency"
|
|
67
80
|
FileDescriptorProto_WeakDependency_field_name protoreflect.Name = "weak_dependency"
|
|
81
|
+
FileDescriptorProto_OptionDependency_field_name protoreflect.Name = "option_dependency"
|
|
68
82
|
FileDescriptorProto_MessageType_field_name protoreflect.Name = "message_type"
|
|
69
83
|
FileDescriptorProto_EnumType_field_name protoreflect.Name = "enum_type"
|
|
70
84
|
FileDescriptorProto_Service_field_name protoreflect.Name = "service"
|
|
@@ -79,6 +93,7 @@ const (
|
|
|
79
93
|
FileDescriptorProto_Dependency_field_fullname protoreflect.FullName = "google.protobuf.FileDescriptorProto.dependency"
|
|
80
94
|
FileDescriptorProto_PublicDependency_field_fullname protoreflect.FullName = "google.protobuf.FileDescriptorProto.public_dependency"
|
|
81
95
|
FileDescriptorProto_WeakDependency_field_fullname protoreflect.FullName = "google.protobuf.FileDescriptorProto.weak_dependency"
|
|
96
|
+
FileDescriptorProto_OptionDependency_field_fullname protoreflect.FullName = "google.protobuf.FileDescriptorProto.option_dependency"
|
|
82
97
|
FileDescriptorProto_MessageType_field_fullname protoreflect.FullName = "google.protobuf.FileDescriptorProto.message_type"
|
|
83
98
|
FileDescriptorProto_EnumType_field_fullname protoreflect.FullName = "google.protobuf.FileDescriptorProto.enum_type"
|
|
84
99
|
FileDescriptorProto_Service_field_fullname protoreflect.FullName = "google.protobuf.FileDescriptorProto.service"
|
|
@@ -96,6 +111,7 @@ const (
|
|
|
96
111
|
FileDescriptorProto_Dependency_field_number protoreflect.FieldNumber = 3
|
|
97
112
|
FileDescriptorProto_PublicDependency_field_number protoreflect.FieldNumber = 10
|
|
98
113
|
FileDescriptorProto_WeakDependency_field_number protoreflect.FieldNumber = 11
|
|
114
|
+
FileDescriptorProto_OptionDependency_field_number protoreflect.FieldNumber = 15
|
|
99
115
|
FileDescriptorProto_MessageType_field_number protoreflect.FieldNumber = 4
|
|
100
116
|
FileDescriptorProto_EnumType_field_number protoreflect.FieldNumber = 5
|
|
101
117
|
FileDescriptorProto_Service_field_number protoreflect.FieldNumber = 6
|
|
@@ -124,6 +140,7 @@ const (
|
|
|
124
140
|
DescriptorProto_Options_field_name protoreflect.Name = "options"
|
|
125
141
|
DescriptorProto_ReservedRange_field_name protoreflect.Name = "reserved_range"
|
|
126
142
|
DescriptorProto_ReservedName_field_name protoreflect.Name = "reserved_name"
|
|
143
|
+
DescriptorProto_Visibility_field_name protoreflect.Name = "visibility"
|
|
127
144
|
|
|
128
145
|
DescriptorProto_Name_field_fullname protoreflect.FullName = "google.protobuf.DescriptorProto.name"
|
|
129
146
|
DescriptorProto_Field_field_fullname protoreflect.FullName = "google.protobuf.DescriptorProto.field"
|
|
@@ -135,6 +152,7 @@ const (
|
|
|
135
152
|
DescriptorProto_Options_field_fullname protoreflect.FullName = "google.protobuf.DescriptorProto.options"
|
|
136
153
|
DescriptorProto_ReservedRange_field_fullname protoreflect.FullName = "google.protobuf.DescriptorProto.reserved_range"
|
|
137
154
|
DescriptorProto_ReservedName_field_fullname protoreflect.FullName = "google.protobuf.DescriptorProto.reserved_name"
|
|
155
|
+
DescriptorProto_Visibility_field_fullname protoreflect.FullName = "google.protobuf.DescriptorProto.visibility"
|
|
138
156
|
)
|
|
139
157
|
|
|
140
158
|
// Field numbers for google.protobuf.DescriptorProto.
|
|
@@ -149,6 +167,7 @@ const (
|
|
|
149
167
|
DescriptorProto_Options_field_number protoreflect.FieldNumber = 7
|
|
150
168
|
DescriptorProto_ReservedRange_field_number protoreflect.FieldNumber = 9
|
|
151
169
|
DescriptorProto_ReservedName_field_number protoreflect.FieldNumber = 10
|
|
170
|
+
DescriptorProto_Visibility_field_number protoreflect.FieldNumber = 11
|
|
152
171
|
)
|
|
153
172
|
|
|
154
173
|
// Names for google.protobuf.DescriptorProto.ExtensionRange.
|
|
@@ -388,12 +407,14 @@ const (
|
|
|
388
407
|
EnumDescriptorProto_Options_field_name protoreflect.Name = "options"
|
|
389
408
|
EnumDescriptorProto_ReservedRange_field_name protoreflect.Name = "reserved_range"
|
|
390
409
|
EnumDescriptorProto_ReservedName_field_name protoreflect.Name = "reserved_name"
|
|
410
|
+
EnumDescriptorProto_Visibility_field_name protoreflect.Name = "visibility"
|
|
391
411
|
|
|
392
412
|
EnumDescriptorProto_Name_field_fullname protoreflect.FullName = "google.protobuf.EnumDescriptorProto.name"
|
|
393
413
|
EnumDescriptorProto_Value_field_fullname protoreflect.FullName = "google.protobuf.EnumDescriptorProto.value"
|
|
394
414
|
EnumDescriptorProto_Options_field_fullname protoreflect.FullName = "google.protobuf.EnumDescriptorProto.options"
|
|
395
415
|
EnumDescriptorProto_ReservedRange_field_fullname protoreflect.FullName = "google.protobuf.EnumDescriptorProto.reserved_range"
|
|
396
416
|
EnumDescriptorProto_ReservedName_field_fullname protoreflect.FullName = "google.protobuf.EnumDescriptorProto.reserved_name"
|
|
417
|
+
EnumDescriptorProto_Visibility_field_fullname protoreflect.FullName = "google.protobuf.EnumDescriptorProto.visibility"
|
|
397
418
|
)
|
|
398
419
|
|
|
399
420
|
// Field numbers for google.protobuf.EnumDescriptorProto.
|
|
@@ -403,6 +424,7 @@ const (
|
|
|
403
424
|
EnumDescriptorProto_Options_field_number protoreflect.FieldNumber = 3
|
|
404
425
|
EnumDescriptorProto_ReservedRange_field_number protoreflect.FieldNumber = 4
|
|
405
426
|
EnumDescriptorProto_ReservedName_field_number protoreflect.FieldNumber = 5
|
|
427
|
+
EnumDescriptorProto_Visibility_field_number protoreflect.FieldNumber = 6
|
|
406
428
|
)
|
|
407
429
|
|
|
408
430
|
// Names for google.protobuf.EnumDescriptorProto.EnumReservedRange.
|
|
@@ -1008,29 +1030,35 @@ const (
|
|
|
1008
1030
|
|
|
1009
1031
|
// Field names for google.protobuf.FeatureSet.
|
|
1010
1032
|
const (
|
|
1011
|
-
FeatureSet_FieldPresence_field_name
|
|
1012
|
-
FeatureSet_EnumType_field_name
|
|
1013
|
-
FeatureSet_RepeatedFieldEncoding_field_name
|
|
1014
|
-
FeatureSet_Utf8Validation_field_name
|
|
1015
|
-
FeatureSet_MessageEncoding_field_name
|
|
1016
|
-
FeatureSet_JsonFormat_field_name
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1033
|
+
FeatureSet_FieldPresence_field_name protoreflect.Name = "field_presence"
|
|
1034
|
+
FeatureSet_EnumType_field_name protoreflect.Name = "enum_type"
|
|
1035
|
+
FeatureSet_RepeatedFieldEncoding_field_name protoreflect.Name = "repeated_field_encoding"
|
|
1036
|
+
FeatureSet_Utf8Validation_field_name protoreflect.Name = "utf8_validation"
|
|
1037
|
+
FeatureSet_MessageEncoding_field_name protoreflect.Name = "message_encoding"
|
|
1038
|
+
FeatureSet_JsonFormat_field_name protoreflect.Name = "json_format"
|
|
1039
|
+
FeatureSet_EnforceNamingStyle_field_name protoreflect.Name = "enforce_naming_style"
|
|
1040
|
+
FeatureSet_DefaultSymbolVisibility_field_name protoreflect.Name = "default_symbol_visibility"
|
|
1041
|
+
|
|
1042
|
+
FeatureSet_FieldPresence_field_fullname protoreflect.FullName = "google.protobuf.FeatureSet.field_presence"
|
|
1043
|
+
FeatureSet_EnumType_field_fullname protoreflect.FullName = "google.protobuf.FeatureSet.enum_type"
|
|
1044
|
+
FeatureSet_RepeatedFieldEncoding_field_fullname protoreflect.FullName = "google.protobuf.FeatureSet.repeated_field_encoding"
|
|
1045
|
+
FeatureSet_Utf8Validation_field_fullname protoreflect.FullName = "google.protobuf.FeatureSet.utf8_validation"
|
|
1046
|
+
FeatureSet_MessageEncoding_field_fullname protoreflect.FullName = "google.protobuf.FeatureSet.message_encoding"
|
|
1047
|
+
FeatureSet_JsonFormat_field_fullname protoreflect.FullName = "google.protobuf.FeatureSet.json_format"
|
|
1048
|
+
FeatureSet_EnforceNamingStyle_field_fullname protoreflect.FullName = "google.protobuf.FeatureSet.enforce_naming_style"
|
|
1049
|
+
FeatureSet_DefaultSymbolVisibility_field_fullname protoreflect.FullName = "google.protobuf.FeatureSet.default_symbol_visibility"
|
|
1024
1050
|
)
|
|
1025
1051
|
|
|
1026
1052
|
// Field numbers for google.protobuf.FeatureSet.
|
|
1027
1053
|
const (
|
|
1028
|
-
FeatureSet_FieldPresence_field_number
|
|
1029
|
-
FeatureSet_EnumType_field_number
|
|
1030
|
-
FeatureSet_RepeatedFieldEncoding_field_number
|
|
1031
|
-
FeatureSet_Utf8Validation_field_number
|
|
1032
|
-
FeatureSet_MessageEncoding_field_number
|
|
1033
|
-
FeatureSet_JsonFormat_field_number
|
|
1054
|
+
FeatureSet_FieldPresence_field_number protoreflect.FieldNumber = 1
|
|
1055
|
+
FeatureSet_EnumType_field_number protoreflect.FieldNumber = 2
|
|
1056
|
+
FeatureSet_RepeatedFieldEncoding_field_number protoreflect.FieldNumber = 3
|
|
1057
|
+
FeatureSet_Utf8Validation_field_number protoreflect.FieldNumber = 4
|
|
1058
|
+
FeatureSet_MessageEncoding_field_number protoreflect.FieldNumber = 5
|
|
1059
|
+
FeatureSet_JsonFormat_field_number protoreflect.FieldNumber = 6
|
|
1060
|
+
FeatureSet_EnforceNamingStyle_field_number protoreflect.FieldNumber = 7
|
|
1061
|
+
FeatureSet_DefaultSymbolVisibility_field_number protoreflect.FieldNumber = 8
|
|
1034
1062
|
)
|
|
1035
1063
|
|
|
1036
1064
|
// Full and short names for google.protobuf.FeatureSet.FieldPresence.
|
|
@@ -1112,6 +1140,40 @@ const (
|
|
|
1112
1140
|
FeatureSet_LEGACY_BEST_EFFORT_enum_value = 2
|
|
1113
1141
|
)
|
|
1114
1142
|
|
|
1143
|
+
// Full and short names for google.protobuf.FeatureSet.EnforceNamingStyle.
|
|
1144
|
+
const (
|
|
1145
|
+
FeatureSet_EnforceNamingStyle_enum_fullname = "google.protobuf.FeatureSet.EnforceNamingStyle"
|
|
1146
|
+
FeatureSet_EnforceNamingStyle_enum_name = "EnforceNamingStyle"
|
|
1147
|
+
)
|
|
1148
|
+
|
|
1149
|
+
// Enum values for google.protobuf.FeatureSet.EnforceNamingStyle.
|
|
1150
|
+
const (
|
|
1151
|
+
FeatureSet_ENFORCE_NAMING_STYLE_UNKNOWN_enum_value = 0
|
|
1152
|
+
FeatureSet_STYLE2024_enum_value = 1
|
|
1153
|
+
FeatureSet_STYLE_LEGACY_enum_value = 2
|
|
1154
|
+
)
|
|
1155
|
+
|
|
1156
|
+
// Names for google.protobuf.FeatureSet.VisibilityFeature.
|
|
1157
|
+
const (
|
|
1158
|
+
FeatureSet_VisibilityFeature_message_name protoreflect.Name = "VisibilityFeature"
|
|
1159
|
+
FeatureSet_VisibilityFeature_message_fullname protoreflect.FullName = "google.protobuf.FeatureSet.VisibilityFeature"
|
|
1160
|
+
)
|
|
1161
|
+
|
|
1162
|
+
// Full and short names for google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility.
|
|
1163
|
+
const (
|
|
1164
|
+
FeatureSet_VisibilityFeature_DefaultSymbolVisibility_enum_fullname = "google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility"
|
|
1165
|
+
FeatureSet_VisibilityFeature_DefaultSymbolVisibility_enum_name = "DefaultSymbolVisibility"
|
|
1166
|
+
)
|
|
1167
|
+
|
|
1168
|
+
// Enum values for google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility.
|
|
1169
|
+
const (
|
|
1170
|
+
FeatureSet_VisibilityFeature_DEFAULT_SYMBOL_VISIBILITY_UNKNOWN_enum_value = 0
|
|
1171
|
+
FeatureSet_VisibilityFeature_EXPORT_ALL_enum_value = 1
|
|
1172
|
+
FeatureSet_VisibilityFeature_EXPORT_TOP_LEVEL_enum_value = 2
|
|
1173
|
+
FeatureSet_VisibilityFeature_LOCAL_ALL_enum_value = 3
|
|
1174
|
+
FeatureSet_VisibilityFeature_STRICT_enum_value = 4
|
|
1175
|
+
)
|
|
1176
|
+
|
|
1115
1177
|
// Names for google.protobuf.FeatureSetDefaults.
|
|
1116
1178
|
const (
|
|
1117
1179
|
FeatureSetDefaults_message_name protoreflect.Name = "FeatureSetDefaults"
|
|
@@ -11,6 +11,7 @@ import (
|
|
|
11
11
|
|
|
12
12
|
"google.golang.org/protobuf/encoding/protowire"
|
|
13
13
|
"google.golang.org/protobuf/internal/encoding/messageset"
|
|
14
|
+
"google.golang.org/protobuf/internal/filedesc"
|
|
14
15
|
"google.golang.org/protobuf/internal/order"
|
|
15
16
|
"google.golang.org/protobuf/reflect/protoreflect"
|
|
16
17
|
piface "google.golang.org/protobuf/runtime/protoiface"
|
|
@@ -80,7 +81,7 @@ func (mi *MessageInfo) makeOpaqueCoderMethods(t reflect.Type, si opaqueStructInf
|
|
|
80
81
|
// permit us to skip over definitely-unset fields at marshal time.
|
|
81
82
|
|
|
82
83
|
var hasPresence bool
|
|
83
|
-
hasPresence, cf.isLazy =
|
|
84
|
+
hasPresence, cf.isLazy = filedesc.UsePresenceForField(fd)
|
|
84
85
|
|
|
85
86
|
if hasPresence {
|
|
86
87
|
cf.presenceIndex, mi.presenceSize = presenceIndex(mi.Desc, fd)
|
|
@@ -11,6 +11,7 @@ import (
|
|
|
11
11
|
"strings"
|
|
12
12
|
"sync/atomic"
|
|
13
13
|
|
|
14
|
+
"google.golang.org/protobuf/internal/filedesc"
|
|
14
15
|
"google.golang.org/protobuf/reflect/protoreflect"
|
|
15
16
|
)
|
|
16
17
|
|
|
@@ -53,7 +54,7 @@ func opaqueInitHook(mi *MessageInfo) bool {
|
|
|
53
54
|
fd := fds.Get(i)
|
|
54
55
|
fs := si.fieldsByNumber[fd.Number()]
|
|
55
56
|
var fi fieldInfo
|
|
56
|
-
usePresence, _ :=
|
|
57
|
+
usePresence, _ := filedesc.UsePresenceForField(fd)
|
|
57
58
|
|
|
58
59
|
switch {
|
|
59
60
|
case fd.ContainingOneof() != nil && !fd.ContainingOneof().IsSynthetic():
|
|
@@ -343,17 +344,15 @@ func (mi *MessageInfo) fieldInfoForMessageListOpaqueNoPresence(si opaqueStructIn
|
|
|
343
344
|
if p.IsNil() {
|
|
344
345
|
return false
|
|
345
346
|
}
|
|
346
|
-
|
|
347
|
-
if
|
|
347
|
+
rv := p.Apply(fieldOffset).AsValueOf(fs.Type).Elem()
|
|
348
|
+
if rv.IsNil() {
|
|
348
349
|
return false
|
|
349
350
|
}
|
|
350
|
-
rv := sp.AsValueOf(fs.Type.Elem())
|
|
351
351
|
return rv.Elem().Len() > 0
|
|
352
352
|
},
|
|
353
353
|
clear: func(p pointer) {
|
|
354
|
-
|
|
355
|
-
if !
|
|
356
|
-
rv := sp.AsValueOf(fs.Type.Elem())
|
|
354
|
+
rv := p.Apply(fieldOffset).AsValueOf(fs.Type).Elem()
|
|
355
|
+
if !rv.IsNil() {
|
|
357
356
|
rv.Elem().Set(reflect.Zero(rv.Type().Elem()))
|
|
358
357
|
}
|
|
359
358
|
},
|
|
@@ -361,11 +360,10 @@ func (mi *MessageInfo) fieldInfoForMessageListOpaqueNoPresence(si opaqueStructIn
|
|
|
361
360
|
if p.IsNil() {
|
|
362
361
|
return conv.Zero()
|
|
363
362
|
}
|
|
364
|
-
|
|
365
|
-
if
|
|
363
|
+
rv := p.Apply(fieldOffset).AsValueOf(fs.Type).Elem()
|
|
364
|
+
if rv.IsNil() {
|
|
366
365
|
return conv.Zero()
|
|
367
366
|
}
|
|
368
|
-
rv := sp.AsValueOf(fs.Type.Elem())
|
|
369
367
|
if rv.Elem().Len() == 0 {
|
|
370
368
|
return conv.Zero()
|
|
371
369
|
}
|
|
@@ -598,30 +596,3 @@ func (mi *MessageInfo) clearPresent(p pointer, index uint32) {
|
|
|
598
596
|
func (mi *MessageInfo) present(p pointer, index uint32) bool {
|
|
599
597
|
return p.Apply(mi.presenceOffset).PresenceInfo().Present(index)
|
|
600
598
|
}
|
|
601
|
-
|
|
602
|
-
// usePresenceForField implements the somewhat intricate logic of when
|
|
603
|
-
// the presence bitmap is used for a field. The main logic is that a
|
|
604
|
-
// field that is optional or that can be lazy will use the presence
|
|
605
|
-
// bit, but for proto2, also maps have a presence bit. It also records
|
|
606
|
-
// if the field can ever be lazy, which is true if we have a
|
|
607
|
-
// lazyOffset and the field is a message or a slice of messages. A
|
|
608
|
-
// field that is lazy will always need a presence bit. Oneofs are not
|
|
609
|
-
// lazy and do not use presence, unless they are a synthetic oneof,
|
|
610
|
-
// which is a proto3 optional field. For proto3 optionals, we use the
|
|
611
|
-
// presence and they can also be lazy when applicable (a message).
|
|
612
|
-
func usePresenceForField(si opaqueStructInfo, fd protoreflect.FieldDescriptor) (usePresence, canBeLazy bool) {
|
|
613
|
-
hasLazyField := fd.(interface{ IsLazy() bool }).IsLazy()
|
|
614
|
-
|
|
615
|
-
// Non-oneof scalar fields with explicit field presence use the presence array.
|
|
616
|
-
usesPresenceArray := fd.HasPresence() && fd.Message() == nil && (fd.ContainingOneof() == nil || fd.ContainingOneof().IsSynthetic())
|
|
617
|
-
switch {
|
|
618
|
-
case fd.ContainingOneof() != nil && !fd.ContainingOneof().IsSynthetic():
|
|
619
|
-
return false, false
|
|
620
|
-
case fd.IsMap():
|
|
621
|
-
return false, false
|
|
622
|
-
case fd.Kind() == protoreflect.MessageKind || fd.Kind() == protoreflect.GroupKind:
|
|
623
|
-
return hasLazyField, hasLazyField
|
|
624
|
-
default:
|
|
625
|
-
return usesPresenceArray || (hasLazyField && fd.HasPresence()), false
|
|
626
|
-
}
|
|
627
|
-
}
|
|
@@ -32,9 +32,6 @@ func (p presence) toElem(num uint32) (ret *uint32) {
|
|
|
32
32
|
|
|
33
33
|
// Present checks for the presence of a specific field number in a presence set.
|
|
34
34
|
func (p presence) Present(num uint32) bool {
|
|
35
|
-
if p.P == nil {
|
|
36
|
-
return false
|
|
37
|
-
}
|
|
38
35
|
return Export{}.Present(p.toElem(num), num)
|
|
39
36
|
}
|
|
40
37
|
|
|
@@ -59,6 +59,12 @@ func Clone(m Message) Message {
|
|
|
59
59
|
return dst.Interface()
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
+
// CloneOf returns a deep copy of m. If the top-level message is invalid,
|
|
63
|
+
// it returns an invalid message as well.
|
|
64
|
+
func CloneOf[M Message](m M) M {
|
|
65
|
+
return Clone(m).(M)
|
|
66
|
+
}
|
|
67
|
+
|
|
62
68
|
// mergeOptions provides a namespace for merge functions, and can be
|
|
63
69
|
// exported in the future if we add user-visible merge options.
|
|
64
70
|
type mergeOptions struct{}
|