Commit Graph

12123 Commits

Author SHA1 Message Date
Alexey Sedunov e859e02c8b Implement "if null" / "if not null" live templates 2013-09-25 19:44:24 +04:00
Alexander Udalov a814f6a897 Advertise CompileBinaryTestData.kt in tests with binaries 2013-09-25 16:04:17 +04:00
Natalia.Ukhorskaya 983dfbdf3c Find kotlin library using library name, jar name in library classes root and marker class in library scope 2013-09-25 14:19:54 +04:00
Natalia.Ukhorskaya bb42c54b7c Don't hide configure project notification 2013-09-25 14:18:42 +04:00
Natalia.Ukhorskaya 7e86f8c6b8 Small refactoring: add NN and extract variable 2013-09-25 14:18:41 +04:00
Natalia.Ukhorskaya da17475ae6 Pack runtime sources to separate jar 2013-09-25 14:18:41 +04:00
Natalia.Ukhorskaya 55bae03177 Don't show separator in CreateLibrary dialog when paths aren't shown 2013-09-25 14:17:40 +04:00
Andrey Breslav c94f97bf57 Properly disposing the environment in GenerateJavaToKotlinMethodMap 2013-09-24 13:07:46 -07:00
Alexander Udalov da1325f5cc Add a script to regenerate binary test data (jars) 2013-09-24 20:33:00 +04:00
Alexander Udalov 1de637c143 Regenerate compiled testData
Add sources and instructions to tests which had compiled jars in the testData.
PLEASE ALWAYS ADD SOURCES for tests with jars.

Delete runtime, stdlib and their sources from these jars -- PLEASE DO NOT PUT
kotlin-runtime.jar INTO TEST DATA JARS: every such jar is around 1Mb, it spoils
the repository
2013-09-24 20:32:07 +04:00
Andrey Breslav 62607c2494 Fix compilation in KDoc 2013-09-24 08:41:41 -07:00
Andrey Breslav 4644858b11 @NotNull propagated to JetVisitor implementations 2013-09-24 07:05:21 -07:00
Andrey Breslav e829ef8304 JetPsiPrecedences rewritten in Kotlin 2013-09-24 07:05:20 -07:00
Andrey Breslav fc70a65f99 Support 'suppress for statement' quick fix
#KT-3319 Fixed
2013-09-24 07:05:20 -07:00
Andrey Breslav 5b9d10d74e @NotNull in JetPsiFactory 2013-09-24 06:58:42 -07:00
Andrey Breslav 8f6b6639c5 Allow no else in annotated when-statements 2013-09-24 06:58:42 -07:00
Andrey Breslav db9dd5d320 Allow annotations on loop statements 2013-09-24 06:58:41 -07:00
Andrey Breslav c7c151a726 Support suppression on expressions 2013-09-24 06:58:41 -07:00
Andrey Breslav 716718fb0d JetAnnotated interface extracted to unify declarations and annotated expressions 2013-09-24 06:58:41 -07:00
Andrey Breslav a13b66c58e 'Suppress warnings' as quick fix options
If no quick fix is available a special intention is shown
2013-09-24 06:58:41 -07:00
Andrey Breslav b379ab3ebd Resolve annotations on expressions and multi-declarations 2013-09-24 06:58:41 -07:00
Andrey Breslav 836eef67fa Create proper annotation descriptors when annotation arguments don't match 2013-09-24 06:58:41 -07:00
Andrey Breslav 3d754dd788 DiagnosticFactory exposes severity 2013-09-24 06:58:40 -07:00
Andrey Breslav 97435a4266 Rename class: AbstractDiagnosticFactory -> DiagnosticFactory 2013-09-24 06:58:40 -07:00
Andrey Breslav 1948fb4c36 @Nullable/@NotNull added to various classes 2013-09-24 06:58:40 -07:00
Andrey Breslav 2d01e93fa4 Make formatter put no indent after a line break inside/after a modifier list 2013-09-24 06:58:40 -07:00
Andrey Breslav 8952365ae3 Formatter test is generated now 2013-09-24 06:58:40 -07:00
Andrey Breslav 9d7b3a7a96 Cached version of DiagnosticsWithSuppression. 2013-09-24 06:58:40 -07:00
Andrey Breslav 2dfaa81995 Tests for 'suppress' annotation 2013-09-24 06:58:40 -07:00
Andrey Breslav 1dff2fcf36 Basic implementation of DiagnosticsWithSuppression 2013-09-24 06:58:39 -07:00
Andrey Breslav 887e4276ee getDiagnostics() in BindingContext returns Diagnostics rather than List<Diagnostic> 2013-09-24 06:58:39 -07:00
Andrey Breslav b98d05bd73 'suppress' annotation added to built-ins
#KT-3319 In Progress
2013-09-24 06:58:39 -07:00
Andrey Breslav 9fef0c8650 Support '-suppress warnings'
#KT-3319 In Progress
2013-09-24 06:58:39 -07:00
Andrey Breslav c0e8038ed2 FilteringMessageCollector moved out 2013-09-24 06:58:39 -07:00
Andrey Breslav 73e45047fd Simplify test code and create expected data file if not present 2013-09-24 06:58:39 -07:00
Andrey Breslav 67b23ceda7 assertEqualsToFile() extracted as a common utility 2013-09-24 06:58:38 -07:00
Andrey Breslav f245d93eea Common CLI parameters extracted into a base class 2013-09-24 06:58:38 -07:00
Andrey Breslav 04101a91f3 Update to cli-parser 1.1.1 which supports fields inherited from superclasses 2013-09-24 06:58:38 -07:00
Andrey Breslav 2ae2db75ef Unused methods removed 2013-09-24 06:54:26 -07:00
Andrey Breslav 2954af1b12 Unused method getPropertyByFieldReference() removed from JetScope and its implementations 2013-09-24 06:54:26 -07:00
Andrey Breslav 1f340e3a7a Don't compile and run generators in build.xml 2013-09-24 06:45:26 -07:00
Andrey Breslav 587189433b Test that GenerateJavaToKotlinMethodMap has run correctly 2013-09-24 06:45:25 -07:00
Andrey Breslav 651cc26e5e Test that injectors are properly generated 2013-09-24 06:45:25 -07:00
Andrey Breslav 09da73da1b Log what test classes were regenerated 2013-09-24 06:45:25 -07:00
Andrey Breslav ade544a8b7 Test generator moved to the 'generators' module 2013-09-24 06:45:25 -07:00
Mikhael Bogdanov 39b5be6e2b Test fix for android configuration 2013-09-24 17:10:44 +04:00
Nikolay Krasko 286eecffc5 KT-4000 Class name completion is not available inside call expressions
#KT-4000 Fixed
2013-09-24 16:54:27 +04:00
Nikolay Krasko 24794741ff Testing auto imports work in calls
#KT-4000 In Progress
2013-09-24 16:54:26 +04:00
Nikolay Krasko 143d8d945c Rewrite isFirstPartInQualified to work properly inside call expressions
#KT-4000 In Progress
2013-09-24 16:54:25 +04:00
Nikolay Krasko ed250198d8 Revert replacing "NUMBER" to "INVOCATION_COUNT" and replace "TIME" to "INVOCATION_COUNT" 2013-09-24 16:54:25 +04:00