Commit Graph

12101 Commits

Author SHA1 Message Date
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
Mikhael Bogdanov 6ca3a581b0 Test fix for previous commit 2013-09-24 14:31:58 +04:00
Mikhael Bogdanov 7520ff1420 KT-3308: Support local generic functions in codegen
#KT-3308 Fixed
2013-09-24 12:59:57 +04:00
Nikolay Krasko 46fec74797 Add task for downloading continuous idea build by id and version number 2013-09-23 15:31:06 +04:00
Nikolay Krasko 5aacf8f2b3 Merge pull request #306 from nskvortsov/master
Fix std lib generators: allow executing from command line.
2013-09-23 03:24:34 -07:00
Zalim Bashorov 24fde7110b J2K: reverted temporary fix after update to IDEA 132.325 EAP -- removed JavaToKotlinTranslator#NEVER_CHANGE. 2013-09-23 13:38:13 +04:00
Nikita Skvortsov aaf31945de Fix std lib generator: allow executing from command line. 2013-09-22 11:41:07 +04:00
Erokhin Stanislav dae791d7b1 JS backend: refactoring: extract CallArgumentTranslator from AbstractCallExpressionTranslator and CallExpressionTranslator 2013-09-20 21:22:54 +04:00
Erokhin Stanislav 0e6d9e857c JS backend: fix is for trait. #KT-3519 fixed 2013-09-20 21:21:39 +04:00
Erokhin Stanislav 649318a6c6 JS backend: drop Kotlin.keys 2013-09-20 21:07:34 +04:00
Erokhin Stanislav bdb338a271 JS backend: fix class object access A.object$() -> A.object 2013-09-20 21:07:34 +04:00
Erokhin Stanislav 9654bd9bc8 JS backend: fix inheritance from native class & remove createConstructor() function from stdLib 2013-09-20 21:07:27 +04:00
Erokhin Stanislav 571bcf63dc JS backend: remove RegressionMergeEcmaTest 2013-09-20 20:10:19 +04:00
Alexander Udalov 6f5cd974a3 Remove unneeded dependencies on 'frontend'
Move the two needed in 'descriptor.loader.java' classes to 'descriptors'
2013-09-20 18:02:13 +04:00
Alexander Udalov d6f656cc5d Fix library sources in .idea project 2013-09-20 18:02:12 +04:00
Alexander Udalov ae914efc12 Remove unneeded dependency of 'descriptors' on 'javax.inject'
ModuleDescriptorImpl.setModuleConfiguration is only called manually, never by
injectors
2013-09-20 18:02:12 +04:00
develar f4575b8c85 JS: report stack trace when test failed
(cherry picked from commit 70004ed)
2013-09-20 17:21:15 +04:00
develar 0182ec280a JS lib: made error message more understandable when module already defined.
(cherry picked from commit 28c8404)
2013-09-20 17:21:15 +04:00
Zalim Bashorov d4924b58b1 JS backend: generate sourcemap in IDEA every time. 2013-09-20 17:21:15 +04:00
develar cee4668e47 JS backend: don't add file:// prefix to sourcemap url.
Use name of generated source map file instead of absolute path.

(cherry picked from commit 126e977 and ec2fc20)
2013-09-20 17:21:15 +04:00
develar 6878a0b657 JS backend: added source mapping for some expressions.
(cherry picked from commit a35fe5a)
2013-09-20 17:21:14 +04:00
Zalim Bashorov 619e9758c8 JS backend: minor refactoring for LibrarySourcesConfig. 2013-09-20 17:21:14 +04:00
develar da68540ade JS backend: LibrarySourcesConfig accepts source dir as source.
Idea send files in any case, but for easy debug run configurations we want to specify only source dir.

(cherry picked from commit e194435)
2013-09-20 17:21:14 +04:00