Commit Graph

10025 Commits

Author SHA1 Message Date
Mikhael Bogdanov 5bed6c296d Test update after "Refactoring: code duplication removed from accessor generators" and "Properly resolve descriptors from compiled kotlin" fixes 2013-03-20 20:50:06 +04:00
Mikhael Bogdanov d9fd04dd43 Refactoring: code duplication removed from accessor generators 2013-03-20 20:50:05 +04:00
Mikhael Bogdanov 86f5114b7d Properly resolve descriptors from compiled kotlin
Added protected flag for annotation
2013-03-20 20:50:05 +04:00
Mikhael Bogdanov 001a27f802 Refactoring: code duplication removed from constructor generators 2013-03-20 20:50:05 +04:00
Nikolay Krasko c8f3ecdce7 Use proper Nullable annotation 2013-03-20 20:42:14 +04:00
Nikolay Krasko 09c58287a8 Fix bug when notification doesn't disappear after setting module as java
Stop caching value on ProjectRootModificationTracker because marker classes will be visible only after indexing is finished
2013-03-20 19:05:11 +04:00
Nikolay Krasko 0590408236 Move api extensions for LibraryPresentationProvider to utility methods 2013-03-20 19:05:11 +04:00
Nikolay Krasko 8288c1ed44 Fix jar version stuck problem 2013-03-20 19:05:10 +04:00
Nikolay Krasko 99520c9f54 Update several libraries in project all at once 2013-03-20 19:05:09 +04:00
Nikolay Krasko 29880fc79d Make old js project compilable without modifications 2013-03-20 19:05:08 +04:00
Nikolay Krasko 1fdc9908dc Don't detect library as js standard library if it can be detected as java runtime 2013-03-20 19:05:07 +04:00
Svetlana Isakova be6320ab1f small refactoring in 'cacheResults' method
do not create DelegatingBindingTrace if callKey is null
2013-03-20 18:44:00 +04:00
Svetlana Isakova c66d8dbc8a get rid of unnecessary 'instanceof ResolvedCallImpl' checks 2013-03-20 17:27:45 +04:00
Svetlana Isakova 509dd54a5e init debug names for slices in ResolutionResultsCache 2013-03-20 17:27:45 +04:00
Svetlana Isakova df230d36c2 complete nested calls for array set expression correctly 2013-03-20 17:27:45 +04:00
Leonid Shalupov a8d7bb0daa fix maven deploy 2013-03-19 21:40:43 +04:00
Svetlana Isakova 66e89280b6 refactoring
(simplified recordReferenceForInvokeFunction, isExpressionWithValidReference)
2013-03-19 16:47:22 +04:00
Svetlana Isakova 8768d669ae removed TypeInfoForCall 2013-03-19 16:47:22 +04:00
Svetlana Isakova 6e26e37c43 complete analysis for call expressions inside nested qualified expressions
todo: other expressions
2013-03-19 16:47:22 +04:00
Svetlana Isakova cbbac2f2ef cache resolution data by callKey instead of expression 2013-03-19 16:47:22 +04:00
Svetlana Isakova 0bc647044c added 'INVOKE' CallType 2013-03-19 16:47:22 +04:00
Svetlana Isakova 0bf5899bf5 refactoring: do not create extra anonymous class
for CallForImplicitInvoke case
2013-03-19 16:47:22 +04:00
Svetlana Isakova 2350035f35 cache deferred computation for call in 'cacheResults'
(not separately)
2013-03-19 16:47:22 +04:00
Svetlana Isakova 180149b1c1 added ResolutionResultsCache
all resolution results are written to it instead of trace
2013-03-19 16:47:22 +04:00
Svetlana Isakova 1b1ee18f97 KT-3395 mapOf function can't be used as literal
#KT-3395 Fixed
2013-03-19 16:47:22 +04:00
Zalim Bashorov 7143393172 Added support bitwise operations in js translator 2013-03-19 16:31:02 +04:00
Zalim Bashorov 9c2d5a8ddb Fixed translating primitive arrays to js. 2013-03-19 16:31:02 +04:00
Andrey Breslav 7fadf40ad8 Restore forceResolve to false to prevent other tests from failing 2013-03-19 15:16:30 +04:00
Andrey Breslav abc03f7a19 Source files copied under project: to make "get all project files" work 2013-03-19 15:16:30 +04:00
Andrey Breslav db947f5497 Use a SLRUCache to reduce memory consumption 2013-03-19 15:16:30 +04:00
Andrey Breslav 784e501f7b Use KotlinCacheManager to analyze all headers only once 2013-03-19 15:16:30 +04:00
Andrey Breslav 48cd960eee Use CachedValuesManager.getCachedValue() 2013-03-19 15:16:29 +04:00
Natalia.Ukhorskaya 7702274633 Optimize imports when insert new import (optimize imports on the fly should be turned on)
#KT-3403 Fixed
2013-03-19 14:56:31 +04:00
Natalia.Ukhorskaya 31d3d2bb3a Rename method 2013-03-19 14:56:30 +04:00
Natalia.Ukhorskaya abed8b59cb Temporary disable imports sorting 2013-03-19 14:56:29 +04:00
Leonid Shalupov b936b56235 fix maven build 2013-03-18 23:22:41 +04:00
Leonid Shalupov d9ed2a3794 gradle: delete annotations directory: replace exception by warning 2013-03-18 19:19:56 +04:00
Leonid Shalupov 05285c8272 fix NPE with logger, delete extracted annotations 2013-03-18 19:19:55 +04:00
Andrey Breslav 01203f6be3 Fixes after review 2013-03-18 19:19:55 +04:00
Leonid Shalupov 25decd1c7a gradle-api deploy helpers 2013-03-18 19:19:55 +04:00
Nikita Skvortsov c67b4e4627 prepare pull request 2013-03-18 19:19:54 +04:00
Nikita Skvortsov 4b19adf4fd initial stubs 2013-03-18 19:19:54 +04:00
Alexander Udalov 7cc1ed5cb1 Add regression test for KT-3413 2013-03-18 14:52:29 +04:00
Alexander Udalov e2d60e939b Rename some local variables in ImplBodyCodegen 2013-03-15 22:57:31 +04:00
Alexander Udalov 242b97febf Fix mapGetterSignature/mapSetterSignature
In case of TRAIT_IMPL the incorrect this was written. Reuse the code from the
common mapSignature

 #KT-3413 Fixed
2013-03-15 22:03:39 +04:00
Alexander Udalov 2518ba3353 Minor refactoring of TImpl codegen
jvmSignature.getAsmMethod() and functionOriginal are supposed to be the same
entity, so move jvmSignature out of the way to where it's needed
2013-03-15 21:24:41 +04:00
Alexander Udalov d6129045ce Minor, extract methods in TImpl codegen 2013-03-15 20:55:15 +04:00
Alexander Udalov 8afa46ed6d Minor refactoring of TImpl codegen
Use early returns, rename some variables, etc
2013-03-15 20:30:51 +04:00
Alexander Udalov 905ea962d8 Minor refactoring of TImpl codegen
Extract some methods
2013-03-15 20:00:52 +04:00
Alexander Udalov a9776016a9 Resolve static methods of enum in front-end
Up to this point, front-end did not suspect that there could be classes which
have both a class object and a package for static members. Since this became
possible for enums loaded from Java binaries (enum entries and valueOf()/
values() are placed into the class object, and every other static member into
the package), we adjust the corresponding scope to also include members from
the corresponding package

 #KT-2990 Fixed
2013-03-15 16:00:57 +04:00