Ilya Chernikov
22283be1b7
minor: Make term "canceled" uniformly spelled in identifiers and strings in the daemon
2016-05-06 13:06:38 +02:00
Ilya Chernikov
1614aca48e
Implement graceful connection failure behavior on daemon connect and cancellation check
...
Should fix (or actually - behave gracefully on) #EA-74003, #EA-74493, #EA-76032, #EA-76529, #EA-81295
Tests added
2016-05-06 13:06:38 +02:00
Ilya Chernikov
336226ac9e
minor: Switch to simpler descending sort, reduce dependency
2016-05-06 13:06:37 +02:00
Alexey Tsvetkov
d42cbde74d
JS/RTTI: (minor) fixed typo
2016-05-05 17:24:17 +03:00
Mikhael Bogdanov
cd6b709ef5
'bytecodeText' test for synthetic accessor generic signature converted to 'writeSignature' test
2016-05-04 17:07:48 +03:00
Mikhael Bogdanov
ee7bbbf530
Fix for KT-12127: Undeclared type variable on delegated property backing field
...
#KT-12127 Fixed
2016-05-04 17:07:48 +03:00
Mikhael Bogdanov
09509b6d18
Update android test dependency to android 4.4.2 cause of missed test result problem on 4.1.2
2016-05-03 09:11:37 +03:00
Michael Bogdanov
e2ae2f313c
Support test with self imports, kotlin multifile tests
2016-04-29 16:33:04 +03:00
Michael Bogdanov
0f110b049b
Fix for "adb: Syntax error: ")" unexpected"
2016-04-29 16:21:15 +03:00
Alexander Udalov
d85884426e
Minor optimization of lookup tracker records
2016-04-29 15:21:26 +03:00
Denis Zharkov
d259b91143
Add MutableMap.remove(K, V) as built-in declaration
...
Use PlatformDependent annotation to guarantee it's only be available for JDK8
Also adjust type-safe bridges and mutable collection stubs generation
2016-04-29 15:08:54 +03:00
Denis Zharkov
55c4f875c8
Use signatures instead of fq-names in special built-ins
...
It's necessary to distinguish overloads,
e.g. MutableMap.remove now has two versions
2016-04-29 15:08:54 +03:00
Kirill Rakhman
f309920af8
Add quickfix to make referenced primary constructor parameter a property
...
Fixes #KT-12089
2016-04-29 12:14:42 +02:00
Valentin Kipyatkov
b551886889
Code cleanup: removed redundant semicolons
2016-04-29 11:26:25 +03:00
Kirill Rakhman
4a619db721
Add intrinsic for KCallable.name property Fixes #KT-11531
2016-04-28 23:03:00 +03:00
Nikolay Krasko
b8e2533b58
Check that injection with annotation on parameter doesn't trigger not-stubbed psi
2016-04-28 16:11:35 +03:00
Michael Bogdanov
adda3ef69d
Ability to run tests via adb
2016-04-28 15:02:33 +03:00
Michael Bogdanov
d4a7e36722
Android tests exclusion
2016-04-28 15:02:33 +03:00
Michael Bogdanov
896429a959
Switch to gradle from gradle wrapper, use https instead of http to download files
2016-04-28 15:02:32 +03:00
Michael Bogdanov
309348c9be
Code clean
2016-04-28 15:02:32 +03:00
Michael Bogdanov
7d77f9171c
Wait some time before emulator stop, diabled emulator log redirection (otherise result reports would be inconsistent)
...
~emulator
2016-04-28 15:02:31 +03:00
Michael Bogdanov
be1cb406d2
More logging on adb server start
2016-04-28 15:02:31 +03:00
Michael Bogdanov
db6c72d886
Support WITH_REFLECT and 'Class.forName' android tests
2016-04-28 15:02:30 +03:00
Michael Bogdanov
ed3d874f88
Wait until emulator booted
2016-04-28 15:02:30 +03:00
Michael Bogdanov
2992e23508
Use gradle build instead of ant one for android test module
2016-04-28 15:02:29 +03:00
Michael Bogdanov
3ad8b5be91
Ecluded test from compilation: android report bad class file cause of missed generic parameter definition
2016-04-28 15:02:29 +03:00
Michael Bogdanov
0abdc75477
Temporary disable lint checks cause of problem with implicit 'stream' import
2016-04-28 15:02:28 +03:00
Michael Bogdanov
3cebb7c804
Added support for tests with 'JvmName' annotation
2016-04-28 15:02:28 +03:00
Michael Bogdanov
11e42c6472
Call 'invokeBox' with proper class instance (not try to find it via reflection)
2016-04-28 15:02:27 +03:00
Michael Bogdanov
1eb3d2ec1d
Added gradle android test project
2016-04-28 15:02:27 +03:00
Michael Bogdanov
1f84ff7fa6
Writing android sdk to local.properties
2016-04-28 15:02:26 +03:00
Mikhail Glukhikh
918f843cd0
Correct handling of empty super type list while adding an entry #KT-12011 Fixed
2016-04-27 18:44:42 +03:00
Mikhail Glukhikh
5a66ef2126
Core & compiler: unnecessary 'val's removed from constructors
2016-04-27 18:41:56 +03:00
Mikhail Glukhikh
6b945ba103
Regular checkType() is now called during condition analysis, TYPE_MISMATCH_IN_CONDITION removed #KT-11998 Fixed
2016-04-27 18:12:28 +03:00
Stanislav Erokhin
c6cb5175a4
Minor. Use capability instead of capabilities.
2016-04-27 14:13:59 +03:00
Stanislav Erokhin
926da77abe
Refactoring. Remove getSubstitution from KotlinType.
2016-04-27 14:13:59 +03:00
Stanislav Erokhin
5fe48313e9
Refactoring. Merge CustomSubstitutionCapability, CustomFlexibleRendering and RawTypeTag into RawTypeCapability.
2016-04-27 14:13:58 +03:00
Alexey Sedunov
12987de156
Spring Support: Replace accessor name with property name when processing usages in Kotlin files
...
#KT-11880 Fixed
2016-04-26 16:15:32 +03:00
Denis Zharkov
fc25d70edc
Expand JVM built-ins blacklist
...
Add Enum.getDeclaringClass, Enum.finalize and List.sort
2016-04-25 17:41:08 +03:00
Denis Zharkov
62f2bddda9
Add AdditionalBuiltInsMembersSignatureListsTest
...
This test checks that every signature listed within
JvmBuiltInsAdditionalClassPartsProvider corresponds to some real JDK member
2016-04-25 17:41:08 +03:00
Denis Zharkov
9bf2538e4c
Introduce predefined enhancement info
...
It can be used to specify enhanced signature for standard JDK methods
without them be actually annotated
#KT-9194 In Progress
#KT-5175 In Progress
#KT-10370 In Progress
#KT-7127 In Progress
2016-04-25 17:41:08 +03:00
Denis Zharkov
a1d4214a39
Use fq-names instead of descriptors when computing ambigious names
...
Because there can be different descriptors that are essentially equal
(from different modules)
See J2K test: testNullableField
2016-04-25 17:41:08 +03:00
Denis Zharkov
28e33aaf56
Use weak-reference based SLRU cache for module resolvers
...
Create new module resolver iff it's weak reference is collected,
but at the same time keep hot modules in SLRU map not to give them be collected
2016-04-25 17:41:08 +03:00
Denis Zharkov
2819c69bc1
Introduce BLACK_LIST_CONSTRUCTOR_SIGNATURES
...
To prevent loading senseless constructors to built-in classes from JDK
2016-04-25 17:41:08 +03:00
Denis Zharkov
1efed64014
Use JVM signatures instead of FQ-names for additional built-ins
2016-04-25 17:41:08 +03:00
Denis Zharkov
8cf29ea4f3
Extract JVM descriptors type mapping from backend to core
...
Also unbind it from ASM types
2016-04-25 17:41:08 +03:00
Denis Zharkov
12bbbb6ff1
Refactor Java resolver components
...
- Move components from LazyJavaResolverContext to JavaResolverComponents
- Drop LazyJavaClassResolver replacing it's usages with module resolver
(now enum entries from another module as annotation arguments are being resolved, see test)
2016-04-25 17:41:08 +03:00
Denis Zharkov
bbbc910e02
Load additional built-in classes constructors from JDK
...
#KT-9194 In Progress
#KT-5175 In Progress
#KT-10370 In Progress
#KT-7127 In Progress
2016-04-25 17:41:08 +03:00
Denis Zharkov
b94baede38
Minor. Fix rendered Throwable member scope
2016-04-25 17:41:08 +03:00
Denis Zharkov
5bc5722051
Load additional JDK functions into built-ins member scope
...
#KT-5990 Fixed
#KT-7127 Fixed
#KT-10370 Fixed
2016-04-25 17:41:08 +03:00