Stanislav Erokhin
1e7b96aec0
replace ArrayList to SmartList
2015-07-02 16:32:46 +03:00
Stanislav Erokhin
2f68cc4c97
Created reset method.
2015-07-02 16:32:45 +03:00
Stanislav Erokhin
298a27951f
Use System.nanoTime() instead threadMxBean.getCurrentThreadUserTime()
2015-07-02 16:32:45 +03:00
Stanislav Erokhin
45a3d7ec46
Create performance counter with excluded counters
2015-07-02 16:32:45 +03:00
Stanislav Erokhin
d830729ddb
change creation of performance counters
2015-07-02 16:32:44 +03:00
Stanislav Erokhin
9974423e2b
Disable performance time counters by default
2015-07-02 16:32:44 +03:00
Dmitry Jemerov
94e3b058b2
Merge pull request #712 from zarechenskiy/visitor
...
Override all methods from based visitor class
2015-07-02 11:39:19 +02:00
Nikolay Krasko
d564f44aad
Getting decompiled file content through getPsi() doesn't work for local class files
...
Decompiler view providers are created with EmptyFileManager (see ClassFileDecompiler.decompile()). This makes impossible to create psi file for virtual class file in local file system because parent directory is null in SingleRootFileViewProvider.createFile() pre-check.
2015-07-02 00:49:08 +03:00
Ilya Gorbunov
64379947fd
Do not allow using getOrPut on concurrent maps.
...
#KT-5800 In Progress
2015-07-01 22:33:58 +03:00
Ilya Gorbunov
a47325cc30
Provide getOrSet method for ThreadLocal<T: Any>
...
#KT-7927 Fixed
2015-07-01 22:30:17 +03:00
Mikhail Zarechenskiy
2fcb46bb13
Override all methods from based visitor class
2015-07-01 22:25:28 +03:00
Ilya Gorbunov
cb9d9cb77d
Delegates.observable and vetoable inline their lambda parameters into ObservableProperty implementation.
...
ObservableProperty made abstract.
#KT-5388
2015-07-01 22:23:14 +03:00
Ilya Gorbunov
9dbc4e4eef
Provide another type of callback to the ObservableProperty which is called after the property value has been changed.
...
#KT-6866 Fixed
2015-07-01 22:23:11 +03:00
Ilya Gorbunov
61e657567d
Increase heap size for compiler up to 2000M
2015-07-01 22:16:17 +03:00
Evgeny Gerashchenko
8e3dd54477
Minor. Converted class with class object to object.
2015-07-01 21:21:35 +03:00
Pavel V. Talanov
15a4782a0c
Move CompilationCanceledStatus and related utils to "util" module
...
It should not be in "frontend" since "jps bare plugin" artifact does not include "frontend" module
2015-07-01 21:21:35 +03:00
Pavel V. Talanov
9a9d70fd98
Decompiler: do not try to render function types with star projections prettily
2015-07-01 20:45:32 +03:00
Evgeny Gerashchenko
8fcbd44ad4
KT-8137 AE at JetSourceNavigationHelper.convertNamedClassOrObject() on function local class with several constructor parameters
...
#KT-8137
#EA-69470 fixed
2015-07-01 19:43:54 +03:00
Evgeny Gerashchenko
560654744c
Checking exceptions in other threads. E.g. inspections pass thread.
2015-07-01 19:43:54 +03:00
Mikhail Glukhikh
bae9a7d7f8
Types are no more rendered for annotation arguments + a swarm of tests corrected accordingly
2015-07-01 16:12:32 +03:00
Nikolay Krasko
dde295011b
Refactoring: rename file
2015-07-01 14:52:43 +03:00
Nikolay Krasko
ef477f99e9
Create file must return new file, as old one can be invalidated (KT-8266)
...
Invalidation in SingleRootFileViewProvider.getPsiInner()
#KT-8266 Fixed
2015-07-01 14:52:41 +03:00
Mikhail Glukhikh
7c7a0fb4ea
trait to interface (StubInterfaces)
2015-06-30 19:46:33 +03:00
Mikhail Glukhikh
848c2afdb4
"is" over enum entry is now an error + new tests + test fixes
2015-06-30 19:46:30 +03:00
Mikhail Glukhikh
e1d3b296e9
Exhaustive when over enum may now use "is" instead of comparison + a pair of tests
2015-06-30 19:46:28 +03:00
Pavel V. Talanov
786cadb08b
Fix failing test in container test and add it to generators module test dependencies
...
This should enable running this test on build server
2015-06-30 17:06:22 +03:00
Pavel V. Talanov
b173f96505
Refactor: Remove ScopeProvider, introduce FileScopeProviderImpl
...
Rename NoFileScopeProvider -> FileScopeProvider.ThrowException, ScopeProvider.AdditionalScopeProvider -> FileScopeProvider.AdditionalScopes
2015-06-30 16:12:23 +03:00
Dmitry Jemerov
7bcc3dd875
correct place for enabling alternative resolve in library configurator
2015-06-30 14:05:30 +02:00
Nikolay Krasko
8bea21a847
Introduce BodyResolveCache for storing resolve function body task in IDE
2015-06-30 13:54:42 +03:00
Nikolay Krasko
2dfed03b67
Refactoring: rename method addAllMyDataTo -> addOwnDataTo
2015-06-30 13:54:41 +03:00
Nikolay Krasko
09bb050c3f
Add addOwnDataTo() to BindingContext
2015-06-30 13:54:40 +03:00
Nikolay Krasko
083023211e
Refactoring: create trace inside each resolve task
...
This will allow reuse external cached results with their temp traces
2015-06-30 13:54:39 +03:00
Nikolay Krasko
980a0d19be
Refactoring: don't register scopes explicitly, get them from scope provider on demand
2015-06-30 13:54:38 +03:00
Nikolay Krasko
b81d8eb484
Refactoring: Don't depend on whole context if only DataFlowInfo is needed
2015-06-30 13:54:37 +03:00
Nikolay Krasko
0b49197ca3
Minor: suppress warning
2015-06-30 13:54:36 +03:00
Nikolay Krasko
fad883e55b
Minor: remove outdated commit
2015-06-30 13:54:36 +03:00
Valentin Kipyatkov
2f0bce375e
Restored filtering out of empty name actions
2015-06-30 13:41:41 +03:00
Valentin Kipyatkov
004b400089
DirectiveBasedActionUtils: added intentions to suppress warning to the list of ignored in tests to fix DeprecatedSymbolUsage.testJavaDeprecated()
2015-06-30 13:41:41 +03:00
Valentin Kipyatkov
eadeb6e63f
DirectiveBasedActionUtils: don't allow to specify ACTION directives that won't be checked anyway
2015-06-30 13:41:41 +03:00
Valentin Kipyatkov
c0062b1199
Code simplifications
2015-06-30 13:41:41 +03:00
Valentin Kipyatkov
09723b9991
Converted DirectiveBasedActionUtils to Kotlin
2015-06-30 13:41:41 +03:00
Valentin Kipyatkov
646653aa9a
Better deparenthesizing
2015-06-29 19:36:50 +03:00
Valentin Kipyatkov
5b997c2c43
Moved method
2015-06-29 19:36:49 +03:00
Valentin Kipyatkov
db144a6121
Suggestions from expression itself to have higher priority + fixed incorect upper case naming
2015-06-29 19:36:49 +03:00
Valentin Kipyatkov
4a52247ab7
Name validation filters out invisible declarations
2015-06-29 19:36:48 +03:00
Valentin Kipyatkov
5c0195ff68
IterateExpressionIntention: checking for name conflicts
2015-06-29 19:36:48 +03:00
Valentin Kipyatkov
abb729b2ed
Moved and renamed classes
2015-06-29 19:36:47 +03:00
Valentin Kipyatkov
de2378f909
Rewritten NameValidatorImpl to be both more efficient and more correct
2015-06-29 19:36:47 +03:00
Valentin Kipyatkov
df5f035760
KT-7716 Introduce Variable's name suggestions often have "1" at the end for no real reason
...
#KT-7716 Fixed
2015-06-29 19:36:46 +03:00
Valentin Kipyatkov
ed267d9949
Code improvements in NameValidatorImpl
2015-06-29 19:36:46 +03:00