nik [Tue, 25 Oct 2016 07:56:56 +0000 (10:56 +0300)]
build scripts cleanup: obsolete unused gant scripts removed
nik [Tue, 25 Oct 2016 07:32:41 +0000 (10:32 +0300)]
build scripts cleanup: obsolete unused methods from layouts.gant files are removed
Dmitry Batrak [Tue, 25 Oct 2016 07:23:15 +0000 (10:23 +0300)]
improve exception's description message
Tagir Valeev [Tue, 25 Oct 2016 05:27:51 +0000 (12:27 +0700)]
IDEA-163051 "Replace inefficient Stream API call chains ending with count()": fix leaves redundant casts
IDEA-163050 "Replace inefficient Stream API call chains ending with count()": highlighting
Tagir Valeev [Tue, 25 Oct 2016 04:38:24 +0000 (11:38 +0700)]
IDEA-163082 "can be replaced with addAll" inspection suggests a recursive call; support "this" qualifier for collect/addAll conversion
Tagir Valeev [Tue, 25 Oct 2016 04:08:21 +0000 (11:08 +0700)]
Stream API Migration: do not add type arguments if a type is a wildcard type
Mikhail Golubev [Fri, 21 Oct 2016 18:38:38 +0000 (21:38 +0300)]
PY-17265 Consistently pre-select the last component in the target module path
Namely, do it in DialogWrapper.init() instead of somewhat unreliable
UiNotifyConnector.doWhenFirstShown() and use special
DialogWrapperPeer.HAVE_INITIAL_SELECTION key so as not to lose
selection in the focused text field.
Mikhail Golubev [Fri, 21 Oct 2016 17:39:54 +0000 (20:39 +0300)]
PY-17265 Placement of inserted function is consistent with Move refactoring
Namely, if a function is being moved to another file it will be
inserted at its end unless there is a top-level usage of it. In this
case the generated function will be inserted right before the first
such usage so as not to produce unresolved references. If function
stays in the same file, it will be inserted after its original parent
statement i.e. another function or a class, again if there is no
conflicting usages.
Mikhail Golubev [Fri, 21 Oct 2016 17:15:26 +0000 (20:15 +0300)]
Use Python 3.6 as the language level for .pyi stubs
Mikhail Golubev [Wed, 19 Oct 2016 21:36:25 +0000 (00:36 +0300)]
PY-21147 Don't override MoveHandlerDelegate#doMove() method in PyMoveSymbolDelegate
Mikhail Golubev [Wed, 19 Oct 2016 21:25:41 +0000 (00:25 +0300)]
PY-21147 Don't use targetContainer param of doMove for destination path
It seems to be specified only when Move refactoring is launched outside
of the editor (according to MoveHandler's implementation) and this
refactoring doesn't support such way to run it anyway
Mikhail Golubev [Wed, 19 Oct 2016 20:58:46 +0000 (23:58 +0300)]
PY-17265 Do not search for a movable function or a reference to it under the caret manually
It was necessary when "Make ... Top-Level" was a general refactoring
action, but now by MoveHandler's machinery takes care of it.
Mikhail Golubev [Wed, 19 Oct 2016 11:39:03 +0000 (14:39 +0300)]
Remove $0 suffixes from some property keys in PyBundle
Apparently, they couldn't have been resolved because of them.
Mikhail Golubev [Wed, 19 Oct 2016 11:26:13 +0000 (14:26 +0300)]
PY-17265 Show qualified names of symbols in move dialogs if possible
Mikhail Golubev [Wed, 19 Oct 2016 11:13:49 +0000 (14:13 +0300)]
PY-17265 Better descriptions in "Make ... Top-Level" dialog
Now they are consistent with those in existing "Move Module Members"
dialog.
Mikhail Golubev [Tue, 18 Oct 2016 15:50:58 +0000 (18:50 +0300)]
PY-17265 Return the test that checks that refactoring is available
Mikhail Golubev [Tue, 18 Oct 2016 15:03:19 +0000 (18:03 +0300)]
PY-17265 Add missing test on handling imports for moved local function
Mikhail Golubev [Tue, 18 Oct 2016 14:48:17 +0000 (17:48 +0300)]
PY-17265 Cleanup related to transition to Java 8
Not all results of refactorings like transforming anonymous classes
into lambdas and replacing explicit type parameters with diamonds where
applied during rebase on the updated master.
Mikhail Golubev [Tue, 18 Oct 2016 14:43:26 +0000 (17:43 +0300)]
PY-17265 Remove wrong message in the dialog for making function top-level
Mikhail Golubev [Wed, 21 Oct 2015 12:53:48 +0000 (15:53 +0300)]
PY-17265 Extract methods PyRefactoringUtil#selectUniqueName and #selectUniqueNameFromType
Mikhail Golubev [Wed, 21 Oct 2015 10:01:50 +0000 (13:01 +0300)]
PY-17265 Simplify PyMoveModuleMembersProcessor's constructor similarly to PyBaseMakeFunctionTopLevelProcessor
Mikhail Golubev [Tue, 20 Oct 2015 13:59:35 +0000 (16:59 +0300)]
PY-17265 Better presentations of symbol names in the UI and error messages of move refactorings
Mikhail Golubev [Tue, 20 Oct 2015 13:56:51 +0000 (16:56 +0300)]
Add missing @NotNull annotations on arguments of PyFile#find* methods
Mikhail Golubev [Tue, 20 Oct 2015 13:44:21 +0000 (16:44 +0300)]
PY-17265 Move package "makeFunctionTopLevel" under "com.jetbrains.refactoring.move", add subpackage "moduleMembers"
Mikhail Golubev [Tue, 20 Oct 2015 13:13:55 +0000 (16:13 +0300)]
PY-17265 Check that target module doesn't contain function with this name already and is importable
Mikhail Golubev [Tue, 20 Oct 2015 12:06:53 +0000 (15:06 +0300)]
PY-17265 Correctly update usages inside function escalated to other file
Mikhail Golubev [Mon, 19 Oct 2015 18:18:47 +0000 (21:18 +0300)]
PY-17265 Introduce new dialog for escalating local functions and methods
This dialog is similar to that previously used to move module members.
Mikhail Golubev [Mon, 19 Oct 2015 12:36:51 +0000 (15:36 +0300)]
PY-17265 Get rid of awkward singleton dialog policy
Mikhail Golubev [Mon, 19 Oct 2015 12:22:30 +0000 (15:22 +0300)]
PY-17265 Extracted PyBaseMoveDialog to later create new dialog for the refactoring
Mikhail Golubev [Sun, 24 Jul 2016 10:57:49 +0000 (12:57 +0200)]
PY-20377 Python dialect for annotations inside function type comments
I also get rid of the legacy support of function type comments:
namely, removed PyFunctionTypeCommentReferenceContributor, and
PyTypingAnnotationInjector now handles type comments both for functions
and regular target expressions.
Mikhail Golubev [Mon, 25 Jul 2016 09:13:40 +0000 (11:13 +0200)]
Use #getParentDefinitionDocstring() in PyDocstringLanguageInjector
Mikhail Golubev [Sun, 23 Oct 2016 12:46:54 +0000 (15:46 +0300)]
PY-20801 Add missing "Intention" suffix to the name the class
Mikhail Golubev [Thu, 20 Oct 2016 21:25:31 +0000 (00:25 +0300)]
PY-20801 Handle cases with nested target expressions and unpacking
Mikhail Golubev [Thu, 20 Oct 2016 15:37:16 +0000 (18:37 +0300)]
PY-20801 Handle "with" statements and "for" loops by declaring type beforehand
Mikhail Golubev [Thu, 20 Oct 2016 14:57:09 +0000 (17:57 +0300)]
PY-20801 "Convert to variable annotation" for simple assignments
irengrig [Fri, 21 Oct 2016 15:43:24 +0000 (17:43 +0200)]
remove unused code (convert to template string)
Konstantin Bulenkov [Mon, 24 Oct 2016 18:23:47 +0000 (20:23 +0200)]
win 10: redesign combobox action button
Roman Shevchenko [Mon, 24 Oct 2016 17:11:30 +0000 (19:11 +0200)]
[java] module files change tracker - rename detection; single tracking point (IDEA-CR-14933)
Valentina Kiryushkina [Mon, 24 Oct 2016 17:01:22 +0000 (20:01 +0300)]
Ipnb Fix according to a new api after merge
Valentina Kiryushkina [Thu, 20 Oct 2016 15:09:04 +0000 (18:09 +0300)]
Inspect code
Valentina Kiryushkina [Thu, 20 Oct 2016 14:56:30 +0000 (17:56 +0300)]
PY-19960 PY-14096 Merge right-click menu creation for toggle output and split/merge actions
Valentina Kiryushkina [Wed, 19 Oct 2016 17:53:28 +0000 (20:53 +0300)]
PY-19960 Minor Reformat and remove obsolete TODO
Valentina Kiryushkina [Wed, 19 Oct 2016 17:45:00 +0000 (20:45 +0300)]
PY-19960 Do not show merge above/below action if there's no corresponding action
Valentina Kiryushkina [Wed, 19 Oct 2016 17:42:17 +0000 (20:42 +0300)]
PY-19960 Log validation failures
Valentina Kiryushkina [Wed, 19 Oct 2016 17:40:39 +0000 (20:40 +0300)]
PY-19960 Minor Add NotNull annotation
Valentina Kiryushkina [Wed, 19 Oct 2016 17:19:20 +0000 (20:19 +0300)]
PY-19960 Rename: mySelectedCell -> mySelectedCellPanel
Valentina Kiryushkina [Wed, 19 Oct 2016 17:17:38 +0000 (20:17 +0300)]
PY-19960 Use getters to access cell panel fields
Valentina Kiryushkina [Wed, 19 Oct 2016 09:10:55 +0000 (12:10 +0300)]
PY-19960 Don't make empty code output panel hideable
Valentina Kiryushkina [Wed, 19 Oct 2016 09:08:42 +0000 (12:08 +0300)]
PY-19960 Cleanup
Valentina Kiryushkina [Mon, 17 Oct 2016 08:40:43 +0000 (11:40 +0300)]
PY-19960 Refactor: extract method and rename variable for readability
Valentina Kiryushkina [Fri, 14 Oct 2016 16:12:03 +0000 (19:12 +0300)]
PY-19960 Split markdown and heading cells correctly
Valentina Kiryushkina [Fri, 14 Oct 2016 15:54:49 +0000 (18:54 +0300)]
PY-19960 UI change: use right-click pop-up menu to merge and split cells
Valentina Kiryushkina [Fri, 14 Oct 2016 15:02:49 +0000 (18:02 +0300)]
PY-19960 Minor Disable context menu with reload action
Valentina Kiryushkina [Fri, 14 Oct 2016 14:41:24 +0000 (17:41 +0300)]
PY-19960 Minor Reformat
Valentina Kiryushkina [Tue, 11 Oct 2016 10:56:21 +0000 (13:56 +0300)]
PY-19960 Add initial support for split and merge cells
Valentina Kiryushkina [Mon, 10 Oct 2016 12:12:05 +0000 (15:12 +0300)]
Fix PY-14096 Update code panel correctly
Valentina Kiryushkina [Fri, 7 Oct 2016 16:19:56 +0000 (19:19 +0300)]
Fix PY-14096 Respect "collapsed" cell metadata
Valentina Kiryushkina [Fri, 7 Oct 2016 14:52:34 +0000 (17:52 +0300)]
Fix PY-14096 Minor Make mouse listener nullable
Valentina Kiryushkina [Fri, 7 Oct 2016 13:09:12 +0000 (16:09 +0300)]
Fix PY-14096 Add popup menu on right click
Valentina Kiryushkina [Fri, 7 Oct 2016 11:23:13 +0000 (14:23 +0300)]
Fix PY-14096 Minor Refactor output panel creation
Valentina Kiryushkina [Fri, 7 Oct 2016 11:07:00 +0000 (14:07 +0300)]
Fix PY-14096 Make toggle bar prettier
Valentina Kiryushkina [Thu, 22 Sep 2016 15:23:46 +0000 (18:23 +0300)]
Fix PY-14096 Collapse code cells
Valentina Kiryushkina [Wed, 21 Sep 2016 14:53:57 +0000 (17:53 +0300)]
Fix PY-16463 Would be nice to make a link in the IPythonNotebook console
Valentina Kiryushkina [Tue, 20 Sep 2016 17:23:37 +0000 (20:23 +0300)]
Fix PY-19654 Validate cell: show warning for invalid cells, but try to display ipnb file
Roman Shevchenko [Mon, 24 Oct 2016 16:27:34 +0000 (18:27 +0200)]
Cleanup (formatting)
Semyon Proshev [Mon, 24 Oct 2016 16:18:34 +0000 (19:18 +0300)]
Update PyNamedParameterImpl.collectUsedAttributes to not to make false positives with imported len functions
peter [Mon, 24 Oct 2016 15:49:36 +0000 (17:49 +0200)]
TypeMigrationLabeler invokeLater: be prepared to possible PSI invalidations
Egor.Ushakov [Mon, 24 Oct 2016 16:08:26 +0000 (19:08 +0300)]
IDEA-162947 Add ability to use lambda expressions in breakpoint conditions
- support log expressions as well
Egor.Ushakov [Mon, 24 Oct 2016 15:50:46 +0000 (18:50 +0300)]
fixed condition extraction in tests
Egor.Ushakov [Mon, 24 Oct 2016 12:34:22 +0000 (15:34 +0300)]
cleanup
Aleksey Pivovarov [Fri, 14 Oct 2016 11:32:22 +0000 (14:32 +0300)]
diff: "Jump to Source" - do not use CommonDataKeys.NAVIGATABLE to avoid clash with code navigation
Aleksey Pivovarov [Mon, 24 Oct 2016 15:19:55 +0000 (18:19 +0300)]
diff: "Jump to Source" - consume shortcut if action is disabled
Aleksey Pivovarov [Mon, 24 Oct 2016 15:16:56 +0000 (18:16 +0300)]
diff: "Jump to Source" - do not open temporary binary files
Roman Shevchenko [Mon, 24 Oct 2016 15:46:09 +0000 (17:46 +0200)]
[java] module files change tracker - more lightweight instance cache (IDEA-CR-14933)
Roman Shevchenko [Mon, 24 Oct 2016 15:26:43 +0000 (17:26 +0200)]
Cleanup (cosmetics - IDEA-CR-14871)
Roman Shevchenko [Mon, 24 Oct 2016 15:18:02 +0000 (17:18 +0200)]
Merge remote-tracking branch 'origin/master'
Roman Shevchenko [Mon, 24 Oct 2016 15:17:30 +0000 (17:17 +0200)]
[java] module files change tracker
Julia Beliaeva [Mon, 24 Oct 2016 15:14:38 +0000 (18:14 +0300)]
[vcs-log] minor: better format
Julia Beliaeva [Mon, 24 Oct 2016 15:13:33 +0000 (18:13 +0300)]
[vcs-log] minor: use Comparator.comparing
Julia Beliaeva [Mon, 24 Oct 2016 15:12:51 +0000 (18:12 +0300)]
[vcs-log] minor: remove unused method
Julia Beliaeva [Mon, 24 Oct 2016 15:12:24 +0000 (18:12 +0300)]
[vcs-log] minor: use method references
Julia Beliaeva [Mon, 24 Oct 2016 15:09:51 +0000 (18:09 +0300)]
[vcs-log] minor: move file and user filter classes to impl package
Julia Beliaeva [Mon, 24 Oct 2016 15:00:04 +0000 (18:00 +0300)]
[vcs-log] minor: move VcsLogStorage to data
Julia Beliaeva [Mon, 24 Oct 2016 14:57:00 +0000 (17:57 +0300)]
[vcs-log] minor: move VcsLogRootFilterImpl to impl package
Julia Beliaeva [Mon, 24 Oct 2016 14:54:58 +0000 (17:54 +0300)]
[vcs-log] minor: move TroveUtil to util package
Roman Shevchenko [Mon, 24 Oct 2016 15:09:22 +0000 (17:09 +0200)]
[java] fixes module resolve results caching
Vassiliy.Kudryashov [Mon, 24 Oct 2016 14:39:30 +0000 (17:39 +0300)]
Add new action: Maximize/Restore Active Dialog
Vassiliy.Kudryashov [Mon, 24 Oct 2016 14:04:30 +0000 (17:04 +0300)]
Don't resize non-resizable dialogs
nik [Mon, 24 Oct 2016 14:55:53 +0000 (17:55 +0300)]
build scripts: don't fail if JRE for Windows isn't available (IDEA-163031, IDEA-CR-14908)
Dmitry Batrak [Mon, 24 Oct 2016 14:55:30 +0000 (17:55 +0300)]
avoid caret visual position changes on parameter hints adding (IDEA-115424)
Dmitry Batkovich [Mon, 24 Oct 2016 14:54:08 +0000 (17:54 +0300)]
revert redundant Project argument since getFilesToSearchInPsi() is accessed only in EDT
Anna.Kozlova [Mon, 24 Oct 2016 14:44:50 +0000 (16:44 +0200)]
junit: don't treat provider methods as test methods (IDEA-163058)
Dmitry Batkovich [Mon, 24 Oct 2016 14:46:45 +0000 (17:46 +0300)]
function expression searcher: find most likely files only among of files where occurrences was found
Rustam Vishnyakov [Mon, 24 Oct 2016 14:38:49 +0000 (17:38 +0300)]
Adjust indent synchronously on relatively small files
Semyon Proshev [Thu, 20 Oct 2016 17:51:54 +0000 (20:51 +0300)]
PY-20832 Fixed: __iter__ is not inferred from for-statement
Update PyNamedParameterImpl.collectUsedAttributes to honour for-statements
Semyon Proshev [Thu, 20 Oct 2016 17:47:13 +0000 (20:47 +0300)]
PY-20833 Fixed: __len__ is not inferred from len(...)-statement
Update PyNamedParameterImpl.collectUsedAttributes to honour len(...)-statements
Semyon Proshev [Fri, 21 Oct 2016 15:42:59 +0000 (18:42 +0300)]
PY-20364 Fixed: Hinting does not support `basestring` in `open()`
Replace actual basestring type with union of str and unicode while matching types in PyTypeChecker
Semyon Proshev [Thu, 20 Oct 2016 16:34:44 +0000 (19:34 +0300)]
PY-20939 Fixed: PyCharm should not suggest to update locally patched package of the last version
Override compareVersions in PyPackageManagementService to catch equal package versions which are not handled by VERSION_COMPARATOR
Dmitry Batrak [Mon, 24 Oct 2016 14:29:07 +0000 (17:29 +0300)]
make Caret.getOffset() work correctly from a side thread (under read action)
caret/selection marker disposal will be handled by RangeMarkerTree when no references to them will be left
Alexey Kudravtsev [Mon, 24 Oct 2016 14:21:46 +0000 (17:21 +0300)]
NPE