Commit Graph

13870 Commits

Author SHA1 Message Date
Owain van Brakel
61cb0ced3a bootstrap: Checkstyle 2020-05-25 05:02:36 +02:00
Owain van Brakel
1a023f52f4 Revert "Revert "rxrelay: Pull artifact from mvn""
This reverts commit 0760673aca.
2020-05-25 04:57:09 +02:00
Owain van Brakel
88f7b9a9ed Revert "bootstrap: Download rxrelay from the OpenOSRS hosting repo"
This reverts commit 6fa6ab4c8e.
2020-05-25 04:56:45 +02:00
Kyle
5a1745963b Merge pull request #2618 from open-osrs/revert-2616-rxrelaymvn
Revert "rxrelay: Pull artifact from mvn"
2020-05-25 03:04:18 +01:00
Kyle
0760673aca Revert "rxrelay: Pull artifact from mvn" 2020-05-25 03:04:05 +01:00
Owain van Brakel
e967884e48 Merge pull request #2613 from swazrgb/cleanup-externalmanager 2020-05-25 03:25:11 +02:00
Owain van Brakel
d772b3211d externalpf4jpluginmanager: Remove JarPluginRepository getPluginPath
override
2020-05-25 03:10:03 +02:00
Owain van Brakel
7eb5b00587 Merge remote-tracking branch 'swazrgb/cleanup-externalmanager' 2020-05-25 03:03:38 +02:00
Owain van Brakel
945e0a4a3f Merge pull request #2615 from open-osrs/add-default-pluginhub 2020-05-25 02:58:11 +02:00
Owain van Brakel
bfe36d06d5 Merge pull request #2616 from Owain94/rxrelaymvn 2020-05-25 02:57:40 +02:00
github-actions[bot]
4948906f14 Merge pull request #2617 from open-osrs/NPC-UPDATE-37b14eaa1
Client: Update NPC stats
2020-05-25 00:16:15 +00:00
OpenOSRS
e22cf68ef1 Client: Update NPC stats 2020-05-25 00:09:29 +00:00
Owain van Brakel
91b0dffcf1 rxrelay: Pull artifact from mvn 2020-05-25 01:58:35 +02:00
Kyle
ca026a66e9 Update RepositoryBox.java 2020-05-25 00:42:13 +01:00
Kyle
ba3a24ab63 Update ExternalPluginManager.java 2020-05-25 00:28:48 +01:00
Kyle
59727ca56d Update OpenOSRSConfig.java 2020-05-25 00:27:49 +01:00
swazrgb
0890be9c30 Also clear repositories when split length is invalid 2020-05-24 23:38:39 +02:00
swazrgb
052ebc3c7b client: Clean up ExternalPluginManager & friends 2020-05-24 23:17:34 +02:00
Owain van Brakel
37b14eaa1d Merge pull request #2611 from swazrgb/externalplugins-developmentmode 2020-05-24 21:09:50 +02:00
Owain van Brakel
f70794bc18 Merge pull request #2612 from swazrgb/shutdown-executor
client: Also shutdown executor in PluginManager
2020-05-24 19:35:58 +02:00
swazrgb
1644dbd245 Also shutdown executor in PluginManager 2020-05-24 19:17:20 +02:00
Owain van Brakel
0df61a55cc Merge pull request #2607 from Owain94/externalpanelerrormsg 2020-05-24 18:54:20 +02:00
Owain van Brakel
39fa182d98 Merge pull request #2610 from swazrgb/shutdown-executor 2020-05-24 18:50:34 +02:00
swazrgb
e23c6a0c46 Support loading external plugins from sources enabling hotswapping
Enables the pf4j [development mode](https://pf4j.org/doc/development-mode.html)
to support loading external plugins from sources, which enables java's
hotswap functionality.

To use this feature set the `plugin.development.path` property or
`PLUGIN_DEVELOPMENT_PATH` environment variable to the directories
containing your plugins, e.g. `../plugins;../my-custom-plugins`

Once set the `ExternalPluginManager` will ignore the configured
repositories and externalmanager directory, and instead load all
the built plugins from the specified directories.

Utilizing this feature does require some additional configuration
of the build of the plugins `build.gradle.kts`. Within the `subprojects`
section add:

```
tasks.register<Copy>("copyDeps") {
    into("./build/deps/")
    from(configurations["runtimeClasspath"])
}
```

See https://github.com/open-osrs/plugins/pull/260 for the `openosrs/plugins` change

This enables the following workflow:

0. Optional tip: Set the `external.system.substitute.library.dependencies` registry value to `true` to force classpath resolution within the project

1. Open the `runelite-client` project in IntelliJ

2. Add the `plugins` repository as a module (Gradle -> Plus symbol ->
`plugins/build.gradle.kts`)

3. Gradle build the client with: `build publishToMavenLocal :runelite-client:publishToMavenLocal :runelite-api:publishToMavenLocal :http-api:publishToMavenLocal`

4. Gradle build the plugins with: `build copyDeps`

5. Add the `PLUGIN_DEVELOPMENT_PATH` environment variable to the run
configuration

Once the above is done the edit -> reload -> edit cycle can begin:

1. Start the client in debug mode using the run goal

2. Edit the external plugin

3. Perform Build > Build Module

4. Observe hotswapping in action!

5. If hotswapping failed, or your change requires a plugin restart,
click the hotswap button in the plugin list to instantly restart it
2020-05-24 08:27:37 +02:00
swazrgb
3ce0cb9dc1 Shutdown ExecutorService in ExternalPluginManager
Also name threads for easy identification
2020-05-24 03:29:30 +02:00
github-actions[bot]
34c40a6d7d Merge pull request #2608 from open-osrs/NPC-UPDATE-c8937a609
Client: Update NPC stats
2020-05-24 00:15:47 +00:00
OpenOSRS
fbe29a79b5 Client: Update NPC stats 2020-05-24 00:09:18 +00:00
Owain van Brakel
952fe24a03 externalpanel: Reset the status text after error 2020-05-22 13:54:40 +02:00
Owain van Brakel
c8937a609f Merge pull request #2605 from open-osrs/GRADLE-DEPS-UPDATE-5bf4f9c9a 2020-05-22 13:52:33 +02:00
github-actions[bot]
e592d1e05d Merge pull request #2606 from open-osrs/NPC-UPDATE-5bf4f9c9a
Client: Update NPC stats
2020-05-22 00:16:07 +00:00
OpenOSRS
042439ba66 Client: Update NPC stats 2020-05-22 00:08:30 +00:00
OpenOSRS
9c3ec9fb4c project: Update gradle dependencies 2020-05-22 00:03:26 +00:00
Owain van Brakel
5bf4f9c9a9 Merge pull request #2604 from Owain94/xpmultiplier 2020-05-21 22:46:38 +02:00
Owain van Brakel
3a50e657fb NPCManager: Blacklist some NPCs from xp multiplier 2020-05-21 22:14:44 +02:00
Owain van Brakel
07205c89d3 Merge pull request #2603 from Owain94/upstream-2105-2 2020-05-21 18:38:15 +02:00
Owain van Brakel
d33aff6a41 Merge remote-tracking branch 'runelite/master' 2020-05-21 18:30:38 +02:00
Tomas Slusny
63eab81d11 Use multiplicative color offsets for BackgroundComponent border (#11658)
Instead of fixed color offsets for outer and inner border colors switch
to multiplicative offsets. This also makes overlay color alpha
recoloring work properly with background component border.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2020-05-21 17:55:48 +02:00
Owain van Brakel
4e08497552 Merge pull request #2602 from Owain94/upstream-2105 2020-05-21 13:58:10 +02:00
Owain van Brakel
077917ffde Merge remote-tracking branch 'runelite/master' 2020-05-21 13:49:10 +02:00
Runelite auto updater
10b502278e Bump for 1.6.17-SNAPSHOT 2020-05-21 11:43:06 +00:00
Runelite auto updater
79361aa17a Release 1.6.16 2020-05-21 11:42:57 +00:00
Owain van Brakel
e690df0852 Merge remote-tracking branch 'runelite/master' 2020-05-21 13:34:48 +02:00
RuneLite Cache-Code Autoupdater
592ca5c112 Update Scripts to 2020-05-21-rev182 2020-05-21 10:32:20 +00:00
RuneLite Cache-Code Autoupdater
c319105ed4 Update Widget IDs to 2020-05-21-rev182 2020-05-21 10:32:18 +00:00
Abex
88ec4a81c5 Merge pull request #11659 from Hydrox6/clue-brutal-green
clues: add brutal green dragon variant to cryptic clue
2020-05-21 04:20:58 -06:00
Hydrox6
00b65f4566 clues: add brutal green dragon variant to cryptic clue 2020-05-21 11:10:05 +01:00
Owain van Brakel
3d7be11a69 Merge pull request #2601 from illumineawake/world-area-update-branch 2020-05-21 10:26:54 +02:00
illumineawake
fac4cafcf0 worldarea: allow WorldArea to take 2 WorldPoints and calculate width and height 2020-05-21 18:15:30 +10:00
Owain van Brakel
04f926b747 Merge pull request #2598 from open-osrs/GRADLE-DEPS-UPDATE-be723713f 2020-05-21 04:40:31 +02:00
github-actions[bot]
214c7e8fe3 Merge pull request #2599 from open-osrs/NPC-UPDATE-be723713f
Client: Update NPC stats
2020-05-21 00:17:04 +00:00