Commit Graph

20602 Commits

Author SHA1 Message Date
Valentin Kipyatkov b0d82bef7d Tested KT-2718 Package names that match Kotlin keywords should be escaped properly 2015-03-03 13:41:32 +03:00
Dmitry Jemerov 2cc291efdb Standard library documentation continued. 2015-03-03 11:20:30 +01:00
Pavel V. Talanov 7cd68c70d2 Do not run unused symbol inspection on default objects for now
#KT-6872 Fixed
2015-03-03 13:04:33 +03:00
Pavel V. Talanov 4370b50841 Minor: change rendering of class objects' types in completion 2015-03-03 13:04:32 +03:00
Pavel V. Talanov cbf9208c1d Minor: change rendering of class objects in source code renderers
Fixes one particular case in completion
2015-03-03 13:04:32 +03:00
Pavel V. Talanov cebe556d03 Minor: simplify code 2015-03-03 13:04:31 +03:00
Pavel V. Talanov cc90891b6c Minor: change rendering of class objects in some diagnostics 2015-03-03 13:04:31 +03:00
Pavel V. Talanov 989f07962b Write to trace in case class qualifier is a short reference to default object
This allows to fix some cases when there is a difference between explicit and short reference to default object
Fix shorten reference, optimize imports and import insert helper for default objects
ShortenReferences always transforms default object references to shorter form for now
Fix DescriptorUtils#getFqName() for default objects (affects test data mostly)
Fix DescriptorUtils#getImportableDescriptor()
2015-03-03 13:04:30 +03:00
Pavel V. Talanov 7f672f8078 Minor: remove redundant class objects from project code 2015-03-03 13:04:30 +03:00
Pavel V. Talanov b012b9d8a3 Stdlib: Move classes out of class object in FunctionalList 2015-03-03 13:04:29 +03:00
Pavel V. Talanov ffabe19229 Prohibit accessing nested classes/objects of class object using class literal
The fqname of class should be clear from code
Example: can't shorten A.Default.B.Default.C to A.B.C
Also fixes problem when nested class of enum class could be accessed via enum entry
2015-03-03 13:04:29 +03:00
Pavel V. Talanov 86bbb117ef Refactor: rework FilteredCollector in CallableDescriptorCollectors
Convert LibrarySourceHacks to Kotlin
2015-03-03 13:04:28 +03:00
Pavel V. Talanov cceb5738c8 Can't omit default object name in imports and types
There should be only one way to denote a type (A.Default.B can't be denoted as A.B)
2015-03-03 13:04:28 +03:00
Pavel V. Talanov 640d2de5b9 Fix incorrect reference target for class literals in some cases 2015-03-03 13:04:27 +03:00
Pavel V. Talanov 88c5379424 Change importing rules for objects:
Allow importing classes from object, prohibit import-on-demand from objects
It's unclear what import-on-demand from object should mean so we prohibit it for now
2015-03-03 13:04:27 +03:00
Dmitry Jemerov 2e208c4294 revert incorrect deprecations 2015-03-02 22:16:52 +01:00
Dmitry Jemerov f41a0a328f don't deprecate AbstractIterator for now 2015-03-02 18:19:56 +01:00
Dmitry Jemerov afafdb31ee deprecate some legacy code in the standard library 2015-03-02 18:17:17 +01:00
Evgeny Gerashchenko c63b9b9433 Merge pull request #576 from typeinference/file-template-for-object
File template for object
2015-03-02 20:31:40 +04:00
Dmitry Jemerov 595eacb099 remove incorrect JVM-specific note 2015-03-02 13:25:31 +01:00
Dmitry Jemerov 78cb983bd0 clarify docs 2015-03-02 13:02:00 +01:00
Dmitry Jemerov 417711f9e6 document InlineStrategy and InlineOptions 2015-03-02 12:52:52 +01:00
Dmitry Jemerov f9fd0fd195 Merge branch 'rr/yole/kdocfinder-overridden' 2015-03-02 11:23:20 +01:00
Dmitry Jemerov 6e29829891 add test which reproduces the problem 2015-02-27 20:55:34 +01:00
Dmitry Jemerov 1684248e97 Fix retrieving documentation for overridden methods.
(The test doesn't actually reproduce the problem because it can't be done in a single-file setup, but it verifies that the basic functionality continues to work.)
2015-02-27 20:10:37 +01:00
Alexander Udalov 2c0830b017 Change synthetic accessor method names to "access$..."
As per discussion in https://youtrack.jetbrains.com/issue/KT-6870
2015-02-27 20:30:51 +03:00
Alexander Udalov ac9e6cd9ca Regenerate tests 2015-02-27 19:56:37 +03:00
Andrey Breslav 4c84b19b33 KT-5488 Invalid ambiguity between plus and plusAssign
#KT-5488  Fixed
2015-02-27 19:32:58 +03:00
Andrey Breslav 9c2a9e0bdb Spec for operator conventions is copied from the docs 2015-02-27 19:32:56 +03:00
Stanislav Erokhin 5ad07d88a9 Update to IDEA 140.2683.2 2015-02-27 18:51:05 +03:00
Dmitry Jemerov cec1b94664 provide documentation for generated built-in classes 2015-02-27 14:19:39 +01:00
Stanislav Erokhin 602689892e Wrong diagnostic when last expression in lambda contains assignment operation
#KT-6769 Fixed
2015-02-27 14:16:20 +03:00
Natalia Ukhorskaya 09435ad0e3 Gradle: fix warning about annotations path entry points to a non-existent location
#KT-6865 Fixed
2015-02-27 10:30:28 +03:00
Yan Zhulanow 171ea9416e Use comma to separate plugin paths in IDEA run configurations 2015-02-26 19:30:29 +03:00
Yan Zhulanow cdb7a4002e Join Kotlin and KotlinAndroidExtensions plugins into one directory 2015-02-26 18:53:43 +03:00
Nikolay Krasko f2b1585399 Add file name to debug context string to see if file is script 2015-02-26 16:39:50 +03:00
Yan Zhulanow 7bc81f68b4 Fix a bug in PluginURLClassLoader 2015-02-26 16:07:45 +03:00
Yan Zhulanow 2d6186b155 Report compiler exception on plugin load fail 2015-02-26 16:07:45 +03:00
Yan Zhulanow 20fc298113 Cache Android XML parse results using VfsModificationTracker 2015-02-26 16:07:44 +03:00
Yan Zhulanow d7fdb8b513 Remove Android-related services from core "idea" plugin 2015-02-26 15:26:03 +03:00
Yan Zhulanow 0ecd1c04b0 Update copyright 2015-02-26 15:26:02 +03:00
Yan Zhulanow f71e41d2db Fix Android xml converter tests 2015-02-26 15:26:02 +03:00
Yan Zhulanow 7423e30065 Removed Android dependencies from core modules 2015-02-26 15:26:02 +03:00
Yan Zhulanow 17bdcfe03f Gradle dependency from jps-plugin removed 2015-02-26 15:26:01 +03:00
Yan Zhulanow 756d0a06d9 Remove obsolete "frontend.android" paths 2015-02-26 15:26:01 +03:00
Yan Zhulanow 5614b29db7 Build KotlinAndroidExtensions artifact before launching IDEA 2015-02-26 15:26:01 +03:00
Yan Zhulanow ccbbaba7cd Rename jet to kotlin in Android JPS plugin 2015-02-26 15:26:01 +03:00
Yan Zhulanow d35f36da06 Rename jet to kotlin in Kotlin compiler infrastructure 2015-02-26 15:26:00 +03:00
Yan Zhulanow db45ab4ad6 Call findViewById if invoked on anything but our Activity class 2015-02-26 15:26:00 +03:00
Yan Zhulanow 8ebd63ee96 Update Gradle plugin 2015-02-26 15:26:00 +03:00