Anna.Kozlova
4e8a0d2dd8
don't loose type parameter bounds during super substitution (IDEA-175471)
2017-07-07 12:54:58 +02:00
Liana.Bakradze
13a25ce448
fix possible NPE
2017-07-07 13:52:24 +03:00
Ekaterina Tuzova
4bd10ec10d
create task/test files in inner directories
...
(cherry picked from commit 3349991)
2017-07-07 13:50:34 +03:00
Daniil Ovchinnikov
eb24a4ab93
[groovy] don't allow to convert empty to slashy string (IDEA-175419)
2017-07-07 13:48:09 +03:00
Daniil Ovchinnikov
24e6769632
[groovy] don't allow to convert constructor to closure (IDEA-175428)
2017-07-07 13:42:29 +03:00
Daniil Ovchinnikov
a1fefa9eb0
[groovy] cleanup
...
- specify default resource bundle for the plugin;
- clean assignment inspections:
- - add group sting to bundle;
- - use group key in plugin.xml;
- - get rid of getGroupDisplayName() and getDisplayName() in classes.
2017-07-07 13:42:29 +03:00
Sergey Karashevich
623b57a2fa
[gui-test] project view select & expand fix
...
Due to last changes in project view tree and project view structure we need to change ProjectViewFixture and reduce usage of deprecated methods, convert NodeFixture actions to AbstractTreeBuilder model actions basis. Also added a pause to getLocation() method to wait when appropriate treeNode appears.
2017-07-07 13:03:32 +03:00
Sergey Karashevich
ee1aed6223
[gui-test] find by label multiple result fix
...
If we are looking for textfield or combobox by label or radiobutton, we may met more than one label with the same text. Let's take only showing on screen labels (components).
And just a small fix for IdeaGuiTestUtil -> don't use old junit
2017-07-07 13:03:31 +03:00
Daniil Ovchinnikov
bb3faae641
[groovy] treat no-arg calls of method with a single parameter as valid
2017-07-07 12:55:22 +03:00
Daniil Ovchinnikov
6951947fbb
[groovy] don't treat [] as constructor invocation if assigned to j.l.Class
2017-07-07 12:55:21 +03:00
Daniil Ovchinnikov
9cbc654745
[groovy] make closure always assignable to SAM type
...
Make closure always assignable to SAM type independently of closure
parameter types. This fixes (IDEA-175184)
2017-07-07 12:55:21 +03:00
Daniil Ovchinnikov
22f9148015
[groovy] mark GrClosableBlock.getLBrace() as @NotNull
2017-07-07 12:55:21 +03:00
Egor.Ushakov
6c438ddc44
IDEA-175489 On-demand children expressions in user-renderers
2017-07-07 12:48:18 +03:00
Konstantin Ulitin
e5b56114c1
fix Vm leaking (IDEA-CR-22744)
2017-07-07 12:36:52 +03:00
Vladislav.Soroka
ec3eb612db
Gradle: preserve line separator between group/version properties and other part in the project template
2017-07-07 12:25:14 +03:00
Dmitry Batkovich
1e20662cf0
change implicit IndexId.toString() call to explicit IndexId.getName()
2017-07-07 12:21:08 +03:00
Dmitry Batrak
9ddc1fda18
EA-89894 - Throwable: ExceptionUtil.currentStackTrace
...
Fixes situation when soft wraps are recalculated while document
listeners are notified, but after listeners in soft wrap model and
editor size manager have been processed (exception stack trace
shows it happened due to available width changed for editor, but
it's hard to say what the exact root cause is)
2017-07-07 11:22:17 +03:00
peter
f3e5fe2095
let psi file become invalid when its original file is invalid
...
because otherwise clients call getOriginalFile and end up with invalid PSI
2017-07-07 08:00:22 +02:00
peter
beade7a802
IDEA-175229 PSI changes should be reflected in the corresponding document even if PSI is non-physical
2017-07-07 08:00:21 +02:00
peter
f3d06a9593
some groovy/java intentions: don't display dialogs under write action
2017-07-07 08:00:20 +02:00
Bas Leijdekkers
42d4482d88
SSR: make guard thread safe
2017-07-06 20:12:37 +02:00
Bas Leijdekkers
bcfcbdc3d9
IDEA-175508 ("Extract parameter as local variable" does nothing when there's javadoc)
2017-07-06 20:12:37 +02:00
Bas Leijdekkers
b41d83df64
SSR: better name
2017-07-06 20:12:37 +02:00
Vitaliy.Bibaev
f3c7ac021f
IDEA-174510 Update format of log message when source location not exists
2017-07-06 20:15:30 +03:00
Vitaliy.Bibaev
d4d1584663
IDEA-78730 Remove redundant check
2017-07-06 19:59:09 +03:00
Anna.Kozlova
8d54463225
remove inspection to convert testng annotations -> javadoc
...
testng doesn't support javadoc for years now and IDEA also doesn't distinguish testng javadocs anymore
2017-07-06 18:56:04 +02:00
Anna.Kozlova
aaaa49a65f
ensure non-abstract producer don't expose ConfigurationType in constructor
...
plugin compatibility: Application component which is at the same time ConfigurationType would produce errors
2017-07-06 18:56:04 +02:00
Semyon Proshev
72c8368ecb
Revert latest changes in PyDocStringTypeProvider and update its getGenericType method.
...
Consider class that is described in skeletons using legacy type hints syntax.
When somebody calls `getGenericType` on PyDocStringTypeProvider with this class as a first argument,
previous version of provider will take `__init__` from sources and returns NoneType.
But it should ask for return type of this `__init__` so PyUserSkeletonsTypeProvider will be called.
When PyUserSkeletonsTypeProvider will be called, it will load skeleton and then ask for skeleton return type.
After that `getReturnType` on PyDocStringTypeProvider will be called.
So it's important to not ignore `__init__` in PyDocStringTypeProvider and return specified value as is.
It's also important to filter return type in `getGenericType` method and return only appropriate one.
DjangoFormsTest.testFormFields and DjangoColumnsTest.testFields fixed.
2017-07-06 18:56:13 +03:00
Vitaliy.Bibaev
c93f66d63d
IDEA-78730 Make the new API as not public
2017-07-06 18:36:41 +03:00
nik
9039bd0e59
build scripts refactoring: move some method from JpsGantProjectBuilder to CompilationContext
...
This is needed to deprecated JpsGantProjectBuilder and move compilation logic into the build scripts.
2017-07-06 18:25:21 +03:00
nik
02a349133b
cleanup: remove unused code from JpsGantProjectBuilder
2017-07-06 18:25:21 +03:00
Pavel Dolgov
f034dc64c6
Java: Check all not overwritten reads when inferring nullability annotations for extracted method's parameters (IDEA-150243)
2017-07-06 18:22:40 +03:00
Vladimir Krivosheev
8a33c32ed9
native.net.io to enable native kqueue for macOS 10.12+
2017-07-06 17:06:47 +02:00
Elizaveta Shashkova
beac0eb8b4
Interpreter options do not work for python console (PY-14828)
2017-07-06 17:48:35 +03:00
Vladimir Krivosheev
a20a20c077
cleanup
2017-07-06 16:45:42 +02:00
Vladimir Krivosheev
cb66cf35b8
native.net.io to enable native kqueue for macOS 10.12+
2017-07-06 16:42:38 +02:00
Vladimir Krivosheev
515654e114
netty 4.1.13
2017-07-06 16:33:52 +02:00
Anna.Kozlova
70a39939ab
disable expand annotation to value= form when no value is provided (IDEA-175451)
2017-07-06 16:27:05 +02:00
Anna.Kozlova
a97b39f3b0
inline constant: allow inline all for library constants
2017-07-06 16:27:05 +02:00
Alexey Kudravtsev
d0c4e31fc0
test for IDEA-CR-22512
2017-07-06 17:09:12 +03:00
Alexey Kudravtsev
7cb0c23686
generics issue fixed (compilation failed under jdk9)
2017-07-06 17:09:12 +03:00
Alexey Kudravtsev
97ffae72af
diagnostics
2017-07-06 17:09:11 +03:00
Konstantin Ulitin
ff3c6d28d7
JS debugger: add breakpoint listener for each VM
2017-07-06 16:56:22 +03:00
Vladimir Krivosheev
a734f61645
IDEA-175320 clear iml on enable "Store generated project files"
2017-07-06 15:10:40 +02:00
Eugene Zhuravlev
14697d4882
reference expression parsing fixes;
...
ImportList supported in JShell files;
2017-07-06 15:04:00 +02:00
Pavel Dolgov
0f7021bfe0
Java: Restored folding of nested function calls when extracting method (IDEA-175221, IDEA-167255)
2017-07-06 15:53:51 +03:00
Alexander Lobas
d557cef488
Add logging
2017-07-06 15:51:28 +03:00
Alexander Lobas
16f6f35c56
Add logging
2017-07-06 15:49:20 +03:00
Egor.Ushakov
a982a175dc
show "collecting..." message while adding default items
2017-07-06 15:32:06 +03:00
Egor.Ushakov
84304389b6
cleanup: use Boolean.parseBoolean
2017-07-06 15:19:51 +03:00