Commit Graph
18584 Commits
Author SHA1 Message Date
Dmitry Batrak ad07a7ec04 IDEA-170039 Honor new foldings 'collapse by default' state - revert previous fix 2017-04-13 12:23:02 +03:00
Ekaterina Tuzova d030faf46c load course lessons once 2017-04-13 12:07:43 +03:00
Ekaterina Tuzova ba4c17eb0f fix PY-23453 "Strip trailing spaces on Save" not working in doc comments 2017-04-13 12:00:39 +03:00
Ekaterina Tuzova b098eb1752 fix EDU-914 Progress bar is shown in adaptive course 2017-04-13 10:59:45 +03:00
Ilya.Kazakevich d54d7082d7 PY-23673: "blockClosed" can be called on setup finish, not only on subtest. 2017-04-13 00:07:29 +03:00
Ilya.Kazakevich af26c3705a PY-23488, PY-23530: Api for skipped unittests fixed
New Leonid's runner works better and obeys skipped test order
2017-04-12 23:20:20 +03:00
Ilya.Kazakevich e55e865263 PY-23504, PY-23303, PY-23733, PY-23647, PY-23613: Root closest to file should be used as working directory at least for pytest
If you have several roots (src, content, what ever) they all passed as sys.path. But pytest does not resolve its argument against sys.path: it uses working directory. This change does 2 things:

* If workdir not set --use closest root
* For newly created config set closest root as dir
2017-04-12 20:49:57 +03:00
meanmail 35bc629c48 Autonaming for new project 2017-04-12 23:08:20 +07:00
meanmail 8667ae60ab Added a project create dialog 2017-04-12 22:45:58 +07:00
Mikhail Golubev 4287dc75e4 PY-23553 Don't set up validators on the remote path field until all panels are created
otherwise we might end up running checkValid() on not yet created
components, hence these NPEs.
2017-04-12 18:36:34 +03:00
Mikhail Golubev d83f1a84fd PY-21590 PY-21002 Cache installed packages for a remote SDK created in New Project dialog
I removed the old check (now obsolete) that prevented caching of the
list of installed packages in SDKs with unset interpreter paths. It
turned out to be the case with new remote interpreters created right in
"New Project" dialog where detecting interpreters paths is delayed
until the moment of actual project initialization when PythonSdkUpdater
is run.

It led to repetitive requesting the list of installed packages that,
first, badly affected the responsiveness of the dialog (PY-21590) and
also caused network operations on EDT when installed packages were
requested once again under modal progress indicators inside the write
action in the Django project generator (PY-21002) (platform executes
such tasks directly of EDT to prevent possible deadlocks).
2017-04-12 18:36:34 +03:00
Dmitry Trofimov 5a0729c244 Add possibility for flavor to patch command line before execution (https://github.com/JetBrains/intellij-community/pull/534) 2017-04-12 14:47:02 +02:00
Elizaveta Shashkova eaa6f4d361 Cython speedups break debugging with Stackless (PY-23283)
The problem appears when compiling Cython extensions with Cython 0.25, and it doesn't appear when compiling them with Cython 0.24. It looks like it's Cython bug, but we can't use old version of Cython, because it isn't compatible with Python 3.6 on Windows. So we have to (temporarily) disable Cython extensions for Stackless despite the fact that its implementation is "CPython".
2017-04-12 14:19:41 +03:00
Elizaveta Shashkova 6fb61bcaeb Renaming after review (PY-23587) 2017-04-12 14:19:40 +03:00
Ilya.Kazakevich fe69166c0d Todo added 2017-04-12 01:43:18 +03:00
Ilya.Kazakevich 2093653511 PY-23279, PY-9963: fixed according to IDEA-CR-19921 2017-04-12 01:34:23 +03:00
Dmitry Trofimov bf98ba3576 Pass shell environment before obtaining virtualenv environment for script execution (PY-17816)
If an IDE is executed not terminal on macOS it doesn't get shell environment and this prevents getting the correct environment by virtualenv activation
2017-04-11 19:48:32 +02:00
Dmitry Avdeev 092be12898 IDEA-168111 Open project in current window opens new window instead 2017-04-11 17:46:21 +03:00
meanmail f8be70c916 Minor refactoring 2017-04-11 21:42:34 +07:00
meanmail e8a4074457 Removed a dependency 'python-community-ide' 2017-04-11 21:14:08 +07:00
Vladimir Krivosheev 0087518064 lock-free access to allSettings list
remove duplicated method getSortedConfigurations (already existed in the API method `allSettings` should be used instead)
2017-04-11 12:56:44 +02:00
meanmail c3b513c1fb Removed an extension point 'eduProjectCreator' 2017-04-11 15:21:26 +07:00
meanmail a4ee6d7bc2 Log a wrong request parameter 2017-04-11 15:00:17 +07:00
meanmail 48f89ccc7a Refactoring edu/built-in-server utils 2017-04-11 14:42:36 +07:00
Ilya.Kazakevich 7a7be0b70d IronPython test fix 2017-04-11 00:08:26 +03:00
Ilya.Kazakevich 049f4bd654 Django 1.11: add 1.11 to list of interpreters 2017-04-10 22:18:11 +03:00
Vladimir Krivosheev 544a250c7b fix PyUniversalTestLegacyInterop 2017-04-10 18:19:59 +02:00
Vladimir Krivosheev 16e4280e18 simplify implementations, getConfiguration returns UnknownConfiguration if null (actually, it is already so)
(cherry picked from commit bcf2738f96752062442b14eabd933d11425d5d35)
2017-04-10 18:19:56 +02:00
Ekaterina Tuzova d85f30a968 remove listener only if it was added previously 2017-04-10 18:47:30 +03:00
Ekaterina Tuzova a5c2608205 add virtual file listener on course creation 2017-04-10 18:30:09 +03:00
peter a8a300533e run Sphinx VFS refresh in a write-safe context (EA-99840 - assert: RefreshQueueImpl.execute) 2017-04-10 15:29:28 +02:00
Elizaveta Shashkova 31b766d6ff Tests: temporarily disable optimization with tags coverage 2017-04-10 16:09:18 +03:00
Mikhail Golubev 041fe2b1be PY-23578 Optimize Imports preserves a blank line before the first import import
It happened due to the bug in the platform and only when the number of
blank lines after the import statement is greater than that before it.

As a temporary workaround before the relevant fix in the platform is
accepted I delete old imports as text through the underlying document.
2017-04-10 14:45:09 +03:00
Dmitry Batrak ae251d56bb IDEA-170039 Honor new foldings 'collapse by default' state - convert Java and XML folding settings to use properties with modification tracking 2017-04-10 10:25:51 +03:00
Ilya.Kazakevich ce18a5898d Staging removed from test 2017-04-09 20:51:38 +03:00
meanmail d0b08b2d67 Minor refactoring 2017-04-08 23:16:39 +07:00
meanmail 755171101f Merge remote-tracking branch 'origin/master' into meanmail/EDU-839 2017-04-08 09:27:57 +07:00
meanmail 3aff09380d Navigation to a target task 2017-04-08 09:12:32 +07:00
meanmail a2aecb5daf Extract utils 2017-04-08 04:54:57 +07:00
meanmail 4307fbefed Implementation for a project creator 2017-04-08 04:36:41 +07:00
Ilya.Kazakevich 1523362af7 PY-23267: Tests added to check right click on tests folder creates Django test run configuration 2017-04-07 22:48:20 +03:00
meanmail cd47c962ed The extension point for a project creator 2017-04-08 00:44:47 +07:00
Andrey Vlasovskikh 9ef3a2b3a4 Don't show non-public names from buitlins stub in completion (PY-22828)
The Typeshed stub from buitlins contains several non-public names:

* Imports from other modules
* Protected names (_foo)
2017-04-07 20:34:25 +03:00
Ekaterina Tuzova 506175911b removed obsolete dependencies from edu 2017-04-07 19:58:13 +03:00
Ekaterina Tuzova 669a3e5a67 full support for stepik in kotlin-java courses 2017-04-07 19:52:36 +03:00
Ekaterina Tuzova 1bc47c4d3e publish proper course language to stepik 2017-04-07 19:52:36 +03:00
Liana.Bakradze fd54035b21 extract TaskWithSubtasksChecker (EDU-882) 2017-04-07 19:40:57 +03:00
Liana.Bakradze da27607360 remove unused parameter 2017-04-07 19:40:57 +03:00
Liana.Bakradze c14f398374 remove redundant parameter (EDU-882) 2017-04-07 19:40:57 +03:00
Liana.Bakradze 230e7528c4 move onTaskFailed logic to StudyChecker (EDU-882) 2017-04-07 19:40:57 +03:00