Commit Graph

2461 Commits

Author SHA1 Message Date
Andrey Breslav c5ef3602e3 KT-497 IndexOutOfBounds on correct code: a stub fix
#KT-497 In Progress
2012-01-18 12:04:57 +04:00
Evgeny Goldin 3407f808f0 Ant task - running "kotlinc-dir"/"kotlinc-jar" added to all tests 2012-01-18 01:55:02 +02:00
Evgeny Goldin f34c285fef Ant task - class names made shorter; destjar/includeRuntime/excludeStdlib supported; no static references; 2012-01-18 00:00:43 +02:00
Evgeny Goldin 157353e2cd Merge branch 'build-tools' of git+ssh://git.labs.intellij.net/jet into build-tools 2012-01-17 23:06:52 +02:00
Stepan Koltsov 0f9a21a305 no error scope in good type
propagate error types in several sites
2012-01-17 19:33:47 +04:00
Stepan Koltsov cf8e901823 test read class with two properties 2012-01-17 19:33:15 +04:00
Stepan Koltsov 7954938cb8 properly read final field from java code 2012-01-17 19:33:03 +04:00
Stepan Koltsov 1fc0d9b0f4 ReadKotlinModelFromJavaBinaryClasses 2012-01-17 19:32:50 +04:00
Stepan Koltsov 49dbcaa728 rename ReadClassDataTest 2012-01-17 19:32:18 +04:00
Stepan Koltsov 0dd7387f6c substitute on error class should be error 2012-01-17 19:32:05 +04:00
Stepan Koltsov b05c8ac3fd fix kotlin command-line launcher: add classpath entry 2012-01-17 19:30:43 +04:00
Nikolay Krasko c4bdd59f02 Make java classes completion popup not so obtrusive 2012-01-17 19:21:34 +04:00
Andrey Breslav 7b8a057f37 Merge remote branch 'origin/master' 2012-01-17 19:04:20 +04:00
Andrey Breslav edb324860a Stub visibility checker 2012-01-17 19:03:59 +04:00
svtk 94e3cc9976 Merge remote-tracking branch 'origin/master' 2012-01-17 15:43:17 +04:00
svtk e6a2b2fc0f //KT-1027 Strange selection of unreachable code 2012-01-17 15:43:11 +04:00
svtk 3a634417b9 KT-776 Wrong detection of unreachable code
KT-1001 Argument 2 for @NotNull parameter of JetFlowInformationProvider.checkIsInitialized must not be null
2012-01-17 15:27:54 +04:00
Nikolay Krasko 62de24d6c9 KT-1021 "internal" is suggested in completion where type is expected 2012-01-17 13:58:00 +04:00
Evgeny Goldin 292366b310 Ant task - <run-kotlinc> wrapper + "compilation-fail-tests" task testing <kotlinc> fails if compilation fails 2012-01-17 01:19:10 +02:00
Evgeny Goldin c39f078e35 <javac>: includeAntRuntime="false" + "-Xlint:all" for "build-tools" 2012-01-17 01:01:09 +02:00
Evgeny Goldin 74d44fb6d1 Ant task - all <java> invocations have their output checked in <run-java>; tests organization; no "dist" dependency 2012-01-17 00:54:48 +02:00
Evgeny Goldin 4edf29da2f Ant task - distribution zip is unpacked to ${kotlin-home} and used for all tests. 2012-01-17 00:26:28 +02:00
Evgeny Goldin 1fc1301cb2 Merge branch 'master' into build-tools 2012-01-16 21:18:34 +02:00
Maxim Shafirov d51c030803 New module script DSL 2012-01-16 20:59:17 +04:00
Andrey Breslav fb463da84b KT-918 Use-case for using some functions and lambdas (confused) 2012-01-16 17:22:12 +04:00
Maxim Shafirov 7142bc10d0 Comment out temporarily to fix compilation 2012-01-16 16:38:37 +04:00
Maxim Shafirov 654bc92246 fix compiler compile 2012-01-16 16:16:36 +04:00
Stepan Koltsov 73a1a5a083 fix exception in error type mapper
(reported by Sergey)
2012-01-16 12:47:49 +04:00
Evgeny Goldin 2522cbc9c8 Ant task - "build.xml": comments added to <macrodef>s 2012-01-16 00:05:15 +02:00
Evgeny Goldin 4e1f831cce Ant task - "longer examples" compiled and run 2012-01-15 23:00:28 +02:00
Evgeny Goldin 28267606e6 Ant task - CompileEnvironment is used + "buildToolsTest" verifies <java> output 2012-01-15 22:16:28 +02:00
Evgeny Goldin 823852cc6c First Ant task + "buildToolsTest" Ant target added 2012-01-15 19:55:11 +02:00
Stepan Koltsov 0c4936981a @Nullable annotations 2012-01-15 19:50:52 +04:00
Evgeny Goldin 28044c18cd "build-tools" module + "buildTools" Ant target added 2012-01-15 17:35:49 +02:00
Stepan Koltsov 5f44c17b85 ReadClassDataTest: read inner classes
(this commit is made on speed 250km/h somewhere between Moscow and Saint Petersburg)
2012-01-15 18:56:48 +04:00
Stepan Koltsov 669ea44c1a write InnerClasses attribute 2012-01-15 18:56:45 +04:00
Stepan Koltsov 3ce345b06b fix inner class serialization in ReadClassDataTest 2012-01-15 18:56:42 +04:00
Stepan Koltsov 882a475ac8 replace JavaClassDescriptor with MutableClassDescriptorLite 2012-01-14 04:27:22 +04:00
Stepan Koltsov 10eb516743 split MutableClassDescriptor
into MutableClassDescriptor base class MutableClassDescriptorLite.
Latter will be used to replace JavaClassDescriptor
2012-01-14 04:27:15 +04:00
Stepan Koltsov 2fe9344225 kill ClassDescriptor.superclassType
it is not used anywhere, I'll restore it when it is needed
2012-01-14 04:27:10 +04:00
Stepan Koltsov 2ab2030cea refactoring for easier next step refactoring
call MutableClassDescriptor.setTypeParameterDescriptors(..) exactly once
2012-01-14 04:27:05 +04:00
Stepan Koltsov 133fc683a4 merge @JetProperty and @JetMethod
because:
* have common parts
* reduce class size

Also add helper JetMethodAnnotationWriter class

And also do not generate @Jet* annotations for closures
2012-01-13 23:56:13 +04:00
Stepan Koltsov 6603a431fa read class data: hide methods
hide inherited Object and jet.JetObject methods, and special static methods
2012-01-13 23:56:08 +04:00
Nikolay Krasko fc63f1e4ae KT-983 Code completion for not-imported classes - a very temp commit with enabling java class names completion with Ctrl + Space. 2012-01-13 19:51:57 +04:00
svtk a07e164076 KT-955 Unable to import a Kotlin package into a Kotlin file with no package header 2012-01-13 18:18:18 +04:00
Maxim Shafirov 8e85962856 Don't crash compiling incorrect code. This is very important for jet.as.java.psi component 2012-01-13 17:30:15 +04:00
Nikolay Krasko db8848f3af KT-999 Show full names of elements in structure view 2012-01-13 15:45:31 +04:00
Maxim Shafirov 59e688f9ff Move module scripting out of jvm backend 2012-01-13 14:23:48 +04:00
Maxim Shafirov 90fb61f63c Cleanup dependency zips so they don't mess into final plugin artifact 2012-01-13 14:13:31 +04:00
Maxim Shafirov 8e8f8716ba Add cli compiler to plugin artifact 2012-01-13 13:56:30 +04:00