Commit Graph

138 Commits

Author SHA1 Message Date
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
Dmitry Jemerov
99849e4179 Cleaning up plugin names and descriptions (IDEA-86627) 2019-04-16 19:34:39 +02:00
Yann Cébron
0b472c1e90 plugin.xml: cleanup vendor email/url (IDEA-211126) 2019-04-16 14:11:03 +02:00
Alexander Zolotov
39434c4080 Get rid of idea-version tags in plugins xml
Build scripts set proper values for bundled plugins and plugins for publishing.

Still, it's possible to break the logic if explicit since-build value is not match \d+.\d+ pattern or if until-build is omitted. So it's better to get rid of it at all.
2019-01-28 13:59:36 +03:00
Roman Shevchenko
1b5ffaea4d [java decompiler] makes the plugin compatible with TempVFS URLs
(that is, on Windows; on UNIX it's not an issue)
2019-01-04 11:19:39 +01:00
Gregory.Shrago
7890635aff use stubs for Structure TW when selecting lib classes: test 2018-10-17 22:41:33 +03:00
Sergey Ignatov
6c92cfb65a get rid of PlatformTestUtil#assertTreeStructureEquals 2018-10-17 16:03:42 +03:00
Roman Shevchenko
77928617ea [java decompiler] improves anonymous classes verification
- puts the check under an option
- uses 'EnclosingMethod' attribute to skip unrelated methods
2018-09-28 18:17:53 +02:00
Roman Shevchenko
d8ee9a2d23 [tests] includes decompiler engine test data in stub compatibility check 2018-08-10 11:48:35 +02:00
Alexey Kudravtsev
b10db7eaec replace OpenFileDescriptor with PsiNavigationSupport to reduce dependencies on platform-ide 2018-06-13 15:48:35 +03:00
Sergey Ignatov
09b8c22643 kotlin speedup: specify return type for public/protected APIs 2018-05-28 15:37:51 +03:00
Egor Ushakov
8200322262 cleanup: spelling 2018-05-21 15:50:54 +03:00
Egor Ushakov
9026ae4852 inverted option for IDEA-CR-32210 2018-05-17 19:12:39 +03:00
Egor Ushakov
71b0b05903 decompiler: do not fail on the invalid bytecode in IDEA 2018-04-27 15:05:22 +03:00
Vladimir Krivosheev
4f2ecb1dbf deprecate Before.Adapter 2018-04-20 16:10:53 +02:00
Vladimir Krivosheev
f1b33dd4a4 introduce removeAllFiles for tests 2018-04-20 16:10:50 +02:00
Roman Shevchenko
8cb4677ec4 [ui] common legal notice dialog component 2018-04-04 17:01:11 +02:00
Roman Shevchenko
4cf749d80a [java decompiler] return empty string on I/O errors (EA-102308)
Compatible with LoadTextUtil.loadText().
2018-03-21 11:43:10 +01:00