Petr Mrázek
e7f79c9076
Remove some old forge hacks
...
Forge apparently removed all `.pack.xz` files without warning.
It broke a bunch of stuff, as always. But it also means we don't need some ugly code anymore.
This is removed:
- Support for 'forge-pack-xz' and the forge-specific file download compression.
- The pack200 library we no longer need.
This stays:
- The LZMA decompression library - we may still want to use it.
2020-05-19 15:13:16 +02:00
Petr Mrázek
3f6aecf5a2
GH-2475 fix reporting missing local libraries on launch
2018-11-26 03:06:58 +01:00
Petr Mrázek
17e09a292d
NOISSUE read local libraries only from the local location
...
This removes the fallback to global `libraries` folder for `local` libraries.
2018-11-11 23:50:36 +01:00
Petr Mrázek
8a7f1e405f
NOISSUE take forge xz download url base from the metadata file
...
Instead of hardcoding it.
2018-11-04 13:41:21 +01:00
Petr Mrázek
58260da861
NOISSUE remove use of obsolete URL constants, simplify the rest
2018-11-04 13:18:35 +01:00
Petr Mrázek
bbb3b3e6f6
NOISSUE tabs -> spaces
2018-07-15 14:51:05 +02:00
Petr Mrázek
7fe94ca7b4
NOISSUE fix all sorts of warnings, enable Werror
and pedantic
2018-06-28 23:18:45 +02:00
Petr Mrázek
3eebc641f9
GH-2026 fix native library downloads
...
If a single library had both native and java jars, they would randomly get confused.
2017-10-28 21:12:12 +02:00
Petr Mrázek
e76e6329cd
NOISSUE Revert all recent changes to NetAction and NetJob
2017-05-03 23:13:49 +02:00
Petr Mrázek
0efa714ba5
NOISSUE replace std::shared_ptr with shared_qobject_ptr for all download tasks
2017-05-03 21:09:36 +02:00
Petr Mrázek
c4c8e99681
NOISSUE jar mods as libraries, fix for customizing net.minecraft
2017-04-17 22:51:30 +02:00
Petr Mrázek
fc28aacdea
NOISSUE stop using the path
attributes from Mojang download info
...
It really should not dictate how are things stored and it just makes
the metadata bigger for no reason.
2017-04-15 11:40:22 +02:00
Petr Mrázek
8e58d61150
NOISSUE fix issue with the narrator feature by splitting java and native libraries
2017-04-07 00:20:02 +02:00
Petr Mrázek
2ac0edbbdb
NOISSUE preview of LWJGL version changing
...
It still needs work - some LWJGL versions are exclusive to macOS.
This has to be encoded in the json.
2017-04-07 00:20:02 +02:00
Petr Mrázek
dd0e996081
GH-1697 always stale files tolerate errors if a local copy is present
...
This fixes the situation when liteloader snapshot site is broken
and there's an older local snapshot already present.
2016-10-28 02:19:19 +02:00
Petr Mrázek
6e80f03409
NOISSUE add instance-local library storage
...
Any libraries stored in $instanceroot/libraries/ will override
the libraries from MultiMC's global folders, as long as they are marked 'local'
in the json patch.
2016-10-02 00:26:10 +02:00
Petr Mrázek
d4109938fe
NOISSUE implement 'always-stale' cache entries
2016-06-13 21:53:56 +02:00
Petr Mrázek
a1abbd9e05
NOISSUE refactor *Download into more, smaller pieces
...
* Download is now Download.
* Download uses Sink subclasses to process various events.
* Validators can be used to further customize the Sink behaviour.
2016-06-05 23:55:39 +02:00
Petr Mrázek
b6d455a02b
NOISSUE reorganize and document libraries
2016-05-01 00:00:14 +02:00