Commit Graph

25660 Commits

Author SHA1 Message Date
Natalia Ukhorskaya dfe9bb65b0 Do not try to find source file in Debugger when Indexes are not ready
#EA-72812 - INRE: FileBasedIndexImpl.handleDumbMode
2015-09-11 11:27:52 +03:00
Yan Zhulanow fbc769b0e9 Clear cache on fragment onDestroy() 2015-09-11 04:30:08 +03:00
Yan Zhulanow 5dc9557650 Fix cli test that uses android compiler plugin 2015-09-11 04:30:07 +03:00
Yan Zhulanow fce1a0a8d7 Report more specific warning on a wrong fq Android widget type 2015-09-11 04:30:07 +03:00
Yan Zhulanow f3462513e2 Optimize AndroidPsiTreeChangePreprocessor counter updating 2015-09-11 04:30:06 +03:00
Yan Zhulanow ddd4c2ae7f Report exceptions from Android Extensions (KT-7355) 2015-09-11 04:30:06 +03:00
Yan Zhulanow 0339bc55df Fix android synthetic properties compiler plugin tests 2015-09-11 04:30:05 +03:00
Yan Zhulanow 0f5d87957d Do not use JavaPsiFacade in android-compiler-plugin 2015-09-11 04:30:05 +03:00
Yan Zhulanow d0d846ccfc Report if the widget has an invalid type 2015-09-11 04:30:04 +03:00
Yan Zhulanow a2096ab0be Check supportv4 library presence on the spot 2015-09-11 04:30:04 +03:00
Yan Zhulanow de59b79deb Remove default imports for synthetic XML files 2015-09-11 04:30:03 +03:00
Yan Zhulanow e0bd532b7a Resolve Android widget class fq names properly (KT-8790) 2015-09-11 04:30:03 +03:00
Yan Zhulanow 8577f3e91b Bundle runtime with Android Extensions IDEA plugin 2015-09-11 04:30:03 +03:00
Yan Zhulanow ad10340bd7 Android Extensions refactoring 2015-09-11 04:30:02 +03:00
Alexey Sedunov 2de4de4a1e Extract Function: Do not use flexible type as default: use one of its bounds instead
#KT-9099 Fixed
2015-09-11 02:20:55 +03:00
Alexey Sedunov 8a2e2e93e7 Pull Up: Apply type substitution to parameters propagated to the target class 2015-09-11 02:20:53 +03:00
Alexey Sedunov 49f0101b70 Pull Up: Approximate anonymous object type with its direct supertype 2015-09-11 02:20:52 +03:00
Alexey Sedunov 4d0cbf83d3 Quick Fixes: Avoid premature write action when calling Change Signature in
interactive mode
 #KT-8722 Fixed
2015-09-11 02:20:51 +03:00
Alexey Sedunov 89ae7d2036 Intentions: Fix test data after default visibility was changed to PUBLIC 2015-09-11 02:20:50 +03:00
Alexey Sedunov 9a00ead331 Change Signature: Do not render visibility of local functions
#KT-9095 Fixed
2015-09-11 02:20:48 +03:00
Alexey Sedunov d5deb03292 Change Function Signature Fix: Do not render default values in overriding functions
#KT-8520 Fixed
2015-09-11 02:20:47 +03:00
Alexey Sedunov 794127a38b Change Signature: Add/remove constructor keyword on primary constructor when changing modifier list 2015-09-11 02:20:46 +03:00
Alexey Sedunov aa1de706c1 Change Function Signature Fix: Prefer argument's smartcast (if any) over its original type
#KT-8775 Fixed
2015-09-11 02:20:44 +03:00
Alexey Sedunov 670bb1a27d J2K: AddFunctionParametersFix.java 2015-09-11 02:20:42 +03:00
Alexey Sedunov 3c48882c4f J2K: AddFunctionParametersFix.java (rename to .kt) 2015-09-11 02:20:41 +03:00
Alexey Sedunov b76c47151c Change Signature: Skip PsiMethods without containing class
#KT-8536 Fixed
2015-09-11 02:20:40 +03:00
Alexey Sedunov 33c93eb4a9 Move Declarations: Add intention which moves top-level declaration to the separate file in the same directory and package
#KT-4936 Fixed
2015-09-11 02:20:38 +03:00
Alexey Sedunov b4410c625f Change Signature: Recreate call expression when converting receiver to parameter
#KT-8878 Fixed
2015-09-11 02:20:37 +03:00
Alexey Sedunov 9e11a20006 Create from Usage: Drop "Create package" quick-fix
#KT-7138 Fixed
2015-09-11 02:20:35 +03:00
Natalia Ukhorskaya cc1a756cab Fix debugger tests testData 2015-09-11 01:51:58 +03:00
Natalia Ukhorskaya 0d43ac3ec2 Fix compilation errors 2015-09-11 01:51:58 +03:00
Stanislav Erokhin 32dbae3774 Update to IDEA 142.4675.3 2015-09-11 01:51:57 +03:00
Ilya Chernikov 990c2dc5d7 Extending daemon diagnostics reporting in tests 2015-09-10 22:31:00 +02:00
Ilya Chernikov cbaa981aab migrate to the new annotations syntax 2015-09-10 22:31:00 +02:00
Ilya Chernikov 473ff00940 adding java startup parameters for headless appearance of the daemon on mac, prepared a function for resetting alive flag in kotlin plugin startup component as a temporary solution to stop daemon from idea, fixing code that disable incremental compilation, that was broken on the last modification of KotlinBuildProcessParametersProvider 2015-09-10 22:30:59 +02:00
Ilya Chernikov dc3c1beeb9 Fixes after review, adding basic options parsing tests 2015-09-10 22:30:58 +02:00
Ilya Chernikov b1bdbaf06a Adding jps building test with daemon, removing obsolete daemon shutdown code 2015-09-10 22:30:58 +02:00
Ilya Chernikov 96558c52ff Refactorings, reformatting code, applying code style and other cleanup 2015-09-10 22:30:57 +02:00
Ilya Chernikov d448602cb2 Making daemon to listen only loopback interface and to work without active ip interface 2015-09-10 22:30:57 +02:00
Ilya Chernikov c4719175f9 Refactoring startup and shutdown, refactoring service implementation, implementing error and info reporting to compiler output, idle autoshutdown mechanisms, fixing TargetId serializability, some other refactoring
Fixing stream to log handler (by removing non-working optimization), fixing idle time calculation, reporting refactorings
2015-09-10 22:30:56 +02:00
Ilya Chernikov 406bfba473 Implementation of multiple daemon instances management 2015-09-10 22:30:55 +02:00
Ilya Chernikov f6c6087fe3 Adding escaping to kotlin.daemon.jvm.options property processing to allow passing e.g. debugging agent params; adding kotlin.daemon.startup.timeout property to control startup timeout; more logging; some minor cleanup and fixes 2015-09-10 22:30:55 +02:00
Alexander Udalov 4dbfce605e Minor, improve exception message for non-deserialized types 2015-09-10 21:45:10 +03:00
Alexander Udalov 3e5c8d1b79 Fix NPE on empty JVM name
#KT-9113 Fixed
2015-09-10 21:44:18 +03:00
Alexander Udalov fb31980c0b Fix EA-68149 which happened on editing Scala sources 2015-09-10 21:44:16 +03:00
Ilya Gorbunov 017db3d36c Correct reference to withDefault method in documentation. 2015-09-10 21:32:41 +03:00
Denis Zharkov df97496a16 Deprecate 'kotlin.throws' in favor of 'kotlin.jvm.Throws' 2015-09-10 20:39:05 +03:00
Zalim Bashorov 7036b36a94 Minor: replace some usages of (old) package facade with new package parts 2015-09-10 18:49:11 +03:00
Dmitry Petrov 6850e9180e Effectively this is a return of "${facadeName}__${partName}" scheme.
Suggestions from @udalov:
- Make multifile class parts synthetic.
- Multifile class parts should have well-formed Java identifiers as names.
- Multifile class part names should contain facade name.
Add test with clashing part names.
Add test with local generic classes used in method signatures
(it works with parts names not being well-formed Java identifiers, though).

Capitalized annotations.
2015-09-10 18:03:34 +03:00
Mikhail Glukhikh 9b11b5300c Elvis DFA: now only left part is taken into account #KT-9100 Fixed
I had to fix a few incorrect tests using something like x!! in Elvis right part, and also one bug in our code
2015-09-10 17:50:57 +03:00