Commit Graph

10439 Commits

Author SHA1 Message Date
Andrey Breslav 35f1d8a7f3 Convert line separators when loading expected test results 2013-04-29 19:08:07 +04:00
Andrey Breslav 353693d291 Profiler: utility class for measuring performance 2013-04-29 18:35:12 +04:00
Andrey Breslav e4939f92e4 Support relative script paths 2013-04-29 17:59:53 +04:00
Andrey Breslav 3f73662260 Do not run generator on a quick dist
Everything is already compiled, so there's no point in generating sources
2013-04-29 17:59:52 +04:00
Andrey Breslav f1f9d5327c Using XML instead of module scripts when running from IDE 2013-04-29 17:59:52 +04:00
Andrey Breslav 42505246b8 Module descriptions in XML 2013-04-29 17:59:51 +04:00
Andrey Breslav 3673f8003b reportException() moved to a utility class and used where appropriate 2013-04-29 15:46:37 +04:00
Andrey Breslav 3f23704e13 Method renamed 2013-04-29 15:46:37 +04:00
Andrey Breslav abd162d466 Interface extracted from KotlinModuleScriptGenerator 2013-04-29 15:46:37 +04:00
Michał Sapalski 7deec28b9c Adjusted tests to the new DescriptorRenderer behaviour 2013-04-29 15:44:07 +04:00
Michał Sapalski 2352d86932 Refactoring: use DescriptionRenderer to generate overriding functions / properties. 2013-04-29 15:44:06 +04:00
Michał Sapalski 01c4826b06 Quickfix for NOTHING_TO_OVERRIDE 2013-04-29 15:44:06 +04:00
Andrey Breslav 231457df8e Migrate to IDEA 12.1.2 2013-04-29 14:44:09 +04:00
Evgeny Gerashchenko e9bb04c8c1 Fixed "already disposed" error in tests. 2013-04-26 18:23:36 +04:00
Andrey Breslav bcb6cbc935 Premature optimization removed from preloader 2013-04-26 14:33:33 +04:00
Andrey Breslav 4f967363a6 More callbacks in preloader 2013-04-26 14:33:32 +04:00
Andrey Breslav 88112e500c Support uknown entry sizes in preloader 2013-04-26 14:33:31 +04:00
Andrey Breslav 7841961989 Callback added to preloader 2013-04-26 14:33:31 +04:00
Andrey Breslav 85bc429efe Optimization (after profiling): EnumSet is slower than ImmutableSet 2013-04-26 14:33:30 +04:00
Andrey Breslav e158affacc Optimization (after profiling): getClass() not needed in a final class' equals() 2013-04-26 14:33:30 +04:00
Andrey Breslav bd4d6c810f Optimization: hierarchical signatures build only for non-static methods (1 sec on toString()) 2013-04-26 14:33:29 +04:00
Andrey Breslav 7b602d4dd7 MembersCache made lazy 2013-04-26 14:33:29 +04:00
Andrey Breslav 2d50810a02 ClassMemberProcessor restructured 2013-04-26 14:33:28 +04:00
Andrey Breslav 991256bfd3 Use preloader in the IDE 2013-04-26 14:33:27 +04:00
Andrey Breslav ddb474ea8e Reorder method parameters 2013-04-26 14:33:27 +04:00
Andrey Breslav 2ce6d16433 Allowing multiple jars 2013-04-26 14:33:26 +04:00
Andrey Breslav 2f65506d76 Support time measurement 2013-04-26 14:33:26 +04:00
Andrey Breslav bbb661506a Preloader for command-line compiler 2013-04-26 14:33:18 +04:00
Andrey Breslav b3248baae9 "-noverify" by default to speed up class loading 2013-04-26 14:32:55 +04:00
Andrey Breslav 3179f67bfc Tasks for quickly building kotlin-compiler.jar using the results of incremental compilation in the IDE 2013-04-26 14:32:55 +04:00
Evgeny Gerashchenko 837ab0ac4f Updated test data since another quick fix is available. 2013-04-26 14:03:06 +04:00
Wojciech Lopata b3a87d943a CastExpressionFix 2013-04-26 13:13:20 +04:00
Wojciech Lopata 59716fec9c Cleanup in a test 2013-04-26 13:12:20 +04:00
Alexander Kirillin 0a597e563a Implemented "Change signature" refactoring 2013-04-25 21:13:33 +04:00
Alexander Kirillin 500a165191 Type and expression code fragments initial implementation 2013-04-25 21:13:33 +04:00
Alexander Kirillin 6591f54ad5 Added check for read-only files in intention actions 2013-04-25 21:13:33 +04:00
Zalim Bashorov fe19c9471e Merge pull request #256 from lopekpl/change_function_return_type_fixes
Quickfixes for RETURN_TYPE_MISMATCH and NO_RETURN_IN_FUNCTION_WITH_BLOCK_BODY
Simple quickfix for TYPE_MISMATCH
2013-04-25 05:02:13 -07:00
Wojciech Lopata 9b11db7a74 ChangeFunctionReturnTypeFix for TYPE_MISMATCH error 2013-04-24 14:34:20 +02:00
Evgeny Gerashchenko 267bb01f62 Added @NotNull annotation for Charset.defaultCharset().
Other code cleanup.
2013-04-24 16:18:34 +04:00
Zemian Deng f7099a5b6a Use default param to String encoding name instead of using extra overloaded method. 2013-04-24 16:18:34 +04:00
Zemian Deng c3b46341d7 #KT-3533 Fixed - not to null in encoding name parameter in String, Bytes, and File. 2013-04-24 16:18:33 +04:00
Mikhael Bogdanov b6fc0c5c13 KT-3538: Super call to trait implemetation invokes method from base class 2013-04-24 15:52:09 +04:00
Wojciech Lopata 893cbd6b48 Quickfix for RETURN_TYPE_MISMATCH and NO_RETURN_IN_FUNCTION_WITH_BLOCK_BODY 2013-04-24 12:21:28 +02:00
Wojciech Lopata dde4260d10 Fix ChangeFunctionReturnTypeFix.getText() method 2013-04-24 12:17:47 +02:00
Mikhael Bogdanov aa2db75266 KT-3389: Local class construction results in CompilationException && KT-2873 && KT-3210
KT-2873: VerifyError on instantiating a local class inside a closure
KT-3210 Inline Class: CompilationException: Back-end (JVM) Internal error: wrong code generated java.lang.ArrayIndexOutOfBoundsException null

 #KT-3389 Fixed
2013-04-24 13:49:47 +04:00
Wojciech Lopata e49389bf07 Make clear ChangeFunctionReturnTypeFix can't hadle function literals 2013-04-24 11:38:40 +02:00
Wojciech Lopata b5bbe26583 Remove unreachable code 2013-04-24 11:38:40 +02:00
Mikhael Bogdanov 9682b72643 Inner class generation now performed on visiting appropriate declaration 2013-04-23 16:08:02 +04:00
Natalia.Ukhorskaya 5baa10df41 Update to IDEA 12.1.2 (build 129.298) 2013-04-23 11:46:40 +04:00
Alexander Udalov 959f2fb70b Fix codegen tests on Android
Since Android tests move files around, changing their packages, and 'toString'
tests the exact name of a class, we now get it via Java reflection
2013-04-22 21:47:17 +04:00