Commit Graph

644 Commits

Author SHA1 Message Date
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
680294f4db [java-decompiler] aligning language level with the main project; bumping Gradle version
GitOrigin-RevId: 068aadf4b64097c66de34ff19134f57083d2ac66
2021-01-18 20:48:41 +00:00
Anna Kozlova
cfa826f9b6 java 11 migration: explicit -> diamond for anonymous classes
GitOrigin-RevId: ce15f37f8882fb7915cf5c8b62e3cc4601a5cc76
2021-01-17 11:16:51 +00:00
Nikolay Chashnikov
645a720b58 [java] API cleanup: remove unused API which was deprecated for a long time (IDEA-259329)
GitOrigin-RevId: b2f2c85514d360e8d716e6f136f7c11760086f0e
2021-01-15 22:21:07 +00:00
Maxim Degtyarev
c62db841c0 Fix NPE inside ExceptionRangeCFG::toString() for finally exception range
PR #1026

GitOrigin-RevId: 18492644f44796505f5a4be9471344c1ce1d0f3a
2020-12-18 19:17:05 +00:00
Tagir Valeev
2842a558b2 Avoid set.removeAll(list)
GitOrigin-RevId: 6ed9b1ee1df87618c9b8c534e328ea89ead9fdc3
2020-12-02 04:49:26 +00:00
Alexey Kudravtsev
4f8b62e0b9 use more high-level methods to copy arrays instead of low-level cryptic System.arraycopy()
GitOrigin-RevId: 16b9869eae4200f4ff24c4535d7f33d8e6847b4c
2020-11-16 11:04:42 +00:00
Vladimir Krivosheev
2ee9117497 cleanup (final)
GitOrigin-RevId: 69b73056f0c524ad7b6e7c5c2b3a4b58f64feed9
2020-11-02 09:41:20 +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
7f61594082 [java-stubs] Hide synthetic equals/hashCode/toString in records (stubs+decompiler)
Makes IDEA-247576 obsolete
Review ID: IJ-CR-2597

GitOrigin-RevId: 4dbb09153b683f2c191d8ba89a3c4ad8c3da038d
2020-08-07 11:09:44 +00:00
Tagir Valeev
10299a7f0f [java-decompiler] IDEA-246839 Support java records in decompiler
Also: support preview levels in ClsFileImpl
Also fixes: IDEA-247551 Exception on first opening of record .class file

GitOrigin-RevId: 4362d669d1c16b8230d6d8ab803465b6a7476803
2020-08-06 07:49:05 +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
Tagir Valeev
30ac420fb3 [java-decompiler] initConstant: fix getField/putField handling
GitOrigin-RevId: b741b6e3faf5d800ca2b607439b6a459bcb2bf6a
2020-07-29 09:50:15 +00:00
simon816
4edade55a9 Ignore library classes when saving decompilation result
PR #750

GitOrigin-RevId: 9751ed38b212a13022b0df9143dfa73c74a01929
2020-07-15 21:47:08 +00:00
malte0811
86baadd0a0 Fix incorrect decompilation of inverted floating point comparisons with NaN (IDEA-196302)
PR #845

GitOrigin-RevId: 611f4af224e68ff8167f2b62f8366a022adb2054
2020-07-15 20:10:49 +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
Vladimir Krivosheev
d4e9b09e26 cleanup (final)
GitOrigin-RevId: 93607e195763f2acf29ee0d7a280d7e07e8d2f14
2020-06-26 12:21:17 +03: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
Anna Kozlova
3c7105fcc4 apply remove redundant cast
GitOrigin-RevId: 2bcbd253668f66ca2740074953cb661ebb6f3513
2020-06-05 21:13:15 +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
Tagir Valeev
9afbfe0e40 Use Math.min/max
GitOrigin-RevId: 4fafd6b7ef8fd2e8ac99b6e0c8af2d092ded2526
2020-05-15 03:28:28 +00:00
Tagir Valeev
7d59ffde38 Fixed unnecessarily escaped character
GitOrigin-RevId: 9532833be54e94cfe74dee90f4ca815790d7f5be
2020-05-13 08:15:05 +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
Tagir Valeev
46ae6d3cde Fix warnings (redundant boolean operation and others)
GitOrigin-RevId: 115ba7dfd69a2b37963430aac7e979271c0331db
2020-04-22 05:46:58 +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
Vladimir Ilmov
902ca3cf0c KT-25937 Decompilation to Java makes UI lag roughly every 2 seconds, and is not cancellable
GitOrigin-RevId: 58ce5d601bcebb5826cb938f6ea365fa245e7be1
2020-02-03 13:08:11 +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
Vladimir Krivosheev
ba98224912 remove author (only some, where it is ok)
GitOrigin-RevId: 7dbab7524fe4efc5d17a04b95dee88b6f80fbe8d
2020-01-21 17:36:52 +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
md_5
8b1358fa50 IDEA-204998: Use decompile classes in preference to library classes
GitOrigin-RevId: c600f67f720c2b74fe9009bb3dfb91b2dd6e868c
2019-11-18 22:02:55 +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
Tagir Valeev
3e12574595 Extract common parts from 'if'
GitOrigin-RevId: 60ebdfdb9588caf907ef111e3ed08e799c0a7d17
2019-07-25 10:03:44 +03:00
Roman Shevchenko
a89f3d7d3a Cleanup (duplicates; formatting)
GitOrigin-RevId: 5b3e00cbf77847a37a03ff2ea3ed1737b29f8fed
2019-07-24 22:03:18 +03:00