Commit Graph

3043 Commits

Author SHA1 Message Date
Tomas Slusny
aa75201fe4 Merge pull request #4479 from deathbeam/remove-revalidate-move-frame
Pack and show frame only after properties update
2018-07-29 14:36:04 +02:00
Adam
1d9b1375a2 Merge pull request #4320 from jkybtw/minnow-plugin
fishing plugin: add minnows overlay
2018-07-28 20:33:26 -04:00
Tomas Slusny
a934cc4667 Pack and show frame only after properties update
- Instead of packing frame first and then resizing and revalidating it,
pack it at the end so there is no overhead of resize and repaint events.
This save another like 200ms from startup time.
- Validate screen bounds after setting them to minimum size
- Update frame config after window custom chrome is set

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-07-28 17:52:40 +02:00
Tomas Slusny
bb55d9f52a Properly use javax.inject.Provider
Instead of using providers in classes that should not be even used when
the optional dependencies are not present, move all Provider<> injects
to RuneLite (and to other top-level classes in other cases).

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-07-28 16:25:18 +02:00
Tomas Slusny
9ee6989aa3 Merge pull request #4507 from deathbeam/fix-toolbars
Use consistent API and order for title and sides
2018-07-28 16:12:25 +02:00
Adam
f94af03a48 fishing plugin: add position to config 2018-07-27 23:05:23 -04:00
Adam
d9ca9f5060 fishing plugin: add minnows overlay
This shows a progress pie on how much time is left before the minnow
moves

Co-authored-by: Jacky <liangj97@gmail.com>
2018-07-27 23:05:22 -04:00
Kristian Welsh
5fe8033dc1 overlay util: adjust renderMinimapLocation for newer worldToMinimap 2018-07-27 18:30:30 -04:00
Tomas Slusny
dfcbece66b Add simple info log with startup time
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-07-27 12:10:08 +02:00
Tomas Slusny
d7b78936de Merge pull request #4519 from devinfrench/kourendlibrary
kourend library plugin: Use correct enum naming convention
2018-07-27 10:13:44 +02:00
Tomas Slusny
96036d17d0 Merge PluginToolbar and TitleToolbar together
Because of new isTab property there is no need to separate the toolbars
anymore as it can be decided which one to add where based on it.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-07-27 10:00:08 +02:00
Tomas Slusny
7864522210 Add isTab property to title buttons
In order to differentiate between title and sidebar buttons in sidebar
add isTab property that will place them after separator.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-07-27 08:35:22 +02:00
Jacob McElroy
64f00270ea Fix dig location of the West Barbarian Village H/C clue (#4524) 2018-07-27 08:21:53 +02:00
Jordan Atwood
b90261f524 achievement diary plugin: Fix Abyssal demon req
Fixes runelite/runelite#4522
2018-07-26 20:09:48 -07:00
Jordan Atwood
1d0702e19d slayer plugin: Use ColorUtil functions 2018-07-26 19:51:32 -07:00
Jordan Atwood
3f67ed04c8 rune pouch plugin: Use ColorUtil functions 2018-07-26 19:51:32 -07:00
Jordan Atwood
0ef1adeaaa puzzle solver plugin: Use ColorUtil functions 2018-07-26 19:51:31 -07:00
Jordan Atwood
a9d29a70f4 player indicators plugin: Use ColorUtil functions 2018-07-26 19:51:30 -07:00
Jordan Atwood
83d3237780 menu entry swapper plugin: Use ColorUtil functions 2018-07-26 19:51:28 -07:00
Jordan Atwood
4d0480ef24 item stats plugin: Use ColorUtil functions 2018-07-26 19:51:27 -07:00
Jordan Atwood
5c2251643c item prices plugin: Use ColorUtil functions 2018-07-26 19:51:26 -07:00
Jordan Atwood
8280654c88 inventory tags plugin: Use ColorUtil functions 2018-07-26 19:51:25 -07:00
Jordan Atwood
f43a2e0162 ground items plugin: Use ColorUtil functions 2018-07-26 19:51:23 -07:00
Jordan Atwood
be91d3ce26 friend notes plugin: Use ColorUtil functions 2018-07-26 19:51:22 -07:00
Jordan Atwood
c898fda923 boosts plugin: Use ColorUtil functions 2018-07-26 19:51:21 -07:00
Jordan Atwood
339ece742c achievement diary plugin: Use ColorUtil functions 2018-07-26 19:51:20 -07:00
Jordan Atwood
c64727e6b4 widget menu option: Use ColorUtil functions 2018-07-26 19:34:21 -07:00
Jordan Atwood
477027a032 chat message manager: Use ColorUtil functions 2018-07-26 19:33:29 -07:00
Jordan Atwood
8472ae61e5 notifier: Use ColorUtil functions 2018-07-26 19:29:25 -07:00
Jordan Atwood
29777c0b1f Add color utility class
In addition to creating `colorTag`, `prependColorTag`, and
`wrapWithColorTag` functions, this commit moves
`SwingUtil::toHexColor` and `SwingUtil::colorLerp` to this new class.
2018-07-26 19:21:29 -07:00
Devin
025cd6917d kourend library plugin: Use correct enum naming convention 2018-07-26 18:45:15 -07:00
Jordan Atwood
39e56151b7 timers plugin: Use constants for checked strings 2018-07-26 18:27:12 -07:00
Jordan Atwood
aede77f7e5 item charge plugin: Use constant for checked string 2018-07-26 18:27:02 -07:00
Tomas Slusny
746d948a84 Use consistent API and order for title and sides
Use same API for ordering title and sidebar and order them in the swing
components and not in events as that is unreliable.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-07-26 15:48:00 +02:00
Tomas Slusny
01d5e11975 Fix loading of chat colors on startup
ConfigChanged is no longer propagated on startup, so colors need to be
loaded explictly for first time.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-07-26 13:31:34 +02:00
Jeremy Plsek
4fce3b5c84 ge plugin: rewrite alt-click searching
This simplfies the code and improves performance by only needing to loop
over the menu entries instead of the inventory and checking all types of
inventories.

- Fix exceptions being thrown when losing focus on the client when
searching. There is still an exception when spam clicking, but that was
always there to begin with.
- Fix searching while using the GE window and while using a shop window.
2018-07-25 17:53:13 -04:00
Adam
f2a6391cdf Merge pull request #4482 from deathbeam/fix-ground-items
Propagate height to ground items
2018-07-25 14:37:11 -04:00
Tomas Slusny
c262ca267a Merge pull request #4494 from Nightfirecat/fix-menaphite-master-emote-clue
clues: Fix menaphite emote requirements
2018-07-25 11:14:29 +02:00
Tomas Slusny
3d46b17028 Merge pull request #4468 from LeviSchuck/xp-126
Fix level 126 next goal to be max XP (200,000,000) instead of -1 xp
2018-07-25 11:05:24 +02:00
Levi
08db5091af Check for skill being trained while ticking change (#4469)
Check for skill being actually trained while ticking XP change in XP tracker plugin.
2018-07-25 11:02:58 +02:00
Jordan Atwood
2e3efc29cb clues: Fix menaphite emote requirements
Fixes runelite/runelite#4493
2018-07-24 20:52:49 -07:00
Tomas Slusny
30bf68a23b Propagate height to ground items
Propagate item layer height to ground items again

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-07-24 18:22:34 +02:00
Levi Schuck
96c3f07c4b Fix level 126 next goal to be max XP (200,000,000) instead of -1 xp 2018-07-24 10:50:36 -05:00
Tomas Slusny
7831042189 Merge pull request #4447 from deathbeam/do-not-reconfigure
Update frame config when needed
2018-07-24 11:52:13 +02:00
Tomas Slusny
28dd5f477c Update frame config when needed
Update resizable only when it is really changed as it messes up window
sometimes if fullscreen

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-07-24 11:41:10 +02:00
Adam
7bbb154dff Merge pull request #2251 from marshdevs/2123-diary-level-requirements
Add level requirements to diaries
2018-07-23 17:50:06 -04:00
Tomas Slusny
30292b8f52 Add support for making XP globes moveable
Add support for integration of XP globes with DETACHED overlay system,
e.g making them moveable.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2018-07-23 17:41:51 +02:00
Adam
5c920f9414 Add achievement diary plugin
This adds skill level requirements to the achievement diary log.
2018-07-23 10:59:15 -04:00
Adam
37c95ff75e Add private message input event and add !kc to chatcommands for private messages 2018-07-22 19:44:10 -04:00
Abex
1d31796fc5 Merge pull request #4350 from Abextm/hotkey-consumer
runelite-client: Consume hotkeys in HotkeyListener
2018-07-22 14:36:24 -06:00