Commit Graph
4691 Commits
Author SHA1 Message Date
Tomas Slusny 7faa23e289 Merge pull request #4534 from deathbeam/use-providers
Properly use javax.inject.Provider
2018-07-29 23:48:59 +02:00
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
AdamandJacky 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
Adam 042c99d3d0 perspective: change worldToMinimap location calculation back
This is how the client calculates positions for npcs/players. Originally I had thought it fixed an issue with minimap overlays being off, but it was due to the constants we were using in worldToMinimap being off in order to account for renderMinimapLocation being wrong
2018-07-27 18:26:38 -04:00
Adam 6c7ea1f834 runelite-mixins: correct worldToCanvas arguments
The 'plane' is no longer actually a z offset
2018-07-27 18:26:38 -04:00
Adam 045146b122 perspective: fix checkstyle 2018-07-27 18:26:38 -04:00
Adam cca977f784 perspective: fix getCanvasTileAreaPoly when getting tile next to a bridge
Pick the plane of the given tile and use it for all height calculations
2018-07-27 16:59:23 -04:00
Adam 0b8857d4de perspective: split tile height logic out of local to world 2018-07-27 16:59:22 -04:00
Adam bed529d9cd Revert "perspective: fix regression caused by 2599db2"
This reverts commit d6906e735b.
2018-07-27 13:27:56 -04:00
Adam b6954e0703 perspective: use less magic constants in getTileHeight 2018-07-27 11:31:17 -04:00
Adam 41996c181e Revert "perspective: fix worldToCanvas to convert from local to scene coords correctly"
This reverts commit 4ecf45f19e.
2018-07-27 09:15:15 -04: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
Tomas Slusny af1e16fa34 Merge pull request #4523 from Nightfirecat/fix-abyssal-demon-task-requirement
achievement diary plugin: Fix Abyssal demon req
2018-07-27 08:05:06 +02:00
Jordan Atwood b90261f524 achievement diary plugin: Fix Abyssal demon req
Fixes runelite/runelite#4522
2018-07-26 20:09:48 -07:00
Adam 4ecf45f19e perspective: fix worldToCanvas to convert from local to scene coords correctly 2018-07-26 21:54:28 -04:00
Devin 025cd6917d kourend library plugin: Use correct enum naming convention 2018-07-26 18:45:15 -07:00
Adam 28520dcfe7 Merge pull request #4492 from Abextm/run-script-recursion
mixins: Prevent runScript from being called recursively
2018-07-26 18:56:31 -04:00
Adam f4344dd082 Merge pull request #4505 from deathbeam/fix-color-load
Fix loading of chat colors on startup
2018-07-26 17:36:39 -04: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
Runelite auto updater 6c0250df33 [maven-release-plugin] prepare for next development iteration 2018-07-26 10:57:59 +00:00
Runelite auto updater 9cbc1ad3a0 [maven-release-plugin] prepare release runelite-parent-1.4.9 2018-07-26 10:57:52 +00:00
Adam 71076c6cdc Merge pull request #4048 from jplsek/ge-alt-search-ge
Allow alt search while grand exchange inventory is active
2018-07-25 18:09:11 -04: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
Max Weber 87bf71c1ff mixins: Prevent runScript from being called recursively
Due to the extensive use of globals in the ScriptVM it is not reentrant
2018-07-24 18:25:40 -06:00
Adam 23c13c1d53 cache: fix assembler to set correct switch table index
The int operand of switch instructions is an index into the switch table. The operand was always 0, breaking scripts with multiple switches.
2018-07-24 20:12:34 -04: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
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 25ab36d56e Merge runelite-scripts into runelite-client 2018-07-22 19:59:54 -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
Adam 14707ba202 Merge pull request #4429 from deathbeam/add-movable-widgets
Add support for movable RS widgets
2018-07-22 14:23:28 -04:00