1
0
mirror of https://github.com/SKCraft/Launcher.git synced 2024-11-24 12:16:28 +01:00
Commit Graph

54 Commits

Author SHA1 Message Date
Magi1053
3448a018d3
Use absolute paths for legacy launcher wrapper support 2020-01-29 18:29:32 -06:00
sk89q
40b5fb838c Update to Java 9/10. Fancy version is still broken. 2018-07-14 19:09:40 -07:00
Albert Pham
403f2848b8
Merge pull request #215 from me4502/master
Add argument to configuration for auto-joining a server.
2017-11-11 07:54:21 -08:00
Albert Pham
768f7a5a0c
Merge pull request #188 from Matrix89/master
Add clear console button.
2017-11-11 07:53:28 -08:00
Matthew Miller
21e67328c7 Added server argument to configuration 2017-11-11 15:42:16 +10:00
Oliver Kahrmann
300da2df56 Fix runtime issue with Java 9 (java.xml.bind API) 2017-10-20 19:04:11 +02:00
sk89q
f9a728dcd6 Add minecraft.applet.TargetDirectory flag for legacy MC. 2017-08-18 15:34:24 -07:00
Matrix89
23a05d1299 Add clear console button 2017-03-24 18:14:30 +02:00
Oliver Kahrmann
bd532842b3 Reload news page when pressing "Check for Updates" 2016-07-31 22:35:48 +02:00
Jurek Weber
b2ae3316c4 use HTTPS instead of HTTP 2016-05-24 10:27:03 +02:00
sk89q
d01d93c349 Revert 'Use a JList rather than JTable for the instance list.' 2016-04-06 18:23:16 -07:00
sk89q
aa4a51882b Detect BSD as Linux. 2016-04-05 22:02:40 -07:00
Wyatt Childers
8ab5a647af Updated maven_repos.json
https://central.maven.org/ now forces users to use https://repo1.maven.org
2016-01-12 22:29:09 -05:00
sk89q
1673dc57e8 Select nearest entry on right click of instance list. 2015-11-14 16:22:20 -08:00
sk89q
991d39ced6 Use a JList rather than JTable for the instance list. 2015-11-14 14:13:50 -08:00
sk89q
2cd6ba59ff Load UI assets in the background. 2015-11-14 12:09:46 -08:00
sk89q
c1cbff754e Possibly improve detection of 32-bit/64-bit. 2015-08-03 14:25:54 -07:00
sk89q
300c8167d8 Clean up JavaRuntimeFinder. 2015-08-03 14:21:03 -07:00
sk89q
4c8a65d8a3 Set better memory defaults. 2015-08-03 14:16:23 -07:00
sk89q
3e18bcde89 Fix the Launch/Install context menu options not being localized.
Fixes #72
2015-08-03 13:46:58 -07:00
sk89q
64ee00bd1d Fix the launcher frame starting too small on some systems.
Fixes #83
2015-08-03 13:44:25 -07:00
sk89q
40555cce59 Merge pull request #82 from seebs/master
Avoid pathological failure mode when trimming lines.
2015-08-03 13:40:54 -07:00
Seebs
2a50a19d73 Avoid pathological failure mode when trimming lines
If for any reason the document associated with a LimitLinesDocumentListener
ended up not getting shorter when its first line was removed (this is,
of course, impossible), sklauncher would wedge in a busy loop that
completely killed the GUI thread forever.

Solution, part #1: Don't do a while loop, just remove multiple lines
if you need to.

But wait, why are we having this problem at all? It turns out that there
are problems when the document's length changes, which can manifest as
tons of BadLocationExceptions going uncaught in the AWT thread which is
trying to refresh the window. Why? Probably because the insert into the
document isn't happening in the Swing run queue, but concurrently with
it. So use an invokeLater to do the actual insertion.

With these two changes, and a console set to 125 lines, I got no failures.
Previously, if I set the console to 125 lines, it would die catastrophically
before Minecraft was done starting up.

Also performance may be noticably better. It's pretty common for things
to dump 20+ lines into the buffer at once. If you have a 10,000 line buffer,
and you then delete the first line of it 20 times, that's actually a whole
lot of allocation and shuffling going on.
2015-07-30 19:00:08 -05:00
sk89q
454aa327a4 [Creator] Add mod update checker. 2015-07-27 19:56:53 -07:00
sk89q
4364d1f709 Have TableColumnAdjuster re-adjust columns later after model change. 2015-07-27 19:52:26 -07:00
sk89q
a3ad521e38 Add HttpRequest.asJson(TypeReference type). 2015-07-27 19:52:06 -07:00
sk89q
8959f6ef76 Suppress unchecked warnings in LoginDialog. 2015-07-24 17:07:24 -07:00
sk89q
8eeee1081d Add an about dialog. 2015-07-24 16:51:19 -07:00
sk89q
4a35f5f5b6 Fix some native compatibility issues. 2015-07-24 11:54:08 -07:00
sk89q
815383a3a8 [Creator] Add test online option. 2015-07-24 11:38:29 -07:00
sk89q
0cc95225dd Add new creator tools. 2015-07-23 23:46:18 -07:00
sk89q
4fc8c274c3 Expand the build tools to encompass many more tasks. 2015-07-21 01:23:57 -07:00
sk89q
080ac12545 [Build Tools] Don't confirm process close. 2015-07-20 16:03:40 -07:00
sk89q
cdfb01d9a6 Change LaunchSupervisor to take a LaunchOptions value object. 2015-07-20 14:52:43 -07:00
sk89q
3306e67304 Add SwingHelper.readImageIcon(). 2015-07-20 14:52:16 -07:00
sk89q
4ee2871934 Add ConsoleFrame.hideMessages(). 2015-07-20 14:51:43 -07:00
Slind14
be85ff175f un-editable icon 2015-03-21 14:32:09 +01:00
sk89q
0d8784992b Create instance directory more eagerly. 2015-02-23 00:07:46 -08:00
sk89q
b1c14da7e4 Try harder to create the initial instance folder on update. 2015-02-22 14:50:36 -08:00
sk89q
d6e7c02174 Remove "(not installed)" etc. which causes wrapping. 2015-02-20 13:23:11 -08:00
sk89q
c734ab751b Add a background to the fancy launcher. 2015-02-20 03:30:56 -08:00
sk89q
5270e81ac3 Show the main launcher view slightly quicker. 2015-02-20 01:40:57 -08:00
sk89q
ed4d6d2875 Make the split pane opaque on the launcher frame. 2015-02-20 01:39:34 -08:00
sk89q
b4926c0826 Make the background transparent on the news page view. 2015-02-20 01:38:42 -08:00
sk89q
f4f406d9cf Remove the header on the instance list. 2015-02-20 01:38:27 -08:00
sk89q
540a3bcaab Refactor startup and add new dark fancy theme. 2015-02-20 01:38:18 -08:00
sk89q
4b5bf7dca9 Fix memory leak with old launcher window. 2015-02-19 22:11:07 -08:00
sk89q
930456bb05 Remove extra fields on LauncherFrame. 2015-02-19 22:08:31 -08:00
sk89q
8cf14a5ce1 Split up LauncherFrame. 2015-02-19 21:34:57 -08:00
sk89q
515de39754 Remove unnecessary dependencies for the launcher. 2015-02-19 04:06:19 -08:00