Commit Graph

135 Commits

Author SHA1 Message Date
Roman Shevchenko
fdc75e3c80 java-decompiler: build script fixed to not fail too early 2014-10-17 15:22:59 +02: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
Roman Shevchenko
b3681fe952 Cleanup (test extracted to make option setting per-class instead of per-test) 2014-10-16 13:52:44 +02:00
Stiver
22ceacc969 Unit test 2014-10-16 07:15:08 +02: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
Roman Shevchenko
848c420977 java-decompiler: line numbers matching test 2014-10-14 13:35:29 +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
e0f22e6629 java-decompiler: test classes recompiled to match source line numbers 2014-10-09 18:54:16 +02:00
Roman Shevchenko
ce2169f372 java-decompiler: base class extracted to allow decompiler customization in tests 2014-10-09 18:34:08 +02: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
bef17b44fc java-decompiler: minor optimization (no more empty array creation) 2014-10-06 17:26:24 +02:00
Roman Shevchenko
8462998a86 java-decompiler: minor optimization 2014-10-06 12:34:49 +03:00
Roman Shevchenko
18a9c2851b Cleanup (formatting) 2014-10-06 12:32:02 +03:00
Roman Shevchenko
6d2b94910c java-decompiler: modules reorganized 2014-10-06 11:29:52 +03:00
Roman Shevchenko
07ca9cf062 java-decompiler: unwanted dependency dropped 2014-10-06 10:10:01 +03:00
Stiver
9723ab4475 Propagated bytecode-to-source tracer 2014-10-06 04:27:26 +02:00
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