Commit Graph

10110 Commits

Author SHA1 Message Date
Evgeny Gerashchenko 461bfec45d Added FileFilter to mock JDK. 2013-03-27 19:19:55 +04:00
Evgeny Gerashchenko 835c0f85c7 Supported SAM constructors in codegen (simplest case). 2013-03-27 19:19:55 +04:00
Evgeny Gerashchenko 8f34dea4c8 Saving mapping from SAM constructor to trait. 2013-03-27 19:19:54 +04:00
Evgeny Gerashchenko a96a461e61 Calculating interface function name in constructor. 2013-03-27 19:19:54 +04:00
Evgeny Gerashchenko 0add163467 Asserting right after reading. 2013-03-27 19:19:54 +04:00
Evgeny Gerashchenko 73823260be Removed redundant code. 2013-03-27 19:19:54 +04:00
Evgeny Gerashchenko 5ad571c5ab Inlined method which was used only once, and in different subsystem. 2013-03-27 19:19:54 +04:00
Evgeny Gerashchenko 32a048674f Got rid of method duplication. 2013-03-27 19:19:54 +04:00
Evgeny Gerashchenko f4551da18b Moved SAM function creation to JavaFunctionResolver. 2013-03-27 19:19:54 +04:00
Evgeny Gerashchenko dad2ba34aa Removed redundant field in JavaPackageScope. 2013-03-27 19:19:54 +04:00
Evgeny Gerashchenko f43631377b Updated test data. 2013-03-27 19:19:53 +04:00
Evgeny Gerashchenko 2718f7698c Basic support for resolving top-level SAM interfaces. 2013-03-27 19:19:53 +04:00
Zalim Bashorov 282c69eb6b Fixed return value for ArrayList#remove in js library.
Removed unnecessary Kotlin.IndexOutOfBounds.
2013-03-27 18:40:10 +04:00
Zalim Bashorov 7350e14e18 Fixed bug when class or trait declared early than its parent, traits and abstract classes which declared after doesn't translated
#KT-3437 Fixed
2013-03-27 18:40:09 +04:00
Mikhael Bogdanov ad4eeb3f8a Properly capture local functions
Local functions in local classed wasn't captured properly
2013-03-27 15:57:27 +04:00
Nikolay Krasko 8f6c9d73b1 Compatibility with 123 branch is lost - start using fixed AddSupportForSingleDialog from IDEA 2013-03-27 15:45:42 +04:00
Nikolay Krasko bf3fb8acc5 Better work with getLocalPath method 2013-03-27 15:45:41 +04:00
Mikhael Bogdanov 771bce99fa Android test update to support new Idea 2013-03-27 12:24:32 +04:00
Nikolay Krasko 2b8af4e6a5 Refresh local file system to update content of the jar 2013-03-26 21:24:40 +04:00
Nikolay Krasko 314efa3372 Don't use caching LibraryDetectionManager because it isn't updated properly 2013-03-26 21:24:39 +04:00
Nikolay Krasko 14a6cf3c8f Remove old js during configuring new one 2013-03-26 21:24:38 +04:00
Nikolay Krasko 9a4ab3546b Don't consider libraries with empty source roots as JS libraries
#KT-3425 Fixed
2013-03-26 21:24:38 +04:00
Evgeny Gerashchenko 3ae0448c3e Generating public flag for local functions/properties. 2013-03-26 18:46:19 +04:00
Nikolay Krasko 8201e530fd Update to IDEA 129.60 (12.1 EAP RC) 2013-03-26 16:30:32 +04:00
Nikolay Krasko 70965334b1 Force activating post processing actions in order to initialize built-ins properly 2013-03-26 16:30:31 +04:00
Nikolay Krasko 53944242df Don't compute type and use reference for quick fix AddOpenModifierToClassDeclaration quick fix 2013-03-26 16:30:30 +04:00
Nikolay Krasko e239ce7fa7 Don't compute type and use reference for MakeClassAnAnnotation quick fix 2013-03-26 16:30:29 +04:00
Evgeny Gerashchenko 35dadbf796 Update to IDEA 129.17 (12.1 EAP) 2013-03-26 16:30:28 +04:00
Evgeny Gerashchenko 6874f41af8 Removed redundant annotation to avoid indeterministic test failing.
It was failing because of duplication of the same annotation in IDEA JDK annotations and Kotlin JDK annotations.
2013-03-26 16:30:28 +04:00
Evgeny Gerashchenko be08494b75 Added commitAllDocuments() to avoid failing tests. 2013-03-26 16:30:27 +04:00
Evgeny Gerashchenko 4e67dc15c9 Added annotation to fix test. 2013-03-26 16:30:25 +04:00
Nikolay Krasko f7ca9a579c Refactor test: remove irrelevant code 2013-03-26 16:30:24 +04:00
Nikolay Krasko 0a0f7387d0 Enable SELECT_AUTOPOPUP_SUGGESTIONS_BY_CHARS settings in tests 2013-03-26 16:30:23 +04:00
Andrey Breslav a4e503a263 Update to 12.1 EAP (IDEA 128.101) 2013-03-26 16:30:23 +04:00
Nikolay Krasko fb6e82fc92 Update year in the licence 2013-03-26 16:30:22 +04:00
Mikhael Bogdanov 932c1444a2 Fix for local closures 2013-03-26 15:43:25 +04:00
Natalia.Ukhorskaya 9091becbea Implement Class Hierarchy View
#KT-3419
2013-03-25 17:39:57 +04:00
Natalia.Ukhorskaya c6e934169f Add method isLocalClass to JetPsiUtil 2013-03-25 17:39:55 +04:00
Natalia.Ukhorskaya 74bd843d1b Move method 2013-03-25 17:39:54 +04:00
Svetlana Isakova 362770c9b1 don't generate two 'flatMap' methods(*) for Iterator
* with the same erased signature
 #KT-3373 Fixed
2013-03-25 17:34:22 +04:00
Evgeny Gerashchenko d0e736e5a6 Updated test data. 2013-03-22 17:35:34 +04:00
Svetlana Isakova 3ece374a18 check visibility with right 'from' for namespace members
while prioritizing members by visibility
2013-03-22 17:29:49 +04:00
Evgeny Gerashchenko d194d4d877 Updated test data. Unit -> jet.Unit. 2013-03-22 16:38:26 +04:00
Evgeny Gerashchenko eefdf5790a Rendering Unit as jet.Unit (uniformity). 2013-03-22 16:38:26 +04:00
Evgeny Gerashchenko f31f98b56d Restored auto-generated warning in iterators/collections code. 2013-03-22 16:38:26 +04:00
Evgeny Gerashchenko f4a5103867 Removed old unused code from GenerateStandardLib.kt 2013-03-22 16:38:26 +04:00
Evgeny Gerashchenko ef391f0642 Reformatted code. 2013-03-22 16:38:26 +04:00
Evgeny Gerashchenko aa74bb6611 Merged similar intrinsic methods. 2013-03-22 16:38:25 +04:00
Evgeny Gerashchenko 5ccbce6de6 Got rid of "tuple" word all over the code. 2013-03-22 16:38:25 +04:00
Evgeny Gerashchenko 0b41436e7a Fixed small issues in kotlin-stdlib-gen. 2013-03-22 16:38:25 +04:00