Commit Graph

322 Commits

Author SHA1 Message Date
Sky
191e850cf1 Add support for "no default account" 2013-11-27 23:39:36 +00:00
Sky
d32cb1c95d Merge remote-tracking branch 'upstream/feature_yggdrasil' into develop 2013-11-27 22:51:45 +00:00
Sky
70973d111a Use player face in accounts dropdown, grab all valid account skins on startup 2013-11-27 22:47:15 +00:00
Sky
69d8ab16c5 Dropdown for account switching 2013-11-27 22:39:49 +00:00
Andrew
a4c5f0135e Allow setting no default account
This allows the user to select an account to use every time they launch
an instance.
2013-11-27 16:14:18 -06:00
Sky
38732636d3 Nuke skins.json, use nice yggdrasil implementation instead. Grabs all Mojang account skins on addition, active on startup 2013-11-27 18:45:29 +00:00
Sky
7d7579d7f0 Move "manage accounts" to right, use player skin when available 2013-11-27 16:56:15 +00:00
Petr Mrázek
d6b09f7c13 Add java checker to the instance settings 2013-11-25 01:14:30 +01:00
Petr Mrázek
088b039cf7 Detect java bitness on launch, use appropriate libraries
Fixes problems with latest snapshot
2013-11-25 00:46:52 +01:00
Petr Mrázek
82225a21e1 Merge branch 'feature_yggdrasil' into develop
Conflicts:
	gui/MainWindow.cpp
	logic/OneSixInstance.h

Fix missing session id functionality for legacy and old onesix.
2013-11-24 18:41:35 +01:00
Petr Mrázek
ca297fca79 Prepare for rework of instance launch/update
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.
2013-11-24 06:36:16 +01:00
Petr Mrázek
4124faf474 Fix console window (now not a QDialog)
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.
2013-11-23 01:41:28 +01:00
Andrew
75e7932607 Properly implement launching and downloading
Also added a system to select an active account to log in with.
2013-11-22 12:47:39 -06:00
Andrew
23bc195b3c Implement removing accounts. 2013-11-22 10:54:52 -06:00
Andrew
69ac3e5a86 Tweak the "no accounts" warning a bit.
It now asks users if they want to open the manage accounts dialog to
add their accounts.
2013-11-22 10:12:16 -06:00
Andrew
a332e0d7b1 Fix crashing when there are no accounts added
The warning message actually displays now when there are no Mojang
accounts to log in with, rather than simply crashing MultiMC.
2013-11-22 09:53:27 -06:00
Petr Mrázek
7f5eb5d61a Implement user info stub for newest minecraft snapshot 2013-11-22 01:04:14 +01:00
Andrew
abf8408911 Nuke and pave the old login system
Also, account list now saves profile lists.
2013-11-20 18:31:15 -06:00
Andrew
03652b01d2 Add a button to open the account list.
Also fix the account list dialog's close button.
2013-11-20 12:20:35 -06:00
Andrew
a9a0b65358 Implement loading accounts from list. 2013-11-18 12:58:03 -06:00
Andrew
cdca530139 Implement account list and account list dialog 2013-11-18 12:05:35 -06:00
Petr Mrázek
30b3395770 Re-enable assets download 2013-11-17 12:08:07 +01:00
Petr Mrázek
9fcb287ea2 Fix broken signal in ConsoleWindow
Wasn't detecting minecraft shutdown properly
2013-11-17 11:48:01 +01:00
Petr Mrázek
210629e274 Use the forge mirrors for downloading forge libraries
Let's hope we never, ever see a forge download error again.
2013-11-17 11:44:18 +01:00
Petr Mrázek
9693a5e6e9 Fix signal derp from previous commit
Console should now properly close/not close based on minecraft return code/signal.
2013-11-13 00:24:49 +01:00
Petr Mrázek
fdc58bb913 Fix console not staying open on minecraft crash 2013-11-12 09:23:39 +01:00
Petr Mrázek
ad7c41114f Fix layout margins in console window 2013-11-07 22:31:15 +01:00
Sky
bba4ed5ab2 Open on the correct settings tab 2013-11-06 17:00:02 +00:00
Sky
dd6af4efab Nag for instance specific JVM args too 2013-11-06 01:18:47 +00:00
Sky
51dee3745f Fix "Auto Login" instance specific setting, tweak UI 2013-11-06 01:01:09 +00:00
Petr Mrázek
bb7e8985f6 Reformat and (slightly) decruft all the things. 2013-11-04 02:53:05 +01:00
Petr Mrázek
d6e4fb2971 Implement instance sorting options. 2013-11-04 00:11:20 +01:00
Petr Mrázek
4466929074 Add instance copying, fix instance creation (with identical names) 2013-11-03 21:28:04 +01:00
Sky
bade253a1a Added NagUtils, nag people about trying to override JVM memory options 2013-11-03 15:20:26 +00:00
Sky
09dc356883 Main window geometry and state saving/reloading 2013-11-03 00:45:25 +00:00
Petr Mrázek
44823324f9 Merge branch 'develop' of github.com:MultiMC/MultiMC5 into develop 2013-10-29 22:14:57 +01:00
Petr Mrázek
946d397cce Customizable folder browsing is same as for the instance folder. Syste Proxy usage. 2013-10-29 22:13:42 +01:00
Sky
511417c4f7 Make ConsoleWindow have Qt::Window flag (adds minimise/maximise buttons to titlebar) 2013-10-29 18:38:11 +00:00
Sky
aab5478ae7 Move "Forget" button to a sane place 2013-10-29 16:49:41 +00:00
Sky
ac4af46aed Don't make LabeledToolButton selectable 2013-10-29 12:47:14 +00:00
Sky
b0ef429786 Add selectable message box helper, use it, make login GUI error label selectable 2013-10-29 12:40:09 +00:00
Petr Mrázek
7df667f823 Valgrind-checked early application start 2013-10-28 21:50:58 +01:00
Petr Mrázek
6ecb833dbf Fix problem with instance list not using the instance folder path 2013-10-28 20:55:12 +01:00
Petr Mrázek
9233477295 S3 bucket listing support and network code refactors.
* Adds support for listing all objects in an S3 bucket.
* Renames a bunch of network related classes (Download->Action)
* Net actions now have static constructors
2013-10-26 19:55:48 +02:00
Sky
c467ebf132 Fix "no windows means MMC exits prematurely" issue 2013-10-26 08:38:21 +01:00
Sky
0430a2a38f Add assets download status to status bar. 2013-10-26 02:31:58 +01:00
Petr Mrázek
ba938dd8e2 Fix java detection segfault 2013-10-24 01:47:54 +02:00
Sky
c65bab6efe Respect console options (opening a console at all, automatically closing) 2013-10-22 18:25:10 +01:00
Sky
1d2183ea29 Tweak my credits 2013-10-22 04:55:36 +01:00
Sky
867efd53a2 Bugfixes for auto login 2013-10-21 22:08:09 +01:00
Sky
003fedde01 Implement auto login 2013-10-21 21:25:50 +01:00
Sky
11813a0621 Merge branch 'feature_skins' into develop 2013-10-21 18:00:30 +01:00
Sky
ce512e1cf2 Clean up skins, remove wrapper, save to accounts/skins 2013-10-21 17:50:45 +01:00
Petr Mrázek
aca7764afc Ask for java path when hostname changes from the last run. 2013-10-20 22:28:31 +02:00
Sky
681d36b232 First draft of player faces in the login dialog 2013-10-19 06:40:46 +01:00
Orochimarufan
be2c7f4515 Change Organization and App name, might invalidate some configs? Add Tak to credits screen 2013-10-18 20:11:28 +02:00
Sky
b2574542b1 Merge branch 'develop' of github.com:MultiMC/MultiMC5 into develop 2013-10-18 18:10:41 +01:00
Sky
709252fe9e Use player username if offline, or "Player" if blank 2013-10-18 18:10:19 +01:00
Orochimarufan
dcf58cdf12 Derp - typo in platform_other.cpp 2013-10-18 19:01:40 +02:00
Orochimarufan
78882ff6b1 Fix MainWindow Icon; Fix WM_CLASS issue; now links QX11Extras and libxcb on linux 2013-10-18 18:43:19 +02:00
Sky
71d5cf91a8 Merge branch 'develop' of github.com:MultiMC/MultiMC5 into develop 2013-10-16 02:54:02 +01:00
Sky
b5ae2e974d Trim console output (fixes excessive whitespace in Windows console output) 2013-10-16 02:46:57 +01:00
Petr Mrázek
f5733f201b Make permgen limit ridiculously high. 2013-10-15 20:11:05 +02:00
Sky
deffe7db43 Change "News" URL to new website 2013-10-15 00:19:22 +01:00
Sky
40a2456646 Huge Java detection refactor, version dialogs on first run (no JavaPath set) and "auto detect" button 2013-10-14 03:00:06 +01:00
Sky
0ae8073d41 Fix instance settings tab order 2013-10-13 16:01:12 +01:00
Sky
a21338866d Fix tab ordering in settings dialog 2013-10-13 15:59:15 +01:00
robotbrain
52031a6814 Update MCModInfoFrame.h
fix moar indents :)
2013-10-12 15:44:34 -04:00
robotbrainify
c7cc32f1d4 Indent fixing! 2013-10-12 13:59:14 -04:00
robotbrainify
4c64c3c612 cleanup 2013-10-12 09:59:18 -04:00
robotbrainify
aef28fd3a5 It works...
yeehaa!
2013-10-12 09:58:26 -04:00
robotbrainify
281826f713 switch from tooltip to messagebox 2013-10-12 09:19:49 -04:00
robotbrainify
71948073e9 tool tip bugfixes 2013-10-12 08:45:24 -04:00
robotbrainify
f99a3072b8 mod description size limiter done 2013-10-12 08:28:21 -04:00
robotbrainify
4d320e8fc9 remove dupe newlines from trimmed mod description. whoo 2013-10-11 17:54:58 -04:00
Kilobyte22
bd11749d2a HOTFIX: Redid about dialog stuff - working this time. Sorry again 2013-10-10 21:19:31 +02:00
Petr Mrázek
73f8bc5c92 Version changing removes any existing version json. 2013-10-10 01:47:48 +02:00
Petr Mrázek
eaf0cbeafc Fix MMC-15
``mod does not delete from jar''
2013-10-09 23:16:10 +02:00
Sky
595943244c Fall back to mod ID if name is missing for some reason 2013-10-09 03:10:56 +01:00
Sky
14b47057fd Clean up mcmod panel massively. Keep it simple - name (optionally linked), optional authors and description. Needs cut-off handling, frame looking at on Windows 2013-10-09 02:26:47 +01:00
Petr Mrázek
6bc9df84d9 Mod info, with less HTML!
And responding to keyboard events too.
2013-10-09 02:03:02 +02:00
Sky
9edc486f13 Show defaults if mod type is 'folder' 2013-10-08 22:25:56 +01:00
Sky
bf951c3eb8 Licenses, cleanup 2013-10-08 22:11:24 +01:00
Sky
f2291ef161 Move mod info frame and handler to MCModInfoFrame, use on all instances 2013-10-08 21:45:48 +01:00
Sky
60e7e019fe Start mcmod.info panel. Needs to be its own widget and included in legacy mod edit window, text labels need eliding 2013-10-08 17:07:54 +01:00
Petr Mrázek
05e2da51d8 Add mod website button thing feature widget. It is super effective. 2013-10-08 01:38:26 +02:00
Petr Mrázek
a58912eaf7 Basic version changing (OneSix only for now) 2013-10-08 01:38:26 +02:00
Petr Mrázek
346087efbb Misc version dialog changes 2013-10-08 01:38:26 +02:00
Sky
50035e9aa1 Set offline player name to "Player" to prevent a crash on world loading in an offline session 2013-10-07 22:42:14 +01:00
Sky
24f6f3059b Tweak about dialog to match website 2013-10-07 20:16:09 +01:00
Sky
ecc5153efe Fix About logo, inflate ego 2013-10-07 19:55:49 +01:00
Sky
17c98655f8 First draft of multiple Java installation detection on Windows 2013-10-06 19:54:52 +01:00
Petr Mrázek
8b18af0515 Get rid of junky timestamps, along with some select pointless log messages 2013-10-06 03:07:57 +02:00
Sky
7aeea14a02 Merge branch 'develop' of https://github.com/MultiMC/MultiMC5 into develop 2013-10-06 01:13:20 +01:00
Petr Mrázek
f83119ce7e Added file logger 2013-10-06 01:13:40 +02:00
Sky
2398acc9e4 Fix Java detection button sizes 2013-10-05 02:07:19 +01:00
Sky
932376c6e0 Add "browse" button using Qt's file browser to settings dialog 2013-10-05 02:02:47 +01:00
Sky
1dee4bb60d Add naive Windows Java detection - JavaUtils for finding it on other systems (incomplete) 2013-10-05 01:08:13 +01:00
Petr Mrázek
8b0f8b9e59 ``Working'' forge unpackers. Needs a lot of hardening but good for alpha. 2013-09-30 02:34:46 +02:00
Petr Mrázek
984c36e571 Implement basic yggdrasil auth.
No fancy login token saving involved.
2013-09-23 00:29:40 +02:00
Petr Mrázek
ceca6959d2 Working 1.6 modding (currently only forge) 2013-09-22 04:21:36 +02:00
Petr Mrázek
c2c7293083 Things... and stuff... with 1.6 modding. Maybe. 2013-09-20 01:21:48 +02:00
Petr Mrázek
930b07afd4 Merge branch 'feature_library_model' into develop 2013-09-18 00:08:42 +02:00
Petr Mrázek
b979d0ce5d Implement legacy forge button!
Many refactors of the task system.
Progress dialog now accepts generic ProgressProvider objects
2013-09-18 00:00:35 +02:00
Petr Mrázek
d38b90530b Forge version list implementation. Needs integration and testing. 2013-09-16 00:54:39 +02:00
TakSuyu
5cd3420c46 Changed about source code link to reflect the new organization 2013-09-15 14:11:58 -07:00
Stiepen22
3e1cb57988 Filed attempt on making localization work 2013-09-08 23:43:19 +02:00
Stiepen22
3a08f01509 Changed CMakeList.txt to support translations 2013-09-08 20:18:55 +02:00
Stiepen22
31e5a0fe6d Changed all strings displayed to end user to use qts localization system 2013-09-08 18:13:09 +02:00
Petr Mrázek
499ee1e365 Merge branch 'master' of https://github.com/Stiepen22/MultiMC5 into develop
Conflicts:
	AppSettings.cpp
	MultiMC.pro
	main.cpp
2013-09-08 16:21:49 +02:00
Petr Mrázek
7e1cf22ce6 Use youtrack for bugs 2013-09-08 15:59:50 +02:00
Stiepen22
dab2bbe4e7 Added console coloring and made the log not contain any usernames/session ids 2013-09-08 15:02:52 +02:00
Petr Mrázek
6892c11e9f Move a good chunk of the singleton objects into a new QApplication subclass. 2013-09-07 04:00:58 +02:00
Stiepen22
5cac21ca63 Enough main window hiding magic for now 2013-09-07 00:02:05 +02:00
Stiepen22
c985f68b72 Made main window hide on instace exit 2013-09-06 23:58:10 +02:00
Stiepen22
3fd2d025a1 Made main window hide on instace exit 2013-09-06 23:52:17 +02:00
Stiepen22
0990a1103c Made Offline user name default to 'Offline' if the textbox is left empty 2013-09-06 23:01:40 +02:00
Stiepen22
f897a200e2 Made instace killing actually work 2013-09-06 22:40:50 +02:00
Stiepen22
2acfd00d76 Implemented basic offline mode 2013-09-06 17:08:12 +02:00
Petr Mrázek
78e278c1e3 Misc tweaks
* Do not nuke forge META-INF
* Disable inner DnD in mod lists on linux.
2013-08-28 21:52:19 +02:00
Petr Mrázek
93bb7c87e3 Enable drag and drop for testing 2013-08-28 06:51:04 +02:00
Petr Mrázek
5ff6fbf464 Basic 1.6 mod management (no jar mods) 2013-08-28 04:38:29 +02:00
Petr Mrázek
aa8766581e Tweak login dialog. 2013-08-28 00:07:52 +02:00
Petr Mrázek
a266e5d0cc Slight refactor of the mod edit dialog constructor
Also some other insignificant refactors
2013-08-27 20:29:27 +02:00
Petr Mrázek
73f534939a And more OSX thing. 2013-08-27 18:31:49 +02:00
Petr Mrázek
de456b2b0b OSX tweakery 2013-08-27 18:27:58 +02:00
Petr Mrázek
e17655243c More OSX magic! 2013-08-27 16:50:42 +02:00
Petr Mrázek
fd4026c60a Fix ugly blue focus thing on OSX. 2013-08-27 16:20:32 +02:00
Petr Mrázek
5573ed52e8 Add/remove/drag&drop for the icon picker. 2013-08-27 05:39:49 +02:00
Petr Mrázek
e6999b3b62 Clean up the main window constructor a bit 2013-08-26 07:09:54 +02:00
Petr Mrázek
a63c7340a6 Nuke the old instance model, LONG LIVE THE NEW ONE 2013-08-26 06:30:11 +02:00
Petr Mrázek
6793f6b706 Make settings dialog layouts less derpy on windows 2013-08-26 04:34:37 +02:00
Petr Mrázek
ef3ff88510 Fix settings dialog layouts
They didn't scale
2013-08-26 03:59:51 +02:00
Petr Mrázek
c5725d653b Make news button go to *MultiMC* news. 2013-08-25 23:41:23 +02:00
Petr Mrázek
a852dff98d Add cat icon for the cat button. Meow. >:3 2013-08-25 23:35:52 +02:00
Petr Mrázek
f0990fae4b Many improvements
PermGen can be tweaked from the settings menu
Groups are saved on change/exit
Install target is no longer completely broken
All the deplibs are now static
Added notes dialog
Fixed ini file format support (can save strings with newlines, tabs. UTF-8 is explicitly used!)
Rename button now uses line breaks so it doesn't grow ever wider (Added a custom tool button subclass)
There is now a CAT button. Meow.
2013-08-25 22:48:41 +02:00
Petr Mrázek
d884f849d6 All kinds of incremental improvements
Redone the instance action toolbar:
* Removed all the dead actions
* Change icon and Rename are now morphed into a header
* Added button for opening the config folder
Implemented support for loose files and folders as legacy jar mods
Added texture pack support
2013-08-25 01:32:42 +02:00
Petr Mrázek
e3b55067eb Legacy jar reassembly, base of proper custom jar support 2013-08-24 03:09:46 +02:00
Petr Mrázek
b781231666 Contiguous selection and keyboard input for mod lists.
Tweak console to take up the sides.
You can reorder mods from the keyboard.
2013-08-21 01:07:54 +02:00
Petr Mrázek
524fbcdd3e Disable drag mod reordering 2013-08-20 20:56:21 +02:00
Petr Mrázek
bbc47cb8bd Sync, removal of webkit as a dependency, removal of the web windows. 2013-08-20 02:29:36 +02:00
Petr Mrázek
c92ad7dcf8 Drag and Drop, mod management. 2013-08-18 20:52:17 +02:00
Petr Mrázek
253067c782 Move all the things (YES. Move them.)
Also, implemented some basic modlist logic, to be wired up.
2013-08-17 13:40:51 +02:00
Petr Mrázek
ff33d4a1a4 OneSix instances now have a minecraft folder inside.
Also, the main instance view was expanded with helpful key events:
F2 for rename, F5 for refresh, Enter for start instance, Delete for...
2013-08-12 00:39:19 +02:00
Petr Mrázek
7e78a422e8 Version filtering and general related code sanitization.
Version list dialog has alternating row background set.
Nostalgia versions, based on OneSix.
2013-08-11 19:05:22 +02:00
Petr Mrázek
1782d5ad9a Implement icon picker, bring back raster icons. 2013-08-11 01:07:15 +02:00
Petr Mrázek
bf5f5091ef Various task related improvements.
* Errors are reported back to task users via Failure signals.
* Lwjgl doesn't download on each legacy instance start anymore.
* Tasks were unified when it comes to success/failure.
* Task dialogs don't get spawned after short tasks finish anymore.
2013-08-09 00:26:35 +02:00
Petr Mrázek
afaa1dc223 Get rid of QNAM (now subclassed and less needy). Basic LWJGL download and extraction. 2013-08-07 01:38:18 +02:00
Petr Mrázek
005a010ee6 More code cleanups! 2013-08-04 14:46:33 +02:00
Petr Mrázek
935ad6b02c Fix KDE includes problem 2013-08-04 12:21:51 +02:00