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
1bfec8de08
Merge pull request #51 from Slind14/patch-1
...
Make the instance icon un-editable.
2015-03-22 20:20:12 -07:00
Slind14
be85ff175f
un-editable icon
2015-03-21 14:32:09 +01:00
sk89q
629552acb6
Merge pull request #48 from Ant59/patch-1
...
Fix .url.txt not generating correct manifest files.
2015-03-20 15:00:26 -07:00
sk89q
0e70174f34
Clarify the README a bit.
2015-03-20 14:58:52 -07:00
Antony Derham
951a854384
Correct location/to mix-up
...
If .url.txt is used, the manifest file should specify that as the download location, not the local "to" location
2015-03-12 14:37:26 +00: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
a08825b7ba
Fix fancy launcher theme classloader woes.
2015-02-20 17:17:20 -08:00
sk89q
5e1b039801
Add IRC information.
2015-02-20 15:51:56 -08:00
sk89q
d6e7c02174
Remove "(not installed)" etc. which causes wrapping.
2015-02-20 13:23:11 -08:00
sk89q
468a12f1c6
Link to fancy launcher configuration in the README.
2015-02-20 13:17:15 -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
415de32f6a
Update the README.
2015-02-19 16:10:59 -08:00
sk89q
bcd90cfec9
Add bootstrap project.
2015-02-19 14:30:09 -08:00
sk89q
b6aa58d804
Add missing sample project .jars.
2015-02-19 13:28:16 -08:00
sk89q
b6176ff594
Add sample files.
2015-02-19 13:25:48 -08:00
sk89q
81ec45e573
Update copyright in FancyLauncher.
2015-02-19 04:07:37 -08:00
sk89q
515de39754
Remove unnecessary dependencies for the launcher.
2015-02-19 04:06:19 -08:00
sk89q
a67b8820e5
Switch to MigLayout for the main launcher frame.
2015-02-19 04:05:53 -08:00
sk89q
ab6ec9ed71
Add a fancy skinned version of the launcher.
2015-02-19 03:13:07 -08:00
sk89q
c41fb73bd1
Rename SharedLocale._() to tr().
2015-02-18 21:32:26 -08:00
sk89q
5b6681b8ea
Switch to Gradle. Use git log --follow for history.
...
This converts the project into a multi-module Gradle build.
By default, Git does not show history past a rename, so use git log
--follow to see further history.
2015-02-18 21:30:25 -08:00
sk89q
a0b1bdf8c0
Swap order of loader libs and ignore Mojang's libs.
2015-02-18 16:46:38 -08:00
sk89q
994175c5b7
Add more debug messages in PackageBuilder.
2015-02-18 00:31:45 -08:00
sk89q
8cdf50ff77
Add support for URL download override.
2015-02-18 00:30:08 -08:00
sk89q
883eaf63eb
Add support for mod loader installation.
2015-02-17 20:31:37 -08:00
sk89q
7c887ad5a3
Fix ID/Email typo.
2015-02-17 10:43:34 -08:00
sk89q
4f4a457213
Change default URLs.
2015-02-17 10:43:19 -08:00
sk89q
43f38614b0
Update documentation link.
2014-08-10 14:54:08 -07:00
Albert Pham
2018a6814b
Merge pull request #25 from Mrbrutal/master
...
Fixed "minecraft" folder not found bug.
2014-07-29 10:49:12 -07:00
Mrbrutal
accd34abf4
Fixed "minecraft" folder not found bug.
2014-07-29 15:22:12 +02:00
sk89q
7f5e8672cf
Added Javadocs to various classes.
2014-03-23 16:31:29 -07:00
Albert Pham
fae88c17f4
Made README.md shorter.
2014-03-21 16:54:39 -07:00
Albert Pham
c3740c46c6
Merge pull request #6 from oxguy3/pull
...
Fixed a tiny typo
2014-03-21 16:19:31 -07:00
Hayden Schiff
3cb725b1c8
fixed a typo
2014-03-20 17:50:01 -06:00
Albert Pham
9f697972bf
Updated maven-shade-plugin to version 2.1
2014-02-22 18:59:12 -08:00
Albert Pham
858d1b1b56
Also skip folders starting with . for the server files
2014-02-22 18:20:56 -08:00
Albert Pham
f5c3bb48f6
Skip folders starting with . when building the client files
2014-02-22 18:18:20 -08:00
Albert Pham
42a60a60b4
Update README with contact information
2014-02-22 13:34:55 -08:00
Albert Pham
b4fbec3366
Updated README with a better description of the project
2014-02-22 13:30:26 -08:00
Albert Pham
3c1eeac7e5
Fixed typo with last commit
...
Editing via GitHub is living dangerously
2014-02-17 20:18:52 -08:00