Commit Graph

6897 Commits

Author SHA1 Message Date
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 9f66777185 KotlinIsReferenceToExtension was renamed to SimpleNameReferenceExtension 2015-02-26 15:25:53 +03:00
Yan Zhulanow edac24df74 Android plugins are now test dependencies, not compile-time 2015-02-26 15:25:51 +03:00
Yan Zhulanow efff642635 Move Android IDEA plugin tests to android-idea-plugin module 2015-02-26 15:25:47 +03:00
Yan Zhulanow 3f0118c88c KotlinIsReferenceToExtension extracted 2015-02-26 15:25:45 +03:00
Yan Zhulanow 5f912ce13d Delegate secondary elements to handler 2015-02-26 15:25:45 +03:00
Andrey Breslav 8844ecdbc4 Find Usages extension extracted 2015-02-26 15:25:41 +03:00
Andrey Breslav 5811b13ce7 ExpressionCodegenExtension extracted 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
Andrey Breslav 565ce5a781 frontend.android renamed to android-compiler-plugin 2015-02-26 15:25:39 +03:00
Mikhail Mutcianko 2643866e31 add android find usages test 2015-02-26 15:25:37 +03:00
Mikhail Mutcianko 947e1b7f5b fix find usage handler not returning android property as secondary element 2015-02-26 15:25:37 +03:00
Mikhail Mutcianko b2afc3b4b5 add reverse renaming to android rename tests 2015-02-26 15:25:37 +03:00
Mikhail Mutcianko 4145991bea add android rename tests 2015-02-26 15:25:36 +03:00
Mikhail Mutcianko e922a91958 eliminate idToXml cache leftovers from android resource manger 2015-02-26 15:25:36 +03:00
Mikhail Mutcianko 934bbec06d fix kotlin property renamer npe
- fix npe when element usage has no reference(e.g. xml cross usage)
2015-02-26 15:25:36 +03:00
Mikhail Mutcianko bc7fe3405e factor base android test case
- move common initialization code to base class
2015-02-26 15:25:35 +03:00
Mikhail Mutcianko 65ef880dd3 add all goto tests
- fix base test case failing when no res directory present
- get rid of JetProperty -> XmlAttr caching
2015-02-26 15:25:35 +03:00
Mikhail Mutcianko 04a905c35c fix android kotlin test framework
- fix android jars not indexed by java indexer
- fix goto test
2015-02-26 15:25:35 +03:00
Mikhail Mutcianko 1912b2b0ec add android jps builder test stub
wtf
2015-02-26 15:25:35 +03:00
Mikhail Mutcianko 7c4661aba5 add android goto declaration test stub 2015-02-26 15:25:34 +03:00
Mikhail Mutcianko 537933d145 regenerate android tests after rebase 2015-02-26 15:25:34 +03:00
Mikhail Mutcianko baa442207b fix android resource path arguments after rebase 2015-02-26 15:25:34 +03:00
Mikhail Mutcianko bc9e1ee2d2 fix android cross parser tests
- reorganize tests folder structure
- fix class attribute ignored in ide xml parser
2015-02-26 15:25:33 +03:00
Mikhail Mutcianko 84d326ed47 refactor android kotlin fixture test
- move more setup code to base class
2015-02-26 15:25:33 +03:00
Mikhail Mutcianko 95b5c94f8d delete obsolete android test 2015-02-26 15:25:33 +03:00
Mikhail Mutcianko f507857930 fix R class field resolving
- resolve by class name and package defined in AndroidManifest.xml
2015-02-26 15:25:33 +03:00
Mikhail Mutcianko adbe9afd4a add android completion tests
- add android plugin test classes as test library
- add base android test cases for kotlin, setting up android facet and sdk
2015-02-26 15:25:32 +03:00
Mikhail Mutcianko 08245ffe1c add android properties box tests 2015-02-26 15:25:31 +03:00
dedoz f2ab424c41 add generated tests 2015-02-26 15:25:31 +03:00
Mikhail Mutcianko a56fa7f192 optimize imports 2015-02-26 15:25:31 +03:00
Mikhail Mutcianko 19e6b79cae minor refactorings 2015-02-26 15:25:30 +03:00
Mikhail Mutcianko 23fbc60e50 update android synthetic properties completion test
- add missing android classes as text into fixture
2015-02-26 15:25:30 +03:00
Mikhail Mutcianko ec0d1f5d06 fix android plugin libs dependencies 2015-02-26 15:25:30 +03:00
dedoz 972e0f28d0 add android xml to properties completion test 2015-02-26 15:25:28 +03:00
Mikhail Mutcianko c6b8cbbb01 add android layout file searching to kotlin jps plugin 2015-02-26 15:25:28 +03:00
Mikhail Mutcianko f49e28387e delegate android resource and manifest reading in ide to android support plugin 2015-02-26 15:25:28 +03:00
Mikhail Mutcianko 85e18a3d73 correct interpretation of android id usage mixed with id declarations 2015-02-26 15:25:27 +03:00
Mikhail Mutcianko 8e8b626994 implement find usages action for android synthetic properties 2015-02-26 15:25:27 +03:00
Mikhail Mutcianko d310b2021c add android xml reference and rename handling to JetSimpleNameReference 2015-02-26 15:25:27 +03:00
Mikhail Mutcianko 9c9bad2f78 android goto declaration handler reference fix
- goto handler now utilizes full featured reference resolving instead of simple name based resolving
2015-02-26 15:25:26 +03:00
Mikhail Mutcianko 37c851cafc fix excess xml parsing when renaming resources
- rebuild resource name -> xml attribute mappings same time as rebuilding synthetic properties
- update mappings during rename
2015-02-26 15:25:26 +03:00
Mikhail Mutcianko 9f20c36959 add synthetic property renaming by renaming R light class field 2015-02-26 15:25:26 +03:00
Mikhail Mutcianko 885d963c3f add bound property renaming by renaming xml attribute value 2015-02-26 15:25:26 +03:00
Mikhail Mutcianko 621193681f refactor AndroidResourceManager
- move more common methods from xml processor implementations to resource manager
- optimize imports, reformat code
2015-02-26 15:25:25 +03:00
Mikhail Mutcianko b5e267ed56 fix double renaming issue
- rebuild resource mapping cache on external layout file changes
- move duplicated code to AndroidResourceManager
2015-02-26 15:25:25 +03:00
Mikhail Mutcianko 1b50b226ae move android rename handler out of kotlin property renamer, extract resource manager class 2015-02-26 15:25:25 +03:00
Mikhail Mutcianko 395959bf21 reformat code, optimize imports 2015-02-26 15:25:24 +03:00