Commit Graph

24732 Commits

Author SHA1 Message Date
Evgeny Gerashchenko 4b6991603f Minor. Split test file into two. 2015-08-15 12:29:46 +02:00
Evgeny Gerashchenko 799368386b KT-6877 Wrong unused function inspection on anonymous object member
#KT-6877 fixed
2015-08-15 12:29:46 +02:00
Evgeny Gerashchenko da4be8a0f5 KT-7484 Companion object is marked unused if it's only usages are statically imported from Java
#KT-7484 fixed
2015-08-15 12:29:44 +02:00
Evgeny Gerashchenko 3a4010503e Minor. Renamed test data dir. 2015-08-15 12:29:43 +02:00
Evgeny Gerashchenko fe1d4e38b3 KT-8273 Don't mark serialVersionUID as unused
#KT-8273 fixed
2015-08-15 12:29:42 +02:00
Evgeny Gerashchenko 50dbf080f7 Test for KT-2082 Missing 'Unused expression' warning
#KT-2082 obsolete
2015-08-15 12:29:41 +02:00
Evgeny Gerashchenko 1cf433909b Test for KT-7134 Command line entry point (main function is highlighted as unused)
#KT-7134 obsolete
2015-08-15 12:29:12 +02:00
Natalia Ukhorskaya e3c5e2eca2 Update to IDEA 142.3926.4 2015-08-15 01:40:39 +03:00
Natalia Ukhorskaya 9b0cfd4027 Debugger tests: migrate to new API
(cherry picked from commit 430c718)
2015-08-15 01:40:39 +03:00
Natalia Ukhorskaya be5c1d0a44 Debugger tests: changes in testData
(cherry picked from commit 0e4b133)
2015-08-15 01:40:38 +03:00
Sergey Mashkov 77a8eddb2a Selenium tests module pom.xml: module shouldn't depend to kotlin-js-library as it makes IDEA
detect it as a JavaScript module
2015-08-14 18:51:52 +03:00
Sergey Mashkov 3a323d562d Selenium longer per-test timeout 2015-08-14 18:51:50 +03:00
Valentin Kipyatkov c3ccd6da57 Renamed test data folder 2015-08-14 18:10:41 +03:00
Valentin Kipyatkov b6cf39981f SAM-adapters are sorted as non-extensions in completion and with correct boldness + no parameter names when from compiled 2015-08-14 18:10:41 +03:00
Valentin Kipyatkov 13fc12bbae Moving test data into subfolders 2015-08-14 18:10:40 +03:00
Valentin Kipyatkov 9546e46ae0 Moving test data into java-specific folder 2015-08-14 18:10:40 +03:00
Valentin Kipyatkov ec7c55c9be Synthetic java properties are not always bold in completion and are not sorted as extensions 2015-08-14 18:10:39 +03:00
Valentin Kipyatkov 000d2f0cd1 Lower priority for extensions on own type parameters 2015-08-14 17:38:38 +03:00
Valentin Kipyatkov 9e26d0eacf Graying members from smart cast receiver types that require explicit receiver cast
+ changed immediate member criteria (override member is not counted as immediate anymore)
+ fixed a bug in graying members
2015-08-14 17:38:29 +03:00
Valentin Kipyatkov b21226ac1c More correct calculation of smart casts in smart completion 2015-08-14 17:38:29 +03:00
Valentin Kipyatkov f3e7560593 Enabled test 2015-08-14 17:38:29 +03:00
Valentin Kipyatkov 7b149c10c1 UsePropertyAccessSyntaxIntention: handled case when property type is more specific 2015-08-13 17:29:03 +03:00
Valentin Kipyatkov 6fcb75cfb5 One more test added 2015-08-13 17:29:03 +03:00
Valentin Kipyatkov 1fd4d4fe11 More efficient and correct implementation of conflicts checking in UsePropertyAccessSyntaxIntention 2015-08-13 17:29:02 +03:00
Valentin Kipyatkov a5306d9e4b Minor optimization 2015-08-13 17:29:02 +03:00
Valentin Kipyatkov 0d27e7a259 Faster replacement of get/set to synthetic extensions in converter - don't search for extension property again 2015-08-13 17:29:01 +03:00
Valentin Kipyatkov 21639c4785 J2k post-processings based on diagnostics are included into the common scheme 2015-08-13 17:29:01 +03:00
Valentin Kipyatkov e66d0f71ac Implemented more general scheme of post-processing with intentions in J2K + added replacement of get/set with property access there 2015-08-13 17:29:00 +03:00
Valentin Kipyatkov 671b9f5d56 Finally fixed KT-8751 2015-08-13 15:02:52 +03:00
Sergey Mashkov 2f7193064f #KT-8708 migrate tests to new trimIdent() and prependIndent 2015-08-13 14:40:07 +03:00
Sergey Mashkov 84ef068f5d #KT-8708 refactor trimIndent, trimMargin, replaceIndent, replaceIndentByMargin, prependIndent 2015-08-12 18:45:10 +03:00
Sergey Mashkov b146b0eda9 Remove deprecated function usage 2015-08-12 18:45:10 +03:00
Sergey Mashkov c0078a53e6 Temporary move trimIndent implementations to tests as private members to avoid resolution ambiguity 2015-08-12 18:45:10 +03:00
Sergey Mashkov 7afa40590d KT-8708 Function to strip leading whitespace (stripMargin, trimMargin, stripIndent?) 2015-08-12 18:45:10 +03:00
Valentin Kipyatkov 468919f5d9 Fixed codegen crash on use of protected synthetic extension property 2015-08-12 18:17:09 +03:00
ligee d75bece6d0 Minor: moving a pom autogenerated by maven shade plugin to ignored targets dir 2015-08-12 17:03:09 +02:00
Ilya Ryzhenkov a717afd9db Fix NPE in checkLValue when selector is absent. Add test for incomplete syntax. 2015-08-12 17:08:16 +03:00
Valentin Kipyatkov 8104a78746 Fixed completion for type parameters broken recently 2015-08-12 13:34:28 +03:00
Dmitry Petrov b59bf6227f unqualified super: should be able to invoke methods of Any without extra hassle
when Any is an implicit immediate superclass
2015-08-12 12:14:14 +03:00
Ilya Chernikov 3b03cfaf4f Merge pull request #739 from JetBrains/rr/gradle-plugin-classloading-M13-2
merging gradle plugin classloading changes
2015-08-11 17:26:11 +02:00
ligee 0c84648b6a Minor: style fixes after review 2015-08-11 17:22:50 +02:00
ligee 961905a8da Disabling gradle daemon test as unsafe, adding gradle wrapper 2.4, fixing maven build test
(cherry picked after edit from commit 703d71d)
2015-08-11 13:19:03 +02:00
ligee 43aaacaa06 Fixing source build script search, attempt to fix KT-8705
(cherry picked from commit 89c5885)
2015-08-11 13:18:19 +02:00
ligee 05e8a080a9 Refactoring test base class to support gradle options and daemon stopping, implementing daemon build test with memory check
(cherry picked from commit a28ce9e)
2015-08-11 13:17:28 +02:00
ligee 97bc3005f4 Some more minor fixes after review
(cherry picked from commit 1ffdeff)
2015-08-11 13:16:08 +02:00
ligee c2c1fb2d0a moving embeddable compiler jar creation to libraries/maven, using maven-shade-plugin instead of jarjar; configuring more relocations of 3-party libs
(cherry picked from commit c905770)
2015-08-11 13:16:07 +02:00
ligee 5b9094301c Fixing minor issues after review
(cherry picked from commit 928769e)
2015-08-11 13:16:07 +02:00
ligee 0a9f98545b Dropping custom classloading again, now without creating a transparent one, restoring cleanup for gradle <2.4 to minimize leaks under daemon, adding diagnostics
(cherry picked from commit a3b7be4)
2015-08-11 13:16:00 +02:00
ligee 3b322520bd Using isolated classloader again, but as a singleton; regular compiler jar instead of embeddable; more logging
(cherry picked from commit 6801d8a)
2015-08-11 13:15:24 +02:00
ligee ee73373441 Implementing simple classloading for plugin core, since embeddable compiler allows it 2015-08-11 13:15:23 +02:00