summaryrefslogtreecommitdiff
path: root/src/main/java/cuchaz/enigma/mapping/ClassMapping.java (follow)
Commit message (Collapse)AuthorAgeFilesLines
* [WIP] Mapping rework (#91)Gravatar Gegy2019-01-241-627/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* update gson, fix argument indexing, delete empty class mappingsGravatar asie2018-10-271-1/+18
|
* recursively check ClassMapping dirty stateGravatar Thiakil2018-07-201-1/+10
| | | | (cherry picked from commit 4a8ee4303ca1ab82da9499181122bfd7e3214a05)
* ASM Based Class Translator (#1)Gravatar gegy10002018-07-171-79/+131
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Initial port to ASM * Package updates * Annotation + inner class translation * Fix inner class mapping * More bytecode translation * Signature refactoring * Fix highlighting of mapped names * Fix parameter name offset * Fix anonymous class generation * Fix issues with inner class signature transformation * Fix bridged method detection * Fix compile issues * Resolve all failed tests * Apply deobfuscated name to transformed classes * Fix class signatures not being translated * Fix frame array type translation * Fix frame array type translation * Fix array translation in method calls * Fix method reference and bridge detection * Fix handling of null deobf mappings * Parameter translation in interfaces * Fix enum parameter index offset * Fix parsed local variable indexing * Fix stackoverflow on rebuilding method names * Ignore invalid decompiled variable indices * basic source jar * Output directly to file on source export * Make decompile parallel * fix incorrect super calls * Use previous save state to delete old mapping files * Fix old mappings not properly being removed * Fix old mappings not properly being removed * make isMethodProvider public (cherry picked from commit ebad6a9) * speed up Deobfuscator's getSources by using a single TranslatingTypeloader and caching the ClassLoaderTypeloader * ignore .idea project folders * move SynchronizedTypeLoader to a non-inner * fix signature remap of inners for now * index & resolve method/field references for usages view * Allow reader/writer subclasses to provide the underlying file operations * fix giving obf classes a name not removing them from the panel * buffer the ParsedJar class entry inputstream, allow use with a jarinputstream * make CachingClasspathTypeLoader public * make CachingClasspathTypeLoader public * support enum switches with obfuscated SwitchMaps
* Reformat codeGravatar Thog2017-03-241-2/+1
|
* Implement experimental Tiny mappings loaderGravatar Thog2017-03-241-0/+13
| | | | ~ This will need some tests and more security checks
* Follow Fabric guidelinesGravatar Thog2017-03-081-526/+516
|
* Drop unix case style and implement hashCode when equals is overridedGravatar Thog2017-03-071-127/+123
| | | | Also update Guava to version 21
* Fix matcher (blame @asiekierka) + add a dirty hack for inner class inside ↵Gravatar Thog2016-10-311-1/+8
| | | | another inner class
* BREAKING CHANGE: Implement modifier transformerGravatar Thog2016-10-301-11/+60
| | | | | | | Known Bugs: - Inner class modifier isn't saved to mapping - Inner class modifier isn't applied to bytecode
* Rework saving system to improve saving time (Fix #35)Gravatar Thomas Guillemard2016-10-261-0/+36
|
* Revert "Removed unused methods"Gravatar asiekierka2016-08-171-0/+87
| | | | This reverts commit 1742190f784d0d62e7cc869eebafdfe1927e448f.
* ReformatGravatar lclc982016-07-041-34/+12
|
* Removed unused methodsGravatar lclc982016-07-021-63/+0
|
* Reformatting codeGravatar lclc982016-07-021-4/+1
|
* Renamed FieldsGravatar lclc982016-07-021-3/+3
|
* Json format (#2)Gravatar lclc982016-06-301-0/+460
* Added new format * Fixed bug * Updated Version