summaryrefslogtreecommitdiff
path: root/src/main/java/cuchaz/enigma/bytecode (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Split GUI code to separate module (#242)Gravatar Runemoro2020-06-038-671/+0
| | | | | | | * Split into modules * Post merge compile fixes Co-authored-by: modmuss50 <modmuss50@gmail.com>
* QOL fixes (#222)Gravatar Yanis482020-04-182-2/+0
| | | | | | | * qol fixes * ctrl_mask -> ctrl_down_mask * reverted deobfuscation change
* Support java 9+ and gradle 6+ (#206)Gravatar liach2020-04-021-1/+2
| | | | | | | | | | | | | | | * Support java 9+ and gradle 6+ * Update asm Signed-off-by: liach <liach@users.noreply.github.com> * Use asm 8 and move that to a constant * Bump version * fix version format Co-authored-by: liach <liach@users.noreply.github.com>
* Allow attaching class, method, field, and parameter javadocs (#185)Gravatar Fudge2019-12-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Correctly decompile bridges, and add command to add bridges to mappings (#180)Gravatar Runemoro2019-11-221-0/+3
|
* Fix local variable fixer (#172)Gravatar Runemoro2019-11-082-77/+92
| | | | | | | | | | * Fix local variable fixer * LVT index -> LV index * Small fix * Use LocalNameGenerator
* Don't remap specialized methods to their bridge partner in bytecodeGravatar gegy10002019-05-101-6/+0
|
* Bridge Method Fixes (#111)Gravatar Gegy2019-02-191-0/+43
| | | | | | | | | | * Detect synthetic bridges not marked as bridges, and add back flags to produced bytecode * Remove debug check * Remove more test code * Remove unneeded change to `TranslationClassVisitor`
* Remap sources (#106)Gravatar Gegy2019-01-303-79/+119
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* [WIP] Mapping rework (#91)Gravatar Gegy2019-01-246-187/+123
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Fix annotation npe for villager (#99)Gravatar liach2019-01-111-5/+13
| | | Signed-off-by: liach <liach@users.noreply.github.com>
* Tweak variable name generation (#86)Gravatar Gegy2018-12-151-27/+43
| | | | | | * Don't apply offset to all methods in abstract class * Tweak local variable naming
* Fix #78 (#85)Gravatar Gegy2018-12-151-1/+2
|
* fix #66Gravatar asie2018-12-111-1/+1
|
* add barebones plugin framework, cleanupGravatar asie2018-12-082-104/+0
|
* do not propagate non-argument local variable namesGravatar asie2018-11-271-1/+1
|
* update Guava, show proper constructor tree node, fix AccessFlags.toStringGravatar asie2018-11-072-2/+27
|
* unify local variable/argument numberingGravatar Adrian Siekierka2018-11-041-4/+6
|
* Fixed setBridged resetting the viabilityGravatar modmuss502018-07-221-1/+1
|
* fix signature remap of inners for nowGravatar Thiakil2018-07-061-0/+15
|
* Use previous save state to delete old mapping filesGravatar gegy10002018-07-051-0/+3
|
* fix incorrect super callsGravatar Thiakil2018-07-041-2/+2
|
* Fix parsed local variable indexingGravatar gegy10002018-06-241-12/+7
|
* Fix enum parameter index offsetGravatar gegy10002018-06-243-12/+18
|
* Parameter translation in interfacesGravatar gegy10002018-06-241-19/+48
|
* Fix array translation in method callsGravatar gegy10002018-06-231-5/+1
|
* Fix frame array type translationGravatar gegy10002018-06-231-2/+2
|
* Fix frame array type translationGravatar gegy10002018-06-231-2/+6
|
* Fix issues with inner class signature transformationGravatar gegy10002018-06-211-9/+2
|
* Fix anonymous class generationGravatar gegy10002018-05-202-3/+5
|
* Fix parameter name offsetGravatar gegy10002018-05-192-27/+40
|
* Signature refactoringGravatar gegy10002018-05-194-43/+42
|
* More bytecode translationGravatar gegy10002018-05-194-34/+208
|
* Fix inner class mappingGravatar gegy10002018-05-191-14/+11
|
* Annotation + inner class translationGravatar gegy10002018-05-195-17/+111
|
* Package updatesGravatar gegy10002018-05-192-0/+2
|
* Initial port to ASMGravatar gegy10002018-05-1922-2342/+324
|
* Remove the converter + some reorganizationGravatar Thog2017-05-164-67/+43
|
* Add offset for Enum constructor arguments (Fix #58)Gravatar Thog2017-05-152-10/+16
|
* Reformat codeGravatar Thog2017-03-242-2/+2
|
* Fix var naming and locals var index issuesGravatar Thog2017-03-121-1/+1
|
* Follow Fabric guidelinesGravatar Thog2017-03-0819-1976/+1980
|
* Drop unix case style and implement hashCode when equals is overridedGravatar Thog2017-03-073-124/+3
| | | | Also update Guava to version 21
* BREAKING CHANGE: Implement modifier transformerGravatar Thog2016-10-303-18/+88
| | | | | | | Known Bugs: - Inner class modifier isn't saved to mapping - Inner class modifier isn't applied to bytecode
* LocalVariableRenamer: Support correctly Nested Class constructors (Fix #49)Gravatar Thog2016-10-191-1/+17
|
* Change method param default naming scheme (Close #42)Gravatar Max Gurela2016-10-151-5/+15
| | | | | Improves visual grepping for any arguments greatly, works well with game objects as well as java primitives. * Add translator for game classes
* Make sure to use UTF-8 in any case for I/O, change "Mark as deobfuscated" ↵Gravatar Thog2016-09-131-0/+2
| | | | key and clean up
* fix publify not handling package-default methodsGravatar asiekierka2016-09-121-1/+1
|
* A little bit of clean upGravatar Thog2016-09-062-14/+9
|
* Revert "Removed unused methods"Gravatar asiekierka2016-08-1712-0/+347
| | | | This reverts commit 1742190f784d0d62e7cc869eebafdfe1927e448f.