Commit Graph

17 Commits

Author SHA1 Message Date
Him188
822c3049c2 Fix package 2020-12-26 22:16:27 +08:00
Him188
8e05d97315 Review MiraiLogger:
- Replace top-level `DefaultLogger` with
  - `MiraiLogger.create`, and
  - `MiraiLogger.setDefaultLoggerCreator`
- `MiraiLogger.Companion` is no longer `MiraiLogger`, moved to `MiraiLogger.TopLevel`
- Mark `PlatformLogger` as
an internal API

close #633
2020-12-04 22:27:26 +08:00
Him188
3910044490 Remove @SinceMirai 2020-12-01 12:30:13 +08:00
Him188
16c3e02521 Remove Context
Simplify BotFactory
2020-12-01 12:27:35 +08:00
Him188
66464b87fd Simplify platform structure: merge jvmMain into commonMain 2020-12-01 12:13:43 +08:00
Him188
eafca6d4ed Simplify platform structure: merge jvmMain into commonMain 2020-11-30 23:30:57 +08:00
Him188
d0d73d5285 Fix MiraiImpl resolve 2020-11-22 14:51:39 +08:00
Him188
64b5251779 Move service to common resources 2020-11-22 14:33:18 +08:00
Him188
b8002d4b4d Hierarchical MPP:
- JDK in common target
- Disabled common compilations
- Android targets
- Kotlin 1.4.20
2020-11-22 14:25:49 +08:00
Karlatemp
f4b99367bb
Add the missing ByteArray.toExternalImage 2020-11-15 00:00:03 +08:00
Karlatemp
525830739c
Fix ReusableInput resources releasing
fix #675
2020-11-14 12:06:47 +08:00
Karlatemp
0ebffb735d
Fix PlatformLogger stack trace encoding 2020-11-07 14:23:56 +08:00
Him188
7c2f2bb870 Rename Mirai to IMirai, introduce top-level property Mirai to hold lazy instance. Fix build. 2020-11-07 12:21:03 +08:00
Him188
9e6b16c3e5 Fix findMiraiInstance 2020-11-01 23:54:49 +08:00
Him188
1e7aaaec48 Rearrange protocol implementations 2020-11-01 15:07:32 +08:00
AdoptOSS
bb3d039bf8
Simplify DeviceInfo (#655)
* Simplify DeviceInfo

* Place random string helper properly

* Make DeviceInfo::random java-friendly
2020-10-27 08:57:28 +08:00
Him188
a9d4d14576 Rearrange module structure:
- Rename mirai-core to mirai-core-api
- Rename mirai-core-qqandroid to mirai-core
- Rename package net.mamoe.mirai.qqandroid to net.mamoe.mirai.internal
- Delete old android targets
- Configure default packages correctly
- Update licenses
2020-10-03 12:42:13 +08:00