Tagir Valeev
b144fc264e
Purity inference: fix expected data (which was not updated due to non-invalidated local cache)
2018-01-19 10:22:28 +07:00
Anna.Kozlova
a39c804416
don't highlight inaccessible supers for field access
2018-01-18 20:20:05 +01:00
Anna.Kozlova
7b9b56b7da
unnecessary module dependencies: don't warn on generated sources
2018-01-18 20:20:05 +01:00
Roman Shevchenko
92c51179b3
Cleanup (duplicates; warnings; formatting)
2018-01-18 20:13:53 +01:00
Sergey Karashevich
2d3f7b0bf8
[gui-test] add TypeAheadTest to CommunityTestSuite
2018-01-18 21:32:48 +03:00
Sergey Karashevich
ceafbced6a
[gui-test] TypeAheadTest is catching IDEA-180346 problem
2018-01-18 21:32:48 +03:00
Sergey Karashevich
aff745aa01
[gui-test] improve cell reading for JBListPopup case
2018-01-18 21:32:48 +03:00
Sergey Karashevich
164efe4c4d
[gui-test] expand jar's classpath to compose the module's classpath
...
Sometimes Windows doesn't accept long classpath as to command line limitations, than we need
to compose a fake module xml with a classpath list and pass it to the Kotlin compiler. Unfortunately,
if IDEA has been launched with a fake jar containing only a long classpath in its manifest, it doesn't
work. This commit expand all classpath[any-number].jar and pathing.jar to the set of unique jar and class
URLs and than we are composing a module xml to with a full classpath into a Kotlin compiler again.
2018-01-18 21:32:48 +03:00
Anna.Kozlova
e34cca4388
disable explicit changes in javadoc
2018-01-18 19:17:31 +01:00
Nicolay Mitropolsky
f08f1c2d15
Uast-java: JavaUAnonymousClass.uastSuperTypes returns implementing class
2018-01-18 21:13:10 +03:00
Konstantin Bulenkov
64b12cc421
remove factory classes and interfaces for Panel Builders
2018-01-18 18:57:15 +01:00
Sergey Ignatov
c0d8321602
fix error stripes painting on HiDPI Linux
2018-01-18 20:39:20 +03:00
Aleksey Pivovarov
d5a33c0605
lst: do not override explicit block moves on Undo
2018-01-18 20:25:40 +03:00
Aleksey Pivovarov
b02547dd6a
lst: do not register duplicated UndoableActions
...
* do not use TransparentAction to avoid merging with unrelated commands
2018-01-18 20:25:40 +03:00
nik
99862bb45f
project configuration: refresh file where module renaming scheme is stored
2018-01-18 20:19:04 +03:00
nik
e56fb17a1d
IDEA project code style: align multiline chained calls
...
Builder-style code is formatted better with this option.
2018-01-18 20:16:09 +03:00
Daniil Ovchinnikov
4d92992b7b
[groovy] resolve fields before transformations
...
Before the change the `foo` reference inside of a closure was resolved
to a field. Now it's properly resolved to an accessor method (as done by
Groovy itself).
```
class A {
def foo
def bar = {
foo
}
}
```
Before the change the `foo` reference inside of a class was resolved to
a field even when it was qualified. Now it is resolved to an accessor
method.
```
class A {
def foo
def bar() {
new A().foo
}
}
```
This change also speeds up resolution as it stops when first field is
found, i.e. transformations and non-code processors will not be run.
2018-01-18 19:54:19 +03:00
Daniil Ovchinnikov
f5aa49b7e1
[groovy] add TRANSFORMATION compile phase
2018-01-18 19:54:19 +03:00
Daniil Ovchinnikov
4bc0e6988b
[groovy] extract property filtering
2018-01-18 19:54:19 +03:00
Daniil Ovchinnikov
24fa82bf75
[groovy] make ClassProcessor extend FindFirstProcessor
2018-01-18 19:54:19 +03:00
Daniil Ovchinnikov
5ea28d4a9a
[groovy] fix duplicate fields highlighting (IDEA-184971)
...
Before the change fields were fed to processor from
CollectClassMembersUtil, if there was a field with explicit visibility
modifiers, then only this field remained in the candidate list and fed
to the processor.
After the change the CompilationPhaseHint is used, and all code fields
are fed to the processor one by one. Also now processor returns after
the first duplicate is found, ignoring the rest.
2018-01-18 19:54:18 +03:00
Daniil Ovchinnikov
adb375c02b
[groovy] add and use compilation phase hint for fields
2018-01-18 19:54:18 +03:00
Daniil Ovchinnikov
5980853e28
[groovy] update FindFirstProcessor
...
- generify;
- add ability to stop;
- make functions protected;
- store name in a property.
2018-01-18 19:54:18 +03:00
Daniil Ovchinnikov
b5857fac29
[groovy] add and use FindFirstProcessor
2018-01-18 19:54:18 +03:00
Vladimir Krivosheev
796c58443e
allow to use final field without explicit map annotation
...
support sub maps
2018-01-18 17:25:00 +01:00
Vitaliy.Bibaev
0ac0ed2323
IDEA-171027 IDEA-175146 Update Memory view manually by default
2018-01-18 19:15:00 +03:00
Anna.Kozlova
f4f2c92fe5
unnecessary module dependency: support exported dependencies
...
don't report dependencies through which required modules or libraries come (IDEA-185022; IDEA-183789)
2018-01-18 16:56:17 +01:00
Anna.Kozlova
2acd327a7d
local var type: make messages less aggressive
2018-01-18 16:56:17 +01:00
Daniil Ovchinnikov
1b7ebca3a8
[groovy] minor code style fix
2018-01-18 18:44:31 +03:00
nik
d18dfde059
gradle: use proper API to update module name in New Project Wizard
2018-01-18 18:27:18 +03:00
Denis Fokin
ab8c5e7eec
IDEA-180346 Typeahead request blocked at com.intellij.openapi.wm.impl.FocusManagerImpl.typeAheadUntil
2018-01-18 18:25:50 +03:00
nik
05beabd649
new project wizard: properly update project name/location
...
When a new project is created we need to update the both module and the project names and locations.
2018-01-18 18:24:21 +03:00
Aleksandr Samofalov
b516529522
OC-16557 Collapse block for swift switch statement
2018-01-18 18:06:55 +03:00
Semyon Proshev
6f96e13a3e
Set 2.7, 3.4, 3.5 and 3.6 as possible python versions for conda (PY-28050)
2018-01-18 17:46:32 +03:00
nik
18422f8056
maven: properly setup content root for a new maven module (IDEA-66021)
2018-01-18 17:44:37 +03:00
Vladimir Koshelev
35b77e8d95
replace DFAEngine implementation: use topological order
...
- add createGraph(flow) to ControlFlowUtil;
- use DFSTBuilder to get SCCs for a control flow;
- dfa iterates all components once;
- dfa iterates strongly-connected component before convergence;
- deprecated method DfaInstance#isForward() is removed;
- remove unused DFAEngine#performDfa(info);
- remove unused ControlFlowUtil#postOrder.
New dfa analysis does not have a convergence issue in merge points.
(IDEA-CR-28352)
2018-01-18 17:30:10 +03:00
Bas Leijdekkers
f2e6fca603
use CommentTracker.text() with precedence argument
2018-01-18 15:19:20 +01:00
Eugene Zhuravlev
28f36903e9
updated ecj jar with java9-capable eclipse compiler
2018-01-18 15:00:09 +01:00
peter
34753fb8f2
unify perforce test logging with the common one
2018-01-18 14:58:26 +01:00
Sergey Ignatov
9dee0fa8a8
bundle java9-capable eclipse ecj java compiler (IDEA-184951)
2018-01-18 16:55:04 +03:00
Sergey Ignatov
f1b541bfc8
Revert: bundle java9-capable eclipse ecj java compiler (IDEA-184951)
2018-01-18 16:39:42 +03:00
nik
9acf04f931
cleanup: remove JDOMBuilder class
...
It was used in one test only, its API is inconvenient and it also complicates migration to future JUnit versions.
2018-01-18 16:38:21 +03:00
Alexey Kudravtsev
08ec59200c
cleanup
2018-01-18 16:28:44 +03:00
Alexey Kudravtsev
d81f59d434
removed redundant method overriders after "Method is identical to its supermethod" inspection run
2018-01-18 16:28:43 +03:00
Alexey Kudravtsev
e1a4fb96a8
review followup
2018-01-18 16:28:42 +03:00
Alexey Kudravtsev
eea6d83a90
plumb MyBatis plugin usage suddenly appeared out of blue moon
2018-01-18 16:28:42 +03:00
Alexey Kudravtsev
a08176bbf9
plumb JetForcer plugin usage suddenly appeared out of blue moon
2018-01-18 16:28:42 +03:00
Eugene Zhuravlev
a29a15607a
update eclipse compiler library definitions
2018-01-18 14:23:56 +01:00
Jerome Gaillard
d7968887c5
Fix bug in resizing of DialogWrapper with large error label
2018-01-18 16:14:43 +03:00
Kirill Kirichenko
627508c5f3
Fixed Win10 radioButtons/checkboxes and comment alignment in Component panels
2018-01-18 16:14:43 +03:00