Commit Graph
11919 Commits
Author SHA1 Message Date
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
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
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
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 055f5c2d2b Remove http-api and http-service
These are being split into a separate repository at https://github.com/runelite/api.runelite.net
2021-12-24 13:19:45 -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
Owain van Brakel 9914ca8058 project: checkstyle 2021-12-23 04:37:11 +01:00
Owain van Brakel 7ad3563097 Merge remote-tracking branch 'runelite/master' 2021-12-22 15:08:16 +01: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
Owain van Brakel 25d04dad75 Merge remote-tracking branch 'runelite/master' 2021-12-21 20:04:23 +01: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
Adamandsam 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
Adamandsam 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
Adamandsam 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
JumpIfZero 8389cb8e74 Merge remote-tracking branch 'rl-upstream/master' into rl-upstream-1812 2021-12-18 00:38:09 +02: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
Owain van Brakel 1e9dbf9a3c Merge remote-tracking branch 'runelite/master' 2021-12-17 14:14:24 +01: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
Owain van Brakel 939a3bac5e project: Actually save slider values 2021-12-16 18:39:18 +01:00
Owain van Brakel ef43513502 project: People want their buttons back apparently... 2021-12-16 18:25:57 +01:00
Owain van Brakel 3d2f6cf54a Merge remote-tracking branch 'runelite/master' 2021-12-16 13:04:56 +01:00
Runelite auto updater 3c33d89a16 Bump for 1.8.8-SNAPSHOT 2021-12-16 11:55:12 +00:00
Runelite auto updater 53917cd343 Release 1.8.7 2021-12-16 11:55:09 +00: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
Max Weber a79b73c9b0 rl-client: add timestamp script 2021-12-15 18:54:03 -07:00
RuneLite Cache-Code Autoupdater f0ac473ba6 Update Item variations to 2021-12-16 2021-12-15 18:12:31 -07:00
RuneLite Cache-Code Autoupdater ddd74ab313 Update Scripts to 2021-12-16 2021-12-15 18:12:31 -07:00
Owain van Brakel 7ef3e6b980 project: Make Rl their config sets a lot less ugly and more user friendly 2021-12-15 21:27:20 +01:00
Owain van Brakel dfc6c0c259 project: Add back missing config features 2021-12-15 20:37:27 +01:00