Commit Graph

193160 Commits

Author SHA1 Message Date
Anna.Kozlova
a3dca1423c method references: exclude type parameter used in return types only (IDEA-171480) 2017-04-18 15:03:44 +02:00
Anna.Kozlova
9f6e8ccb35 delegate methods: restore ellipsis type (IDEA-171529) 2017-04-18 15:03:44 +02:00
Semyon Proshev
7a23d509b8 PY-22919 Fixed: max() function transmits argument type to return type
PY-23634 Fixed: min() from comprehension with unknown items type return list

Primarily these issues were fixed by PY-22808-related commits.
In these change inferred call type is more precise. PyiTypeProvider doesn't take into account overloads that have unmapped args or params.
2017-04-18 15:45:44 +03:00
Pavel Dolgov
844082c455 Java: Inspection to check that qualified names in Class.forName() belongs to exported or open package (IDEA-167271) 2017-04-18 15:43:26 +03:00
Stanislav Dombrovsky
961d4e1cb3 Merge remote-tracking branch 'origin/master' 2017-04-18 15:28:33 +03:00
Stanislav Dombrovsky
a88ebbcf80 Merge remote-tracking branch 'origin/master' 2017-04-18 15:26:45 +03:00
Bas Leijdekkers
ea8e79d08d IG: don't check super methods when method is static (thanks to Daniil Ovchinnikov) 2017-04-18 14:23:55 +02:00
Stanislav Dombrovsky
1ca317e71f Merge branch 'sdombrovsky/virtual_lines' 2017-04-18 15:16:49 +03:00
nik
c99fe5e8d2 Project Structure dialog: open 'Project' item if missing SDK or output path in a module are inherited from project (IDEA-171551) 2017-04-18 15:14:18 +03:00
nik
30c3fc0932 cosmetics: corrected compiler messages to properly refer to the Project Structure dialog (IDEA-171551) 2017-04-18 15:14:17 +03:00
Dmitry Jemerov
96a2eac2eb Allow calling valueOf() on nullable UAST expressions 2017-04-18 14:01:55 +02:00
Anton Makeev
03895edada potential undo freezes: compact map to avoid iteration over empty buckets 2017-04-18 13:57:57 +02:00
Alexey Kudravtsev
d3136e15ef cleanup 2017-04-18 14:51:08 +03:00
Alexey Kudravtsev
00d4e8a8ed extracted method "runUnderThreadName" 2017-04-18 14:51:08 +03:00
Alexey Kudravtsev
b047a2f353 calculate warnings icons in background to fix IDEA-171254 IDEA freezes when I click on encoding panel for big file 2017-04-18 14:51:08 +03:00
Alexey Kudravtsev
341b2116cf notnull 2017-04-18 14:51:08 +03:00
Alexey Kudravtsev
5d30295c99 moved some JDK annotations from strange hidden place to the standard jdkAnnotations,
fixed crazy discrepancies in method external signatures
2017-04-18 14:51:07 +03:00
Alexey Kudravtsev
52c85de1a2 correct generic signature 2017-04-18 14:51:07 +03:00
Alexey Kudravtsev
491e476a07 NPE under jdk9 2017-04-18 14:51:07 +03:00
Alexey Kudravtsev
a468b776b3 comments 2017-04-18 14:51:07 +03:00
nik
2bf7394f81 Kotlin plugin updated to 1.1.2-eap-73
This is needed to fix OutOfMemoryError during 'Analyze Code' (KT-17388).
2017-04-18 14:29:38 +03:00
Alexander Zolotov
cb5fe73485 Build scripts: move copying dependencies file to buildDistributions task
(IDEA-CR-20366)
2017-04-18 14:20:23 +03:00
Tagir Valeev
1c312d3e13 IDEA-170626 Suggest to use Stream.peek instead of Stream.map if the lambda parameter is not reassigned during the operation. 2017-04-18 17:57:29 +07:00
Roman Shevchenko
208f1a3191 Cleanup (duplication) 2017-04-18 12:47:47 +02:00
nik
8a40015a76 platform: always load functional interfaces from Kotlin stdlib by platform classloader
This is needed to allow using methods with Kotlin functional parameters in API (IDEA-171552).
2017-04-18 13:19:18 +03:00
Roman Shevchenko
50a33c1d49 Cleanup (explicit getUrl() call) 2017-04-18 12:06:47 +02:00
Roman Shevchenko
e9c5f1e217 Cleanup (more concise fix for IDEA-CR-20178) 2017-04-18 11:58:24 +02:00
Egor.Ushakov
1dc9bde6d9 fixes after IDEA-CR-20368 2017-04-18 12:55:34 +03:00
Egor.Ushakov
ad04bf4bb1 avoid leaking DebugProcess on debug session end (with the tab still opened) 2017-04-18 12:55:34 +03:00
Egor.Ushakov
5a7b30559b cleanup 2017-04-18 12:55:34 +03:00
Vladislav.Soroka
625a8fce82 Maven: test cleanup 2017-04-18 12:54:05 +03:00
Aleksey Pivovarov
57aa371a39 ui: fix typo - do not compare Integer and Rectangle
follow-up: 2496c58ec9
2017-04-18 12:52:33 +03:00
Roman Shevchenko
076b4f5472 Cleanup (warnings) 2017-04-18 11:50:34 +02:00
Anna.Kozlova
f4c674e0a7 disable automatic test renamer for type parameters; limit processed classes by pattern (IDEA-171477) 2017-04-18 11:48:52 +02:00
Anna.Kozlova
674c21b367 enable rainbow highlighting in lambdas and class initializers (IDEA-171491) 2017-04-18 11:48:52 +02:00
Roman Shevchenko
311fc75ff8 [java] PsiClassRefType returns annotations embedded in a ref (IDEA-140234, IDEA-166062) 2017-04-18 11:41:15 +02:00
Vladislav.Soroka
184b08380c Maven: resolve maven project on the project open in headless mode (IDEA-171170) 2017-04-18 12:21:57 +03:00
Bas Leijdekkers
9aa7aeb602 SSR: fix JS tests 2017-04-18 10:20:55 +02:00
Dmitry Batrak
84eacf02c1 IDEA-170583 "Reformat Code" leads to weird scrolling in the editor window
ensuring all possible cases are covered
2017-04-18 11:14:46 +03:00
pasynkov
fcdf19f49a open class RunManagerImpl for Upsource 2017-04-18 10:12:53 +02:00
Konstantin Bulenkov
8bca527090 update splashes for 2017.2 EAP 2017-04-18 10:04:10 +02:00
Alexey Utkin
6e1d139655 CPP-9359 The "dispose" call of "PotemlinProgress" is too expensive even in hidden sate 2017-04-18 10:53:58 +03:00
Maxim.Mossienko
d052273a0a reserve 5% of max heap to handle low memory case to avoid nested problems (IDEA-170791) 2017-04-18 08:44:21 +02:00
Julia Beliaeva
36050ea992 [file-history] do not calculate names data twice, pass it with filter results 2017-04-18 01:57:53 +03:00
Maxim Kropotov
6ef4d5270c myHorizontal is never false, but keep contract anyway. 2017-04-18 00:03:37 +03:00
Ilya.Kazakevich
9d0d776478 Revert of "IDEA-CR-17950: True and False are now always PyBooleanLiteralExpressions" because of "Restored None, False, True as non-keywords (reserved words) in PY2" 2017-04-17 22:25:48 +03:00
Maxim Kropotov
a63650f4d8 rearrange code ui: don't let vertical scrollbar overlap edit button 2017-04-17 22:15:12 +03:00
Maxim Kropotov
f798ca01c0 rearrange code ui: removing arrangement rule animation is too slow on HiDPI display 2017-04-17 22:15:12 +03:00
Maxim Kropotov
77972ddb11 rearrange code ui: animation panel is 2x higher than row on macOS HiDPI. Since image size is taken from component (scaled already), doesn't seem to be necessary to create a scaled image 2017-04-17 22:15:12 +03:00
Maxim Kropotov
b141feea45 rearrange code ui: match rows are too high on Windows with HiDPI. icon.getIconWidth() and getIconHeight() return scaled dimensions, so passing them as minimum button dimensions is wrong (ActionButton scales internally) 2017-04-17 22:15:11 +03:00