Commit Graph
262574 Commits
Author SHA1 Message Date
Tagir Valeev 98792cbf73 Revert substring(x).indexOf(y) -> indexOf(y, x) (IDEA-219640, case#3); was incorrect replacement
GitOrigin-RevId: f62ccdd76bd6353fe1bce95fe17ab4b3ca507dce
2019-11-25 09:31:23 +00:00
Tagir Valeev 30fbc0441a IfConditionalModel: properly parenthesize binary expressions in case of negation
GitOrigin-RevId: 3a9843f218bbbaac9b92ab30c8b6521ac361d3e6
2019-11-25 09:31:23 +00:00
Andrey Lisin eb956ca29d PY-38378 PY-38424 Fix updating variables in debugger console
We now access the `frame.f_locals` attribute only once. Multiple access leads to the loss of the changes we have made. We also alter the second argument of the `PyFrame_LocalsToFast()` to 1 to ensure that all the deleted variables will be wiped out from the frame locals.

(cherry picked from commit 28abff39b2c37f30651db220e8700032a629ce73)

GitOrigin-RevId: 8514da7ec187c1192ea9cdf851f89f008242fc30
2019-11-25 09:31:23 +00:00
Vladimir Dolzhenko 40ac8526c3 IDEA-CR-55322: IDEA-226443: Calculate method parameter hint info in non UI thread
GitOrigin-RevId: 0bbeb440f6c86617ba9a9d159c8534d5120406c8
2019-11-25 09:31:23 +00:00
Rustam Vishnyakov b029ade28b Skip detection for invalid file
GitOrigin-RevId: 73346782999efadd4d20d7afec95234591e07ec1
2019-11-25 08:32:42 +00:00
Rustam Vishnyakov de699140ad Correctly handle editor window state when the editor is opened from welcome screen
GitOrigin-RevId: c8b2777ccf679941daa3f542acaf3f41900f6512
2019-11-25 08:32:42 +00:00
Rustam Vishnyakov 1e897b5a5b Force app exit if there are exceptions, don't leave the Java process running
GitOrigin-RevId: a77a0c3c2bf7b0bf514cf2af7cbb39361c00e5c3
2019-11-25 08:32:42 +00:00
Tagir Valeev e264c1556e ForLoopReplaceableByWhileInspection: option to not report all loops removed (useless); warn by default
GitOrigin-RevId: f320da17d13108691b1b31ca806e68f72a551269
2019-11-25 07:46:32 +00:00
Tagir Valeev 37863e879f ForLoopReplaceableByWhileInspection: simplify
GitOrigin-RevId: 04851e0114344b80e2fcb6637ecae997dcc031ba
2019-11-25 07:46:32 +00:00
Peter Gromov 6e21d43b21 DocumentReferenceManagerImpl: go back to using slower but safer iterInDbChildren (IDEA-CR-55670)
for the unlikely case when someone loads a new child into memory from persistence and creates a doc reference to it just before deletion events are fired

GitOrigin-RevId: dcd9d593bfa29ad6730df20dc9212a4e98b37858
2019-11-25 07:46:32 +00:00
Tagir Valeev 4ca40ef118 Remove SimplifyIfElseIntention: superseded by TrivialIfInspection
GitOrigin-RevId: f60129358dcfc5cd9c4f1607d603cc9d1a7ed108
2019-11-25 07:46:32 +00:00
Tagir Valeev e212f2024d TrivialIfInspection: ignoreChainedIf option (IDEA-227395)
GitOrigin-RevId: 8764972719450901862996220cc6d97b2c5c24ff
2019-11-25 07:46:32 +00:00
Dmitry Jemerov 7c6aaa7e88 Support message bus listeners for dynamic plugins
GitOrigin-RevId: f2f7a011eb15782f81144f324defde85e2ce2d59
2019-11-24 23:02:07 +00:00
Sergey Ignatov c45fbce546 don't use BreadcrumbsInfoProvider + cleanup GroovyBreadcrumbsInfoProvider
GitOrigin-RevId: 85cc26468c2463595d106f528501db1d90600679
2019-11-24 14:03:26 +00:00
Sergey Ignatov be52a3c640 don't use BreadcrumbsInfoProvider
GitOrigin-RevId: c61b356108d196ca9a5025a6655535bf4ffb7bf4
2019-11-24 14:03:26 +00:00
Tagir Valeev c318f97d18 ignoreStringConstructor option
GitOrigin-RevId: 6c6e4501fd537d2f9b4143e6307cd139ce0ee83c
2019-11-24 04:10:39 +00:00
Tagir Valeev 11fca731dc Redundant string operations removed
GitOrigin-RevId: 73fab0c7544dd4c712f72e8e26ce07786e7cfbbb
2019-11-24 04:10:39 +00:00
Tagir Valeev 5115a4f13f GitLogRecord: shortBuffer is unnecessary since Java 7u6
GitOrigin-RevId: 161497515e65e21a3e508cbe644cc34de7142f60
2019-11-24 04:10:39 +00:00
Tagir Valeev 25dc0f385c s.substring(s.length()-fooLen).equals(foo) -> s.endsWith(foo)
GitOrigin-RevId: 5dbd78e6359770f9680ef25dcf699297b5a28e46
2019-11-24 02:05:56 +00:00
Vitaly Provodin 4a2ea169ac Updating versions of project dependencies: jdkBuild->11_0_5b617.2
Vitaly Provodin

GitOrigin-RevId: 9836d9be4ae4d221903af3e5a531fa8a8ab43e24
2019-11-24 01:41:37 +00:00
Vladimir Krivosheev 6c91f25a71 start-up visualizer: use rison instead of json
GitOrigin-RevId: 0c859eff2c22b46c714489039634f6a61a1dbd9d
2019-11-23 18:04:55 +00:00
Vladimir Krivosheev 2d7308e5f6 cleanup
GitOrigin-RevId: cc7c67c9fc702e77ff55e5edfaebb7fb038867aa
2019-11-23 16:34:19 +00:00
Vladimir Krivosheev 82d33dfbb8 profilesShutdown event is not used - do not dispatch on project close
GitOrigin-RevId: a25d66d632c11ca4f2bc2d6b41938660d76425e9
2019-11-23 16:02:44 +00:00
Eugene Zhuravlev bc0fca0187 create more precise compilation scope when particular files are recompiled (IDEA-226671)
GitOrigin-RevId: f98ea005bc8ff097565dad3eb188d4987e92182a
2019-11-23 13:11:22 +00:00
Sergey Ignatov 108e897cb4 get rid of dead code
GitOrigin-RevId: bbfdfa1bbd4713f4878fb4dc9576bae4ca394539
2019-11-23 11:12:43 +00:00
Sergey Ignatov 39968f2118 use title case
GitOrigin-RevId: 2c7901ff55d053f2ac30a66cbdc85d9cb86075e9
2019-11-23 11:12:43 +00:00
Vladimir Krivosheev a6b97f652b projectClosed event should be listened only via app message bus
GitOrigin-RevId: 764f959d53be044d09073ad9a29961ce7dfc57b0
2019-11-23 09:12:38 +00:00
Konstantin Bulenkov 3c6bbcebd0 Change metric name
GitOrigin-RevId: ec19cb0cad61e73591dfba30e4b7a4ca50e5ba8b
2019-11-23 00:41:34 +00:00
Mikhail Mazurkevich d371e9ce9c [jps-cache] Fix ExecutorService configuration
GitOrigin-RevId: 2202efd58e5357a30bf1f704a144f3d75e41296e
2019-11-22 23:01:46 +00:00
Mikhail Mazurkevich 8d5e953d8e [jps-cache] Fix showing notification in wrong frame
GitOrigin-RevId: f18bc014bf8dc6582fb686d9527a8f318533eeb3
2019-11-22 22:32:09 +00:00
Alexander Zolotov 8f1e02e01c TextMate: change extensions between file type change event, not before (EA-217690)
GitOrigin-RevId: 74af2eb59a17e346a7b32ca2fceea8bdb4bfedf3
2019-11-22 22:05:14 +00:00
Vladimir Krivosheev 6f359c7a9d ensure that app is disposed correctly and message bus respect project container state
GitOrigin-RevId: d0ed042a9008c0397030694a2984b159dbd2c31b
2019-11-22 21:31:42 +00:00
Vladimir Krivosheev 18c550f3b3 do not hold project for start-up performance report
GitOrigin-RevId: 4f275e35f5410740302f1efcb8a04bfeca6c9a23
2019-11-22 21:31:42 +00:00
Vladimir Krivosheev a4d533cb68 cleanup
GitOrigin-RevId: e98b3fe829c303507357a97c0d04a044894aa9d0
2019-11-22 21:31:42 +00:00
Mikhail Mazurkevich 2e6be67450 [jps-cache] Fix url
GitOrigin-RevId: b3e12c018f0ac5b62ab2c6ae9dca0b1720577e45
2019-11-22 21:03:15 +00:00
Lada Gagina 0f51507660 Add tests and fixes to TypedDict support
PY-38422 Unify warning message for 'clear' and 'popitem' TypedDict methods
PY-38505 Infer proper type for TypedDict subscription expressions
PY-38439 Fix TypedDict consistency check
PY-38415 Fix TypedDict keys order in parameter info
PY-38413 Add * before all arguments in TypedDict parameter hint
PY-38873 Fix detection of TypedDict subscription expression type when value is a dict, Dict or TypedDict

GitOrigin-RevId: 25ff441042f2e2d7791e28632a5016fb367685df
2019-11-22 21:03:15 +00:00
Peter Gromov 2ee02ffcce don't preload DocumentReferenceManagerImpl because it only needs to listen to changes after someone has called it
GitOrigin-RevId: 32037440c0e2b6c742f642dfd31eeb0d170a791f
2019-11-22 21:03:15 +00:00
Mikhail Mazurkevich 22ab429cb7 [jps-cache] Add new TemporaryCache client support
GitOrigin-RevId: 4527e16a99dabe05ef3dd1c7c1bce3308ef81880
2019-11-22 20:36:41 +00:00
Mikhail Mazurkevich 87ff129b3b [jps-cache] Add support for project with multiple git repos
GitOrigin-RevId: 2c93f847e06000aa9250b79f91d636548c7f29dc
2019-11-22 20:36:41 +00:00
Anna Kozlova 60d7db1c72 include module/lib names in comparison object to allow same named classes in different compilation units (IDEA-227390)
GitOrigin-RevId: e8adb0fceba53d61ce0afd392ce93f3dcb8d7663
2019-11-22 20:36:41 +00:00
Anna Kozlova 6d13306696 choose classes to implement method: supply hint updater (IDEA-227429)
GitOrigin-RevId: 6075aac6ccc3bd74416ab88aaf7d1e315f349ed7
2019-11-22 20:36:41 +00:00
Roman Shevchenko 71d3004d59 Cleanup (stricter-typed API; warnings; typos)
GitOrigin-RevId: 5d7d5253187cb1a57d6467ed10693755a59dbf2d
2019-11-22 20:03:40 +00:00
Dmitry Jemerov 79f6204fc4 UI DSL: API for explicitly specifying the indent of subrows of the given row
GitOrigin-RevId: 4ddcd3218d2ce3625b43e1413f49db6ac7f81343
2019-11-22 18:37:27 +00:00
Dmitry Jemerov 0884a17c1a CompositeFoldingBuilder now handles the case of folding descriptors overriding getPlaceholderText()
GitOrigin-RevId: 9c70bdf7714540f34699aa5105a0707109535580
2019-11-22 18:37:27 +00:00
Vladimir Krivosheev 4b4afbb6a8 cleanup
GitOrigin-RevId: 5d190ebf12dde00e7df672ebb60732ed14b48a81
2019-11-22 18:02:21 +00:00
Vladimir Krivosheev 01e3466509 no need to show progress for loading editors - it leads to calling unnecessary services and so on. Opening in any case should be not under modal progress
GitOrigin-RevId: c2860b57338cabc2080650fe52ef20d767948b4a
2019-11-22 18:02:21 +00:00
Vladimir Krivosheev 03a49855e8 cleanup
GitOrigin-RevId: 45a8ac414814c6a7aa768447b5eb265b78c92fc5
2019-11-22 18:02:21 +00:00
Vladimir Krivosheev 230c25448d OpenFilesActivity - do not open files in blocking manner
GitOrigin-RevId: e3cf33374a821f07c15bd660ca87ee092374c4e5
2019-11-22 18:02:21 +00:00
Vladimir Krivosheev 4d19934c17 cleanup
GitOrigin-RevId: 3a4ed6667ed2a70731807c068a2bbd76d135c8ac
2019-11-22 18:02:21 +00:00
Sergey Malenkov d953dd1f1b EA-218337 - NPE: IdeMenuBar.updateMnemonicsVisibility
GitOrigin-RevId: c09daaafeed4081f10e88d49b052e81f2b3b4e67
2019-11-22 17:33:33 +00:00