Commit Graph

155 Commits

Author SHA1 Message Date
Bart van Helvert
2b09b7bbcd [java-decompiler] IDEA-283990 Enable common constants decompilation in IDEA plugin
Makes mirror type check less strict for prefix, binary and literal expressions less strict.

GitOrigin-RevId: 26732a61ab0dde510f2180855137b502864c40a4
2021-12-14 16:05:12 +00:00
Anna Kozlova
0dbff77494 skip kotlin in java decompiler test
so the test is stable to the fact if kotlin plugin is on the classpath or not

GitOrigin-RevId: b5fa96f1c5bfd5e3b3ce577d8ef0a01b87b6b0f8
2021-12-07 14:38:17 +00:00
Roman Shevchenko
01992bb753 [java decompiler] handling class format exceptions on the IDE side
(followup to PR #1560)

GitOrigin-RevId: eaf539eba28d1f37fc83969698d054ebf37f14f6
2021-11-26 01:41:39 +00:00
Alexey Kudravtsev
ac8309ea1c replace "file.getFileType() == type" with slightly more efficient "FileTypeRegistry.isFileOfType()"
GitOrigin-RevId: 5c02422c510f26e06577f732e5e42a10f2809b6f
2021-11-16 13:56:44 +00:00
Roman Shevchenko
c6ecb4c5d2 [java decompiler] background-updateable ShowDecompiledClassAction (EA-264197)
GitOrigin-RevId: ed9876b9eae08c52d18e7a46736859f61e32c37f
2021-07-19 08:31:33 +00:00
Vladimir Krivosheev
4d37e309bf IDEA-273306 building enabled plugin and module maps — unify implementation
GitOrigin-RevId: fd68078ffa6f48c859c5f4787cbf496012a59d29
2021-07-12 05:50:51 +00:00
Vladimir Krivosheev
c6fd07923a plugin descriptor - store full information even if disabled (part 4)
GitOrigin-RevId: 39547c54df9c4980547c9b75fa0fd7c79c78eeee
2021-05-10 08:58:12 +00:00
Vladimir Krivosheev
e3bde6ece1 cleanup - don't use JvmStatic because it creates extra facade non-static methods
GitOrigin-RevId: cbc634c3d1d585e417f4560cb67d7bd0449cc6aa
2021-05-05 18:24:27 +00:00
Dmitry Batkovich
f6c60585fc improve test fail message
GitOrigin-RevId: 0424b445d51b31a184549f42709b81a6873a409d
2021-05-05 09:54:09 +00:00
Roman Shevchenko
aabe590fa6 Cleanup (warnings; formatting)
GitOrigin-RevId: 62b3d95793d433466eb32a90dad690865c47302d
2021-02-12 21:21:12 +00:00
Roman Shevchenko
180f08b1c0 [java decompiler] using Fernflower engine for package-info and module-info files
GitOrigin-RevId: fedc59f6760b5b361e7ecdd7f19bfc4e8974ac48
2021-02-12 21:13:28 +00:00
Roman Shevchenko
d9dde26258 [java decompiler] renaming messages file (IDEA-260340)
GitOrigin-RevId: 3a213b024ef51c17dcf7a16f22d578cc174ad2a2
2021-01-26 18:16:48 +00:00
Roman Shevchenko
5e107f9f06 Cleanup (warnings)
GitOrigin-RevId: 05d2d6a96720027dcd45f59b8b2f02c68f3a0883
2021-01-18 20:51:44 +00:00
Roman Shevchenko
1c6ed2652f [java decompiler] file URL in diagnostics
GitOrigin-RevId: be450b3ed6fea1b33ac4f111c4f98bc43af93480
2020-10-09 12:18:54 +00:00
Vladimir Krivosheev
a67c59c561 platform.core.impl — remove dependency on intellij.platform.util.ui and intellij.platform.core.ui
java.psi.iml — remove dependency on intellij.platform.core.ui

GitOrigin-RevId: c1d4feb04c0471c7d17b5331b86738ee54a97f80
2020-09-21 13:40:47 +00:00
Tagir Valeev
5b2766bcd4 IdeaDecompilerTest.kt: allow RecordTest (decompiler support for records was added a while ago)
GitOrigin-RevId: 38627772fccf03712518523d4db6a34d7812f4b0
2020-09-07 07:19:56 +00:00
Egor Ushakov
76a9e69dd4 IDEA-249454 Internalization for "java-decompiler"
GitOrigin-RevId: f1b5e77587752704f2cfa19d7d373e66a5638a37
2020-09-02 15:58:42 +00:00
Dmitry Batkovich
3d6eb052dd rewrite class file stub builder as full decompiler
GitOrigin-RevId: ca86f254c7f61fd25919afeb2b5bd3d89bb67a9f
2020-08-12 11:40:33 +00:00
Tagir Valeev
feb332edd6 [java-stubs] IDEA-229921 .class stubs for JEP 359 "Records"
GitOrigin-RevId: a42ef097337ac128679136cefaa986d1197636e4
2020-07-29 09:50:18 +00:00
Alexey Kudravtsev
5213029b15 extract test method for IDEA-CR-64950
GitOrigin-RevId: 6769f9a17282b65dca8da74fc4b574d9c8833c9e
2020-07-13 14:39:56 +00:00
Alexey Kudravtsev
8c5b959b18 IdentifierHighlightingPass is no longer a HighlightingPass, highlight identifiers in the background at the same time with braces to fix IDEA-19888 highlight usages of element at caret: don't wait for reparsing if nothing changed
GitOrigin-RevId: b2e685d7f54fa3f699ad338e424c1e13e63b84f4
2020-07-11 19:51:22 +00:00
Alexey Kudravtsev
46b251a8f1 refactor IdentifierHighlighterPassFactory.doWithHighlightingEnabled to prepare moving identifier highlighting out of a highlighting pass
GitOrigin-RevId: fee9ed0e4cf10d4ade320358c58ebd1ad3d8e403
2020-07-11 19:51:20 +00:00
Roman Shevchenko
f232a3f868 [platform] reusing existing utils for reloading binary files (IDEA-CR-63685)
... and making `FileDocumentManager` react to reparse requests

GitOrigin-RevId: 20a43dee9827eb3fb78c06137e675e92d0316a23
2020-06-16 20:50:47 +03:00
Roman Shevchenko
cda4bb0db4 [java] turning .class file decompilers utility into a service
GitOrigin-RevId: 18817c15d0c0d0cad0c380abca728a12fe395226
2020-06-15 23:05:47 +03:00
Roman Shevchenko
d054eabd7d Cleanup (minor optimization; warnings; typos; formatting)
GitOrigin-RevId: 9ec4047d22f722e82b3c3c10b25a924d4b93f228
2020-06-15 01:16:46 +03:00
Roman Shevchenko
91d7576cbc [java decompiler] making the plugin dynamic-ready
GitOrigin-RevId: 58e1dd8d5bfd6a0f33b8230b119080651c4048a0
2020-06-15 01:15:04 +03:00
Alexander Zolotov
b06b5445fd [platform] extract util modules to share with non-intellij non-awt projects
- move part. see the next commit for more changes

GitOrigin-RevId: 6a271db083b19f201a73c8a43ac8733664d602eb
2020-05-23 11:42:27 +03:00
Roman Shevchenko
57c118780c Cleanup (warnings)
GitOrigin-RevId: bc86ab204b4935cb2a3bd87e4eca35571d376235
2020-05-18 21:29:59 +00:00
Roman Shevchenko
aa2c97fd6d Cleanup (warnings)
GitOrigin-RevId: 83f31bf13e173da6a5a42a1db6632176451d7b2f
2020-05-18 21:29:21 +00:00
Vladimir Krivosheev
eeeddb5052 avoid removing connection on disconnect from list on each disconnect because removing is a linear operation
GitOrigin-RevId: df90d83f66ae2ab2876a9d11223b1ae5c8fa81eb
2020-05-06 09:45:40 +00:00
Vladimir Krivosheev
3236af898c deprecate newConcurrentMap/newIdentityHashMap
GitOrigin-RevId: fef9974a928e9e54b2d8ffd365270231406eb0bc
2020-04-17 13:28:59 +00:00
Alexey Kudravtsev
fd06918a9e cleanup
GitOrigin-RevId: e27f6bfc00a52c2d9acc5d9937776a01f1215e6e
2020-03-31 16:01:24 +00:00
Alexey Kudravtsev
780b2d1eb4 Allow GeneralHighlightingPass to execute for compiled files, but show only name-related highlightinfos (e.g. field/method/param names) to support IDEA-135721 In decompiled sources, only keywords and values are highlighted
GitOrigin-RevId: c80df98023dde33496a9f84a3c1da21e98271cb4
2020-03-29 20:36:05 +00:00
Dmitry.Krasilschikov
a47b8f5a72 Bundle API: rename lazyMessage() to messagePointer()
GitOrigin-RevId: 1b4a35db8900da03fe48d4638362e5ea36cf106b
2020-03-03 16:02:28 +00:00
Aleksey Pivovarov
347acf4a32 fix tests after "Highlight element under caret" changes
Markup was moved into Editor for IDEA-89710 IDEA-146275
and tests should read it from there.

GitOrigin-RevId: 27944d7d61a53f0cd52d9ff3b16d965857260e0f
2020-02-10 11:03:00 +00:00
Dmitry.Krasilschikov
26f2f11c3c API for lazy localized messages (Kotlin)
Use `XBundle.lazyMessage()` API a string to be changed to its localized variant on a language plugin enabling w/o restart

`public static Supplier<String> lazyMessage() {...}` added into many bundle classes

GitOrigin-RevId: 1ac995c31a2958f5f1221600d9315f89db7f227f
2020-02-03 09:39:27 +00:00
Alexander Lobas
e7a12bd7e3 IDEA-229555 Group bundled plugins in Settings | Plugins by category
GitOrigin-RevId: 51b5b8476879e9005983c3a795f59acf52392cb9
2020-01-28 12:36:54 +00:00
Sergey Ignatov
11178787f7 introduce DynamicBundle and LanguageBundle EP
language bundle allows to load localized resources via plugin machinery

GitOrigin-RevId: c2dca049a840b7c0b79ac372f42631bd0e496a83
2019-12-17 09:02:33 +00:00
Vladimir Krivosheev
2d67fc31f3 extract readMetaInfo, use pluginId instead of string for disabled plugin list
GitOrigin-RevId: e053531ca0554dbf0eadc11c6493ccc07c7fae1d
2019-11-07 02:40:58 +00:00
Roman Shevchenko
a89f3d7d3a Cleanup (duplicates; formatting)
GitOrigin-RevId: 5b3e00cbf77847a37a03ff2ea3ed1737b29f8fed
2019-07-24 22:03:18 +03:00
Dmitry Jemerov
97e0289250 Rename various Java-specific test case classes to include Java in the name; leave old names as deprecations
GitOrigin-RevId: 0f105a6c063ce216f7e22348221ad4cd335295df
2019-07-02 06:52:16 +03:00
Rustam Vishnyakov
123242c4b2 EditorConfig documentation test
GitOrigin-RevId: fd52ace3d7a32ecd02c2c5ab90e077967604c15e
2019-06-16 04:03:21 +03:00
Egor Zhdan
c1813cfb52 Cleanup: NotNull/Nullable
GitOrigin-RevId: b8e892f32ea84c2115973155dba7127b892cc36e
2019-06-16 04:02:08 +03:00
Anna Kozlova
91f7445298 constructor reference: don't ignore constructor parameters during method reference inference (IDEA-185578)
GitOrigin-RevId: e836468e05db28157713e9edd3c70382f8ecdebc
2019-06-13 03:15:49 +03:00
Egor Zhdan
39d2d77155 Cleanup: NotNull/Nullable
GitOrigin-RevId: b8e892f32ea84c2115973155dba7127b892cc36e
2019-06-13 03:14:35 +03:00
Anton Makeev
d457f1b8d2 Merge remote-tracking branch 'origin/master' into amakeev/gradle
GitOrigin-RevId: dde010049a2a7ec2d336249fe52a49b17156f4a3
2019-05-17 19:10:16 +03:00
Anton Makeev
b15255e2ad Merge remote-tracking branch 'origin/master' into amakeev/gradle
GitOrigin-RevId: 47047f22e3c91c0029882f4b648bb92aa55db3ab
2019-05-17 19:07:41 +03:00
Anton Makeev
b54aaf7e4e IDEA-210281 Cleanup Gradle settings: separate Runner configurable removed
GitOrigin-RevId: adbc39121fe91beb633e125b4cf39bfe0a422e4b
2019-05-17 19:02:16 +03:00
Roman Shevchenko
ba1d7a1b4e [tests] makes IdeaDecompilerTest#testPerformance pass on Java 11
GitOrigin-RevId: 2ec5c50c6d9b44e1cbaffceb163694d5b67eb280
2019-05-08 23:05:03 +03:00
Anna Kozlova
d7dade352d use mock jdk instead of java.home in tests to run on java 11 and use rt.jar
GitOrigin-RevId: 343808a0e01deb19f1beaf22daba3e7a599b1883
2019-05-08 11:07:13 +03:00