Commit Graph

70 Commits

Author SHA1 Message Date
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 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 b73bd697e6 Rename JetCoreEnvironment -> KotlinCoreEnvironemnt 2015-03-30 15:11:58 +03:00
Pavel V. Talanov 5cb431c5c4 Convert JetCoreEnvironment: migrate other code 2015-03-30 15:11:57 +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
Yan Zhulanow 01c79c6d00 Make Android bytecode shape tests more readable 2015-03-17 17:35:24 +03:00
Pavel V. Talanov 06916d98c6 default -> companion: replace all mentions of default and default object 2015-03-17 15:47:39 +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 3f53cf01d2 Remove obsolete module dependency from android-compiler-plugin 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
Pavel V. Talanov 59f192ef90 Replace 'class object' with 'default object' in renderers and test data
Includes changes to decompiled text
Old syntax is used in builtins and project code for now
2015-03-06 19:36:54 +03:00
Alexander Udalov ac9e6cd9ca Regenerate tests 2015-02-27 19:56:37 +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 f71e41d2db Fix Android xml converter tests 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