idea/community.git
5 years agotest for VfsUtil.findRelativeFile(uri, base) appcode/144.918 clion/144.917
Sergey Simonchik [Sat, 7 Nov 2015 09:44:00 +0000 (12:44 +0300)]
test for VfsUtil.findRelativeFile(uri, base)

5 years agoMerge remote-tracking branch 'origin/PY-17356' into PY-17356 appcode/144.912 clion/144.906 dbe/144.904
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

5 years agoFixed according to reviews
Ilya.Kazakevich [Fri, 6 Nov 2015 22:28:20 +0000 (01:28 +0300)]
Fixed according to reviews

5 years agoPY-17356: shortcuts added to make inspections faster
Ilya.Kazakevich [Tue, 3 Nov 2015 23:48:29 +0000 (02:48 +0300)]
PY-17356: shortcuts added to make inspections faster

5 years agoPY-17356: PyTypeParser is slow, so we cache its result in PyCustomMember
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

5 years agoPY-17356: Attributes cached for function since as_manager / from_queryset is called...
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

5 years agoIDEA-147099 ICSE at com.intellij.openapi.wm.impl.ToolWindowManagerImpl$RemoveWindowed... dbe/144.902
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>

5 years agoSSR: script log first pass
Bas Leijdekkers [Fri, 6 Nov 2015 19:52:01 +0000 (20:52 +0100)]
SSR: script log first pass

5 years agoSSR: small simplification
Bas Leijdekkers [Fri, 6 Nov 2015 16:41:11 +0000 (17:41 +0100)]
SSR: small simplification

5 years agoSSR: cleanup MatchResultImpl & related
Bas Leijdekkers [Fri, 6 Nov 2015 16:08:52 +0000 (17:08 +0100)]
SSR: cleanup MatchResultImpl & related

5 years agoSSR: test that the type of variables in script are as expected
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

5 years agoSSR: remove unused method
Bas Leijdekkers [Fri, 6 Nov 2015 14:01:04 +0000 (15:01 +0100)]
SSR: remove unused method

5 years agodon't perform coordinate conversions in EditorSizeManager when soft wrap model is...
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

5 years agoadd bulk mode operations to editor stress tests
Dmitry Batrak [Fri, 6 Nov 2015 14:47:06 +0000 (17:47 +0300)]
add bulk mode operations to editor stress tests

5 years agoMerge remote-tracking branch 'origin/master'
Andrey Vlasovskikh [Fri, 6 Nov 2015 19:52:11 +0000 (22:52 +0300)]
Merge remote-tracking branch 'origin/master'

5 years agoMerge branch 'python-fixes'
Andrey Vlasovskikh [Fri, 6 Nov 2015 19:51:32 +0000 (22:51 +0300)]
Merge branch 'python-fixes'

5 years ago[groovy] make GrTraitType extend PsiIntersectionType. Tests included.
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.

5 years ago[groovy] enable GrWithTraitTypeCalculator in Groovy plugin.
Daniil Ovchinnikov [Tue, 3 Nov 2015 14:06:08 +0000 (17:06 +0300)]
[groovy] enable GrWithTraitTypeCalculator in Groovy plugin.

5 years ago[groovy] properly display `as`-coercion trait types in quick info.
Daniil Ovchinnikov [Tue, 3 Nov 2015 13:53:58 +0000 (16:53 +0300)]
[groovy] properly display `as`-coercion trait types in quick info.

5 years agoRemoved unused parameter
Andrey Vlasovskikh [Fri, 6 Nov 2015 19:46:32 +0000 (22:46 +0300)]
Removed unused parameter

5 years agoFixed the order of functions returned by getAllSuperFunctions() to match MRO (PY...
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.

5 years agopriority of array index expression (IDEA-147503)
Anna Kozlova [Fri, 6 Nov 2015 19:31:02 +0000 (20:31 +0100)]
priority of array index expression (IDEA-147503)

5 years agodependencies view: consistent icon for directories (IDEA-147531)
Anna Kozlova [Fri, 6 Nov 2015 19:19:49 +0000 (20:19 +0100)]
dependencies view: consistent icon for directories (IDEA-147531)

5 years agorevert test data
Anna Kozlova [Fri, 6 Nov 2015 18:33:32 +0000 (19:33 +0100)]
revert test data

5 years agoupdate testng dtd (IDEA-147573)
Anna Kozlova [Fri, 6 Nov 2015 18:23:33 +0000 (19:23 +0100)]
update testng dtd (IDEA-147573)

5 years agoCleanup (warnings)
Roman Shevchenko [Fri, 6 Nov 2015 18:27:03 +0000 (19:27 +0100)]
Cleanup (warnings)

5 years agoreplace primitive == comparisons with .equals
Anna Kozlova [Fri, 6 Nov 2015 17:18:57 +0000 (18:18 +0100)]
replace primitive == comparisons with .equals

5 years agoprimitive type comparison internal inspection
Anna Kozlova [Fri, 6 Nov 2015 16:36:36 +0000 (17:36 +0100)]
primitive type comparison internal inspection

5 years agoequality -> .equals cleanup
Anna Kozlova [Fri, 6 Nov 2015 15:36:27 +0000 (16:36 +0100)]
equality -> .equals cleanup

5 years agoIDEA-146427 duplicated code
Sergey Malenkov [Fri, 6 Nov 2015 16:19:49 +0000 (19:19 +0300)]
IDEA-146427 duplicated code

5 years agoIDEA-146427 Do not create a Keymap copy if dialog is cancelled
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

5 years agovfs: support uri with custom protocol, like temp://, in VfsUtilCore#findRelativeFile...
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)

5 years agoproper capitalization
Egor.Ushakov [Fri, 6 Nov 2015 16:19:07 +0000 (19:19 +0300)]
proper capitalization

5 years agouse LanguageUtil
Egor.Ushakov [Fri, 6 Nov 2015 15:57:56 +0000 (18:57 +0300)]
use LanguageUtil

5 years agoIDEA-147534 Inspection "@NotNull/@Nullable problems" - "Require @NotNull fileds to...
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

5 years agoadd 'appendable' to dictionary
peter [Fri, 6 Nov 2015 15:22:15 +0000 (16:22 +0100)]
add 'appendable' to dictionary

5 years ago[^cdr] fix data race in DumbService.runWhenSmart
peter [Fri, 6 Nov 2015 15:19:37 +0000 (16:19 +0100)]
[^cdr] fix data race in DumbService.runWhenSmart

5 years ago[git] Substitute trilead-ssh2 library with the patched one
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.

5 years agofix unsorted array search
Anna Kozlova [Fri, 6 Nov 2015 15:13:59 +0000 (16:13 +0100)]
fix unsorted array search

5 years agochange signature: fix search for tags to remove in unsorted array (IDEA-147535)
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)

5 years agomove member: restore qualifier in switch labels for non-enum constants (IDEA-147539)
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)

5 years agotestdata for IDEA-147511
Anna Kozlova [Fri, 6 Nov 2015 12:43:17 +0000 (13:43 +0100)]
testdata for IDEA-147511

5 years agotests: allow scroll to source together with track running test as scroll should be...
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

5 years agosm runner: scroll to source on manual selection only (IDEA-147403)
Anna Kozlova [Fri, 6 Nov 2015 12:11:11 +0000 (13:11 +0100)]
sm runner: scroll to source on manual selection only (IDEA-147403)

5 years agoStaticInitializerReferencesSubClassInspection: don't report private subclasses that...
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

5 years agoIDEA-147454 Smart completion add parentheses to class declaration in throws statement
peter [Fri, 6 Nov 2015 10:51:14 +0000 (11:51 +0100)]
IDEA-147454 Smart completion add parentheses to class declaration in throws statement

5 years agouse consistent (and mockable) char width in tests appcode/144.901 clion/144.900
Dmitry Batrak [Fri, 6 Nov 2015 14:14:39 +0000 (17:14 +0300)]
use consistent (and mockable) char width in tests

5 years agovalidate soft wrap positions in editor stress test
Dmitry Batrak [Fri, 6 Nov 2015 08:47:37 +0000 (11:47 +0300)]
validate soft wrap positions in editor stress test

5 years ago[groovy] GroovyFindUsagesProvider: unused INSTANCE field and default constructor...
Daniil Ovchinnikov [Fri, 6 Nov 2015 13:53:11 +0000 (16:53 +0300)]
[groovy] GroovyFindUsagesProvider: unused INSTANCE field and default constructor removed

5 years ago[groovy] get presentable text in GroovyExpressionTypeProvider.
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`.

5 years ago[java] type annotations in method return type (IDEA-147494)
Roman Shevchenko [Fri, 6 Nov 2015 13:57:35 +0000 (14:57 +0100)]
[java] type annotations in method return type (IDEA-147494)

5 years agoworkaround for IDEA-147530: make sure that when a new light module is created it...
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

5 years agoIDEA-145612 IllegalArgumentException "invalid keyCode"
Denis Fokin [Fri, 6 Nov 2015 13:27:08 +0000 (17:27 +0400)]
IDEA-145612 IllegalArgumentException "invalid keyCode"

5 years agoShow only last days recent tests
Yaroslav Lepenkin [Fri, 6 Nov 2015 13:22:39 +0000 (16:22 +0300)]
Show only last days recent tests

5 years agoperformance test: increased time for hot file indent detection
Yaroslav Lepenkin [Fri, 6 Nov 2015 13:19:23 +0000 (16:19 +0300)]
performance test: increased time for hot file indent detection

5 years agoUnify line separators in documentation for Python keywords
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.

5 years agoPY-17470 Fix IndexError in rest_formatter.py helper
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.

5 years agoPY-17470 PY-17529 Don't attempt to remove quotes from already unescaped docstring
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.

5 years agoFix typo in log message
Mikhail Golubev [Fri, 6 Nov 2015 10:48:29 +0000 (13:48 +0300)]
Fix typo in log message

5 years agoIDEA-146427 Entering and searching keyboard and mouse shortcuts in Settings | Keymap
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

5 years ago"initialize variable" & "initialize in constructor" suggests only public classes...
Dmitry Batkovich [Fri, 6 Nov 2015 12:59:45 +0000 (15:59 +0300)]
"initialize variable" & "initialize in constructor" suggests only public classes for collections

5 years agoIDEA-144272 - IAE at com.intellij.openapi.wm.impl.ToolWindowManagerImpl.a
Michael Golubev [Fri, 6 Nov 2015 12:30:43 +0000 (13:30 +0100)]
IDEA-144272 - IAE at com.intellij.openapi.wm.impl.ToolWindowManagerImpl.a

5 years ago"initialize variable" & "initialize in constructor" suggests default constructors...
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)

5 years agocorrectly render alternative sources from jdk (show something more than just rt.jar)
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)

5 years agofallback url provided when legacy key conversion is not possible (IDEA-147130),
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

5 years agoproject leak via toolbar->icon->DeferredIcon.evaluator->RunManager$1->project
Vassiliy.Kudryashov [Fri, 6 Nov 2015 12:37:36 +0000 (15:37 +0300)]
project leak via toolbar->icon->DeferredIcon.evaluator->RunManager$1->project

5 years agoCSS: do not cache custom selectors
Alexander Zolotov [Thu, 5 Nov 2015 17:31:46 +0000 (20:31 +0300)]
CSS: do not cache custom selectors

5 years agoexternal system: do not cleanup orphan project libraries if import runs from Project...
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

5 years agoOC-9697 Include ObjC symbols into search everywhere
Philipp Smorygo [Fri, 6 Nov 2015 12:23:36 +0000 (15:23 +0300)]
OC-9697 Include ObjC symbols into search everywhere

5 years agoIDEA-143572 Android: IAE at com.android.tools.idea.gradle.parser.GradleGroovyFile... appcode/144.899
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

5 years agodon't check public modifier for abstract classes cause inheritors would be checked...
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

5 years agodrill to directory content in case of flatten packages for content/source root direct...
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)

5 years agomaven: index update error log fix
Vladislav.Soroka [Fri, 6 Nov 2015 10:28:25 +0000 (13:28 +0300)]
maven: index update error log fix

5 years ago[platform] system health issues logged always
Roman Shevchenko [Fri, 6 Nov 2015 10:25:30 +0000 (11:25 +0100)]
[platform] system  health issues logged always

5 years agoIDEA-143572 Android: IAE at com.android.tools.idea.gradle.parser.GradleGroovyFile...
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

5 years agomaven: fix blinking test
Vladislav.Soroka [Fri, 6 Nov 2015 09:51:53 +0000 (12:51 +0300)]
maven: fix blinking test

5 years agouse proper element type for building stubs in LightStubBuilder
Konstantin Ulitin [Fri, 6 Nov 2015 09:45:33 +0000 (12:45 +0300)]
use proper element type for building stubs in LightStubBuilder

5 years agoguava inspection description is rewritten (IDEA-147473) (IDEA-147460)
Dmitry Batkovich [Fri, 6 Nov 2015 09:46:48 +0000 (12:46 +0300)]
guava inspection description is rewritten (IDEA-147473) (IDEA-147460)

5 years agocheck for cyclic Disposable registrations for IDEA-147098
Alexey Kudravtsev [Fri, 6 Nov 2015 09:11:21 +0000 (12:11 +0300)]
check for cyclic Disposable registrations for IDEA-147098

5 years agoDo not run indent detector in any way in viewer mode
Yaroslav Lepenkin [Thu, 5 Nov 2015 19:12:52 +0000 (22:12 +0300)]
Do not run indent detector in any way in viewer mode

5 years agofix project leak via parsable appcode/144.896 clion/144.895
Dennis Ushakov [Fri, 6 Nov 2015 08:31:26 +0000 (11:31 +0300)]
fix project leak via parsable

5 years agocleanup
Dmitry Batrak [Fri, 6 Nov 2015 08:27:06 +0000 (11:27 +0300)]
cleanup

5 years agodon't invoke coordinate transformation functions while soft wrap model is in inconsis...
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

5 years agomake sure seed and iteration are always logged, even if thrown exception is discarded...
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

5 years agodon't use legacy code with editor.new.rendering
Dmitry Batrak [Thu, 5 Nov 2015 18:50:27 +0000 (21:50 +0300)]
don't use legacy code with editor.new.rendering

5 years agoextract EditorStressTest
Dmitry Batrak [Thu, 5 Nov 2015 18:05:08 +0000 (21:05 +0300)]
extract EditorStressTest

5 years agouse Java 8 features in test
Dmitry Batrak [Thu, 5 Nov 2015 17:26:40 +0000 (20:26 +0300)]
use Java 8 features in test

5 years agoDBE-515 Connecting dialog: provide a way to see the full database error message appcode/144.893 clion/144.890 dbe/144.881 idea/144.882 phpstorm/144.891 pycharm/144.886 rubymine/144.887 webstorm/144.884
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

5 years agoIDEA-135101 (False positive of "Empty class")
Bas Leijdekkers [Thu, 5 Nov 2015 20:40:21 +0000 (21:40 +0100)]
IDEA-135101 (False positive of "Empty class")

5 years agomake IG test light
Bas Leijdekkers [Thu, 5 Nov 2015 20:11:19 +0000 (21:11 +0100)]
make IG test light

5 years agoSSR: test if all variables are accessible from script
Bas Leijdekkers [Thu, 5 Nov 2015 14:59:05 +0000 (15:59 +0100)]
SSR: test if all variables are accessible from script

5 years agoDFM progress indicator: revert 1px icons
Sergey Ignatov [Thu, 5 Nov 2015 19:12:38 +0000 (22:12 +0300)]
DFM progress indicator: revert 1px icons

5 years agoadd many processes internal action: add a long description for some processes
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

5 years agoIDEA-141246 fix cancel button position for DFM progress indicator
Sergey Ignatov [Thu, 5 Nov 2015 18:43:26 +0000 (21:43 +0300)]
IDEA-141246 fix cancel button position for DFM progress indicator

5 years agoadd an inspection to find possible <clinit> deadlocks like in IDEA-147015
peter [Thu, 5 Nov 2015 18:42:38 +0000 (19:42 +0100)]
add an inspection to find possible <clinit> deadlocks like in IDEA-147015

5 years agorecognize IBM JDK 1.8 (IDEA-90661)
nik [Thu, 5 Nov 2015 17:58:04 +0000 (20:58 +0300)]
recognize IBM JDK 1.8 (IDEA-90661)

5 years agoNPE on open .form
Anna Kozlova [Thu, 5 Nov 2015 17:21:25 +0000 (18:21 +0100)]
NPE on open .form

5 years agoMerge remote-tracking branch 'origin/master'
Roman Shevchenko [Thu, 5 Nov 2015 17:20:11 +0000 (18:20 +0100)]
Merge remote-tracking branch 'origin/master'

5 years ago[platform] allow only one background decompilation, to avoid SOE
Roman Shevchenko [Thu, 5 Nov 2015 17:19:13 +0000 (18:19 +0100)]
[platform] allow only one background decompilation, to avoid SOE

5 years agoIndent detector performance test: test separately hot and cold files
Yaroslav Lepenkin [Thu, 5 Nov 2015 17:06:32 +0000 (20:06 +0300)]
Indent detector performance test: test separately hot and cold files