Commit Graph

17417 Commits

Author SHA1 Message Date
Adam
1a88fcc57b loot manager: add nex 2022-01-05 15:58:51 -05:00
JumpIfZero
9da28cd644 project: add missing api changes from #3105 2022-01-05 17:23:48 +02:00
Adam
ce56056e2f ge plugin: disable fuzzy search if search event is consumed
This allows other plugins which replace the search results, such as the bank
tags plugin, to not get overwritten by the fuzzy search.
2022-01-04 19:57:16 -05:00
Adam
409a4ab4e9 slayer plugin: support fake xpdrops 2022-01-04 19:53:50 -05:00
Henry Darnell
2c599768d7 login screen: Add random override option (#14341) 2022-01-04 23:51:31 +00:00
testing-ongithub
b0234eb013 Don't force focus on tray icon click on macOS when already focused 2022-01-04 18:17:09 -05:00
Adam
060cb31a6c Merge pull request #14550 from abextm/phub-cache-longer
rl-client: keep plugin hub jars around for longer
2022-01-04 18:16:34 -05:00
Adam
198724bb03 api: add new head icons 2022-01-04 18:16:02 -05:00
Justin
1eb83c4eb2 Merge pull request #3106 from SRLJustin/mac_crash
project: made MacOSQuitStrategy java11 compatable
2022-01-05 05:03:43 +11:00
SRLJustin
29aa3ac50b Merge remote-tracking branch 'origin/master' into mac_crash
# Conflicts:
#	runelite-client/src/main/java/net/runelite/client/ui/MacOSQuitStrategy.java
2022-01-05 04:44:50 +11:00
SRLJustin
104aa7344d project: add MacOSQuitStrategy 2022-01-05 04:44:14 +11:00
Justin
ccb9f67b07 Merge pull request #3105 from SRLJustin/upstream-03012022
upstream: merge
2022-01-04 16:54:53 +11:00
Justin
6eb91e06c5 Merge branch 'master' of https://github.com/runelite/runelite into upstream-03012022
 Conflicts:
	runelite-api/src/main/java/net/runelite/api/WallObject.java
2022-01-04 13:23:56 +11:00
Justin
8f1f87c974 http-api: remove pom 2022-01-04 13:18:27 +11:00
Justin
b3cd9b7867 runeliteapi: cleanup 2022-01-04 13:18:05 +11:00
Max Weber
fc4f181364 rl-client: keep plugin hub jars around for longer
if you started 2 clients with different configs at the same time one
client could delete files out from under the other while it was trying
to load them, causing them to fail to load
2022-01-03 18:19:16 -07:00
Adam
fb035a8c13 world map: remove quest icon load retry if not logged in
The quest icons are also loaded on world map open, so all this has to do is
load the icons if the player is logged in with the map open at the time the
plugin is started.
2022-01-03 14:30:42 -05:00
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
a8e2e88810 api: add getConfig to deco, game, and ground objects
Additionally fix the wall object orientation javadoc, the returned value is an angle
2022-01-02 19:48:07 -05:00
Justin
abaaeed838 Merge pull request #3104 from Sundar-Gandu/master
mixin: add setter and change getter name for widget variable
2022-01-03 04:09:57 +11:00
Justin
0ad56a8c1d XteaKeyManager: optmized imports 2022-01-03 04:04:43 +11:00
Justin
81969602f7 upstream: merge 2022-01-03 04:00:10 +11:00
Justin
88af9303a6 upstream: merge 2022-01-03 02:56:01 +11:00
Justin
d7f72f79eb Revert "Remove http-api and http-service"
This reverts commit 055f5c2d
2022-01-03 02:19:20 +11:00
Justin
2f9e0d2787 Merge branch 'master' of https://github.com/runelite/runelite into upstream-03012022
 Conflicts:
	README.md
	cache-client/pom.xml
	cache-updater/pom.xml
	cache/pom.xml
	cache/src/test/java/net/runelite/cache/SpritePixelsManagerTest.java
	config/checkstyle/checkstyle.xml
	config/checkstyle/suppressions.xml
	deobfuscator/src/main/java/net/runelite/asm/attributes/code/instructions/BALoad.java
	deobfuscator/src/main/java/net/runelite/asm/pool/Class.java
	deobfuscator/src/main/java/net/runelite/deob/DeobProperties.java
	deobfuscator/src/main/java/net/runelite/deob/deobfuscators/lvt/LVTType.java
	deobfuscator/src/test/java/net/runelite/asm/annotations/MyAnnotation.java
	deobfuscator/src/test/java/net/runelite/asm/execution/mapper/StaticStepTest.java
	deobfuscator/src/test/java/net/runelite/deob/deobfuscators/UnusedParametersTest.java
	deobfuscator/src/test/java/net/runelite/deob/deobfuscators/transformers/buffer/BufferFinderTest.java
	deobfuscator/src/test/java/net/runelite/deob/deobfuscators/unusedclass/ClassA.java
	deobfuscator/src/test/java/net/runelite/deob/deobfuscators/unusedclass/EmptyClass.java
	http-api/src/main/java/net/runelite/http/api/RuneLiteAPI.java
	http-api/src/main/java/net/runelite/http/api/item/ItemStats.java
	http-api/src/main/resources/runelite.properties
	injection-annotations/src/main/java/net/runelite/api/mixins/Mixins.java
	pom.xml
	runelite-api/pom.xml
	runelite-api/src/main/java/net/runelite/api/Frames.java
	runelite-api/src/main/java/net/runelite/api/events/NpcActionChanged.java
	runelite-api/src/main/java/net/runelite/api/events/PlayerSkullChanged.java
	runelite-api/src/main/java/net/runelite/api/events/WidgetPressed.java
	runelite-api/src/main/java/net/runelite/api/queries/InventoryItemQuery.java
	runelite-api/src/main/java/net/runelite/api/util/JagexPrintableCharMatcher.java
	runelite-client/pom.xml
	runelite-client/src/main/java/com/openosrs/client/events/OPRSPluginChanged.java
	runelite-client/src/main/java/com/openosrs/client/events/OPRSRepositoryChanged.java
	runelite-client/src/main/java/com/openosrs/client/game/AttackStyle.java
	runelite-client/src/main/java/net/runelite/client/ClientSessionManager.java
	runelite-client/src/main/java/net/runelite/client/RuneLite.java
	runelite-client/src/main/java/net/runelite/client/RuneLiteModule.java
	runelite-client/src/main/java/net/runelite/client/SessionClient.java
	runelite-client/src/main/java/net/runelite/client/config/ConfigManager.java
	runelite-client/src/main/java/net/runelite/client/game/ItemClient.java
	runelite-client/src/main/java/net/runelite/client/game/ItemManager.java
	runelite-client/src/main/java/net/runelite/client/game/WorldService.java
	runelite-client/src/main/java/net/runelite/client/plugins/xptracker/XpData.java
	runelite-client/src/main/java/net/runelite/client/plugins/xtea/XteaClient.java
	runelite-client/src/main/java/net/runelite/client/util/PvPUtil.java
	runelite-client/src/main/resources/net/runelite/client/runelite.properties
	runelite-client/src/test/java/net/runelite/client/config/ConfigManagerTest.java
	runelite-client/src/test/java/net/runelite/client/plugins/raids/RaidsPluginTest.java
	runelite-client/src/test/java/net/runelite/client/plugins/xptracker/XpTrackerPluginTest.java
	runelite-jshell/pom.xml
	runelite-mixins/src/main/java/net/runelite/mixins/ProcessClientErrorMixin.java
	runelite-mixins/src/main/java/net/runelite/mixins/RSTextureMixin.java
	runelite-script-assembler-plugin/pom.xml
	runescape-api/src/main/java/net/runelite/rs/api/RSAbstractRasterProvider.java
	runescape-api/src/main/java/net/runelite/rs/api/RSDecimator.java
	runescape-api/src/main/java/net/runelite/rs/api/RSFrames.java
	runescape-api/src/main/java/net/runelite/rs/api/RSProjectile.java
	runescape-api/src/main/java/net/runelite/rs/api/RSRasterProvider.java
	runescape-api/src/main/java/net/runelite/rs/api/RSScriptEvent.java
	runescape-api/src/main/java/net/runelite/rs/api/RSUsername.java
	runescape-client/src/test/java/ISAACCipherTest.java
2022-01-03 02:04:47 +11: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
Adam
cb8788c38f Merge pull request #14536 from keyosk/roof-removal-poh-fixes
Roof removal poh fixes
2021-12-31 14:54:42 -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
Runelite auto updater
92846981f0 Bump for 1.8.9-SNAPSHOT 2021-12-30 16:13:58 +00:00
Runelite auto updater
fc5a7575c5 Release 1.8.8 2021-12-30 16:13:47 +00:00
Adam
430d8a081a Merge pull request #14529 from Hydrox6/roof-removal-poh
roof removal: a POH override and feature
2021-12-30 10:49:00 -05:00
Sundar-Gandu
66ed22607d mixin: change widget getPitch to getPadding 2021-12-30 00:33:16 -05:00
Sundar-Gandu
beffea2b18 mixin: Add setter for widget padding 2021-12-30 00:33:16 -05:00
Hydrox6
13154de18f roof removal: add support for always hiding roofs in POH 2021-12-30 02:49:59 +00:00
Hydrox6
7bacb13ac5 roof removal: add overrides for unused area in the POH dungeon 2021-12-30 02:49:48 +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
Hydrox6
99d0a61cc4 worldpoint: use passed plane when getting instance chunk for localpoint
Without this, fromLocalInstance can only find the template chunk for
the player's current plane.
2021-12-30 01:54:09 +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
98279d4cfd api: add arguments and mousey to scriptevent 2021-12-28 12:24:34 -05:00
illumineawake
e466a689f8 client: correctly return Group Ironman account types (#3103)
* client: correctly return Group Ironman account type

* client: correctly return Hardcore Group Ironman account type
2021-12-27 18:14:47 -05: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