Commit Graph

14362 Commits

Author SHA1 Message Date
Mikhael Bogdanov e013a65a2c Max stuff calculation 2014-03-03 15:43:42 +04:00
Mikhael Bogdanov d6feea6a17 Identity fix, removed primitive box/unbox 2014-03-03 15:43:42 +04:00
Mikhael Bogdanov 77979cce1b New generated lambda naming 2014-03-03 15:43:42 +04:00
Mikhael Bogdanov 0ac53da2ed Assertion remove fix 2014-03-03 15:43:42 +04:00
Mikhael Bogdanov 074cebdaa6 Fix for codegen 2014-03-03 15:43:41 +04:00
Mikhael Bogdanov 647728e45e Fix for generics invocation 2014-03-03 15:43:41 +04:00
Mikhael Bogdanov e2db1aacdb no inline fix 2014-03-03 15:43:41 +04:00
Mikhael Bogdanov 510c0eff7f Added field class checking 2014-03-03 15:43:41 +04:00
Mikhael Bogdanov ee61188188 Stack Height fix 2014-03-03 15:43:41 +04:00
Mikhael Bogdanov accccdfb77 Addded inline closure flag 2014-03-03 15:43:40 +04:00
Mikhael Bogdanov 6e0f56b348 CaprutedParamInfo refactoring 2014-03-03 15:43:40 +04:00
Mikhael Bogdanov dbf5187054 Keep package part name in pakage context 2014-03-03 15:43:40 +04:00
Mikhael Bogdanov 353d1c488b Fixed redundant done invocation on asByteArray call 2014-03-03 15:43:40 +04:00
Mikhael Bogdanov ea44d15058 Support of for local fun inside lambdas 2014-03-03 15:43:39 +04:00
Mikhael Bogdanov 4bb63535ea Temporary workaround for constructor params 2014-03-03 15:43:39 +04:00
Mikhael Bogdanov 5a8a0ac486 Lambda captured field remapper 2014-03-03 15:43:39 +04:00
Mikhael Bogdanov 829a58f225 ~0 field fix 2014-03-03 15:43:39 +04:00
Mikhael Bogdanov 7995ffb798 Support regeneration of non inlinable lambdas/local funs/sams 2014-03-03 15:43:39 +04:00
Mikhael Bogdanov b7e12ba524 TEXT->TEST in BytecodeToolWindow for inlining purposes 2014-03-03 15:43:38 +04:00
Mikhael Bogdanov dabacd8cae VirtualFileFinder update to search files without kotlin headers 2014-03-03 15:43:38 +04:00
Mikhael Bogdanov 629a07c748 Removing inlines annotation from properties 2014-03-03 15:43:38 +04:00
Mikhael Bogdanov fb34b0aa52 Eat inner class info for function literals 2014-03-03 15:43:38 +04:00
Mikhael Bogdanov 2874cd203f Don't use direct access to property field in inlined method 2014-03-03 15:43:37 +04:00
Mikhael Bogdanov 4f5b20a8db Test framework for inline 2014-03-03 15:43:35 +04:00
Mikhael Bogdanov 769b07fbc8 Method && Closure Inline 2014-03-03 11:45:42 +04:00
Alexander Udalov 406855467c Revert temporary type adjustments on builtins
These were made during migration of builtins from package "jet" to "kotlin"
2014-03-02 21:38:57 +04:00
Alexander Udalov afc3d33576 Revert "Suppress "nothing to override" on equals, hashCode, toString"
This reverts commit 640dac834f.
2014-03-02 21:38:25 +04:00
Alexander Udalov bd80e325b3 Revert "Add a temporary hack for migration "jet" -> "kotlin""
This reverts commit fb12c56d1a.
2014-03-02 21:37:28 +04:00
Alexander Udalov e2f1e8a9c3 Revert "Rename "import jet.*" to "import kotlin.*" on ant dist"
This reverts commit 4a5823c5bb.
2014-03-02 21:35:01 +04:00
Alexander Udalov d04ee09636 Rename "import jet" to "import kotlin" in Java sources 2014-03-02 21:33:22 +04:00
Alexander Udalov 6eae950812 Increase ABI version after renaming "jet"->"kotlin" 2014-03-02 19:55:29 +04:00
Alexander Udalov cfe3619db7 Introduce KotlinSyntheticClass annotation
Will be used instead of KotlinPackagePart, KotlinTraitImpl and other
hypothetical annotations we were planning to write on our synthesized classes
(lambdas, local functions, etc.)
2014-03-02 19:55:29 +04:00
Alexander Udalov 8762a02844 Add/update copyrights in built-ins sources 2014-03-02 19:55:29 +04:00
Alexander Udalov 787b4753c7 Copy KotlinSignature to package "kotlin.jvm"
Support both KotlinSignature classes in the compiler and in the IDEA plugin.
The old one will be deprecated later and dropped eventually
2014-03-02 19:55:28 +04:00
Alexander Udalov 33a9f3abd1 Move all annotation FQ names to JvmAnnotationNames
Delete reflected usages of annotation classes (JetValueParameter.class,
KotlinSignature.class, etc.). It's wrong: this is a dependency on the old
runtime, whereas the compiler should work with the new one
2014-03-02 19:55:28 +04:00
Alexander Udalov a6a31878a7 Delete Annotations.kt, move "annotationType" to JVM stdlib 2014-03-02 19:55:28 +04:00
Alexander Udalov f63cbcfd6a Delete wrong toString() extension, fix StringJVMTest 2014-03-02 19:55:28 +04:00
Alexander Udalov d5e2c4ad4c Generate built-in sources of arrays
Extract Array class into a separate file, move arrayOfNulls to Library.kt, fix
formatting and generate Arrays.kt
2014-03-02 19:55:27 +04:00
Alexander Udalov 6e23af2ba3 Split Library.kt into several files
For better readbility and discoverability. Also rename String.compareTo
parameter to "other", since that is the name of parameter of other compareTo's
2014-03-02 19:55:27 +04:00
Alexander Udalov 154f2c0a13 JS: update mangled names after moving built-ins from "jet" to "kotlin" 2014-03-02 19:55:27 +04:00
Alexander Udalov f7b6457139 Replace "jet" package name with "kotlin" in testData 2014-03-02 19:55:26 +04:00
Alexander Udalov f2b4c7fa3e Fix LoadBuiltinsTest after renaming "jet" to "kotlin" 2014-03-02 19:55:25 +04:00
Alexander Udalov b3a9721571 Store receiver parameter in JVM intrinsics map
To differentiate between "String?.plus" extension in builtins and
"Iterable<*>.plus" extension in stdlib (they have the same owner, name and
value parameter count)
2014-03-02 19:55:25 +04:00
Alexander Udalov 9bf51f630d Refactor JVM IntrinsicMethods
Don't do unnecessary wraps to Name.identifier
2014-03-02 19:55:25 +04:00
Alexander Udalov 6dca53347f Delete obsolete JVM intrinsics for ranges/progressions
All Range and Progression classes are now fully written in Kotlin and thus do
not need any intrinsics to operate
2014-03-02 19:55:25 +04:00
Alexander Udalov 11cc7f46f4 Remove "Iterator.iterator()" intrinsic, add stdlib function 2014-03-02 19:55:24 +04:00
Alexander Udalov 4a5823c5bb Rename "import jet.*" to "import kotlin.*" on ant dist
Yet another hack for moving built-ins from package "jet" to "kotlin"
2014-03-02 19:55:24 +04:00
Alexander Udalov d9029917eb Move built-ins from package "jet" to "kotlin"
#KT-2896 Fixed
2014-03-02 19:55:20 +04:00
Alexander Udalov 6b0fce8cd5 Unsorted replacements "jet" -> "kotlin"
#KT-2896 Fixed
2014-03-02 19:55:15 +04:00
Alexander Udalov ac71911720 Get rid of "jet" in comments, assertions, READMEs, etc.
Replace with "kotlin"

 #KT-2896 Fixed
2014-03-02 19:55:11 +04:00