Commit Graph

106 Commits

Author SHA1 Message Date
Egor Ushakov
0c8508ff8a decompiler: support line number table attribute 2014-10-05 17:12:17 +04:00
Roman Shevchenko
512a08c13e tests: decompiler test data lookup fixed for particular build configuration 2014-10-02 13:58:48 +02:00
Stiver
f735cbc7ea Started work on mapping bytecode instructions to source code lines 2014-10-01 07:00:11 +02:00
Roman Shevchenko
91c64c5a94 Cleanup (loop invariant optimization; formatting) 2014-09-29 17:16:42 +02:00
Roman Shevchenko
5349ad435b IDEA-130478 (optimization of 6fcac6a5: less short-lived objects) 2014-09-29 13:15:57 +02:00
Stiver
4638144fad Fixing migration errors: refactoring of processStatementLabel() reverted as it introduced incorrect logic changes 2014-09-28 09:14:59 +02:00
Stiver
f875d27e6e Fixing migration errors: stream.read() doesn't read the entire available stream. It has to be called in a loop or replaced with readFully(). 2014-09-28 09:00:31 +02:00
Roman Shevchenko
a4054817d2 EA-60512 (better logging) 2014-09-16 17:29:40 +04:00
Roman Shevchenko
e1d1425f22 java-decompiler: fix for broken Git checkout on Windows 2014-09-12 19:26:15 +04:00
Roman Shevchenko
e90f1de039 IDEA-129221 (tolerate invalid signature attributes) 2014-09-12 17:30:26 +04:00
Roman Shevchenko
e2f7d09f37 java-decompiler: force decompiled test data to be text files 2014-09-12 13:31:19 +04:00
Roman Shevchenko
69dc786510 java-decompiler: NPE in test fixture; diagnostic 2014-09-12 12:51:55 +04:00
Roman Shevchenko
e74977d467 IDEA-128685 (test added) 2014-09-12 10:29:13 +04:00
Roman Shevchenko
95cd67883e IDEA-128676 (test added) 2014-09-11 16:18:02 +04:00
Roman Shevchenko
ccd7b93497 Cleanup (test) 2014-09-09 21:48:38 +04:00
Roman Shevchenko
cf72873535 IDEA-127466 (test added) 2014-09-07 16:44:22 +04:00
Roman Shevchenko
7a8097321f java-decompiler: bulk decompilation test added 2014-09-07 16:13:52 +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
4e79d160ca java-decompiler: code attributes reading restored 2014-09-04 19:02:10 +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
c0c83126a6 java-decompiler: post-import cleanup (test sources reformatted) 2014-09-01 20:01:55 +04:00
Roman Shevchenko
e629738a46 java-decompiler: tests moved 2014-09-01 18:54:33 +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
8ef7bcb2ad java-decompiler: post-import cleanup (readme and build file updated) 2014-08-31 12:21:32 +04:00
Roman Shevchenko
f5431c3bb1 java-decompiler: post-import cleanup (common fixes and optimizations) 2014-08-29 21:58:12 +04:00
Roman Shevchenko
63b8d35d08 java-decompiler: post-import cleanup (dead code dropped) 2014-08-29 21:57:50 +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
Roman Shevchenko
f864084061 java-decompiler: post-import cleanup (root package renamed) 2014-08-28 20:50:00 +04:00
Roman Shevchenko
270a3f6e22 java-decompiler: post-import cleanup (unneeded files dropped) 2014-08-28 20:31:35 +04:00
Stiver
b3705cf400 Unit tests updated 2014-08-20 18:51:03 +02:00
Stiver
7492715abf Unit tests updated 2014-08-17 19:20:56 +02:00
Stiver
d1679b4127 Fixed wrong typing of integer constants (IDEA-128594 gone deeper) 2014-08-17 19:15:15 +02:00
Stiver
1a8e8ba7a2 Fixed wrong order of static initializations (probably part of IDEA-127465) 2014-08-17 19:12:27 +02:00
Stiver
e098fbf669 Unified the types of 'case' values in a switch statement 2014-08-17 19:09:28 +02:00
Stiver
929056d727 Fixed ' IDEA-128685: Incorrectly typed assignment expression' 2014-08-16 15:31:53 +02:00
Stiver
c672e5bc83 Fixed 'IDEA-128676: Initializer in a nested class disappears' 2014-08-15 18:58:55 +02:00
Stiver
887c093afd Unit tests updated 2014-08-13 22:17:21 +02:00
Stiver
04b5c9abb1 Fixed 'IDEA-128595: Variable name set to "this"' 2014-08-13 22:08:06 +02:00
Stiver
a2fa99e3a2 Fixed 'IDEA-128591: Infinite loop ignored' 2014-08-13 22:06:28 +02:00
Stiver
53ad2b920e Fixed 'IDEA-128593: Wrong order of switch cases' 2014-08-13 22:04:51 +02:00