Fix login and startup logging issues

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.
This commit is contained in:
Petr Mrázek
2013-12-01 02:00:42 +01:00
parent 2eaf33816b
commit f27a6c39ea
27 changed files with 471 additions and 299 deletions

View File

@ -21,7 +21,8 @@
#include "logic/lists/MojangAccountList.h"
namespace Ui {
namespace Ui
{
class AccountListDialog;
}
@ -29,7 +30,7 @@ class AuthenticateTask;
class AccountListDialog : public QDialog
{
Q_OBJECT
Q_OBJECT
public:
explicit AccountListDialog(QWidget *parent = 0);
~AccountListDialog();
@ -62,4 +63,3 @@ slots:
private:
Ui::AccountListDialog *ui;
};