Commit Graph

2099 Commits

Author SHA1 Message Date
Natalia.Ukhorskaya fe689f5e11 Mark deprecated items in StructureView 2012-10-19 15:51:31 +04:00
Natalia.Ukhorskaya aa28a03f61 Mark deprecated items in ProjectView (class, function, property, class-object)
#KT-2944 Fixed Mark deprecated classes in Project Tree
2012-10-19 15:51:30 +04:00
Andrey Breslav a7b6b34e29 Properly determine what classes to show in Kotlin completion:
Classes like Int and jet.Iterable should are not visible from Java
since they are erased at runtime. We call such classes non-physical,
they have to be added to completion manually.`
2012-10-18 19:57:18 +04:00
Natalia.Ukhorskaya 62d8153ada Map java.land.Deprecated to jet.deprecated
Change testData for deprecated annotation
 #KT-2947 Fixed
2012-10-18 19:14:04 +04:00
Natalia.Ukhorskaya 5d2edc53b4 Minor refactoring at DeprecatedAnnotationVisitor 2012-10-18 19:06:18 +04:00
Natalia.Ukhorskaya 29ca8faa4e Replace CodegenUtils.isDeprecated to KotlinBuiltIns.isDeprecated 2012-10-18 19:03:34 +04:00
Andrey Breslav e4c89f800f Compilation fixed 2012-10-17 17:52:02 +04:00
Andrey Breslav 10cf303133 BuiltIns initialization in J2K fixed 2012-10-17 17:40:06 +04:00
Andrey Breslav 9387c974bd Resolving references to builtins: first loading Unit.jet, and then the rest of the library
Test data fixed to get rid of jet.src directory
2012-10-17 14:38:22 +04:00
Andrey Breslav c3881747af Component initialization order fixed 2012-10-17 13:48:08 +04:00
Andrey Breslav ee5b50cb1b Incorrect comparison to default bound fixed 2012-10-17 13:48:07 +04:00
Andrey Breslav 937c4e8baf BuiltinsScopeExtensionMode not needed any more
(see the changes in DefaultModuleConfiguration.java)
2012-10-17 13:48:07 +04:00
Andrey Breslav e81f38b6a8 JetStandardLibrary -> KotlinBuiltIns 2012-10-17 13:48:05 +04:00
Andrey Breslav c719ae427a JetStandardClasses -> KotlinBuiltIns 2012-10-17 13:48:05 +04:00
Svetlana Isakova 73020fbebf added class ExtendedInferenceErrorData
(to avoid @Nullable fields)
2012-10-16 16:25:08 +04:00
Nikolay Krasko 04670d5d6e Navigate to symbol for kotlin properties 2012-10-16 15:38:26 +04:00
Nikolay Krasko bc85a8bf6b Move common implementation to separate class 2012-10-16 15:38:17 +04:00
Natalia.Ukhorskaya d55a0fcacb Move isDeprecated function to CodegenUtil 2012-10-16 14:41:18 +04:00
Pavel V. Talanov 0f3c2f9fca Rename: AnnotationResolver -> JavaAnnotationResolver 2012-10-15 21:04:38 +04:00
Nikolay Krasko a1f23597d2 Clean up function bracket insertion algorithm
- Rename methods
- Correct variables names
- Fix algo for searching open bracket
2012-10-15 20:45:36 +04:00
Nikolay Krasko 440f781a93 Insert one additional space for function literals 2012-10-15 20:45:35 +04:00
Andrey Breslav f27896ee56 Better checking for isMavenModule() 2012-10-15 14:59:40 +04:00
Natalia.Ukhorskaya 20352b3810 Highlight references to deprecated things accordingly
#KT-2925 Fixed
2012-10-12 15:23:04 +04:00
Nikolay Krasko 5b4bf7036d Default value string for field annotation 2012-10-10 12:59:19 +04:00
Natalia.Ukhorskaya 6f7b6e4ff3 Use LazyResole to find direct inheritors of class 2012-10-09 19:17:51 +04:00
Pavel V. Talanov 88bd991729 Extract FunctionResolver and AnnotationResolver classes from JavaDescriptorResolver 2012-10-06 19:08:57 +04:00
Nikolay Krasko 4c8849c6f9 Refactoring: Extract common functionality 2012-10-05 18:45:43 +04:00
Nikolay Krasko cc4be6ad67 Allow annotate java fields in GUI 2012-10-05 15:51:17 +04:00
Nikolay Krasko 3fb34c26ef Allow annotate constructors with default value in format "fun <class_name>(<params>)"
#KT-2774 In Progress
2012-10-05 13:16:25 +04:00
Natalia.Ukhorskaya a5b43cbbae Stub for annotations: write shortName instead getText 2012-10-05 12:07:22 +04:00
Natalia.Ukhorskaya 8e89cf40b7 First version of KotlinAnnotationElementsSearcher #KT-2504 Fixed 2012-10-05 12:00:46 +04:00
Natalia.Ukhorskaya ae6aa1b160 Stub for annotations 2012-10-04 19:45:52 +04:00
Natalia.Ukhorskaya 3cdc2363fa KT-2504 for JUnit3
#KT-2504 In Progress "Run all tests" on test folder doesn't run any tests
2012-10-04 19:45:51 +04:00
Nikolay Krasko 29ee6e5442 Weaken parameter requirements 2012-10-03 17:42:07 +04:00
Evgeny Gerashchenko 0d7544c6a9 Using JetValueParameterAnnotation factory method instead of constructor.
Made constructor private.
2012-09-27 18:27:30 +04:00
Alexander Udalov f71cf83b8e Fix null-check for generated light class in definitions search (EA-39485) 2012-09-27 17:49:18 +04:00
Natalia.Ukhorskaya 8a579a0dff Add explicit message for EA-37463 for clarify exception 2012-09-24 11:31:31 +04:00
Alex Tkachman dfba534e2e clean to green 2012-09-23 14:20:25 +02:00
Nikolay Krasko 726e6be076 Fix getting fqn for JetObject 2012-09-21 13:41:18 +04:00
Nikolay Krasko bed1d0e7a6 Refactoring. Add some self-documented functions 2012-09-21 12:18:25 +04:00
Nikolay Krasko 94050c7604 Fix since-until build versions 2012-09-21 10:51:59 +04:00
Nikolay Krasko b301bbe1f9 Don't activate top level completion in user types after dot 2012-09-20 16:50:08 +04:00
Nikolay Krasko 1ba4e5aee0 KT-2128 Code completion after number with dot - don't complete on '.' only in ".."
#KT-2128 Fixed
2012-09-20 14:53:08 +04:00
Nikolay Krasko a163236713 KT-2128 Code completion after number with dot - no tests for now
#KT-2128 In Progress
2012-09-20 00:30:22 +04:00
Nikolay Krasko fbe4e9f96e KT-2710 code completion doesn't work
#KT-2710 In Progress
2012-09-20 00:30:18 +04:00
Andrey Breslav bd0eab5202 Tuple migration quick fix now appears only on tupels shorter than 4
Longer tuples exhibit another error message.
Messages adjusted for compiler and IDE
2012-09-19 16:05:32 +04:00
Andrey Breslav 4ff2b24acb TupleN classes removed from runtime
Class definitions are kept in the fornt-end to facilitate migration. Will be removed in the next milestone

#KT-2358 In progress
2012-09-18 21:16:31 +04:00
Andrey Breslav e373663a85 Tuple-related classes are deprecated
#KT-2358 In Progress
2012-09-18 20:47:34 +04:00
Andrey Breslav 3aaed57a66 Quick fix to replace sure() calls with !! 2012-09-18 20:27:09 +04:00
Andrey Breslav 36b5573f4d A quick fix to replace tuples (expressions and types) by Unit, Pair and Triple
Changes are made to all files in the project
 This quick-fix is to be removed in the next milestone

 #KT-2358 In Progress
2012-09-18 20:27:09 +04:00