Vladimir Krivosheev [Fri, 24 Jun 2016 09:31:06 +0000 (11:31 +0200)]
Merge remote-tracking branch 'origin/master' into develar/is
Anna Kozlova [Fri, 24 Jun 2016 08:43:00 +0000 (11:43 +0300)]
delegate params: compound 2 intentions in one, set preselection (IDEA-112043)
Anna Kozlova [Fri, 24 Jun 2016 07:54:55 +0000 (10:54 +0300)]
delegate params: hide copy javadoc option to prevent confusion (IDEA-148667)
Ekaterina Tuzova [Fri, 24 Jun 2016 08:53:34 +0000 (11:53 +0300)]
moved course progress to the description toolwindow
Ekaterina Tuzova [Thu, 23 Jun 2016 14:34:03 +0000 (17:34 +0300)]
copy initial state for answer placeholders
Ekaterina Tuzova [Mon, 20 Jun 2016 17:19:52 +0000 (20:19 +0300)]
NPE
Ekaterina Tuzova [Mon, 20 Jun 2016 17:06:21 +0000 (20:06 +0300)]
extracted field
Ekaterina Tuzova [Mon, 20 Jun 2016 16:58:49 +0000 (19:58 +0300)]
do not try to post attempt to stepic if case user not logged in
Ekaterina Tuzova [Mon, 20 Jun 2016 16:54:50 +0000 (19:54 +0300)]
fixed Python Introduction course generation
Ekaterina Tuzova [Mon, 20 Jun 2016 16:51:30 +0000 (19:51 +0300)]
cleanup
Ekaterina Tuzova [Mon, 20 Jun 2016 16:42:20 +0000 (19:42 +0300)]
cleanup, removed not needed parameters
Ekaterina Tuzova [Mon, 20 Jun 2016 16:38:35 +0000 (19:38 +0300)]
cleanup, removed unneeded parameters
Gregory.Shrago [Fri, 24 Jun 2016 06:50:21 +0000 (09:50 +0300)]
EA-73474 - assert: DummyCachingFileSystem.onProjectOpened
Gregory.Shrago [Fri, 24 Jun 2016 01:34:52 +0000 (04:34 +0300)]
EA-84787 - IAE: PackageSetBase.contains
Konstantin Bulenkov [Thu, 23 Jun 2016 19:59:36 +0000 (21:59 +0200)]
Merge remote-tracking branch 'origin/master'
Konstantin Bulenkov [Thu, 23 Jun 2016 19:56:40 +0000 (21:56 +0200)]
fix frame decoration size and painting
Julia Beliaeva [Thu, 23 Jun 2016 17:08:58 +0000 (20:08 +0300)]
[vcs-log] enhance roots statistic
Anna Kozlova [Thu, 23 Jun 2016 18:25:02 +0000 (21:25 +0300)]
offline inspections: store in descriptions which tools were enabled
Anna Kozlova [Thu, 23 Jun 2016 15:03:17 +0000 (18:03 +0300)]
set error hint title (IDEA-157821)
Maxim.Mossienko [Thu, 23 Jun 2016 16:36:59 +0000 (18:36 +0200)]
fix of NPE
Maxim.Mossienko [Thu, 23 Jun 2016 16:05:43 +0000 (18:05 +0200)]
(when we have only large added value set) if given key has number of values more than threshold calculate / use direct mapping of fileId -> Value instead of traversing all values (thus removing O(NumberOfValues) per fileId)
Aleksey Pivovarov [Mon, 20 Jun 2016 11:53:46 +0000 (14:53 +0300)]
lst: compare lines ignoring whitespaces in smart mode
Aleksey Pivovarov [Mon, 20 Jun 2016 11:47:57 +0000 (14:47 +0300)]
vcs: Show History For Selection - ignore whitespaces
Aleksey Pivovarov [Mon, 20 Jun 2016 17:15:21 +0000 (20:15 +0300)]
diff: fix two-step correction
* use correction with IGNORE_WHITESPACES policy
* fix cases of non-abmigous matching and when we refuse to check all possible variants
Aleksey Pivovarov [Thu, 12 May 2016 14:09:46 +0000 (17:09 +0300)]
diff: move [*]Fragment conversions into ComparisonManager
* make ByLine accept lines instead of texts
* simplify ByLine.Line creation
* remove diffSomehow methods
Daniil Ovchinnikov [Thu, 23 Jun 2016 14:55:47 +0000 (17:55 +0300)]
[groovy] set navigation element for GrTraitMethods properly
Aleksey Pivovarov [Thu, 23 Jun 2016 15:01:55 +0000 (18:01 +0300)]
EA-84725 - assert: FrameWrapper.getFrame
Ilya.Kazakevich [Thu, 23 Jun 2016 14:51:52 +0000 (17:51 +0300)]
PY-19907: check ``startTime`` property type. If it has wrong type, that means user has custom property. Fail and report this fact.
Konstantin Bulenkov [Thu, 23 Jun 2016 14:42:50 +0000 (16:42 +0200)]
Merge remote-tracking branch 'origin/master'
Mikhail Golubev [Thu, 23 Jun 2016 14:21:10 +0000 (17:21 +0300)]
PY-18039 Fix PyPackageRequirementsInspectionTest
It failed because packages cache wasn't initialized before the tests and
"Package requirements" inspection doesn't warn about anything in this
case.
Mikhail Golubev [Wed, 22 Jun 2016 14:19:45 +0000 (17:19 +0300)]
IDEA-CR-10973 VFSTestListener updates packages synchronously, one refresh at time
Mikhail Golubev [Fri, 17 Jun 2016 11:42:52 +0000 (14:42 +0300)]
IDEA-CR-10973 Packages are always updated in "Project interpreter" configurable
I've also removed excess calls to refreshAndGetPackages() in
PyActiveSdkConfigurable. It's not necessary to call it in #setSelectedSdk()
since item listener on the combo box updates list of installed packages
and notifications at the bottom anyway after selected value has been changed.
Mikhail Golubev [Thu, 16 Jun 2016 17:25:53 +0000 (20:25 +0300)]
IDEA-CR-10973 If packaging_tool.py fails, initialize cache with empty list
This way we won't keep calling the script over and over again via
PyPackageUtil#refreshAndGetPackagesModally() (e.g. in various project
wizards) if for some reason it doesn't succeed first time.
Mikhail Golubev [Fri, 17 Jun 2016 12:19:13 +0000 (15:19 +0300)]
IDEA-CR-10973 Don't lose ItemEvent for SDK created in PythonSdkChooserCombo
It might happen because ProjectSdkModel copies added SDK internally
and that original SDK is no longer in the list returned by
PyConfigurableInterpreterList which is then used to initialize
the model of the combo box in the project wizard.
As a result passing that SDK to setSelectedItem() has no effect,
SDK doesn't appear in the combo box and checkValid() isn't invoked
either.
Mikhail Golubev [Thu, 16 Jun 2016 09:49:24 +0000 (12:49 +0300)]
IDEA-CR-10973 Fix excess calls to checkValid() in Python new project wizard
Mikhail Golubev [Wed, 8 Jun 2016 18:42:18 +0000 (21:42 +0300)]
PY-18039 PyPackageManager#getDependents() returns @NotNull value
Mikhail Golubev [Mon, 6 Jun 2016 19:12:20 +0000 (22:12 +0300)]
PY-18039 Run packaging_tool.py once to detect IPython version if necessary
In theory IPython cell can be run before PythonSdkUpdater startup
activity finishes updating packaging cache when a project is opened.
Mikhail Golubev [Mon, 6 Jun 2016 19:08:36 +0000 (22:08 +0300)]
PY-18039 Throughout debug logging for PyPackageManager and helper methods
When we either launch packaging_tool.py or attempt to show modal dialog
the stacktrace of the call site is added to debug messages.
Mikhail Golubev [Mon, 6 Jun 2016 12:23:11 +0000 (15:23 +0300)]
PY-18039 Cleanup in PackageManagerImpl
Mikhail Golubev [Mon, 6 Jun 2016 12:01:41 +0000 (15:01 +0300)]
PY-18039 Update level and content logging messages in package management
In particular, ExecutionExceptions caused by running packaging_tool.py
shouldn't be logged with the level ERROR because we don't want them in
Exception Analyzer.
Andrey Vlasovskikh [Fri, 20 May 2016 19:51:40 +0000 (22:51 +0300)]
Initial implementation of background caching of packages (PY-18039)
Konstantin Bulenkov [Thu, 23 Jun 2016 13:51:17 +0000 (15:51 +0200)]
better spacing between close, maximize, minimize buttons
Konstantin Bulenkov [Thu, 23 Jun 2016 13:49:35 +0000 (15:49 +0200)]
new icons for close, maximize, minimize
Konstantin Bulenkov [Thu, 23 Jun 2016 13:48:45 +0000 (15:48 +0200)]
update win frame decoration icons
Konstantin Bulenkov [Thu, 23 Jun 2016 13:46:46 +0000 (15:46 +0200)]
optimize png
Konstantin Bulenkov [Thu, 23 Jun 2016 13:45:03 +0000 (15:45 +0200)]
disable custom frame decoration for IntelliJ laf
Vasily Pisar [Thu, 23 Jun 2016 14:01:03 +0000 (17:01 +0300)]
Merge remote-tracking branch 'origin/master'
Andrey Vlasovskikh [Thu, 23 Jun 2016 13:55:14 +0000 (16:55 +0300)]
Ignore possible discrepancies between dir(x) and x.__dict__ (PY-19349)
Ilya.Kazakevich [Thu, 23 Jun 2016 13:32:33 +0000 (16:32 +0300)]
Nullable error fix
Vladimir Krivosheev [Thu, 23 Jun 2016 13:28:57 +0000 (15:28 +0200)]
Merge remote-tracking branch 'origin/master' into develar/is
Vladimir Krivosheev [Thu, 23 Jun 2016 13:27:26 +0000 (15:27 +0200)]
`project inspection` test
nik [Thu, 23 Jun 2016 13:00:01 +0000 (16:00 +0300)]
fixed showing 'Convert Project' dialog when opening a project in old format (IDEA-157691)
Bas Leijdekkers [Thu, 23 Jun 2016 12:43:59 +0000 (14:43 +0200)]
render severities in editor the same as in the profile panel
Bas Leijdekkers [Thu, 23 Jun 2016 12:43:21 +0000 (14:43 +0200)]
IDEA-96532 (Orders in Severities Editor and in Severity Chooser are opposite)
Bas Leijdekkers [Mon, 20 Jun 2016 15:08:20 +0000 (17:08 +0200)]
consider local variables with or without final modifier equal in duplicates finder
Bas Leijdekkers [Sat, 18 Jun 2016 19:13:20 +0000 (21:13 +0200)]
IG: fix "'if' statement with identical branches" false positive
Semyon Proshev [Wed, 25 May 2016 13:10:01 +0000 (16:10 +0300)]
PY-19506 Fixed: CREATE TEMP TABLE not recognized as SQL-statement within Python-String
Support temp tables creating
peter [Thu, 23 Jun 2016 10:46:48 +0000 (12:46 +0200)]
fix test hangs after an exception during indexing
peter [Thu, 23 Jun 2016 07:29:19 +0000 (09:29 +0200)]
index less files for stub hierarchy: no test data, no kotlin classes
peter [Thu, 23 Jun 2016 06:24:21 +0000 (08:24 +0200)]
don't keep long and unnecessary covered file list in stub hierarchy
dmitriy.tseyler [Thu, 23 Jun 2016 09:33:07 +0000 (12:33 +0300)]
DBE-95 Feature Request: Import/Export Options
(cherry picked from commit
9ac2ec0)
Pavel Dolgov [Wed, 22 Jun 2016 18:40:07 +0000 (21:40 +0300)]
Java inspection: convert the intention for "Replace method reference with lambda" into an INFORMATION-level inspection
Egor.Ushakov [Thu, 23 Jun 2016 08:21:53 +0000 (11:21 +0300)]
IDEA-157321 Debugger and Runtime Java Varargs inconsistent
Egor.Ushakov [Thu, 23 Jun 2016 08:10:07 +0000 (11:10 +0300)]
avoid NPE in toString
Gregory.Shrago [Thu, 23 Jun 2016 04:14:44 +0000 (07:14 +0300)]
support unregistered types in sets and maps
Ilya.Kazakevich [Wed, 22 Jun 2016 22:34:23 +0000 (01:34 +0300)]
PY-19738: Django test targets should be resolved against source roots too, not only against django project root
Django target is something like "spam.eggs.MyClass". That means "spam" is package inside Django project root or in source root. Django only adds its project root to sys.path automatically, but user may add some other folders dynamically (see base.py, local.py in this commit) and mark folder as "source". We should support this config.
Ilya.Kazakevich [Wed, 22 Jun 2016 20:45:48 +0000 (23:45 +0300)]
PY-19738: Do not rerun tests if we can't get list of specs to rerun: cleaner and simpler API.
We can throw exception from PyRerunFailedTestsAction, no need to export this knowledge to public API
Gregory.Shrago [Wed, 22 Jun 2016 20:11:51 +0000 (23:11 +0300)]
do not leak menu->root_panel->..
Gregory.Shrago [Wed, 22 Jun 2016 20:11:02 +0000 (23:11 +0300)]
do not leak ui components
Vassiliy.Kudryashov [Wed, 22 Jun 2016 20:02:01 +0000 (23:02 +0300)]
IDEA-157575 Unexpected Cursor Behavior in Search
Ilya.Kazakevich [Wed, 22 Jun 2016 19:07:18 +0000 (22:07 +0300)]
PY-19738: test added
Run tests, then delete files, and try to rerun it. Message and exc. should be displayed
Ilya.Kazakevich [Wed, 22 Jun 2016 15:41:49 +0000 (18:41 +0300)]
PY-19738: Do not rerun tests if we can't get list of specs to rerun
When rerun, test task should provide list of test specs to rerun. If it fails to do so, no need to rerun "something".
Ilya.Kazakevich [Wed, 22 Jun 2016 00:29:05 +0000 (03:29 +0300)]
Nullable method declared nullable
Anna Kozlova [Wed, 22 Jun 2016 18:31:58 +0000 (21:31 +0300)]
suppress inspections on their testdata in injection
Anna Kozlova [Wed, 22 Jun 2016 18:18:54 +0000 (21:18 +0300)]
thread safe array class calculation
Anna Kozlova [Wed, 22 Jun 2016 16:12:44 +0000 (19:12 +0300)]
IncorrectOperationException (IDEA-157766)
Gregory.Shrago [Wed, 22 Jun 2016 18:22:18 +0000 (21:22 +0300)]
cleanup
Gregory.Shrago [Wed, 22 Jun 2016 17:38:44 +0000 (20:38 +0300)]
move out of gen root; update to JFlex 1.6 semantics; regen
Maxim.Mossienko [Wed, 22 Jun 2016 16:35:38 +0000 (18:35 +0200)]
(when we have only invalidated set) if given key has number of values more than threshold calculate / use direct mapping of fileId -> Value instead of traversing all values (thus removing O(NumberOfValues) per fileId)
Valentina Kiryushkina [Wed, 22 Jun 2016 16:46:43 +0000 (19:46 +0300)]
Fix EDU-636 Do not load course list on stepic login for adaptive course
Valentina Kiryushkina [Wed, 22 Jun 2016 15:42:46 +0000 (18:42 +0300)]
Fix EDU-639 Don't save empty string as a password
Valentina Kiryushkina [Wed, 22 Jun 2016 15:41:51 +0000 (18:41 +0300)]
Minor Annotate NotNulls setters and getters
Anna Kozlova [Wed, 22 Jun 2016 15:27:11 +0000 (18:27 +0300)]
extends final inspection: compare non captured types (fix foreach loops)
Valentina Kiryushkina [Wed, 22 Jun 2016 15:18:01 +0000 (18:18 +0300)]
Fix EDU-627 Change condition indicating that courses were successfully loaded Add annotations
Nadya Zabrodina [Wed, 22 Jun 2016 15:00:59 +0000 (18:00 +0300)]
[hg]: (IDEA-157578) Mercurial Commit and Close (spelling error)
* remove unnecessary mnemonic because doOkAction default shortCut seems to be enough;
Anna Kozlova [Wed, 22 Jun 2016 14:08:09 +0000 (17:08 +0300)]
redundant exception: ignore recursive calls (IDEA-157773)
Yaroslav Lepenkin [Wed, 22 Jun 2016 09:38:52 +0000 (12:38 +0300)]
[formatter-core] minor rename
Yaroslav Lepenkin [Mon, 20 Jun 2016 11:59:36 +0000 (14:59 +0300)]
[formatter-core] minor refactoring
Liana Bakradze [Wed, 22 Jun 2016 14:24:51 +0000 (17:24 +0300)]
save files before check
Elizaveta Shashkova [Wed, 22 Jun 2016 14:06:30 +0000 (17:06 +0300)]
Use "Thread" as default suspend policy in debugger tests in order to avoid indeterminacy
Shaverdova Elena [Wed, 22 Jun 2016 12:49:19 +0000 (14:49 +0200)]
project name listener for WI-30937 Create composer.json data servise and
WI-30286 use composer.json as a source and storage for project settings
Vladimir Krivosheev [Wed, 22 Jun 2016 13:39:16 +0000 (15:39 +0200)]
fix tests
Vladimir Krivosheev [Wed, 22 Jun 2016 13:38:42 +0000 (15:38 +0200)]
cleanup
Anton Tarasov [Wed, 22 Jun 2016 13:18:56 +0000 (16:18 +0300)]
IDEA-157767 [mac] IDEA doesn't pick up bundled JRE
[Temporarily] tought the mac launcher to be able to pickup Contents/jdk if Contents/jre fails.
peter [Wed, 22 Jun 2016 13:06:24 +0000 (15:06 +0200)]
more diagnostics for failing PlatformTestUtil.waitForAlarm
Vladimir Krivosheev [Wed, 22 Jun 2016 13:01:53 +0000 (15:01 +0200)]
fix after merge
Valentina Kiryushkina [Wed, 22 Jun 2016 12:57:27 +0000 (15:57 +0300)]
Fix NPE in StudyCheckTask for study project with no user
Liana Bakradze [Wed, 22 Jun 2016 12:43:30 +0000 (15:43 +0300)]
fix after IDEA-CR-11594
Alexey Kudravtsev [Wed, 22 Jun 2016 12:44:07 +0000 (15:44 +0300)]
drop caches on stub->ast switch not needed anymore
Alexey Kudravtsev [Wed, 22 Jun 2016 12:23:52 +0000 (15:23 +0300)]
increase pause time since there may be many threads pausing concurrently