Commit Graph
263321 Commits
Author SHA1 Message Date
Anna.Kozlova 4ad4e7d908 java overload resolution: fix NPE
found by property testing

GitOrigin-RevId: b45cb07402ad58a37886b7f1b5afb62bca2746fe
2019-12-04 09:38:15 +00:00
Peter Gromov 94a4084b0e extract superclass/interface: get rid of invokeLater
suggest to turn refs to super immediately after extraction command finish

GitOrigin-RevId: db16c9a5601b264d860c1a0262aae7061e0f733d
2019-12-04 09:08:56 +00:00
Peter Gromov f0d1d64f66 remove app read lock privileges
because they're complicated and produce deadlocks during modal indexing when FileContentQueue needs encoding which needs a read action (e.g. JSP)

GitOrigin-RevId: b85fbeea47f724fdc8cd8333d9a87e33ac7ceeaf
2019-12-04 09:08:56 +00:00
Peter Gromov f21bbb94a3 make getAttributes on archive file systems non-blocking (EA-211700 freeze)
GitOrigin-RevId: 8b007c94f3c9bd0626498f2cdc24efacbb0359fa
2019-12-04 09:08:56 +00:00
Mikhail Mazurkevich 053ff7f9b7 [jps-cache] Clear download folder and fix extract cancellation
GitOrigin-RevId: ca4c1d9e6cfd331faa4ff632c87b011286020e37
2019-12-04 08:04:11 +00:00
Mikhail Mazurkevich 6f4b9e4b92 [jps-cache] Use ProcessIOExecutorService for top level tasks
GitOrigin-RevId: 15fb60eb94fd2aaaa67bbf249c37b8567255d083
2019-12-04 08:04:11 +00:00
Mikhail Mazurkevich 2d8140195f [jps-cache] Make extract and apply downloaded changes in parallel
GitOrigin-RevId: 1683fd8cf2569d6ecd591d5358cd013d82bb1649
2019-12-04 08:04:11 +00:00
Peter Gromov 258ed1a344 UsageViewImpl: use ReadAction.nonBlocking
GitOrigin-RevId: 80d9ec0385037ad6130bbd604fe21d1f95964fe7
2019-12-04 08:04:11 +00:00
Peter Gromov c0d3a88f16 LibraryDependentToolWindowManager: use ReadAction.nonBlocking
GitOrigin-RevId: 64e4ac267cee714ddbdabb5c0f94361bef61d3da
2019-12-04 08:04:11 +00:00
nik 7f7ddbf221 [platform] restore value of "preload" attribute for PerformanceWatcher service
The change made in ad620df0a56a was lost while merging python-analysis-tool branch.

GitOrigin-RevId: 2eb87bb53adfb0096ee99d7ef32a5c5a4a95025d
2019-12-04 07:35:25 +00:00
Roman.Ivanov 1c050eb2b6 Add folding for record header
GitOrigin-RevId: b33bba12bc7e9bffddff6e8c613bfd507aad4cd8
2019-12-04 07:35:25 +00:00
Roman.Ivanov 74f10408aa Add isRecord to PsiClass and stubs
GitOrigin-RevId: 70a1f02a278611c7e39f1687bc6a9a2a8c5d07cb
2019-12-04 07:35:25 +00:00
Dmitry Batkovich 3e751e0af4 dont throw IllegalStateException on index access in dumb mode
GitOrigin-RevId: e6f0c7a732608bba142c3f295563d35986767aad
2019-12-04 06:40:40 +00:00
Mikhail Mazurkevich 747b08812b Revert: WIP on mapping binary files (cbcc511e)
GitOrigin-RevId: 893791b131b2fa8282de876ff77e9fe1752e3162
2019-12-03 20:02:19 +00:00
Mikhail Mazurkevich 6a3d3b7fb3 Revert "From now OneToManyPathsMapping use appendDataWithoutCache to avoid binary files changes during cache flush because of GC"
This reverts commit 4daf6b4c

GitOrigin-RevId: 102fb1263cab2c2f268d2b5f66d9be33d3334aeb
2019-12-03 20:02:19 +00:00
Mikhail Mazurkevich 4eebe5efca Revert "Extract appendDataWithoutCache method to the JPS specific collection"
This reverts commit 312ebc40

GitOrigin-RevId: 0f8b960da79d9edc0ad36b0179cdd861721b0a44
2019-12-03 20:02:19 +00:00
Anna Kozlova 3fc5b36229 filter sdks for template based module builders (IDEA-227948)
GitOrigin-RevId: b9ac0ce91ac3362791a87a10f6206282bcad4c87
2019-12-03 19:37:06 +00:00
Anton Tarasov 4de9ce0393 Correct JBCefUtils.addJSHandler param
GitOrigin-RevId: 25f2890b3354ed4c492758045d6c84e07b37e157
2019-12-03 19:37:06 +00:00
Sergey Ignatov 1de02e6193 drop caches in GotoSymbolModel2
on cr-IDEA-952

GitOrigin-RevId: 0a7f851bffeaf4f36ef78b09ccd1b7a65ff9a180
2019-12-03 19:37:06 +00:00
Sergey Ignatov 63368bff18 speed up go to action renderers, don't touch font metrics if there's no need
GitOrigin-RevId: dbb3cf76a77c1908382cd0d59fdb2fd832f45e4c
2019-12-03 19:37:06 +00:00
Sergey Ignatov e9f8dd0cfd more dynamic eps
GitOrigin-RevId: 98c24926d59786a07232fde34453ba7ee76663ae
2019-12-03 19:37:06 +00:00
Sergey Ignatov a95ef26ce9 mark go to file ep as dynamic
GitOrigin-RevId: 3408fd3f3b114bbefe6edd5f3dbb4aafa307c130
2019-12-03 19:37:06 +00:00
Sergey Ignatov 82a84b83a8 don't show inspections via settings in go to action
we've already have all of them via inspection option descriptors: ON/OFF buttons

GitOrigin-RevId: eb3605be2f8d4e1770941d0dbda876a8cb009a10
2019-12-03 19:37:06 +00:00
Sergey Ignatov a0a81c6d98 don't calculate text which we need to trim by hands, let's Swing does it
that leads us more responsive UI, we were spending ~200ms for trimming text on EDT

GitOrigin-RevId: 1523fa0c92646aa47b3aff2df6e2a60bb2a1610b
2019-12-03 19:37:06 +00:00
Dmitry Jemerov 6baeae2c50 Fix KeymapPanel leak in tests which create KeymapPanel but don't call its createComponent() method
GitOrigin-RevId: d26a718c985d143b57cd126fd0f80524a4e9e092
2019-12-03 19:37:06 +00:00
Dmitry Batkovich 4516cf5994 add access type to dumb mode index access
GitOrigin-RevId: babc505bca1efad9671af2de9d47ac5dd19a912f
2019-12-03 19:02:17 +00:00
Dmitry Batkovich a215e73d9b follow IDEA-CR-55524
GitOrigin-RevId: 6791b1f577227a968564385e265354098ec7f9ba
2019-12-03 19:02:17 +00:00
Dmitry Batkovich 0ee8d21de5 extract class
GitOrigin-RevId: c1be96c9cad666b6f13669ca485f77e0cc18a775
2019-12-03 19:02:17 +00:00
Dmitry.Krasilschikov c2e8a50a26 IDEA-CR-55846 UX-931 intentions preview: turn on soft wraps and setup fix sizes for editor
GitOrigin-RevId: a40c077d9cdcff2821ca14fb35207a3c91493611
2019-12-03 18:33:11 +00:00
Dmitry Jemerov a72d9e4ff1 Plugin descriptor update from Alexey Zhebel
GitOrigin-RevId: 33678c1c859cc9860c8630d5052f45a5d6f668cc
2019-12-03 18:33:11 +00:00
Sergei Vorobyov 0f6157d376 [auto-import] added registry key to disable auto-import
GitOrigin-RevId: 42a92f36d3e640fdb9d1b4bb46b6cc965e3bc79d
2019-12-03 18:12:53 +00:00
Anton Tarasov 2fba026465 IDEA-228179 intellij-community master branch missing jcef library used in code
GitOrigin-RevId: ae47c40332dbb5da8fbb43c1ca0a7be11da913f6
2019-12-03 17:36:48 +00:00
Sergei Vorobyov 4107897779 [auto-import] disable reload notification if it invisible
GitOrigin-RevId: da3eee05aa6cbbb0f92e5c5321ebb2427a03f03b
2019-12-03 17:11:06 +00:00
Sergei Vorobyov 9251c53cbd IDEA-CR-56044 added test on files generation during refresh
GitOrigin-RevId: e97029b28ad39bb24f9e2db1c1f78929021f6014
2019-12-03 17:11:06 +00:00
Ilya.Kazakevich f6348985e0 Resolve context should not support implicits by default.
Implicits are slow.
* defaultContext() now doesn't have em
* implicits are enabled explicitly (no wordplay here!) for certain user-initiated actions and findReferenceAt
* Latter is for navigating to methods/attributes of unknown types

GitOrigin-RevId: 62df6707507584576ea4c193ccf6e7f0c128c5be
2019-12-03 17:11:06 +00:00
Anton Lobov b8d3e5ff6f json: fix tests (don't add the explicit presentation in case when not needed)
GitOrigin-RevId: 39b833806a65b4d1de8ddd4351b0d91196374307
2019-12-03 16:39:18 +00:00
Dmitry.Krasilschikov 45dc0939a0 IDEA-CR-55846 UX-931 intentions preview: accident merge error
GitOrigin-RevId: 2cd946552202a5b886f96d60f9e6eb336badc9f2
2019-12-03 16:04:11 +00:00
Dmitry.Krasilschikov ccb1699fba IDEA-CR-55846 UX-931 intentions preview: close intention preview popup on settings popup showing
GitOrigin-RevId: f3527ff9bc52ff26ba0df41203693007b2f8e879
2019-12-03 16:04:11 +00:00
Dmitry.Krasilschikov bf05d33d14 IDEA-CR-55846 UX-931 intentions preview: corrections by review
Use `coalesceBy` and `finishOnUiThread` API for preview updating; better kotlin way coding

GitOrigin-RevId: 061d726108500c77300f6bd73c52c634de1d3faa
2019-12-03 16:04:11 +00:00
Dmitry.Krasilschikov 2396f2de00 IDEA-CR-55846 UX-931 intentions preview: corrections by review
GitOrigin-RevId: b3d846559e37f2012906a7e2cfa91da1a5a0fd01
2019-12-03 16:04:11 +00:00
Dmitry.Krasilschikov 968d8bbcba intentions preview - use mock editor with document and caret model only
GitOrigin-RevId: 064d575ea687c9f6f54378344bf3c3724892c7df
2019-12-03 16:04:11 +00:00
Dmitry.Krasilschikov cc018c2456 UX-931 intentions preview: async loading UI
GitOrigin-RevId: 09dbb2659a4051a1e49085b68d3d9cb7dd56ff3e
2019-12-03 16:04:11 +00:00
Dmitry.Krasilschikov 96350cb568 UX-931 intentions preview: create editor on EDT
GitOrigin-RevId: fec0eadeb7b558e427b920710e4bcac71d9a7399
2019-12-03 16:04:11 +00:00
Dmitry.Krasilschikov 8e7f3ef597 UX-931 intentions preview: allow intention to modify a light virtual file
GitOrigin-RevId: 6b8b0b75606c612a07eb3a360e22fee06ba70475
2019-12-03 16:04:11 +00:00
Dmitry.Krasilschikov 29196834cc UX-931 intentions preview: initial commit
GitOrigin-RevId: c66e5007f0a12668b7012c1d8072283ab8adbf43
2019-12-03 16:04:11 +00:00
Anna.Kozlova 1f6eff05b9 show bytecode: allow bytecode view for out of date class files
warning would be shown for projects where delegate to gradle/maven option is on (IDEA-180686)

GitOrigin-RevId: 179d3d11a3cfc53af0ac8da3326e1e489b152540
2019-12-03 16:04:11 +00:00
Anna.Kozlova 21e434894f java inference: stop when argument has no associated formal parameter
GitOrigin-RevId: cbc4e435f6e03bd06eac4dcf21196bdd61dc6c3d
2019-12-03 16:04:11 +00:00
Anna.Kozlova d93efc10e8 protected member in final class: remove code duplication
GitOrigin-RevId: 6ea87a95bbb9b39cec85129bec6c69538823725e
2019-12-03 16:04:11 +00:00
graann 8ba0856ff5 fix for IDEA-227823 Borderless header: Project name and path has the same color as menu items
GitOrigin-RevId: 19d13ab624c6e40ff4dddac983099a0d0f5685e3
2019-12-03 16:04:11 +00:00
Alexander Lobas 068fa05bba UX-1046 Plugin manager: improve warning/error texts
GitOrigin-RevId: da9ebeb08c56fc6d901246238b974ddef226e92d
2019-12-03 15:36:42 +00:00