1
0
mirror of https://github.com/Mrs4s/MiraiGo.git synced 2025-08-08 02:51:50 +00:00
Commit Graph

969 Commits

Author SHA1 Message Date
a54f4d82f5 feat: move msg&channel proto to yaprotoc gen 2021-11-12 10:43:12 +08:00
0f149a925f Merge branch 'master' into reflection-based-protobuf
# Conflicts:
#	client/builders.go
#	client/global.go
2021-11-11 19:32:13 +08:00
44393e904d Merge branch 'master' into reflection-based-protobuf
# Conflicts:
#	client/builders.go
#	client/global.go
2021-11-11 19:17:09 +08:00
e02a9ece6e fix: missing args 2021-11-11 19:02:04 +08:00
551a865d9e protocol: use FetchChannelList to fill channel list field 2021-11-11 18:59:52 +08:00
8de7862072 ci(chore): Fix stylings 2021-11-11 10:52:40 +00:00
6a525b2f8d feat: FetchChannelList 2021-11-11 18:51:58 +08:00
261edb101e style: use unpackOIDBPackage decode oidb response 2021-11-11 17:57:06 +08:00
68956c83bc ci(chore): Fix stylings 2021-11-11 09:52:54 +00:00
5e76774dd4 Merge branch 'master' of github.com:/Mrs4s/MiraiGo 2021-11-11 17:52:18 +08:00
d7c66bf26a feat: FetchChannelInfo 2021-11-11 17:51:59 +08:00
2ba34b09cf ci(chore): Fix stylings 2021-11-09 20:12:48 +00:00
75d6d547d2 feat: SendGuildChannelMessage 2021-11-10 04:12:01 +08:00
cc17020dab feat: FindChannel method 2021-11-10 00:59:59 +08:00
190c494409 fix: method missing 2021-11-09 03:25:42 +08:00
c48c5bca49 ci(chore): Fix stylings 2021-11-08 19:17:04 +00:00
af9ed48cb7 feat: query guild service image 2021-11-09 03:16:26 +08:00
12e40ef1ea update todo 2021-11-08 18:20:45 +08:00
fc514b6f2d ci(chore): Fix stylings 2021-11-08 10:08:21 +00:00
94a439c4a4 Merge branch 'master' of github.com:/Mrs4s/MiraiGo 2021-11-08 18:07:43 +08:00
10a98ca4f1 feat: supported parsing emoji reactions updated event operator id and message sender uin 2021-11-08 18:07:32 +08:00
82771d3481 ci(chore): Fix stylings 2021-11-08 09:37:02 +00:00
c350734b4f update GuildMessageReactionsUpdatedEvent fields 2021-11-08 17:36:22 +08:00
4dc25fd095 ci(chore): Fix stylings 2021-11-07 20:52:18 +00:00
b1d5a3d064 feat: GuildMessageReactionsUpdatedEvent 2021-11-08 04:51:35 +08:00
fedd7f0507 upload pb 2021-11-07 22:54:59 +08:00
1b9956b79b feat: GuildChannelMessageEvent 2021-11-07 22:54:26 +08:00
68628a3ca3 fix typo 2021-11-07 21:22:02 +08:00
bec52b9b29 fix typo 2021-11-07 20:29:42 +08:00
aba75d5733 fix: fix wrong byte array length in (*encoder).u32 2021-11-07 13:58:46 +08:00
21ff14fd5c optimize(binary): allow inline (*encoder).svarint
name                       old time/op  new time/op  delta
encoder_svarint/short-8   7.12ns ± 2%  6.24ns ± 2%  -12.36%  (p=0.000 n=10+9)
encoder_svarint/medium-8  8.86ns ± 3%  7.82ns ± 2%  -11.76%  (p=0.000 n=10+10)
encoder_svarint/large-8   12.2ns ± 1%  11.4ns ± 2%   -5.99%  (p=0.000 n=10+10)

BTW, (*encoder).u32 and (*encoder).u64 can be inlined with go1.18
2021-11-07 13:56:40 +08:00
4a777539be test: add benchmark for (*encoder).uvarint 2021-11-07 13:28:17 +08:00
055f034b9e dep: update proto gen 2021-11-07 13:14:05 +08:00
e7f07499f3 rf: use yaprotoc generate proto 2021-11-07 10:15:31 +08:00
2dd9727a6a Merge branch 'master' of github.com:/Mrs4s/MiraiGo 2021-11-06 23:39:18 +08:00
0f35e25413 fix typo 2021-11-06 23:39:04 +08:00
f33bd243db ci(chore): Fix stylings 2021-11-06 15:38:23 +00:00
991f69f141 feat: ChannelService.FetchGuestGuild 2021-11-06 23:37:33 +08:00
7d6dafc215 style: rename channel to guild 2021-11-06 16:17:26 +08:00
dd7ff422b8 ci(chore): Fix stylings 2021-11-06 08:02:10 +00:00
c8b4e19b19 feat: ChannelService.GetUserProfile & pull self guild profile on login 2021-11-06 16:01:34 +08:00
4dfdc22a70 style: cleanup dynamic proto encode 2021-11-06 15:27:56 +08:00
af5e25d1cc Merge branch 'master' of github.com:/Mrs4s/MiraiGo 2021-11-06 15:24:54 +08:00
fdc30b3104 feat: GetGuildMemberProfileInfo 2021-11-06 15:24:29 +08:00
7e2033fd75 test: unify tea benchmark 2021-11-06 14:41:47 +08:00
ec0075ebba ci(chore): Fix stylings 2021-11-06 06:13:38 +00:00
2d2f716be3 Merge branch 'master' of github.com:/Mrs4s/MiraiGo 2021-11-06 14:12:49 +08:00
606ad69679 feat: GetGuildMembers 2021-11-06 14:12:03 +08:00
d889faf755 ci(chore): Fix stylings 2021-11-05 19:04:55 +00:00
5e371689e6 feat: channel info support 2021-11-06 03:04:04 +08:00