Commit Graph

7794 Commits

Author SHA1 Message Date
Evgeny Gerashchenko a3eccfedfa Blocking clicks through balloon. 2012-09-13 19:41:41 +04:00
Evgeny Gerashchenko e38a5478fb Removed different color for caret row in balloon to avoid confusing. 2012-09-13 19:41:41 +04:00
Evgeny Gerashchenko 784ac19ef9 Added extra space in editor, since we cannot resize already created balloon. 2012-09-13 19:41:41 +04:00
Evgeny Gerashchenko 44a6fb1f6f Added handling for Ctrl+Enter and Esc in EditSignatureBalloon. 2012-09-13 19:41:41 +04:00
Evgeny Gerashchenko c0d156b767 Putting balloon strictly over icon gutter icon. 2012-09-13 19:41:41 +04:00
Evgeny Gerashchenko c01c352d88 Extracted methods from EditSignatureBalloon. 2012-09-13 19:41:41 +04:00
Evgeny Gerashchenko 4ffa757376 Moved EditSignatureBalloon class to top level. 2012-09-13 19:41:41 +04:00
Evgeny Gerashchenko 6318ffc0f7 Replaced dialog for editing Kotlin signature with balloon. 2012-09-13 19:41:41 +04:00
Evgeny Gerashchenko eafdfa5e6a Justified editor settings. 2012-09-13 19:41:40 +04:00
Evgeny Gerashchenko 927e2839b0 Added editor for external annotations. 2012-09-13 19:41:40 +04:00
Evgeny Gerashchenko 903c87d832 Added navigation to Kotlin alternative signature if it is not external. 2012-09-13 19:41:40 +04:00
Evgeny Gerashchenko 3b865f0121 Added line marker for Java methods which have alternative Kotlin signature. 2012-09-13 19:41:40 +04:00
Evgeny Gerashchenko 6a77ffbfe2 JetDummyClassFileViewProvider.isEventSystemEnabled() returns false instead of true to make editor actions work for compiled Kotlin class. Overridden JetFile.getVirtualFile() in dummy JetFile to return not null. 2012-09-13 19:38:47 +04:00
Evgeny Gerashchenko d99daec7de Minor. Renamed fields, optimized imports, added 'final'. 2012-09-13 19:38:46 +04:00
Evgeny Gerashchenko 919f9c2735 Using descriptor renderer in Show Expression Type. 2012-09-13 19:38:46 +04:00
Evgeny Gerashchenko df38012a54 Slightly better diagnostic when LibrariesWithSourcesTest doesn't find any references. 2012-09-13 19:38:46 +04:00
Evgeny Gerashchenko e83a9b7eaa Added check for null values in collection passed to CompilerConfiguration. 2012-09-13 19:38:46 +04:00
Evgeny Gerashchenko 08fc54d969 Fixed test data after IDEA update. 2012-09-13 19:07:58 +04:00
Evgeny Gerashchenko c6c96eeb16 Updated IDEA to last EAP 122.327 2012-09-13 19:06:49 +04:00
Svetlana Isakova 585a709bbd minor improvement 2012-09-13 17:28:31 +04:00
Svetlana Isakova b7b15f8379 extracted method 'isSameName' + rename 2012-09-13 17:28:31 +04:00
Svetlana Isakova a4694f767a change anonymous class to TypeTransformingVisitor 2012-09-13 17:28:31 +04:00
Svetlana Isakova 0d1790a4f4 alternative signature applies for names
mapped in standard library (and differs from auto transformed Java signature)
e.g.Collections.copy(MutableList, List)
2012-09-13 17:28:31 +04:00
Svetlana Isakova b080c8f768 added toString for better debug to CallableDescriptorCollectors 2012-09-13 17:28:31 +04:00
Svetlana Isakova 75479c7acd extracted method mapPlatformClass(FqName) 2012-09-13 17:28:31 +04:00
Svetlana Isakova f799df9126 AsmTypeConstants, KotlinToJavaTypesMap moved to frontend.java module 2012-09-13 17:28:31 +04:00
Svetlana Isakova 3daed10e5c removed ClassName class 2012-09-13 17:28:31 +04:00
Svetlana Isakova 5407d4ac36 returned 'getPrimitiveArrayClassDescriptor' to JetStandardLibrary 2012-09-13 17:28:31 +04:00
Svetlana Isakova c015b552f6 add asm constant types to the TYPES_MAP as well 2012-09-13 17:28:31 +04:00
Svetlana Isakova 3c083c83e2 alternative signature applicability check changed 2012-09-13 17:28:30 +04:00
Svetlana Isakova bbc5869ed4 changes in Collection interfaces
MutableList returns MutableListIterator
MutableMap returns MutableSet as keySet(), values(), entrySet()
2012-09-13 17:28:30 +04:00
Alex Tkachman a8627a56ef test for obsolete KT-2663 2012-09-13 16:28:00 +03:00
Natalia.Ukhorskaya 60bdae9d75 Prohibit body for annotation class
#KT-1886 Fixed
2012-09-13 16:27:48 +04:00
Alexander Udalov 954003872d Do not generate erroneous classes in SIGNATURES mode
Add an assertion that this never happens in other modes.

(fixes EA-37034)
2012-09-13 16:20:25 +04:00
Alexander Udalov 8ac83f08ac Cleanup mapType 2012-09-13 16:20:25 +04:00
Natalia.Ukhorskaya 9e55fd219e Android tests: add expected result for box() method 2012-09-13 13:24:53 +04:00
Alex Tkachman acfc5b3f56 got rid of method with duplicating functionality 2012-09-13 10:01:29 +03:00
Alex Tkachman ee38d871c4 JetTypeMapper api cleanup
- mapType got JetTypeMapperMode.VALUE as default parameter
- mapType(ClassifierDescriptor) introduced
- mapType(VariableDescriptor) introduced
2012-09-13 09:22:59 +03:00
Alex Tkachman cf92603f2a micro refactoring
- PsiCodegenPredictor moved to binding package
- CodegenUtil.findSuperCall method moved to CodegenBinding
= PsiCodegenPredictor unneeded bindingTrace parameter replaced by bindingContext
2012-09-13 08:33:07 +03:00
Alex Tkachman 0a2f808ec0 test case and fixes for object and classes inner for enum entry 2012-09-12 20:48:12 +03:00
Alexander Udalov 2c17cb7aa7 Wrap JetLightClass creation in runReadAction
No tests added because runReadAction checks are disabled in tests.

To reproduce the exception, find usages of Any.
2012-09-12 21:16:47 +04:00
Alexander Udalov ccfa5f8c2c Do not lookup expressions in closures when building signatures
#KT-2764 Fixed
(EA-38857)
2012-09-12 21:16:47 +04:00
Alex Tkachman ca65574bce no need for context lookup of enclosing singletons #KT-2695 fixed 2012-09-12 19:41:26 +03:00
Nikolay Krasko 1121d9b316 EA-38789 Fix "Name is null for OBJECT_DECLARATION object" 2012-09-12 19:58:45 +04:00
James Strachan ba01576c41 added a partition helper method to partition a collection into a collection of matching items and not matching items 2012-09-12 15:55:34 +01:00
Alex Tkachman 6c4102bf23 simple case (no closures) of class level objects #KT-2398 fixed 2012-09-12 17:35:51 +03:00
James Strachan 3e6c0c0f4e fixed bad description on the elements() helper methods (which are descendants not children) and added some helper methods for immediate child elements and text 2012-09-12 14:58:30 +01:00
James Strachan bcec41c779 allow nullable expressions to be used for lazily creating new items if there is not a value in the Map 2012-09-12 14:56:28 +01:00
Alexander Udalov 6822d9496f Fix backend tests on Windows
Make getMultiFileNamespaceInternalName work when given PsiFile contains mixed
path separators in its name.
2012-09-12 16:59:25 +04:00
Alex Tkachman 79c04038fb accessor for private constructors #KT-2716 fixed
also on the way done small refactoring of JetTypeMapper
- few code duplicates replace by methods
- mapToCallableMethod(ConstructorDescriptor) introduced
2012-09-12 10:31:48 +03:00