idea/community.git
5 years agoMerge remote-tracking branch 'origin/amakeev/cmake-configs' into amakeev/cmake-config... clion/171.256
Anton Makeev [Wed, 19 Oct 2016 22:40:23 +0000 (00:40 +0200)]
Merge remote-tracking branch 'origin/amakeev/cmake-configs' into amakeev/cmake-configs-master

5 years agofix compilation
Dmitry Batkovich [Wed, 19 Oct 2016 19:46:49 +0000 (22:46 +0300)]
fix compilation

5 years agojavac ast indices: remove JavaCompilerElementRetriever#asPsi()
Dmitry Batkovich [Wed, 19 Oct 2016 19:41:47 +0000 (22:41 +0300)]
javac ast indices: remove JavaCompilerElementRetriever#asPsi()

5 years agojavac ast indices: add synchronized access to indices
Dmitry Batkovich [Wed, 19 Oct 2016 19:36:50 +0000 (22:36 +0300)]
javac ast indices: add synchronized access to indices

5 years agojavac ast indices: remove redundant read action
Dmitry Batkovich [Wed, 19 Oct 2016 19:35:57 +0000 (22:35 +0300)]
javac ast indices: remove redundant read action

5 years agoseparate jdk version limits for jps process and javac compiler
Eugene Zhuravlev [Wed, 19 Oct 2016 19:17:37 +0000 (21:17 +0200)]
separate jdk version limits for jps process and javac compiler

5 years ago@NotNull
Daniil Ovchinnikov [Wed, 19 Oct 2016 19:15:11 +0000 (22:15 +0300)]
@NotNull

5 years agoIDEA-162800 Run indicator missing from run and debug popups
Vassiliy.Kudryashov [Wed, 19 Oct 2016 19:08:06 +0000 (22:08 +0300)]
IDEA-162800 Run indicator missing from run and debug popups

5 years ago[groovy] @DelegatesTo provider API
Daniil Ovchinnikov [Wed, 19 Oct 2016 17:03:34 +0000 (20:03 +0300)]
[groovy] @DelegatesTo provider API

5 years ago[groovy] GrDelegatesToInfo -> DefaultDelegatesToProvider
Daniil Ovchinnikov [Wed, 19 Oct 2016 16:58:04 +0000 (19:58 +0300)]
[groovy] GrDelegatesToInfo -> DefaultDelegatesToProvider

5 years ago[groovy] prepare for @DelegatesTo provider API
Daniil Ovchinnikov [Wed, 19 Oct 2016 16:54:28 +0000 (19:54 +0300)]
[groovy] prepare for @DelegatesTo provider API

- move constants from GrDelegatesToUtil
- move GrDelegatesToUtil to another package
- extract DelegatesToInfo

5 years ago[groovy] place is not needed to compute closure delegate/strategy
Daniil Ovchinnikov [Wed, 19 Oct 2016 16:49:39 +0000 (19:49 +0300)]
[groovy] place is not needed to compute closure delegate/strategy

5 years agodetect consistently junit 5 in scope (IDEA-162858)
Anna.Kozlova [Wed, 19 Oct 2016 18:00:04 +0000 (20:00 +0200)]
detect consistently junit 5 in scope (IDEA-162858)

5 years agoMerge remote-tracking branch 'origin/master'
Konstantin Bulenkov [Wed, 19 Oct 2016 17:48:09 +0000 (19:48 +0200)]
Merge remote-tracking branch 'origin/master'

5 years agogriffon darcula icons
Konstantin Bulenkov [Wed, 19 Oct 2016 17:40:51 +0000 (19:40 +0200)]
griffon darcula icons

5 years agoemulate method exit breakpoints as well
Egor.Ushakov [Wed, 19 Oct 2016 17:31:39 +0000 (20:31 +0300)]
emulate method exit breakpoints as well

5 years agoremoved redundant casts
Egor.Ushakov [Wed, 19 Oct 2016 17:04:32 +0000 (20:04 +0300)]
removed redundant casts

5 years agoMerge remote-tracking branch 'origin/master'
Dmitry Trofimov [Wed, 19 Oct 2016 17:28:52 +0000 (19:28 +0200)]
Merge remote-tracking branch 'origin/master'

5 years agoconstructor completion: implement anonymous methods after arg live template (IDEA...
peter [Wed, 19 Oct 2016 17:23:08 +0000 (19:23 +0200)]
constructor completion: implement anonymous methods after arg live template (IDEA-CR-14717)

5 years agoconstructor completion: insert the chosen constructor and position the caret accordin...
peter [Wed, 19 Oct 2016 16:53:38 +0000 (18:53 +0200)]
constructor completion: insert the chosen constructor and position the caret accordingly (IDEA-CR-14717)

5 years agodfa: honor control transfer instructions when performing auxiliary analyses (IDEA...
peter [Wed, 19 Oct 2016 16:37:05 +0000 (18:37 +0200)]
dfa: honor control transfer instructions when performing auxiliary analyses (IDEA-162557)

5 years agoOnly /bin/bash has --rcfile, so name the script accordingly; On Mac /bin/sh is alias...
Dmitry Trofimov [Wed, 19 Oct 2016 17:27:46 +0000 (19:27 +0200)]
Only /bin/bash has --rcfile, so name the script accordingly; On Mac /bin/sh is alias for /bin/bash, so we handle that as well

5 years agoSSR: fix matching super calls
Bas Leijdekkers [Wed, 19 Oct 2016 17:09:03 +0000 (19:09 +0200)]
SSR: fix matching super calls

5 years agoupdate sdk icon
Konstantin Bulenkov [Wed, 19 Oct 2016 17:26:30 +0000 (19:26 +0200)]
update sdk icon

5 years ago/bin/sh doesn't have source command. But it has . instead
Dmitry Trofimov [Wed, 19 Oct 2016 17:20:50 +0000 (19:20 +0200)]
/bin/sh doesn't have source command. But it has . instead

5 years agonew inference: erasure of type parameters with proper bounds (IDEA-162544)
Anna.Kozlova [Wed, 19 Oct 2016 17:16:04 +0000 (19:16 +0200)]
new inference: erasure of type parameters with proper bounds (IDEA-162544)

5 years agoupdate groovy icons
Konstantin Bulenkov [Wed, 19 Oct 2016 16:44:09 +0000 (18:44 +0200)]
update groovy icons

5 years agoupdate ant task icons
Konstantin Bulenkov [Wed, 19 Oct 2016 16:43:43 +0000 (18:43 +0200)]
update ant task icons

5 years agoupdate griffon icons
Konstantin Bulenkov [Wed, 19 Oct 2016 16:38:57 +0000 (18:38 +0200)]
update griffon icons

5 years agoupdate ant icons
Konstantin Bulenkov [Wed, 19 Oct 2016 16:37:36 +0000 (18:37 +0200)]
update ant icons

5 years agoremove ant target icons for darcula
Konstantin Bulenkov [Wed, 19 Oct 2016 16:17:47 +0000 (18:17 +0200)]
remove ant target icons for darcula

5 years agoPut terminal shell integration scripts in build
Dmitry Trofimov [Wed, 19 Oct 2016 17:12:32 +0000 (19:12 +0200)]
Put terminal shell integration scripts in build

5 years agohtml files are not xml property file pycharm/171.247
Maxim.Mossienko [Wed, 19 Oct 2016 16:44:02 +0000 (18:44 +0200)]
html files are not xml property file

5 years ago[vcs]: deprecate reportsIgnoredDirectories method
Nadya Zabrodina [Wed, 19 Oct 2016 13:57:59 +0000 (16:57 +0300)]
[vcs]: deprecate reportsIgnoredDirectories method

5 years ago[hg]: return copy of ignored files to be thread safe, optimize size
Nadya Zabrodina [Wed, 19 Oct 2016 11:51:35 +0000 (14:51 +0300)]
[hg]: return copy of ignored files to be thread safe, optimize size

5 years ago[vcs]: add listener for Async update IgnoredHolder model changes
Nadya Zabrodina [Mon, 17 Oct 2016 14:31:09 +0000 (17:31 +0300)]
[vcs]: add listener for Async update IgnoredHolder model changes

* refresh view when update mode changed;

5 years ago[hg]: implement ChangesViewRefresher for hg
Nadya Zabrodina [Fri, 14 Oct 2016 14:39:24 +0000 (17:39 +0300)]
[hg]: implement ChangesViewRefresher for hg

5 years ago[vcs]: add project area for ChangesViewRefresher EP
Nadya Zabrodina [Fri, 14 Oct 2016 14:38:52 +0000 (17:38 +0300)]
[vcs]: add project area for ChangesViewRefresher EP

5 years ago[hg]: process new/deleted ignored files files from VcsVfsListener
Nadya Zabrodina [Thu, 13 Oct 2016 16:42:28 +0000 (19:42 +0300)]
[hg]: process new/deleted ignored files files from VcsVfsListener

* (IDEA-145035) do not ask to confirm hg delete if files are ignored;
* delete and add to repo ignored files holder if needed;

5 years ago[vcs]: use per Repository ignored holders in VcsIgnored; add get size methods
Nadya Zabrodina [Wed, 12 Oct 2016 18:02:16 +0000 (21:02 +0300)]
[vcs]: use per Repository ignored holders in VcsIgnored; add get size methods

* (IDEA-113185, IDEA-137014, IDEA-138132, IDEA-159684) fix performance;
* provide dir and file sizes method for Ignored files;
* improve ignored rendering with "updating" word;
* do not ask for ignored if they shouldn't be shown (to avoid map union);
* remove VF set from HgIgnoredFilesHolder, it was already moved to
 Composite holder and used as IDE ignored files storage;

5 years ago[vcs]: provide separated ignored maps for vcses and one for Ide ignored
Nadya Zabrodina [Wed, 12 Oct 2016 17:51:38 +0000 (20:51 +0300)]
[vcs]: provide separated ignored maps for vcses and one for Ide ignored

* rename;
* return Composite Ignored holder from FileHolder instead of common
 instance;
* add annotations;
* provider getter for active ignored files holder for current VCS;
* use streams if possible;

5 years ago[vcs]: show ignored files in changed view as unversioned, unify
Nadya Zabrodina [Fri, 30 Sep 2016 15:56:42 +0000 (18:56 +0300)]
[vcs]: show ignored files in changed view as unversioned, unify

5 years ago[hg]: implement local ignored files holder per repository
Nadya Zabrodina [Thu, 6 Oct 2016 21:33:48 +0000 (00:33 +0300)]
[hg]:  implement local ignored files holder per repository

* create async update queue;
* subscribe ignored files updating for .hgignored/dirstate changing;

5 years ago[hg]: remove IGNORED processor
Nadya Zabrodina [Thu, 6 Oct 2016 17:09:17 +0000 (20:09 +0300)]
[hg]: remove IGNORED processor

5 years ago[vcs]: lambdify
Nadya Zabrodina [Fri, 30 Sep 2016 16:15:33 +0000 (19:15 +0300)]
[vcs]: lambdify

5 years ago[vcs]: refactoring: get rid of unnecessary inheritance, delete unused
Nadya Zabrodina [Thu, 29 Sep 2016 13:52:06 +0000 (16:52 +0300)]
[vcs]: refactoring: get rid of unnecessary inheritance, delete unused

5 years ago[vcs]: provide EP for vcs Ignored files holder
Nadya Zabrodina [Wed, 28 Sep 2016 16:45:31 +0000 (19:45 +0300)]
[vcs]: provide EP for vcs Ignored files holder

* move Hg specific holder as EP to hg4idea plugin;
* optimize HashSet using one from ContainerUtils;
* delegate activation for all specific ignored holders from composite;
* remove hacky code from UpdateingChanglistBuilder;
* now hg ignored files updating only by fully repo refresh;

5 years agofix microba calendar in darcula
Konstantin Bulenkov [Wed, 19 Oct 2016 15:49:48 +0000 (17:49 +0200)]
fix microba calendar in darcula

(cherry picked from commit 2578a0fe3788a7c46594e188f758f90fa8bcec39)

5 years agobuild project view nodes in background
Maxim.Mossienko [Wed, 19 Oct 2016 16:05:00 +0000 (18:05 +0200)]
build project view nodes in background

5 years agoquick fix for idea community tests.
Ekaterina Tuzova [Wed, 19 Oct 2016 15:37:02 +0000 (18:37 +0300)]
quick fix for idea community tests.

markdown4j dependency in community needs investigation

5 years ago[ui] use light grey only for doc popup, coauthored with Olga B.
Sergey Ignatov [Wed, 19 Oct 2016 14:48:51 +0000 (17:48 +0300)]
[ui] use light grey only for doc popup, coauthored with Olga B.

revert tooltips

5 years agofix testdata
Anna.Kozlova [Wed, 19 Oct 2016 15:21:30 +0000 (17:21 +0200)]
fix testdata

5 years agoRevert: ActionHint#findAndCheck now accepts String errorMessage instead of infoSuppli...
Anna.Kozlova [Wed, 19 Oct 2016 15:17:22 +0000 (17:17 +0200)]
Revert: ActionHint#findAndCheck now accepts String errorMessage instead of infoSupplier (IDEA-CR-14399) (a61024f6a3e6aff56f061d707108fb205752c300)

5 years agoallow collapsable tag customization (WEB-22699)
Dennis Ushakov [Wed, 19 Oct 2016 15:14:31 +0000 (18:14 +0300)]
allow collapsable tag customization (WEB-22699)

5 years agodon't count the same test twice in statistics if testFailed is followed by testFinished
Sergey Simonchik [Wed, 19 Oct 2016 15:05:34 +0000 (18:05 +0300)]
don't count the same test twice in statistics if testFailed is followed by testFinished

5 years agomore streams clion/171.245
Egor.Ushakov [Wed, 19 Oct 2016 14:51:43 +0000 (17:51 +0300)]
more streams

5 years agomake 'ignored test' inspection ready for junit 5
Anna.Kozlova [Wed, 19 Oct 2016 14:44:59 +0000 (16:44 +0200)]
make 'ignored test' inspection ready for junit 5

5 years agosimplifiable assertions for junit 5: tests
Anna.Kozlova [Wed, 19 Oct 2016 14:34:52 +0000 (16:34 +0200)]
simplifiable assertions for junit 5: tests

5 years agomisordered actual/equals for one framework at a time
Anna.Kozlova [Wed, 19 Oct 2016 14:22:41 +0000 (16:22 +0200)]
misordered actual/equals for one framework at a time

5 years agoenable simplifiable assertions for testng
Anna.Kozlova [Wed, 19 Oct 2016 14:06:40 +0000 (16:06 +0200)]
enable simplifiable assertions for testng

5 years agosimplifiable junit assertions inspection: junit 5 ready
Anna.Kozlova [Wed, 19 Oct 2016 10:35:21 +0000 (12:35 +0200)]
simplifiable junit assertions inspection: junit 5 ready

5 years agomisordered assert equals: junit 5 ready, remove duplication
Anna.Kozlova [Wed, 19 Oct 2016 08:32:30 +0000 (10:32 +0200)]
misordered assert equals: junit 5 ready, remove duplication

5 years agoEA-86227 - IAE: HistoryEntry.createHeavy
Dmitry Batrak [Wed, 19 Oct 2016 14:33:03 +0000 (17:33 +0300)]
EA-86227 - IAE: HistoryEntry.createHeavy

(redone fix for EA-85204 - commit fb989a9)

5 years agoproject structure: allow marking directories under excluded roots as source folders...
nik [Wed, 19 Oct 2016 14:23:28 +0000 (17:23 +0300)]
project structure: allow marking directories under excluded roots as source folders in Project Structure dialog (IDEA-135096)

5 years agoWEB-23766 Template string conversion bug
irengrig [Wed, 19 Oct 2016 14:16:31 +0000 (16:16 +0200)]
WEB-23766 Template string conversion bug
rewrite conversion using graph (tree) search, associate flags with each node, pass them up the tree

5 years agorefactor jupyter notebook markdown cell evaluation dbe/171.242
Ekaterina Tuzova [Wed, 19 Oct 2016 12:29:38 +0000 (15:29 +0300)]
refactor jupyter notebook markdown cell evaluation

 PY-20041 Sometimes markdown cell fails to render on opening
 PY-14123 IPython Notebook: Markdown: too greedy link highlighting for several square brackets on the line
 PY-15152 IPython Notebook: Markdown: too much padding on the top of the cell
 PY-18625 ipynb files performance problems
 PY-19110 jupyter markdown not rendering
 PY-19367 Ipython Jupyter viewer does not support html display
 PY-20040 Too much whitespace in markdown cells
 PY-20068 title and list are not rendered correctly

5 years agostepic -> stepik
Ekaterina Tuzova [Wed, 19 Oct 2016 09:47:55 +0000 (12:47 +0300)]
stepic -> stepik

Stupid stepik doesn't want to make our life easier
EDU-766

5 years agoipython->jupyter
Ekaterina Tuzova [Mon, 17 Oct 2016 15:20:12 +0000 (18:20 +0300)]
ipython->jupyter

5 years agoPY-19090 Enable Custom Working Directory for Jupyter Notebook
Ekaterina Tuzova [Tue, 4 Oct 2016 13:55:41 +0000 (16:55 +0300)]
PY-19090 Enable Custom Working Directory for Jupyter Notebook

5 years agoshow lookup preview for empty prefix (IDEA-CR-14687)
peter [Wed, 19 Oct 2016 13:55:40 +0000 (15:55 +0200)]
show lookup preview for empty prefix (IDEA-CR-14687)

5 years agoSimplify code by using lambda, mapNotNull and isEmpty
Kirill Likhodedov [Wed, 19 Oct 2016 11:10:33 +0000 (14:10 +0300)]
Simplify code by using lambda, mapNotNull and isEmpty

5 years agoLambdify
Kirill Likhodedov [Wed, 19 Oct 2016 11:05:38 +0000 (14:05 +0300)]
Lambdify

5 years agoRemove unused logic of populating exceptions list
Kirill Likhodedov [Tue, 18 Oct 2016 14:29:47 +0000 (17:29 +0300)]
Remove unused logic of populating exceptions list

It used to show errors from the list later, but that does't
happen anymore.
Show error manually when needed.

In addition to that move tagging process to the modal task
instead of freezing the UI.

5 years agoRemove unused logic of populating affectedRoots list
Kirill Likhodedov [Tue, 18 Oct 2016 14:21:13 +0000 (17:21 +0300)]
Remove unused logic of populating affectedRoots list

It used to refresh the roots from the list later, but that does't
happen anymore.

5 years agoLambdify
Kirill Likhodedov [Tue, 18 Oct 2016 14:17:52 +0000 (17:17 +0300)]
Lambdify

5 years agoRemove unused parameter
Kirill Likhodedov [Tue, 18 Oct 2016 14:17:31 +0000 (17:17 +0300)]
Remove unused parameter

5 years agoRemove unused method
Kirill Likhodedov [Tue, 18 Oct 2016 14:16:32 +0000 (17:16 +0300)]
Remove unused method

5 years agoMake certain actions decide when to refresh and when to show errors
Kirill Likhodedov [Tue, 18 Oct 2016 14:15:48 +0000 (17:15 +0300)]
Make certain actions decide when to refresh and when to show errors

Instead of calling these "final tasks" for every action (except for
most of them which don't allow it via flag-method), let actions
themselves decide if and when to refresh the VFS and show errors.

It appeared that
* only GitResetHead action needs both,
* GitTag needs only showing errors
  (working copy doesn't change, and the repository files are refreshed
   inside the action)
* GitStash already refreshes (so there was another double refresh).

5 years agoSimplify the VFS refresh call
Kirill Likhodedov [Tue, 18 Oct 2016 14:05:58 +0000 (17:05 +0300)]
Simplify the VFS refresh call

No need to call showErrors after refresh, it is OK to do it any time.

Marking files VCS-dirty is not needed: changed files will be marked
dirty automatically by VcsDirtyScopeVfsListener after the VFS refresh.

5 years agoDon't refresh the VFS twice
Kirill Likhodedov [Tue, 18 Oct 2016 14:03:44 +0000 (17:03 +0300)]
Don't refresh the VFS twice

It is already refreshed a couple of lines above.
Just show errors if there are any, for which extract a method.

5 years agoDon't show merge dialog from the write action
Kirill Likhodedov [Tue, 18 Oct 2016 13:49:33 +0000 (16:49 +0300)]
Don't show merge dialog from the write action

Remove "delayed tasks" from GitRepositoryAction at all:
the only usage was showing updated files & the merge dialog,
but it is currently called from the background thread right after
the action is performed => can be executed synchronously, without
any delay.

IDEA-160499

5 years agoisPasswordStoredOnlyInMemory
Vladimir Krivosheev [Wed, 19 Oct 2016 13:52:22 +0000 (15:52 +0200)]
isPasswordStoredOnlyInMemory

5 years agodon't explicitly paint background in LookupPreview (IDEA-CR-14687)
peter [Wed, 19 Oct 2016 13:49:21 +0000 (15:49 +0200)]
don't explicitly paint background in LookupPreview (IDEA-CR-14687)

5 years agoMerge remote-tracking branch 'origin/master'
Yann Cébron [Wed, 19 Oct 2016 13:26:37 +0000 (15:26 +0200)]
Merge remote-tracking branch 'origin/master'

5 years agoallow non-physical file documents to be committed outside transaction, since it'll...
peter [Wed, 19 Oct 2016 13:23:53 +0000 (15:23 +0200)]
allow non-physical file documents to be committed outside transaction, since it'll cause no events anyway

5 years agoadd items to goto popups in bulk mode (IDEA-162828)
peter [Wed, 19 Oct 2016 10:32:30 +0000 (12:32 +0200)]
add items to goto popups in bulk mode (IDEA-162828)

5 years agoInstanceofCheckerGenerator rewritten to work with just asm, without cglib (IDEA-160578)
peter [Wed, 19 Oct 2016 10:22:10 +0000 (12:22 +0200)]
InstanceofCheckerGenerator rewritten to work with just asm, without cglib (IDEA-160578)

5 years agoMerge remote-tracking branch 'origin/master'
Yann Cébron [Wed, 19 Oct 2016 13:25:47 +0000 (15:25 +0200)]
Merge remote-tracking branch 'origin/master'

5 years agoPsiInvalidElementAccessException: add IElementType.getClass() to message
Yann Cébron [Wed, 19 Oct 2016 13:24:50 +0000 (15:24 +0200)]
PsiInvalidElementAccessException: add IElementType.getClass() to message

5 years agoUnable to debug if sourcemap contains absolute paths on windows (WEB-23002)
Konstantin Ulitin [Wed, 19 Oct 2016 13:18:56 +0000 (16:18 +0300)]
Unable to debug if sourcemap contains absolute paths on windows (WEB-23002)

5 years agoproject tasks: build methods javadoc added
Vladislav.Soroka [Wed, 19 Oct 2016 13:04:04 +0000 (16:04 +0300)]
project tasks: build methods javadoc added

5 years agoEA-90213 - TDDE: TraceableDisposable.throwDisposalError
Dmitry Batrak [Wed, 19 Oct 2016 12:48:03 +0000 (15:48 +0300)]
EA-90213 - TDDE: TraceableDisposable.throwDisposalError

5 years agoLexerEditorHighlighter: check for incrementality of the highlighting lexer
Pavel Fatin [Wed, 19 Oct 2016 12:40:57 +0000 (14:40 +0200)]
LexerEditorHighlighter: check for incrementality of the highlighting lexer

5 years agoassertion for IDEA-162197
Dmitry Batrak [Wed, 19 Oct 2016 12:36:21 +0000 (15:36 +0300)]
assertion for IDEA-162197

5 years agoMerge remote-tracking branch 'origin/master'
Roman Shevchenko [Wed, 19 Oct 2016 12:31:25 +0000 (14:31 +0200)]
Merge remote-tracking branch 'origin/master'

5 years ago[platform] code reuse (IDEA-CR-14712)
Roman Shevchenko [Wed, 19 Oct 2016 12:31:05 +0000 (14:31 +0200)]
[platform] code reuse (IDEA-CR-14712)

5 years agoSSR: make some methods public for easier extension (IDEA-162805)
Bas Leijdekkers [Wed, 19 Oct 2016 09:34:19 +0000 (11:34 +0200)]
SSR: make some methods public for easier extension (IDEA-162805)

5 years agoinspection description layout
Bas Leijdekkers [Mon, 17 Oct 2016 10:18:14 +0000 (12:18 +0200)]
inspection description layout

5 years agoMerge remote-tracking branch 'origin/master'
Konstantin Bulenkov [Wed, 19 Oct 2016 12:26:02 +0000 (14:26 +0200)]
Merge remote-tracking branch 'origin/master'

5 years agoIDEA-162376 Compact Empty Middle Packages, Flatten Packages options in the Project...
Konstantin Bulenkov [Wed, 19 Oct 2016 12:13:57 +0000 (14:13 +0200)]
IDEA-162376 Compact Empty Middle Packages, Flatten Packages options in the Project toolwindow don't work any more