Commit Graph

1131 Commits

Author SHA1 Message Date
Tomas Slusny
9bcc646d88 Make plugins work with new ClientUI
- Change LinkBrowser to not use ClientUI as parent for message box (not
required at all) and change it from Guice service to static utility
class
- Set screenshot plugin offsets statically without recalculating them
based on swing component

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-12 12:34:41 +01:00
Tomas Slusny
31048d2632 Remove the need to extend JFrame in ClientUI
- Make ClientUI wrap JFrame inside
- Do not make RuneLite class depend on Swing API at all
- Create ClientUI through Guice
- Simplify initialization and showing of UI

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-12 12:34:41 +01:00
Tomas Slusny
571f5f50c6 Extract utlity methods to SwingUtil class
- Extract common utlity methods from ClientUI to SwingUtil utlity class.
- Make OSXUtil accept JFrame instead of ClientUI

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-12 12:34:41 +01:00
Adam
6f5a8b75ea dev tools overlay: transform npcs if applicable 2018-03-11 19:20:03 -04:00
Adam
d3e8e5e51a Merge pull request #931 from Joshua-F/feat/removeTags
Add a util method for removing tags
2018-03-11 12:16:19 -04:00
Adam
46ef2c8814 Merge pull request #927 from Blizik/hideminimap
Option to hide minimap
2018-03-11 11:54:28 -04:00
Joshua Filby
85ac977324 runelite-client: Update plugins to use Text.removeTags 2018-03-11 11:53:55 -04:00
Joshua Filby
e7f6793722 runelite-client: Add Text#removeTags method 2018-03-11 11:53:48 -04:00
Blizik
9848b58986 Add ability to toggle minimap display 2018-03-11 11:42:50 -04:00
Dennis
8f7db67984 ground items plugin: add option to highlight menu 2018-03-11 11:37:43 -04:00
Adam
398441616a Merge pull request #627 from XrioBtw/patch-12
Add Menu Entry Swapper plugin
2018-03-11 11:09:16 -04:00
XrioBtw
0ab5db6c2e Add menu entry swapper plugin 2018-03-11 10:58:38 -04:00
Infinitay
297cc7c6f9 Add confirmation dialog to runelite logout button 2018-03-10 21:53:07 -05:00
Adam
24abe9b5d1 Merge pull request #915 from deathbeam/default-world-support-both-formats
Allow specifying default world in [0-9]{2} format
2018-03-10 10:26:46 -05:00
Adam
b910d81dcc Merge pull request #917 from Toocanzs/opponent-info
Continue to update opponent info while on screen
2018-03-10 10:21:42 -05:00
Adam
652dd91211 opponent info overlay: use last opponent if no opponent is targeted 2018-03-10 09:57:34 -05:00
Adam
01c6064d24 Merge pull request #922 from Abextm/fix-hunter
hunter plugin: Don't iterate over all tiles
2018-03-10 09:34:31 -05:00
Max Weber
c7deb854db Add regen meter plugin 2018-03-10 02:22:20 -07:00
Max Weber
2a579a3ebf hunter plugin: Don't iterate over all tiles 2018-03-09 21:11:19 -07:00
Max Weber
b75dddca28 Update almost everything to the new API 2018-03-09 20:59:05 -07:00
Max Weber
6f9b855520 Rename Point3D to WorldPoint 2018-03-09 15:53:11 -07:00
Adam
5e887ed11c Merge pull request #507 from sethtroll/fixupxptracker
Update Xp tracker UI to make it smaller
2018-03-09 16:29:00 -05:00
Seth
d84627efd6 xp tracker: update xp tracker UI
change the xp tracker ui to make it smaller. Can expand skills to display more information.
2018-03-09 21:55:21 +01:00
Adam
eaed8892d4 Merge pull request #891 from skimboarder/develop
Resolve Issue #860 - Warned attack modes not properly hiding
2018-03-09 15:38:41 -05:00
Seth
634f872516 xp tracker: add format suffix to reduce string size 2018-03-09 21:19:39 +01:00
Connor
ce7bd9c88d Resolving Issue #860 - Warned Attack Styles not properly hiding. Adding automated test coverage for AttackIndicatorPlugin. 2018-03-09 15:08:59 -05:00
Adam
8df7843eef instance map: fix various races between game and event threads 2018-03-09 14:54:27 -05:00
Tomas Slusny
aabd37854d Merge pull request #618 from sethtroll/removeviewportcontains
Remove viewport contains from cannon/hunter plugin
2018-03-09 17:59:38 +01:00
Tomas Slusny
3e4f8ba99a Allow specifying default world in [0-9]{2} format
Automatically append 300 to every world that is lower than 300 to
support both f.e. 22 and 322 formats for specifying the world.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-09 15:09:01 +01:00
Adam
23203343af Merge pull request #638 from Abextm/widget-listeners
Move widget inspector into it's own window
2018-03-08 22:36:42 -05:00
Adam
38467a3859 Merge pull request #876 from deathbeam/minimap-names
Minimap names
2018-03-08 22:27:53 -05:00
Adam
3fd3320218 Merge pull request #624 from Abextm/imp-box-jewellery
Add Imp-in-a-Box to the jewellery count plugin
2018-03-08 21:46:17 -05:00
Max Weber
1211693096 jewellerycount: add imp-in-a-box 2018-03-08 19:43:35 -07:00
Max Weber
38f04a23e0 Move widget inspector into it's own window 2018-03-08 19:39:12 -07:00
Adam
78f34b2f79 Merge pull request #833 from deathbeam/idle-notifier-more-options
Add idle anim and combat idle toggles to notifier
2018-03-08 21:31:12 -05:00
Adam
60043a43b6 Merge pull request #873 from sethtroll/addlocation
dev tools: add location to dev tools plugin
2018-03-08 21:13:03 -05:00
Adam
bcab14bfe4 Bump to 1.3.0-SNAPSHOT 2018-03-08 19:54:10 -05:00
Adam
e51fa5e0eb Merge pull request #903 from jplsek/screenshot-folder-open
Add right click menu to screenshot button
2018-03-08 19:52:02 -05:00
Seth
90eec779c9 Remove viewport contains
Since we have the ability to render behind widgets now, the "check if viewport contains" is not necessary anymore. Instead replace it with distance check to remove it if ran off screen.
2018-03-08 17:36:56 -06:00
Seth
9d7ffa56ae dev tools: add location to dev tools plugin
Adds a panel which will display current tile in relation to world location as well as display the current map regions
2018-03-08 17:36:01 -06:00
Tomas Slusny
081c60f4b3 Merge pull request #853 from Kamielvf/raids-move-points-box
Raids plugin: Reposition the points box to prevent it from overlapping overlays
2018-03-09 00:06:51 +01:00
Jeremy Plsek
3abe6f35df Add right click menu to screenshot button #797
- Add ability to open screenshot folder by right clicking the screenshot
  button. This partially fixes #797
2018-03-08 16:54:35 -05:00
Tomas Slusny
683cef9b09 Merge pull request #895 from Bartvhelvert/master
Remove unneeded drawRegionTile calls
2018-03-08 20:47:44 +01:00
Runelite auto updater
f00ef6ae34 [maven-release-plugin] prepare for next development iteration 2018-03-08 14:02:25 +00:00
Runelite auto updater
91c73c5c8c [maven-release-plugin] prepare release runelite-parent-1.2.19 2018-03-08 14:02:21 +00:00
Tomas Slusny
ce69024d31 Remove special attack orb plugin
Because special attack orb has been added to OSRS in latest update, this
plugin is no longer needed. The functionality that shows next change
will need to be readded in future.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-03-08 13:13:38 +01:00
Bart van Helvert
c7fa498f7b Remove unneeded drawRegionTile calls 2018-03-08 12:27:51 +01:00
Kamiel
bcb579344b Raids plugin: Reposition the points box to prevent it from overlapping overlays 2018-03-07 22:58:20 +01:00
Lotto
054dd4852d Synchronize usages of ImageIO.read(...)
ImageIO.read(...) is not really thread-safe, as calling it on several threads at the same time can cause NullPointerExceptions and ConcurrentModificationExceptions, as reported in https://bugs.openjdk.java.net/browse/JDK-8058973 and https://bugs.openjdk.java.net/browse/JDK-6986863.

This commit changes all usages of this method to synchronize on ImageIO.class, so the method is never run asynchronously.
2018-03-07 20:06:16 +01:00
Tomas Slusny
12329828ea Merge pull request #837 from deathbeam/make-names-consistent
Normalize plugin names
2018-03-07 18:40:37 +01:00