Add dependency on logback and configure logger to log to
~/.runelite/logs/application.log with rolling file appender, that means
every 10MB file will be rolled and also every day file will be rolled
with maximum history of 30 days, to not flood user's system space.
Add new console parameter -debug, because logback properties cannot be
set from console like slf4j-simple ones, so it needs to be done in a bit
more complicated way.
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
Add injectable Discord RPC service that will broadcast Discord events
through event bus and have API for setting Discord Rich Presence status.
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
Because currently Hashing.java is using only in mixins, it gets removed
by maven-shade-plugin from the shaded jar. So tell the plugin to keep
these classes.
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
Update Project Lombok version to 1.16.20 (from 1.16.18) and specify this
version in runelite-parent instead of having it specified all around the
maven projects.
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
Remove dependency on external notification library and rewrite
notifications to use lightweight native system notification
implementations:
* Linux - notify-send
* OS X - apple script - display notification
* Windows - TrayIcon
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
Replace current TrayIcon notifications with system-native notifications.
Supports most of the operating systems (the important ones are Windows,
Linux and OS X).
Resolves: #230
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
This causes hierarchy to be runelite-client -> runelite-api and
injected-client -> runescape-api -> runelite-api. The mixin injector
fufills the runelite-api interface with access to the runescape-api
interfaces. The mixins live in runelite-mixins and are not loaded within
the client.
Note the obfuscated client classes do not pass JVM verification on 7+,
so the mixins are currently set to target Java 6.