Commit Graph

347 Commits

Author SHA1 Message Date
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
Petr Mrázek
2c2c1b0a17 Revert "GH-1665 diagnostic build - disable file logging entirely"
This reverts commit 0493170936.
2016-10-27 17:00:34 +02:00
Petr Mrázek
0493170936 GH-1665 diagnostic build - disable file logging entirely 2016-10-27 13:40:53 +02:00
Petr Mrázek
2597bde4f9 GH-1665 diagnostic build - check if log file has been created and opened 2016-10-27 13:17:19 +02:00
Petr Mrázek
cee53f7f3c Revert "NOISSUE nuke builtin Minecraft versions"
This reverts commit 5ae3b2c114.

We need those builtin versions for now.
2016-10-26 18:23:39 +02:00
Petr Mrázek
1b4851a941 NOISSUE use QtConcurrent to run FS operations in worker threads
Not all operations - only the ones that aren't in error handling.
The API for QFuture is too nasty to do much more in a sensible way.
2016-10-26 18:21:25 +02:00
Petr Mrázek
d66fdcd4cc NOISSUE Granular instance reload 2016-10-26 18:21:24 +02:00
Petr Mrázek
bbe139dce5 GH-903 force Dark theme to use Fusion Qt style
Themes now include Qt styles.
2016-10-22 01:43:36 +02:00
Petr Mrázek
872cfe036d GH-903 simple theme switching and dark theme 2016-10-21 09:07:26 +02:00
Petr Mrázek
f07496ac6d GH-1675 reimplement suspesion of log watch 2016-10-11 21:34:02 +02:00
Petr Mrázek
eb747e08b7 NOISSUE fix minor memory leaks 2016-08-19 09:04:58 +02:00
Petr Mrázek
67eca08b22 NOISSUE use model/view for Minecraft log data 2016-08-19 08:05:43 +02:00
Petr Mrázek
9aff21c181 NOISSUE make progress dialog abort button resistant to accidental key presses 2016-08-17 23:09:33 +02:00
Petr Mrázek
ec05ca2775 SCRATCH make instance windows independent 2016-08-15 00:50:13 +02:00
Petr Mrázek
042f3ef55c GH-352 Make OneSix instance update downloads cancellable 2016-08-14 23:22:54 +02:00
Petr Mrázek
2f0441b3c1 GH-1433 with no default account, show profiles instead of accounts in selection dialog 2016-08-11 00:44:01 +02:00
Petr Mrázek
e2f3652a0f Revert "NOISSUE rework of minecraft log"
This reverts commit fc198dd308.
2016-08-10 08:41:58 +02:00
Petr Mrázek
fc198dd308 NOISSUE rework of minecraft log
Now uses a model and a list view instead of text
This lets mmc keep track of the contents regardless of whether the instance windows are open

This is currently missing a way to select and copy text from the log.
2016-08-10 00:28:33 +02:00
Petr Mrázek
74b4343c43 GH-1642 fix instance launch from console 2016-08-09 22:29:17 +02:00
Petr Mrázek
bc6d1b5304 GH-338, GH-513, GH-700 Unify edit instance with console window
* The resulting instance window can be closed at any point.
* Main window is kept open and running instances are marked with a badge.
* Multiple instances can now run from the same MultiMC - it's even more **multi** now.
* MultiMC can be entirely closed, keeping Minecraft(s) running.
2016-08-07 11:48:15 +02:00
Petr Mrázek
cf0694a0cb NOISSUE allow user to sort mod list by clicking on column headers 2016-08-05 00:10:33 +02:00
Petr Mrázek
b76d4573cd GH-589 GH-842 GH-901 GH-1117 allow mass-enabling/disabling of mods 2016-08-04 23:16:03 +02:00
Petr Mrázek
6ec2652b45 GH-1273 allow extended selection in mod lists 2016-08-04 22:57:16 +02:00
Petr Mrázek
eec87db86a GH-1635 add filter bar to mod list pages 2016-08-04 21:54:25 +02:00
Petr Mrázek
1f2bed2ef1 NOISSUE implement direct java launch
Just running the Java process and giving it params on the command line
2016-08-01 21:15:08 +02:00