wdvxdr
3e2b57eab5
internal/network: first version of transport send
2021-12-22 20:13:23 +08:00
Mrs4s
21f8feb419
fix sso frame panic
2021-12-21 13:15:59 +08:00
wdvxdr
afb81a32aa
fix: fix private ptt
2021-12-19 15:29:30 +08:00
github-actions[bot]
72ffc08b72
ci(chore): Fix stylings
2021-12-18 09:39:50 +00:00
Mrs4s
39bea4b399
Merge pull request #222 from icarus-ai/master
...
石头剪子布&随机骰子
2021-12-18 17:39:29 +08:00
icarus-ai
e700751008
解析猜拳&随机骰子
...
安卓QQ发来的骰子Name值是随机骰子
2021-12-18 17:35:32 +08:00
icarus-ai
75d9c4deb4
石头剪子布
...
生成石头剪子布
2021-12-18 17:31:11 +08:00
wdvxdr
950567e4b7
refactor: move Device&loginSigInfo to internal/auth
2021-12-18 15:36:52 +08:00
wdvxdr
6b5ba9f9c4
refactor: move c.nextSeq
to c.uniPacket
2021-12-17 23:50:30 +08:00
wdvxdr
1c29ac7d96
refactor: packets.BuildUniPacket
-> c.uniPacket
...
mostly auto-generated by
```
rf '
ex {
var c QQClient
var seq uint16
var payload []byte
var command string
BuildUniPacket(c.Uin, seq, command, 1, c.OutGoingPacketSessionId, EmptyBytes, c.sigInfo.d2Key, payload) -> c.uniPacket(seq, command, payload)
}
'
```
2021-12-17 22:58:41 +08:00
wdvxdr
f464a0d474
fix: highway upload
...
caused by uin didn't set
2021-12-17 22:19:20 +08:00
Mrs4s
6179d2d351
fix: ignore guild msg sending by self
2021-12-17 21:43:42 +08:00
wdvxdr
cf49727531
fix: use go.uber.org/atomic
to force atomic
2021-12-17 21:01:10 +08:00
Mrs4s
10bac416ce
Merge pull request #214 from lz1998/protocol
...
update protocol id
2021-12-17 17:48:30 +08:00
wdvxdr
dc66c61d57
feat: link nested forward message
2021-12-17 12:27:14 +08:00
Mrs4s
a5410846cb
fix: decodeSidExpiredPacket response
2021-12-17 01:12:28 +08:00
Mrs4s
6650184a1b
feat: decodeSidExpiredPacket
2021-12-17 00:38:46 +08:00
Mrs4s
d8cae988c6
Merge branch 'master' of github.com:/Mrs4s/MiraiGo
2021-12-17 00:20:48 +08:00
Mrs4s
68e387e91b
feat: at channel support
2021-12-17 00:20:27 +08:00
wdvxdr
ff9ef5135c
remove: stash.go
...
these function seems not useful
2021-12-16 21:47:48 +08:00
wdvxdr
8b99d3147e
style: fix issues reported by golangci-lint
2021-12-16 20:21:49 +08:00
Mrs4s
58e81648e5
Merge pull request #218 from LXY1226/chore-examp
...
chore: 将exchange_emp的错误码塞在error中
2021-12-16 18:37:33 +08:00
Mrs4s
66ad12db03
fix: panic on PushNotify decoder
2021-12-16 18:35:20 +08:00
Mrs4s
5a59cc656c
feat: dump packet on decoder panic
2021-12-16 15:26:07 +08:00
wdvxdr
6c1b622107
remove PttStore.GroupPttUp
2021-12-16 14:27:26 +08:00
Lin
b929afd424
chore: 将exchange_emp的错误码塞在error中
2021-12-15 19:34:03 +08:00
wdvxdr
2e6b21bfef
remove 256k & 128k pool
2021-12-15 19:20:30 +08:00
wdvxdr
b398cec6a5
refactor: move highway.go to client/internal/highway
2021-12-15 19:13:52 +08:00
Mrs4s
ed979508cf
proto: update channel/common.proto
2021-12-14 16:43:25 +08:00
Mrs4s
5eb78e427c
fix: nil pointer error on guild channel message parser
2021-12-14 16:37:05 +08:00
Mrs4s
d55929cf12
feat: PullGuildChannelMessage
2021-12-13 20:53:55 +08:00
Mrs4s
f66f2b7d78
fix: fix GroupFileSystem.GetDownloadUrl error
2021-12-13 16:51:29 +08:00
Mrs4s
5d7cb85b1e
update: unknown group system msg log level updated Error -> Debug
2021-12-13 01:42:29 +08:00
Mrs4s
06bc0bba17
feat: GuildMessageRecalledEvent
2021-12-13 01:34:54 +08:00
wdvxdr
abe1fe7770
feat: support send guild music share
2021-12-12 17:12:47 +08:00
wdvxdr
503db83375
fix: drop oneof in oidb.D89AGroupinfo
...
RomiChan/protobuf don't support oneof now
2021-12-12 14:58:30 +08:00
wdvxdr
5ff69f3c3a
binary/jce: use go/parser
generator
2021-12-12 14:38:03 +08:00
源文雨
45692b75f8
fix(jce): ToByes lost some fields of SvcReqRegisterNew ( #217 )
2021-12-12 00:04:15 +08:00
Mrs4s
416a6c17be
fix build
2021-12-11 02:36:55 +08:00
Mrs4s
a206b0077c
feat: update FetchGuildMemberProfileInfo api
2021-12-11 02:34:32 +08:00
Mrs4s
be7293b1c0
Merge pull request #215 from fumiama/master
...
perf(jce): drop reflect in writer
2021-12-11 02:16:01 +08:00
fumiama
bcde705a75
fix: codegen error & drop all reflect in jce
2021-12-10 14:49:53 +08:00
fumiama
ed7199def8
fix: gen rely on jce
2021-12-09 23:30:12 +08:00
fumiama
f1d2259956
fix(jce): replacment not equivalent
2021-12-09 22:47:16 +08:00
fumiama
b041fc20e8
perf(jce): drop most reflect in writer
...
name old time/op new time/op delta
JceWriter_WriteMap-8 2.34µs ± 2% 0.69µs ± 4% -70.63% (p=0.008 n=5+5)
JceWriter_WriteJceStructRaw-8 1.28µs ± 1% 0.42µs ± 1% -66.86% (p=0.008 n=5+5)
name old speed new speed delta
JceWriter_WriteMap-8 39.7MB/s ± 2% 135.4MB/s ± 4% +240.56% (p=0.008 n=5+5)
JceWriter_WriteJceStructRaw-8 82.3MB/s ± 1% 219.9MB/s ± 1% +167.32% (p=0.008 n=5+5)
name old alloc/op new alloc/op delta
JceWriter_WriteMap-8 1.30kB ± 0% 0.21kB ± 0% -84.05% (p=0.008 n=5+5)
JceWriter_WriteJceStructRaw-8 640B ± 0% 208B ± 0% -67.50% (p=0.008 n=5+5)
name old allocs/op new allocs/op delta
JceWriter_WriteMap-8 30.0 ± 0% 2.0 ± 0% -93.33% (p=0.008 n=5+5)
JceWriter_WriteJceStructRaw-8 15.0 ± 0% 2.0 ± 0% -86.67% (p=0.008 n=5+5)
2021-12-09 22:25:53 +08:00
Mrs4s
8cd25e02fc
feat: FetchGuildMemberListWithRole api
2021-12-08 21:25:33 +08:00
Mrs4s
25c67a3ee1
fix: MessageSvc.PushNotify decode error
2021-12-08 16:02:34 +08:00
Mrs4s
2caf71a0bb
fix: sso frame head parse error
2021-12-08 13:47:42 +08:00
lizheng.lz1998
59471c51cf
update protocol id
2021-12-08 00:48:28 +08:00
Mrs4s
2d17133a7b
fix: reconnect on decrypt flag error
2021-12-07 13:29:01 +08:00