Commit Graph

725 Commits

Author SHA1 Message Date
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
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
Owain van Brakel
df5e3e2334 project: Add a bit of backward compatibility to the reworked menus 2021-12-16 10:19:51 +01:00
Owain van Brakel
a42c845ad3 project: Implement the new menu entry handling 2021-12-16 09:45:44 +01:00
Owain van Brakel
8b80c0b71f Merge remote-tracking branch 'runelite/master' 2021-12-15 05:49:19 +01:00
Owain van Brakel
62a5942180 Merge remote-tracking branch 'runelite/master' 2021-12-15 05:39:29 +01: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
Ron Young
a0c14cf06a api: MenuEntry::setDeprioritized return self 2021-12-11 18:06:45 -05:00
Adam
4fe37f978c friendslist: add option to hide per-friend login notifications 2021-12-10 15:06:55 -05:00
Adam
409d0dda76 api: make MenuEntry an interface
This adds a new createMenuEntry api method to make MenuEntries instead.
Menu entries now have an associated callback called when they are
clicked on, avoiding most plugins from having to hook separately to
detect the menu click. Additionally get/set type has changed to take a
MenuAction.
2021-12-09 13:56:40 -05:00
Justin
8d5c68eae7 Merge branch 'master' of https://github.com/runelite/runelite into upstream_0712 2021-12-07 12:19:59 +11:00
Adam
a05655f412 screenshot plugin: test screenshot filenames 2021-12-05 12:13:18 -05:00
Adam
9564e13d0f screenshot plugin: add combat achievements
Co-authored-by: Evan <55665020+EvanDeadlySins@users.noreply.github.com>
2021-12-05 12:06:28 -05:00
Justin
f41d8905ee Merge branch 'master' of https://github.com/runelite/runelite into upstream-2122021
 Conflicts:
	cache-client/pom.xml
	cache-updater/pom.xml
	cache/pom.xml
	http-api/pom.xml
	http-service/pom.xml
	pom.xml
	runelite-api/pom.xml
	runelite-api/src/main/java/net/runelite/api/MenuAction.java
	runelite-client/pom.xml
	runelite-client/src/main/java/net/runelite/client/config/ConfigManager.java
	runelite-client/src/main/java/net/runelite/client/plugins/chathistory/ChatHistoryPlugin.java
	runelite-client/src/main/java/net/runelite/client/plugins/config/ConfigPanel.java
	runelite-client/src/main/java/net/runelite/client/plugins/worldhopper/WorldSwitcherPanel.java
	runelite-jshell/pom.xml
	runelite-script-assembler-plugin/pom.xml
2021-12-02 09:06:51 +11:00
Adam
90f200be53 chat message manager: don't apply color changes to message nodes
Apply the color changes at chat build time directly to the message being
set on the component, instead of prepending the color change onto the
message itself.

This is a bit more robust since it doesn't break things which depend on
the chat message not starting with a color, which they would not
otherwise, such as the chat filter.
2021-11-28 17:34:21 -05:00
Justin
41a5f5fbbc Merge branch 'master' of https://www.github.com/runelite/runelite into 23112021 2021-11-23 20:19:50 +11:00
Adam
e36e362aa1 chat commands: update duel arena messages 2021-11-18 17:23:06 -05:00
Adam
58bc37f051 screenshot: update duel arena messages 2021-11-18 17:23:06 -05:00
Justin
a3f23037c7 Merge remote-tracking branch 'rl/master' 2021-11-15 10:35:00 +11:00
Adam
1362af414a chat filter: Ignore character accents for matching
This lets plain latin-character filters to match messages with accents
and diacritics which are not easily typed on all keyboard layouts.

Co-authored-by: Jordan Atwood <jordan.atwood423@gmail.com>
2021-11-13 10:15:42 -05:00
Adam
67f7e7f488 clues test: remove unnecessary stubbing 2021-11-12 20:02:42 -05:00
Hydrox6
32ff64b30c clues: make item requirements work with the runepouch 2021-11-11 21:03:52 -08:00
Owain van Brakel
2f90cf3075 Merge remote-tracking branch 'runelite/master' 2021-11-04 21:41:32 +01:00
Tal Skverer
e50b0f61a8 timers: Track imbued heart timer from varbit 2021-11-04 11:46:28 -07:00
Owain van Brakel
99bd6c08cd Merge remote-tracking branch 'runelite/master' 2021-10-28 11:01:49 +02:00
Tal s
533bcd26be woodcutting: Add clue nest notification config (#14132) 2021-10-27 21:21:43 +00:00
Owain van Brakel
65fd9b22c7 Merge remote-tracking branch 'runelite/master' 2021-10-27 03:29:13 +02:00
Adam
4187db4059 prayer: fix sanfew prayer dose indicator
The plugin was incorectly computing the amount of prayer sanfews restore
2021-10-26 14:53:19 -04:00
Owain van Brakel
3e3ba784ea Merge remote-tracking branch 'runelite/master' 2021-10-01 10:42:22 +02:00
Jordan Atwood
7b678b2afb skill calculator: Define actions and bonuses in Java
As the number of bonus types increases, the existing system of allowing
only a single type of bonus to be applied, and only allowing actions to
entirely opt out of having bonuses applied rather than more fine-grained
control, is showing its age. This commit redefines all bonus and action
entries in Java enums so that such systems can be better-defined.
Additionally, it comes with the benefit of easier change validation via
testing and enabling item and sprite ID referencing via runelite-api.
2021-09-28 22:05:00 -04:00
superiorser9
0d0e75b825 screenshot: Capture collection log popup notifications 2021-09-24 01:18:30 +02:00
Jordan
1b49afa56b Merge pull request #14019 from superiorser9/notification-screenshot
ScreenshotPlugin: support collection log popup
2021-09-21 07:34:24 +00:00
superiorser9
8345f6c7bd screenshot: Capture collection log popup notifications 2021-09-21 00:28:13 -07:00
Owain van Brakel
7644d5e2d1 Merge remote-tracking branch 'runelite/master' 2021-09-21 04:41:13 +02:00
Jordan Atwood
d27f5f9a76 api: Add getMirrorPoint to WorldPoint API 2021-09-19 15:10:12 -04:00
Owain van Brakel
b8db5fc00e Merge remote-tracking branch 'runelite/master' 2021-09-15 15:34:42 +02:00
Jordan Atwood
d58cecdb8d idle notifier: Support filling water vessels, Shades of Mort'ton
LOOKING_INTO is a generic animation used for numerous activities, and
was previously used as an intermediate animation in a test case. Now
that it is used to trigger idle notifications, a dummy animation has
been inserted to ensure the affected test case will not be broken in the
same way in the future.

Co-authored-by: Nick Wolff <nickwolff2@gmail.com>
Co-authored-by: Arnaud Peralta <arnaud.peralta@gmail.com>
2021-09-13 23:33:03 -07:00
Owain van Brakel
8e47e8106d Merge remote-tracking branch 'runelite/master' 2021-09-07 07:48:07 +02:00
Adam
c52667a5cc Move npc highlight overlay to core
This allows the other plugins which depend on the npc overaly to work
when npc highlight plugin is off, while still letting them use the
consistent highlight style of the central overlay.
2021-09-06 21:45:14 -04:00
Owain van Brakel
b79712bc56 Merge remote-tracking branch 'runelite/master' 2021-08-25 06:18:52 +02:00
Adam
c3c1222570 chat commands: update to parse new adv log pb counters 2021-08-23 17:03:07 -04:00
Adam
e9665f3504 implings plugin: use npc indicators for impling overlay 2021-08-22 16:51:51 -04:00
Adam
442c6105ce chat commands: rename tob story mode to entry mode 2021-08-22 15:33:08 -04:00
Owain van Brakel
babec73bf2 Merge remote-tracking branch 'runelite/master' 2021-08-22 02:56:44 +02:00
Adam
e9c252e227 chat channel: fix join/leave world hop detection
The ChatPlayers do not implement equals or hashCode, making them
unsuitable as a hashmap key. Instead just use a linked list and compare
the members using the comparable interface.
2021-08-21 15:41:53 -04:00
Cyborger1
bd762cc0da text: don't remove double spaces in toJagexName 2021-08-16 10:40:05 -04:00
Owain van Brakel
9dd9a2c27a Merge remote-tracking branch 'runelite/master' 2021-08-15 23:10:04 +02:00
Adam
33ff3a2749 npc indicators: add fill color config 2021-08-11 19:30:07 -04:00