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

167 Commits

Author SHA1 Message Date
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
c3c6febdbd Bump version to 4.3-SNAPSHOT. 2015-08-03 13:48:27 -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
891a1d6e8a [Creator] Add Pack.getModsDir(). 2015-07-27 19:52:40 -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
a31e07d1d7 [Creator] Make feature table searchable. 2015-07-26 21:32:22 -07:00
sk89q
812cd5fcca [Creator] Update about dialog license information. 2015-07-26 21:30:33 -07:00
sk89q
999590d5ea Correct licensing documents and switch to LGPL. 2015-07-26 21:29:35 -07:00
sk89q
a6410606ba Update the pack manager screenshot in the README. 2015-07-26 20:41:43 -07:00
sk89q
bcb05cb671 [Creator] Make tables searchable. 2015-07-26 20:35:11 -07:00
sk89q
8c9c50ed46 [Creator] Show progress dialog when loading the pack manager too. 2015-07-26 02:21:35 -07:00
sk89q
c5faed3c40 Make the workspace frame load more responsively. 2015-07-26 02:20:27 -07:00
sk89q
a11fed622e Expand the README some more. 2015-07-25 01:04:00 -07:00
sk89q
971cc3260a Fix some issues with the README. 2015-07-25 01:03:13 -07:00
sk89q
40c772191c Add more up to date information to the README. 2015-07-24 23:55:43 -07:00
sk89q
1e751109c3 [Creator] Set version to 2.0.2-SNAPSHOT. 2015-07-24 17:22:19 -07:00
sk89q
37dec66269 [Creator] Set version to 2.0.1. 2015-07-24 17:21:59 -07:00
sk89q
8959f6ef76 Suppress unchecked warnings in LoginDialog. 2015-07-24 17:07:24 -07:00
sk89q
b06600a376 [Bootstrap] Rename _() to tr(). 2015-07-24 17:06:42 -07:00
sk89q
8c1c871484 [Creator] Don't open output directory after building a modpack. 2015-07-24 17:04:04 -07:00
sk89q
d2a16fe560 [Creator] Reduce added menu padding a little. 2015-07-24 17:03:15 -07:00
sk89q
ed1927a0b3 Add /installer/ to .gitignore. 2015-07-24 17:00:56 -07:00
sk89q
18722560b9 [Creator] Add some stylistic changes to the pack manager frame. 2015-07-24 16:51:47 -07:00
sk89q
8eeee1081d Add an about dialog. 2015-07-24 16:51:19 -07:00
sk89q
2cb0638174 [Creator] Add "Open Workspace Folder" option. 2015-07-24 16:36:17 -07:00
sk89q
183fab764d [Creator] Don't re-download mods using a download URL every time. 2015-07-24 16:09:03 -07:00
sk89q
a3e543e900 [Creator] Set version to 2.0.1-SNAPSHOT. 2015-07-24 12:23:22 -07:00
sk89q
2157a5c77c [Creator] Add menu options to open the test data folders. 2015-07-24 11:56:47 -07:00
sk89q
4a35f5f5b6 Fix some native compatibility issues. 2015-07-24 11:54:08 -07:00
sk89q
9647768a1a [Creator] Use bigger pack icon. 2015-07-24 11:45:00 -07:00
sk89q
f42e365734 [Creator] Fix incorrect launcher config dir. 2015-07-24 11:42:23 -07:00
sk89q
995d9433ad [Creator] Use own pack icon. 2015-07-24 11:41:15 -07:00
sk89q
815383a3a8 [Creator] Add test online option. 2015-07-24 11:38:29 -07:00
sk89q
a3d0626db5 Update the README regarding the new tools. 2015-07-24 02:00:37 -07:00
sk89q
8ea629a7c4 Make the PHP package listing file use old array syntax. 2015-07-24 02:00:25 -07:00
sk89q
7416e53994 Fix URL override still resulting in a (broken) file copy. 2015-07-23 23:54:33 -07:00
sk89q
0cc95225dd Add new creator tools. 2015-07-23 23:46:18 -07:00
sk89q
c87fae842b [Build Tools] build -> compile package 2015-07-21 11:40:11 -07:00
sk89q
1121ed57b2 Add more screenshots to the README. 2015-07-21 02:37:58 -07:00
sk89q
ca66da639d Add easy to use build batch/shell scripts. 2015-07-21 01:33:40 -07:00