Commit Graph

23524 Commits

Author SHA1 Message Date
Dmitry Jemerov 6ca4dd32cf include module names in analyze and generate perf reports 2015-06-23 16:24:48 +02:00
Dmitry Jemerov ebcd7de26b report meaningful init times for subsequent runs when -Xrepeat flag is used 2015-06-23 16:24:47 +02:00
Dmitry Jemerov 669cd9e514 environment variable for enabling perf 2015-06-23 16:24:47 +02:00
Dmitry Jemerov 7cfb91192f K2JVMCompiler: cleanup after J2K 2015-06-23 16:24:46 +02:00
Dmitry Jemerov 0600abd6bd K2JVMCompiler: J2K 2015-06-23 16:24:46 +02:00
Dmitry Jemerov d84c9fa59e K2JVMCompiler: rename to .kt 2015-06-23 16:24:45 +02:00
Sergey Mashkov ab5d8d12ea IDL2K declarations order stability 2015-06-23 17:21:13 +03:00
Denis Zharkov 8412984774 Delete IdeaJdkAnnotationsReflectedTest
Kotlin JDK annotations are empty now
2015-06-23 16:44:47 +03:00
Denis Zharkov 602a1c11ac Fix testData: parameter names are dropped from annotations 2015-06-23 16:44:47 +03:00
Denis Zharkov 35fa4eadd8 Attach ideaSDK/jdkAnnotations.jar to external annotations for intention tests
As they're always attached to real SDKs in real projects
2015-06-23 16:44:47 +03:00
Denis Zharkov ad99b079b9 Update intention tests: don't use java.util.Collections.*
Because their behaviour depends on annotations that we are going to drop
2015-06-23 16:44:46 +03:00
Denis Zharkov d18c1ca32e Update J2K behavior with empty jdk annotations 2015-06-23 16:44:46 +03:00
Denis Zharkov 80a7f79f12 Make jars with JDK/Android SDK annotations empty
- Compiler use them only for getting parameter names and we are OK to drop it
- IDE plugin can use jdkAnnotations from ideaSDK
2015-06-23 16:44:27 +03:00
Nikolay Krasko 8013cbe4ef Fix forEach method in TrackingSlicedMap 2015-06-23 16:00:40 +03:00
Nikolay Krasko 237987fcc5 Workaround for non-thread-safe intentions text state 2015-06-23 16:00:38 +03:00
Nikolay Krasko 87f325c44b Use common Kotlin test supertype to avoid invalid root access assert 2015-06-23 16:00:21 +03:00
Nikolay Krasko ef7cc6ae10 Force openning project 2015-06-23 15:59:40 +03:00
Nikolay Krasko 3d8f04e4fe Update test data: Idea can't parse description with "ctrl+ alt + b" promotion 2015-06-23 15:59:38 +03:00
Evgeny Gerashchenko 2820dbf181 Removed workaround for exception in IDEA. 2015-06-23 15:59:36 +03:00
Nikolay Krasko 66a4e0f299 Mute error about org.iq80.snappy.Snappy 2015-06-23 15:59:34 +03:00
Nikolay Krasko 549987b27f Ignore actions with empty message 2015-06-23 15:59:33 +03:00
Nikolay Krasko 94db320f7a Update hack for restore validity of builtins files 2015-06-23 15:59:31 +03:00
Nikolay Krasko 53ab02e877 Generate private constructors for enums in coverter 2015-06-23 15:59:29 +03:00
Nikolay Krasko b64aff9f9a Add actions with "Supress " prefix to irrelevant group 2015-06-23 15:59:27 +03:00
Nikolay Krasko 737ad5b9e0 Search in index under read action in tests 2015-06-23 15:59:25 +03:00
nik 3136e5eefd removed registration of deprecated extensions points without implementations 2015-06-23 15:59:24 +03:00
Natalia Ukhorskaya c2a1dc4c90 Fix compilation errors 2015-06-23 15:59:22 +03:00
Natalia Ukhorskaya aaa4e747db Fix tests: type for string isn't now rendered by default 2015-06-23 15:59:19 +03:00
Natalia Ukhorskaya ba6b378378 Fix tests: register JavaClassSupers service in WebDemoTest 2015-06-23 15:59:17 +03:00
Nikolay Krasko 757b963731 Register JavaClassSupers service 2015-06-23 15:59:14 +03:00
Alexey Sedunov 73b2de95ab Create from Usage: Do not delete temporary file as this operation is not supported by IDEA anymore 2015-06-23 15:59:12 +03:00
Nikolay Krasko 8e51f1aadd Idea moved to junit-4.12 2015-06-23 15:59:10 +03:00
Nikolay Krasko 2ebdd32267 Make compatible with 142 idea branch 2015-06-23 15:59:08 +03:00
Nikolay Krasko 2536648e60 Update to Idea 15 eap (142.2491.1) 2015-06-23 15:59:06 +03:00
Pavel V. Talanov 16ffdc0713 ModuleResolverProvider: ResolveSessionForBodies are created lazily 2015-06-23 15:19:40 +03:00
Pavel V. Talanov f454b7d15e AnalyzerFacade: resolvers for modules are created lazily 2015-06-23 15:19:31 +03:00
Pavel V. Talanov 96199ecc1f Refactor AnalyzerFacade: move module.initialize() outside of createResolverForModule() 2015-06-23 15:19:22 +03:00
Pavel V. Talanov 997a6f1381 Fix import resolution for some cases of malformed imports ("import some.")
Fix parsing import directives in case of non-identifier after "import"
Add diagnostics test for malformed imports
2015-06-23 15:19:14 +03:00
Pavel V. Talanov 37bcd455b5 Make ModuleDescriptor#getPackage() return not null lazy object with lazy scope
Refactor: no need to create package view in order to obtain its subpackages
LazyPackageViewDescriptorImpl to replace PackageViewDescriptorImpl
This allows to avoid computations when package views are requested but their contents not necessarily queried
For example: DescriptorResolver.resolvePackageHeader()
2015-06-23 15:19:06 +03:00
Pavel V. Talanov 1cf38e4799 Convert PackageViewDescriptor to Kotlin 2015-06-23 15:18:57 +03:00
Pavel V. Talanov 19cca8f930 Fix corner case in KotlinCopyPasteReferenceProcessor 2015-06-23 15:18:28 +03:00
Pavel V. Talanov 1ef125fa2c Change testa data according to semantics change 2015-06-23 14:35:46 +03:00
Pavel V. Talanov 6bdb35ff23 Fix project code
This would no longer compile with the new imports resolution
2015-06-23 14:15:27 +03:00
Pavel V. Talanov c5e6dea8b0 Minor: Inline and remove JetModuleUtil 2015-06-23 14:15:17 +03:00
Pavel V. Talanov ade898775c Minor: remove unused parameter 2015-06-23 14:14:35 +03:00
Pavel V. Talanov 257b8f31e7 Change import resolution algorithm
The new algorithm: move from right to left, trying to find package, (new code) when found go right resolving descriptors (uses old code)
This allows to avoid unnecessary computations (matters in IDE moslty) for resolving root packages
This changes semantics of imports resolution: when package clashes with any declaration package is preffered
2015-06-23 14:14:25 +03:00
Natalia Ukhorskaya 7b0458f1a9 Debugger: Navigate to first line when source file for mapping (inline) not found 2015-06-23 10:58:45 +03:00
Valentin Kipyatkov 3c16e455f7 Removed unused field 2015-06-22 17:28:44 +03:00
Karol Depka 033f2668d5 KT-7615 workaround for crash on Android ART caused by "private constructor" in DescriptorBasedProperty #KT-7615 Fixed
Tested on Android 5.1.0 API 22 in Genymotion
2015-06-22 15:57:04 +03:00
Sergey Mashkov 0e518e46bb JS and IDL2K: make dictionary builder functions public 2015-06-22 12:57:23 +03:00