Commit Graph

1727 Commits

Author SHA1 Message Date
Nikolay Krasko 8088b770f7 #KT-1426 Implement "Optimize Imports" in plugin - fixes for used reference search (look to calls and work with java type constructors.) 2012-03-17 02:03:13 +04:00
Andrey Breslav 9c58e5b45c Making compiler exit codes type safe. Fixes the problem with wrong command-line argument usage being missed by the IDE 2012-03-16 20:20:54 +04:00
Nikolay Krasko fda2bc25dc KT-1426 Implement "Optimize Imports" in plugin - tests and small fix for aliases. 2012-03-16 19:41:44 +04:00
Nikolay Krasko 76cc231cb2 KT-1426 Implement "Optimize Imports" in plugin - untested draft version 2012-03-16 19:33:15 +04:00
Nikolay Krasko f93ef619f6 KT-1426 Implement "Optimize Imports" in plugin - get collection of used references in file 2012-03-16 19:33:13 +04:00
Andrey Breslav 67fb22d7ed Fixing EA-33669 - assert: EditorFactoryImpl.validateEditorsAreReleased 2012-03-16 19:27:33 +04:00
Andrey Breslav 2e7d607bca EA-34672 - Kotlin tool windows: assert: ComponentManagerImpl.getComponent 2012-03-16 18:36:04 +04:00
Evgeny Gerashchenko ba841816c8 Fixed tests related to changes in DescriptorRenderer. 2012-03-16 17:00:59 +04:00
Maxim Shafirov 1de073bbdf #KT-1333 Fixed 2012-03-16 13:33:57 +04:00
Stepan Koltsov 1610c9b3a0 FqNameUnsafe 2012-03-15 19:28:29 +04:00
Maxim Shafirov 43956b565a #KT-1562 Fixed. 2012-03-15 15:12:29 +04:00
Nikolay Krasko 123de71102 Fake change for activating build - testing IDEA update 2012-03-14 22:54:02 +04:00
Nikolay Krasko 10f696b444 Revert version pattern 2012-03-14 22:37:14 +04:00
Maxim Shafirov e82dd48662 Progress messages when emitting classfiles 2012-03-14 21:59:51 +04:00
Stepan Koltsov 5af4661c18 better root ns
* ModuleDescrpiptor now lives in context
* ns parent is module descriptor iff ns is root ns
* minor test enhancements
2012-03-14 19:43:22 +04:00
Svetlana Isakova 9dc9e9984b KT-1572 Frontend doesn't mark all vars included in closure as refs. 2012-03-14 15:07:33 +04:00
Evgeny Gerashchenko af9f00c177 Merge branch 'decompiler'
Conflicts:
	compiler/backend/src/org/jetbrains/jet/codegen/NamespaceCodegen.java
	compiler/frontend.java/src/org/jetbrains/jet/lang/resolve/java/JavaPackageScope.java
	compiler/frontend/src/org/jetbrains/jet/lang/resolve/DescriptorUtils.java
2012-03-14 14:50:04 +04:00
Stepan Koltsov 82d77560a2 FqName class
for type safety, to easier distinguish between:

* short names
* qualified names
* jvm names (slash-separated)
* special names like <root>
* null values that mean "undefined" and "root ns" in different contexts
2012-03-13 21:51:38 +04:00
Andrey Breslav ca81d97b54 Year fixed in the copyright 2012-03-13 20:47:51 +04:00
Andrey Breslav 93fcd7d1f2 Dependency Injection: GUICE replaced by custom code generation 2012-03-13 19:44:35 +04:00
Evgeny Gerashchenko 6a8dfc555e Made JetContentBasedFileSubstitutor.getDecompiledPsiFile @Nullable. 2012-03-13 16:37:27 +04:00
Evgeny Gerashchenko abee8262a7 JetPsiReference.isReferenceTo() also checks for compiled kotlin elements. 2012-03-13 16:34:40 +04:00
Nikolay Krasko 6b26d1ca31 KT-800 Implement Navigate->Symbol... for kotlin - done for functions 2012-03-13 14:04:46 +04:00
Nikolay Krasko d8f2e23979 Allow count non-imported descriptors for empty prefix in qualified expression - important for extension functions 2012-03-12 21:25:22 +04:00
Nikolay Krasko 55b0ea1e60 - Don't repeat reference variant lookup for empty prefix.
- Temporary disable duplicates search with PsiElement position.
2012-03-12 21:12:42 +04:00
Nikolay Krasko 2c068dabb0 Fix behaviour for common around operators properties. 2012-03-12 20:23:10 +04:00
Nikolay Krasko ae1138c4ba Activate "around operators" space properties. Remove other from settings 2012-03-12 17:43:29 +04:00
Andrey Breslav 6bc3bbb53d Rename StandardConfiguration into DefaultModuleConfiguration 2012-03-12 16:21:52 +04:00
Evgeny Gerashchenko 29662cdb1b Fixed JetFunctionParameterInfoTest. Replaced Int with jet.Int, Boolean with jet.Boolean, etc in test data. 2012-03-12 16:21:17 +04:00
Evgeny Gerashchenko f4eba40f45 Added checks for navigation elements for cls members. 2012-03-12 15:59:07 +04:00
Evgeny Gerashchenko 128d074532 Moved WordSelectionTest to jet.plugin package. 2012-03-12 14:55:43 +04:00
Evgeny Gerashchenko 09c48ae440 Added test cases checking all decompiled files. 2012-03-12 14:23:15 +04:00
Evgeny Gerashchenko a0ea56be3f Added LibrariesTest (checking only one decompiled source yet). 2012-03-12 14:23:15 +04:00
Evgeny Gerashchenko 4151718f6b Replaced JetDecompiledData.getClsFileIfKotlin() with getClsFile() and isKotlinFile() 2012-03-12 14:23:15 +04:00
Evgeny Gerashchenko 95f859d00d Refactored JetDecompiledData: extracted DecompiledDataFactory. 2012-03-12 14:23:15 +04:00
Nikolay Krasko c21cdaf413 Start working with spaces:
KT-1532 IDEA should remove extra whitespaces when reformmating code
KT-1378 Code formatting: spaces around ':'

#KT-1532 fixed
#KT-1378 fixed
2012-03-11 22:11:55 +04:00
Evgeny Gerashchenko 78dce9d2f2 Minor. 2012-03-11 16:57:02 +04:00
Nikolay Krasko efece992eb Completion for top-level functions from class and jar files - import quick fix 2012-03-11 16:54:07 +04:00
Evgeny Gerashchenko 11085c2250 Removed unnecessary /*compiled code*/ marks from abstract members. 2012-03-11 16:54:06 +04:00
Nikolay Krasko fba492c492 Completion for top-level functions from class and jar files. 2012-03-11 16:54:06 +04:00
Evgeny Gerashchenko 126c3d0033 Added class objects support in JetDecompiledData. 2012-03-10 20:29:24 +04:00
Evgeny Gerashchenko 6ac94758e2 Added support for nested classes in decompiler. 2012-03-10 19:24:36 +04:00
Evgeny Gerashchenko 7b895de86f Replaced assertion with returning null when class file contains several classes. 2012-03-10 18:29:16 +04:00
pTalanov 37db5e072c TranslateToJsAction only looks in source roots of the module included in project. 2012-03-10 17:44:51 +04:00
Evgeny Gerashchenko 145e8ed936 Made checks for Kotlin namespace more robust. 2012-03-10 16:25:27 +04:00
Evgeny Gerashchenko 011d6fb5ee Fixed navigation to non-Kotlin classes. 2012-03-10 15:32:10 +04:00
Evgeny Gerashchenko b64e2ca886 Replaced asserts in JetDummyClassFileViewProvider with returning null. 2012-03-10 14:57:08 +04:00
Evgeny Gerashchenko 9658dd7c39 Excluded classes from decompiled namespaces. 2012-03-10 14:57:08 +04:00
Evgeny Gerashchenko 4b6e9557a6 Made JetDummyClassFileViewProvider package-private. 2012-03-10 14:57:07 +04:00
Evgeny Gerashchenko c2a300b637 Moved classes related to navigation to libraries to libraries subpackage of plugin package. 2012-03-10 14:57:07 +04:00