slidge-whatsapp 0.3.0b0__cp311-cp311-manylinux_2_36_aarch64.whl → 0.3.4__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/contact.py +2 -0
- slidge_whatsapp/event.go +72 -22
- slidge_whatsapp/generated/_whatsapp.cpython-311-aarch64-linux-gnu.h +199 -199
- slidge_whatsapp/generated/_whatsapp.cpython-311-aarch64-linux-gnu.so +0 -0
- slidge_whatsapp/generated/build.py +156 -156
- slidge_whatsapp/generated/go.py +1 -1
- slidge_whatsapp/generated/whatsapp.c +1543 -1543
- slidge_whatsapp/generated/whatsapp.go +1203 -1203
- slidge_whatsapp/generated/whatsapp.py +1377 -1377
- slidge_whatsapp/generated/whatsapp_go.h +199 -199
- slidge_whatsapp/go.mod +11 -11
- slidge_whatsapp/go.sum +26 -26
- slidge_whatsapp/session.go +4 -4
- slidge_whatsapp/vendor/github.com/ebitengine/purego/README.md +21 -5
- slidge_whatsapp/vendor/github.com/ebitengine/purego/abi_loong64.h +60 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/cgo.go +1 -1
- slidge_whatsapp/vendor/github.com/ebitengine/purego/dlerror.go +1 -1
- slidge_whatsapp/vendor/github.com/ebitengine/purego/dlfcn.go +1 -1
- slidge_whatsapp/vendor/github.com/ebitengine/purego/dlfcn_netbsd.go +15 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/dlfcn_nocgo_netbsd.go +9 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/dlfcn_stubs.s +1 -1
- slidge_whatsapp/vendor/github.com/ebitengine/purego/func.go +113 -60
- slidge_whatsapp/vendor/github.com/ebitengine/purego/gen.go +6 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/go_runtime.go +1 -1
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/cgo/dlfcn_cgo_unix.go +2 -2
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/cgo/syscall_cgo_unix.go +2 -2
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/abi_loong64.h +60 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/asm_loong64.s +40 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/callbacks.go +1 -1
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/doc.go +1 -1
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/go_libinit.go +1 -1
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/go_linux_loong64.go +92 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/go_netbsd.go +106 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/go_setenv.go +1 -1
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/go_util.go +1 -1
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/iscgo.go +1 -1
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/libcgo.go +1 -1
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/libcgo_darwin.go +4 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/libcgo_freebsd.go +4 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/libcgo_linux.go +4 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/libcgo_netbsd.go +26 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/netbsd.go +23 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/setenv.go +1 -1
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/symbols.go +11 -1
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/symbols_darwin.go +1 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/symbols_freebsd.go +1 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/symbols_linux.go +1 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/symbols_netbsd.go +30 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/trampolines_loong64.s +71 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/internal/fakecgo/trampolines_stubs.s +5 -1
- slidge_whatsapp/vendor/github.com/ebitengine/purego/nocgo.go +1 -1
- slidge_whatsapp/vendor/github.com/ebitengine/purego/struct_amd64.go +8 -4
- slidge_whatsapp/vendor/github.com/ebitengine/purego/struct_arm64.go +16 -6
- slidge_whatsapp/vendor/github.com/ebitengine/purego/struct_loong64.go +190 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/struct_other.go +6 -2
- slidge_whatsapp/vendor/github.com/ebitengine/purego/sys_amd64.s +1 -1
- slidge_whatsapp/vendor/github.com/ebitengine/purego/sys_arm64.s +1 -1
- slidge_whatsapp/vendor/github.com/ebitengine/purego/sys_loong64.s +96 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/sys_unix_arm64.s +1 -1
- slidge_whatsapp/vendor/github.com/ebitengine/purego/sys_unix_loong64.s +75 -0
- slidge_whatsapp/vendor/github.com/ebitengine/purego/syscall.go +6 -3
- slidge_whatsapp/vendor/github.com/ebitengine/purego/syscall_cgo_linux.go +3 -3
- slidge_whatsapp/vendor/github.com/ebitengine/purego/syscall_sysv.go +13 -10
- slidge_whatsapp/vendor/github.com/ebitengine/purego/syscall_windows.go +1 -1
- slidge_whatsapp/vendor/github.com/ebitengine/purego/zcallback_amd64.s +2002 -2002
- slidge_whatsapp/vendor/github.com/ebitengine/purego/zcallback_arm64.s +4002 -4002
- slidge_whatsapp/vendor/github.com/ebitengine/purego/zcallback_loong64.s +4014 -0
- slidge_whatsapp/vendor/go.mau.fi/libsignal/session/SessionCipher.go +7 -2
- slidge_whatsapp/vendor/go.mau.fi/util/dbutil/log.go +1 -0
- slidge_whatsapp/vendor/go.mau.fi/util/dbutil/module.go +119 -0
- slidge_whatsapp/vendor/go.mau.fi/util/dbutil/upgradetable.go +3 -34
- slidge_whatsapp/vendor/go.mau.fi/util/exbytes/string.go +20 -0
- slidge_whatsapp/vendor/go.mau.fi/util/exbytes/writer.go +78 -0
- slidge_whatsapp/vendor/go.mau.fi/util/exslices/cast.go +42 -0
- slidge_whatsapp/vendor/go.mau.fi/util/exslices/chunk.go +28 -0
- slidge_whatsapp/vendor/go.mau.fi/util/exslices/deduplicate.go +67 -0
- slidge_whatsapp/vendor/go.mau.fi/util/exslices/diff.go +63 -0
- slidge_whatsapp/vendor/go.mau.fi/util/exsync/event.go +15 -1
- slidge_whatsapp/vendor/go.mau.fi/util/exsync/syncmap.go +48 -7
- slidge_whatsapp/vendor/go.mau.fi/util/exsync/syncset.go +13 -0
- slidge_whatsapp/vendor/go.mau.fi/util/jsontime/helpers.go +16 -5
- slidge_whatsapp/vendor/go.mau.fi/util/jsontime/integer.go +27 -12
- slidge_whatsapp/vendor/go.mau.fi/util/random/string.go +47 -7
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/appstate/decode.go +1 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/appstate/encode.go +60 -15
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/appstate/hash.go +1 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/appstate.go +20 -2
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/armadillomessage.go +2 -2
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/call.go +6 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/errors.go +1 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/group.go +63 -42
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/internals.go +31 -15
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/message.go +77 -26
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/msgsecret.go +23 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/notification.go +5 -1
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/pair.go +22 -23
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/prekeys.go +21 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waAICommon/WAAICommon.pb.go +7747 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/{waBotMetadata/WABotMetadata.proto → waAICommon/WAAICommon.proto} +269 -9
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waDeviceCapabilities/WAProtobufsDeviceCapabilities.pb.go +128 -14
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waDeviceCapabilities/WAProtobufsDeviceCapabilities.proto +10 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waE2E/WAWebProtobufsE2E.pb.go +8953 -10087
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waE2E/WAWebProtobufsE2E.proto +216 -330
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waHistorySync/WAWebProtobufsHistorySync.pb.go +11 -2
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waHistorySync/WAWebProtobufsHistorySync.proto +1 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waStatusAttributions/WAStatusAttributions.pb.go +226 -83
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waStatusAttributions/WAStatusAttributions.proto +14 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waSyncAction/WASyncAction.pb.go +709 -449
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waSyncAction/WASyncAction.proto +24 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waWa6/WAWebProtobufsWa6.pb.go +78 -24
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waWa6/WAWebProtobufsWa6.proto +6 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waWeb/WAWebProtobufsWeb.pb.go +528 -267
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waWeb/WAWebProtobufsWeb.proto +24 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/receipt.go +47 -14
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/request.go +4 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/retry.go +6 -13
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/send.go +130 -62
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/sendfb.go +33 -32
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/clientpayload.go +1 -1
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/noop.go +16 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sessioncache.go +125 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/signal.go +8 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/lidmap.go +82 -4
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/store.go +135 -55
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/upgrades/00-latest-schema.sql +8 -7
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/sqlstore/upgrades/11-redacted-phone-contacts.sql +2 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/store/store.go +24 -2
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/types/call.go +6 -5
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/types/jid.go +24 -9
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/types/message.go +7 -1
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/types/user.go +3 -0
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/user.go +43 -3
- slidge_whatsapp/vendor/golang.org/x/crypto/curve25519/curve25519.go +7 -4
- slidge_whatsapp/vendor/golang.org/x/net/http2/config.go +11 -6
- slidge_whatsapp/vendor/golang.org/x/net/http2/config_go125.go +15 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/config_go126.go +15 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/frame.go +24 -1
- slidge_whatsapp/vendor/golang.org/x/net/http2/http2.go +0 -1
- slidge_whatsapp/vendor/golang.org/x/net/http2/server.go +35 -26
- slidge_whatsapp/vendor/golang.org/x/net/http2/transport.go +4 -2
- slidge_whatsapp/vendor/golang.org/x/net/http2/writesched.go +2 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/{writesched_priority.go → writesched_priority_rfc7540.go} +52 -52
- slidge_whatsapp/vendor/golang.org/x/net/http2/writesched_priority_rfc9128.go +209 -0
- slidge_whatsapp/vendor/golang.org/x/net/http2/writesched_roundrobin.go +1 -1
- slidge_whatsapp/vendor/golang.org/x/net/internal/httpcommon/request.go +2 -2
- slidge_whatsapp/vendor/golang.org/x/net/internal/socks/socks.go +1 -1
- slidge_whatsapp/vendor/golang.org/x/sys/unix/affinity_linux.go +9 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/fdset.go +1 -3
- slidge_whatsapp/vendor/golang.org/x/sys/unix/ifreq_linux.go +1 -3
- slidge_whatsapp/vendor/golang.org/x/sys/unix/mkall.sh +1 -0
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_linux.go +1 -3
- slidge_whatsapp/vendor/golang.org/x/sys/unix/syscall_netbsd.go +17 -0
- slidge_whatsapp/vendor/golang.org/x/sys/windows/syscall_windows.go +2 -0
- slidge_whatsapp/vendor/golang.org/x/sys/windows/types_windows.go +16 -0
- slidge_whatsapp/vendor/golang.org/x/sys/windows/zsyscall_windows.go +18 -0
- slidge_whatsapp/vendor/golang.org/x/text/unicode/bidi/core.go +2 -9
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/filedesc/desc.go +35 -17
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/filedesc/desc_init.go +14 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/filedesc/desc_lazy.go +20 -0
- slidge_whatsapp/vendor/google.golang.org/protobuf/internal/version/version.go +1 -1
- slidge_whatsapp/vendor/modules.txt +15 -13
- {slidge_whatsapp-0.3.0b0.dist-info → slidge_whatsapp-0.3.4.dist-info}/METADATA +4 -3
- {slidge_whatsapp-0.3.0b0.dist-info → slidge_whatsapp-0.3.4.dist-info}/RECORD +166 -138
- {slidge_whatsapp-0.3.0b0.dist-info → slidge_whatsapp-0.3.4.dist-info}/WHEEL +1 -1
- slidge_whatsapp/vendor/go.mau.fi/whatsmeow/proto/waBotMetadata/WABotMetadata.pb.go +0 -5156
- {slidge_whatsapp-0.3.0b0.dist-info → slidge_whatsapp-0.3.4.dist-info}/entry_points.txt +0 -0
- {slidge_whatsapp-0.3.0b0.dist-info → slidge_whatsapp-0.3.4.dist-info/licenses}/LICENSE +0 -0
|
@@ -238,6 +238,7 @@ var (
|
|
|
238
238
|
procFindResourceW = modkernel32.NewProc("FindResourceW")
|
|
239
239
|
procFindVolumeClose = modkernel32.NewProc("FindVolumeClose")
|
|
240
240
|
procFindVolumeMountPointClose = modkernel32.NewProc("FindVolumeMountPointClose")
|
|
241
|
+
procFlushConsoleInputBuffer = modkernel32.NewProc("FlushConsoleInputBuffer")
|
|
241
242
|
procFlushFileBuffers = modkernel32.NewProc("FlushFileBuffers")
|
|
242
243
|
procFlushViewOfFile = modkernel32.NewProc("FlushViewOfFile")
|
|
243
244
|
procFormatMessageW = modkernel32.NewProc("FormatMessageW")
|
|
@@ -284,6 +285,7 @@ var (
|
|
|
284
285
|
procGetNamedPipeHandleStateW = modkernel32.NewProc("GetNamedPipeHandleStateW")
|
|
285
286
|
procGetNamedPipeInfo = modkernel32.NewProc("GetNamedPipeInfo")
|
|
286
287
|
procGetNamedPipeServerProcessId = modkernel32.NewProc("GetNamedPipeServerProcessId")
|
|
288
|
+
procGetNumberOfConsoleInputEvents = modkernel32.NewProc("GetNumberOfConsoleInputEvents")
|
|
287
289
|
procGetOverlappedResult = modkernel32.NewProc("GetOverlappedResult")
|
|
288
290
|
procGetPriorityClass = modkernel32.NewProc("GetPriorityClass")
|
|
289
291
|
procGetProcAddress = modkernel32.NewProc("GetProcAddress")
|
|
@@ -2111,6 +2113,14 @@ func FindVolumeMountPointClose(findVolumeMountPoint Handle) (err error) {
|
|
|
2111
2113
|
return
|
|
2112
2114
|
}
|
|
2113
2115
|
|
|
2116
|
+
func FlushConsoleInputBuffer(console Handle) (err error) {
|
|
2117
|
+
r1, _, e1 := syscall.SyscallN(procFlushConsoleInputBuffer.Addr(), uintptr(console))
|
|
2118
|
+
if r1 == 0 {
|
|
2119
|
+
err = errnoErr(e1)
|
|
2120
|
+
}
|
|
2121
|
+
return
|
|
2122
|
+
}
|
|
2123
|
+
|
|
2114
2124
|
func FlushFileBuffers(handle Handle) (err error) {
|
|
2115
2125
|
r1, _, e1 := syscall.SyscallN(procFlushFileBuffers.Addr(), uintptr(handle))
|
|
2116
2126
|
if r1 == 0 {
|
|
@@ -2481,6 +2491,14 @@ func GetNamedPipeServerProcessId(pipe Handle, serverProcessID *uint32) (err erro
|
|
|
2481
2491
|
return
|
|
2482
2492
|
}
|
|
2483
2493
|
|
|
2494
|
+
func GetNumberOfConsoleInputEvents(console Handle, numevents *uint32) (err error) {
|
|
2495
|
+
r1, _, e1 := syscall.SyscallN(procGetNumberOfConsoleInputEvents.Addr(), uintptr(console), uintptr(unsafe.Pointer(numevents)))
|
|
2496
|
+
if r1 == 0 {
|
|
2497
|
+
err = errnoErr(e1)
|
|
2498
|
+
}
|
|
2499
|
+
return
|
|
2500
|
+
}
|
|
2501
|
+
|
|
2484
2502
|
func GetOverlappedResult(handle Handle, overlapped *Overlapped, done *uint32, wait bool) (err error) {
|
|
2485
2503
|
var _p0 uint32
|
|
2486
2504
|
if wait {
|
|
@@ -427,13 +427,6 @@ type isolatingRunSequence struct {
|
|
|
427
427
|
|
|
428
428
|
func (i *isolatingRunSequence) Len() int { return len(i.indexes) }
|
|
429
429
|
|
|
430
|
-
func maxLevel(a, b level) level {
|
|
431
|
-
if a > b {
|
|
432
|
-
return a
|
|
433
|
-
}
|
|
434
|
-
return b
|
|
435
|
-
}
|
|
436
|
-
|
|
437
430
|
// Rule X10, second bullet: Determine the start-of-sequence (sos) and end-of-sequence (eos) types,
|
|
438
431
|
// either L or R, for each isolating run sequence.
|
|
439
432
|
func (p *paragraph) isolatingRunSequence(indexes []int) *isolatingRunSequence {
|
|
@@ -474,8 +467,8 @@ func (p *paragraph) isolatingRunSequence(indexes []int) *isolatingRunSequence {
|
|
|
474
467
|
indexes: indexes,
|
|
475
468
|
types: types,
|
|
476
469
|
level: level,
|
|
477
|
-
sos: typeForLevel(
|
|
478
|
-
eos: typeForLevel(
|
|
470
|
+
sos: typeForLevel(max(prevLevel, level)),
|
|
471
|
+
eos: typeForLevel(max(succLevel, level)),
|
|
479
472
|
}
|
|
480
473
|
}
|
|
481
474
|
|
|
@@ -72,9 +72,10 @@ type (
|
|
|
72
72
|
EditionFeatures EditionFeatures
|
|
73
73
|
}
|
|
74
74
|
FileL2 struct {
|
|
75
|
-
Options
|
|
76
|
-
Imports
|
|
77
|
-
|
|
75
|
+
Options func() protoreflect.ProtoMessage
|
|
76
|
+
Imports FileImports
|
|
77
|
+
OptionImports func() protoreflect.FileImports
|
|
78
|
+
Locations SourceLocations
|
|
78
79
|
}
|
|
79
80
|
|
|
80
81
|
// EditionFeatures is a frequently-instantiated struct, so please take care
|
|
@@ -126,12 +127,9 @@ func (fd *File) ParentFile() protoreflect.FileDescriptor { return fd }
|
|
|
126
127
|
func (fd *File) Parent() protoreflect.Descriptor { return nil }
|
|
127
128
|
func (fd *File) Index() int { return 0 }
|
|
128
129
|
func (fd *File) Syntax() protoreflect.Syntax { return fd.L1.Syntax }
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
func (fd *File)
|
|
132
|
-
func (fd *File) Name() protoreflect.Name { return fd.L1.Package.Name() }
|
|
133
|
-
func (fd *File) FullName() protoreflect.FullName { return fd.L1.Package }
|
|
134
|
-
func (fd *File) IsPlaceholder() bool { return false }
|
|
130
|
+
func (fd *File) Name() protoreflect.Name { return fd.L1.Package.Name() }
|
|
131
|
+
func (fd *File) FullName() protoreflect.FullName { return fd.L1.Package }
|
|
132
|
+
func (fd *File) IsPlaceholder() bool { return false }
|
|
135
133
|
func (fd *File) Options() protoreflect.ProtoMessage {
|
|
136
134
|
if f := fd.lazyInit().Options; f != nil {
|
|
137
135
|
return f()
|
|
@@ -150,6 +148,16 @@ func (fd *File) Format(s fmt.State, r rune) { descfmt.FormatD
|
|
|
150
148
|
func (fd *File) ProtoType(protoreflect.FileDescriptor) {}
|
|
151
149
|
func (fd *File) ProtoInternal(pragma.DoNotImplement) {}
|
|
152
150
|
|
|
151
|
+
// The next two are not part of the FileDescriptor interface. They are just used to reconstruct
|
|
152
|
+
// the original FileDescriptor proto.
|
|
153
|
+
func (fd *File) Edition() int32 { return int32(fd.L1.Edition) }
|
|
154
|
+
func (fd *File) OptionImports() protoreflect.FileImports {
|
|
155
|
+
if f := fd.lazyInit().OptionImports; f != nil {
|
|
156
|
+
return f()
|
|
157
|
+
}
|
|
158
|
+
return emptyFiles
|
|
159
|
+
}
|
|
160
|
+
|
|
153
161
|
func (fd *File) lazyInit() *FileL2 {
|
|
154
162
|
if atomic.LoadUint32(&fd.once) == 0 {
|
|
155
163
|
fd.lazyInitOnce()
|
|
@@ -182,9 +190,9 @@ type (
|
|
|
182
190
|
L2 *EnumL2 // protected by fileDesc.once
|
|
183
191
|
}
|
|
184
192
|
EnumL1 struct {
|
|
185
|
-
eagerValues bool // controls whether EnumL2.Values is already populated
|
|
186
|
-
|
|
187
193
|
EditionFeatures EditionFeatures
|
|
194
|
+
Visibility int32
|
|
195
|
+
eagerValues bool // controls whether EnumL2.Values is already populated
|
|
188
196
|
}
|
|
189
197
|
EnumL2 struct {
|
|
190
198
|
Options func() protoreflect.ProtoMessage
|
|
@@ -219,6 +227,11 @@ func (ed *Enum) ReservedNames() protoreflect.Names { return &ed.lazyInit()
|
|
|
219
227
|
func (ed *Enum) ReservedRanges() protoreflect.EnumRanges { return &ed.lazyInit().ReservedRanges }
|
|
220
228
|
func (ed *Enum) Format(s fmt.State, r rune) { descfmt.FormatDesc(s, r, ed) }
|
|
221
229
|
func (ed *Enum) ProtoType(protoreflect.EnumDescriptor) {}
|
|
230
|
+
|
|
231
|
+
// This is not part of the EnumDescriptor interface. It is just used to reconstruct
|
|
232
|
+
// the original FileDescriptor proto.
|
|
233
|
+
func (ed *Enum) Visibility() int32 { return ed.L1.Visibility }
|
|
234
|
+
|
|
222
235
|
func (ed *Enum) lazyInit() *EnumL2 {
|
|
223
236
|
ed.L0.ParentFile.lazyInit() // implicitly initializes L2
|
|
224
237
|
return ed.L2
|
|
@@ -244,13 +257,13 @@ type (
|
|
|
244
257
|
L2 *MessageL2 // protected by fileDesc.once
|
|
245
258
|
}
|
|
246
259
|
MessageL1 struct {
|
|
247
|
-
Enums
|
|
248
|
-
Messages
|
|
249
|
-
Extensions
|
|
250
|
-
IsMapEntry bool // promoted from google.protobuf.MessageOptions
|
|
251
|
-
IsMessageSet bool // promoted from google.protobuf.MessageOptions
|
|
252
|
-
|
|
260
|
+
Enums Enums
|
|
261
|
+
Messages Messages
|
|
262
|
+
Extensions Extensions
|
|
253
263
|
EditionFeatures EditionFeatures
|
|
264
|
+
Visibility int32
|
|
265
|
+
IsMapEntry bool // promoted from google.protobuf.MessageOptions
|
|
266
|
+
IsMessageSet bool // promoted from google.protobuf.MessageOptions
|
|
254
267
|
}
|
|
255
268
|
MessageL2 struct {
|
|
256
269
|
Options func() protoreflect.ProtoMessage
|
|
@@ -319,6 +332,11 @@ func (md *Message) Messages() protoreflect.MessageDescriptors { return &md.L
|
|
|
319
332
|
func (md *Message) Extensions() protoreflect.ExtensionDescriptors { return &md.L1.Extensions }
|
|
320
333
|
func (md *Message) ProtoType(protoreflect.MessageDescriptor) {}
|
|
321
334
|
func (md *Message) Format(s fmt.State, r rune) { descfmt.FormatDesc(s, r, md) }
|
|
335
|
+
|
|
336
|
+
// This is not part of the MessageDescriptor interface. It is just used to reconstruct
|
|
337
|
+
// the original FileDescriptor proto.
|
|
338
|
+
func (md *Message) Visibility() int32 { return md.L1.Visibility }
|
|
339
|
+
|
|
322
340
|
func (md *Message) lazyInit() *MessageL2 {
|
|
323
341
|
md.L0.ParentFile.lazyInit() // implicitly initializes L2
|
|
324
342
|
return md.L2
|
|
@@ -284,6 +284,13 @@ func (ed *Enum) unmarshalSeed(b []byte, sb *strs.Builder, pf *File, pd protorefl
|
|
|
284
284
|
case genid.EnumDescriptorProto_Value_field_number:
|
|
285
285
|
numValues++
|
|
286
286
|
}
|
|
287
|
+
case protowire.VarintType:
|
|
288
|
+
v, m := protowire.ConsumeVarint(b)
|
|
289
|
+
b = b[m:]
|
|
290
|
+
switch num {
|
|
291
|
+
case genid.EnumDescriptorProto_Visibility_field_number:
|
|
292
|
+
ed.L1.Visibility = int32(v)
|
|
293
|
+
}
|
|
287
294
|
default:
|
|
288
295
|
m := protowire.ConsumeFieldValue(num, typ, b)
|
|
289
296
|
b = b[m:]
|
|
@@ -365,6 +372,13 @@ func (md *Message) unmarshalSeed(b []byte, sb *strs.Builder, pf *File, pd protor
|
|
|
365
372
|
md.unmarshalSeedOptions(v)
|
|
366
373
|
}
|
|
367
374
|
prevField = num
|
|
375
|
+
case protowire.VarintType:
|
|
376
|
+
v, m := protowire.ConsumeVarint(b)
|
|
377
|
+
b = b[m:]
|
|
378
|
+
switch num {
|
|
379
|
+
case genid.DescriptorProto_Visibility_field_number:
|
|
380
|
+
md.L1.Visibility = int32(v)
|
|
381
|
+
}
|
|
368
382
|
default:
|
|
369
383
|
m := protowire.ConsumeFieldValue(num, typ, b)
|
|
370
384
|
b = b[m:]
|
|
@@ -134,6 +134,7 @@ func (fd *File) unmarshalFull(b []byte) {
|
|
|
134
134
|
|
|
135
135
|
var enumIdx, messageIdx, extensionIdx, serviceIdx int
|
|
136
136
|
var rawOptions []byte
|
|
137
|
+
var optionImports []string
|
|
137
138
|
fd.L2 = new(FileL2)
|
|
138
139
|
for len(b) > 0 {
|
|
139
140
|
num, typ, n := protowire.ConsumeTag(b)
|
|
@@ -157,6 +158,8 @@ func (fd *File) unmarshalFull(b []byte) {
|
|
|
157
158
|
imp = PlaceholderFile(path)
|
|
158
159
|
}
|
|
159
160
|
fd.L2.Imports = append(fd.L2.Imports, protoreflect.FileImport{FileDescriptor: imp})
|
|
161
|
+
case genid.FileDescriptorProto_OptionDependency_field_number:
|
|
162
|
+
optionImports = append(optionImports, sb.MakeString(v))
|
|
160
163
|
case genid.FileDescriptorProto_EnumType_field_number:
|
|
161
164
|
fd.L1.Enums.List[enumIdx].unmarshalFull(v, sb)
|
|
162
165
|
enumIdx++
|
|
@@ -178,6 +181,23 @@ func (fd *File) unmarshalFull(b []byte) {
|
|
|
178
181
|
}
|
|
179
182
|
}
|
|
180
183
|
fd.L2.Options = fd.builder.optionsUnmarshaler(&descopts.File, rawOptions)
|
|
184
|
+
if len(optionImports) > 0 {
|
|
185
|
+
var imps FileImports
|
|
186
|
+
var once sync.Once
|
|
187
|
+
fd.L2.OptionImports = func() protoreflect.FileImports {
|
|
188
|
+
once.Do(func() {
|
|
189
|
+
imps = make(FileImports, len(optionImports))
|
|
190
|
+
for i, path := range optionImports {
|
|
191
|
+
imp, _ := fd.builder.FileRegistry.FindFileByPath(path)
|
|
192
|
+
if imp == nil {
|
|
193
|
+
imp = PlaceholderFile(path)
|
|
194
|
+
}
|
|
195
|
+
imps[i] = protoreflect.FileImport{FileDescriptor: imp}
|
|
196
|
+
}
|
|
197
|
+
})
|
|
198
|
+
return &imps
|
|
199
|
+
}
|
|
200
|
+
}
|
|
181
201
|
}
|
|
182
202
|
|
|
183
203
|
func (ed *Enum) unmarshalFull(b []byte, sb *strs.Builder) {
|
|
@@ -14,7 +14,7 @@ github.com/beeper/argo-go/pkg/buf
|
|
|
14
14
|
github.com/beeper/argo-go/pkg/varint
|
|
15
15
|
github.com/beeper/argo-go/wire
|
|
16
16
|
github.com/beeper/argo-go/wirecodec
|
|
17
|
-
# github.com/ebitengine/purego v0.
|
|
17
|
+
# github.com/ebitengine/purego v0.9.0
|
|
18
18
|
## explicit; go 1.18
|
|
19
19
|
github.com/ebitengine/purego
|
|
20
20
|
github.com/ebitengine/purego/internal/cgo
|
|
@@ -68,8 +68,8 @@ github.com/rs/zerolog/log
|
|
|
68
68
|
# github.com/vektah/gqlparser/v2 v2.5.30
|
|
69
69
|
## explicit; go 1.22
|
|
70
70
|
github.com/vektah/gqlparser/v2/ast
|
|
71
|
-
# go.mau.fi/libsignal v0.2.
|
|
72
|
-
## explicit; go 1.
|
|
71
|
+
# go.mau.fi/libsignal v0.2.1
|
|
72
|
+
## explicit; go 1.24.0
|
|
73
73
|
go.mau.fi/libsignal/cipher
|
|
74
74
|
go.mau.fi/libsignal/ecc
|
|
75
75
|
go.mau.fi/libsignal/groups
|
|
@@ -96,11 +96,13 @@ go.mau.fi/libsignal/util/errorhelper
|
|
|
96
96
|
go.mau.fi/libsignal/util/keyhelper
|
|
97
97
|
go.mau.fi/libsignal/util/medium
|
|
98
98
|
go.mau.fi/libsignal/util/optional
|
|
99
|
-
# go.mau.fi/util v0.9.
|
|
99
|
+
# go.mau.fi/util v0.9.2
|
|
100
100
|
## explicit; go 1.24.0
|
|
101
101
|
go.mau.fi/util/dbutil
|
|
102
|
+
go.mau.fi/util/exbytes
|
|
102
103
|
go.mau.fi/util/exerrors
|
|
103
104
|
go.mau.fi/util/exhttp
|
|
105
|
+
go.mau.fi/util/exslices
|
|
104
106
|
go.mau.fi/util/exstrings
|
|
105
107
|
go.mau.fi/util/exsync
|
|
106
108
|
go.mau.fi/util/exzerolog
|
|
@@ -109,7 +111,7 @@ go.mau.fi/util/jsontime
|
|
|
109
111
|
go.mau.fi/util/ptr
|
|
110
112
|
go.mau.fi/util/random
|
|
111
113
|
go.mau.fi/util/retryafter
|
|
112
|
-
# go.mau.fi/whatsmeow v0.0.0-
|
|
114
|
+
# go.mau.fi/whatsmeow v0.0.0-20251016095441-02c50743e601
|
|
113
115
|
## explicit; go 1.24.0
|
|
114
116
|
go.mau.fi/whatsmeow
|
|
115
117
|
go.mau.fi/whatsmeow/appstate
|
|
@@ -130,10 +132,10 @@ go.mau.fi/whatsmeow/proto/instamadilloDeleteMessage
|
|
|
130
132
|
go.mau.fi/whatsmeow/proto/instamadilloSupplementMessage
|
|
131
133
|
go.mau.fi/whatsmeow/proto/instamadilloTransportPayload
|
|
132
134
|
go.mau.fi/whatsmeow/proto/instamadilloXmaContentRef
|
|
135
|
+
go.mau.fi/whatsmeow/proto/waAICommon
|
|
133
136
|
go.mau.fi/whatsmeow/proto/waAdv
|
|
134
137
|
go.mau.fi/whatsmeow/proto/waArmadilloApplication
|
|
135
138
|
go.mau.fi/whatsmeow/proto/waArmadilloXMA
|
|
136
|
-
go.mau.fi/whatsmeow/proto/waBotMetadata
|
|
137
139
|
go.mau.fi/whatsmeow/proto/waCert
|
|
138
140
|
go.mau.fi/whatsmeow/proto/waChatLockSettings
|
|
139
141
|
go.mau.fi/whatsmeow/proto/waCommon
|
|
@@ -166,15 +168,15 @@ go.mau.fi/whatsmeow/util/gcmutil
|
|
|
166
168
|
go.mau.fi/whatsmeow/util/hkdfutil
|
|
167
169
|
go.mau.fi/whatsmeow/util/keys
|
|
168
170
|
go.mau.fi/whatsmeow/util/log
|
|
169
|
-
# golang.org/x/crypto v0.
|
|
171
|
+
# golang.org/x/crypto v0.43.0
|
|
170
172
|
## explicit; go 1.24.0
|
|
171
173
|
golang.org/x/crypto/curve25519
|
|
172
174
|
golang.org/x/crypto/hkdf
|
|
173
175
|
golang.org/x/crypto/pbkdf2
|
|
174
|
-
# golang.org/x/exp v0.0.0-
|
|
176
|
+
# golang.org/x/exp v0.0.0-20251017212417-90e834f514db
|
|
175
177
|
## explicit; go 1.24.0
|
|
176
178
|
golang.org/x/exp/constraints
|
|
177
|
-
# golang.org/x/image v0.
|
|
179
|
+
# golang.org/x/image v0.32.0
|
|
178
180
|
## explicit; go 1.24.0
|
|
179
181
|
golang.org/x/image/draw
|
|
180
182
|
golang.org/x/image/math/f64
|
|
@@ -182,7 +184,7 @@ golang.org/x/image/riff
|
|
|
182
184
|
golang.org/x/image/vp8
|
|
183
185
|
golang.org/x/image/vp8l
|
|
184
186
|
golang.org/x/image/webp
|
|
185
|
-
# golang.org/x/net v0.
|
|
187
|
+
# golang.org/x/net v0.46.0
|
|
186
188
|
## explicit; go 1.24.0
|
|
187
189
|
golang.org/x/net/http/httpguts
|
|
188
190
|
golang.org/x/net/http2
|
|
@@ -191,17 +193,17 @@ golang.org/x/net/idna
|
|
|
191
193
|
golang.org/x/net/internal/httpcommon
|
|
192
194
|
golang.org/x/net/internal/socks
|
|
193
195
|
golang.org/x/net/proxy
|
|
194
|
-
# golang.org/x/sys v0.
|
|
196
|
+
# golang.org/x/sys v0.37.0
|
|
195
197
|
## explicit; go 1.24.0
|
|
196
198
|
golang.org/x/sys/unix
|
|
197
199
|
golang.org/x/sys/windows
|
|
198
|
-
# golang.org/x/text v0.
|
|
200
|
+
# golang.org/x/text v0.30.0
|
|
199
201
|
## explicit; go 1.24.0
|
|
200
202
|
golang.org/x/text/secure/bidirule
|
|
201
203
|
golang.org/x/text/transform
|
|
202
204
|
golang.org/x/text/unicode/bidi
|
|
203
205
|
golang.org/x/text/unicode/norm
|
|
204
|
-
# google.golang.org/protobuf v1.36.
|
|
206
|
+
# google.golang.org/protobuf v1.36.10
|
|
205
207
|
## explicit; go 1.23
|
|
206
208
|
google.golang.org/protobuf/encoding/prototext
|
|
207
209
|
google.golang.org/protobuf/encoding/protowire
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: slidge-whatsapp
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.4
|
|
4
4
|
Summary: A WhatsApp/XMPP gateway
|
|
5
|
-
License: AGPL-3.0-or-later
|
|
5
|
+
License-Expression: AGPL-3.0-or-later
|
|
6
|
+
License-File: LICENSE
|
|
6
7
|
Keywords: xmpp,gateway,bridge,instant messaging,chat,whatsapp
|
|
7
8
|
Author: deuill
|
|
8
9
|
Author-email: alex@deuill.org
|