idea/community.git
9 years agoMerge remote-tracking branch 'origin/master'
Ekaterina Tuzova [Wed, 27 Feb 2013 15:26:16 +0000 (19:26 +0400)]
Merge remote-tracking branch 'origin/master'

Conflicts:
python/ideSrc/com/jetbrains/python/PyIdeCommonOptionsForm.java
python/pluginSrc/com/jetbrains/python/run/PyPluginCommonOptionsForm.form
python/pluginSrc/com/jetbrains/python/run/PyPluginCommonOptionsForm.java

9 years agofixed details and versions in install package dialog
Ekaterina Tuzova [Wed, 27 Feb 2013 15:20:49 +0000 (19:20 +0400)]
fixed details and versions in install package dialog

added xmlRpc with trusted manager per connection

9 years agomove static method closer to its usage
Dmitry Jemerov [Wed, 27 Feb 2013 15:08:57 +0000 (16:08 +0100)]
move static method closer to its usage

9 years agoallow each instance of PyCallableType to tell whether it's actually callable or not...
Dmitry Jemerov [Wed, 27 Feb 2013 15:07:05 +0000 (16:07 +0100)]
allow each instance of PyCallableType to tell whether it's actually callable or not; distinguish class definition and class instance for Java class types; correctly treat Java constructors as callable (PY-4269)

9 years agoshow flavor icons in SDK choosers of Python plugin (PY-9015)
Dmitry Jemerov [Wed, 27 Feb 2013 14:50:37 +0000 (15:50 +0100)]
show flavor icons in SDK choosers of Python plugin (PY-9015)

9 years agoif run configuration settings specify -Dpython.path explicitly, don't overwrite it...
Dmitry Jemerov [Wed, 27 Feb 2013 14:35:35 +0000 (15:35 +0100)]
if run configuration settings specify -Dpython.path explicitly, don't overwrite it (PY-8044)

9 years agohide "set as project interpreter" in "create virtualenv" dialog in python plugin...
Dmitry Jemerov [Wed, 27 Feb 2013 14:17:10 +0000 (15:17 +0100)]
hide "set as project interpreter" in "create virtualenv" dialog in python plugin (PY-8082)

9 years agoadvance version and since/until build for python plugin
Dmitry Jemerov [Wed, 27 Feb 2013 13:49:19 +0000 (14:49 +0100)]
advance version and since/until build for python plugin

9 years agodon't swallow exceptions
Dmitry Jemerov [Wed, 27 Feb 2013 13:09:13 +0000 (14:09 +0100)]
don't swallow exceptions

9 years agosort packages in Manage Python Packages (PY-6918); disprefer remote interpreters...
Dmitry Jemerov [Wed, 27 Feb 2013 12:55:23 +0000 (13:55 +0100)]
sort packages in Manage Python Packages (PY-6918); disprefer remote interpreters when sorting by preference

9 years agoremote Python interpreters are always considered valid (PY-8079)
Dmitry Jemerov [Wed, 27 Feb 2013 12:43:33 +0000 (13:43 +0100)]
remote Python interpreters are always considered valid (PY-8079)

9 years agoshow path mappings combobox in Python plugin run configurations (PY-8868)
Dmitry Jemerov [Wed, 27 Feb 2013 12:21:05 +0000 (13:21 +0100)]
show path mappings combobox in Python plugin run configurations (PY-8868)

9 years agoOpenAPI for accessing PythonModuleBuilder
Dmitry Jemerov [Wed, 27 Feb 2013 11:26:29 +0000 (12:26 +0100)]
OpenAPI for accessing PythonModuleBuilder

9 years agoallow using Flask plugin when running IntelliJ IDEA under debugger
Dmitry Jemerov [Wed, 27 Feb 2013 11:10:04 +0000 (12:10 +0100)]
allow using Flask plugin when running IntelliJ IDEA under debugger

9 years agomoving core part of PythonModuleBuilder to common code between PyCharm and the plugin...
Dmitry Jemerov [Tue, 26 Feb 2013 14:05:43 +0000 (15:05 +0100)]
moving core part of PythonModuleBuilder to common code between PyCharm and the plugin, so that it can be used by the Flask project generator in the Python plugin

9 years agospacing in py3 annotations (PY-8961)
Dmitry Jemerov [Fri, 22 Feb 2013 12:03:40 +0000 (13:03 +0100)]
spacing in py3 annotations (PY-8961)

9 years agoimproved usability for run/debug configuration panel
Ekaterina Tuzova [Wed, 27 Feb 2013 12:59:28 +0000 (16:59 +0400)]
improved usability for run/debug configuration panel

hideable Environment panel, proper order for django server configuration fields

9 years agoPY-8924 "Ignore errors like this" option is not saved
Dmitry Avdeev [Tue, 26 Feb 2013 13:48:44 +0000 (17:48 +0400)]
PY-8924 "Ignore errors like this" option is not saved

9 years agoPY-6287 Changes to settings of inspections applied via quickfix are not persisted
Dmitry Avdeev [Tue, 26 Feb 2013 13:05:36 +0000 (17:05 +0400)]
PY-6287 Changes to settings of inspections applied via quickfix are not persisted

9 years agoMerge remote-tracking branch 'origin/master'
Ekaterina Tuzova [Tue, 26 Feb 2013 12:59:50 +0000 (16:59 +0400)]
Merge remote-tracking branch 'origin/master'

9 years agoChange SSL certificate validation only for PYPI connection
Ekaterina Tuzova [Tue, 26 Feb 2013 12:59:01 +0000 (16:59 +0400)]
Change SSL certificate validation only for PYPI connection

see CR-PY-5870

9 years agoMerge remote-tracking branch 'origin/master'
Dmitry Trofimov [Tue, 26 Feb 2013 12:19:53 +0000 (16:19 +0400)]
Merge remote-tracking branch 'origin/master'

9 years agoMerge remote-tracking branch 'origin/master'
Ekaterina Tuzova [Tue, 26 Feb 2013 10:46:32 +0000 (14:46 +0400)]
Merge remote-tracking branch 'origin/master'

9 years agoTook into account Parenthesized Expressions
Ekaterina Tuzova [Tue, 26 Feb 2013 10:41:59 +0000 (14:41 +0400)]
Took into account Parenthesized Expressions

fixed PY-7151 Convert triple-quoted string to single-quoted string: do not wrap string with parenthesis if initial string is already inside them

9 years agobranch 127
Kirill Safonov [Mon, 25 Feb 2013 20:29:33 +0000 (00:29 +0400)]
branch 127

9 years agodo not escape all quotes in triple quoted string
Ekaterina Tuzova [Mon, 25 Feb 2013 16:46:17 +0000 (20:46 +0400)]
do not escape all quotes in triple quoted string

fixed  PY-8926 Python: Conversion of docsting into recommended triple double-quoted form keeps doublequote at last position

9 years agofixed PY-8962 No packages are listed on the "Available Packages" screen
Ekaterina Tuzova [Mon, 25 Feb 2013 16:32:11 +0000 (20:32 +0400)]
fixed PY-8962 No packages are listed on the "Available Packages" screen

use https directly, trust pypi certificate

9 years agofixed improper cleanup from 2/18/13
Ekaterina Tuzova [Mon, 25 Feb 2013 13:34:34 +0000 (17:34 +0400)]
fixed improper cleanup from 2/18/13

9 years agoDon't mention eclipse.
Dmitry Trofimov [Mon, 25 Feb 2013 10:00:44 +0000 (14:00 +0400)]
Don't mention eclipse.

9 years agofixed PY-8965 Inconsistent behavior for "Specify type for reference in docstring"
Ekaterina Tuzova [Mon, 25 Feb 2013 09:26:54 +0000 (13:26 +0400)]
fixed PY-8965 Inconsistent behavior for "Specify type for reference in docstring"

simplified logic for type intentions. Don't use inferred type.

9 years agoMerge remote-tracking branch 'origin/master'
Ekaterina Tuzova [Fri, 22 Feb 2013 13:12:12 +0000 (17:12 +0400)]
Merge remote-tracking branch 'origin/master'

9 years agoimproved readability
Ekaterina Tuzova [Fri, 22 Feb 2013 13:07:46 +0000 (17:07 +0400)]
improved readability

9 years agocleanup duplicate code
Ekaterina Tuzova [Fri, 22 Feb 2013 12:56:42 +0000 (16:56 +0400)]
cleanup duplicate code

9 years agoMerge remote-tracking branch 'origin/master'
Dmitry Trofimov [Fri, 22 Feb 2013 11:35:34 +0000 (15:35 +0400)]
Merge remote-tracking branch 'origin/master'

9 years agoset docstring format for test PythonHighlightingTest
Ekaterina Tuzova [Fri, 22 Feb 2013 11:30:58 +0000 (15:30 +0400)]
set docstring format for test PythonHighlightingTest

9 years agoMerge remote-tracking branch 'origin/master'
Ekaterina Tuzova [Fri, 22 Feb 2013 11:25:46 +0000 (15:25 +0400)]
Merge remote-tracking branch 'origin/master'

9 years agoFixed checking whether file is in scope.
Dmitry Trofimov [Fri, 22 Feb 2013 11:15:12 +0000 (15:15 +0400)]
Fixed checking whether file is in scope.

9 years agocleanup
Ekaterina Tuzova [Fri, 22 Feb 2013 11:13:45 +0000 (15:13 +0400)]
cleanup

http://ubuntu-denofevil.labs.intellij.net:8040/commits/ultimate/29762d53206f49d313f5e452b025f7ad2d10d200#comment-36

9 years agoKeep else part on unwrap for and while
Ekaterina Tuzova [Fri, 22 Feb 2013 11:06:13 +0000 (15:06 +0400)]
Keep else part on unwrap for and while

fixed  PY-8569 Unwrap for loop statement should not delete else part

9 years agoKeep else part extracting try
Ekaterina Tuzova [Fri, 22 Feb 2013 11:01:18 +0000 (15:01 +0400)]
Keep else part extracting try

fixed  PY-8575 Unwrap for try should not remove content of the finally clause

9 years agodo not propose unwrap for if in elif branch
Ekaterina Tuzova [Fri, 22 Feb 2013 10:56:06 +0000 (14:56 +0400)]
do not propose unwrap for if in elif branch

fixed PY-8582 Unwrap for else doesn't propose unwrap for if, while for elif it does

9 years agotrying to avoid race conditions [r=traff]
Dmitry Jemerov [Fri, 22 Feb 2013 10:44:39 +0000 (11:44 +0100)]
trying to avoid race conditions [r=traff]

9 years agodo not search for element on previous line
Ekaterina Tuzova [Fri, 22 Feb 2013 09:33:47 +0000 (13:33 +0400)]
do not search for element on previous line

fixed PY-8595 Unwrap/Remove action should not be available with caret/selection after the statement with caret on empty line

9 years agoMerge remote-tracking branch 'origin/master'
Ekaterina Tuzova [Fri, 22 Feb 2013 08:26:07 +0000 (12:26 +0400)]
Merge remote-tracking branch 'origin/master'

9 years agoupdated test data for parsing
Ekaterina Tuzova [Fri, 22 Feb 2013 08:22:38 +0000 (12:22 +0400)]
updated test data for parsing

9 years agoAPI for conformant stub processing skip methods
Roman Shevchenko [Thu, 21 Feb 2013 10:57:57 +0000 (11:57 +0100)]
API for conformant stub processing skip methods

9 years agoDatabase IDE initial: fix ruby&python gant's
Gregory.Shrago [Thu, 21 Feb 2013 16:28:30 +0000 (20:28 +0400)]
Database IDE initial: fix ruby&python gant's

9 years agoMerge remote-tracking branch 'origin/master'
Ekaterina Tuzova [Thu, 21 Feb 2013 14:50:38 +0000 (18:50 +0400)]
Merge remote-tracking branch 'origin/master'

9 years agofixed PY-8948 Not closed quote in subscription breaks parsing for the whole file
Ekaterina Tuzova [Thu, 21 Feb 2013 14:44:46 +0000 (18:44 +0400)]
fixed PY-8948 Not closed quote in subscription breaks parsing for the whole file

9 years agoMerge remote-tracking branch 'origin/master'
Dmitry Trofimov [Thu, 21 Feb 2013 13:11:50 +0000 (17:11 +0400)]
Merge remote-tracking branch 'origin/master'

9 years agofixed PY-7151 Convert triple-quoted string to single-quoted string: do not wrap strin...
Ekaterina Tuzova [Thu, 21 Feb 2013 10:09:17 +0000 (14:09 +0400)]
fixed PY-7151 Convert triple-quoted string to single-quoted string: do not wrap string with parenthesis if initial string is already inside them

9 years agofixed PY-7152 Convert triple-quoted string to single-quoted string: missing intention...
Ekaterina Tuzova [Thu, 21 Feb 2013 09:47:41 +0000 (13:47 +0400)]
fixed PY-7152 Convert triple-quoted string to single-quoted string: missing intention for strings with prefixes

9 years agoFixed generation of type in docstring in case of it already presents as @param (PY...
Dmitry Trofimov [Thu, 21 Feb 2013 09:26:02 +0000 (13:26 +0400)]
Fixed generation of type in docstring in case of it already presents as @param (PY-8930).

9 years agoproper fix for PY-7883
Ekaterina Tuzova [Thu, 21 Feb 2013 08:12:04 +0000 (12:12 +0400)]
proper fix for PY-7883

9 years agofixed PY-8943 Specify type in docstring chooses wrong function for parameter
Ekaterina Tuzova [Wed, 20 Feb 2013 16:00:17 +0000 (20:00 +0400)]
fixed PY-8943 Specify type in docstring chooses wrong function for parameter

9 years agofixed PY-7857 Doctest: missing completion and highlighting for python keywords
Ekaterina Tuzova [Wed, 20 Feb 2013 13:55:07 +0000 (17:55 +0400)]
fixed PY-7857 Doctest: missing completion and highlighting for python keywords

9 years agofixed PY-7883 Doctest: decrease severity for errors in doctest to warnings
Ekaterina Tuzova [Wed, 20 Feb 2013 12:12:42 +0000 (16:12 +0400)]
fixed PY-7883 Doctest: decrease severity for errors in doctest to warnings

9 years agofixed PY-8025 Enable rest, epytext and doctest highlighting in strings literal assign...
Ekaterina Tuzova [Wed, 20 Feb 2013 11:47:57 +0000 (15:47 +0400)]
fixed PY-8025 Enable rest, epytext and doctest highlighting in strings literal assigned to __doc__

9 years agoadded few tests for reflow paragraph
Ekaterina Tuzova [Wed, 20 Feb 2013 10:37:53 +0000 (14:37 +0400)]
added few tests for reflow paragraph

9 years agoMerge remote-tracking branch 'origin/master'
Ekaterina Tuzova [Wed, 20 Feb 2013 10:32:51 +0000 (14:32 +0400)]
Merge remote-tracking branch 'origin/master'

9 years agoexcluded unused intentions/inspections from doctest dialect
Ekaterina Tuzova [Wed, 20 Feb 2013 10:30:30 +0000 (14:30 +0400)]
excluded unused intentions/inspections from doctest dialect
PY-8939 redundant inspections in doctests

9 years agoMerge remote-tracking branch 'origin/master'
Dmitry Trofimov [Tue, 19 Feb 2013 20:13:39 +0000 (21:13 +0100)]
Merge remote-tracking branch 'origin/master'

9 years agoSend only signature from project scope (PY-8844).
Dmitry Trofimov [Tue, 19 Feb 2013 20:12:58 +0000 (21:12 +0100)]
Send only signature from project scope (PY-8844).

9 years agofixed PY-8581 Fill Paragraph should not corrupt indentation
Ekaterina Tuzova [Tue, 19 Feb 2013 16:29:20 +0000 (20:29 +0400)]
fixed PY-8581 Fill Paragraph should not corrupt indentation
PY-8937 fill paragraph works wrong on simple strings

9 years agoreparse python files if analyze docstring settings changed
Ekaterina Tuzova [Tue, 19 Feb 2013 14:19:13 +0000 (18:19 +0400)]
reparse python files if analyze docstring settings changed
rerun code analyze on apply
fix a PY-8925 "Analyze Python code in docstrings" check box always returns to selected state

9 years agoused proper type check
Ekaterina Tuzova [Tue, 19 Feb 2013 12:06:02 +0000 (16:06 +0400)]
used proper type check
fix a PY-6756 PyCharm erroneously reports "too many arguments" for certain string formatting lines.

9 years agoMerge remote-tracking branch 'origin/master'
Ekaterina Tuzova [Tue, 19 Feb 2013 11:43:49 +0000 (15:43 +0400)]
Merge remote-tracking branch 'origin/master'

9 years agofix a PY-7318 Converting dictionary creation to dictionary literal does not handle...
Ekaterina Tuzova [Tue, 19 Feb 2013 11:03:31 +0000 (15:03 +0400)]
fix a PY-7318 Converting dictionary creation to dictionary literal does not handle duplicate items correctly

9 years agofix a PY-8926 Python: Conversion of docsting into recommended triple double-quoted...
Ekaterina Tuzova [Tue, 19 Feb 2013 10:21:47 +0000 (14:21 +0400)]
fix a PY-8926 Python: Conversion of docsting into recommended triple double-quoted form keeps doublequote at last position

9 years agoMerge remote-tracking branch 'origin/master'
Dmitry Trofimov [Mon, 18 Feb 2013 20:07:36 +0000 (21:07 +0100)]
Merge remote-tracking branch 'origin/master'

9 years agoFixed CME (PY-8686).
Dmitry Trofimov [Mon, 18 Feb 2013 19:00:16 +0000 (20:00 +0100)]
Fixed CME (PY-8686).

9 years agoFixed memory leak in debug console.
Dmitry Trofimov [Mon, 18 Feb 2013 16:32:22 +0000 (17:32 +0100)]
Fixed memory leak in debug console.

9 years agoFixed thread leak in multiprocess debugger.
Dmitry Trofimov [Mon, 18 Feb 2013 16:31:10 +0000 (17:31 +0100)]
Fixed thread leak in multiprocess debugger.

9 years agoFixed overriding method signature inspection for property setters (PY-7725)
Andrey Vlasovskikh [Mon, 18 Feb 2013 15:29:52 +0000 (19:29 +0400)]
Fixed overriding method signature inspection for property setters (PY-7725)

9 years agoSplit method overriding inspection tests
Andrey Vlasovskikh [Mon, 18 Feb 2013 14:25:15 +0000 (18:25 +0400)]
Split method overriding inspection tests

9 years agofix a PY-8654 "Add super class call" quickfix should delete "pass" statement if it...
Ekaterina Tuzova [Mon, 18 Feb 2013 14:09:59 +0000 (18:09 +0400)]
fix a PY-8654 "Add super class call" quickfix should delete "pass" statement if it was the only body of __init__ before quickfix was invoked

9 years agoFixed unresolved 'os.error' on Linux (PY-7650)
Andrey Vlasovskikh [Mon, 18 Feb 2013 12:42:19 +0000 (16:42 +0400)]
Fixed unresolved 'os.error' on Linux (PY-7650)

OSError could be imported in __builtin__ from exceptions, not defined in it as a class.

9 years agofix a PY-8704 Refactoring: Rename/Change Signature: inconsistent base class is proposed
Ekaterina Tuzova [Mon, 18 Feb 2013 12:39:36 +0000 (16:39 +0400)]
fix a PY-8704 Refactoring: Rename/Change Signature: inconsistent base class is proposed

9 years agoFixed parsing ellipsis as an expression in Python 3 (PY-8257)
Andrey Vlasovskikh [Mon, 18 Feb 2013 12:08:33 +0000 (16:08 +0400)]
Fixed parsing ellipsis as an expression in Python 3 (PY-8257)

In Python 3 ellipsis can appear anywhere, not only in sequence slicings. The parser
now always passes ellipsis, it's incorrect use is detected at the unsupported features
annotator or compatibility inspection levels.

9 years agodo not count "\n" as part of indent
Ekaterina Tuzova [Mon, 18 Feb 2013 11:07:41 +0000 (15:07 +0400)]
do not count "\n" as part of indent

9 years agoUpdated Python 3 compatibility checks to include Python 3.3 and future 3.x versions
Andrey Vlasovskikh [Mon, 18 Feb 2013 10:20:29 +0000 (14:20 +0400)]
Updated Python 3 compatibility checks to include Python 3.3 and future 3.x versions

9 years agoFixed augmented assignment inspection for non-commutative operations on weak union...
Andrey Vlasovskikh [Mon, 18 Feb 2013 09:34:23 +0000 (13:34 +0400)]
Fixed augmented assignment inspection for non-commutative operations on weak union types (PY-7605)

9 years agoCleanup
Andrey Vlasovskikh [Mon, 18 Feb 2013 09:28:16 +0000 (13:28 +0400)]
Cleanup

9 years agoFixed broken debug of new threads. Better fix for jython.
Dmitry Trofimov [Sun, 17 Feb 2013 18:03:43 +0000 (19:03 +0100)]
Fixed broken debug of new threads. Better fix for jython.

9 years agoMerge remote-tracking branch 'origin/master'
Dmitry Trofimov [Sun, 17 Feb 2013 14:01:32 +0000 (15:01 +0100)]
Merge remote-tracking branch 'origin/master'

9 years agoMerge remote-tracking branch 'origin/master'
Ekaterina Tuzova [Sun, 17 Feb 2013 09:52:25 +0000 (13:52 +0400)]
Merge remote-tracking branch 'origin/master'

9 years agodo not rename param usages if param was not renamed
Ekaterina Tuzova [Sun, 17 Feb 2013 09:50:54 +0000 (13:50 +0400)]
do not rename param usages if param was not renamed

9 years agoEnv tests work with remote python interpreters.
Dmitry Trofimov [Sat, 16 Feb 2013 21:20:11 +0000 (22:20 +0100)]
Env tests work with remote python interpreters.

9 years agoPython debugger: set socket timeout.
Dmitry Trofimov [Sat, 16 Feb 2013 20:40:58 +0000 (21:40 +0100)]
Python debugger: set socket timeout.

9 years agoMerge branch 'python-fixes'
Andrey Vlasovskikh [Fri, 15 Feb 2013 19:50:47 +0000 (23:50 +0400)]
Merge branch 'python-fixes'

9 years agoMoved Cython built-ins check to a separate CythonReference class (CR-PY-5857)
Andrey Vlasovskikh [Fri, 15 Feb 2013 19:43:30 +0000 (23:43 +0400)]
Moved Cython built-ins check to a separate CythonReference class (CR-PY-5857)

9 years agoRemoved obsolete nullable check
Andrey Vlasovskikh [Fri, 15 Feb 2013 19:19:22 +0000 (23:19 +0400)]
Removed obsolete nullable check

9 years agoShorter token type and text comparison in Cython parser (CR-PY-5856)
Andrey Vlasovskikh [Fri, 15 Feb 2013 19:03:30 +0000 (23:03 +0400)]
Shorter token type and text comparison in Cython parser (CR-PY-5856)

9 years agoSplit Python unbound variable tests into separate test cases (CR-PY-5855)
Andrey Vlasovskikh [Fri, 15 Feb 2013 18:46:20 +0000 (22:46 +0400)]
Split Python unbound variable tests into separate test cases (CR-PY-5855)

9 years agoalign children of generator expressions (PY-8822)
Dmitry Jemerov [Fri, 15 Feb 2013 18:10:21 +0000 (19:10 +0100)]
align children of generator expressions (PY-8822)

9 years agoDon't report pep8.py issue about tabs if code style settings use tabs (PY-8864)
Dmitry Jemerov [Fri, 15 Feb 2013 17:41:08 +0000 (18:41 +0100)]
Don't report pep8.py issue about tabs if code style settings use tabs (PY-8864)

9 years agoSOE protection in PyPathEvaluator wasn't complete (PY-8880)
Dmitry Jemerov [Fri, 15 Feb 2013 17:21:25 +0000 (18:21 +0100)]
SOE protection in PyPathEvaluator wasn't complete (PY-8880)

9 years agofix PY-8909 change method signature doesn't change argument names in function body
Ekaterina Tuzova [Fri, 15 Feb 2013 16:48:40 +0000 (20:48 +0400)]
fix PY-8909 change method signature doesn't change argument names in function body

9 years agoMerge remote-tracking branch 'origin/master'
Ekaterina Tuzova [Fri, 15 Feb 2013 15:49:35 +0000 (19:49 +0400)]
Merge remote-tracking branch 'origin/master'

9 years agofix CR-IC-97 (indent is counted in tab units so need multiplication instead of division)
Ekaterina Tuzova [Fri, 15 Feb 2013 15:47:10 +0000 (19:47 +0400)]
fix CR-IC-97 (indent is counted in tab units so need multiplication instead of division)
handle empty insertion line properly