summaryrefslogtreecommitdiff
path: root/src/main/java/cuchaz/enigma/translation (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Split GUI code to separate module (#242)Gravatar Runemoro2020-06-0357-5088/+0
| | | | | | | * Split into modules * Post merge compile fixes Co-authored-by: modmuss50 <modmuss50@gmail.com>
* A quick and dirty workaround for not being able to add javadoc to methods or ↵Gravatar modmuss502020-05-133-6/+18
| | | | fields without a mapping (mainly none obf names) (#240)
* Fix a few bugs (#219)Gravatar Runemoro2020-04-182-6/+3
| | | | | | | | | | | | | * 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>
* Convert javadoc escape codes into raw characters when loading Tiny v2 ↵Gravatar Juuxel2020-04-141-1/+1
| | | | mappings (#214)
* Add support for reading/writing zipped mappings (#199)Gravatar Chocohead2020-03-173-0/+28
| | | | | | | | | | | | | | * Add support to read/write Enigma mappings from ZIP Takes any path which points to a ZIP as wanting to be read/written as a ZIP Paths from an existing ZIP file system will be correctly handled as directories * Fix deleting a path needing to be from the default file system * Allow calling MapSpecializedMethodsCommand directly * Fix indentation * Missing static
* CFR support (#192)Gravatar Runemoro2020-03-095-38/+0
| | | | | * Add decompiler API * Add CFR support
* Made Enigma gui translatable (#193)Gravatar modmuss502020-03-055-12/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * made enigma gui translatable * key renamings * missed strings * string.format() & another missed string * cached content (thanks @liach) * added a dialog when changing language * better sentence * more %s * liach's requests * empty map * the last (?) missed strings * IT WORKS * French translation * Update fr_fr.json
* Fix drop mappings not checking localVarsGravatar modmuss502020-03-041-1/+2
|
* Dont check for #comments on a javadoc line in the mappings, not perfect but ↵Gravatar modmuss502020-02-141-0/+5
| | | | will make my life a lot easier when updating
* Fix comments (#187)Gravatar Fudge2019-12-051-1/+3
| | | | | | * fix comments * indent
* Allow attaching class, method, field, and parameter javadocs (#185)Gravatar Fudge2019-12-0221-109/+311
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Add tinyv2 save/loadGravatar liach2019-11-034-0/+483
|
* 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
|
* Merge branch 'pull/163' and bump versionGravatar modmuss502019-09-122-1/+136
|\ | | | | | | | | # Conflicts: # src/main/java/cuchaz/enigma/translation/mapping/serde/MappingFormat.java
| * Update ProguardMappingsReader.javaGravatar Runemoro2019-09-051-3/+2
| |
| * Add Proguard formatGravatar Runemoro2019-09-042-1/+137
| |
* | Add a default TinyWriter, formatting/misc fixesGravatar modmuss502019-09-082-1/+4
|/
* Fix exception message (#156)Gravatar Runemoro2019-08-041-1/+1
|
* Profile option for mappings to be saved by-obf instead of by-deobfGravatar gegy10002019-06-2810-24/+67
|
* fix inner class handling in TinyMappingsReaderGravatar Adrian Siekierka2019-06-281-0/+4
|
* Add compose, convert, and invert commands (#152)Gravatar Runemoro2019-06-251-0/+144
| | | | | | | | * Add compose and invert commands and add support for conversion to tiny mappings * Improvements suggested by liach * Use Translator to get right entries
* Ignore comments in tiny filesGravatar Runemoro2019-06-191-0/+4
|
* Merge pull request #150 from Runemoro/short-inner-class-namesGravatar Modmuss502019-06-191-1/+1
|\ | | | | Save unqualified inner class names
| * Save unqualified inner class namesGravatar Runemoro2019-06-181-1/+1
| |
* | Plugin rework along with API rework: Enigma split from EnigmaProject; ↵Gravatar gegy10002019-06-161-3/+7
|/ | | | plugins now provide services configurable via a profile
* 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
* Don't remap specialized methods to their bridge partner in bytecodeGravatar gegy10002019-05-101-5/+5
|
* Index lambda local variables to correct declaring methodGravatar gegy10002019-03-163-39/+18
|
* Fix name duplication checking not occurring on root classesGravatar gegy10002019-02-244-3/+29
|
* Fix #81 -- validate renames across related classesGravatar gegy10002019-02-245-36/+36
|
* Fix #110 and remap indices with matched bridge method namesGravatar gegy10002019-02-2326-106/+182
|
* Fix NPE dropping mappingsGravatar gegy10002019-02-161-3/+6
|
* Don't save local variable entries with no mappingGravatar gegy10002019-02-161-8/+2
|
* Resolve HashEntryTree#getSiblings building the full ancestor pathGravatar gegy10002019-02-162-13/+26
|
* Fix entry remapping not applying to resolved entryGravatar gegy10002019-02-051-3/+6
|
* Remap sources (#106)Gravatar Gegy2019-01-3018-235/+179
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
|
* Standardize mapping line endings to LF (#100)Gravatar Juuxel2019-01-242-3/+5
|
* [WIP] Mapping rework (#91)Gravatar Gegy2019-01-2448-0/+3908
* 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