Commit Graph

279 Commits

Author SHA1 Message Date
Him188
b7fa7adf99 Add Java-friendly APIs for Contacts 2020-03-01 20:13:52 +08:00
Him188
422d84d150 Fix build 2020-03-01 18:55:06 +08:00
Him188
cc840151c1 Fix typo 2020-03-01 18:17:21 +08:00
Him188
dab3448fab Add docs 2020-03-01 18:17:00 +08:00
Him188
8de9357fdd Fix typo 2020-03-01 18:13:29 +08:00
Him188
2cfd8be0f3 Improve Java-friendly APIs, add Java Future apis 2020-03-01 18:09:16 +08:00
Him188
ed712295fe Add Java-friendly APIs 2020-03-01 17:10:55 +08:00
Him188
fb072f3cbb Add Java-friendly APIs 2020-03-01 16:55:58 +08:00
Him188
bd1a968db9 misc 2020-03-01 16:55:33 +08:00
Him188
6a85769e0d Use io.ktor.utils.io than kotlinx.io 2020-02-29 23:19:53 +08:00
Him188
734914ad96 Use ByteArray than IoBuffer 2020-02-29 21:25:13 +08:00
Him188
da8a78af12 Fix contentToString 2020-02-28 21:38:31 +08:00
Him188
cfbf4f8ccc Update md5: support buffers 2020-02-28 19:32:17 +08:00
Him188
932a3ef1f2 Review: misc improvements 2020-02-28 19:16:22 +08:00
Him188
50289924fe Wrap with withContext 2020-02-28 12:43:14 +08:00
Him188
c90013b23f Add flush 2020-02-28 10:46:14 +08:00
Him188
e24617fc64 Add ByteReadChannel.toExternalImage 2020-02-28 09:02:42 +08:00
Him188
82454b0d55 Remove duplicated asOutput and asInput 2020-02-28 08:58:29 +08:00
Him188
32b1decd0d Add detailed exception prompt 2020-02-28 08:56:47 +08:00
Him188
ccc6826e3a Redesign MessageChain:
Make MessageChain immutable
Introduce CombinedMessage, a left-biased list
Introduce MessageChainBuilder
2020-02-23 16:47:21 +08:00
Him188
692e7c950c Image download support, close #49 2020-02-22 23:32:47 +08:00
Him188
0e30d3d69b Better memory management 2020-02-22 11:36:19 +08:00
Him188
67e709452a Fix recursive call 2020-02-21 14:39:14 +08:00
Him188
f5a6040668 Add additional coroutineScope parameter 2020-02-20 13:20:36 +08:00
Him188
3e29fbf34b Reconnect always 2020-02-20 11:35:04 +08:00
Him188
7838ccf042 Adjust file names 2020-02-20 11:23:37 +08:00
Him188
d829060072 Change default config values 2020-02-19 18:33:20 +08:00
Him188
9a436271db Fix uninitialized vars 2020-02-19 18:33:11 +08:00
Him188
89c614d0a1 Fix ECDH curve 2020-02-19 14:44:03 +08:00
Him188
9de13ca6fd Fix ECDH 2020-02-19 14:15:38 +08:00
Him188
57479e0db6 Replace all 登陆s with 登录 2020-02-19 13:25:41 +08:00
Him188
7ad3bfbf8f Add MiraiAtomicBoolean, fuck atomicfu 2020-02-18 21:05:51 +08:00
Him188
29a5ab53a9 Use default shareKey if ECDH is not available 2020-02-18 20:02:13 +08:00
Him188
2b4d9a8e79 Add tryNTimes 2020-02-18 13:35:14 +08:00
jiahua.liu
a2ae001fe1 Console Terminal Chinese Supported 2020-02-16 22:44:56 +08:00
jiahua.liu
e971fd769d Mirai Console (Terminal)V0.01 2020-02-16 20:10:12 +08:00
jiahua.liu
33d5cf566e Mirai Console (Terminal)V0.01 2020-02-16 18:04:42 +08:00
jiahua.liu
d0fb1383a0 Mirai Console V0.01 2020-02-16 17:25:30 +08:00
Him188
cde551625a Fix ecdh availability detect 2020-02-16 01:21:02 +08:00
Him188
b3c97c1678 Simplify 2020-02-16 01:19:22 +08:00
Him188
606879cba1 Test ECDH keyPair before success 2020-02-16 00:19:53 +08:00
Him188
b7e4dc0772 Add default values 2020-02-15 23:24:43 +08:00
Him188
25b3b2b2be Japt 2020-02-15 15:03:52 +08:00
Him188
98de5893d7 Add @JvmStatic and @JvmOverloads 2020-02-15 14:13:07 +08:00
Him188
f989cd9391 Multiplatform Exceptions to deal with kotlin bug 2020-02-15 12:12:30 +08:00
Him188
8eda95659c Fix multiplatform BotConfiguration 2020-02-14 22:15:29 +08:00
Him188
8a4750badb Fix platform implementations 2020-02-14 22:05:59 +08:00
Him188
2ae7c75a16 Add default values 2020-02-14 21:55:28 +08:00
Him188
ace1174678 Fix configuration 2020-02-14 21:54:03 +08:00
Him188
32e854db29 Improve DeviceInfo 2020-02-14 21:09:36 +08:00
Him188
617b231865 japt Events 2020-02-14 20:21:05 +08:00
Him188
843643a78d Add internal functions for japt 2020-02-14 20:20:28 +08:00
Him188
5b4e99c52d Override close explicitly 2020-02-14 20:13:40 +08:00
Him188
7cd65f92af Fix build 2020-02-13 00:27:07 +08:00
jiahua.liu
55e70bd3c3 smart config 2020-02-13 00:10:59 +08:00
Him188
fec3702ba9 Improve performance 2020-02-12 23:09:34 +08:00
Him188
905d4ede9a Fix build 2020-02-12 13:52:07 +08:00
Him188
7891ffc136 Make interface Event the base type of a event, remove interface Subscribable 2020-02-11 11:56:42 +08:00
Him188
e116224180 Move DeviceInfo 2020-02-09 23:20:29 +08:00
Him188
cf7e325259 Add copyright 2020-02-09 01:01:36 +08:00
Him188
4b162c546c Small fixes 2020-02-07 16:57:00 +08:00
Him188
a7857f147d Remove inline modifier 2020-02-07 12:30:26 +08:00
Him188
22096a9f44 Fix bugs 2020-02-06 15:32:33 +08:00
Him188
388e1a5b7f Cleanup 2020-02-06 13:58:57 +08:00
Him188
37745b839e Add docs 2020-02-05 10:40:10 +08:00
Him188
f793a67ab3 close streams after copying 2020-02-04 08:53:57 +08:00
Him188
4e57eea779 Use kotlin rather that JDK9 2020-02-04 08:49:32 +08:00
Him188
af08f52236 Fix toExternalImage 2020-02-04 08:27:45 +08:00
Him188
9f0169c622 Fix md5 2020-02-04 08:27:32 +08:00
Him188
35dca403bf Image upload 2020-02-03 21:38:37 +08:00
Him188
36ef9c2890 Fix fucking length 2020-02-02 21:01:30 +08:00
Him188
5c68fc53e8 Fix channel 2020-02-02 17:57:27 +08:00
Him188
df56c86fca Fix build 2020-02-01 00:58:23 +08:00
Him188
f1a5bc05ea Add docs 2020-01-31 22:00:38 +08:00
Him188
f9cf47a19a Bot factory 2020-01-31 21:49:48 +08:00
Him188
8bdfad961f Fix build 2020-01-30 20:35:20 +08:00
Him188
f2c682dba5 Cleanup 2020-01-30 20:31:17 +08:00
Him188
d6d1f2c74d Add send(ByteArray) 2020-01-30 20:02:28 +08:00
jiahua.liu
92b7b10f0e network handler update 2020-01-30 13:23:58 +08:00
Him188
905823b94b Slider captcha solver 2020-01-29 23:53:18 +08:00
Him188
5ae4296bd5 Fix PlatformSocket on Android 2020-01-29 20:12:47 +08:00
Him188
6a8e6b93a0 zip support 2020-01-29 19:54:09 +08:00
Him188
b3c6787e0a Introduce MultiPacket 2020-01-29 19:18:52 +08:00
Him188
2f2a8666b9 Add docs 2020-01-29 15:46:05 +08:00
Him188
55e6c93419 JceStruct serialization 2020-01-28 01:01:40 +08:00
jiahua.liu
d8cd6625e5 Android SMS login - Incomplete 2020-01-27 13:05:15 +08:00
Him188
6c2b435779 Android GroupMessage support 2020-01-25 21:20:13 +08:00
Him188
77ddb6f78d QQA Debugging update 2020-01-22 16:42:22 +08:00
Him188
db3a1fb2d1 Fix contentToString 2020-01-20 00:17:45 +08:00
Him188
1a4ad94d20 Simplify logger structure 2020-01-18 12:32:14 +08:00
Him188
37e4ee5bc6 Fix build 2020-01-12 00:40:06 +08:00
Him188
186fa5d88d Fix build 2020-01-12 00:24:17 +08:00
Him188
d7f67e5159 Fix packet parsing 2020-01-11 15:30:19 +08:00
Him188
78ee01ded1 Fix bugs 2020-01-07 19:26:49 +08:00
Him188
48850d7389 Pass compilation 2020-01-06 21:29:57 +08:00
Him188
e43120742c Fix duplicated generated class name 2020-01-06 20:58:36 +08:00
Him188
d3c97fb6d4 Add ECDH 2020-01-06 20:49:26 +08:00
Him188
9bc3d933f7 Rewrite PlatformDatagramChannel, easier to use 2020-01-06 18:29:52 +08:00
Him188
7da89fb42d Remove redundant @Suppress 2020-01-03 19:17:31 +08:00
Him188
1c316a7ee3 Add more shortcuts 2020-01-01 20:30:35 +08:00