Ilya Gorbunov
80074c71fa
Minor: Correct typo in 'intrinsic'
2015-07-04 04:47:12 +03:00
Ilya Gorbunov
1605027b19
Change return type of Char plus Int and Char minus Int binary operations.
...
JS: Remove unnecessary intrinsic binary operation patterns, adjust intrinsics for binary operations with char.
2015-07-04 04:47:00 +03:00
Ilya Gorbunov
39b27751df
Drop deprecated char operations: correct test data.
2015-07-04 04:46:23 +03:00
Ilya Gorbunov
e8aff3360a
Do not use deprecated operations in ranges and progressions hashCode.
2015-07-04 04:46:11 +03:00
Ilya Gorbunov
2c4db42319
Drop deprecated char binary operations.
2015-07-04 04:45:59 +03:00
Ilya Gorbunov
005a0a1eb6
Eliminate deprecated char operation usages in stdlib
2015-07-04 04:45:47 +03:00
Nikolay Krasko
ff9c251438
Filter out overridden candidates before looking for most specific
...
This filtering will remove signature duplicates that prevent findMaximallySpecific() from finding best candidate.
2015-07-03 20:59:48 +03:00
Evgeny Gerashchenko
01b83b3e3e
Minor. Fixed test data.
2015-07-03 19:48:01 +04:00
Alexey Sedunov
5319e9e761
Change Signature: Support configurable Change Signature for Java code
...
#KT-5923 Fixed
2015-07-03 18:38:06 +03:00
Alexey Sedunov
9e82411e78
Change Signature: Do not process calls with unmatched arguments/parameters
2015-07-03 18:38:05 +03:00
Alexey Sedunov
4cc2a57aed
Minor: Pull up original property
2015-07-03 18:38:04 +03:00
Alexey Sedunov
e9b2732aa9
Minor: Drop unused class
2015-07-03 18:38:03 +03:00
Alexey Sedunov
161539f3da
Change Signature: val/var parameter support
2015-07-03 18:38:02 +03:00
Alexey Sedunov
2ff63d37c2
Change Signature: Property support
...
#KT-6599 Fixed
2015-07-03 18:38:01 +03:00
Alexey Sedunov
c96349f42b
Change Signature: Filter out OverriderUsageInfo(s) corresponding to Kotlin
...
declarations
2015-07-03 18:37:59 +03:00
Alexey Sedunov
c66a4d53fd
Introduce Variable: Use name entered in template as a variable name
...
#KT-8358 Fixed
2015-07-03 18:37:58 +03:00
Pavel V. Talanov
e135b6ae96
Recompute KotlinResolveCache for synthetic files on project structure modification
...
Since computed KotlinResolveCache depends on corresponding synthetic files location (namely, moduleFilter), it should be recomputed in this case
The STR for this issue provided by Alexander Udalov:
1. Open a library source, wait for it to be analyzed. In this case library sources are files in the project under core/builtins/src/.
2. Go to project settings and remove the source from the library.
3. Exception now on each file change, out of block doesn't seem to help.
2015-07-03 16:50:51 +03:00
Ilya Gorbunov
f7436064d0
Unify componentN templates and add NOTHING_TO_INLINE suppression.
2015-07-03 16:38:10 +03:00
Ilya Gorbunov
9618a3542f
Provide getOrElse and getOrNull methods for indexed collections.
...
Breaking: elementAtOrElse is no longer inlined for Iterables and Sequences.
#KT-6952
2015-07-03 16:38:08 +03:00
Michael Nedzelsky
8cd978bfd8
add tests for KT-8158 make Kotlin compiler invoked from IDEA cancellable
2015-07-03 16:14:08 +03:00
Michael Nedzelsky
ea0c14d7ad
KotlinJpsBuildTest.kt: minor refactoring after converting
2015-07-03 16:14:04 +03:00
Michael Nedzelsky
13bda2de44
convert KotlinJpsBuildTest to Kotlin: step 1: rename
2015-07-03 16:14:01 +03:00
Michael Nedzelsky
e09411f45f
convert KotlinJpsBuildTest to Kotlin: step 1: convert body
2015-07-03 16:13:58 +03:00
Evgeny Gerashchenko
aa65eb1055
More proper fix for KT-8137/EA-69470: avoiding failed assertion when searching usages of parameter of local class constructor
...
KT-8137 AE at JetSourceNavigationHelper.convertNamedClassOrObject() on function local class with several constructor parameters
#KT-8137 fixed
#EA-69470 fixed
2015-07-03 16:00:06 +03:00
Alexander Udalov
48a8f53551
Fix ClassCastException in SamAdapterOverridabilityCondition
...
This was happening on the upcoming hierarchy of property getters and setters in
kotlin.reflect. No test added because it's not so easy to come up with a small
example, and because the fix itself is rather trivial
2015-07-03 15:32:20 +03:00
Alexander Udalov
fa9dfd94b0
Minor, add ScriptContext#toString
2015-07-03 15:32:19 +03:00
Alexander Udalov
7dcb33fcf2
Minor, don't store type in receiver parameter
2015-07-03 15:32:19 +03:00
Alexander Udalov
cd61f6f96b
Minor, dump bytecode in REPL test on demand
2015-07-03 15:32:18 +03:00
Alexander Udalov
cd847b7cb9
Minor, make JavaMethod#getReturnType non-null
...
PsiMethod#getReturnType only returns null for constructors, and JavaMethod is
not created for constructors (JavaConstructor is)
2015-07-03 15:32:17 +03:00
Alexander Udalov
b064b947ce
Minor, add missing kdoc on Function's type parameter
2015-07-03 15:32:17 +03:00
Alexander Udalov
c8439ae6fc
Minor, rename val EXTENSION_REGISTRY -> extensionRegistry
2015-07-03 15:32:16 +03:00
Alexander Udalov
110d6fa7f1
Don't load irrelevant classes by accident, if resource happens to exist
...
Check with the containing class or package first, don't load the class if the
container doesn't know about it. This also makes the workaround for
case-insensitive file systems unnecessary
2015-07-03 15:31:48 +03:00
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