Commit Graph

7181 Commits

Author SHA1 Message Date
Adam
8bdf78c874 Revert "world map: use game state change event to load quest icons"
This reverts commit 97c484fc38.
2022-01-03 14:25:14 -05:00
Adam
a2f8a4219e menu swapper: remove examine swap
This has not worked in the past, since the Examine option is not an inventory
action and so cannot ever be shift-click swapped, and causes a crash now if
set due to it subtracting the Examine menu op from ITEM_FIRST_OPTION.
2022-01-03 13:58:08 -05:00
Adam
97c484fc38 world map: use game state change event to load quest icons
This was queueing potentially multiple tasks if the config was changed on the
login screen, all waiting for the player to be logged in. Instead, use the game
state change event to load the icons.
2022-01-03 12:10:21 -05:00
Adam
fa9a178f4a Fix race with client startup and low detail/chat icon loading
Since c1aa0c4898 moved client startup to
be much earlier, the plugins can now start after the client is already
at the login screen. This causes the low detail plugin and chat icon
manager to not initialize correctly as they are waiting on the event
for the login screen.
2022-01-03 11:51:57 -05:00
Robert
d7c367b677 interface styles: fix 2005 style icon alignment 2022-01-02 20:46:15 -05:00
testing-ongithub
a4b10d99d8 Fix clicking tray icon not bringing client to front on macOS 2022-01-02 20:36:48 -05:00
Adam
45f744fa2b api: fix wallobject orientation javadoc and use
This is not an angle, and the model outline renderer code which uses it as one is incorrect.
2022-01-02 20:24:38 -05:00
Adam
0da504769d ui: set DO_NOTHING_ON_CLOSE close op prior to disposing
Disposed frames are still reachable via Window.getWindows() until gcd, and can
receive and process events. We don't want the splash screen to close the app if
it receives a window close event after being disposed.
2022-01-01 20:28:35 -05:00
Adam
31dc32c225 Set macos quitStrategy to CLOSE_ALL_WINDOWS
The quit strategy API existed in com.apple.eawt prior to Java 9, and was moved
into java.desktop in 9. This move makes our orange-extensions API incompatiable
with the 9 eawt package too, so we can not use Application.setQuitStrategy on
9+ either, without making orange-extensions multi-release too.

Since Desktop.setQuitStrategy is the new standard way of doing this, use it if
available, and otherwise use the Java 8 Application.setQuitStrategy instead.
2022-01-01 20:28:35 -05:00
Cody Massin
99b0a18a4c roof removal: optimize POH region override check
Signed-off-by: Cody Massin <keyosk@gmail.com>
2021-12-30 22:25:53 -08:00
Cody Massin
3af75e6752 roof removal: build overrides for POH on startUp
Signed-off-by: Cody Massin <keyosk@gmail.com>
2021-12-30 22:08:53 -08:00
Hydrox6
13154de18f roof removal: add support for always hiding roofs in POH 2021-12-30 02:49:59 +00:00
Hydrox6
c23e499c92 roof removal: use worldpoint's plane instead of current plane
This allows for overrides on template chunks to be defined based on the
chunk's position, not where the chunk ends up in the scene. I think this
only really matters for the POH, which stores each style across all 4
planes of 3 (or 7) regions.
2021-12-30 01:59:48 +00:00
Max Weber
6c15080bfb grounditems/Lootbeam: handle loading models correctly
models are streamed over js5 so loadModel can return null until it is
downloaded
2021-12-28 20:16:16 -07:00
Adam
637ee563d6 gpu: queue fbo reset on startup too
Startup races with stretch mode plugin startup and clientui startup, so starting with stretched mode on doesn't reliably work. Just reset a few frames after startup to be sure.
2021-12-27 16:22:36 -05:00
Adam
153b475301 clientui: disable ui scale transform for client bounds on macos
This appears unnecessary on macos and breaks the remember client position feature
2021-12-27 16:21:37 -05:00
Adam
bb43d232bb gpu: fix stretched mode scaling issues on macos
This fixes the following issues:

1) resize events for the client not being propagated to the listener on
   the canvas
2) resizing the client in fixed mode not triggering a resetSize due to
   the underlying canvas size not changing
3) maximizing the client calling restSize too soon causing it to have no
   effect
2021-12-27 15:11:18 -05:00
Adam
0a501429e6 Move okhttp client from http-api
The client has been recreated with a new builder off of the http-api
client for awhile anyway since runelite-client has multiple other
requirements (caching, tls, etc). This fully moves creation of the
okhttp client into both http-service and runelite-client separately.

I've kept the CLIENT field in http-api for now since a few external
plugins depend on it currently.
2021-12-23 12:36:05 -05:00
Adam
37d538f0db Move http-api clients to rl-client 2021-12-23 11:30:55 -05:00
Jordan
cc3ba2d633 Merge pull request #14497 from wayne-li2/clue-hot-code-delete-leagues 2021-12-22 05:31:50 +00:00
Adam
ae5614ce6a api: remove set/get game drawing mode
This is being moved internally
2021-12-21 23:25:23 -05:00
Adam
438b4004e7 config manager: remove migrateConfig 2021-12-21 23:11:32 -05:00
Adam
c1aa0c4898 client: move jagexcache into .runelite 2021-12-21 23:04:24 -05:00
Adam
50a2d2f73f config manager: increase sendConfig delay to 5 minutes 2021-12-21 23:01:34 -05:00
Wayne Li
6901adc2ff HotColdClue: Delete Twisted Leagues code 2021-12-21 18:35:13 -08:00
Adam
39b8b84aaf chat message manager: fix recoloring gim messages
gim messages must always start with | and can't have a leading col tag
2021-12-20 17:31:28 -05:00
testing-ongithub
fab6e46786 Add option to disable system tray icon 2021-12-18 23:29:15 -05:00
Adam
0f52e3ff18 menu swapper: fix built in swaps overriding custom swaps
If a swap is configured for the item, never enter into the built in swapping logic. Even if the swap was not applied for this entry, assume either it has already been applied or will be later.

Co-authored-by: sam <dasistkeinnamen@gmail.com>
2021-12-18 11:21:42 -05:00
Adam
8fa819d035 menu swapper: don't show default action if one isn't configured
Currently it is ambiguous if the configured action is the default action or there is no configured action because either way it prepends a * to the default op.

Co-authored-by: sam <dasistkeinnamen@gmail.com>
2021-12-18 11:21:38 -05:00
Adam
406ce7bd6b menu swapper: use menu callback for swap config
Co-authored-by: sam <dasistkeinnamen@gmail.com>
2021-12-18 11:21:29 -05:00
Wayne Li
ffaa1cce1d clues: Fix some anagrams (#14486)
Fixed spellings and wordings are confirmed from wiki crowdsourced data.
2021-12-18 04:43:41 +00:00
Viktor Horsmanheimo
4348a622bf notifier: add timeout option for Linux
Now allows to change the time a notification is shown, or if the
option is set to 0 it should use the system configuration.

Should be noted that Ubuntu and CentOS ignores these options, see
``man notify-send`` for more info.
2021-12-17 16:43:02 -05:00
Adam
e458507953 ground items: fix collapsing item examine 2021-12-16 18:03:03 -05:00
Adam
d730046cdc ge: fix showing active trade price on buy offers
The previously added script event was only for sell offers. Also remove buy limit from sell offers since it is not applicable.
2021-12-16 18:03:03 -05:00
Adam
b3c4465e73 Move hiscore client to rl-client
Thie removes the http-service hiscore api, which we haven't used in
awhile and doesn't work in practice due to upstream rate limits, as well
as the xp tracker which also hasn't been used in a long time since there
are now multiple quality community run xptrackers.
2021-12-14 20:24:22 -05:00
Adam
e04a6becd2 grandexchange: remove osb ge client 2021-12-14 18:48:37 -05:00
Zach
9e7f7d97ef widget item overlay: add group storage to showOnBank 2021-12-14 14:18:07 -05:00
Adam
1892adf6ca hiscore: add nex 2021-12-13 19:20:01 -05:00
Logan
9e06f8d5c2 emoji: add rocketship emoji 2021-12-13 19:06:58 -05:00
Alan Baumgartner
be56010800 party: add option to join previous party and join party by id
Co-authored-by: Adam <Adam@sigterm.info>
2021-12-13 18:58:25 -05:00
Adam
62bb21a516 chatchannels: display online member count
Co-authored-by: Dasgust <dasgust@gmail.com>
2021-12-13 17:49:36 -05:00
Adam
36e670112e widget inspector: add listeners 2021-12-13 17:37:38 -05:00
Wayne Li
0c76977381 hiscores: fix npe 2021-12-12 20:26:49 -05:00
Adam
51cab2a3d8 nmz: fix point overlay flickering with unlocked fps 2021-12-12 13:17:04 -05:00
Adam
a3ed6c089f gpu: add model hsl override support 2021-12-12 11:32:12 -05:00
Max Weber
24d0127e3d rl-api: use less confusing names for model indices 2021-12-12 10:37:27 -05:00
Adam
e956ed1ba7 ge plugin: compact buy offer examine text
The examine text, buy limit, trade price, and fee info does not fit on
the interface anymore since the addition of the fee info. This compacts
the examine text as well as places the limit / trade price on the same
line in order to prevent pushing the fee off of the bottom of the
border.
2021-12-12 10:02:59 -05:00
Adam
4fe37f978c friendslist: add option to hide per-friend login notifications 2021-12-10 15:06:55 -05:00
Adam
a585253d36 chatfilter: add clan message types 2021-12-10 12:32:03 -05:00
Freeburn113
3ad7fc1aad woodcutting: update respawn times from wiki 2021-12-09 23:39:04 -05:00