Sergey Simonchik [Sat, 7 Nov 2015 09:44:00 +0000 (12:44 +0300)]
test for VfsUtil.findRelativeFile(uri, base)
Ilya.Kazakevich [Fri, 6 Nov 2015 22:42:42 +0000 (01:42 +0300)]
Merge remote-tracking branch 'origin/PY-17356' into PY-17356
# Conflicts:
# python/psi-api/src/com/jetbrains/python/nameResolver/NameResolverTools.java
# python/src/com/jetbrains/python/psi/impl/PyFunctionImpl.java
Ilya.Kazakevich [Fri, 6 Nov 2015 22:28:20 +0000 (01:28 +0300)]
Fixed according to reviews
Ilya.Kazakevich [Tue, 3 Nov 2015 23:48:29 +0000 (02:48 +0300)]
PY-17356: shortcuts added to make inspections faster
Ilya.Kazakevich [Sat, 31 Oct 2015 02:23:16 +0000 (05:23 +0300)]
PY-17356: PyTypeParser is slow, so we cache its result in PyCustomMember
Ilya.Kazakevich [Sat, 31 Oct 2015 01:29:00 +0000 (04:29 +0300)]
PY-17356: Attributes cached for function since as_manager / from_queryset is called multiple times
Vassiliy.Kudryashov [Fri, 6 Nov 2015 19:41:25 +0000 (22:41 +0300)]
IDEA-147099 ICSE at com.intellij.openapi.wm.impl.ToolWindowManagerImpl$RemoveWindowedDecoratorCmd.<init>
Bas Leijdekkers [Fri, 6 Nov 2015 19:52:01 +0000 (20:52 +0100)]
SSR: script log first pass
Bas Leijdekkers [Fri, 6 Nov 2015 16:41:11 +0000 (17:41 +0100)]
SSR: small simplification
Bas Leijdekkers [Fri, 6 Nov 2015 16:08:52 +0000 (17:08 +0100)]
SSR: cleanup MatchResultImpl & related
Bas Leijdekkers [Fri, 6 Nov 2015 14:10:48 +0000 (15:10 +0100)]
SSR: test that the type of variables in script are as expected
Bas Leijdekkers [Fri, 6 Nov 2015 14:01:04 +0000 (15:01 +0100)]
SSR: remove unused method
Dmitry Batrak [Fri, 6 Nov 2015 19:46:28 +0000 (22:46 +0300)]
don't perform coordinate conversions in EditorSizeManager when soft wrap model is in inconsistent state
fixes EA-75267 - AIOOBE: TIntArrayList.insert
Dmitry Batrak [Fri, 6 Nov 2015 14:47:06 +0000 (17:47 +0300)]
add bulk mode operations to editor stress tests
Andrey Vlasovskikh [Fri, 6 Nov 2015 19:52:11 +0000 (22:52 +0300)]
Merge remote-tracking branch 'origin/master'
Andrey Vlasovskikh [Fri, 6 Nov 2015 19:51:32 +0000 (22:51 +0300)]
Merge branch 'python-fixes'
Daniil Ovchinnikov [Fri, 6 Nov 2015 19:49:35 +0000 (22:49 +0300)]
[groovy] make GrTraitType extend PsiIntersectionType. Tests included.
- Get rid of mock trait definition and its processing.
- Now we can process it like PsiIntersection type.
- Proper trait ordering in completion and resolve restored.
Daniil Ovchinnikov [Tue, 3 Nov 2015 14:06:08 +0000 (17:06 +0300)]
[groovy] enable GrWithTraitTypeCalculator in Groovy plugin.
Daniil Ovchinnikov [Tue, 3 Nov 2015 13:53:58 +0000 (16:53 +0300)]
[groovy] properly display `as`-coercion trait types in quick info.
Andrey Vlasovskikh [Fri, 6 Nov 2015 19:46:32 +0000 (22:46 +0300)]
Removed unused parameter
Andrey Vlasovskikh [Fri, 6 Nov 2015 19:43:12 +0000 (22:43 +0300)]
Fixed the order of functions returned by getAllSuperFunctions() to match MRO (PY-16776)
Previously we didn't respect the MRO and returned functions from early
ancestors before later ancestors. Now we return them according to the
MRO and we traverse methods by the types of ancestors instead of
concrete PSI elements to invoke the extension points that change the
list of ancestors.
Anna Kozlova [Fri, 6 Nov 2015 19:31:02 +0000 (20:31 +0100)]
priority of array index expression (IDEA-147503)
Anna Kozlova [Fri, 6 Nov 2015 19:19:49 +0000 (20:19 +0100)]
dependencies view: consistent icon for directories (IDEA-147531)
Anna Kozlova [Fri, 6 Nov 2015 18:33:32 +0000 (19:33 +0100)]
revert test data
Anna Kozlova [Fri, 6 Nov 2015 18:23:33 +0000 (19:23 +0100)]
update testng dtd (IDEA-147573)
Roman Shevchenko [Fri, 6 Nov 2015 18:27:03 +0000 (19:27 +0100)]
Cleanup (warnings)
Anna Kozlova [Fri, 6 Nov 2015 17:18:57 +0000 (18:18 +0100)]
replace primitive == comparisons with .equals
Anna Kozlova [Fri, 6 Nov 2015 16:36:36 +0000 (17:36 +0100)]
primitive type comparison internal inspection
Anna Kozlova [Fri, 6 Nov 2015 15:36:27 +0000 (16:36 +0100)]
equality -> .equals cleanup
Sergey Malenkov [Fri, 6 Nov 2015 16:19:49 +0000 (19:19 +0300)]
IDEA-146427 duplicated code
Sergey Malenkov [Fri, 6 Nov 2015 16:12:10 +0000 (19:12 +0300)]
IDEA-146427 Do not create a Keymap copy if dialog is cancelled
Sergey Simonchik [Fri, 6 Nov 2015 16:40:49 +0000 (19:40 +0300)]
vfs: support uri with custom protocol, like temp://, in VfsUtilCore#findRelativeFile(uri, null)
Egor.Ushakov [Fri, 6 Nov 2015 16:19:07 +0000 (19:19 +0300)]
proper capitalization
Egor.Ushakov [Fri, 6 Nov 2015 15:57:56 +0000 (18:57 +0300)]
use LanguageUtil
peter [Fri, 6 Nov 2015 15:46:16 +0000 (16:46 +0100)]
IDEA-147534 Inspection "@NotNull/@Nullable problems" - "Require @NotNull fileds to be initialized explicitly", does not trigger when using @NonnullByDefault
peter [Fri, 6 Nov 2015 15:22:15 +0000 (16:22 +0100)]
add 'appendable' to dictionary
peter [Fri, 6 Nov 2015 15:19:37 +0000 (16:19 +0100)]
[^cdr] fix data race in DumbService.runWhenSmart
Kirill Likhodedov [Fri, 6 Nov 2015 15:29:37 +0000 (18:29 +0300)]
[git] Substitute trilead-ssh2 library with the patched one
* Adds from no to 5 times speedup on git fetch
* The patch is made by TeamCity dev Dmitry Neverov as part of TW-14598.
Anna Kozlova [Fri, 6 Nov 2015 15:13:59 +0000 (16:13 +0100)]
fix unsorted array search
Anna Kozlova [Fri, 6 Nov 2015 15:13:23 +0000 (16:13 +0100)]
change signature: fix search for tags to remove in unsorted array (IDEA-147535)
Anna Kozlova [Fri, 6 Nov 2015 14:09:47 +0000 (15:09 +0100)]
move member: restore qualifier in switch labels for non-enum constants (IDEA-147539)
Anna Kozlova [Fri, 6 Nov 2015 12:43:17 +0000 (13:43 +0100)]
testdata for IDEA-147511
Anna Kozlova [Fri, 6 Nov 2015 12:15:28 +0000 (13:15 +0100)]
tests: allow scroll to source together with track running test as scroll should be done for manual selection only
Anna Kozlova [Fri, 6 Nov 2015 12:11:11 +0000 (13:11 +0100)]
sm runner: scroll to source on manual selection only (IDEA-147403)
peter [Fri, 6 Nov 2015 11:22:21 +0000 (12:22 +0100)]
StaticInitializerReferencesSubClassInspection: don't report private subclasses that can't be initialized by another thread
peter [Fri, 6 Nov 2015 10:51:14 +0000 (11:51 +0100)]
IDEA-147454 Smart completion add parentheses to class declaration in throws statement
Dmitry Batrak [Fri, 6 Nov 2015 14:14:39 +0000 (17:14 +0300)]
use consistent (and mockable) char width in tests
Dmitry Batrak [Fri, 6 Nov 2015 08:47:37 +0000 (11:47 +0300)]
validate soft wrap positions in editor stress test
Daniil Ovchinnikov [Fri, 6 Nov 2015 13:53:11 +0000 (16:53 +0300)]
[groovy] GroovyFindUsagesProvider: unused INSTANCE field and default constructor removed
Daniil Ovchinnikov [Tue, 3 Nov 2015 13:29:46 +0000 (16:29 +0300)]
[groovy] get presentable text in GroovyExpressionTypeProvider.
It is needed to properly display `as`-coercion trait types e.g. `Foo as T1, T2` instead of `Foo`.
Roman Shevchenko [Fri, 6 Nov 2015 13:57:35 +0000 (14:57 +0100)]
[java] type annotations in method return type (IDEA-147494)
nik [Fri, 6 Nov 2015 13:56:23 +0000 (16:56 +0300)]
workaround for IDEA-147530: make sure that when a new light module is created it won't take settings from previously saved module
Denis Fokin [Fri, 6 Nov 2015 13:27:08 +0000 (17:27 +0400)]
IDEA-145612 IllegalArgumentException "invalid keyCode"
Yaroslav Lepenkin [Fri, 6 Nov 2015 13:22:39 +0000 (16:22 +0300)]
Show only last days recent tests
Yaroslav Lepenkin [Fri, 6 Nov 2015 13:19:23 +0000 (16:19 +0300)]
performance test: increased time for hot file indent detection
Mikhail Golubev [Fri, 6 Nov 2015 12:21:59 +0000 (15:21 +0300)]
Unify line separators in documentation for Python keywords
It also fixes PyQuickDocTest#testReturnKeyword test on Windows.
Mikhail Golubev [Fri, 6 Nov 2015 11:35:16 +0000 (14:35 +0300)]
PY-17470 Fix IndexError in rest_formatter.py helper
This error occurs when there is no type test after colon
in `:type` and `:rtype` declarations.
Mikhail Golubev [Fri, 6 Nov 2015 10:55:57 +0000 (13:55 +0300)]
PY-17470 PY-17529 Don't attempt to remove quotes from already unescaped docstring
Because PyStringLiteralExpressionImpl#getNodeTextRange used for that
strips at least first character unconditionally, user sees corrupted
docstring description without the first letter.
Mikhail Golubev [Fri, 6 Nov 2015 10:48:29 +0000 (13:48 +0300)]
Fix typo in log message
Sergey Malenkov [Fri, 6 Nov 2015 13:04:07 +0000 (16:04 +0300)]
IDEA-146427 Entering and searching keyboard and mouse shortcuts in Settings | Keymap
Dmitry Batkovich [Fri, 6 Nov 2015 12:59:45 +0000 (15:59 +0300)]
"initialize variable" & "initialize in constructor" suggests only public classes for collections
Michael Golubev [Fri, 6 Nov 2015 12:30:43 +0000 (13:30 +0100)]
IDEA-144272 - IAE at com.intellij.openapi.wm.impl.ToolWindowManagerImpl.a
Dmitry Batkovich [Fri, 6 Nov 2015 12:55:37 +0000 (15:55 +0300)]
"initialize variable" & "initialize in constructor" suggests default constructors (with inheritor's if collection) (IDEA-145431)
Egor.Ushakov [Fri, 6 Nov 2015 12:55:03 +0000 (15:55 +0300)]
correctly render alternative sources from jdk (show something more than just rt.jar)
Eugene Zhuravlev [Fri, 6 Nov 2015 12:35:31 +0000 (15:35 +0300)]
fallback url provided when legacy key conversion is not possible (IDEA-147130),
'JetProfile' term changed to 'JetBrains Account' in UI error messages
Vassiliy.Kudryashov [Fri, 6 Nov 2015 12:37:36 +0000 (15:37 +0300)]
project leak via toolbar->icon->DeferredIcon.evaluator->RunManager$1->project
Alexander Zolotov [Thu, 5 Nov 2015 17:31:46 +0000 (20:31 +0300)]
CSS: do not cache custom selectors
Vladislav.Soroka [Fri, 6 Nov 2015 12:26:56 +0000 (15:26 +0300)]
external system: do not cleanup orphan project libraries if import runs from Project Structure Dialog
Philipp Smorygo [Fri, 6 Nov 2015 12:23:36 +0000 (15:23 +0300)]
OC-9697 Include ObjC symbols into search everywhere
Dmitry Avdeev [Fri, 6 Nov 2015 11:49:55 +0000 (14:49 +0300)]
IDEA-143572 Android: IAE at com.android.tools.idea.gradle.parser.GradleGroovyFile.checkInitialized: fix import Gradle module from project structure
Anna Kozlova [Fri, 6 Nov 2015 10:12:55 +0000 (11:12 +0100)]
don't check public modifier for abstract classes cause inheritors would be checked for actual runnable
Anna Kozlova [Thu, 5 Nov 2015 19:26:43 +0000 (20:26 +0100)]
drill to directory content in case of flatten packages for content/source root directories (IDEA-147449)
Vladislav.Soroka [Fri, 6 Nov 2015 10:28:25 +0000 (13:28 +0300)]
maven: index update error log fix
Roman Shevchenko [Fri, 6 Nov 2015 10:25:30 +0000 (11:25 +0100)]
[platform] system health issues logged always
Dmitry Avdeev [Fri, 6 Nov 2015 09:09:07 +0000 (12:09 +0300)]
IDEA-143572 Android: IAE at com.android.tools.idea.gradle.parser.GradleGroovyFile.checkInitialized
Vladislav.Soroka [Fri, 6 Nov 2015 09:51:53 +0000 (12:51 +0300)]
maven: fix blinking test
Konstantin Ulitin [Fri, 6 Nov 2015 09:45:33 +0000 (12:45 +0300)]
use proper element type for building stubs in LightStubBuilder
Dmitry Batkovich [Fri, 6 Nov 2015 09:46:48 +0000 (12:46 +0300)]
guava inspection description is rewritten (IDEA-147473) (IDEA-147460)
Alexey Kudravtsev [Fri, 6 Nov 2015 09:11:21 +0000 (12:11 +0300)]
check for cyclic Disposable registrations for IDEA-147098
Yaroslav Lepenkin [Thu, 5 Nov 2015 19:12:52 +0000 (22:12 +0300)]
Do not run indent detector in any way in viewer mode
Dennis Ushakov [Fri, 6 Nov 2015 08:31:26 +0000 (11:31 +0300)]
fix project leak via parsable
Dmitry Batrak [Fri, 6 Nov 2015 08:27:06 +0000 (11:27 +0300)]
cleanup
Dmitry Batrak [Fri, 6 Nov 2015 08:24:36 +0000 (11:24 +0300)]
don't invoke coordinate transformation functions while soft wrap model is in inconsistent state
Dmitry Batrak [Thu, 5 Nov 2015 18:51:17 +0000 (21:51 +0300)]
make sure seed and iteration are always logged, even if thrown exception is discarded upper in the call stack
Dmitry Batrak [Thu, 5 Nov 2015 18:50:27 +0000 (21:50 +0300)]
don't use legacy code with editor.new.rendering
Dmitry Batrak [Thu, 5 Nov 2015 18:05:08 +0000 (21:05 +0300)]
extract EditorStressTest
Dmitry Batrak [Thu, 5 Nov 2015 17:26:40 +0000 (20:26 +0300)]
use Java 8 features in test
Gregory.Shrago [Fri, 6 Nov 2015 00:32:02 +0000 (03:32 +0300)]
DBE-515 Connecting dialog: provide a way to see the full database error message
Bas Leijdekkers [Thu, 5 Nov 2015 20:40:21 +0000 (21:40 +0100)]
IDEA-135101 (False positive of "Empty class")
Bas Leijdekkers [Thu, 5 Nov 2015 20:11:19 +0000 (21:11 +0100)]
make IG test light
Bas Leijdekkers [Thu, 5 Nov 2015 14:59:05 +0000 (15:59 +0100)]
SSR: test if all variables are accessible from script
Sergey Ignatov [Thu, 5 Nov 2015 19:12:38 +0000 (22:12 +0300)]
DFM progress indicator: revert 1px icons
Sergey Ignatov [Thu, 5 Nov 2015 18:48:00 +0000 (21:48 +0300)]
add many processes internal action: add a long description for some processes
Sergey Ignatov [Thu, 5 Nov 2015 18:43:26 +0000 (21:43 +0300)]
IDEA-141246 fix cancel button position for DFM progress indicator
peter [Thu, 5 Nov 2015 18:42:38 +0000 (19:42 +0100)]
add an inspection to find possible <clinit> deadlocks like in IDEA-147015
nik [Thu, 5 Nov 2015 17:58:04 +0000 (20:58 +0300)]
recognize IBM JDK 1.8 (IDEA-90661)
Anna Kozlova [Thu, 5 Nov 2015 17:21:25 +0000 (18:21 +0100)]
NPE on open .form
Roman Shevchenko [Thu, 5 Nov 2015 17:20:11 +0000 (18:20 +0100)]
Merge remote-tracking branch 'origin/master'
Roman Shevchenko [Thu, 5 Nov 2015 17:19:13 +0000 (18:19 +0100)]
[platform] allow only one background decompilation, to avoid SOE
Yaroslav Lepenkin [Thu, 5 Nov 2015 17:06:32 +0000 (20:06 +0300)]
Indent detector performance test: test separately hot and cold files