Commit Graph

46 Commits

Author SHA1 Message Date
Egor.Ushakov
56b3edd3ca decompiler: fixed line mapping in synchronized block 2014-10-21 20:50:43 +04:00
Egor.Ushakov
0bcd7fba5c decompiler: fixed line mapping for try-catch and nested classes 2014-10-20 18:41:37 +04:00
Egor.Ushakov
47fad13908 decompiler: fixed incorrect line numbers in dumped mapping 2014-10-20 16:05:40 +04:00
Roman Shevchenko
a721490f62 IDEA-127182 (passing line number map to debugger) 2014-10-17 21:35:16 +02:00
Roman Shevchenko
ce721c7acd java-decompiler: test fix 2014-10-17 20:14:28 +02:00
Roman Shevchenko
3199686543 Cleanup (formatting; typos) 2014-10-17 20:14:03 +02:00
Roman Shevchenko
08c4c683a1 java-decompiler: print mapping table only in unit test mode 2014-10-17 18:22:31 +02:00
Roman Shevchenko
2d36ea60eb Cleanup (formatting; typos) 2014-10-17 18:21:37 +02:00
Egor.Ushakov
9b97ae55f8 decompiler: minor optimization - less calculateLines calls 2014-10-17 19:35:08 +04:00
Egor.Ushakov
1a183952b4 decompiler: build original lines mapping 2014-10-17 19:35:07 +04:00
Egor.Ushakov
309aca1d29 decompiler: fixed bytecode test 2014-10-17 17:03:13 +04:00
Egor.Ushakov
32e7765874 decompiler: fixed bytecode mapping for anonymous classes 2014-10-17 15:41:55 +04:00
Egor.Ushakov
a182de6271 decompiler: map all lines according to bytecode information 2014-10-15 20:22:11 +04:00
Stiver
6d03229b91 Unit test 2014-10-15 08:35:45 +02:00
Stiver
c975f11ecc Activated bytecode-to-source mapping for all instructions 2014-10-15 06:26:49 +02:00
Roman Shevchenko
46b494f26f java-decompiler: do not indent log by unprinted messages 2014-10-14 18:33:37 +02:00
Roman Shevchenko
6889e7435a EA-41231 (omit synthetic inner class constructor parameter) 2014-10-14 18:32:15 +02:00
Roman Shevchenko
373ca99e37 Cleanup (formatting; naming) 2014-10-14 15:27:13 +02:00
Egor.Ushakov
46c36636bc decompiler: track lines in anonymous classes as well 2014-10-13 12:27:15 +04:00
Egor.Ushakov
7bb0f5ba7e decompiler: for now disabled line numbers in inner classes 2014-10-10 13:57:32 +04:00
Roman Shevchenko
41b8ab9299 java-decompiler: minor optimization 2014-10-08 13:27:11 +02:00
Egor.Ushakov
37422ead1c cleanup after review - use option for decompiler banner text 2014-10-08 12:35:14 +04:00
Roman Shevchenko
1e3d5276a8 java-decompiler: class name logging on non-fatal errors 2014-10-08 08:18:26 +02:00
Roman Shevchenko
d96104bdec Cleanup (formatting) 2014-10-07 21:45:26 +02:00
Egor.Ushakov
9bd8af2b43 calculate less indent buffers 2014-10-07 21:03:09 +04:00
Egor.Ushakov
125441a88f decompiler: move generated lines as it is stated in debug line table (disabled for now) 2014-10-07 20:39:03 +04:00
Stiver
9f9da912f6 Fixed some errors in line counting 2014-10-07 07:31:22 +02:00
Roman Shevchenko
8462998a86 java-decompiler: minor optimization 2014-10-06 12:34:49 +03:00
Stiver
9723ab4475 Propagated bytecode-to-source tracer 2014-10-06 04:27:26 +02:00
Stiver
f735cbc7ea Started work on mapping bytecode instructions to source code lines 2014-10-01 07:00:11 +02:00
Roman Shevchenko
e90f1de039 IDEA-129221 (tolerate invalid signature attributes) 2014-09-12 17:30:26 +04:00
Roman Shevchenko
ff382a6fdf java-decompiler: fixes and cleanups
- console decompiler: resource closing, lookup instead of scan, error reporting
- logger interface reworked
- saver interface renamed
- bytecode provider returns byte array (to reduce stream leakage)
- extra level of context unit avoided
- unneeded exceptions, dead code, formatting
2014-09-07 14:35:39 +04:00
Roman Shevchenko
686b5abef9 java-decompiler: optimization (empty lists allocation avoided) 2014-09-04 18:41:39 +04:00
Roman Shevchenko
1cea85e49a java-decompiler: optimization (less string buffer allocations on generating text) 2014-09-04 14:33:34 +04:00
Roman Shevchenko
f4f9e8be28 java-decompiler: cleanups
- better signatures
- accurate suppression
- unused symbols
- typos
2014-09-03 13:21:31 +04:00
Roman Shevchenko
646f1c3f21 java-decompiler: hide synthetic field assignment 2014-09-03 12:52:55 +04:00
Roman Shevchenko
2df49d32a7 java-decompiler: fixes and cleanups
- unified attribute loading code
- common methods for checking member flags
- verifying skip()
- correct resource closing
- typos
2014-09-03 11:39:32 +04:00
Roman Shevchenko
d5fe121d1d java-decompiler: post-import cleanup (OS-dependent line separator) 2014-09-01 16:19:31 +04:00
Roman Shevchenko
984af2e7d0 java-decompiler: post-import cleanup (typos) 2014-09-01 16:08:53 +04:00
Roman Shevchenko
3104531729 java-decompiler: post-import cleanup (explicit defaults for all preferences) 2014-09-01 15:58:46 +04:00
Roman Shevchenko
3854b67daa java-decompiler: post-import cleanup (tests reorganized) 2014-09-01 15:11:41 +04:00
Roman Shevchenko
1a4e48d11d java-decompiler: post-import cleanup (obsolete copyright option dropped) 2014-08-31 12:57:31 +04:00
Roman Shevchenko
f5431c3bb1 java-decompiler: post-import cleanup (common fixes and optimizations) 2014-08-29 21:58:12 +04:00
Roman Shevchenko
84ea54eb1e java-decompiler: post-import cleanup (code style issues) 2014-08-29 14:57:29 +04:00
Roman Shevchenko
076e4393f2 java-decompiler: post-import cleanup (formatting and copyright) 2014-08-28 21:34:19 +04:00
Roman Shevchenko
663631f045 java-decompiler: post-import cleanup (classes moved) 2014-08-28 20:52:43 +04:00