Commit Graph
276824 Commits
Author SHA1 Message Date
Anna Kozlova efc6106e02 java redundant cast: cleanup: avoid dbl cast registration for expressions with expected type
GitOrigin-RevId: a31b1d892b2e19bfaf556e85724eb244189111b4
2020-05-11 08:33:17 +00:00
Anna Kozlova c3bda2dac0 java redundant cast: cleanup: refexpr
GitOrigin-RevId: d4a111e2a47885ef97983979200056612db26c93
2020-05-11 08:33:17 +00:00
Anna Kozlova fdc80d017c java redundant cast: fixed multiple casts in synchronized stmt
GitOrigin-RevId: 49a7d8dbcd26a3aa905c57db97d386bcbd285464
2020-05-11 08:33:17 +00:00
Anna Kozlova f0233d4e68 java redundant cast: cleanup: extract refexpr
GitOrigin-RevId: 04e04333b3f5b639c2923befd9b3637ee04de502
2020-05-11 08:33:17 +00:00
Anna Kozlova 05ea640042 java redundant cast: cleanup: extract sync, switch, array access expressions
GitOrigin-RevId: 0e4d8ebbe3709152e767b4dc8946db39ae96a113
2020-05-11 08:33:17 +00:00
Anna Kozlova 1c35803b4a java redundant cast: cleanup: extract foreach, instanceof, throws statements
GitOrigin-RevId: ac04ea8db453518f4c15d3e37e33d9a25a22ce35
2020-05-11 08:33:17 +00:00
Anna Kozlova c6f03bad18 java redundant cast: cleanup: sort out processAlreadyHasCast
GitOrigin-RevId: 97e85155800af5f6ef88c1a733a3e8feea2388d3
2020-05-11 08:33:17 +00:00
Anna Kozlova 8ddeb3ec76 java redundant cast: cleanup: simplify warning registering
GitOrigin-RevId: c04868bf236d1750cec6cc7546e1e3ea840a7d25
2020-05-11 08:33:17 +00:00
Vladimir Krivosheev 3871a0fca2 revert incorrect project files changes (exclude configuration)
GitOrigin-RevId: 99bcd378d10f3fdc7ab2e5733e570337f73863b5
2020-05-11 08:27:15 +00:00
Vitaly Provodin fc84a023de Updating versions of project dependencies: jdkBuild->11_0_7b911.1
Vitaly Provodin

GitOrigin-RevId: 80563130f66db3c9706a87435d56b87996c34b39
2020-05-11 00:54:32 +00:00
Julia Beliaeva 50d7b18b3c [git-index] add revert action to revert unstaged changes
GitOrigin-RevId: ee037cde6013a23bc95d318f3fb0cb70ad4f3dcb
2020-05-10 01:36:32 +00:00
Julia Beliaeva 459e231dcc [vcs-log] add NonNls annotation
GitOrigin-RevId: 20c6ec9a2877598afa01df3ead8a563fc7b4f22b
2020-05-10 00:01:07 +00:00
Kirill Likhodedov d433529923 settings-repository: remove unused code
GitOrigin-RevId: 0dc03b99f355e454efe17af72ceb3738b2d3188e
2020-05-09 19:08:33 +00:00
Vladimir Krivosheev ba65cd10c8 prefer fastutil IntArrayList
GitOrigin-RevId: f57a2f34a522a21fac3dbe5e10ccdbe3ef9c702a
2020-05-09 10:13:32 +00:00
Vladimir Krivosheev ab1d807794 cleanup
GitOrigin-RevId: 630092d3d1005bd814bed89cdc82cf871ed0463e
2020-05-09 07:38:19 +00:00
Vladimir Krivosheev e855f5a4f0 use type-specific map to consume less memory
GitOrigin-RevId: 1a592c99f697dc0910f58d0276a525e14d6cbcda
2020-05-09 07:38:19 +00:00
Vladimir Krivosheev cf9a68d7e0 use IntArrayList instead of trove, use Int2ObjectOpenHashMap instead of trove TIntObjectHashMap
GitOrigin-RevId: e5768441bb3bdc3cbdf8a65bf954b5dc2b588944
2020-05-09 07:38:19 +00:00
Vladimir Krivosheev 96662f4ed2 fix javax.swing.JLabel[,0,0,0x0,invalid,alignmentX=0.0,alignmentY=0.0,border=,flags=0,maximumSize=,minimumSize=,preferredSize=,defaultIcon=,disabledIcon=,horizontalAlignment=LEADING,horizontalTextPosition=TRAILING,iconTextGap=4,labelFor=,text=,verticalAlignment=CENTER,verticalTextPosition=CENTER]
java.lang.Error
    	at javax.swing.UIDefaults.getUIError(UIDefaults.java:731)
    	at javax.swing.MultiUIDefaults.getUIError(MultiUIDefaults.java:130)
    	at javax.swing.UIDefaults.getUI(UIDefaults.java:761)
    	at javax.swing.UIManager.getUI(UIManager.java:1016)
    	at javax.swing.JLabel.updateUI(JLabel.java:275)
    	at javax.swing.JLabel.<init>(JLabel.java:164)
    	at javax.swing.JLabel.<init>(JLabel.java:235)
    	at com.intellij.openapi.util.IconLoader$LabelHolder.<clinit>(IconLoader.java:1175)
    	at com.intellij.openapi.util.IconLoader.filterIcon(IconLoader.java:469)
    	at com.intellij.openapi.util.IconLoader.getDisabledIcon(IconLoader.java:432)
    	at com.intellij.ui.AnimatedIcon$Blinking.<init>(AnimatedIcon.java:130)
    	at com.intellij.ui.AnimatedIcon$Blinking.<init>(AnimatedIcon.java:126)
    	at com.intellij.idea.ApplicationLoader$startApp$5.run(ApplicationLoader.kt:177)
    	at com.intellij.util.concurrency.BoundedTaskExecutor.doRun$$$capture(BoundedTaskExecutor.java:215)
    	at com.intellij.util.concurrency.BoundedTaskExecutor.doRun(BoundedTaskExecutor.java)
    	at com.intellij.util.concurrency.BoundedTaskExecutor.access$200(BoundedTaskExecutor.java:26)
    	at com.intellij.util.concurrency.BoundedTaskExecutor$1.execute(BoundedTaskExecutor.java:194)
    	at com.intellij.util.concurrency.BoundedTaskExecutor$1.run(BoundedTaskExecutor.java:186)
    	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    	at java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:652)
    	at java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:649)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:649)
    	at java.lang.Thread.run(Thread.java:748)

GitOrigin-RevId: ddff7826adb45f760e74fc76ba991eca94ffb356
2020-05-09 07:38:19 +00:00
Tagir Valeev 3b5bd1761b NPE navigation: better support compiler-generated null-checks
GitOrigin-RevId: 6f611a250f2fe0a2e1e0532b0abdca5045e5ec53
2020-05-09 07:19:48 +00:00
Dmitry Batkovich 506a2a8ccf indexes: do not try to cleanup memory storages while plugin load/unload-ing IDEA-240439
GitOrigin-RevId: c78c740857ea8a956e9dc4fa9042f56204f4e455
2020-05-09 05:25:10 +00:00
Dmitry Batkovich 0419a35bd2 indexes: serialized stub tree should only use it's own internal serialization manager
GitOrigin-RevId: e4ea5a0c4507cfbc33ecdb9f94d113863c14a6ea
2020-05-09 05:25:10 +00:00
Dmitry Batkovich c6ddd2a9ff indexes: stubs with snapshots should respect pushed properties as well
GitOrigin-RevId: 04b9b4442e384ba13daefad087c1e4154ad3e3d4
2020-05-09 05:25:10 +00:00
Dmitry Batkovich e79b5b2ea1 indexes: snapshot single value storage should drop caches on index update
GitOrigin-RevId: 146fd6a9601aa09e70a98b8f5a69e8670d32c911
2020-05-09 05:25:10 +00:00
Dmitry Batkovich ab5e1e1fea do not pollute logs in tests
GitOrigin-RevId: 160e84b98c69aec7d17743a99ea69dde082ad665
2020-05-09 05:25:10 +00:00
Dmitry Batkovich 771dfe3f0d indexes: add more toString() to debug
GitOrigin-RevId: 24d6a9f9407a88957abe02ac7083d79fb630b120
2020-05-09 05:25:10 +00:00
Konstantin Bulenkov ba92f74a5f there will be no JavaFX in 2020.2
GitOrigin-RevId: 93b3e6650fba7526b394a6afabbd7c0120a7beaf
2020-05-09 05:25:10 +00:00
Vassiliy.Kudryashov f6242a9411 IDEA-227970 Find/Replace toolbars incorrectly handle insufficient space
GitOrigin-RevId: 08fdd57265bb6aebfdcd40ef625fec2403767c33
2020-05-09 05:25:10 +00:00
Evgeniy.Stepanov 9cb0cc71a3 Reference intellij.platform.diff directly instead of transitive via intellij.platform.vcs
GitOrigin-RevId: 74e2f3c2c7768f2a69e7ae2506bb0047754af805
2020-05-09 05:25:10 +00:00
Nikolay Chashnikov 3b93d897dd [project model] add more tests for project model classes
Check editing libraries and library tables, multi-commit for several root models, concurrent modifications.

GitOrigin-RevId: 7ae294c1c4a20b0b18dd1f4ee46757e5995a0ce6
2020-05-09 05:25:10 +00:00
Roman Shevchenko b1c54a5a97 [ui] premature notification diagnostics (IDEA-240459)
GitOrigin-RevId: 1b95950156cdd01765945605af4d1e854392c251
2020-05-09 05:25:10 +00:00
Dmitry Jemerov cc168be5d8 Register FxmlPresenceListener in plugin.xml to ensure it's disposed on plugin unload
GitOrigin-RevId: 56dfe35052a870afb0dd8c71e5848de2730371c5
2020-05-09 05:25:10 +00:00
Dmitry Jemerov 4bf86bb150 Clear DOM assignability cache on plugin unload (IDEA-240454)
GitOrigin-RevId: b97d867b9048ca0a740414e8c10ecf9c332dfe92
2020-05-09 05:25:10 +00:00
Dmitry Jemerov 60843512c6 Ensure that we remove editor reference from myActiveEditors when editor is released (IDEA-240456)
GitOrigin-RevId: 541df88c4b136a3cab8d9f1d529656217bcd4351
2020-05-09 05:25:10 +00:00
Dmitry Jemerov c47095f838 Remove unused field that can cause leaks on plugin unload
GitOrigin-RevId: 670685b9fa5317cb59979148403b469c25551bf8
2020-05-09 05:25:10 +00:00
Dmitry Jemerov 1e5a1350b9 Initial implementation of inspection to check for incorrect parent disposable in plugin code
GitOrigin-RevId: fafc432cf9fd86a27ae47ac4f4e3cbacc2b268fb
2020-05-09 05:25:10 +00:00
Nikita Eshkeev cd8c6a31d4 [codeInsight] Cleanup RedundantStringOperationInspection
This patch cleans up the code from the reported warnings

Signed-off-by: Nikita Eshkeev <nikita.eshkeev@jetbrains.com>

GitOrigin-RevId: 655d37ae08c3cf7509c5c406afe47d4184a58986
2020-05-09 05:25:10 +00:00
Nikita Eshkeev 597a92c0b2 [codeInsight] IDEA-240288 Inspection for StringBuilder.toString().substring()
This patch enhances RedundantStringOperationInspection with detecting either unnecessary naked calls StringBuilder.toString or redundant toString in StringBuilder.toString.substring.

Signed-off-by: Nikita Eshkeev <nikita.eshkeev@jetbrains.com>

GitOrigin-RevId: 3cd7e964c0acc73fb1ac38061ef31264035f82dc
2020-05-09 05:25:10 +00:00
Bas Leijdekkers 43636d4a6e SSR: change cache key to language ID to prevent keeping references to languages from unloaded plugins (IDEA-240463)
GitOrigin-RevId: 4a687a0056347d9445e80bef03bc5fa723e7fd0e
2020-05-09 05:25:10 +00:00
Mikhail Mazurkevich 9aadb3b050 [workspace model] Better naming in the external index
GitOrigin-RevId: b1939733e2aa53a7bc2ecb4b6018eafd6b1efa89
2020-05-09 05:25:10 +00:00
Alex Plate 09bd1dfd3a [Workspace Model] VirtualFileUrl is not a dataclass anymore
GitOrigin-RevId: 9467d756238bc3a8e238fe8f8cea470245b933ad
2020-05-09 05:25:10 +00:00
Alex Plate d82cd9980c [Workspace Model] Register watched roots asynchronously
GitOrigin-RevId: 58f68022c2bcd5fe4e5ef0c76c8e2ba0fe89195a
2020-05-09 05:25:10 +00:00
Dmitry Avdeev f56e679445 IDEA-236390 Implement new UI for editing run configuration settings
editing RunnerAndConfigurationSettings

GitOrigin-RevId: 633a9e16de19a7cb6431ea71a3d4627fb920cdba
2020-05-09 05:25:10 +00:00
Mikhail Mazurkevich 96dc32fdef [workspace model] Not expose PId outside of the store via external index
GitOrigin-RevId: a568520d76ab4126290c02c6b939e5264a88e880
2020-05-09 05:25:10 +00:00
Ilya.Kazakevich de14746ecf PY-42212: Fix test dialog layout
GitOrigin-RevId: 6877cbc5c7db3deb99bcce49de33c4f624562e93
2020-05-09 05:25:10 +00:00
Daniil Ovchinnikov fa6d0744f0 [groovy] IDEA-239977 proper type and value of integer literals without a suffix
- compute literal value using groovy library;
- compute literal type based on literal value.

GitOrigin-RevId: 58ab796de53d3fa94b3630e6ba8b48adfbd75c55
2020-05-09 05:25:10 +00:00
Vladimir Lagunov d02f17535a IDEA-CR-62441: Introduce asynchronous TargetedCommandLine.collectCommands.
(cherry picked from commit 5052289c97a80fed3f03f636aaef250fa2e42b84)

GitOrigin-RevId: 3ebbadc3999e577f9225923d12594783fdfd2754
2020-05-09 05:25:10 +00:00
Anton Tarasov 4b44007e1f IDEA-240461 enable JCEF by default in IDEA
GitOrigin-RevId: 9d19b38236deb9062f12683509c02975af98f2d8
2020-05-09 05:25:10 +00:00
Alex Plate e57ddfb4e3 [Workspace Model] EntityData should calculate PersistentId if TypedEntity has it
GitOrigin-RevId: d0b3d356ce71b194e34c1c2bc22175c80e96f1f7
2020-05-09 05:25:10 +00:00
Alex Plate c0af13dcab [Workspace Model] ConnectionId is no more dataclass
GitOrigin-RevId: b713d1ed90043e9c4a6c497b5f98503a131d1db9
2020-05-09 05:25:10 +00:00
Alex Plate f34ef6aabf [Workspace Model] Use custom equals/hashCode for PId
GitOrigin-RevId: 114e71f2126d9056613585c3b90e887f6f5f3376
2020-05-09 05:25:10 +00:00