Yan Zhulanow
4b4d8dd660
Fix breakpoints for the same inline function nested calls (KT-22366)
...
This commit changes the format of the synthetic local variables for inline functions.
2018-12-12 21:40:44 +09:00
Yan Zhulanow
ae4f05cf62
Remove unneeded usage of the blocking invokeInManagerThread() (KT-24282)
2018-12-12 21:40:44 +09:00
Yan Zhulanow
e12af0e2d1
Fix evaluation for captured inline classes (KT-28487)
2018-12-12 21:40:44 +09:00
Yan Zhulanow
27ea02929a
Fix evaluation for static interface methods declared in Java (KT-23585)
2018-12-12 21:40:43 +09:00
Yan Zhulanow
3d7b503cd6
Fix source mapping for stepping into package facades from libraries (KT-28028)
2018-12-12 21:40:43 +09:00
Yan Zhulanow
3c8714696d
Add a LookupLocation to 'getSyntheticExtensionProperties()', use it in 'DebuggerFieldSyntheticScopeProvider'
2018-12-12 21:40:43 +09:00
Yan Zhulanow
dc34f11f50
Evaluate: Enable 'foo_field' convention only for Jvm/Common code
2018-12-12 21:40:43 +09:00
Yan Zhulanow
8334769eb0
Refactoring: Replace 'ParametersDescriptor' with a simple 'List'
2018-12-12 21:40:43 +09:00
Yan Zhulanow
c88d8a5e0d
Evaluate: Support synthetic 'field' variable evaluation (KT-28342)
2018-12-12 21:40:43 +09:00
Yan Zhulanow
60d2490c45
Minor: Move changeSuperToMagicAccessor() function to its single use site, J2K it
2018-12-12 21:40:43 +09:00
Yan Zhulanow
9498eb8d4d
Kapt: Preserve 'getJarPathForClass()' (used in kapt-cli)
2018-12-12 21:40:43 +09:00
Yan Zhulanow
ada71ce3cd
Evaluate: Use '<name>_field' syntax for field value evaluation (KT-14075)
2018-12-12 21:40:42 +09:00
Yan Zhulanow
c2f33c0dfd
Provide a default implementation for 'SyntheticScope'
2018-12-12 21:40:42 +09:00
Denis Zharkov
a83f0e5fb7
Add diagnostic for calling ConcurrentHashMap::contains by convention
...
^KT-18053 Fixed
2018-12-12 15:37:50 +03:00
Simon Ogorodnik
f8e7c8856a
PerModulePackageCache: Process events where whole psi file was added
2018-12-12 15:28:16 +03:00
Simon Ogorodnik
1f6fde4bc2
KT-20706: Fix auto-popup completion after digit in KDoc
...
#KT-20706 Fixed
2018-12-12 15:27:20 +03:00
Alexander Podkhalyuzin
c607b8e556
Removed unnecessary warning
...
#KT-28360 Fixed
2018-12-12 14:34:04 +03:00
Mikhail Glukhikh
3889bb05d6
Do not modify highlighting settings for non-Kotlin files #KT-28716 Fixed
2018-12-12 14:20:06 +03:00
Alexey Tsvetkov
01fbcfad23
Minor: replace UsefulTestCase with KtUsefulTestCase
...
For some reason assertSameLinesWithFile from UsefulTestCase
fails with exception on TeamCity, whereas the one KtUsefulTestCase
does not
2018-12-12 02:53:13 +03:00
Alexey Tsvetkov
7c767e0789
Exclude InsnList from proguard
...
It is used by jvm-abi-gen plugin
2018-12-12 02:52:07 +03:00
Shagen Ogandzhanian
03966985a1
Add mininal test suite to idl2k, remove deprecated ANTLRFileStream
2018-12-11 22:46:01 +01:00
Alexey Tsvetkov
57f8f216d1
Exclude local variables and try catch blocks of non-inline functions from ABI
2018-12-11 22:48:53 +03:00
Alexey Tsvetkov
495cfec9e9
Check descriptor visibility before excluding method from ABI class
2018-12-11 22:48:53 +03:00
Alexey Tsvetkov
34d96dff28
Minor: rename const according to style guide
2018-12-11 22:48:53 +03:00
Alexey Tsvetkov
b87058b532
Attempt to fix ABI tests on TC
...
Locally they work fine
2018-12-11 22:48:53 +03:00
Alexey Tsvetkov
09dbf427ee
Disable removing private/synthetic/local classes temporarily
2018-12-11 22:48:53 +03:00
Alexey Tsvetkov
96f3c67b3b
Report output classes
2018-12-11 22:48:53 +03:00
Alexey Tsvetkov
05c5196aaa
Reuse BytecodeListingTextCollectingVisitor in tests
2018-12-11 22:48:53 +03:00
Alexey Tsvetkov
497df17eb7
Reuse TransformationMethodVisitor in ABI gen plugin
2018-12-11 22:48:53 +03:00
Alexey Tsvetkov
82eb7c17e6
Convert TransformationMethodVisitor: step 2
2018-12-11 22:48:53 +03:00
Alexey Tsvetkov
56b72c96eb
Convert TransformationMethodVisitor: step 1
2018-12-11 22:48:53 +03:00
Alexey Tsvetkov
50d8fe611c
Minor fixes after review
2018-12-11 22:48:53 +03:00
Alexey Tsvetkov
d54ce2da6f
Exclude nested classes of private classes from ABI classes
2018-12-11 22:48:53 +03:00
Alexey Tsvetkov
64380f55d2
Report locations of errors in ABI classes tests
2018-12-11 22:48:53 +03:00
Alexey Tsvetkov
9dd09151f0
Add tests for compilation against abi classes
2018-12-11 22:48:53 +03:00
Alexey Tsvetkov
8992ee6280
Add tests for non-compatible ABI changes
2018-12-11 22:48:53 +03:00
Alexey Tsvetkov
5891617674
Exclude clinit from ABI classes
2018-12-11 22:48:53 +03:00
Alexey Tsvetkov
519211036d
Exclude synthetic classes from ABI classes
2018-12-11 22:48:53 +03:00
Alexey Tsvetkov
fe047a0092
Minor: extract function
2018-12-11 22:48:53 +03:00
Alexey Tsvetkov
f231817559
Delay I/O when transforming ABI classes
2018-12-11 22:48:53 +03:00
Alexey Tsvetkov
d74185a74d
Remove unused cosntant pool entries from ABI classes
2018-12-11 22:48:53 +03:00
Alexey Tsvetkov
3a29b337a0
Exclude private typealiases from ABI classes
2018-12-11 22:48:53 +03:00
Alexey Tsvetkov
1f5ca7274d
Exclude local and private classes from ABI classes
2018-12-11 22:48:53 +03:00
Alexey Tsvetkov
7c2f7cab9a
Exclude non-inline method bodies from ABI classes
2018-12-11 22:48:53 +03:00
Alexey Tsvetkov
903f6bc79b
Exclude private members from ABI classes
2018-12-11 22:48:53 +03:00
Alexey Tsvetkov
33faa00184
Add plugin for JVM ABI classes generation
...
#KT-25128 Fixed
ABI class generation is implemented as a compiler plugin.
Command-line usage:
1. Add a path to 'jvm-abi-gen.jar' to the plguin classpath argument
(`-Xplugin`). By default the jar is located at
'kotlinc/lib/jvm-abi-gen.jar' in the kotlinc distribution archive.
2. Specify an output directory for ABI classes via
`-Pplugin:org.jetbrains.kotlin.jvm.abi:outputDir=<DIR>`.
2018-12-11 22:48:53 +03:00
Mikhail Glukhikh
7fcd29843e
Fix JS compilation for branch 181
2018-12-11 22:14:44 +03:00
Mikhail Glukhikh
588e94b917
File rename: TargetPlatform.kt -> PlatformConfiguratorBase.kt
...
Made to match file content better
2018-12-11 22:07:41 +03:00
Simon Ogorodnik
e3aed04d96
Extract module info & target platform to separate frontend.common
2018-12-11 22:07:41 +03:00
Vyacheslav Gerasimov
cd614b5bf8
Build: fix missing dx sources
2018-12-11 21:59:52 +03:00