Commit Graph
100 Commits
Author SHA1 Message Date
Adam 033cf3bb01 cache: split loading archive files from archive loading
Also no longer store archive contents in memory and instead read it from
storage on demand.
2017-12-17 18:36:05 -05:00
Adam 21f2543059 cache: fix compression with encryption 2017-12-16 18:24:00 -05:00
Adam cba9866304 cache: remove tree storage 2017-12-16 17:50:47 -05:00
Adam 440ecd6c7c cache server: never send appended archive revision 2017-12-16 17:27:21 -05:00
Adam c31758a715 cache: test scope slf4j-simple 2017-12-16 15:58:44 -05:00
Adam a94ccedbf0 cache: use own Xtea implmentation instead of bouncycastle's 2017-12-16 15:58:43 -05:00
Adam 0049b8d34e cache: improve xtea test 2017-12-16 15:58:42 -05:00
Adam 1a6f84caa9 cache: remove whirlpool as it is not in osrs 2017-12-16 15:58:41 -05:00
Adam ea74c47d46 chat message manager: avoid adding chat messages on threads 2017-12-08 18:15:50 -05:00
Adam 4762a322f2 runelite-client: fix scheduler for concurrent modifications
Plugins can be loading and unloading while the scheduler is running
2017-12-08 17:30:29 -05:00
Adam fc944dfd34 clanchat: don't load icons more than once 2017-12-05 07:44:23 -05:00
Adam e1623f239a Move setMessage hook to end of method 2017-12-04 19:28:29 -05:00
Adam e4bac7f685 injector: support hooking to ends of methods 2017-12-04 19:28:22 -05:00
Adam 2da46e1ec3 runescape-api: fix javadoc error 2017-12-04 15:51:51 -05:00
Adam ee867992c3 injector: add construct injector to create new instances of classes 2017-12-04 14:34:44 -05:00
Adam 6bc9cccf41 runelite-client: fix infoboxes
Infobox overlay is not created by the injector so client was not being injected

Fixed from 403f7bd5d7a3d514a9dcec067cfdba622e3361b0
2017-12-02 21:00:00 -05:00
Adam 650d6a7e0d runelite-client: change AnimationChanged event to have an Actor 2017-11-30 16:46:42 -05:00
Adam b51296200a runelite-client: lombok events 2017-11-30 16:08:03 -05:00
Adam ac4703566f runelite-client: use lombok for slf4j logger creation 2017-11-30 16:08:03 -05:00
Adam c035d060ff cache: add more opcodes 2017-11-26 17:33:18 -05:00
Adam d0cb93c433 runelite-api: add Projectile 2017-11-26 11:03:47 -05:00
Adam 6b008f9107 runelite-api: don't allow varbits with MSB<LSB 2017-11-26 09:59:21 -05:00
Adam 6f4fb6d8be runelite-api: fix Tile location methods 2017-11-24 18:00:59 -05:00
Adam 1cad0c1504 runelite-api: add SpritePixels.toBufferedImage 2017-11-21 18:58:54 -05:00
Adam ac071771b0 runelite-api: add getRegionMin/MaxLocation for GameObject 2017-11-21 17:35:10 -05:00
Adam b6c90b33a6 runelite-client: fix not initializing default config
Config manager scans plugins from the plugin manager for configurations
2017-11-19 12:57:43 -05:00
Adam 42ef2e7c50 runelite-client: fix test 2017-11-18 14:56:52 -05:00
Adam 4be0d89792 Add runelite plugin archetype 2017-11-18 14:41:24 -05:00
Adam d047af14d0 runelite-client: add support for dynamically loaded plugins 2017-11-18 14:41:05 -05:00
Adam 027b495727 injector: infer whether api method is a getter or setter based on signature 2017-11-18 13:08:51 -05:00
Adam fdb5193c3e runelite-api: add distance methods to actor and tile queries 2017-11-17 17:47:05 -05:00
Adam ab297e969c runelite-api: add MenuEntry abstraction for menu arrays 2017-11-16 20:12:05 -05:00
Adam 672a24bcce cache: redump test scripts to fix tests 2017-11-14 20:03:53 -05:00
Adam 415a764c66 cache: add more cs2 instructions 2017-11-14 19:51:39 -05:00
Adam c18abcd0c0 Rename XPPanel -> XpPanel again, Windows does not like this 2017-11-13 19:13:30 -05:00
Adam fda56fb235 runelite-client: use guice for dependency injection 2017-11-13 18:05:16 -05:00
Adam 9c98f6ccbb runelite-client: fix runepouch tooltip 2017-11-12 20:51:31 -05:00
Adam feddece684 runelite-client: improve error message when injected client is not found on the classpath 2017-11-11 11:21:05 -05:00
Adam f4922169f4 runelite-client: remove now unused configuration from mouse highlight plugin 2017-11-10 13:59:55 -05:00
Adam 80bb459fc8 cache: add djb2 test 2017-11-10 11:35:01 -05:00
Adam 7b66528694 cache dao: fix findMostRecent() to sort by revision properly 2017-11-10 11:28:39 -05:00
Adam 15c484fdf8 Update 157
Unable to map annotated method Buffer.putShortLength(I)V named
putShortLength
Unable to map annotated method Buffer.putLength(I)V named putLength
Unable to map annotated method Buffer.putLEInt(I)V named putLEInt
Unable to map annotated field static LRSSocket; class15.rssocket2 named
rssocket2
Unable to map annotated field static [I class15.mapRegions named
mapRegions
Unable to map annotated field static [[[B class2.underlayIds named
underlayIds
Unable to map annotated field static [I class2.landRegionFielIds named
landRegionFielIds
Unable to map annotated field static [[I class35.xteaKeys named xteaKeys
Unable to map annotated field static [I class47.blendedSaturation named
blendedSaturation
Unable to map annotated field static [[[B class61.overlayIds named
overlayIds
Unable to map annotated field static [[[B class61.overlayRotations named
overlayRotations
Unable to map annotated field static Ljava/math/BigInteger;
class88.rsaKeyExponent named rsaKeyExponent
Unable to map annotated field static Ljava/math/BigInteger;
class88.rsaKeyModulus named rsaKeyModulus
Unable to map annotated field static LPacketBuffer;
Client.secretPacketBuffer1 named secretPacketBuffer1
Unable to map annotated field static LPacketBuffer;
Client.secretPacketBuffer2 named secretPacketBuffer2
Unable to map annotated field static I Client.packetLength named
packetLength
Unable to map annotated field static I Client.packetType named packetType
Unable to map annotated field static I Client.audioEffectCount named
audioEffectCount
Unable to map annotated field static I Client.lastFrameId named
lastFrameId
Unable to map annotated field static I Client.secondLastFrameId named
secondLastFrameId
Unable to map annotated field static I Client.thridLastFrameId named
thridLastFrameId
Unable to map annotated field static Z Client.isDynamicRegion named
isDynamicRegion
Unable to map annotated method Client.processServerPacket()Z named
processServerPacket
Unable to map annotated field static [I CombatInfoListHolder.blendedHue
named blendedHue
Unable to map annotated field static [[[B Huffman.overlayPaths named
overlayPaths
2017-11-09 08:31:32 -05:00
Adam 49d736ac47 scripts: remove old release script 2017-11-07 15:45:41 -05:00
Adam c003c64c78 runelite-client: fix checkstyle violation 2017-11-05 15:49:46 -05:00
Adam dbbdd31e2e runelite-client: make item image cache non static 2017-11-05 15:30:16 -05:00
Adam 4b6a4e42bb runelite-client: change chat message event constructor to take chat message type 2017-11-03 19:01:38 -04:00
Adam 7846a543b1 runelite-client: add setRunelite for tests 2017-11-03 19:01:13 -04:00
Adam f5e78cec16 Remove rsmv modelviewer [ci skip] 2017-10-26 20:50:20 -04:00
Adam f1de78451a README: update runelite-api description, add runelite-client description [ci skip] 2017-10-26 20:46:49 -04:00
Adam ed2a0dc92a Remove old Replace/ObfuscatedOverride 2017-10-22 13:15:06 -04:00
Adam 367bd1e1ec Add Documented annotation and javadoc to new mixin annotations 2017-10-22 10:57:54 -04:00
Adam 32eeef4a3f Update guava to 23.2-jre, place under dependencyManagement
This is to fix guava #2152 which causes ClassPath to return an empty list when the path of the classloader contains special characters
2017-10-22 10:15:26 -04:00
Adam a13ae2f749 injector: invoke method hooks with correct object type 2017-10-21 19:47:41 -04:00
Adam 38a9ccc976 Update checkstyle to version 8.3 2017-10-20 20:03:35 -04:00
Adam e0e07a4fb8 runelite-client: dynamically find plugins from classpath scanning 2017-10-20 17:20:58 -04:00
Adam 6792f2570a Use player indices to iterate local players 2017-10-17 17:16:01 -04:00
Adam 10a494a2b7 Use npc indices to iterate local npcs 2017-10-17 17:15:58 -04:00
Adam 7c79a3b845 runelite-client: update substance to 7.1.00-rc
Fixes color slider being inverted
2017-10-14 09:16:31 -04:00
Adam b595563bad combat notifier: reset on game state change 2017-10-14 09:08:10 -04:00
Adam cf2487529b Set default query predicate to always true 2017-10-14 08:37:48 -04:00
Adam 9807ed8ccf runelite-client: show runepouch runecount in thousands
It is too hard to read with >3 characters
2017-10-13 08:09:24 -04:00
Adam 8a03cca83d runelite-client: fix loading hiscore plugin resources on case sensitive filesystems 2017-10-10 15:52:23 -04:00
Adam 34d277c169 trackloader: refactor more midi messages 2017-10-08 16:20:49 -04:00
Adam 2cb8f0fe50 cache: fix assembler test 2017-09-29 12:33:15 -04:00
Adam a82742d0f6 opcodes: forgot to name a few 2017-09-29 12:14:33 -04:00
Adam 901ff8e5cc cache: update opcodes 2017-09-29 12:06:03 -04:00
Adam 9936fe352a cache: update world map dumper for Areas 2017-09-29 10:10:11 -04:00
Adam a58dca9cd0 xteakeymanager: don't explode if key loading fails 2017-09-28 22:59:49 -04:00
Adam 3414e27bd6 account service: use common gson 2017-09-28 22:59:49 -04:00
Adam a8ecde7913 xtea client: fix checkstyle violation 2017-09-28 22:40:05 -04:00
Adam 72ee72d38e xteakeymanager: load keys from api 2017-09-28 22:34:07 -04:00
Adam a5f6da90d5 cache: remove runelite api dependency 2017-09-28 22:17:57 -04:00
Adam 8cf0e1cc8d cache: set protocol on downloaded indexes too 2017-09-28 21:28:25 -04:00
Adam 593e93b13d cache: fix writeBigSmart 2017-09-28 21:27:56 -04:00
Adam ba4447d8b8 cache: update cache version to 154 2017-09-28 20:51:31 -04:00
Adam 58b34d0fc0 xtea: validate submitted keys and make them not unique per revision 2017-09-28 19:28:42 -04:00
Adam f1bc016cf9 cache: use the most recent cache instead of the archive with the highest revision, which isn't always reliable 2017-09-28 19:22:56 -04:00
Adam 16aff43607 http-service: disable csrf protection which got enabled from the cache security manager 2017-09-28 19:22:08 -04:00
Adam 7ce893af7b cache: store index and archive crcs, and check them for updates too
Switch archive storage to CAS as sometimes archives change content without changing revision
2017-09-24 15:44:16 -04:00
Adam 714547e1bf cachedao: use prepared statement for finding files in archive 2017-09-21 18:00:21 -04:00
Adam 76b2d36704 cache: netty-ize client and server 2017-09-17 13:34:54 -04:00
Adam 744f912d1a http-service: update cache storage 2017-09-11 17:08:43 -04:00
Adam 7ccd74458c cache: fix tree storage test by sorting files prior to adding
Change archive.addFile(int) -> addFile(FSFile)
2017-09-11 16:59:48 -04:00
Adam cbfa298ac2 cache: add generated equals/hashCode to ArchiveFiles 2017-09-11 16:38:50 -04:00
Adam 94530bda30 http-service: add cache service 2017-09-11 16:25:25 -04:00
Adam a005ad0924 http-service: use gson for serialization, pretty print 2017-09-11 16:25:25 -04:00
Adam ea7a9257b3 http-api: add cache pojos 2017-09-11 16:25:25 -04:00
Adam ed05ab93a5 cache client: download indexes even if revision is up to date
Also add DownloadWatcher to watch download progress
2017-09-11 16:25:25 -04:00
Adam 218333e97c cache: split archive file processing out from archive 2017-09-11 16:25:25 -04:00
Adam 2cc0eb4766 http-service: use spring externalized configuration for oauth id/secret 2017-09-10 13:20:54 -04:00
Adam 78f5ddcd3a cache: split storage apart from Store 2017-09-05 20:05:41 -04:00
Adam 1b5cd87351 cache: fix not creating files in cache client 2017-09-05 19:55:17 -04:00
Adam dcdcfc7420 cache: make slf4j implementation optional for others which pull it in 2017-09-05 19:54:51 -04:00
Adam c4833cd435 Downgrade surefire plugin to one which more reliably shows stacktraces in Netbeans 2017-09-05 19:54:12 -04:00
Adam ce250f789e cache: throw less out of download() 2017-09-03 22:02:23 -04:00
Adam 9e00655326 cache: use newer index data parser for cache client 2017-09-03 21:54:59 -04:00
Adam bf4436178d cache: split index data reading off. It is shared with the cache client too. 2017-09-03 20:49:58 -04:00
Adam bee7bcec37 cache: overwrite archive crc/revision with stored version on mismatch 2017-09-03 19:46:42 -04:00
Adam 69b85e41b2 cache: expand on revision/crc mismatch warnings 2017-09-03 19:25:09 -04:00
Adam 684bf70719 cache: rename File to FSFile 2017-09-03 16:46:34 -04:00