idea/community.git
7 years agoMerge remote-tracking branch 'origin/master'
Ekaterina Tuzova [Fri, 6 Dec 2013 09:17:41 +0000 (13:17 +0400)]
Merge remote-tracking branch 'origin/master'

7 years agoavoid offset calculation in case of LightVirtualFile or HttpVirtualFile
Vladimir Krivosheev [Fri, 6 Dec 2013 08:21:50 +0000 (09:21 +0100)]
avoid offset calculation in case of LightVirtualFile or HttpVirtualFile

7 years agocleanup
Vladimir Krivosheev [Fri, 6 Dec 2013 08:15:17 +0000 (09:15 +0100)]
cleanup

7 years agoVmFileEditor — prepare to fix postponed navigation problem in our HTTP file editor...
Vladimir Krivosheev [Fri, 6 Dec 2013 07:57:09 +0000 (08:57 +0100)]
VmFileEditor — prepare to fix postponed navigation problem in our HTTP file editor. VmFileEditor supports postponed navigation.

7 years agosimplify — use subResult
Vladimir Krivosheev [Thu, 5 Dec 2013 17:34:56 +0000 (18:34 +0100)]
simplify — use subResult

7 years agooverrides
Vladimir Krivosheev [Thu, 5 Dec 2013 17:33:52 +0000 (18:33 +0100)]
overrides

7 years agocleanup, use SmartList
Vladimir Krivosheev [Thu, 5 Dec 2013 17:25:00 +0000 (18:25 +0100)]
cleanup, use SmartList

7 years agocleanup
Vladimir Krivosheev [Thu, 5 Dec 2013 17:11:11 +0000 (18:11 +0100)]
cleanup

7 years agojavadoc
Dmitry Avdeev [Thu, 5 Dec 2013 11:26:01 +0000 (15:26 +0400)]
javadoc

7 years agojavadoc
Dmitry Avdeev [Thu, 5 Dec 2013 11:14:16 +0000 (15:14 +0400)]
javadoc

7 years agocleanup
Dmitry Avdeev [Thu, 5 Dec 2013 11:06:02 +0000 (15:06 +0400)]
cleanup

7 years agoWEB-10191 Weird field in the Configure NodeJS Modules Sources appcode/134.238 cppide/134.241 idea/134.236 idea/134.240 phpstorm/134.235 pycharm/134.239 rubymine/134.237 webstorm/134.234
Sergey Simonchik [Thu, 5 Dec 2013 20:29:57 +0000 (00:29 +0400)]
WEB-10191 Weird field in the Configure NodeJS Modules Sources

7 years agorefactoring high level listeners (IDEA-115905)
anna [Thu, 5 Dec 2013 19:25:52 +0000 (20:25 +0100)]
refactoring high level listeners (IDEA-115905)

7 years agoinline parameter: do not warn about inaccessible propagated parameter
anna [Thu, 5 Dec 2013 18:51:41 +0000 (19:51 +0100)]
inline parameter: do not warn about inaccessible propagated parameter

7 years agoNPE
anna [Thu, 5 Dec 2013 18:39:14 +0000 (19:39 +0100)]
NPE

7 years agotype migration: do not search for conversion when types are convertible (IDEA-117634)
anna [Thu, 5 Dec 2013 18:31:30 +0000 (19:31 +0100)]
type migration: do not search for conversion when types are convertible (IDEA-117634)

7 years agoextend local scope a set of containing files as visitors expect file level (IDEA...
anna [Thu, 5 Dec 2013 16:48:50 +0000 (17:48 +0100)]
extend local scope a set of containing files as visitors expect file level (IDEA-117649)

7 years agofix quickfix breaking code when non-static inner class was used from an other file
Bas Leijdekkers [Thu, 5 Dec 2013 19:22:30 +0000 (20:22 +0100)]
fix quickfix breaking code when non-static inner class was used from an other file

7 years agoMerge remote-tracking branch 'origin/master'
Vladimir Orlov [Thu, 5 Dec 2013 18:52:06 +0000 (22:52 +0400)]
Merge remote-tracking branch 'origin/master'

7 years agoIDEA-117378 Privilege escalation via JetBrains products by local attacker
Vladimir Orlov [Thu, 5 Dec 2013 18:50:19 +0000 (22:50 +0400)]
IDEA-117378 Privilege escalation via JetBrains products by local attacker

7 years agosafely skipping some invalid usages
Eugene Zhuravlev [Thu, 5 Dec 2013 18:05:01 +0000 (19:05 +0100)]
safely skipping some invalid usages

7 years agoMerge branch 'python-fixes'
Andrey Vlasovskikh [Thu, 5 Dec 2013 17:52:53 +0000 (21:52 +0400)]
Merge branch 'python-fixes'

7 years agomodify code for single binary file stub builder
Maxim.Mossienko [Thu, 5 Dec 2013 17:06:36 +0000 (18:06 +0100)]
modify code for single binary file stub builder

7 years agoDetect SQL fragments only in the beginning of string literals
Andrey Vlasovskikh [Thu, 5 Dec 2013 17:00:22 +0000 (21:00 +0400)]
Detect SQL fragments only in the beginning of string literals

7 years agoFixed LiteralTextEscaper.getOffsetInHost() for partial ranges inside host that contai...
Andrey Vlasovskikh [Thu, 5 Dec 2013 16:42:27 +0000 (20:42 +0400)]
Fixed LiteralTextEscaper.getOffsetInHost() for partial ranges inside host that contain escapes

7 years agoproper synchronization
Eugene Zhuravlev [Thu, 5 Dec 2013 16:26:36 +0000 (17:26 +0100)]
proper synchronization

7 years agotestdata for IDEA-114797
anna [Thu, 5 Dec 2013 15:35:33 +0000 (16:35 +0100)]
testdata for IDEA-114797

7 years agotestdata for IDEA-115210
anna [Thu, 5 Dec 2013 14:53:52 +0000 (15:53 +0100)]
testdata for IDEA-115210

7 years agoparse all generated classes no matter were errors detected or not. This is needed...
Eugene Zhuravlev [Thu, 5 Dec 2013 15:57:11 +0000 (16:57 +0100)]
parse all generated classes no matter were errors detected or not. This is needed for  later "differentiate" operation to work correctly

7 years agoAdded caching of decoded fragments of string literals
Andrey Vlasovskikh [Thu, 5 Dec 2013 15:57:11 +0000 (19:57 +0400)]
Added caching of decoded fragments of string literals

7 years agoFixed detecting file references in Python strings without delimiters
Andrey Vlasovskikh [Thu, 5 Dec 2013 15:43:05 +0000 (19:43 +0400)]
Fixed detecting file references in Python strings without delimiters

7 years agoRemoved unused PyStringLiteralExpression.iterateCharacterRanges()
Andrey Vlasovskikh [Thu, 5 Dec 2013 15:16:22 +0000 (19:16 +0400)]
Removed unused PyStringLiteralExpression.iterateCharacterRanges()

7 years agoSwitched to new string value iteration in Python file references inside string literals
Andrey Vlasovskikh [Thu, 5 Dec 2013 15:14:13 +0000 (19:14 +0400)]
Switched to new string value iteration in Python file references inside string literals

7 years agoRootIndex: only mark as project-excluded roots that are not under module content
peter [Thu, 5 Dec 2013 15:07:26 +0000 (16:07 +0100)]
RootIndex: only mark as project-excluded roots that are not under module content

7 years ago[git] IDEA-117500 Don't copy, just wrap in unmodifiable
Kirill Likhodedov [Thu, 5 Dec 2013 14:56:58 +0000 (18:56 +0400)]
[git] IDEA-117500 Don't copy, just wrap in unmodifiable

7 years ago[git] remove unused method
Kirill Likhodedov [Thu, 5 Dec 2013 14:55:12 +0000 (18:55 +0400)]
[git] remove unused method

7 years ago[log] Fix "details pane" layout
Vassiliy Kudryashov [Thu, 5 Dec 2013 14:12:15 +0000 (18:12 +0400)]
[log] Fix "details pane" layout

* JEditorPane doesn't support line wrapping;
* setPreferredSize have bad side effects.

7 years ago[log] Separate loading indicator for "Contained in branches"
Kirill Likhodedov [Thu, 5 Dec 2013 14:10:24 +0000 (18:10 +0400)]
[log] Separate loading indicator for "Contained in branches"

Details are loaded in a batch and are preloaded on start and in
certain cases, while "contained in branches" information need to be
queried for each commit individually.

To not make user wait to see details while "contained in branches" is
loading, show a separate small loading icon for this process.

7 years ago[log] Fix "Containing branches" for filtered list & for Mercurial
Kirill Likhodedov [Wed, 4 Dec 2013 14:04:49 +0000 (18:04 +0400)]
[log] Fix "Containing branches" for filtered list & for Mercurial

PROBLEM:
We were calculating containing branches ourselves by navigating from
the given commit upwards, until reaching leafs of the graph.
It doesn't work in two scenarios:
* If current model contains filtered commits received from the VCS,
  we have to find the Node by Hash first (which takes time,
  but not much), and we also much have the DataPack for the whole log
  ready (which would make user wait for the whole log skeleton
  loading - and this is unacceptable). IDEA-117212
* Mercurial heavy-weight branches are not labels/references,
  they are properties of commits => this algorithm just doesn't work
  for them.

SOLUTION:
Query the VCS for branches containing the given commit.
(previous fast search-on-graph implementation can be returned later
for those VcsLogProviders which have only light branches (Git),
and only if the graph is ready.

DETAILS:
* Introduce VcsLogProvider#getContainingBranches. Use existing method
  in git4idea; Mercurial implementation will follow.
* ContainingBranchesGetter: remove the previous algorithm; call the
  VcsLogProvider to get the information; adjust parameters accordingly.
* Identify branches as Strings instead of VcsRef: there are
  difficulties with Mercurial branches otherwise, and we need just
  branch names for now.

7 years ago[git] Move & rename method to get branches to GitBranchUtil for reuse
Kirill Likhodedov [Tue, 3 Dec 2013 12:52:57 +0000 (16:52 +0400)]
[git] Move & rename method to get branches to GitBranchUtil for reuse

7 years ago[git] Simplify method to get branches: use branch names.
Kirill Likhodedov [Tue, 3 Dec 2013 12:45:55 +0000 (16:45 +0400)]
[git] Simplify method to get branches: use branch names.

We need only branch names, not GitBranch objects => remove extra
conversion, and return Strings right away.

Also, don't return null, return an empty list.

7 years agoMerge remote-tracking branch 'origin/master'
Nadya Zabrodina [Thu, 5 Dec 2013 14:32:32 +0000 (18:32 +0400)]
Merge remote-tracking branch 'origin/master'

Conflicts:
platform/dvcs/src/com/intellij/dvcs/ui/CloneDvcsDialog.java
platform/dvcs/src/com/intellij/dvcs/ui/DvcsCloneDIalog.java
platform/dvcs/src/com/intellij/dvcs/ui/DvcsCloneDialog.java

7 years agorename affected clone dialog
Nadya Zabrodina [Thu, 5 Dec 2013 14:17:47 +0000 (18:17 +0400)]
rename affected clone dialog

7 years agoFile name fixed
Roman Shevchenko [Thu, 5 Dec 2013 14:16:47 +0000 (15:16 +0100)]
File name fixed

7 years agoUse Pair instead of a custom class
Andrey Vlasovskikh [Thu, 5 Dec 2013 14:12:42 +0000 (18:12 +0400)]
Use Pair instead of a custom class

7 years agounused class removed
nik [Thu, 5 Dec 2013 13:55:31 +0000 (17:55 +0400)]
unused class removed

7 years agostyle
Nadya Zabrodina [Thu, 5 Dec 2013 13:54:57 +0000 (17:54 +0400)]
style

7 years agoMerge remote-tracking branch 'origin/master'
anna [Thu, 5 Dec 2013 13:54:18 +0000 (14:54 +0100)]
Merge remote-tracking branch 'origin/master'

7 years agoanalyze this dependency: filter left tree so only files with dependencies are left...
anna [Thu, 5 Dec 2013 13:22:44 +0000 (14:22 +0100)]
analyze this dependency: filter left tree so only files with dependencies are left (IDEA-115818)

7 years agotests notification: separate not started notification from ignored when no 'not start...
anna [Thu, 5 Dec 2013 12:27:46 +0000 (13:27 +0100)]
tests notification: separate not started notification from ignored when no 'not started' tests were detected (IDEA-116825)

7 years agouse Url instead of plain string +review
Vladimir Krivosheev [Thu, 5 Dec 2013 12:44:50 +0000 (13:44 +0100)]
use Url instead of plain string +review

7 years agointroduce newUrl
Vladimir Krivosheev [Thu, 5 Dec 2013 12:38:48 +0000 (13:38 +0100)]
introduce newUrl

7 years agocleanup — use constant
Vladimir Krivosheev [Thu, 5 Dec 2013 12:38:07 +0000 (13:38 +0100)]
cleanup — use constant

7 years agocleanup
Vladimir Krivosheev [Thu, 5 Dec 2013 10:22:42 +0000 (11:22 +0100)]
cleanup

7 years agoIDEA-31095 (Add inspection for "instance initializer could be moved to constructor")
Bas Leijdekkers [Thu, 5 Dec 2013 13:07:05 +0000 (14:07 +0100)]
IDEA-31095 (Add inspection for "instance initializer could be moved to constructor")

7 years agopackage renamed
Dmitry Batkovich [Thu, 5 Dec 2013 13:36:09 +0000 (17:36 +0400)]
package renamed

7 years agoimplementation of methods chain completion indexing on jps
Dmitry Batkovich [Thu, 5 Dec 2013 13:34:30 +0000 (17:34 +0400)]
implementation of methods chain completion indexing on jps

7 years agoSwitched to new string value iteration in Python spellchecker
Andrey Vlasovskikh [Thu, 5 Dec 2013 13:33:02 +0000 (17:33 +0400)]
Switched to new string value iteration in Python spellchecker

7 years agoStringUtilTest for unquote* methods
Anton Makeev [Thu, 5 Dec 2013 13:29:12 +0000 (14:29 +0100)]
StringUtilTest for unquote* methods

7 years agoGradle: fix dependency scope merge to respect artifact classifier option
Vladislav.Soroka [Thu, 5 Dec 2013 13:26:14 +0000 (17:26 +0400)]
Gradle: fix dependency scope merge to respect artifact classifier option
related bug - IDEA-117627 Transitive dependencies missing from imported Gradle project

7 years agoIDEA-96207, IDEA-97651, IDEA-116896 Git and Mercurial Clone dialog unified and improved
Nadya Zabrodina [Thu, 5 Dec 2013 13:05:21 +0000 (17:05 +0400)]
IDEA-96207, IDEA-97651, IDEA-116896 Git and Mercurial Clone dialog unified and improved

*the previously entered repository url  remembered in clone dialog for mercurial;
*annotations added;
*rememberedInputs unified;
*properties for clone dialog changed and moved to dvcs directory;
*appropriate clone dialog form updated

7 years ago- use all BinaryStubBuilders versions in stable order to calculate stub version
Maxim.Mossienko [Thu, 5 Dec 2013 13:02:19 +0000 (14:02 +0100)]
- use all BinaryStubBuilders versions in stable order to calculate stub version
- introduce version for ClassStubBuilderFactory and use all class stub builder factories in stable order to calculate version of ClassFileStubBuilder

7 years agoEA-52572 - NPE: XmlResourceUtil.parseResources
Alexander Lobas [Thu, 5 Dec 2013 12:50:26 +0000 (16:50 +0400)]
EA-52572 - NPE: XmlResourceUtil.parseResources

7 years agoIDEA-116547 optimization in reassigned vars check
Max Medvedev [Thu, 5 Dec 2013 12:06:27 +0000 (16:06 +0400)]
IDEA-116547 optimization in reassigned vars check

7 years agotypo in diagnostics
Max Medvedev [Thu, 5 Dec 2013 12:05:35 +0000 (16:05 +0400)]
typo in diagnostics

7 years agoMerge remote-tracking branch 'origin/master'
anna [Thu, 5 Dec 2013 12:12:27 +0000 (13:12 +0100)]
Merge remote-tracking branch 'origin/master'

7 years agoensure custom color schema is loaded for dif command line app (IDEA-116478)
anna [Thu, 5 Dec 2013 12:07:03 +0000 (13:07 +0100)]
ensure custom color schema is loaded for dif command line app (IDEA-116478)

7 years agosuspicious names: highlight only variable name (IDEA-116475)
anna [Thu, 5 Dec 2013 11:18:14 +0000 (12:18 +0100)]
suspicious names: highlight only variable name (IDEA-116475)

7 years agosuppressions: accept variable suppressions for inspections which register problems...
anna [Thu, 5 Dec 2013 11:17:16 +0000 (12:17 +0100)]
suppressions: accept variable suppressions for inspections which register problems on variable (IDEA-116475)

7 years agoIDEA-116640 Inspection suppression annotation: remove annotation fix
anna [Thu, 5 Dec 2013 10:37:28 +0000 (11:37 +0100)]
IDEA-116640 Inspection suppression annotation: remove annotation fix

7 years agoCR-IC-3530 (fix refinement)
Roman Shevchenko [Thu, 5 Dec 2013 12:09:54 +0000 (13:09 +0100)]
CR-IC-3530 (fix refinement)

7 years agoCR-IC-3530 (fix refinement)
Roman Shevchenko [Thu, 5 Dec 2013 12:07:54 +0000 (13:07 +0100)]
CR-IC-3530 (fix refinement)

7 years agoGradle: hotfix disable extension point for executing tasks in external mode
Vladislav.Soroka [Thu, 5 Dec 2013 12:04:17 +0000 (16:04 +0400)]
Gradle: hotfix disable extension point for executing tasks in external mode

7 years agofix bad loop IDEA-117644 ("Move initializer to constructor" intention breaks code)
Bas Leijdekkers [Thu, 5 Dec 2013 11:31:05 +0000 (12:31 +0100)]
fix bad loop IDEA-117644 ("Move initializer to constructor" intention breaks code)

7 years agoExternal system: build files modification triggers threads continuously if "auto...
Vladislav.Soroka [Thu, 5 Dec 2013 11:28:23 +0000 (15:28 +0400)]
External system: build files modification triggers threads continuously if "auto-import" feature enabled

7 years agodifferentiate between Sun and Oracle VMs
Eugene Zhuravlev [Thu, 5 Dec 2013 10:51:08 +0000 (11:51 +0100)]
differentiate between Sun and Oracle VMs

7 years agoIDEA-117249 Optimize make's constant search algorithm, so that read action is not...
Eugene Zhuravlev [Thu, 5 Dec 2013 10:28:57 +0000 (11:28 +0100)]
IDEA-117249 Optimize make's constant search algorithm, so that read action is not held for long time

7 years ago(unfinished)CSS module split into css-psi-impl which contains PSI and language implem... phpstorm/134.232
Alexey Kudravtsev [Thu, 5 Dec 2013 10:02:11 +0000 (14:02 +0400)]
(unfinished)CSS module split into css-psi-impl which contains PSI and language implementation and css-analysis-impl which contains inspections and highlighting

7 years agonotnull
Alexey Kudravtsev [Wed, 4 Dec 2013 13:30:30 +0000 (17:30 +0400)]
notnull

7 years agoMerge remote-tracking branch 'origin/master'
Konstantin Kolosovsky [Thu, 5 Dec 2013 10:07:08 +0000 (14:07 +0400)]
Merge remote-tracking branch 'origin/master'

7 years agoMerge branch 'svn_18_2'
Konstantin Kolosovsky [Thu, 5 Dec 2013 10:02:44 +0000 (14:02 +0400)]
Merge branch 'svn_18_2'

7 years agoMerge remote-tracking branch 'origin/master'
Vladimir Orlov [Thu, 5 Dec 2013 10:02:38 +0000 (14:02 +0400)]
Merge remote-tracking branch 'origin/master'

7 years agofixed silent installation mode.
Vladimir Orlov [Thu, 5 Dec 2013 10:00:51 +0000 (14:00 +0400)]
fixed silent installation mode.

7 years agoCleanup (logging method moved to a better place)
Roman Shevchenko [Thu, 5 Dec 2013 09:50:39 +0000 (10:50 +0100)]
Cleanup (logging method moved to a better place)

7 years agoMerge remote-tracking branch 'origin/master'
anna [Thu, 5 Dec 2013 09:24:38 +0000 (10:24 +0100)]
Merge remote-tracking branch 'origin/master'

7 years agoIDEA-117536 (No-op method in abstract class: Don't trigger when final)
Bas Leijdekkers [Thu, 5 Dec 2013 09:23:28 +0000 (10:23 +0100)]
IDEA-117536 (No-op method in abstract class: Don't trigger when final)

7 years agoMerge remote-tracking branch 'origin/master'
anna [Thu, 5 Dec 2013 09:23:45 +0000 (10:23 +0100)]
Merge remote-tracking branch 'origin/master'

7 years agosuggest using WriteCommandAction in document modification assertion
peter [Thu, 5 Dec 2013 09:21:29 +0000 (10:21 +0100)]
suggest using WriteCommandAction in document modification assertion

7 years agoLocal VCS tests quick fix (ignore temp. FS)
Roman Shevchenko [Thu, 5 Dec 2013 09:21:25 +0000 (10:21 +0100)]
Local VCS tests quick fix (ignore temp. FS)

7 years agodisable introduce variable from part of literal expression which is not a string
anna [Wed, 4 Dec 2013 16:11:39 +0000 (17:11 +0100)]
disable introduce variable from part of literal expression which is not a string

7 years agotestng: ignore default annotations attributes (IDEA-117575)
anna [Wed, 4 Dec 2013 15:29:12 +0000 (16:29 +0100)]
testng: ignore default annotations attributes (IDEA-117575)

7 years agoIDEA-117561 ("Magic Number": Allow use in final local variable?)
Bas Leijdekkers [Thu, 5 Dec 2013 09:15:32 +0000 (10:15 +0100)]
IDEA-117561 ("Magic Number": Allow use in final local variable?)

7 years agopreselect live templates in autopopup completion (IDEA-117153)
peter [Thu, 5 Dec 2013 08:56:04 +0000 (09:56 +0100)]
preselect live templates in autopopup completion (IDEA-117153)

7 years agoremove TextBlock
peter [Thu, 5 Dec 2013 08:55:24 +0000 (09:55 +0100)]
remove TextBlock

7 years agofix ftl test, demote StringBuffer/StringBuilder
peter [Thu, 5 Dec 2013 08:16:14 +0000 (09:16 +0100)]
fix ftl test, demote StringBuffer/StringBuilder

7 years agoIDEA-117378 Privilege escalation via JetBrains products by local attacker idea/134.231
Vladimir Orlov [Thu, 5 Dec 2013 05:58:14 +0000 (09:58 +0400)]
IDEA-117378 Privilege escalation via JetBrains products by local attacker

7 years agoRootIndex rewrite appcode/134.222 cppide/134.227 idea/134.224 idea/134.228 phpstorm/134.230 pycharm/134.223 rubymine/134.229 webstorm/134.226
peter [Wed, 4 Dec 2013 22:35:41 +0000 (23:35 +0100)]
RootIndex rewrite

introduce RootInfo
use the whole RootInfo hierarchy to determine each part of the DirectoryInfo
this accounts for both versions of DirectoryIndex returning equal infos for all tests
share the same directory info in DirectoryIndex and RootIndex to reduce consistency check overhead

7 years agomake history almost unlimited
Konstantin Bulenkov [Wed, 4 Dec 2013 22:33:12 +0000 (23:33 +0100)]
make history almost unlimited

7 years agono delay after tab or escape
Konstantin Bulenkov [Wed, 4 Dec 2013 21:42:04 +0000 (22:42 +0100)]
no delay after tab or escape

7 years agoMerge remote-tracking branch 'origin/master'
Konstantin Bulenkov [Wed, 4 Dec 2013 21:39:02 +0000 (22:39 +0100)]
Merge remote-tracking branch 'origin/master'