idea/community.git
4 years agoTake encoding from settings
Dmitry Trofimov [Wed, 1 Feb 2017 14:23:54 +0000 (15:23 +0100)]
Take encoding from settings

4 years ago[groovy] cleanup: make TokenSets interface
Daniil Ovchinnikov [Wed, 1 Feb 2017 14:21:58 +0000 (17:21 +0300)]
[groovy] cleanup: make TokenSets interface

4 years ago[push]: add pre-push handlers that can be run on changes before the push
Sergey Patrikeev [Fri, 20 Jan 2017 10:57:58 +0000 (13:57 +0300)]
[push]: add pre-push handlers that can be run on changes before the push

* add an extension point for pre-push handlers;
* catch handler exceptions and show a message if something went wrong
 during pre-push checks;
* update progress indicator fraction according to each handler progress
 state;
* handle user cancel action by suggesting to push anyway or cancel;

4 years agoBundledKeymapProvider should be able to override default load logic
Vladimir Krivosheev [Wed, 1 Feb 2017 14:06:13 +0000 (15:06 +0100)]
BundledKeymapProvider should be able to override default load logic

4 years agoadd NotNull
Vladimir Krivosheev [Wed, 1 Feb 2017 13:54:35 +0000 (14:54 +0100)]
add NotNull

4 years ago[groovy] cleanup: remove ASSIGN_OP_SET TokenSet, use ASSIGNMENTS instead
Daniil Ovchinnikov [Wed, 1 Feb 2017 14:02:32 +0000 (17:02 +0300)]
[groovy] cleanup: remove ASSIGN_OP_SET TokenSet, use ASSIGNMENTS instead

4 years agomodules tree: fixed condition for recreating module nodes.
nik [Wed, 1 Feb 2017 14:03:16 +0000 (17:03 +0300)]
modules tree: fixed condition for recreating module nodes.

Don't recreate module node if it was under root and its parent group wasn't changed. Do recreate module node if it was a parent node for other modules and its name was changed.

4 years agoPY-14605 Minor 1) Fix typo in login url parameter 2) Remove commented code
Valentina Kiryushkina [Wed, 1 Feb 2017 12:55:19 +0000 (15:55 +0300)]
PY-14605 Minor 1) Fix typo in login url parameter 2) Remove commented code

4 years agorename inRange() to onRange() and move to TreeTraversal
Gregory.Shrago [Wed, 1 Feb 2017 11:00:54 +0000 (14:00 +0300)]
rename inRange() to onRange() and move to TreeTraversal

4 years agoChange the checkbox label rubymine/171.2879
Dmitry Trofimov [Wed, 1 Feb 2017 13:44:23 +0000 (14:44 +0100)]
Change the checkbox label

4 years agoPY-22460: Check variable before accessing it dbe/171.2877
Ilya.Kazakevich [Wed, 1 Feb 2017 01:40:24 +0000 (04:40 +0300)]
PY-22460: Check variable before accessing it

4 years agoNew test runners: Splitting flat names to tree
Ilya.Kazakevich [Wed, 1 Feb 2017 01:34:34 +0000 (04:34 +0300)]
New test runners: Splitting flat names to tree

* Tests are provided in format like "foo.bar", but we need to convert
them to parent-child

4 years agoNew test runners: do not set test duration to 0 explicitly
Ilya.Kazakevich [Wed, 1 Feb 2017 00:27:08 +0000 (03:27 +0300)]
New test runners: do not set test duration to 0 explicitly

* See commend in code

4 years agoPY-22401: Infinite loop fixed for cases when element can't be resolved
Ilya.Kazakevich [Fri, 27 Jan 2017 22:08:52 +0000 (01:08 +0300)]
PY-22401: Infinite loop fixed for cases when element can't be resolved

* PyQualifiedName::removeLastElement() does not change instance ,
it just creates new instance leaving former unchanged. So,
currentName was always "initialName - 1 component"

4 years agoPY-22410: Do not provide target for custom mode
Ilya.Kazakevich [Fri, 27 Jan 2017 21:49:20 +0000 (00:49 +0300)]
PY-22410: Do not provide target for custom mode

4 years agoPY-22414: Path should be list, not string
Ilya.Kazakevich [Fri, 27 Jan 2017 21:37:51 +0000 (00:37 +0300)]
PY-22414: Path should be list, not string
* imp API misused. Py2 allows it, while Py3K does not. Now fixed
according to docs.

4 years agoPY-22378: New test runners: preserve old configurations
Ilya.Kazakevich [Wed, 25 Jan 2017 21:10:42 +0000 (00:10 +0300)]
PY-22378: New test runners: preserve old configurations

4 years agoNew test runners: legacy configuration detection improved
Ilya.Kazakevich [Wed, 25 Jan 2017 17:20:56 +0000 (20:20 +0300)]
New test runners: legacy configuration detection improved
* In old version we used to check testType which is never null

4 years agoPY-22379: New test runners: background removed
Ilya.Kazakevich [Wed, 25 Jan 2017 15:38:49 +0000 (18:38 +0300)]
PY-22379: New test runners: background removed

4 years agoPY-22376: New test runners: Filter out DocTest configurations
Ilya.Kazakevich [Wed, 25 Jan 2017 14:20:53 +0000 (17:20 +0300)]
PY-22376: New test runners: Filter out DocTest configurations
* When RunConfigurationProducer finds config with id "test" it provides
it to new configuration producer to check. But it could be doctest
configuration and it leads to classcast

4 years agoNew test runners: Disable one of two configuration producers
Ilya.Kazakevich [Tue, 24 Jan 2017 13:13:23 +0000 (16:13 +0300)]
New test runners: Disable one of two configuration producers
* See disableUnneededConfigurationProducer doc

4 years agoNew test runners: Support "unittest pattern"
Ilya.Kazakevich [Tue, 24 Jan 2017 11:49:57 +0000 (14:49 +0300)]
New test runners: Support "unittest pattern"

4 years agoNew test runners: convert old configurations to new format
Ilya.Kazakevich [Mon, 23 Jan 2017 21:24:09 +0000 (00:24 +0300)]
New test runners: convert old configurations to new format
* We can't loose old configurations. This change allows them to be
 imported and saved as new one.
 * Old configurations renamed to "legacy"
 * All legacy-specific code moved to PyUniversalTestLegacyInterop.kt
 to be removed later.
 * One type is now used for old and new configurations

4 years agoNew test runners: ReflectionUtil delegation property bug fixed
Ilya.Kazakevich [Sat, 21 Jan 2017 12:11:47 +0000 (15:11 +0300)]
New test runners: ReflectionUtil delegation property bug fixed

4 years agoNew test runners: folder renamed to path according to protocol
Ilya.Kazakevich [Sat, 21 Jan 2017 11:20:35 +0000 (14:20 +0300)]
New test runners: folder renamed to path according to protocol

4 years agoNew test runners: factory parametrized with configuration type to improve type safety
Ilya.Kazakevich [Wed, 18 Jan 2017 20:26:19 +0000 (23:26 +0300)]
New test runners: factory parametrized with configuration type to improve type safety

4 years agoNew test runners: findElement renamed to toElement and moved to QualifiedNameExt...
Ilya.Kazakevich [Tue, 17 Jan 2017 22:45:58 +0000 (01:45 +0300)]
New test runners: findElement renamed to toElement and moved to QualifiedNameExt according to review IDEA-CR-17341

4 years agoNew python test runners API based on Leonid s TC runners
Ilya.Kazakevich [Mon, 16 Jan 2017 20:02:31 +0000 (23:02 +0300)]
New python test runners API based on Leonid s TC runners

* Fixing according to review:/IDEA-CR-17341

4 years agoNew python test runners API based on Leonid s TC runners
Ilya.Kazakevich [Sat, 14 Jan 2017 02:10:03 +0000 (05:10 +0300)]
New python test runners API based on Leonid s TC runners

 * See https://confluence.jetbrains.com/display/~link/PyCharm+test+runners+protocol
 * See "universalTests" package

4 years agoATTest removed
Ilya.Kazakevich [Sat, 14 Jan 2017 02:06:54 +0000 (05:06 +0300)]
ATTest removed
 * Beta version does not have any updates since 2012

4 years agoTypes added to raw classes
Ilya.Kazakevich [Sat, 14 Jan 2017 02:05:41 +0000 (05:05 +0300)]
Types added to raw classes

* Test classes are now typesafe

4 years agoMake ConsoleViewImpl.rehighlightHyperlinksAndFoldings public (used in Rider)
Andrey Akinshin [Wed, 1 Feb 2017 13:17:16 +0000 (16:17 +0300)]
Make ConsoleViewImpl.rehighlightHyperlinksAndFoldings public (used in Rider)

4 years agoIDEA-166860 Method with generics and annotation incorrectly parsed
alexey.afanasiev [Wed, 1 Feb 2017 12:59:49 +0000 (15:59 +0300)]
IDEA-166860 Method with generics and annotation incorrectly parsed

4 years agoAdd todo note
Dmitry Trofimov [Wed, 1 Feb 2017 12:32:29 +0000 (13:32 +0100)]
Add todo note

4 years agoqualified module names: don't show module name in Project View if it matches director... appcode/171.2875 clion/171.2874 phpstorm/171.2876 pycharm/171.2873
nik [Wed, 1 Feb 2017 11:43:27 +0000 (14:43 +0300)]
qualified module names: don't show module name in Project View if it matches directory structure (IDEA-166061)

If module name can be composed by appending its directory name to a module name for the parent directory it makes no sense to show the full module name on the directory node in Project View.

4 years agoDisable terminal emulation mode on Windows
Dmitry Trofimov [Wed, 1 Feb 2017 11:34:51 +0000 (12:34 +0100)]
Disable terminal emulation mode on Windows

4 years agoOption to run python process in a terminal emulation mode (PY-22487)
Dmitry Trofimov [Wed, 1 Feb 2017 09:54:38 +0000 (10:54 +0100)]
Option to run python process in a terminal emulation mode (PY-22487)

4 years agotry a bit harder to gc leaky projects
peter [Wed, 1 Feb 2017 11:21:52 +0000 (12:21 +0100)]
try a bit harder to gc leaky projects

4 years agoIDEA-167189 Incorrect inspection for Ratpack's Promise.next()
alexey.afanasiev [Wed, 1 Feb 2017 11:18:26 +0000 (14:18 +0300)]
IDEA-167189 Incorrect inspection for Ratpack's Promise.next()

4 years agocleanup
Alexey Kudravtsev [Fri, 27 Jan 2017 15:12:34 +0000 (18:12 +0300)]
cleanup

4 years agoproject is already disposed fixed
Alexey Kudravtsev [Fri, 27 Jan 2017 15:08:45 +0000 (18:08 +0300)]
project is already disposed fixed

4 years agoblinking test fixed
Alexey Kudravtsev [Fri, 27 Jan 2017 15:05:50 +0000 (18:05 +0300)]
blinking test fixed

4 years agorenamed to match field
Alexey Kudravtsev [Fri, 27 Jan 2017 14:41:57 +0000 (17:41 +0300)]
renamed to match field

4 years agoproject leak fixed
Alexey Kudravtsev [Fri, 27 Jan 2017 14:36:27 +0000 (17:36 +0300)]
project leak fixed

4 years agodisposed project leak via later invocator queue fixed
Alexey Kudravtsev [Fri, 27 Jan 2017 13:43:25 +0000 (16:43 +0300)]
disposed project leak via later invocator queue fixed

4 years agocleanup
Alexey Kudravtsev [Fri, 27 Jan 2017 11:52:35 +0000 (14:52 +0300)]
cleanup

4 years agofix collecting completion stats for methods with argument suggestions
peter [Wed, 1 Feb 2017 10:34:35 +0000 (11:34 +0100)]
fix collecting completion stats for methods with argument suggestions

ensure that we don't change the tracked document range when starting live template

4 years agoextract delayed completion statistics logic out of CompletionLookupArranger
peter [Wed, 1 Feb 2017 10:25:38 +0000 (11:25 +0100)]
extract delayed completion statistics logic out of CompletionLookupArranger

4 years agoPlatformTestUtil: extracted method which allows testing real presentation of Abstract...
nik [Wed, 1 Feb 2017 10:45:50 +0000 (13:45 +0300)]
PlatformTestUtil: extracted method which allows testing real presentation of AbstractTreeNodes

4 years agoPlatformTestUtil simplified: some methods inlined, methods used only internally marke...
nik [Wed, 1 Feb 2017 09:31:21 +0000 (12:31 +0300)]
PlatformTestUtil simplified: some methods inlined, methods used only internally marked as private

4 years agoStreamToLoopInspection: support some simple StreamEx scenarios; support Java 9 takeWh...
Tagir Valeev [Wed, 1 Feb 2017 10:32:15 +0000 (13:32 +0300)]
StreamToLoopInspection: support some simple StreamEx scenarios; support Java 9 takeWhile/dropWhile

4 years agoper-project temp directory to avoid conflics when two or more projects are building
Eugene Zhuravlev [Wed, 1 Feb 2017 10:36:10 +0000 (11:36 +0100)]
per-project temp directory to avoid conflics when two or more projects are building

4 years agoasync debugger: capture strings
Egor.Ushakov [Wed, 1 Feb 2017 10:31:03 +0000 (13:31 +0300)]
async debugger: capture strings

4 years agoWEB-20921 Add support for valid HTML syntax for including LESS/SCSS in <style> tags
Alexander Zolotov [Tue, 31 Jan 2017 20:55:11 +0000 (23:55 +0300)]
WEB-20921 Add support for valid HTML syntax for including LESS/SCSS in <style> tags

4 years agoIDEA-CR-17158 javadoc
Vladimir Krivosheev [Wed, 1 Feb 2017 10:19:55 +0000 (11:19 +0100)]
IDEA-CR-17158 javadoc

4 years agoIDEA-CR-17843 give a meaningful name dbe/171.2870
Vladimir Krivosheev [Wed, 1 Feb 2017 09:54:57 +0000 (10:54 +0100)]
IDEA-CR-17843  give a meaningful name

4 years agoIDEA-167459 [windows] balloons text are cut in multi-dpi-monitor env w/ new hidpi idea/171.2869
Anton Tarasov [Wed, 1 Feb 2017 09:00:13 +0000 (12:00 +0300)]
IDEA-167459 [windows] balloons text are cut in multi-dpi-monitor env w/ new hidpi

4 years agoexecute refactoring listeners with alternative resolve enabled
Anna.Kozlova [Tue, 31 Jan 2017 15:14:32 +0000 (16:14 +0100)]
execute refactoring listeners with alternative resolve enabled
EA-95396 - INRE: FileBasedIndexImpl.handleDumbMode

4 years agoEA-95510 - assert: SMTestProxy$.printOn
Anna.Kozlova [Tue, 31 Jan 2017 15:07:31 +0000 (16:07 +0100)]
EA-95510 - assert: SMTestProxy$.printOn

4 years agoasync debugger: allow to specify empty insert class name
Egor.Ushakov [Wed, 1 Feb 2017 08:59:56 +0000 (11:59 +0300)]
async debugger: allow to specify empty insert class name

4 years agoModifierFilter: Typos fixed, toString() optimized appcode/171.2868 clion/171.2867
Tagir Valeev [Wed, 1 Feb 2017 08:32:51 +0000 (11:32 +0300)]
ModifierFilter: Typos fixed, toString() optimized

4 years agoIDEA-167452 Reduce false-positives in "string concatenation in loop" inspection
Tagir Valeev [Wed, 1 Feb 2017 08:18:37 +0000 (11:18 +0300)]
IDEA-167452 Reduce false-positives in "string concatenation in loop" inspection

4 years agoprefer lookup items with shorter tail text (e.g. List#add(element) without index)
peter [Wed, 1 Feb 2017 08:22:15 +0000 (09:22 +0100)]
prefer lookup items with shorter tail text (e.g. List#add(element) without index)

4 years agodon't drop completion stats on prefix change, it's now prefix-independent
peter [Wed, 1 Feb 2017 08:16:14 +0000 (09:16 +0100)]
don't drop completion stats on prefix change, it's now prefix-independent

4 years agosimplification: use generified TreeUtil.sortRecursively to avoid casts idea/171.2866
nik [Tue, 31 Jan 2017 15:53:50 +0000 (18:53 +0300)]
simplification: use generified TreeUtil.sortRecursively to avoid casts

4 years agosimplification: use TreeUtil.sortChildren method
nik [Tue, 31 Jan 2017 15:43:15 +0000 (18:43 +0300)]
simplification: use TreeUtil.sortChildren method

4 years agoIDEA-167444 Deletion of css dialect or template data language left an artefact and... appcode/171.2861 clion/171.2863 dbe/171.2857 phpstorm/171.2859 pycharm/171.2858 rubymine/171.2862 webstorm/171.2864
Gregory.Shrago [Wed, 1 Feb 2017 00:32:10 +0000 (03:32 +0300)]
IDEA-167444 Deletion of css dialect or template data language left an artefact and causes an IOOBE

4 years agoMerge remote-tracking branch 'origin/master'
Konstantin Bulenkov [Tue, 31 Jan 2017 23:17:21 +0000 (02:17 +0300)]
Merge remote-tracking branch 'origin/master'

4 years agoALL-1311 Clicking on an project which is already open does not bring that project...
Konstantin Bulenkov [Tue, 31 Jan 2017 23:15:52 +0000 (02:15 +0300)]
ALL-1311 Clicking on an project which is already open does not bring that project to foreground

4 years agodon't loose right selection during the focus ping-pong from the path field
Sergey Ignatov [Tue, 31 Jan 2017 22:44:05 +0000 (01:44 +0300)]
don't loose right selection during the focus ping-pong from the path field

4 years agoupdate completion test expectations
peter [Tue, 31 Jan 2017 21:30:02 +0000 (22:30 +0100)]
update completion test expectations

4 years agoless garbage: no new instance on empty collection
Gregory.Shrago [Tue, 31 Jan 2017 20:57:16 +0000 (23:57 +0300)]
less garbage: no new instance on empty collection

4 years agomove TraverserBasedASTNode to lang-impl
Gregory.Shrago [Tue, 31 Jan 2017 17:03:36 +0000 (20:03 +0300)]
move TraverserBasedASTNode to lang-impl

4 years ago[file-history] return unmodified visible graph if can not find current row
Julia Beliaeva [Mon, 30 Jan 2017 19:34:44 +0000 (22:34 +0300)]
[file-history] return unmodified visible graph if can not find current row

4 years ago[vcs-log] remove unused class
Julia Beliaeva [Mon, 30 Jan 2017 19:29:57 +0000 (22:29 +0300)]
[vcs-log] remove unused class

4 years ago[file-history] always push path for a commit into the stack, even if it was not renamed
Julia Beliaeva [Mon, 30 Jan 2017 18:45:41 +0000 (21:45 +0300)]
[file-history] always push path for a commit into the stack, even if it was not renamed

It ensures consistency between paths stack and nodes stack.

4 years ago[file-history] use continue outer statement instead of a boolean flag to simplify...
Julia Beliaeva [Mon, 30 Jan 2017 18:31:56 +0000 (21:31 +0300)]
[file-history] use continue outer statement instead of a boolean flag to simplify code understanding

4 years ago[file-history] move NodeVisitor and walk method to DfsUtil and add a comment for...
Julia Beliaeva [Mon, 30 Jan 2017 18:15:18 +0000 (21:15 +0300)]
[file-history] move NodeVisitor and walk method to DfsUtil and add a comment for walk method

4 years ago[file-history] simplify file history pack creation code, check vg on being non-empty
Julia Beliaeva [Sat, 28 Jan 2017 17:03:30 +0000 (20:03 +0300)]
[file-history] simplify file history pack creation code, check vg on being non-empty

4 years ago[file-history] add paths from both maps in FileNamesData
Julia Beliaeva [Mon, 30 Jan 2017 16:29:28 +0000 (19:29 +0300)]
[file-history] add paths from both maps in FileNamesData

4 years ago[file-history] use SmartHashSet since most commits have one affected path
Julia Beliaeva [Mon, 30 Jan 2017 16:26:58 +0000 (19:26 +0300)]
[file-history] use SmartHashSet since most commits have one affected path

4 years ago[vcs-log] use ChangesUtil to retrieve vcs for selected changes
Julia Beliaeva [Fri, 27 Jan 2017 15:17:50 +0000 (18:17 +0300)]
[vcs-log] use ChangesUtil to retrieve vcs for selected changes

4 years ago[file-history] minor: extract variable
Julia Beliaeva [Fri, 27 Jan 2017 15:15:07 +0000 (18:15 +0300)]
[file-history] minor: extract variable

4 years ago[file-history] create api for log file history and use it inside standard action
Julia Beliaeva [Thu, 26 Jan 2017 19:03:52 +0000 (22:03 +0300)]
[file-history] create api for log file history and use it inside standard action

4 years ago[vcs-log] move ep for log providers to api
Julia Beliaeva [Thu, 26 Jan 2017 17:47:29 +0000 (20:47 +0300)]
[vcs-log] move ep for log providers to api

4 years ago[file-history] provide file names data with visible pack for the ui
Julia Beliaeva [Tue, 24 Jan 2017 19:58:54 +0000 (22:58 +0300)]
[file-history] provide file names data with visible pack for the ui

4 years ago[file-history] refine file history by removing commits that change different files...
Julia Beliaeva [Tue, 24 Jan 2017 03:35:39 +0000 (06:35 +0300)]
[file-history] refine file history by removing commits that change different files having the same name

How it is done:
1. Collect data from index, containing files for commits and renames for commits.
2. Find the last revision under HEAD that changes the file.
3. Starting from this revision walk the visible graph, keeping track of file names, and remove some commits that do not fit.

4 years ago[vcs-log] make nodeDfsIterator static, rename to walk
Julia Beliaeva [Mon, 23 Jan 2017 16:34:59 +0000 (19:34 +0300)]
[vcs-log] make nodeDfsIterator static, rename to walk

4 years ago[vcs-log] extract IndexDataGetter class, responsible for getting various data availab...
Julia Beliaeva [Sun, 22 Jan 2017 18:33:19 +0000 (21:33 +0300)]
[vcs-log] extract IndexDataGetter class, responsible for getting various data available from indexes

4 years ago[file-history] create VisiblePackBuilder (also known as VcsLogFilterer) in the ui...
Julia Beliaeva [Mon, 23 Jan 2017 19:28:47 +0000 (22:28 +0300)]
[file-history] create VisiblePackBuilder (also known as VcsLogFilterer) in the ui factory

This allows to customise filtering process and suite it better for file history needs. Namely, for calculating references on other branches and for collecting file paths data and removing unrelated commits that affect the same file path.

4 years ago[vcs-log] changes browser provides vcs key
Julia Beliaeva [Mon, 23 Jan 2017 17:37:02 +0000 (20:37 +0300)]
[vcs-log] changes browser provides vcs key

4 years ago[file-history] simplify update for file history action
Julia Beliaeva [Fri, 20 Jan 2017 18:15:15 +0000 (21:15 +0300)]
[file-history] simplify update for file history action

4 years ago[file-history] get file names only affected by selected revision
Julia Beliaeva [Fri, 20 Jan 2017 17:25:29 +0000 (20:25 +0300)]
[file-history] get file names only affected by selected revision

4 years ago[vcs-log] minor: convert myUi to local variable
Julia Beliaeva [Fri, 13 Jan 2017 14:07:03 +0000 (17:07 +0300)]
[vcs-log] minor: convert myUi to local variable

4 years ago[vcs-log] extract common listeners setup code from main log and file history
Julia Beliaeva [Fri, 13 Jan 2017 14:06:27 +0000 (17:06 +0300)]
[vcs-log] extract common listeners setup code from main log and file history

4 years ago[vcs-log] extract common progress and scrolling setup code from main log and file...
Julia Beliaeva [Fri, 13 Jan 2017 13:52:19 +0000 (16:52 +0300)]
[vcs-log] extract common progress and scrolling setup code from main log and file history

4 years ago[file-history] keymap group for file history
Julia Beliaeva [Fri, 13 Jan 2017 12:02:09 +0000 (15:02 +0300)]
[file-history] keymap group for file history

4 years ago[file-history] show diff on double click
Julia Beliaeva [Fri, 13 Jan 2017 11:44:29 +0000 (14:44 +0300)]
[file-history] show diff on double click

4 years ago[file-history] speed-search in file history is always on
Julia Beliaeva [Wed, 11 Jan 2017 15:50:44 +0000 (18:50 +0300)]
[file-history] speed-search in file history is always on

4 years ago[file-history] show history action even when log is not fully indexed
Julia Beliaeva [Thu, 29 Dec 2016 18:25:23 +0000 (21:25 +0300)]
[file-history] show history action even when log is not fully indexed