Commit Graph

133 Commits

Author SHA1 Message Date
Yan Zhulanow cf08390e04 Minor: fix deprecations in Kotlin Android Extensions code 2015-07-07 16:35:21 +03:00
Yan Zhulanow afa3ae4439 Add tests for inherited annotations (class declarations) 2015-07-07 16:35:20 +03:00
Yan Zhulanow 09c3bd8699 kapt: Support inherited annotations in Kotlin plugin 2015-07-07 16:35:19 +03:00
Alexander Udalov feb4dd7b8f Drop 'OBJECT$' field deprecated in M11 2015-07-06 16:19:54 +03:00
Ilya Gorbunov 2c31a1a345 Compiler&plugin deprecations cleanup: *array -> *arrayOf, copyToArray -> toTypedArray. 2015-06-29 17:06:12 +03:00
Mikhail Glukhikh 5fabb962ae Private constructors are now accessed via synthetic constructor with DEFAULT_CONSTRUCTOR_MARKER as an additional argument #KT-6299 Fixed
A set of tests provided. Some external tests fixed accordingly.
Companion object creation changed accordingly.
Derived classes now can use base class with the private constructor.
Refactoring of AccessorForFunctionDescriptor.
2015-06-24 12:30:11 +03:00
Nikolay Krasko 94db320f7a Update hack for restore validity of builtins files 2015-06-23 15:59:31 +03:00
Denis Zharkov c9f79c2d05 Adjust testData: get rid of obsolete annotations 2015-06-12 09:23:31 +03:00
Yan Zhulanow f1b6bd5914 kapt: Stop compiler gracefully 2015-06-11 14:53:45 +03:00
Yan Zhulanow fbb8d28120 kapt: Light class stub producer in compiler 2015-06-11 14:53:37 +03:00
Yan Zhulanow 33ba9e85c0 Close kapt writer only once 2015-05-27 16:11:07 +03:00
Yan Zhulanow 28a3865997 Cache writer instance in kapt 2015-05-27 16:11:05 +03:00
Yan Zhulanow 569582fd34 kapt: Add constructor collectToFile test 2015-05-21 15:48:26 +03:00
Yan Zhulanow b9a9f783e9 Fix annotation collector tests (now using mock JDK) 2015-05-21 15:48:22 +03:00
Yan Zhulanow 921017367a APT: Add more compiler plugin tests 2015-05-21 15:48:21 +03:00
Yan Zhulanow d9289df29e Basic annotation collector tests 2015-05-21 15:48:07 +03:00
Yan Zhulanow b2220ca98a Annotation collector compiler plugin 2015-05-21 15:48:06 +03:00
Mikhail Glukhikh fdf0ea5546 Enum warnings fixed: deprecated delimiters, short super constructors, both in project and in libraries 2015-05-18 16:08:16 +03:00
Yan Zhulanow 7639ab4f41 Separate support and normal properties 2015-05-08 18:19:26 +03:00
Yan Zhulanow 1ae2719d34 Visit children nodes even if layout XML tag is ignored 2015-05-08 18:19:25 +03:00
Yan Zhulanow c774eac0e3 IDEA dependency version check for main IDEA and Android Extensions IDEA plugins 2015-05-08 18:19:25 +03:00
Yan Zhulanow fdc253b67f Bugfix: support several resource directories in AndroidPsiTreeChangePreprocessor 2015-05-08 18:19:24 +03:00
Yan Zhulanow 77be78b627 Support Android flavors 2015-05-08 18:19:24 +03:00
Yan Zhulanow bf707ec3f7 Minor: code clean, remove obsolete functions 2015-05-08 18:19:24 +03:00
Yan Zhulanow 3645dfc5af Support several res/ directories 2015-05-08 18:19:23 +03:00
Yan Zhulanow 7a685b8c56 Support Fragment synthetic properties 2015-05-08 18:19:23 +03:00
Yan Zhulanow d7488023d2 Add compiler tests for support.v4.app.Fragment 2015-05-08 18:19:22 +03:00
Yan Zhulanow 514bc74e9c Support android.support.v4.Fragment classes 2015-05-08 18:19:22 +03:00
Yan Zhulanow cc697d2c1a Minor: remove isResourceDeclarationOrUsage 2015-05-08 18:19:22 +03:00
Yan Zhulanow bc4a342a38 Refactoring: handle base AndroidResource class (in order to support <fragment>) 2015-05-08 18:19:21 +03:00
Nikolay Krasko 9d986d077c Move kotlin runtime library to end of classpath and remove duplicates with 'util' package 2015-05-06 14:18:24 +03:00
Valentin Kipyatkov bb808b5620 Created module idea-test-framework and moved classes needed for idea tests there
Moved tests for completion and their test data into module idea-completion
2015-04-14 18:53:01 +03:00
Alexander Udalov 94df191f86 Regenerate tests 2015-04-10 20:26:34 +03:00
Stanislav Erokhin b152211096 Added init keyword to testdata 2015-04-07 13:08:51 +03:00
Yan Zhulanow df12331173 Ignore fragment tag (it requires a different implementation) 2015-04-03 17:38:20 +03:00
Yan Zhulanow b4cfacbac7 Name synthetic files after layout names 2015-04-03 17:37:24 +03:00
Yan Zhulanow e6fa6e9a5d Escape layout names which are Kotlin keywords 2015-04-03 17:37:23 +03:00
Yan Zhulanow 3aa6edca7b Escape soft keywords as well 2015-04-03 17:37:23 +03:00
Yan Zhulanow fae114f606 Cast findViewById() result to Views safely 2015-04-03 17:37:23 +03:00
Yan Zhulanow 1f16328070 Add imports for XML widget tags, support.v4 fake package files 2015-04-03 17:37:22 +03:00
Yan Zhulanow d0e4f86790 Escape widget ids which are Kotlin keywords 2015-04-03 17:37:22 +03:00
Yan Zhulanow 2af538e854 Ignore some XML tags 2015-04-03 17:37:21 +03:00
Yan Zhulanow 938248bd29 Search for all properties in layout files corresponding to the given JetProperty 2015-04-03 17:37:21 +03:00
Yan Zhulanow 96074bc948 Fix Android byte code generation inside complex expressions 2015-04-03 17:37:21 +03:00
Yan Zhulanow de06a0cbc2 Clear layout cache on layout XML file add/remove 2015-04-03 17:37:20 +03:00
Yan Zhulanow b930f04ff4 Fix null-related warnings in AndroidRenameProcessor 2015-04-03 17:37:20 +03:00
Yan Zhulanow 638ec2ae92 Fix deprecated Kotlin constructs and remove unused code in Android plugins 2015-04-03 17:37:20 +03:00
Yan Zhulanow dd083c64cc Simplify Module resolving in AndroidRenameProcessor 2015-04-03 17:37:19 +03:00
Yan Zhulanow cbf68e8c6f Generate synthetic packages even for layouts without @+id/ attributes declared 2015-04-03 17:37:19 +03:00
Yan Zhulanow 0a96c2c148 Lookup XML attribute using the property (for a particular layout) 2015-04-03 17:37:19 +03:00