Commit Graph
13096 Commits
Author SHA1 Message Date
Elizaveta Shashkova 5bcf4c7f67 Switch debugger reader's sleeping policy to BLOCKING (PY-15122)
Because of changes in BaseOutputReader we can't call readAvailableBlocking if sleeping policy is not BLOCKING.
2015-02-22 14:30:44 +03:00
Ilya.Kazakevich 4031b0960e Merge remote-tracking branch 'origin/master' 2015-02-21 01:56:40 +03:00
Ilya.Kazakevich 30a865dacb PY-14977 PyCharm is not obeying my file specific code style for HTML
BaseLanguage is HTML, not Django now
2015-02-21 01:53:07 +03:00
Gregory.Shrago 5af5e21caf History: share entries, use own cursors. 2015-02-21 00:18:42 +03:00
Ekaterina Tuzova 00dd286917 Merge remote-tracking branch 'origin/master' 2015-02-20 14:39:15 +03:00
Ekaterina Tuzova 3d9247f2c1 fixed PY-14352 Cannot add user-defined interpreter path 2015-02-20 14:37:50 +03:00
Mikhail Golubev d68d2ee5ba PY-12949 Don't rename directory instead of __init__.py if refactoring was invoked not from editor
To preserve functionality that was added earlier with PY-3856, we rename
directory of __init__.py only when refactoring was invoked from the
editor (e.g. on the reference in import statement) and corresponding
file otherwise (refactoring supposedly originated in project structure
toolwindow).
2015-02-20 12:33:48 +03:00
Mikhail Golubev a06ec29c62 PY-14979 Use FileUtil#getNameWithoutExtenstion instead of StringUtil#trimEnd 2015-02-20 12:33:47 +03:00
Mikhail Golubev 63440ba87f PY-15050 Disable pep8 warnings about whitespaces in comments according to code style settings 2015-02-20 12:33:47 +03:00
Gregory.Shrago 6a7f838e9d merge LanguageConsole & LanguageConsoleView: part 2 2015-02-19 23:02:44 +03:00
Gregory.Shrago b4821406a5 merge LanguageConsole & LanguageConsoleView: part 1 2015-02-19 23:02:43 +03:00
Elizaveta Shashkova e02065d6d5 Merge branch 'origin/master' 2015-02-18 20:41:29 +03:00
Elizaveta Shashkova acc0bcd8ee Tests for Unresolved reference highlighting in Evaluate expression window 2015-02-18 20:36:41 +03:00
Elizaveta Shashkova cdbf2521b6 fix Unresolved reference inspection in Evaluate expression (PY-14309)
We should pass fake context for element in code fragment in order to resolve it.
2015-02-18 20:32:32 +03:00
Mikhail Golubev b82acb31c5 PY-14979 Manually add value of the "NAME" template variable when creating new file for refactoring
However PACKAGE_NAME variable for Python templates is still undefined
and it seems that better to create such new files via FileTemplateUtil
instead somehow.
2015-02-18 19:30:50 +03:00
Mikhail Golubev 3a1cd8bc80 Fix broken test in PythonCompletionTest
It's not clear why "subpack" was supposed to be suggested in this case,
though.
2015-02-18 19:30:49 +03:00
Mikhail Golubev 31bea611fe PY-3369 Show different icons for functions and methods
Actual function icon is taken from database-openapi.
2015-02-18 14:28:13 +03:00
Mikhail Golubev 7bf1fc88f6 PY-15075 Suggest "import" after dots in relative import only after additional whitespace 2015-02-18 14:28:13 +03:00
Mikhail Golubev e58f25677d PY-15092 Template folders have proper icon in project toolwindow for Python 3
I changed the order of extensions so that TemplateRootIconProvider is always
run before PyDirectoryIconProvider.
2015-02-18 14:28:13 +03:00
Andrey Vlasovskikh 09bdc5fa1b Snapshot of python-skeletons @ 658937341a 2015-02-17 19:57:05 +03:00
Andrey Vlasovskikh 6311bb2b02 Prevent exponential growth of union types of PyJavaClassType (PY-15055)
For Java method references in the context of Jython multi-resolve
returns all the overloaded methods. Return types of these methods are
joined as a union type. If there is no equality for PyJavaClassType,
then the chain of builder-style calls to overloaded methods results in
exponential growth of the union type.
2015-02-17 19:07:23 +03:00
Andrey Vlasovskikh adbfd4701e Resolve references in annotations in the scope where the function is defined (PY-15017)
References in function annotations should be resolved no in the nearest
ScopeOwner (which is the function itself), but in the next ScopeOwner.
2015-02-17 17:41:18 +03:00
Andrey Vlasovskikh 332709f9ee Fixed SOE in PyClass.isOverriddenMRO() check (PY-15002)
In Python 2 it is possible to create an endless metaclass chain by
defining '__metaclass__' at the top-level to be one of the classes
defined in the module. We assume that these circular metaclasses don't
override `mro()` in order to prevent infinite recursion in this check.
2015-02-17 16:46:35 +03:00
Ekaterina Tuzova 5815933d36 Merge remote-tracking branch 'origin/master' 2015-02-17 12:27:40 +03:00
Ilya.Kazakevich 07252e7af4 Merge remote-tracking branch 'origin/master' 2015-02-17 01:37:57 +03:00
Ilya.Kazakevich 9c386248b9 PY-11855 Run manage.py task improvements
Workaround to support errors:
* In Python side we skip command if it is misconfigured
* On Java side we skip producer if it fails
 TODO: we need to log errors on python side somehow
2015-02-17 01:33:33 +03:00
Ilya.Kazakevich 8b56073946 PY-11855 Run manage.py task improvements
Refactored, options support added
2015-02-17 01:04:34 +03:00
Ekaterina Tuzova 181dbcae99 sort lessons properly 2015-02-16 22:05:22 +03:00
Ekaterina Tuzova 2a5c62f9a9 Merge remote-tracking branch 'origin/master' 2015-02-16 21:35:16 +03:00
Ekaterina Tuzova 47ef17b6d8 fixed lesson push 2015-02-16 21:32:21 +03:00
Ekaterina Tuzova aac2fe3981 moved course initialization back 2015-02-16 21:19:24 +03:00
Ekaterina Tuzova 28de7cdb8a push lesson to stepic 2015-02-16 21:14:44 +03:00
Ekaterina Tuzova 374a3024dd moved stepic connector to the edu core 2015-02-16 17:39:15 +03:00
Ekaterina Tuzova e1f7d878e5 added temporary action to recover course from course archive 2015-02-16 17:37:47 +03:00
Ekaterina Tuzova 80381a8f5c returned expose annotations 2015-02-16 16:28:47 +03:00
Ekaterina Tuzova 204c87748c removed redundant tasks map 2015-02-16 16:24:24 +03:00
Ekaterina Tuzova 876aa2a2aa removed redundant lessons map 2015-02-16 16:00:00 +03:00
Ekaterina Tuzova 81b19a1b69 fixed add lessons to the course 2015-02-16 15:27:03 +03:00
Gregory.Shrago 185a6abe08 cosmetic 2015-02-16 15:25:13 +03:00
Ekaterina Tuzova 6664e35788 public field (xml serialization) 2015-02-16 15:02:59 +03:00
Ekaterina Tuzova 41e6e42e69 public field (xml serialization) 2015-02-15 20:43:35 +03:00
Ekaterina Tuzova ecc059d38f do not listed to files if project is already closed + don't forget to add lesson to the course 2015-02-15 20:42:41 +03:00
Ekaterina Tuzova edcdcc4b8f do not listed to files if project is already closed 2015-02-15 20:41:13 +03:00
Ekaterina Tuzova 8ddbc44905 fixed EduDocumentationListener 2015-02-15 20:13:42 +03:00
Ekaterina Tuzova d038f6ad13 simplified create answer placeholder dialog 2015-02-15 17:56:51 +03:00
Ekaterina Tuzova 98f7af6ba6 simplified create answer placeholder dialog 2015-02-15 17:56:31 +03:00
Ekaterina Tuzova a6eefc1e89 fixed test data paths 2015-02-15 17:56:06 +03:00
Ekaterina Tuzova 2cb00c98bc nullability 2015-02-15 17:25:19 +03:00
Ekaterina Tuzova 728f937a5d extracted common flushWindows 2015-02-15 17:23:58 +03:00
Ekaterina Tuzova 3aad949b35 merged document listeners 2015-02-15 17:14:47 +03:00