Commit Graph

396 Commits

Author SHA1 Message Date
shenshaoming
df7779b88b 修改提示信息 2020-08-18 11:58:38 +08:00
shenshaoming
9b53fb99ad 修改设备锁验证方式,改为通过点击超链接弹出页面 2020-08-18 10:54:57 +08:00
Him188
45eea16fd5 Update license 2020-08-16 01:49:30 +08:00
Him188
2d83b69d06 Update copyright 2020-08-16 01:31:14 +08:00
Karlatemp
22550cafd2
Create java test. Fix #443 (#446)
* Create java test. Fix #443

* Typo

* gradle-kotlin-dsl
2020-07-17 20:43:26 +08:00
Him188
9ebfef2dd8 Add tests for #436 2020-07-16 22:24:14 +08:00
Him188
45785adc09 Fix #436 2020-07-16 21:11:34 +08:00
Him188
46af55fcdf Add @SinceMirai for MiraiProtocol 2020-07-09 01:13:41 +08:00
mzdluo123
2eac5ab607
android watch 2020-07-03 23:08:44 +08:00
Him188
9a57f35890 Support Nothing type for EventHandler; Add Java tests 2020-07-03 16:12:55 +08:00
Him188
c18a62deed Fix potential Job shadowing in SimpleListenerHost.coroutineContext 2020-07-03 15:52:25 +08:00
Him188
ecf4b8b95b Fix build 2020-07-02 01:27:16 +08:00
Him188
447e7349fc Move MiraiProtocol from BotConfigurationBase to BotConfiguration 2020-07-02 01:20:49 +08:00
Him188
680dc0f0cf Fix memory leak on failure on image uploading (Fix #385, fix #387) 2020-07-01 23:24:14 +08:00
Him188
dfddfae876 Add PlatformLogger.printLog, .Color, .timeFormat, .color (Fix #407) 2020-07-01 22:27:42 +08:00
Him188
4cb5d654b2 Delegate json serialization strategy to BotConfiguration 2020-06-17 14:19:59 +08:00
Him188
245d52149e Add default dir and file for redirectBotLogToDirectory and redirectBotLogToFile 2020-06-16 15:11:57 +08:00
Him188
c4541c8fdc Fix directory detecting 2020-06-16 15:10:03 +08:00
Him188
f175d07c0a Introduce multi-platform BotConfiguration structure; Add redirectNetworkLogToDirectory functions, fix #371 2020-06-16 15:09:32 +08:00
Him188
3178aeb619 Fix doc 2020-06-15 16:03:54 +08:00
Him188
e52c341155 Arise deprecation level 2020-06-15 15:02:53 +08:00
Karlatemp
f5165f7d77
Add Manifest; Disabling SwingSolver with vm property mirai.no-desktop (#362)
* Disabling SwingSolver with vm property 'mirai.no-desktop'

// for ssh
// java -Dmirai.no-desktop ....

* Add Manifest

* Removed Per-Entry Attributes

Co-authored-by: Him188 <Him188@mamoe.net>
2020-06-15 11:13:15 +08:00
Him188
f74ee547f2 Fix #369 2020-06-14 23:47:56 +08:00
Him188
35f2335a5f Fix build 2020-06-14 19:20:00 +08:00
Him188
2d1bc6578e Fix reference in KDoc 2020-06-14 18:48:58 +08:00
Him188
4cb870cb85 Fix build 2020-06-13 22:40:38 +08:00
Him188
4961b60494 Merge branch 'master' into dev 2020-06-12 14:43:12 +08:00
Him188
2dcd8ffea0 Fix log time 2020-06-01 18:11:55 +08:00
Him188
0153ed9fa5 Fix build 2020-05-28 14:10:18 +08:00
Him188
a084eac8be Rearrange internal implementations 2020-05-28 14:10:18 +08:00
Him188
1d971badd9 Add docs 2020-05-28 14:08:39 +08:00
Him188
9631a2de1f Fix loggers 2020-05-24 14:10:43 +08:00
Him188
3c1ee33ee0 Fix Java function resolving 2020-05-22 13:20:59 +08:00
Him188
5871f727dc Fix exception logging 2020-05-21 21:27:02 +08:00
Him188
ae8d6e0cd2 Fix doc and DefaultLogger usage 2020-05-21 20:35:18 +08:00
Him188
f848473289 Improve loggers:
Make SimpleLogger open;
Simplify PlatformLogger;
PlatformLogger on JVM now has `isColored` param and prints exception canonically;
Unify log format;
2020-05-21 20:32:49 +08:00
Him188
3f4dd1ec12 Improve PlatformLogger.jvm, prints stacktrace to a specified output 2020-05-21 17:52:36 +08:00
Him188
6aaba6c5ae Use non-strict JSON serialization for deviceInfo 2020-05-21 17:27:52 +08:00
Him188
e4e526ca80 Support object implementations of Event 2020-05-16 15:32:09 +08:00
Him188
23273718fe Improve docs 2020-05-16 15:17:04 +08:00
Him188
3d06219c67 Introduce SimpleListenerHost for a better Java API 2020-05-16 15:11:03 +08:00
Him188
ae32536ed5 Move BotImpl and BotNetworkHandler to mirai-core-qqandroid. 2020-05-16 14:29:03 +08:00
Him188
46598d686c Cleanup;
Use interface for JavaFriendly APIs;
Deprecate event responder in Bot in the favor of their member functions;
Deprecate `Bot.queryUrl(image: Image)`` in the favor of the extension `Image.queryUrl`
2020-05-16 14:14:21 +08:00
Him188
f5db6e0201 Improve docs 2020-05-14 19:12:32 +08:00
Him188
29012d74c1 Add docs 2020-05-11 15:50:18 +08:00
Him188
45f00b4651 Fix VerifyError 2020-05-11 11:34:08 +08:00
Him188
90c0c5c549 Optimize experimental API usages 2020-05-10 02:22:16 +08:00
Him188
54794a6e49 Fix references 2020-05-10 00:59:12 +08:00
Him188
7525dc7c33 Add JvmMethodListeners.kt 2020-05-10 00:41:18 +08:00
Him188
28f48e5c78 Make random device info more random 2020-05-09 16:20:57 +08:00