Commit graph

153 commits

Author SHA1 Message Date
b74ed5cc4c Make some structural changes to rename to ACLauncher 2024-03-15 16:31:06 -07:00
Ryan Dowling
f18d067668
fix: osx build 2023-07-15 13:03:48 +10:00
Ryan Dowling
1f927bcfad
chore: upgrade dependencies and Gradle to 8.2 2023-07-07 08:41:12 +10:00
Ryan Dowling
d9628a2b58
feat: [#775] start of switch analytics from Google Analytics to own platform 2023-06-30 19:59:18 +10:00
Ryan Dowling
de45c7d2c2
feat: scan mods for malware (specifically Fractureiser for now) before launching an instance 2023-06-10 22:15:00 +10:00
Ryan Dowling
4c518c3b5e
fix: issues with unicode characters breaking instances and not showing properly 2023-05-14 15:21:37 +10:00
Doomsdayrs
b304d59078
Implement ViewModel for VanillaPacksTab using RxJava (#743)
* Implement ViewModel for VanillaPacksTab using RxJava

Helps handle architecture in a better way.
Previous attempt using Kotlin caused numerous issues.
This is a rewrite of that, back into Java using RxJava.

There are a few issues with this commit.
A following commit will fix those.

* Fix broken loop in VanillaPacksTab

* Implement RxSwing into VanillaPacksViewModel

This fixes some computation issues with async.

Although, the only issue that remains is inconsistent version selection.

* Resolve selection mechanic issue in VanillaPacksTab

* Sort Quilt Before Fabric in VanillaPacksTab

Matching pattern with forge & legacy forge.
Newer -> Older, Left -> Right

* VanillaPacksViewModel: Fix quilt button being disabled on start

* VanillaPacksTab: Move quilt button to last

* VanillaPacksViewModel: Return empty instead of singleton for no loader

* VanillaPacksViewModel: Fix initial loaderType not being set

* VanillaPacksViewModel: Fix type column value

* VanillaPacksViewModel: Fix loader list accumulation

Caused by an improper Kotlin->Java conversion.

* VanillaPacksViewModel: Remove debug log from setName

* VanillaPacksTab: Fix text editing

This introduces cursor reset issues

* VanillaPacksTab: Fix text editing 2

* VanillaPacksTab: Fix quilt ordering

* PreservingCaretTextSetter: Fix out of bounds crashes

* VanillaPacksTab: Implement StatefulTextKeyAdapter for complex typing

I noticed that I could not use the arrow keys to select a range.
This fixes that.

* VanillaPacksTab: Expand StatefulTextKeyAdapter ignored keys

* VanillaPacksViewModel: Fix default field name/desc flashing

Essentially, two different threads were competing to set the values.

This commit solves the issue by relegating the task to the second task,
 and then deduping the codebase.

* VanillaPacksViewModel: set loaderVersions to empty when none is selected
2023-05-06 13:29:12 +10:00
Ryan Dowling
2914ac1383
Revert "[Architecture] Kotlin VanillaPacksTab (#717)"
This reverts commit 591ec36136.
2023-03-29 21:55:52 +11:00
Ryan Dowling
f3a7d575e6
Revert "Convert Gradle to Kotlin script (#724)"
This reverts commit 42b1733d02.
2023-03-29 21:54:52 +11:00
Doomsdayrs
42b1733d02
Convert Gradle to Kotlin script (#724)
* Use double quotations instead of single in gradle

* Use register task syntax

* Use parenthesis instead of implied correlation

* Convert settings.gradle to kts

* Convert legacy-launcher build.gradle to kts

* Convert main build.gradle to kts

I dropped jitpack from plugins as upstream gettext
 has all patches in. Also, because ben-manes versions does too.

* Organize build.gradle.kts

* Update CHANGELOG.md
2023-02-21 21:28:56 +11:00
Doomsdayrs
591ec36136
[Architecture] Kotlin VanillaPacksTab (#717)
* Rebase onto master

* Commmit-work

* Use Kotlin Flow instead of RXJava

I wanted to maintain the code as java as much as possible, but RXJava
 is a pain to use. Now that it is in Kotlin, it is much nicer to
 write.

* Update CHANGELOG

* Rename .java to .kt

* Rewrite VanillaPacksTab with Kotlin & ViewModel

* Add localization

* Reimplement legacy fabric

* Fix misedited string

* Use apollo coroutines support in VanillaPacksViewModel

* FIx legacy fabric set function

* Add logs to VanillaPacksViewModel

* Fix minecraft version selection mechanic

* Fix version type selection mechanic

* Add way to sync selectedMinecraftVersion with GUI

* Format VanillaPacksViewModel.kt

* Readd logs & Simplify loader loading

* Fix mod loader auto selection

* Update CHANGELOG.md

* Update CHANGELOG.md

* Back to mainline

* Back to mainline

* Move MCVersionRow to data directory

* Update documentation in IVanillaPacksViewModel

* Attach visibility control to loader button UI

* Fix showLegacyFabricOption loader not using correct key

* Remove reset TODO from VanillaPacksViewModel
2023-02-13 13:35:26 +11:00
Ryan Dowling
122b064f0b
refactor: switch a couple data calls to use Graphql if configured 2023-01-02 18:19:04 +11:00
Ryan Dowling
f9442a2170
chore: update commons-text to 1.10.0 for CVE-2022-42889 2022-10-14 13:17:25 +11:00
Ryan Dowling
02f18a0f47
feat: [#576] add support for ARM devices 2022-08-02 22:04:33 +10:00
Ryan Dowling
63ebae2882
fix: wrong version of gettext gradle plugin 2022-07-29 23:42:56 +10:00
Ryan Dowling
66c36c763e
fix: use custom version of gettext-lib so untranslated strings use English 2022-07-29 21:48:41 +10:00
Ryan Dowling
79af483ccc
feat: add in workflows for uploading source and downloading translations from crowdin 2022-07-26 19:20:15 +10:00
Ryan Dowling
74964b2b58
fix: upgrade Sentry and fix some issues with filtering events 2022-07-12 17:13:32 +10:00
doomsdayrs
22889c9d1f Remove JCenter
JCenter is a deprecated repository, Thankfully nothing uses it in the project.
2022-06-12 10:34:18 -04:00
Ryan Dowling
646a839222
chore: update dependencies 2022-06-13 00:11:02 +10:00
Ryan Dowling
595bb8c816
chore: remove dependency duplicates from gradle 2022-06-12 23:00:41 +10:00
Ryan Dowling
7830527a79
chore: remove some unecessary files from the shadow jar 2022-06-08 18:54:04 +10:00
Ryan Dowling
575fe0d835
Revert "fix: [#564] the changes made for dbus and flatpak file pickers causing issue installing Forge 1.16.5"
This reverts commit a708a4237e.
2022-06-05 11:19:36 +10:00
Ryan Dowling
a708a4237e
fix: [#564] the changes made for dbus and flatpak file pickers causing issue installing Forge 1.16.5 2022-04-21 23:52:12 +10:00
Ryan Dowling
4ae811d3eb
fix: [#564] running the app via Flatpak not allowing selecting files outside the sandbox (WIP) 2022-04-05 23:30:42 +10:00
Ryan Dowling
5999af433a
refactor: [#558] change hashing class to use Guava under the hood as it's much better memory wise 2022-03-25 17:37:01 +11:00
Ryan Dowling
2adbca7381
chore: remove servers checking tool 2022-03-24 20:44:55 +11:00
Ryan Dowling
16cf911623
chore: update dependencies and gradle 2022-03-24 17:42:34 +11:00
Ryan Dowling
2ddb012a10
fix: update mockserver version to fix issue with Java 17 2022-03-23 21:42:36 +11:00
Ryan Dowling
dd185f5729
chore: revert commits removing Mojang logins
This reverts commit 48b7a62918, 48b7a62918, a0210f8d44, 17a78d54a8 and ce49ac293d
2022-03-23 21:22:05 +11:00
Ryan Dowling
53ad013105
chore: update flatlaf 2022-03-16 17:32:51 +11:00
Ryan Dowling
88717dd1c2
chore: update Sentry library 2022-03-05 21:32:32 +11:00
Ryan Dowling
2df6c28e48
fix: don't run unit tests through xvfb and revert flatlaf package update due to NPE on build 2022-03-05 17:25:06 +11:00
Ryan Dowling
09f29d4f3f
chore: remove authlib from dependencies and remove some old Mojang account code 2022-03-05 16:31:00 +11:00
Ryan Dowling
4b547c27b6
chore: update dependencies 2022-03-05 16:11:19 +11:00
Ryan Dowling
06fc3aac21
fix: [#400] some Java versions/distributions not being picked up by the exe 2022-02-25 14:50:57 +11:00
Ryan Dowling
f4f140b2f1
feat: [#549] when deleting instances, move them to trash/recycle bin if possible 2022-02-05 12:30:50 +11:00
Ryan Dowling
acf67f7ae4
feat: add support for browsing and installing modpacks from Modrinth 2022-01-31 18:40:28 +11:00
Ryan Dowling
ef092223f4
fix: don't check license validity when building 2022-01-05 17:25:42 +11:00
Ryan Dowling
2fa6e9fedf
fix: [#537] update Log4J packages within ATLauncher itself 2021-12-15 10:47:01 +11:00
Ryan Dowling
8222641015
feat: add markdown renderer for FTB pack cards 2021-11-20 22:03:30 +11:00
Ryan Dowling
4d9ed17728
fix: inject Lets Encrypt certificate on Java 8 < 141 2021-11-16 20:48:13 +11:00
Ryan Dowling
6975c1d688
fix: duplicates in build.gradle dependencies 2021-10-16 13:17:50 +11:00
Ryan Dowling
e6b9bc91de
chore: update dependencies and gradle wrapper 2021-10-15 18:20:10 +11:00
Ryan Dowling
64556fac1a
fix: [#505 update flatlaf packages to fix issue with jawt loading 2021-10-15 18:03:19 +11:00
Ryan Dowling
7c1b5e8f26
chore: [#516] remove dependency on pack200 2021-10-15 17:44:39 +11:00
Ryan Dowling
20645dc400
fix: builds failing on Java < 11 and spelling error 2021-10-12 18:08:53 +11:00
xz-dev
e0bcac9a56
fix: test support for java11 2021-10-07 16:28:04 +08:00
Ryan Dowling
b9a740850b
chore: add in idea project files so there's a base for those using it 2021-07-31 12:02:28 +10:00
Ryan Dowling
4779cdc385
refactor: [#494] update gradle and packages 2021-07-27 20:33:26 +10:00