Commit Graph
190465 Commits
Author SHA1 Message Date
Anna.Kozlova 9c3ebf16aa method reference: include super substitutor into method reference substitutor when referenced method has no type parameters (IDEA-169134) 2017-03-07 09:15:29 +01:00
Roman Shevchenko 8e52e9afad [updater] fixes IOEs on building a patch with moved .zip files 2017-03-07 09:13:52 +01:00
Dmitry Batkovich 062f0f2b9c dispose index in a test 2017-03-07 11:03:35 +03:00
Tagir Valeev ddb4f2b7e6 StreamToLoopInspection: resolveReferencedClass used (IDEA-CR-18746) 2017-03-07 13:57:43 +07:00
Tagir Valeev ed8f4efbef ExtractChainedMapAction: more specific message; Guava FluentIterable support; Collection.forEach test 2017-03-07 13:50:45 +07:00
Tagir Valeev fdfa078e77 Extract chained operation: more specific message in menu item; collection support 2017-03-07 13:50:44 +07:00
Gregory.Shrago 8b50154834 include file size into the message 2017-03-07 03:04:12 +03:00
Valentina Kiryushkina ec3dbce697 PY-22830 Improve UI for remote notebooks 2017-03-07 00:08:43 +03:00
Gregory.Shrago 8f25b4a200 auto-close "Terminate | Disconnect running session" dialog on process quit 2017-03-06 23:19:06 +03:00
Konstantin Bulenkov 840a66a32c KT-16640 Can't compile IJ project because of NPE 2017-03-06 23:11:11 +03:00
Eldar Abusalimov 24ce6d93b5 util: (test) Fix GeneralCommandLineTest after changing trailing "\" handling
Follows-up: IDEA-CR-18999 util: Fix ParameterList joining for params with trailing backslash
2017-03-06 20:40:31 +03:00
peter d603567953 print raw Timings data in performance tests 2017-03-06 18:03:09 +01:00
Nadya Zabrodina d8dde8d5a2 [patch]: update patch and applied patch icons 2017-03-06 19:52:07 +03:00
Semyon Proshev 8d2764e59b Add escaping to PyArgumentListInspection message 2017-03-06 19:43:44 +03:00
Semyon Proshev 8a5373099c Export only one entry point to PyTypeCheckerInspectionProblemRegistrar 2017-03-06 19:43:44 +03:00
Semyon Proshev 7079ed83cf PY-22475 Fixed: Switch multi-parameters handling to multi-resolved functions API
PyTypeCheckerInspectionProblemRegistrar: update highlighted element in case of some callees and only one argument.
2017-03-06 19:43:43 +03:00
Semyon Proshev 6a8a56af4b PY-22475 Fixed: Switch multi-parameters handling to multi-resolved functions API
Update registering type checking problems for binary expressions:
* prefer left operators over right ones
* in case of one operator register problem in the old way
* in case of some operators register problem on the left or right argument
2017-03-06 19:43:43 +03:00
Semyon Proshev b7513de6d5 PY-22475 Fixed: Switch multi-parameters handling to multi-resolved functions API
Update multi-callee problem registration in PyTypeCheckerInspection:
* drop callees with unmapped arguments or unfilled parameters
* in case of one callee show message in old way
* in case of some callees show message with actual types and possible sets of them
2017-03-06 19:43:42 +03:00
Semyon Proshev 77ee34ea5c PY-22769 Fixed: Wrong inspection "Expected type 'bytes', got 'str' instead" for replacement function of os.path.abspath object
PY-22512 Fixed: False positive: expected Optional[bytes] got str for os.path.realpath(...).rstrip('_')
PY-22475 Fixed: Switch multi-parameters handling to multi-resolved functions API

Use PyCallExpression.multiResolveRatedCalleeFunction in PyTypeChecker and drop PyUtil.getOverloadedParametersSet
2017-03-06 19:43:42 +03:00
Vassiliy.Kudryashov 96dd05d4d0 IDEA 168982 another spacing fix 2017-03-06 19:39:07 +03:00
irengrig 17576be69b ReadJsonSchemaFromPsi - cast to JsonNumberLiteral immediately in places where we just checked the type (for review IDEA-CR-18961) 2017-03-06 17:30:28 +01:00
Vladimir Krivosheev 6d54c24e9e cleanup — default impl of disposeUIResources 2017-03-06 17:25:43 +01:00
Vladimir Krivosheev 0ecc4bf49a IDEA-CR-18986 renaming tested and fixed 2017-03-06 16:35:42 +01:00
Eldar Abusalimov af68a92e3f util: Fix ParameterList joining for params with trailing backslash
Instead of escaping C:\Program Files\ as "C:\Program Files\", turn it into
"C:\Program Files"\ instead.
2017-03-06 18:07:57 +03:00
Eldar Abusalimov c5624e3319 util: Add StringUtil.trim{Leading,Trailing}(StringBuilder, char) 2017-03-06 18:07:55 +03:00
Eldar Abusalimov e688fb73f7 CPP-8872 GDB: Add internal property to control timeout values 2017-03-06 18:07:53 +03:00
peter 14f87b8fb9 switch between override/implement in a transaction (EA-92340 - assert: MemberChooser.show) 2017-03-06 15:56:42 +01:00
Vladimir Krivosheev 6f5a94e083 IDEA-168933 Moving source folder breaks project 2017-03-06 15:55:03 +01:00
Alexey Kudravtsev 5a8d878ea2 cleanup 2017-03-06 17:44:09 +03:00
Alexey Kudravtsev 761dac522a fixed NPE caused by previous commit 2017-03-06 17:44:09 +03:00
Mikhail Golubev ddc66d519c PY-22422 PyPreFormatProcessor doesn't need to unblock/commit document, it operates on PSI 2017-03-06 17:15:58 +03:00
Mikhail Golubev 496fe62d7a PY-22422 Properly unblock/commit document in PyTrailingBlankLinesPostFormatProcessor
Also, avoid unnecessary premature postprocessing in the PSI file,
acquire document only when it's really needed. Simplify calculation of
the result range when reformat is called on a text fragment.
2017-03-06 17:15:58 +03:00
Mikhail Golubev 471ab5b5c3 PY-22422 Consider new code style settings in actions that might create/update "from" imports
In particular, in "Import ..." quickfix, smart completion for class
names and in a few refactorings.
2017-03-06 17:15:58 +03:00
Mikhail Golubev aaef12ce91 PY-22355 Optimize imports honors new code style settings for "from" imports
Namely, it automatically surrounds them with parentheses and inserts
a trailing comma after the last imported name if necessary, e.g. when
several "from" imports with the same source were combined into a
single long statement that needs to be wrapped.
2017-03-06 17:15:58 +03:00
Anna.Kozlova af3deb08fe overload resolution: ensure cleanup both branches of conditional (IDEA-169142) 2017-03-06 15:14:54 +01:00
peter 3fc0b28e63 don't auto-import after root change if it really can't complete without indices (EA-98316 - INRE: FileBasedIndexImpl.handleDumbMode) 2017-03-06 15:11:42 +01:00
Alexey Kudravtsev d76b26085d check for project disposal in read action to fix IDEA-165879 Unguarded section in DocumentCommitThread that leads to spontaneous assertion, i swear 2017-03-06 17:04:17 +03:00
Nadya Zabrodina 3cd86a1774 [shelf]: update icons 2017-03-06 16:59:46 +03:00
Vladimir Krivosheev 8351d42778 VirtualFilePointerListener — default impl 2017-03-06 14:56:46 +01:00
Vladimir Krivosheev 2f7fb53744 format 2017-03-06 14:56:46 +01:00
Aleksey Pivovarov 21b1c57e51 merge: simplify - move non-conflict resolution logic into one method 2017-03-06 16:51:22 +03:00
Aleksey Pivovarov 533b211368 merge: do not override user modifications when resolving non-conflicting changes 2017-03-06 16:50:40 +03:00
Aleksey Pivovarov e91402bb87 merge: cleanup tests 2017-03-06 16:50:39 +03:00
Aleksey Pivovarov 929afafc64 merge: do not re-check if conflict can be resolved every time
* store this information in MergeConflictType
2017-03-06 16:50:39 +03:00
Aleksey Pivovarov 33b8e04870 merge: extract method 2017-03-06 16:50:39 +03:00
dmitriy.tseyler 9ba9339d66 IDEA: Update download icon and add upload icon 2017-03-06 16:43:35 +03:00
Anna.Kozlova 96a92150a2 set final modifiers for parameters created in change signature (IDEA-168906) 2017-03-06 14:13:32 +01:00
Dmitry Batkovich 27214b011e read-only index storage 2017-03-06 16:07:01 +03:00
Pavel Dolgov c1bb394630 Java: Implemented completion assistance for Var/Method Handle - suggest field/method name, autocomplete the signature (IDEA-167319) 2017-03-06 15:59:04 +03:00
Vladimir.Orlov be11ff380a Merge remote-tracking branch 'origin/master' 2017-03-06 15:44:54 +03:00