Ilya.Kazakevich
4141d2664d
skeleton sync
2016-03-11 00:59:51 +03:00
Elizaveta Shashkova
6a805cdb3a
Windows binaries (PY-14992)
2016-03-10 21:30:48 +03:00
Elizaveta Shashkova
376fd1619d
Update cython extensions (PY-14992)
2016-03-10 20:13:43 +03:00
Elizaveta Shashkova
75cf51856a
PyCharm ships with "tests" pydev helper (PY-18655 )
...
Rename debugger tests modules
2016-03-10 18:45:21 +03:00
Ekaterina Tuzova
6144dc5a94
added check for ipython or jupyter on server start
2016-03-10 14:30:41 +03:00
Ekaterina Tuzova
eaffa2c5d7
use proper thread to show url dialog
2016-03-10 14:08:47 +03:00
Ekaterina Tuzova
e4263487a5
do not ask for url in case there are no jupyter installed
2016-03-10 14:04:41 +03:00
Mikhail Golubev
54782ab8bb
PY-18740 Fix TypeError in rest_formatter.py when directive returned by _strip_markup is None
2016-03-10 12:39:49 +03:00
Mikhail Golubev
7ba4efa774
PY-18733 Consider return type collected by debugger in generated docstrings
...
Don't add empty type annotation for return value inside generated
docstring unconditionally in PyDocstringGenerator. It should really be
found in PyDocstringGenerator#prepareParameters().
2016-03-10 12:39:49 +03:00
Mikhail Golubev
b2587b951a
PY-18695 Handle signatures of functions with no arguments
2016-03-10 12:39:48 +03:00
Anna Kozlova
e9a37446b8
WriteActionAware: marker to skip containing write action, e.g. when local fix would show dialog or progress, so the write action would be started inside action itself
2016-03-10 09:08:15 +01:00
Elizaveta Shashkova
9cec506ec7
Support gevent in debugger (PY-14992)
2016-03-10 02:44:48 +03:00
Semyon Proshev
3c1c2ff832
Drop PyClassTypeImpl#getPossibleInstanceMembers and its usages as useless and not modified since 2008
2016-03-09 19:06:53 +03:00
Semyon Proshev
ae1b7f7d17
Implement todos in PyClassTypeImpl and PyJavaClassType which are connected with members and ancestors
2016-03-09 19:06:52 +03:00
Semyon Proshev
8d78d16800
PY-18096 Fixed: False positive "Type doesn't have expected attributes" for namedtuple
...
Introduce PyClassLikeType.getMemberNames(boolean, TypeEvalContext). This method returns all members including dynamically ones (e.g. fields of namedtuple)
2016-03-09 19:06:52 +03:00
Valentina Kiryushkina
646e78521d
Fix problem with study task description tool window blinking on task change
...
* Create separate methods for tool window initialization and tool window update
* On update only set new text in study tool window browser window
2016-03-09 18:49:38 +03:00
Semyon Proshev
495ae960d3
Remove code duplicates in PySliceExpressionImpl and PyClassTypeImpl by creating new util method in PyUtil. This method allows to calculate return type of type member.
2016-03-09 18:19:49 +03:00
Semyon Proshev
b33ab7a469
PY-18560 Fixed: wrong inferred type for result of __getitem__ by square brackets with slice
...
Fix calculating type of slice expression: keep tuples and collections as is and resolve __getitem__ method for other class types
2016-03-09 18:19:49 +03:00
Mikhail Golubev
3cdc8c9cf8
PY-18386 Replace cache and type eval context parameters with single parameter object
2016-03-09 17:24:52 +03:00
Mikhail Golubev
2c2cbf3adb
PY-18386 Add recursion guard to handle recursive types via PEP 484 type aliases
...
Recursive type are not fully supported yet. It only prevents SOE for them.
2016-03-09 17:24:52 +03:00
Semyon Proshev
9cb08375e6
Tests for open function type in Python 3
2016-03-09 17:08:50 +03:00
Semyon Proshev
9c0ecff67e
PY-18322 Fixed: PyCharm cannot detect obvious unresolved method
...
Correctly determine openFunctionType in Python 2. Update read and write types of builtin file in skeletons
2016-03-09 17:08:50 +03:00
Semyon Proshev
693e67846b
PY-18205 Fixed: NPE building skeletons
...
Check if BuildoutFacetConfiguration paths is not null and run forEach only after that
2016-03-09 14:10:00 +03:00
Semyon Proshev
31f9b8b8c6
PY-18422 Fixed: False positives with __slots__ and class attributes
...
Honour class attributes in the case when there is declared __slots__
2016-03-09 13:46:15 +03:00
Valentina Kiryushkina
b6baa97f4d
Fix #PY-18659 ClassCastException in PySubstitutionChunkReference.resolvePercentString
2016-03-09 13:33:27 +03:00
Valentina Kiryushkina
baee11599d
For #PY-2748 Fix false positives, rename issues, add tests and minor fixes according to review
...
* Don't process renaming string literal expression if it's PyKeyValueExpression: it corrupts user's code by renaming only key-value expression and leaving substitution key the same
* Pass isPercentString as constructor parameter, use PyPsiUtil.flattenParens(), rename method(process...-> resolve...)
* Fix false positive with function call and add tests
* In percent string resolve to all literal expressions, not only string literal
* In RenamePyLiteralExpressionProcessor always throw IncorrectOperationException
2016-03-09 13:33:27 +03:00
Valentina Kiryushkina
d226e3bf44
Add test for #PY-2748
2016-03-09 13:33:26 +03:00
Valentina Kiryushkina
8a980feda7
Fix #PY-18115, #PY-18401 and rename problems
...
* Stop show unresolved reference warning if argument of format string is PyReferenceExpression
* Fix exception caused by trying to rename not PsiNamedElement: register rename processor, that accepts all literal expressions, but do rename for string only and throw UnsupportedOperationException for others
* Add resolve for packed dicts, lists and tuples
2016-03-09 13:33:26 +03:00
Valentina Kiryushkina
bd395499ed
For #PY-2748 Resolve to argument with redundant parentheses and to binary expression argument in percent string
2016-03-09 13:33:25 +03:00
Roman Shevchenko
ddb631cf15
Cleanup (typo)
2016-03-04 19:05:06 +01:00
Ilya.Kazakevich
a66c64c32c
Merge branch 'master' of git.labs.intellij.net:idea/community
2016-03-04 19:45:47 +03:00
Liana Bakradze
1d3f1bb5a0
added with to study EP's
2016-03-04 12:32:08 +03:00
Roman Shevchenko
c47da586b7
Cleanup (typo)
2016-03-03 17:50:17 +01:00
Ekaterina Tuzova
e3b469e514
fixed PY-15859 Map F1 and help button (if any) of the IPython Notebook console to the specified id
2016-03-03 18:09:31 +03:00
Ekaterina Tuzova
ce7bf477b1
fixed PY-15718 IPython Notebook: invalid project selected as serving directory in multi-project structure
2016-03-03 18:09:31 +03:00
Ekaterina Tuzova
6f97c6ff0d
fixed editing cell on enter
...
do not provide EDITOR, cause it'll catch this typing event
2016-03-03 18:09:30 +03:00
Ekaterina Tuzova
7ae55e5fd1
fixed PY-15045 Newly created cell evaluation
...
do not remove cell from update map on empty payload. On payload is executed even on plain code evaluation
2016-03-03 18:09:30 +03:00
Dmitry Trofimov
da384d9ff6
Kill rpc webserver thread on console communication close
2016-03-03 14:05:40 +01:00
Ekaterina Tuzova
31c57e43d3
use key pressed even for the notebook cell selection
2016-03-03 16:02:26 +03:00
Ekaterina Tuzova
c9c344341b
PY-16577 Project Structure settings don't work for IPython Notebook
...
proper fix
2016-03-03 15:33:01 +03:00
Ekaterina Tuzova
14765d78ff
get language level for the python fragments in the notebook
2016-03-03 15:33:00 +03:00
Mikhail Golubev
f410b7c372
PY-18525 Don't show any notifications if module has no configured interpreter
2016-03-03 14:52:13 +03:00
Mikhail Golubev
c56c75bcb2
PY-18525 Don't include Python 2.7 and the latest Python 3 version in compatibility inspection in tests
2016-03-03 14:52:13 +03:00
Mikhail Golubev
f62b11ea9f
PY-18595 Use annotation from type comment for the first parameter of static methods
2016-03-03 14:52:12 +03:00
Ekaterina Tuzova
e1886cd261
renamed ipython notebook template
2016-03-03 14:42:05 +03:00
Valentina Kiryushkina
45e3facefd
Move language-specific code-mirror files from educational core plugin, provide them by StudyToolWindowConfigurator
2016-03-03 13:10:52 +03:00
Andrey Vlasovskikh
a504bbdeb9
PyCharm 5.1 Beta artwork
2016-03-03 04:00:29 +03:00
Andrey Vlasovskikh
e5542bacb8
Adjust position of progress on logo images for PyCharm
...
The left offset is styled after IntelliJ Community / Ultimate.
2016-03-03 04:00:28 +03:00
Dmitry Trofimov
d011315bf9
Make new storage format of collected types forward compatible
2016-03-03 00:53:21 +01:00
Mikhail Golubev
0db5ac3c11
PY-18525 Suggest Python compatibility inspection for compatible-looking code
2016-03-03 01:07:25 +03:00