Commit Graph

49 Commits

Author SHA1 Message Date
modmuss50 2a7aa1e312 Add tests and task 2024-05-17 19:39:20 +01:00
modmuss50 48cf4b54d0 Format mapping poet code 2024-05-17 19:05:06 +01:00
modmuss50 02bc5e4a81 Merge remote-tracking branch 'remotes/mappingpoet-migrate/master' into mapping-poet 2024-05-17 19:01:16 +01:00
Player 7efbd4534e Improve debug output, update javapoet (#32)
* Update gradle

* Fix test eclipse java compiler compatbility

* Always dump class name on errors, remove some streams, reformat

* Bump javapoet

* Update javapoet
2024-05-15 18:40:29 +01:00
modmuss50 8b0f70e572 Update ASM 2024-03-27 16:57:10 +00:00
modmuss f0372ee01c
Add formatMappings task (#3811)
* Add formatMappings task

* Fix build

* Cleanup
2024-03-06 21:57:57 +00:00
modmuss fd68c43e2c
Let's not do that again (#3799) 2024-02-28 19:35:52 +00:00
modmuss ec47d43d67
Update CFR and Enigma (#3794)
* Update CFR and Enigma

* Update and fix build
2024-02-15 13:02:36 +00:00
modmuss 20aa9da7ee
Bump filament version 2024-02-11 12:39:07 +00:00
modmuss cbe955f7b6
Update buildscript (#3785)
* Update buildscript

* Fix git attributes

* Workaround a bug

* Update action
2024-02-08 08:52:35 +00:00
modmuss50 638219fd96 Update name proposal and fix JavadocLintTask when there are no changes. 2023-08-30 15:45:51 +01:00
modmuss50 7dd0801da3 Fix NPE in RemapUnpickDefinitionsTask.
Closes #3575

Co-authored-by: Cat Core <34719527+thecatcore@users.noreply.github.com>
2023-08-02 18:34:24 +01:00
modmuss50 5a38e2b0e2
Bump filament version 2023-05-10 21:02:47 +01:00
modmuss50 925808a83c
Fix merged mappings source ns (#3572) 2023-05-10 20:45:18 +01:00
modmuss50 31a9278db7
More buildscript updates (#3566) 2023-05-10 18:16:40 +01:00
liach 40a0d19ade 0.4.0
Migrate to mapping io, use spotless
still need to work on inner class handling, need named jar inspection first
2023-05-05 17:04:07 -05:00
modmuss50 bb890099bb
Build script improvements (#3493)
* Move more to filament

* Fix build

* Mabye fix

* Update enigma

* Fix config caching warning.

* Update engima again

* Enable configuration cache

* Update gradle

* Update loom

* Fixes and improvements.

* Small cleanup

* Fix typo
2023-03-25 17:43:54 +00:00
modmuss50 bf57f81c14 Revert "Fix filament name to match previous name."
This reverts commit 342cafd04d.
2022-10-23 19:37:59 +01:00
modmuss50 342cafd04d Fix filament name to match previous name. 2022-10-23 19:32:46 +01:00
modmuss50 8349f2bc13
Rewrite mc downloading in filament (#3301) 2022-10-23 19:29:44 +01:00
Juuz a7bf49e655
Move jar remapping to Filament (#3300)
* Move jar remapping to Filament

* Replace MapJarTask.libraryDir with a file collection

* Use a more compact format for the task properties
2022-09-20 22:37:53 +01:00
modmuss50 1f985580c7
Move filament into the yarn repo. (#3296)
This will make further developments a lot easier.
2022-09-19 18:18:02 +01:00
liach f07ce4727a Do not dump local class by checking EnclosingMethod attribute 2022-03-20 14:57:08 -05:00
liach 7618954eed Revert "license"
This reverts commit 702b76fcd1.

Revert "Add taglet for putting up record stripping warnings"

This reverts commit d8216422ff.
2021-11-22 18:09:53 -06:00
liach 702b76fcd1 license 2021-11-18 16:58:47 -06:00
liach d8216422ff Add taglet for putting up record stripping warnings
Signed-off-by: liach <liach@users.noreply.github.com>
2021-11-18 16:55:59 -06:00
liach e3e655d390 This looks like why it was problematic
Signed-off-by: liach <liach@users.noreply.github.com>
2021-11-17 17:34:41 -06:00
modmuss50 652c0f2c2e Skip over anonymous records to fix generation failure.
@liach you might be better suited to take a better look at this. Can we move inline classes/records into their method? If so would the javadoc work for that?
2021-10-27 19:45:02 +01:00
modmuss50 6cf42ac7b3 Remove default modifier from private interface methods. 2021-10-27 19:21:36 +01:00
liach 2e901ccb66 Consider package private final fields in record as components for proguard
Signed-off-by: liach <liach@users.noreply.github.com>
2021-09-23 15:24:50 -05:00
liach 099ddebbd0 Preliminary work on getting records and sealed classes right
Signed-off-by: liach <liach@users.noreply.github.com>
2021-09-18 13:31:17 -05:00
liach defbde19d8 Fix redundant public modifier for inner classes, migrate to modern java
Signed-off-by: liach <liach@users.noreply.github.com>
2021-05-13 20:58:47 -05:00
liach 957c0f5138 Better char literals
Signed-off-by: liach <liach@users.noreply.github.com>
2021-03-31 22:50:35 -05:00
liach c45cd7ab43 Fixes #21, tries to fix #20
Signed-off-by: liach <liach@users.noreply.github.com>
2021-03-31 21:27:03 -05:00
liach 598f6db83c Fixes #14 2021-02-22 14:29:30 -06:00
liach 89ef6f274a This appears to fix #13
Signed-off-by: liach <liach@users.noreply.github.com>
2021-01-20 16:58:45 -06:00
liach 2a56056b5d Fixes #12
Signed-off-by: liach <liach@users.noreply.github.com>
2021-01-20 16:44:30 -06:00
liach 2d6eda19e7 0.2.5: Use builtin stylesheet (edited from that for fabricmc.net)
Signed-off-by: liach <liach@users.noreply.github.com>
2021-01-20 15:15:34 -06:00
liach c682bce08b Move the copy on click script to yarn
Signed-off-by: liach <liach@users.noreply.github.com>
2021-01-08 01:36:54 -06:00
liach 0e63622a59 0.2.2
Update html class reference to that of java 15

include js only once each class page

Signed-off-by: liach <liach@users.noreply.github.com>
2020-12-24 17:39:07 -06:00
altrisi b333f68207 Copy the mapping table items on click (#9)
* Copy the mapping table items on click

* Set title programatically, add cursor pointer effect
2020-12-24 10:32:54 -06:00
altrisi 728b75d6c5 Make mappings table match javadoc style and remove deprecated attributes (#10) 2020-12-24 10:23:51 -06:00
i509VCB 4f80349687 Mixin selector go brr 2020-12-23 16:38:21 -06:00
liach cc5d39cf29 Add type annotation support and mapping info in jd gen (#6)
* Supports type annotations

Signed-off-by: liach <liach@users.noreply.github.com>

Minor stuff

Guess receivers work

Signed-off-by: liach <liach@users.noreply.github.com>

Migrate to new entry triple

Signed-off-by: liach <liach@users.noreply.github.com>

Seems it works

at least it handles test files' inner classes

Stage

Now annotations include their defaults in generated files. works good

More tests. Seems javadoc tool is more broken than this project

Signed-off-by: liach <liach@users.noreply.github.com>

* Add a table for each element on obfuscation information

* bump version

Co-authored-by: liach <liach@users.noreply.github.com>
2020-12-23 11:23:44 -06:00
liach 50625c80a7 Skip synthetic params by guess (no attribute available unfortunately) (#4)
* Skip synthetic params by guess (no attribute available unfortunately)

Signed-off-by: liach <liach@users.noreply.github.com>

* Fix code style issue

Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2020-04-18 10:20:46 -05:00
modmuss50 b79be3aea4 License, gradle, jenkins, maven 2020-04-07 19:06:53 +01:00
liach 4dd2cdd831 Parse signatures and handle enum etc better (#1)
* Add signature parser

Signed-off-by: liach <liach@users.noreply.github.com>

* Tweak the signature collector a bit more

Signed-off-by: liach <liach@users.noreply.github.com>

* I guess the parser works? hmm

Signed-off-by: liach <liach@users.noreply.github.com>

* Ah yes works very fine, enum now works

Signed-off-by: liach <liach@users.noreply.github.com>

* Remove guava, don't want to jump into dep hell

* Tweaks as I try

* Inner class fixes

Signed-off-by: liach <liach@users.noreply.github.com>

* Handle param name conflicts from mappings

Signed-off-by: liach <liach@users.noreply.github.com>

* Fix bug

* Generate better default field values and remove deprecated methods

Signed-off-by: liach <liach@users.noreply.github.com>

* Fix problems lol

* Remove shadow

Signed-off-by: liach <liach@users.noreply.github.com>

* Better generate default code stub and use javapoet to attach param comments

Signed-off-by: liach <liach@users.noreply.github.com>

* Improve generated default again

* Respect inheritance of methods

Signed-off-by: liach <liach@users.noreply.github.com>

* Now with annotations

Signed-off-by: liach <liach@users.noreply.github.com>

Co-authored-by: liach <liach@users.noreply.github.com>
2020-04-07 18:52:11 +01:00
modmuss50 3d528c0810 More work and fixes 2020-04-06 15:26:57 +01:00
modmuss50 d4a59c1672 start 2020-04-06 01:47:09 +01:00