summaryrefslogtreecommitdiffstats
path: root/gui/MainWindow.cpp
Commit message (Collapse)AuthorAgeLines
* Fix offline mode bugsPetr Mrázek2013-12-08-8/+6
|
* Finish preliminary offline supportPetr Mrázek2013-12-08-55/+29
| | | | | | | | | * ProgressProvider now has an abort() call * Abort button support added to the progress dialog * YggdrasilTask and MojangAccount adapted to support abort YggdrasilTask will time out after 10 seconds of no network activity, or when the user pushes the Play Offline button. In offline mode, all instance update tasks are skipped! This will need further work.
* Offline mode support, part 1Petr Mrázek2013-12-05-11/+11
| | | | | Refactor MojangAccount so it exposes a less generic interface and supports login. Hide the ugly details. Yggdrasil tasks are now only used from MojangAccount.
* Fix login and startup logging issuesPetr Mrázek2013-12-01-16/+16
| | | | | | | | Auth uses the refresh endpoint instead of validate. This means less password entering. Console will now only autoscroll when already scrolled all the way down. Better conformance with the Yggdrasil auth protocol (not complete yet, but Mojang launcher isn't complete either). Fix bug that prevented saving the account data (uninitialized variable). Accounts can now trigger account list saving, this is used for the refresh endpoint.
* Remember the last selected instance and select it on startupJan Dalheimer2013-11-30-0/+26
|
* Fixed compilation errors.Andrew2013-11-28-3/+0
| | | | Yeah... Forgot to recompile everything after deleting those files.
* Rework the password dialogAndrew2013-11-28-3/+2
| | | | | It's now used as a general purpose "account edit dialog". It'll be used for entering usernames, passwords, or both.
* Verify access tokens before launching MinecraftAndrew2013-11-28-6/+68
| | | | Kind of an important thing to do... Heh...
* Tweak the layout of the accounts buttonAndrew2013-11-28-1/+0
|
* Add icon for when no default account is selectedAndrew2013-11-28-13/+20
| | | | | | Also fixed a bug where the icon on the accounts button wouldn't change when the user checked the "Use as default" checkbox in the account selection dialog.
* Add support for "no default account"Sky2013-11-27-8/+22
|
* Merge remote-tracking branch 'upstream/feature_yggdrasil' into developSky2013-11-27-11/+14
|\
| * Allow setting no default accountAndrew2013-11-27-11/+14
| | | | | | | | | | This allows the user to select an account to use every time they launch an instance.
* | Use player face in accounts dropdown, grab all valid account skins on startupSky2013-11-27-14/+21
| |
* | Dropdown for account switchingSky2013-11-27-10/+100
|/
* Nuke skins.json, use nice yggdrasil implementation instead. Grabs all Mojang ↵Sky2013-11-27-48/+23
| | | | account skins on addition, active on startup
* Move "manage accounts" to right, use player skin when availableSky2013-11-27-0/+31
|
* Detect java bitness on launch, use appropriate librariesPetr Mrázek2013-11-25-1/+1
| | | | Fixes problems with latest snapshot
* Merge branch 'feature_yggdrasil' into developPetr Mrázek2013-11-24-98/+63
|\ | | | | | | | | | | | | | | Conflicts: gui/MainWindow.cpp logic/OneSixInstance.h Fix missing session id functionality for legacy and old onesix.
| * Properly implement launching and downloadingAndrew2013-11-22-88/+59
| | | | | | | | Also added a system to select an active account to log in with.
| * Tweak the "no accounts" warning a bit.Andrew2013-11-22-3/+10
| | | | | | | | | | It now asks users if they want to open the manage accounts dialog to add their accounts.
| * Fix crashing when there are no accounts addedAndrew2013-11-22-1/+3
| | | | | | | | | | The warning message actually displays now when there are no Mojang accounts to log in with, rather than simply crashing MultiMC.
| * Nuke and pave the old login systemAndrew2013-11-20-79/+55
| | | | | | | | Also, account list now saves profile lists.
| * Add a button to open the account list.Andrew2013-11-20-0/+7
| | | | | | | | Also fix the account list dialog's close button.
* | Prepare for rework of instance launch/updatePetr Mrázek2013-11-24-1/+1
| | | | | | | | | | | | | | | | | | | | Added missing licenses Added a Java functionality checker (detects 32/64bit java) Refactor of *Update - no longer based on BaseUpdate, but Task directly Fixed runner script to not derp up on 32bit linux. Could add more detection and error reporting there. Resources are now split into graphics and generated. Generated resources are placed in the build tree and included from there. Used the Java checker in the main settings dialog (TODO: instance settings). Partial support for ${arch}-using libraries - both 32 and 64 variants of ${arch} are downloaded.
* | Fix console window (now not a QDialog)Petr Mrázek2013-11-23-26/+3
| | | | | | | | | | | | It now opens and coloses as expected, depending on user preferences and the status of the various processes involved. Console window geometry and state are remembered between runs.
* | Implement user info stub for newest minecraft snapshotPetr Mrázek2013-11-22-1/+1
| |
* | Re-enable assets downloadPetr Mrázek2013-11-17-2/+1
| |
* | Use the forge mirrors for downloading forge librariesPetr Mrázek2013-11-17-0/+2
| | | | | | | | Let's hope we never, ever see a forge download error again.
* | Fix signal derp from previous commitPetr Mrázek2013-11-13-2/+2
| | | | | | | | Console should now properly close/not close based on minecraft return code/signal.
* | Fix console not staying open on minecraft crashPetr Mrázek2013-11-12-5/+6
|/
* Nag for instance specific JVM args tooSky2013-11-06-2/+2
|
* Fix "Auto Login" instance specific setting, tweak UISky2013-11-06-2/+2
|
* Reformat and (slightly) decruft all the things.Petr Mrázek2013-11-04-0/+976