Commit Graph
197059 Commits
Author SHA1 Message Date
Anna Kozlova cb2eaa99e1 extract functional: don't show error dialogs (IDEA-174180)
unable to perform in complex cases instead
2017-06-08 17:49:08 +03:00
Anna Kozlova 703283b008 extract functional: skip if element was invalidated (IDEA-174178)
when typed to the editor between dialog is closed and popup was shown
2017-06-08 17:49:07 +03:00
Anna Kozlova 5a5cfb7b2f extract functional: ensure reordering/renaming (IDEA-174173)
ensure data from dialog applied to non-physical processor before reordering according to it
2017-06-08 17:49:07 +03:00
Anna Kozlova 84747a178a suggest functional: ensure only exact types are suggested for primitives
SAM types with primitive parameters should be checked for exact matching, boxed types accept passing primitives
2017-06-08 17:49:07 +03:00
Anna Kozlova 3d73c0eb92 pattern to detect language level by name adjustments 2017-06-08 17:49:07 +03:00
Anna Kozlova e78186d6ae support for arrays in template j.u.Objects.equals/hashCode (IDEA-162302) 2017-06-08 17:49:06 +03:00
Anna Kozlova 52e5edb007 don't check read-only status second time 2017-06-08 17:49:06 +03:00
Anna Kozlova e32734234d move instance method: resolve conflict local var/field in target class
IDEA-174017
2017-06-08 17:49:06 +03:00
Dmitry Batkovich 46c37550c0 type migration: add a test for IDEA-173791 2017-06-08 17:46:51 +03:00
Dmitry Batkovich a3bbe18b33 type migration: don't decompile code 2017-06-08 17:46:51 +03:00
Alexey Kudravtsev 67e0ef0d39 IDEA-CR-21632 followup 2017-06-08 17:34:11 +03:00
Dmitry Batkovich 2066338d72 type migration: convert to atomic / convert to thread local should use refactoring instead of manual conversion 2017-06-08 17:03:20 +03:00
Rustam Vishnyakov 3865e588a8 NO_FONT_ITEM renamed to myNoFontItem (IDEA-CR-21585) 2017-06-08 16:24:46 +03:00
Alexey Ushakov 1c1b351c18 Updating versions of project dependencies: jdkBuild->u152b927.1
Alexey Ushakov
2017-06-08 16:21:12 +03:00
peter 4c58634a4b more thoroughly ensure ResolveCache caches valid results 2017-06-08 15:15:10 +02:00
peter c207d512eb don't update FTL directive style during plain typing (IDEA-172756) 2017-06-08 15:13:17 +02:00
peter 4730fd2c9d TypeOrElementOrAttributeReference: don't use NULL_PSI_ELEMENT as a resolve result 2017-06-08 15:10:27 +02:00
Roman Shevchenko dbd72db8ed [java] adds missing var initializer check (EA-99746) 2017-06-08 16:08:06 +03:00
Alexey Kudravtsev 5e602d4693 cleanup 2017-06-08 16:02:46 +03:00
Alexey Kudravtsev 54783edafd do not remove invoked quick fix from the list if it did nothing to fix IDEA-173961 "Interrupted" quick fix disappears from popup 2017-06-08 16:02:45 +03:00
Alexey Kudravtsev 77a1a74d39 cleanup 2017-06-08 16:02:45 +03:00
Alexey Kudravtsev fd2757e1c1 disable array-to-string copyless optimisation in JDK9 because it's not working there 2017-06-08 16:02:45 +03:00
Alexey Kudravtsev 1dcbf8438e removed redundant class 2017-06-08 16:02:45 +03:00
Alexey Kudravtsev 5f99c1d418 removed console spam 2017-06-08 16:02:45 +03:00
Dmitry Cherniachenko 05d14efc37 [vcs]: Delete active changelist without confirmation in some cases
* (IDEA-145520) if there are no changes to move and only 1 changelist
 left then it should be chosen by default as a new active;
2017-06-08 15:56:39 +03:00
Kirill Kirichenko 2c7a9616ac IDEA-171869 Win10 LaF search fields reworked 2017-06-08 15:38:32 +03:00
Mikhail Golubev d5bf513b88 PY-16683 Don't consider all decorator calls as having one implicit argument
It's not true, in particular, decorators of form @func(1, 2) don't
receive function object as an additional argument preceding those that
explicitly mentioned. Because of that we can't match arguments
of a decorator and parameters of the corresponding function definition,
e.g. while performing Change Signature.

There also seem to be no tests covering this pecular logic.
2017-06-08 14:57:13 +03:00
Mikhail Golubev 3802c3e79c PY-24609 Remove names of former keyword-arguments before varargs 2017-06-08 14:57:11 +03:00
Mikhail Golubev d8b871aec1 PY-24607 PY-24602 Add tests on other older problems with Change Signature
All these issues have been resolved in the new version of
PyChangeSignatureUsageProcessor
2017-06-08 14:55:12 +03:00
Mikhail Golubev 59696e2c5f PY-16683 Improve handling of exising calls in Change Signature
Now we use the same PyCallExpressionHelper methods to match arguments
and parameters in existing calls when we're processing them.
Previously it was done using completely independent algorithm that
iterated through arguments sequentially keeping track of the last
visited argument and couldn't handle a lot of cases.

This change also fixes issues PY-24288 PY-24480 PY-24479.
2017-06-08 14:52:34 +03:00
Roman Shevchenko a2c4be89f2 Cleanup (unneeded code) 2017-06-08 14:47:52 +03:00
Dmitry Batkovich 2255c3bfcf relevant method chain completion: don't add items to unmodifiable collection (EA-102737) 2017-06-08 14:46:43 +03:00
Dmitry Batkovich 925d97acdb rename field 2017-06-08 14:46:43 +03:00
Aleksey Pivovarov a8cfb9f913 vcs: share logic between "Create patch" and "Create patch to clipboard" actions
* enable action for arbitrary selection in Local Changes toolwindow
* reuse default logic when invoked from VCS Log
2017-06-08 14:13:36 +03:00
peter 32c5aea1fd don't create applet configurations in dumb mode (IDEA-CR-21641) 2017-06-08 13:09:56 +02:00
Nadya Zabrodina fc653d4d2c [branchPopup]: memory leak - remove window listener on hide 2017-06-08 14:06:24 +03:00
Alexey Ushakov 6d7847a112 IDEA-173836 After upgrade to Ubuntu 17.04 integrated menus do not work
Reverted:
Forced jayatana for Unity DE via env variable
2017-06-08 13:50:49 +03:00
Tagir Valeev c0f0d3c636 IDEA-174151 'Replace with single Map method' suggests incorrect rewrites to computeIfAbsent
Option added (on by default) to disable warning if side effects are possible.
2017-06-08 17:41:44 +07:00
Aleksey Pivovarov 24f54f7b00 vcs: collect statistics on CharsetEP usages 2017-06-08 13:38:04 +03:00
Aleksey Pivovarov 64507a42bd vcs: avoid "(revision )" when creating patches 2017-06-08 13:31:27 +03:00
Dmitry Trofimov 538f7d9373 Add more synonyms to the Python project interpreter (PY-24580) 2017-06-08 12:20:30 +02:00
Roman Shevchenko 23b2975e59 Cleanup (escaping and other fixes in decompiler/README.md) 2017-06-08 13:16:39 +03:00
Tagir Valeev 58ac2733cf TEST_DATA_DIR non-public (IDEA-CR-21670) 2017-06-08 16:42:28 +07:00
Tagir Valeev 0234c70fd6 OptionalIsPresentInspection: do not check nullity for consumer case 2017-06-08 16:42:28 +07:00
Aleksey Pivovarov ee1816b378 diff: move Annotate action to top
follow-up: 8baf4704b7
2017-06-08 12:40:03 +03:00
Aleksey Pivovarov 20e21983ce vcs: remove duplicated action 2017-06-08 12:40:03 +03:00
Vladislav.Soroka 763e2a2cf7 IDEA-145541 Add library from maven: pasted maven coordinates will automatically be converted 2017-06-08 12:39:13 +03:00
Roman Shevchenko 56d8f19f5c Merge pull request #582 (https://github.com/JetBrains/intellij-community/pull/582) 2017-06-08 12:35:54 +03:00
Vladislav.Soroka fd006ce847 IDEA-145541 Add library from maven: pasted maven coordinates will automatically be converted 2017-06-08 12:16:13 +03:00
Aleksey Pivovarov dde7d682df IDEA-174127 diff: fix tooltip text in unified viewer 2017-06-08 12:02:09 +03:00