summaryrefslogtreecommitdiff
path: root/src/main/java/cuchaz/enigma/translation/representation (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Split GUI code to separate module (#242)Gravatar Runemoro2020-06-0316-1709/+0
| | | | | | | * Split into modules * Post merge compile fixes Co-authored-by: modmuss50 <modmuss50@gmail.com>
* Fix a few bugs (#219)Gravatar Runemoro2020-04-181-1/+1
| | | | | | | | | | | | | * Update Gradle and replace deprecated Gradle features * Allow naming class in default package (fixes #215) * Fix CFR crash (fixes #207) * Update README.md Co-Authored-By: liach <7806504+liach@users.noreply.github.com> Co-authored-by: liach <7806504+liach@users.noreply.github.com>
* CFR support (#192)Gravatar Runemoro2020-03-095-38/+0
| | | | | * Add decompiler API * Add CFR support
* Allow attaching class, method, field, and parameter javadocs (#185)Gravatar Fudge2019-12-0210-43/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * bring liach pr to modern enigma * bump version * fuck off vscode * switch to COMMENT and write comments before * it was already after, what do you want * oops * put inner classes at the end * remove indents and use all caps * add refreshmappings command * Update src/main/java/cuchaz/enigma/translation/mapping/serde/EnigmaMappingsWriter.java * Delete RefreshEnigmaMappingsCommand.java * Update CommandMain.java * ok
* Fix local variable fixer (#172)Gravatar Runemoro2019-11-081-16/+0
| | | | | | | | | | * Fix local variable fixer * LVT index -> LV index * Small fix * Use LocalNameGenerator
* Check protected method/field target in visibility index (#157)Gravatar Runemoro2019-11-021-0/+4
|
* Fix array class translation (#173)Gravatar Runemoro2019-11-021-0/+6
|
* Method type reference corrections (#142)Gravatar Erlend Ã…mdal2019-05-183-2/+107
| | | | | | * Add more specific returns for translatables * Only index method descriptors for implemented methods and methods in generated lambda classes
* Index lambda local variables to correct declaring methodGravatar gegy10002019-03-163-39/+18
|
* Fix #110 and remap indices with matched bridge method namesGravatar gegy10002019-02-2310-1/+51
|
* Remap sources (#106)Gravatar Gegy2019-01-307-80/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Source remapping beginnings * Fix navigation to remapped classes * Translate identifier info reference * Remap local variables with default names in source * Caching translator * Fix lack of highlighting for first opened class * Fix unicode variable names * Unicode checker shouldn't be checking just alphanumeric * Fix package tree being built from obf names * Don't index `this` as method call for method::reference * Apply proposed names * Fix source export issues * Replace unicode var names at bytecode level uniquely * Drop imports from editor source * Class selector fixes * Delta keep track of base mappings to enable lookup of old names * Optimize source remapping by remapping source with a StringBuffer instead of copying * Bump version
* Fix navigation to inner classes not decompiling outer classGravatar gegy10002019-01-241-0/+7
|
* Fix package name on inner classes (#101)Gravatar Gegy2019-01-241-1/+1
|
* [WIP] Mapping rework (#91)Gravatar Gegy2019-01-2417-0/+1615
* Move packages * Mapping & entry refactor: first pass * Fix deobf -> obf tree remapping * Resolve various issues * Give all entries the potential for parents and treat inner classes as children * Deobf UI tree elements * Tests pass * Sort mapping output * Fix delta tracking * Index separation and first pass for #97 * Keep track of remapped jar index * Fix child entries not being remapped * Drop non-root entries * Track dropped mappings * Fix enigma mapping ordering * EntryTreeNode interface * Small tweaks * Naive full index remap on rename * Entries can resolve to more than one root entry * Support alternative resolution strategies * Bridge method resolution * Tests pass * Fix mappings being used where there are none * Fix methods with different descriptors being considered unique. closes #89