Commit Graph
100 Commits
Author SHA1 Message Date
Roman Shevchenko 6bcc6a511f Cleanup (warning; formatting) 2017-11-28 12:30:01 +01:00
Roman Shevchenko d594bab7cd [java-decompiler] adds Gradle wrapper 2017-09-27 17:48:13 +02:00
Roman Shevchenko d85e0a6561 [java-decompiler] migrates to Gradle
Simplifies CI (the outer IDEA project no longer bundles JUnit and AssertJ .jars).
2017-09-27 16:23:05 +02:00
Roman Shevchenko 40c4d82996 Cleanup (escaping and other fixes in decompiler/README.md) 2017-06-08 13:16:39 +03:00
Roman Shevchenko 21668f8479 [java-decompiler] fixes standalone build 2016-08-01 08:48:54 -07:00
Roman Shevchenko 9d5a863e4d Cleanup (minor optimization) 2016-05-30 16:30:39 +03:00
Roman Shevchenko 71bb82acbe [java-decompiler] correct decompilation of refs to inner generic classes (IDEA-155430) 2016-05-20 20:16:01 +02:00
Roman Shevchenko 2867a8d41f Cleanup (formatting; typos) 2016-05-20 19:41:40 +02:00
Roman Shevchenko f0e7494a65 Cleanup (formatting; typos) 2016-05-20 19:40:42 +02:00
Roman Shevchenko 52b31bf325 [java, java-decompiler] type annotations in class files
Step 1: add top-level field/method/parameter annotations to stubs; include them in decompiled text.
2016-04-21 21:22:36 +02:00
Roman Shevchenko a8403429ef Cleanup (minor optimization) 2016-04-21 21:18:37 +02:00
Roman Shevchenko 249903478c Cleanup (test data) 2016-04-21 15:49:29 +02:00
Roman Shevchenko a67808d3aa Cleanup (formatting) 2016-04-21 10:16:54 +02:00
Roman Shevchenko b366de8eb4 [java-decompiler] unneeded cast around byte/short constants 2016-04-20 19:52:25 +02:00
Roman Shevchenko a00952f338 Cleanup (formatting) 2016-04-20 19:38:01 +02:00
Roman Shevchenko df19689f2b Cleanup (formatting) 2016-04-20 18:36:49 +02:00
Roman Shevchenko 4a1a747bdc [java-decompiler] fixes indentation in annotations 2016-04-20 17:58:18 +02:00
Roman Shevchenko eaa61a1f81 [java-decompiler] skips illegal local variable names 2016-04-20 15:02:39 +02:00
Roman Shevchenko b96586cc2f [java-decompiler] utility classes reorganized 2016-04-20 14:06:47 +02:00
Roman Shevchenko 857dc4d023 [java-decompiler] unneeded context lookups 2016-04-20 12:55:12 +02:00
Roman Shevchenko 77dc5c5f1e [java-decompiler] dead code 2016-04-20 12:35:33 +02:00
Roman Shevchenko 1ac2304d60 [java-decompiler] fixes enum constant initializer decompilation (IDEA-154547) 2016-04-11 21:43:11 +02:00
Roman Shevchenko a57e42690b Cleanup (duplicates extracted; formatting; typos) 2016-04-11 20:32:26 +02:00
Roman Shevchenko 96ff7f787e Cleanup (formatting; typos) 2016-03-21 12:26:50 +01:00
Roman Shevchenko 93a39b7b50 [java-decompiler] test data cleanup; warnings 2016-03-18 18:02:33 +01:00
Roman Shevchenko d50e8a860e Cleanup (formatting) 2016-03-16 17:34:59 +01:00
Roman Shevchenko 35569de64f [java-decompiler] build script corrected 2016-03-16 12:20:38 +01:00
Roman Shevchenko 35259c3e20 Cleanup (formatting) 2016-03-16 11:49:15 +01:00
Roman Shevchenko 07e1a1e4cf Merge pull request #365 (https://github.com/JetBrains/intellij-community/pull/365) 2016-03-16 11:45:55 +01:00
Roman Shevchenko 23da5d99d2 Cleanup (I/O ops in java-decompiler) 2016-03-16 11:22:39 +01:00
Roman Shevchenko 5795c1d9e0 [tests] test cases added 2016-03-04 15:32:57 +01:00
Roman Shevchenko cfe1448b2b Cleanup (unneeded anonymous classes) 2016-03-03 13:46:23 +01:00
Roman Shevchenko df863df9c1 [java decompiler] engine source/target level set to Java 8 2016-03-03 12:17:00 +01:00
Roman Shevchenko ba16ca4dfc [java decompiler] engine target level set back to Java 6 2016-03-01 17:44:35 +01:00
Roman Shevchenko c825dd68ec Cleanup (formatting; minor optimization) 2016-01-27 19:06:07 +03:00
Roman Shevchenko 811494ccb2 [java decompiler] "new" expression writer optimization 2015-12-29 11:06:09 +01:00
Roman Shevchenko a725e5b7b6 Cleanup (java decompiler test optimization) 2015-12-28 15:23:35 +01:00
Roman Shevchenko 1794156473 [java-decompiler] synthetic inner class constructor parameter filtering (IDEA-147606) 2015-11-11 16:27:01 +01:00
Roman Shevchenko 45a41684e6 [java-decompiler] cleanup (arrays to data classes; formatting; typos; dead code) 2015-11-11 16:25:41 +01:00
Roman Shevchenko 26ab681d56 [java-decompiler] cleanup (text rearranging mode dropped) 2015-11-09 20:46:50 +01:00
Roman Shevchenko 810818e2c3 [java-decompiler] Ant tests in forked VM 2015-09-07 23:05:08 +03:00
Roman Shevchenko ee740aa056 [java-decompiler] main test method extended to accept companion files 2015-09-07 20:34:28 +03:00
Roman Shevchenko aab87019ef [java-decompiler] common file comparison method extracted; test data updated 2015-09-07 19:23:12 +03:00
Roman Shevchenko 6a802a6fc9 java-decompiler: NPE fixed
https://github.com/JetBrains/intellij-community/pull/268
2015-06-29 15:13:05 +03:00
Roman Shevchenko aa480480e9 Cleanup (formatting; typos) 2015-06-29 14:59:18 +03:00
Roman Shevchenko debe6cc338 safe delete unused environment + deprecations, part 2
(follow-up to 63cae114)
2015-06-29 13:27:31 +03:00
Roman Shevchenko c83182f9c4 IDEA-137256 (non-boolean option handling in console decompiler fixed) 2015-03-10 15:09:46 +01:00
Roman Shevchenko c082dfba98 java-decompiler: more lambdas 2015-02-18 18:03:56 +01:00
Roman Shevchenko 2ea3feb527 Cleanup (doc) 2015-02-17 20:16:10 +01:00
Roman Shevchenko 472f68f18a java-decompiler: better diagnostic 2014-11-12 12:21:42 +01:00
Roman Shevchenko 85e6caaea1 IDEA-130959 (method and system for interrupting binary decompilers) 2014-11-10 21:59:02 +01:00
Roman Shevchenko 3940565598 IDEA-132625 (decompiler time limit) 2014-11-10 16:59:17 +01:00
Roman Shevchenko 52a7e1c7e9 Cleanup (unused code; formatting; typos) 2014-11-10 16:59:08 +01:00
Roman Shevchenko 0b9402bd45 java-decompiler: renamer interface cleaned
- enum instead of magic constants
- typos
2014-11-05 13:57:07 +01:00
Roman Shevchenko 1fde78b6f1 java-decompiler: check for non-existent files 2014-11-05 13:33:13 +01:00
Roman Shevchenko 89b40fd28a java-decompiler: (var, version) class renamed and made immutable 2014-11-05 12:41:52 +01:00
Roman Shevchenko 82a2939271 java-decompiler: cleanups and fixes
- duplicates eliminated
- immutable fields
- typos
- formatting
2014-11-05 11:07:37 +01:00
Roman Shevchenko 020f5c404b java-decompiler: extra casts on method calls omitted
(loosely based on https://github.com/JetBrains/intellij-community/pull/217)
2014-11-04 11:32:40 +01:00
Roman Shevchenko 38f1a1a9ee Cleanup (unneeded variable) 2014-10-24 21:49:02 +02:00
Roman Shevchenko c64b0aaa10 Cleanup (formatting) 2014-10-24 21:46:41 +02: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
Roman Shevchenko fdc75e3c80 java-decompiler: build script fixed to not fail too early 2014-10-17 15:22:59 +02: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
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
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
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
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
Roman Shevchenko 512a08c13e tests: decompiler test data lookup fixed for particular build configuration 2014-10-02 13:58:48 +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
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