Commit Graph

101 Commits

Author SHA1 Message Date
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 638ec2ae92 Fix deprecated Kotlin constructs and remove unused code in Android plugins 2015-04-03 17:37:20 +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
Yan Zhulanow a4dc6870dc Fix Android layout widget redeclarations 2015-04-03 17:37:18 +03:00
Yan Zhulanow c40598b3e9 Do not cast findViewById to View 2015-04-03 17:37:18 +03:00
Yan Zhulanow 2061e390b4 Support special Android layout XML tags: fragment, include, merge 2015-04-03 17:37:18 +03:00
Pavel V. Talanov ed218c473a Get rid of 'class object' usages in code and builtins
Replace some comments and library usages as well
2015-03-25 18:28:00 +03:00
Yan Zhulanow c945a53eec Move AndroidPsiTreeChangePreprocessor to android-idea-plugin module 2015-03-18 17:51:58 +03:00
Yan Zhulanow e56d67f4b8 Android synthetic properties are now properties with flexible type 2015-03-17 17:37:14 +03:00
Pavel V. Talanov 2a6facaef6 default -> companion: default object -> class object in project code, builtins and libs code 2015-03-17 15:46:48 +03:00
Yan Zhulanow 7b39cf4998 Support cache cleanup in android-compiler-plugin 2015-03-13 15:46:43 +03:00
Yan Zhulanow 93ce3bc2ad Pass GenerationState to generateClassSyntheticParts as it's more useful 2015-03-13 15:46:42 +03:00
Yan Zhulanow 4cc5e9248a Support View in android-compiler-plugin 2015-03-13 15:46:42 +03:00
Yan Zhulanow da8369066b Support Fragment in android-compiler-plugin 2015-03-13 15:46:41 +03:00
Yan Zhulanow d4184bd51d Move AndroidExpressionCodegenExtension to the separate file 2015-03-13 15:46:40 +03:00
Yan Zhulanow e836b88fc3 Fix deprecated Kotlin function calls 2015-03-13 15:46:40 +03:00
Yan Zhulanow c56347058f Do not pass resource manager to AndroidXmlVisitor and AndroidXmlHandler 2015-03-13 15:46:40 +03:00
Yan Zhulanow 6b368e445a Cache XML layout widgets using PsiTreeChangePreprocessor 2015-03-13 15:46:39 +03:00
Yan Zhulanow 19d24c3c50 Rename AndroidExpressionCodegen to AndroidExpressionCodegenExtension 2015-03-13 15:46:38 +03:00
Yan Zhulanow 41d9477870 Load Android extensions only if plugin options are present 2015-03-13 15:46:36 +03:00
Yan Zhulanow be954f2c27 Fix WrongIdFormat exception on Android XML widgets with non-@+id/ format 2015-03-11 15:33:45 +03:00
Pavel V. Talanov 9ecf95532e Replace 'class object' with default object in project code 2015-03-10 18:07:46 +03:00
Yan Zhulanow 20fc298113 Cache Android XML parse results using VfsModificationTracker 2015-02-26 16:07:44 +03:00
Yan Zhulanow 0ecd1c04b0 Update copyright 2015-02-26 15:26:02 +03:00
Yan Zhulanow db45ab4ad6 Call findViewById if invoked on anything but our Activity class 2015-02-26 15:26:00 +03:00
Yan Zhulanow f033604c7a Rename jet to kotlin in compiler api 2015-02-26 15:25:59 +03:00
Yan Zhulanow 5eec7d3ac2 Rename jet to kotlin in android-compiler-plugin 2015-02-26 15:25:59 +03:00
Yan Zhulanow 9aef9b2643 Rename jet to kotlin in plugin-api 2015-02-26 15:25:58 +03:00
Yan Zhulanow c756cfef86 Codebase update 2015-02-26 15:25:57 +03:00
Yan Zhulanow 346dbe3f7c Refactor Android plugin 2015-02-26 15:25:57 +03:00
Yan Zhulanow 4f9aba2cdc Support multi-module configuration in Android plugin 2015-02-26 15:25:57 +03:00
Yan Zhulanow 438d2ee5fa Cache resolved Views in Map 2015-02-26 15:25:56 +03:00
Yan Zhulanow 4180cf4d53 Read VirtualFile contents via contentsToByteArray() 2015-02-26 15:25:56 +03:00
Yan Zhulanow 15f7f6e08e Android compiler tests moved to test package 2015-02-26 15:25:52 +03:00
Yan Zhulanow 27e1e7ffdb Fix a typo 2015-02-26 15:25:49 +03:00
Yan Zhulanow a2032e60a7 Provide values using ServiceLoader instead of MANIFEST.MF 2015-02-26 15:25:44 +03:00
Andrey Breslav 562b563e7e Read action added in Android plugins 2015-02-26 15:25:42 +03:00
Andrey Breslav 71d082c12c Missing public added 2015-02-26 15:25:41 +03:00
Andrey Breslav 5811b13ce7 ExpressionCodegenExtension extracted 2015-02-26 15:25:40 +03:00
Andrey Breslav e10d8a6fe0 ExternalDeclarationsProvider introduced 2015-02-26 15:25:40 +03:00
Andrey Breslav 1f10ab21ac android-ide-plugin module extracted 2015-02-26 15:25:40 +03:00
Andrey Breslav 1e70369cf8 Logic related to command-line options moved to android-compiler-plugin 2015-02-26 15:25:40 +03:00