Commit Graph

15011 Commits

Author SHA1 Message Date
Stanislav Erokhin 8f32eeb663 Refactoring. Merge Specificity and NullAwareness into Flexibility. 2016-04-25 15:28:47 +03:00
Stanislav Erokhin a1d052b8fa Refactoring. Remove FlexibleTypeFactory.DEFAULT and refactor flexible type creation by special fq-name for tests. 2016-04-25 15:28:46 +03:00
Stanislav Erokhin 0a4ad3f267 Refactoring. Rename FlexibleTypeCapabilities -> FlexibleTypeFactory. Also use factory.create instead of DelegatingFlexibleType.create. 2016-04-25 15:28:46 +03:00
Michael Bogdanov 75d7390a94 Rollback: set permissions via 'chmod' 2016-04-25 14:33:22 +03:00
Michael Bogdanov 4e95a52152 'generators' dependency replaced with 'descriptors.loader.java' in 'android-test' module 2016-04-25 14:33:21 +03:00
Michael Bogdanov af2a3b14c7 Temporary exclude 'box' test with self imports 2016-04-25 14:33:20 +03:00
Michael Bogdanov 9238b7ba80 Use mock jdk for tests that not require full one 2016-04-25 14:33:20 +03:00
Michael Bogdanov bc16be9735 Support for WITH_RUNTIME test on android 2016-04-25 14:33:19 +03:00
Michael Bogdanov 6228b11048 Properly patch package name in case of file annotations on default package 2016-04-25 14:33:19 +03:00
Alexey Sedunov 6a1387b9b9 Safe Delete: Delete interface reference from super-type list when applying Safe Delete to Java interface
#KT-11282 Fixed
2016-04-25 10:38:38 +03:00
Alexey Sedunov 613a274c90 Safe Delete: Fixed usages search when applied to simple enum entries
#KT-11816 Fixed
2016-04-25 10:38:37 +03:00
Alexey Sedunov b35834dd18 Rename: Fixed rename of Kotlin enum constants/@JvmField properties through Java references
#KT-11817 Fixed
2016-04-25 10:38:35 +03:00
Yan Zhulanow 4298559858 Minor: fix sparam -> setparam 2016-04-22 19:48:28 +03:00
Michael Bogdanov ba1aab7e3e Temporary use ARMV7 target to run emulator 2016-04-22 18:22:52 +03:00
Michael Bogdanov 18b879102a Do nothing if there is no files to write 2016-04-22 18:22:52 +03:00
Michael Bogdanov 1b9fa25ac6 Temporary skip multi-file box tests and box tests with stdlib/reflection 2016-04-22 18:22:51 +03:00
Michael Bogdanov 82786bb97e Temporary exclude 'box' test with imports 2016-04-22 18:22:51 +03:00
Michael Bogdanov 518cc7aa7f Workaround for wrong recognized exception in result log 2016-04-22 18:22:50 +03:00
Michael Bogdanov a9a917a99e Use 'kill -s 9' to finish process 2016-04-22 18:22:50 +03:00
Michael Bogdanov a9ce6f71f6 Firstly try to stop emulator via adb then via kill process 2016-04-22 18:22:49 +03:00
Michael Bogdanov 10f557105b File name to package class mapping updated to new single file facade scheme 2016-04-22 18:22:48 +03:00
Michael Bogdanov e9a2b8628c Added x86 abi to android tests 2016-04-22 18:22:48 +03:00
Michael Bogdanov fbbb614e80 PermissionManager updated to new android tools structure 2016-04-22 18:22:47 +03:00
Michael Bogdanov a17c2c5c0e SdkDownloader refactoring, updated to last android tools 2016-04-22 18:22:46 +03:00
Dmitry Petrov f3c006a5f5 RedundantCoercionToUnitTransformer: do not create individual objects for each transformation. 2016-04-22 17:38:44 +03:00
Mikhail Glukhikh 6980d28eb0 Refactoring: ControlFlowInstructionsGenerator.handleJumpInsideTryFinally 2016-04-22 15:17:01 +03:00
Mikhail Glukhikh d24528f6bb Control flow analysis: nested finally blocks now appear in correct order in CFG #KT-4764 Fixed 2016-04-22 15:16:57 +03:00
Mikhail Glukhikh a5b428d9ce Refactoring: CFG.LexicalScope --> CFG.BlockScope #KT-11965 Fixed 2016-04-22 15:16:54 +03:00
Mikhail Glukhikh cda4d2dcce CFG.LexicalScope minor refactoring 2016-04-22 15:16:50 +03:00
Michael Bogdanov 7335f2394b Sort result ranges in SMAP class 2016-04-21 17:32:03 +03:00
Michael Bogdanov d945c47b63 Skip line numbers that couldn't be mapped by SourceMappers 2016-04-21 17:32:03 +03:00
Nikolay Krasko 39e6b893a7 Teach getOwnerFunction() in KtParamter work with stubs 2016-04-21 15:25:10 +03:00
Mikhail Glukhikh a12faf5baf KtDeclaration.containingClassOrObject now works correctly for primary constructor and its parameters #KT-11982 Fixed 2016-04-21 14:21:40 +03:00
Alexey Andreev 7b76fa6103 KT-11030 Remove tests for diagnostics for local classes in JS backend 2016-04-20 18:12:25 +03:00
Alexey Andreev 4ac730e5ed KT-11030 Fix referencing wrong field generated for captured variable when this captured variable referenced both from constructor and non-constructor method. Avoid duplicate generation of call to delegated constructor. 2016-04-20 18:12:24 +03:00
Alexey Andreev a5e0c70988 KT-11611 Prevent duplicate generation of default values of secondary constructor parameters 2016-04-20 18:12:23 +03:00
Alexey Andreev 7afca74b94 KT-11030 When constructor of object expression calls super constructor, place this call at object creation instead of object's constructor. This allows to capture outer this reference properly in certain cases. JVM backend uses the same approach 2016-04-20 18:12:23 +03:00
Alexey Andreev b39c16cb6c KT-11030 Fix translation of secondary constructors of inner classes 2016-04-20 18:12:22 +03:00
Alexey Andreev 3e11209d8a KT-11030 Borrow test for local classes from JVM backend 2016-04-20 17:49:03 +03:00
Michael Bogdanov 9a8474392d Code clean 2016-04-20 17:07:17 +03:00
Michael Bogdanov 2cec779c14 'visitLineNumber' replaced with 'mapLineNumber' in SourceMapper 2016-04-20 17:07:16 +03:00
Michael Bogdanov c70e1c6065 SourceMappers refactoring 2016-04-20 17:07:15 +03:00
Michael Bogdanov bb5c24eae5 Old SourceMappers replaced with new ones 2016-04-20 17:07:15 +03:00
Michael Bogdanov 68f5e4d10e Added debug strata to test data 2016-04-20 17:07:14 +03:00
Michael Bogdanov af68f3d019 Added additional strata for stacktraces 2016-04-20 17:07:12 +03:00
Michael Bogdanov f6edf311d7 Optimization in NestedSourceMapper 2016-04-20 17:07:11 +03:00
Michael Bogdanov 636c13adde Small optimization in InlineLambdaSourceMapper 2016-04-20 17:07:11 +03:00
Michael Bogdanov 0a46cea799 TODO: optimize smap - do preproccessing 2016-04-20 17:07:10 +03:00
Michael Bogdanov faca68297c Updated line numbers tests 2016-04-20 17:07:09 +03:00
Michael Bogdanov ab2d3665a4 SourceMapper api refactoring 2016-04-20 17:07:08 +03:00