Commit Graph

471 Commits

Author SHA1 Message Date
Petr Mrázek
26f7f017d4 NOISSUE attept to detach from console on Windows
This only applies to MultiMC started from a console.
2017-07-05 19:45:10 +02:00
Petr Mrázek
71b129538b NOISSUE add disgnostic print to MultiMC destructor 2017-07-05 19:09:14 +02:00
Petr Mrázek
d6ab4b4a7f NOISSUE rearrange global initialization 2017-07-05 18:02:49 +02:00
Petr Mrázek
89d3a66658 NOISSUE some safe refactors and changes of the task subsystem
Possibly also some bug fixes.
2017-06-26 01:14:32 +02:00
Petr Mrázek
2973b11d3e NOISSUE instance export filter should use covers, not contains 2017-05-31 09:37:45 +02:00
Petr Mrázek
8a1da91219 NOISSUE finish cleaning quazip
All LGPL code is back in the customized quazip fork
2017-05-31 09:20:24 +02:00
Petr Mrázek
2a81e21f5e GH-1876 Clarify license of GroupView
The LGPL code that came from KDE has been removed back in 2014.
It was replaced with a different implementation, made in
a separate repository.

See commits:
a17caba2c9
b82eb5873e
2017-05-22 23:50:20 +02:00
Petr Mrázek
4133247bff NOISSUE and even more warnings gone 2017-05-21 22:30:53 +02:00
Petr Mrázek
c329bc73c0 NOISSUE more compiler warning removal 2017-05-21 22:24:06 +02:00
Petr Mrázek
8bd8be95f0 NOISSUE fix a bunch of compiler warnings 2017-05-21 20:20:37 +02:00
Petr Mrázek
572a6026b5 GH-1895 update LWJGL list during legacy instance update 2017-05-21 02:34:02 +02:00
Petr Mrázek
d70c783de8 NOISSUE bump version to 0.6.0 - MultiMC changed a lot since 0.5.x 2017-05-13 11:01:38 +02:00
Petr Mrázek
e1a03e8724 NOISSUE make the linux package binary name configurable and default to 'multimc' 2017-05-13 10:43:56 +02:00
Petr Mrázek
868669a497 NOISSUE add a linux system packaging install layout 2017-05-13 01:24:15 +02:00
Petr Mrázek
8fe18cfabc GH-1882 save UpdateDialog geometry 2017-05-09 01:54:28 +02:00
Petr Mrázek
0f311e12ee GH-1886 warn users about proxy settings not applying to the game 2017-05-08 23:37:36 +02:00
Petr Mrázek
c407004e3a NOISSUE make qt.conf downloadable in presence of GH-1885
Now it has a single space inside.
2017-05-08 00:07:20 +02:00
Petr Mrázek
3fb15e4a4d NOISSUE include qt.conf in all bundles again
Looks like it just doesn't work properly without that.
2017-05-07 22:19:01 +02:00
Petr Mrázek
a379d43d7c NOISSUE replace bad symlink to COPYING.md with a relative path in qrc 2017-05-06 18:32:28 +02:00
Petr Mrázek
3263b52e0c GH-1876 replace ColumnResizer with a newer, BSD-3 licensed version
Also, keep licensing info only in one file.
The COPYING.md is now a resource and rendered to HTML in the About dialog.
2017-05-06 18:27:47 +02:00
Petr Mrázek
15c829fd3c GH-1876 Fork and update quazip
* It is added as a new submodule: https://github.com/MultiMC/quazip/tree/multimc-1
* Its build system has been entirely replaced to remove the existing issues with it
* It now has working unit tests
* No more patches needed
* It has a static linking exception in its license now, but we use it shared anyway
2017-05-06 17:36:57 +02:00
Petr Mrázek
349381cb2b NOISSUE remove debug symbols of Qt plugins from macOS bundle 2017-05-06 11:58:57 +02:00
Petr Mrázek
4183cc203f NOISSUE add back qt.conf on macOS
Looks like it doesn't start without this magical empty file.
Who would have guessed? Not me.
2017-05-06 03:41:11 +02:00
Petr Mrázek
2b3e87b7d1 NOISSUE reorganize build system to allow avoiding the bundle utilities 2017-05-06 03:11:38 +02:00
Petr Mrázek
e5147e6b65 NOISSUE remove (assumed) obsolete parts of the application cmake script 2017-05-05 23:09:26 +02:00
Petr Mrázek
35836c7709 NOISSUE herp derp custom icon theme support
* Put icon theme in iconthemes/custom/
* Select 'Custom' in the UI.
* ...
* Maybe it won't explode.
2017-05-04 00:03:47 +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
907aa36704 GH-1874 Do not allow launching instances during an update 2017-05-02 23:29:47 +02:00
Petr Mrázek
6a8bb3691b GH-1874 do not allow updating while an instance is running
This is a nasty hack. Proper solution will require moving all
update related functionality out of the main window.

Running instances and updating should be mutually exclusive.
2017-05-02 01:43:18 +02:00
Affe Ali
0132fd9929 GH-1855 add launch offline button to instance UI 2017-05-01 23:18:00 +02:00
Petr Mrázek
9bde1c8512 GH-1874 do not pass instance launch args to updated MultiMC 2017-05-01 16:53:20 +02:00
Petr Mrázek
b20688a18d GH-1875 plug holes in instance/window refcount logic 2017-05-01 12:55:10 +02:00
Petr Mrázek
21df531db1 GH-1873 allow closing main window, fix window ref count 2017-05-01 01:27:10 +02:00
Petr Mrázek
f06ac02396 NOISSUE block use of "-XX-MaxHeapSize" and "-XX:InitialHeapSize" java args.
Synonyms for "-Xms" and "-Xmx" that I missed originally.
These are ALWAYS managed by MultiMC. Do not touch them.
2017-04-30 15:12:46 +02:00
Petr Mrázek
e1465f4848 NOISSUE refactor NetAction to be based on Task
Still missing some things, this is part 1.
2017-04-29 02:24:00 +02:00
Petr Mrázek
243f7e4fb4 NOISSUE remove AA_UseHighDpiPixmaps 2017-04-26 22:57:02 +02:00
Petr Mrázek
edc25dab17 NOISSUE Set AA_EnableHighDpiScaling for Qt >= 5.6.0 2017-04-26 22:17:27 +02:00
Petr Mrázek
6fe9258161 NOISSUE remove macOS SSL workarounds
Should not be necessary anymore...
2017-04-25 23:03:11 +02:00
Petr Mrázek
d25a7ad3a6 NOISSUE accept URL drop events in GroiupView 2017-04-23 16:50:48 +02:00
Petr Mrázek
8ace5fa91d NOISSUE Add flame. 2017-04-22 18:51:04 +02:00
Petr Mrázek
30863a88ab NOISSUE add pack import using drag&drop
Straight from the browser or the downloads folder.
2017-04-22 06:11:26 +02:00
Petr Mrázek
581460dcf9 NOISSUE add missing log levels to MultiMC logging
Info and System are now recognized.
2017-04-21 22:08:33 +02:00
Petr Mrázek
910766458d GH-1854 prevent a crash if the instance is closed while the kill confirmation dialog is open 2017-04-14 10:41:52 +02:00
Petr Mrázek
db7357d008 Revert "NOISSUE disable version customization until further notice"
This reverts commit d864c95e2b.
2017-04-08 22:04:07 +02:00
Petr Mrázek
d864c95e2b NOISSUE disable version customization until further notice 2017-04-07 00:20:02 +02:00
Petr Mrázek
dff307557b NOISSUE fix liteloader uid where it is hardcoded hardcoded 2017-04-07 00:20:02 +02:00
Petr Mrázek
f565798650 NOISSUE remove unused version range filtering 2017-04-07 00:20:02 +02:00
Petr Mrázek
e0596d3c86 NOISSUE Make forge installable again 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
5fabb4f254 NOISSUE Rough refactor of ProfilePatch and VersionFile internals.
They are now distinct classes with distinct responsibilities.

* ProfilePatch is an entry in MinecraftProfile and can hold VersionFile or Meta::Version.
* VersionFile is the basic element that holds version information loaded from JSON.
* Meta::Version is the loader class for VersionFile(s) from a server.
2017-04-07 00:20:02 +02:00
Petr Mrázek
da4ae1bc1e NOISSUE reimplement package dependencies
It is now stored as a hashmap
There is also a parentUid to limit depsolving by encapsulating by version
2017-04-07 00:20:02 +02:00
Petr Mrázek
77f27a628f NOISSUE bring back instance creation 2017-04-07 00:20:02 +02:00
Petr Mrázek
f557c13679 NOISSUE stuff and things happened. Maybe. 2017-04-07 00:20:02 +02:00
Petr Mrázek
2660418d58 NOISSUE hack it together enough to get launching back
Meta index will now always return valid objects.
They just might never load if they don't exist on the server.
2017-04-07 00:20:02 +02:00
Petr Mrázek
e46aba9da5 NOISSUE sanitize loading and downloading of metadata files 2017-04-07 00:20:02 +02:00
Petr Mrázek
0060b50625 NOISSUE simplify. 2017-04-07 00:20:01 +02:00
Petr Mrázek
40cf38bc32 NOISSUE remove liteloader and forge 2017-04-07 00:20:01 +02:00
Petr Mrázek
f6eb8fa1e4 NOISSUE Remove hardcoded LWJGL (modern) 2017-04-07 00:20:01 +02:00
Petr Mrázek
2980322c3b NOISSUE Remove Minecraft version list and versions. 2017-04-07 00:20:01 +02:00
Petr Mrázek
8321187a20 NOISSUE fix downloading of metadata files 2017-04-07 00:20:01 +02:00
Petr Mrázek
ab868df50e NOISSUE Wonko is the new Meta
And then Wonko was the Meta.
2017-04-07 00:20:01 +02:00
Petr Mrázek
7382360771 NOISSUE remove builtin Minecraft versions 2017-04-07 00:19:56 +02:00
Petr Mrázek
8bbaab334c NOISSUE set line limit and overflow behaviour even for hidden console 2017-02-08 20:01:42 +01:00
Petr Mrázek
2e8d8b60b0 GH-1807 fix 'loggging' typo 2017-02-01 00:44:21 +01:00
Petr Mrázek
c7f89ec6b5 GH-1798 Do not enable skin upload button without selected account. 2017-01-22 15:45:57 +01:00
Petr Mrázek
c421134d49 NOISSUE set the instance settings page default tab back to the first 2017-01-21 20:15:07 +01:00
Petr Mrázek
782384f185 GH-1793 rearrange setup wizard logic to only check if they are needed once 2017-01-21 18:27:16 +01:00
Petr Mrázek
ceb5fc6d75 GH-1790 do not apply system theme on launch if it is selected
This prevents some ugly colors to show up on macOS in most cases.
It still looks ugly right after you switch to the it though.
2017-01-18 02:48:29 +01:00
Petr Mrázek
85320777c6 GH-1788 missed one call wrong call... this is the fix. 2017-01-17 21:19:38 +01:00
Petr Mrázek
ba38991c13 GH-1788 fix missing translation strings 2017-01-17 21:17:36 +01:00
Tim Flynn
98e17998fe GH-1065 Normalize usage of directory vs folder 2017-01-16 22:42:22 +01:00
Petr Mrázek
944ff256b2 NOISSUE add hack for system themes. Maybe it works? 2017-01-15 22:56:03 +01:00
Petr Mrázek
71584fb8cc NOISSUE temporarily disable themes to check if they cause issues on macOS 2017-01-15 20:32:55 +01:00
Petr Mrázek
b2dbaaa9e2 NOISSUE also preserve x.y.z version numbering in the application 2017-01-14 19:44:34 +01:00
Petr Mrázek
0a89b04afd GH-1665 Add line breaks to the fatal error dialogs.
Makes is slightly more readable.
2017-01-14 18:22:50 +01:00
Petr Mrázek
ffa8792c13 NOISSUE always include the hotfix version in the version string
It's 0.5.0, not 0.5.
2017-01-14 18:12:15 +01:00
Petr Mrázek
fbcbddd4d0 GH-1665 put the macOS hint into all of the new fatal error messages. 2017-01-14 16:51:08 +01:00
Petr Mrázek
a6ef0059cc GH-1665 attempt at workaround for MultiMC not starting on macOS Sierra
This tries to detect the issue and instructs the user to fix it by
moving the application to /Applications or ~/Applications.

In addition, several other previously poorly handled fatal errors
now show an error dialog.
2017-01-14 15:47:58 +01:00
Petr Mrázek
3e81e2cb5b NOISSUE do not show the analytics wizard page without analytics in the build 2017-01-13 02:12:40 +01:00
Petr Mrázek
12c3683ec0 NOISSUE set version to 0.5.0 2017-01-08 05:00:24 +01:00
Petr Mrázek
f530aae9d3 NOISSUE update all the Copyright comments and texts to include 2017 2017-01-08 04:58:05 +01:00
Petr Mrázek
e033cf8974 NOISSUE change 'Upload' to 'Upload Skin' on tha Accounts page 2017-01-08 03:02:27 +01:00
Petr Mrázek
8421ef622d NOISSUE even more java polishing
* Memory minimums lowered to 128M in all Java settings UIs
* Changing the memory sizes on the wizard page does not automatically trigger checks if the executable doesn't have 'java' in the name
* Java detection on linux now scans some common JRE locations, not just /usr/bin/java
2017-01-07 18:11:41 +01:00
Petr Mrázek
c4ec6bc0f5 NOISSUE polish the java setup wizard page
* Added a button to check why Java failed
* It will now avoid automatically scanning binaries that do not have 'java' in their filename
* Fixed some crashes related to running too many Java checks (it only does one at a time now)
* It can now distinguish between more Java failure states (not there at all, crashing, returning nonsense)
* Changed '...' button to Browse button to match the wizard page subtitle
* Changing minimum and maximum memory will no longer trigger a java check twice
2017-01-07 06:52:09 +01:00
Petr Mrázek
705a658fef NOISSUE Do not log the analytics client ID into the application log. 2017-01-06 17:19:28 +01:00
Petr Mrázek
6f17183bf0 NOISSUE make the setup wizard use the main event loop
This should fix any issues with receiving events over IPC.
2017-01-06 06:08:45 +01:00
Petr Mrázek
e1bd1c6145 NOISSUE feature complete setup wizard 2017-01-05 04:05:08 +01:00
Petr Mrázek
9ca9addad3 NOISSUE create a dumb and ugly java setup wizard page
All it does is create the existing Java selection dialog
2017-01-02 16:02:54 +01:00
Petr Mrázek
64723f68e3 NOISSUE force SetupWizard into 'classic' look and feel and increment analytics version
This should force the dialog to show again.
If it still looks wrong on Windows 10, please report this on discord.
2017-01-02 08:23:03 +01:00
Petr Mrázek
a666dc0a1a NOISSUE fix up translation selection in settings and add OS/sys arch reporting 2017-01-01 20:04:08 +01:00
Petr Mrázek
722896d41f NOISSUE Translations model and initial setup wizard work 2017-01-01 20:04:08 +01:00
Petr Mrázek
46c5368a78 NOISSUE fix up analytics wizard page 2016-12-28 21:39:09 +01:00
Petr Mrázek
476d641841 NOISSUE add skeleton of the setup wizard
Very wizardly. Also very empty and opening on every start for now.
2016-12-28 21:39:09 +01:00
Petr Mrázek
2344ee2dcd GH-1379 rename shared libraries to avoid collisions with system libraries
It was unlikely, now it's impossible.
2016-12-28 17:23:48 +01:00
Petr Mrázek
481ecb178c NOISSUE fix credits entry for RoboSky 2016-12-26 12:45:30 +01:00
Petr Mrázek
123b59e63f NOISSUE Fix up Credits section in About dialog 2016-12-26 01:47:29 +01:00
Petr Mrázek
92bb001787 NOISSUE fix crash caused by missing instance view layout updates
Layout wasn't updated in some cases while deleting instances.
2016-12-19 00:35:57 +01:00
Petr Mrázek
2517d2c84d GH-1743 selected instance can be null - do not assume it isn't
This fixes a crash when closing settings and not having any selected instance.
2016-12-07 01:19:03 +01:00
Petr Mrázek
035bdc7576 GH-1524 Regenerate Minecraft client token when the auth token is invalid
This makes the case where users copy MultiMC to other machines
easier to handle. It doesn't require manual intervention and the tokens
do not go in a desync loop.
2016-11-30 00:19:27 +01:00
Petr Mrázek
5994c47d7c NOISSUE add ganalytics and LocalPeer licenses 2016-11-26 23:53:56 +01:00
Petr Mrázek
66ffab71ae NOISSUE allow killing the instance from main window 2016-11-26 18:06:08 +01:00
Petr Mrázek
ce70407363 NOISSUE add button for opening the config folder from mods pages 2016-11-26 14:59:27 +01:00
Petr Mrázek
dccf9d7219 NOISSUE fix text of log upload, do not open browser on screenshot upload 2016-11-26 14:37:36 +01:00
Petr Mrázek
55541c387c NOISSUE simplify system detection and user agent handling
Now it only checks OS kernel name/version.
User agent is 'MultiMC5/$version'.
Kernel info is passed through custom dimensions in analytics.
2016-11-26 02:18:05 +01:00
Petr Mrázek
486d653586 NOISSUE Better Windows version detection and user agent 2016-11-24 23:28:55 +01:00
Petr Mrázek
121e2fd46c NOISSUE add analytics settings (enable/disable) 2016-11-24 04:10:07 +01:00
Petr Mrázek
295c6e808a NOISSUE fix translation listing in settings and translation loading
It was impossible to select and load translations properly.
2016-11-23 02:25:49 +01:00
Petr Mrázek
7a14b63957 NOISSUE send custom analytics values
* System, Java and CPU architecture (either 32 or 64).
* Java version.
* System memory size in MB.
* Java min/max heap size in MB.
2016-11-22 02:46:18 +01:00
Petr Mrázek
00c4aebeaa GH-1731 more screenshot folder view hardening 2016-11-22 00:56:48 +01:00
Petr Mrázek
ee6f2f0a8e NOISSUE implement analytics IP anonymization 2016-11-21 21:18:30 +01:00
Petr Mrázek
95f961fb61 GH-1731 Do not show screenshots model if it can't be set up properly
Otherwise it would show all system drives instead of screenshots.
2016-11-21 09:17:01 +01:00
Petr Mrázek
905bc2e440 NOISSUE most basic analytics integration possible 2016-11-21 01:19:34 +01:00
Petr Mrázek
69be23c5f6 GH-1726 better failure detection for updates
Instead of just checking if the new version started, make sure
it is able to write its IPC key to a file and then use the key
to connect to the process.
2016-11-19 22:11:45 +01:00
Petr Mrázek
e974950d48 GH-1699 do not include libxcb.so* in linux builds 2016-11-19 22:11:41 +01:00
Petr Mrázek
9cf8b42d89 NOISSUE mark profile in use also on the main window profile button 2016-11-17 01:00:15 +01:00
Petr Mrázek
12f6534e77 NOISSUE mark used accounts/sessions in selection menus 2016-11-17 01:00:15 +01:00
Petr Mrázek
3769897be1 NOISSUE do not open browser window on log upload 2016-11-17 01:00:15 +01:00
Petr Mrázek
f9d94a45ee NOISSUE allow using icon themes for instances and instance badges 2016-11-10 02:54:53 +01:00
Petr Mrázek
27e26a656b NOISSUE remove unused hourglass icon 2016-11-10 00:19:04 +01:00
Petr Mrázek
b6f133f579 GH-1713 fix FTB loading crashes 2016-11-09 01:22:02 +01:00
Petr Mrázek
01649f761d NOISSUE remove some unused icons 2016-11-09 01:20:42 +01:00
Petr Mrázek
dae3b06885 NOISSUE fix horrible globals crash
FIXME: remove all globals.
2016-11-07 02:28:18 +01:00
Petr Mrázek
07589b5114 NOISSUE shut down logger when MultiMC exits
Prevents crash bugs...
2016-11-07 01:54:00 +01:00
Petr Mrázek
7cff5ba2e1 GH-1445 update page list when version and log pages need it 2016-11-07 00:18:27 +01:00
Petr Mrázek
1276ecdbb7 NOISSUE ask user if closing is OK when instances are still running 2016-11-06 23:06:49 +01:00
Petr Mrázek
8b952b3870 NOISSUE Refactor and sanitize MultiMC startup/shutdown
* Always create main window.
* Properly handle netowrk manager - it was created twice, leading to potential crashes.
2016-11-06 21:58:54 +01:00
Petr Mrázek
37cc59c04d GH-378 add a resource search path to custom themes
This allows adding images and other bits and pieces to themes.
2016-11-06 05:48:52 +01:00
Petr Mrázek
bc753859b5 GH-378 add basic custom theme support
Files you can customize are created in themes/custom/
2016-11-06 04:29:12 +01:00
Petr Mrázek
13b575f7a9 GH-1711 fix inactive element shading in Dark and Bright themes 2016-11-06 00:17:02 +01:00
Petr Mrázek
87dd951505 NOISSUE add a badge for crashed instances
Not persistent across MultiMC runs.
2016-11-04 01:19:04 +01:00
Petr Mrázek
3780a25d27 NOISSUE add an option to show console on error and default other options to false 2016-11-04 00:19:32 +01:00
Petr Mrázek
6ebf6e7785 NOISSUE ifdef the hell out of MCEdit launch on Windows
Setting the work directory was not enough.
2016-11-03 02:41:01 +01:00
Petr Mrázek
f4de049b13 NOISSUE Set working directory for MCEdit on Windows
It seems to require it, unlike the other versions.
2016-11-03 02:21:50 +01:00
Petr Mrázek
f0b71f989e NOISSUE use LoggedProcess to work around issues with QProcess on macOS 2016-11-03 01:11:57 +01:00
Petr Mrázek
ac66af6c13 NOISSUE fix reversed MCEdit check condition
It was causing fake errors.
2016-11-02 02:55:16 +01:00
Petr Mrázek
85b64ad767 NOISSUE MCEdit integration - remove old 'tool', replace with Worlds 2016-11-02 02:37:54 +01:00
Petr Mrázek
3a4304d89d NOISSUE simplify retranslation code of MainWindow 2016-11-02 01:17:19 +01:00
Petr Mrázek
a9c0d812a6 NOISSUE prefer shell script for running MCEdit on linux 2016-11-02 01:16:41 +01:00
Petr Mrázek
b6b2350e02 NOISSUE improve launch button interaction
Now has a drop-down arrow that actually works as expected.
2016-11-01 23:33:20 +01:00
Petr Mrázek
2e0a45cc2f NOISSUE add bright theme to complement the dark theme
Same style, different colors.
2016-11-01 09:04:37 +01:00
Petr Mrázek
fe68d59460 GH-1645 reimplement open/close instance window based on settings 2016-11-01 01:25:04 +01:00
Petr Mrázek
4b03dfcbd7 NOISSUE rearrange MultiMC.cpp to make it make more sense 2016-10-31 00:57:40 +01:00
Petr Mrázek
a36c962a31 NOISSUE use current directory for application ID
Using QDir(dataPath).absolutePath() for the path
2016-10-30 14:47:16 +01:00
Petr Mrázek
e9949e3a54 NOISSUE use absolute data path for application ID 2016-10-30 03:45:41 +01:00
Petr Mrázek
249e5c13d7 NOISSUE fix build 2016-10-30 02:49:07 +01:00
Petr Mrázek
412855ae3d NOISSUE refactor window management and launch, make MultiMC a single instance application. 2016-10-30 02:37:38 +01:00
Petr Mrázek
2b9017a69c NOISSUE clean up some bad/dead code 2016-10-29 01:34:43 +02:00
Petr Mrázek
b5aaf88f12 NOISSUE remove unused 'test mode' 2016-10-28 21:54:12 +02:00
Petr Mrázek
8731318fef GH-1652 save all instance settings on launch if instance window is already open 2016-10-28 03:42:34 +02:00
Petr Mrázek
3d94fb8d24 Revert "GH-1665 diagnostic build - check if log file has been created and opened"
This reverts commit 2597bde4f9.
2016-10-27 17:00:37 +02:00