Mrs4s
8b4b8269f3
feat: GetTopicChannelFeeds
2021-11-27 01:21:04 +08:00
github-actions[bot]
e8e50b5062
ci(chore): Fix stylings
2021-11-26 02:22:51 +00:00
Mrs4s
915d2da4cc
Merge remote-tracking branch 'origin/master'
...
# Conflicts:
# client/guild.go
# client/pb/channel/GuildChannelBase.pb.go
# client/pb/channel/GuildFeedCloudMeta.pb.go
# client/pb/channel/GuildFeedCloudRead.pb.go
# client/pb/channel/MsgResponsesSvr.pb.go
# client/pb/qweb/protocol.pb.go
2021-11-26 10:21:59 +08:00
Mrs4s
6514cd144e
protocol: update protobuf files
2021-11-26 10:19:08 +08:00
github-actions[bot]
59a3a3b2c0
ci(chore): Fix stylings
2021-11-26 01:58:28 +00:00
Mrs4s
ce23185cde
protocol: update protobuf files & save work progress
2021-11-26 09:57:41 +08:00
Mrs4s
797a912b6d
protocol: update protobuf files & save work progress
2021-11-26 09:54:46 +08:00
wdvxdr
b483e44f9c
proto: use protoc-gen-golite generated files
2021-11-25 21:23:49 +08:00
wdvxdr
4bdb791334
dep: use RomiChan/protobuf
2021-11-24 21:57:13 +08:00
Mrs4s
4c60c8ee47
Merge branch 'master' of github.com:/Mrs4s/MiraiGo
2021-11-24 00:04:12 +08:00
Mrs4s
9c5515ca9f
fix typo
2021-11-24 00:03:56 +08:00
wdvxdr
ec4cd4a6f3
style: internal/proto
...
use this package for conveniently replacing proto package
in the future.
2021-11-22 22:05:19 +08:00
wdvxdr
6e33d2fc34
feat: stash client functions
...
when we restart a client, it takes too long to sync the friend & group lists. This stash functions will help us to reduce sync time when in development.
DON'T USE THIS, this is not checked.
2021-11-21 23:25:52 +08:00
github-actions[bot]
e50f46a111
ci(chore): Fix stylings
2021-11-21 13:20:37 +00:00
Mrs4s
dd5435de62
Merge pull request #202 from Kengxxiao/upstream-dev
...
feat: GetUserRoles
2021-11-21 21:20:10 +08:00
Mrs4s
0ac2dad0ee
Merge pull request #201 from Blackjack200/master
...
rename NewWriter to SelectWriter
2021-11-21 21:19:26 +08:00
Kengxxiao
56d2280cde
feat: GetUserRoles
2021-11-21 17:10:44 +08:00
Blackjack200
70af1fee57
rename NewWriter to SelectWriter
2021-11-21 12:58:34 +08:00
Mrs4s
7e6eaa7627
Merge branch 'master' of github.com:/Mrs4s/MiraiGo
2021-11-21 01:13:23 +08:00
Mrs4s
a807e8ea7e
feat: new channel type
2021-11-21 01:13:01 +08:00
github-actions[bot]
eb705deb07
ci(chore): Fix stylings
2021-11-20 14:43:41 +00:00
Mrs4s
0329290276
feat: GetGuildMembers page up
2021-11-20 22:42:54 +08:00
Mrs4s
f5ff7695da
Merge pull request #199 from LXY1226/md5-on-newclient
...
perf: no md5 on EmptyClient
2021-11-20 21:09:51 +08:00
wdvxdr
97dcddb6d4
jce: speed up read
...
don't use bytes.Buffer to inline more functions
name old time/op new time/op delta
JceReader_ReadSlice-8 614µs ±68% 523µs ±70% ~ (p=0.690 n=5+5)
RequestDataVersion2_ReadFrom-8 3.98µs ± 1% 3.54µs ± 2% -10.96% (p=0.008 n=5+5)
name old speed new speed delta
JceReader_ReadSlice-8 104MB/s ± 7% 121MB/s ± 2% +16.68% (p=0.008 n=5+5)
RequestDataVersion2_ReadFrom-8 23.4MB/s ± 1% 26.3MB/s ± 2% +12.33% (p=0.008 n=5+5)
name old alloc/op new alloc/op delta
JceReader_ReadSlice-8 196kB ±67% 184kB ±67% ~ (p=0.690 n=5+5)
RequestDataVersion2_ReadFrom-8 2.59kB ± 0% 2.62kB ± 0% +1.04% (p=0.008 n=5+5)
name old allocs/op new allocs/op delta
JceReader_ReadSlice-8 9.02k ±67% 9.02k ±67% ~ (p=1.000 n=5+5)
RequestDataVersion2_ReadFrom-8 46.0 ± 0% 44.0 ± 0% -4.35% (p=0.008 n=5+5)
2021-11-20 20:54:19 +08:00
Lin
0cb45e1d20
perf: no md5 on EmptyClient
2021-11-20 19:07:24 +08:00
wdvxdr
43b23f4e6f
jce: speed up write
...
name old time/op new time/op delta
JceWriter_WriteMap-8 2.46µs ± 1% 2.37µs ± 1% -3.88% (p=0.000 n=9+9)
JceWriter_WriteJceStructRaw-8 1.78µs ± 1% 1.29µs ± 1% -27.38% (p=0.000 n=9+10)
name old speed new speed delta
JceWriter_WriteMap-8 37.7MB/s ± 1% 39.3MB/s ± 1% +4.04% (p=0.000 n=9+9)
JceWriter_WriteJceStructRaw-8 59.0MB/s ± 1% 81.3MB/s ± 1% +37.70% (p=0.000 n=9+10)
name old alloc/op new alloc/op delta
JceWriter_WriteMap-8 1.30kB ± 0% 1.30kB ± 0% ~ (all equal)
JceWriter_WriteJceStructRaw-8 724B ± 0% 640B ± 0% -11.60% (p=0.000 n=10+10)
name old allocs/op new allocs/op delta
JceWriter_WriteMap-8 30.0 ± 0% 30.0 ± 0% ~ (all equal)
JceWriter_WriteJceStructRaw-8 29.0 ± 0% 15.0 ± 0% -48.28% (p=0.000 n=10+10)
2021-11-20 11:38:24 +08:00
wdvxdr
3216c69d46
feat: support receive Animated Sticker
2021-11-19 23:02:45 +08:00
github-actions[bot]
b9f70f7d4c
ci(chore): Fix stylings
2021-11-19 14:08:44 +00:00
wdvxdr
aa92a8bb6c
feat: support send Animated Stickers
2021-11-19 22:07:46 +08:00
wdvxdr
1f8edc2de3
update some tlv packet
2021-11-19 20:12:56 +08:00
wdvxdr
19e2050004
feat: upload guild short video
2021-11-18 21:28:17 +08:00
wdvxdr
574c4e57b1
perf(tea): unrolling encode
...
name old time/op new time/op delta
TEAen/16-8 237ns ± 0% 227ns ± 1% -4.03% (p=0.008 n=5+5)
TEAen/256-8 1.69µs ± 0% 1.60µs ± 1% -4.83% (p=0.008 n=5+5)
TEAen/4K-8 25.0µs ± 1% 23.8µs ± 2% -4.73% (p=0.008 n=5+5)
TEAen/32K-8 199µs ± 1% 188µs ± 1% -5.30% (p=0.008 n=5+5)
TEAde/16-8 196ns ± 1% 194ns ± 1% -0.89% (p=0.016 n=5+5)
TEAde/256-8 1.56µs ± 0% 1.54µs ± 0% -1.50% (p=0.008 n=5+5)
TEAde/4K-8 23.5µs ± 0% 23.2µs ± 0% -1.46% (p=0.008 n=5+5)
TEAde/32K-8 187µs ± 1% 184µs ± 1% -1.50% (p=0.008 n=5+5)
name old speed new speed delta
TEAen/16-8 67.6MB/s ± 1% 70.5MB/s ± 1% +4.20% (p=0.008 n=5+5)
TEAen/256-8 152MB/s ± 0% 160MB/s ± 1% +5.07% (p=0.008 n=5+5)
TEAen/4K-8 164MB/s ± 1% 172MB/s ± 2% +4.98% (p=0.008 n=5+5)
TEAen/32K-8 165MB/s ± 1% 174MB/s ± 1% +5.60% (p=0.008 n=5+5)
TEAde/16-8 163MB/s ± 1% 165MB/s ± 1% +0.90% (p=0.016 n=5+5)
TEAde/256-8 174MB/s ± 0% 177MB/s ± 0% +1.51% (p=0.008 n=5+5)
TEAde/4K-8 175MB/s ± 0% 177MB/s ± 0% +1.48% (p=0.008 n=5+5)
TEAde/32K-8 175MB/s ± 1% 178MB/s ± 1% +1.52% (p=0.008 n=5+5)
2021-11-17 13:33:25 +08:00
github-actions[bot]
95364f1ff8
ci(chore): Fix stylings
2021-11-16 15:55:14 +00:00
Mrs4s
782422fca1
Merge pull request #196 from Kengxxiao/master
...
频道身份组操作
2021-11-16 23:54:45 +08:00
Kengxxiao
13d2fd51da
fix
2021-11-16 23:48:04 +08:00
Kengxxiao
273dac82f8
remove unused struct
2021-11-16 23:21:41 +08:00
Kengxxiao
870922b5b6
feat: ModifyRoleInGuild
2021-11-16 23:19:05 +08:00
Kengxxiao
5181282bc5
feat: support roles management
2021-11-16 23:03:10 +08:00
Kengxxiao
5ba00392ba
add create role packet
2021-11-16 22:10:18 +08:00
wdvxdr
a69487056d
drop unsafe in TEA encryption
...
name old time/op new time/op delta
TEAen/16-8 245ns ± 0% 237ns ± 0% -3.29% (p=0.008 n=5+5)
TEAen/256-8 1.73µs ± 0% 1.69µs ± 0% -2.77% (p=0.008 n=5+5)
TEAen/4K-8 24.9µs ± 0% 25.0µs ± 1% ~ (p=0.690 n=5+5)
TEAen/32K-8 198µs ± 0% 199µs ± 1% +0.73% (p=0.008 n=5+5)
TEAde/16-8 215ns ± 1% 196ns ± 1% -8.93% (p=0.008 n=5+5)
TEAde/256-8 1.70µs ± 0% 1.56µs ± 0% -8.08% (p=0.008 n=5+5)
TEAde/4K-8 24.9µs ± 1% 23.5µs ± 0% -5.50% (p=0.008 n=5+5)
TEAde/32K-8 198µs ± 0% 187µs ± 1% -5.34% (p=0.008 n=5+5)
name old speed new speed delta
TEAen/16-8 65.4MB/s ± 0% 67.6MB/s ± 1% +3.39% (p=0.008 n=5+5)
TEAen/256-8 148MB/s ± 0% 152MB/s ± 0% +2.84% (p=0.008 n=5+5)
TEAen/4K-8 164MB/s ± 0% 164MB/s ± 1% ~ (p=0.587 n=5+5)
TEAen/32K-8 166MB/s ± 0% 165MB/s ± 1% -0.72% (p=0.008 n=5+5)
TEAde/16-8 149MB/s ± 1% 163MB/s ± 1% +9.81% (p=0.008 n=5+5)
TEAde/256-8 160MB/s ± 0% 174MB/s ± 0% +8.80% (p=0.008 n=5+5)
TEAde/4K-8 165MB/s ± 1% 175MB/s ± 0% +5.81% (p=0.008 n=5+5)
TEAde/32K-8 166MB/s ± 0% 175MB/s ± 1% +5.70% (p=0.008 n=5+5)
2021-11-16 20:54:40 +08:00
Kengxxiao
96489d00f6
add role packet
2021-11-16 20:21:18 +08:00
Mrs4s
511e8c41ed
feat: guild at encode
2021-11-15 01:08:54 +08:00
Mrs4s
55ba62e4b8
Merge branch 'master' of github.com:/Mrs4s/MiraiGo
2021-11-14 22:51:40 +08:00
Mrs4s
28e93a7e2c
fix: sync logic error
2021-11-14 22:50:54 +08:00
wdvxdr
2e441ed925
drop SendGroupGift support
...
QQ no longer provide free group gifts, so we should drop it
2021-11-14 21:52:09 +08:00
github-actions[bot]
54b035657c
ci(chore): Fix stylings
2021-11-14 09:17:54 +00:00
Mrs4s
baf792f68a
Merge branch 'master' of github.com:/Mrs4s/MiraiGo
2021-11-14 17:17:16 +08:00
Mrs4s
8427db5347
feat: support guild at message decode
2021-11-14 17:16:01 +08:00
wdvxdr
1ea4f641d4
fix: better error handle for upload long message
2021-11-14 12:06:50 +08:00
Mrs4s
c0ade34f1d
fix: panic on get non admin-role-group guild members
2021-11-14 04:53:13 +08:00