Commit Graph

693 Commits

Author SHA1 Message Date
Petr Mrázek
478ff11485 GH-1355 do not allow setting LD_LIBRARY_PATh for Minecraft to the MultiMC bin folder 2015-12-18 05:43:44 +01:00
Petr Mrázek
b5902b739e GH-1338: mark asset index as stale during instance update
This forces an update for assets changing on mojang servers
2015-11-19 22:20:40 +01:00
Petr Mrázek
125abf5027 NOISSUE rename QObjectPtr to shared_qobject_ptr, introduce unique_qobject_ptr, refactor MainWindow to match 2015-10-20 17:18:53 +02:00
Petr Mrázek
7ef1f88de7 NOISSUE fix non-zero exit code from minecraft not being a 'crash' 2015-10-18 02:35:47 +02:00
Petr Mrázek
432e812da1 GH-1275 create server-resource-packs folder on launch
This is a workaround for Minecraft bug MCL-3732
2015-10-12 17:55:10 +02:00
Petr Mrázek
457dd2e94e NOISSUE make the compiler more evil 2015-10-11 19:56:31 +02:00
Petr Mrázek
44db72ead5 GH-93 add an option to not copy saves on instance copy 2015-10-10 05:55:55 +02:00
Petr Mrázek
4fbcb3efb9 GH-1268 ... and catch the inevitable errors 2015-10-05 23:52:23 +02:00
Petr Mrázek
439c6b43a3 GH-1268 simplify and fix instance group file IO 2015-10-05 23:48:38 +02:00
Petr Mrázek
4a900a58d4 NOISSUE missed a few places... 2015-10-05 01:53:09 +02:00
Petr Mrázek
f93f867c3d NOISSUE dissolve util library 2015-10-05 01:47:27 +02:00
Petr Mrázek
ae4216de61 GH-719 implement paste.ee API keys 2015-10-02 00:12:53 +02:00
Petr Mrázek
ac8ff88061 GH-729 use mod mmc_id as name when name is empty 2015-09-30 23:30:55 +02:00
Petr Mrázek
477a1a88c6 GH-1262 fix relative paths for java binaries 2015-09-30 22:52:55 +02:00
Petr Mrázek
e2fd299fc5 GH-253 implement launching instances from command line 2015-09-30 00:11:00 +02:00
Petr Mrázek
ccb5fc6f4a GH-1072 use crafatar for grabbing the user skin 2015-09-28 22:43:57 +02:00
Petr Mrázek
143e24fa04 NOISSUE clean up some old cmake messes 2015-09-28 20:53:46 +02:00
Petr Mrázek
271ad9e4fd GH-1072 split resource system to UI and logic parts 2015-09-26 13:45:29 +02:00
Petr Mrázek
cca6700134 NOISSUE fix all clang warnings 2015-09-26 04:04:09 +02:00
Petr Mrázek
5d5bee4992 GH-1238 re-integrate nbt library 2015-09-23 01:21:19 +02:00
Petr Mrázek
e60a652b78 GH-1217 reset time played on zip pack import 2015-09-22 01:25:34 +02:00
Petr Mrázek
9ba1cd15e7 GH-1217 add simple instance play time tracking
Not reliable in the face of crashes... but what is?
2015-09-22 01:06:45 +02:00
Petr Mrázek
b107617112 GH-1121 select instance after creating it 2015-09-16 00:21:50 +02:00
Petr Mrázek
8d3f13c447 GH-1227 add world copy and rename 2015-09-14 23:49:32 +02:00
Petr Mrázek
dd8eacee1b GH-1227 renam GZip functions to not collide with zlib macros 2015-09-14 02:36:03 +02:00
Petr Mrázek
e38cc1d480 GH-1227 add GZip compress function and a unit test fo GZip 2015-09-14 02:25:47 +02:00
Petr Mrázek
8ef07ec634 GH-1227 allow structured world zip import and drag and drop out of MultiMC 2015-09-13 04:21:26 +02:00
Petr Mrázek
db5816b0a2 GH-1227 fix zlib nonsense on Windows 2015-09-10 00:02:02 +02:00
Petr Mrázek
a1fd50e920 GH-1227: World import using drag and drop - zip files and folders 2015-09-09 23:53:33 +02:00
Petr Mrázek
36dbf1fb43 GH-1233 do not load worlds when not needed 2015-09-08 21:22:23 +02:00
Petr Mrázek
1ca9fc8961 NOISSUE catch more errors from nbt lib 2015-09-08 09:28:14 +02:00
Petr Mrázek
38693e1d6c GH-1047 parse world files and integrate MCEdit with world page 2015-09-06 23:35:58 +02:00
Alex
b5d5490714 Copyright fixes for new code 2015-09-06 16:00:07 +02:00
Alex
83434a9be5 Comment changes and general cleanup 2015-09-06 16:00:07 +02:00
Alex
583e5946f4 GH-1047 World management for instances. Removal only currently. 2015-09-06 16:00:07 +02:00
Petr Mrázek
6496c65285 SCRATCH do not export the pure template 2015-09-05 19:23:46 +02:00
Petr Mrázek
db5e55e026 SCRATCH NetAction fix 2015-09-05 19:10:03 +02:00
Petr Mrázek
23d0bd8edd NOISSUE make shared logic library ... shared 2015-09-05 18:46:57 +02:00
Petr Mrázek
cd108fd029 GH-1223 fix override settings
They now work more like passthrough settings, except not passing through set and reset
2015-09-04 02:10:29 +02:00
Petr Mrázek
151a0ca11e GH-1124 tell user which java path is wrong. 2015-08-24 09:38:05 +02:00
Petr Mrázek
bc917668ff GH-1133 fix bad java path detection some more 2015-08-24 00:56:45 +02:00
Petr Mrázek
c5bb33c716 GH-1158 generate client uuid for yggdrasil auth 2015-08-22 00:42:40 +02:00
Petr Mrázek
9681f724e5 NOISSUE revamp the minecraft log exception detection 2015-08-19 23:50:36 +02:00
Petr Mrázek
5bc29b06a9 NOISSUE fix log-related legacy instance crash and show hidden log files 2015-08-19 02:04:56 +02:00
Petr Mrázek
96fdaebb5c GH-926 implement log cleaning functionality
Also adds gzip compressed log support
2015-08-18 08:51:12 +02:00
Petr Mrázek
4e3af265da GH-1164 make sure the censor filter never contains empty keys 2015-08-16 02:17:50 +02:00
Petr Mrázek
8ed10c5b81 NOISSUE fix build on windows - pid -> processId 2015-08-14 01:01:50 +02:00
Petr Mrázek
d8caab515a GH-1053 add back update progress dialog 2015-07-26 17:55:29 +02:00
Petr Mrázek
6310f6569c GH-1053 move guessLevel to instances 2015-07-22 09:01:04 +02:00
Petr Mrázek
2fc18921b0 GH-1053 add launch step creation to legacy instances 2015-07-21 09:21:59 +02:00
Petr Mrázek
61c5a67777 GH-1053 explode launch task into many small steps, each a Task 2015-07-21 02:38:15 +02:00
Petr Mrázek
8e7caf4e25 GH-1053 move launch related things and rename them 2015-07-10 01:11:06 +02:00
Petr Mrázek
5dd48e89f5 GH-1034 do jar modding separate from update 2015-07-10 00:06:05 +02:00
Petr Mrázek
5133b0f34f GH-1053 cleanup 2015-07-05 02:47:22 +02:00
Petr Mrázek
7f1320390c GH-1053 move launch process UI to a separate class 2015-07-05 01:54:30 +02:00
Petr Mrázek
526a511f45 GH-1053 move instance update into the launch task (BaseLauncher) 2015-07-04 20:02:43 +02:00
Petr Mrázek
5628d3d379 SCRATCH squash MinecraftLauncher into BaseLauncher
needs to be split differently
needs to be squashed together with the logic from MainWindow
2015-06-30 07:16:20 +02:00
Petr Mrázek
f86a39c21c SCRATCH fix BaseLauncher 2015-06-30 07:16:20 +02:00
Petr Mrázek
34ddfc7ecc GH-1053 base process and launch refactor, part 1 2015-06-30 07:16:20 +02:00
Petr Mrázek
f723721bd0 GH-1069 env hack/passthhrough for LD_PRELOAD and LD_LIBRARY_PATH 2015-06-12 09:40:41 +02:00
Petr Mrázek
b427a652ad GH-1009 use .sh instead of .pyc - .pyc doesn't work at all 2015-06-11 02:33:02 +02:00
Petr Mrázek
1feb4bb387 GH-1009 add mcedit.pyc as a valid mcedit 'executable' 2015-06-10 23:51:05 +02:00
Petr Mrázek
15b7c3039a GH-1060 update tweaks
* download to multimc folder hierarchy
* use rename, not copy
* keep backup after update
* clean previous backup before update
* it's not 'copy', it's 'replace'
2015-06-09 23:30:28 +02:00
Petr Mrázek
82e05661d2 GH-1060 implement very basic updater (only linux and maybe osx right now) 2015-06-09 00:03:42 +02:00
Petr Mrázek
166813cb91 GH-1060 remove some old updater bits and pieces 2015-06-09 00:03:42 +02:00
Petr Mrázek
38e42ad794 GH-1049 fix bad ifdefs that prevent linux-specific env blacklisting 2015-06-08 23:54:30 +02:00
Petr Mrázek
977e11ef8d GH-1051 ignore CDPATH 2015-06-06 23:40:13 +02:00
Jan Dalheimer
1e51b62c88 NOISSUE Comment and bugfix the Resource system 2015-06-06 21:23:05 +02:00
Petr Mrázek
24db645167 NOISSUE sanitize Json
Removes magical parameter madness.
All require* can throw
All ensure* need a default value and never throw
2015-06-06 21:23:05 +02:00
Petr Mrázek
dde35a0eb8 NOISSUE remove StandardTask 2015-06-06 21:23:05 +02:00
Petr Mrázek
57b75dfcf7 NOISSUE document exceptions a bit more 2015-06-06 21:23:05 +02:00
Petr Mrázek
06a67fbd38 NOISSUE use FS a bit more 2015-06-06 21:23:05 +02:00
Jan Dalheimer
3a8b238052 NOISSUE Various changes from multiauth that are unrelated to it 2015-06-06 21:23:05 +02:00
Petr Mrázek
405cea1778 GH-1031 include icon in exported instance if it is custom 2015-06-01 01:19:12 +02:00
Petr Mrázek
6fd18a5cce GH-1016 print list of mods, coremods and jarmods
Includes a change to jar mods, where they gain an 'originalName' attribute used only for display
2015-05-31 21:50:01 +02:00
Petr Mrázek
9920062003 GH-1016 print mods, jar mods and core mods on start
Needs some work - jar mods just have the uuid name
2015-05-31 21:50:01 +02:00
Petr Mrázek
99f248ecd4 GH-1015 catch exceptions when doing profile reapply
This is a temporary solution.
2015-05-31 20:00:15 +02:00
Petr Mrázek
b9e06b5da0 GH-1021 make builtin versions not customizable
They use attributes not defined in the OneSix format.
2015-05-31 19:24:39 +02:00
Petr Mrázek
ff64b6cf1d GH-1020 use plain strings for library URLs
Because the URLs can contain {}, which are percent encoded in URLs and this breaks variable substitution
2015-05-31 17:51:20 +02:00
Petr Mrázek
84757f485b GH-1015 fix crash when version is incomplete and adding jar mods 2015-05-29 08:32:05 +02:00
Petr Mrázek
a98e1df10c GH-1011 fetch missing versions when customizing/reverting Minecraft patches 2015-05-28 09:36:58 +02:00
Petr Mrázek
f9e186ab70 GH-967 make libraries handle their own path prefix
Makes it possible to mix libraries managed by FTB and MultiMC
Backport from unstable
2015-05-27 01:30:18 +02:00
Petr Mrázek
2f087b55b9 GH-997 fix saving of settings values with special characters
Values are now escaped properly
2015-05-26 08:33:10 +02:00
Petr Mrázek
c1c23e47a7 GH-1003 Fix settings dialog delays 2015-05-26 08:14:33 +02:00
Petr Mrázek
185ff238c2 GH-992 GH-997 Do not rewrite values when loading FTB packs
name, icon and notes won't be overwritten when loading FTB packs
this also eliminates the file saving delay from setting the values
2015-05-25 07:35:43 +02:00
Petr Mrázek
09673cc16e GH-977 Initialize FTB icon properly (iconKey vs logo), remove debug prints 2015-05-24 19:48:22 +02:00
Petr Mrázek
dfb0a3b724 GH-991 implement wrapper commands 2015-05-24 14:49:54 +02:00
Petr Mrázek
ce99fabe13 GH-992 Add a transaction/locking mechanism to settings objects
This can cut the FTB loading by ~66% - worth it, but not ideal.
Real solution will have to be implemented later.
2015-05-23 16:07:47 +02:00
Petr Mrázek
0e0ddf5494 GH-977 Improve FTB loading and instance creation 2015-05-22 23:06:51 +02:00
Petr Mrázek
8715746774 GH-977 this isn't funny anymore... 2015-05-22 01:27:59 +02:00
Petr Mrázek
cfdfd0e811 GH-977 possibly fix FTB on windows. Maybe. Partially. Now maybe for real. 2015-05-22 01:08:37 +02:00
Petr Mrázek
81b37dae18 GH-977 possibly fix FTB on windows. Maybe. Partially. 2015-05-21 23:25:16 +02:00
Petr Mrázek
29ce36c7bc GH-983 use 'minecraft.jar' for ancient jar-modded versions
Fixes NEI in MC 1.4.7 and probably other obscure issues
2015-05-21 22:38:31 +02:00
Petr Mrázek
22a0294a33 GH-985 fix jar mods 2015-05-21 20:47:47 +02:00
Petr Mrázek
743af4769e GH-952 Hardcore version page tweakery
Version patches get a lot of new flags that determine which actions are allowed
Version page respects the flags
Customize, revert and edit for version patches
Builting patches can be customized
2015-05-17 23:38:28 +02:00
Petr Mrázek
3ed467e1fa NOISSUE do not dump minecraft version files into the log 2015-05-16 23:33:42 +02:00
Petr Mrázek
a39fb1ef17 GH-958 print PID when starting Minecraft 2015-05-16 18:42:17 +02:00
Petr Mrázek
f2026df597 GH-952 do not remove {version,custom}.json files, rename them 2015-05-16 18:42:14 +02:00
Petr Mrázek
416e08f741 GH-952 flesh out {version,custom}.json upgrade step 2015-05-15 01:37:15 +02:00
Petr Mrázek
88f975eff7 NOISSUE only watch mod folders when the user is looking at them 2015-05-11 22:50:35 +02:00