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
Alexander Udalov
410b7985e1
Replace "jet" with KotlinBuiltIns.FQ_NAME
...
#KT-2896 Fixed
2014-03-02 19:54:59 +04:00
Alexander Udalov
0490d4c989
Rewrite ProgressionUtil to Kotlin, move to "kotlin.internal"
...
Use reflection in ProgressionUtilTest instead of calling methods on the class
from the class path, because in the latter case we were just testing
ProgressionUtil from bootstrap runtime (which, presumably, always works
correctly since it's a bootstrap distribution)
With this change, compilable built-ins (under core/builtins/src) are fully
written in Kotlin
2014-03-02 19:54:59 +04:00
Alexander Udalov
4afdac3efa
Move and rename exception classes in module 'runtime.jvm'
2014-03-02 19:54:59 +04:00
Alexander Udalov
aef0fabd53
Move jet.Kotlin* annotations to package "kotlin.jvm.internal"
...
Also rename poorly named KotlinPackageFragment -> KotlinPackagePart
2014-03-02 19:54:58 +04:00
Alexander Udalov
0da92e22a2
Move jet.JetObject -> kotlin.jvm.internal.KObject
...
Don't use JetObject as a marker class in KotlinRuntimeLibraryUtil anymore,
since there are other classes for this purpose (KotlinPackage, Unit)
2014-03-02 19:54:58 +04:00
Alexander Udalov
d8066c8d56
Delete unused DefaultJetObject
2014-03-02 19:54:58 +04:00
Alexander Udalov
19acc8c6c4
Move jet.runtime.ArrayIterator to package "kotlin.jvm.internal"
2014-03-02 19:54:57 +04:00
Alexander Udalov
9d9d73268a
Move and rename jet.runtime.SharedVar -> kotlin.jvm.internal.Ref
2014-03-02 19:54:57 +04:00
Alexander Udalov
3b1a043c13
Move JVM Intrinsics class to package "kotlin.jvm.internal"
...
Delete unused intrinsics, reformat code, rename some declarations for better
readability
2014-03-02 19:54:57 +04:00
Alexander Udalov
22ef81b0f8
Move CollectionToArray from package "jet" to "kotlin"
2014-03-02 19:54:56 +04:00
Alexander Udalov
5d6d4406cb
Move FunctionImpl classes from package "jet" to "kotlin"
2014-03-02 19:54:56 +04:00
Alexander Udalov
18a50fd8e7
Rewrite JetPsiChecker test to fixture
2014-03-02 19:54:56 +04:00
Alexander Udalov
6acce0f930
Move jet.runtime.Intrinsic to kotlin.jvm.internal.Intrinsic
2014-03-02 19:54:56 +04:00
Alexander Udalov
b68e47f705
Move JVM-specific annotations out of built-ins
...
Move 'volatile' and 'synchronized' to package 'kotlin' in stdlib. Also delete
'atomic', since its support was never implemented
2014-03-02 19:54:55 +04:00
Alexander Udalov
b2d074c5cc
Quickfix to add 'override' to equals, hashCode, toString in project
...
To help users migrate to the newest Kotlin version in two clicks
2014-03-02 19:54:55 +04:00
Alexander Udalov
774e5f0535
Sort out JVM intrinsics for equals, hashCode, toString
2014-03-02 19:54:55 +04:00
Alexander Udalov
3dcd85bdb4
Add toString() to Any, fix all tests
...
#KT-4517 Fixed
2014-03-02 19:54:49 +04:00
Zalim Bashorov
6127d53eac
JS backend: fixed an equals behavior after it became a member of jet.Any.
2014-03-02 19:54:48 +04:00
Alexander Udalov
b8ec50f38c
Handle fake overrides of members of Any in BuiltInsReferenceResolver
2014-03-02 19:54:48 +04:00
Alexander Udalov
83d2436fb9
Don't produce trailing spaces in GenerateOperationsMap
2014-03-02 19:54:48 +04:00
Alexander Udalov
c3e5b4bed2
Fix function receiver type in GenerateOperationsMap
...
It was wrong for fake overrides of equals and hashCode. Also operations map was
regenerated after removal of Hashable and moving its members to Any
2014-03-02 19:54:48 +04:00
Alexander Udalov
ec30d52978
Delete Hashable, pull up its members to Any
...
Extensions on nullable types remain in Library.kt
#KT-1741 Obsolete
#KT-2805 Obsolete
#KT-1365 Fixed
#KT-4517 In Progress
2014-03-02 19:54:08 +04:00
Alexander Udalov
9efdd136ba
Delete jet.runtime.Ranges intrinsics
...
All these "rangeTo" methods were pretty small and could be generated just right
into "rangeTo" function calls
2014-02-28 21:48:32 +04:00
Alexander Udalov
9537b68724
Load 'equals' parameter from Java code with the name 'other'
...
This fixes a lot of warnings on mixed Kotlin+Java code about different names
for the same parameter because we always loaded 'equals' parameter with the
name 'p0', whereas in Kotlin we usually name it 'other'
2014-02-28 21:48:29 +04:00
Alexander Udalov
004c289a0b
Use kotlin.modules.* instead of jet.modules.*
2014-02-28 21:48:25 +04:00
Nikolay Krasko
c34e5f3f39
Change since to 134.1342 because of API changes and extend until
2014-02-28 18:23:31 +04:00
Andrey Breslav
53d5cc168b
Merge pull request #396 from JetBrains/rr/ik-test-fix
...
test fix
2014-02-28 16:51:06 +03:00
Ilya Klyuchnikov
68da8bcf6b
test fix
2014-02-28 16:24:19 +04:00
Nikolay Krasko
3228630ec5
Update to Idea EAP 134.1342
2014-02-28 15:48:08 +04:00
Andrey Breslav
b0e62315fd
Merge pull request #394 from ilya-klyuchnikov/spelling
...
typo fixed: invokation -> invocation
2014-02-28 14:13:15 +03:00
Ilya Klyuchnikov
0be6e57efe
typo fixed: invokation -> invocation
2014-02-28 14:25:10 +04:00
Alexey Sedunov
6755abefb7
Reuse getQualifiedElement() function
2014-02-27 17:00:43 +04:00
Alexey Sedunov
b9be11263f
Remove unused method
2014-02-27 17:00:41 +04:00
Alexey Sedunov
0520306b94
Add tests for Java "Move File" refactoring
2014-02-27 17:00:39 +04:00
Alexey Sedunov
33cbc099ab
Add tests for Java "Move Inner Class/To Inner Class" refactoring
2014-02-27 17:00:37 +04:00
Alexey Sedunov
7d3b21130a
Add tests for Java "Move class/package" refactoring
...
#KT-3626 Fixed
2014-02-27 17:00:35 +04:00
Alexey Sedunov
5ba49fbada
Avoid conflicts when moving members wiith package-local visibility
...
Add tests for Java "Move members" refactoring
#KT-4459 Fixed
2014-02-27 17:00:33 +04:00
Alexey Sedunov
d7aa8e7fc8
Testing framework for Move refactoring
2014-02-27 17:00:31 +04:00
Alexey Sedunov
d439de4330
Implement rebinding of simple name references
2014-02-27 17:00:29 +04:00
Alexey Sedunov
86619f5f28
Shorten references: Group elements by file before applying transformation
2014-02-27 17:00:27 +04:00
Alexey Sedunov
d2e6aa2aa5
Allow to shorten class member references
2014-02-27 17:00:24 +04:00
Andrey Breslav
f244cb05eb
Expose lazy scopes to enable calling forceResolveAllContents()
2014-02-27 12:22:19 +04:00
Andrey Breslav
ac8b12baf1
Do not weakly retain caches whose computation has side-effects
...
Lazy scopes write REFERENCE_TARGET to trace as a side-effect, when weak caches are cleared, resolution may be repeated, and a rewrite error happens
2014-02-27 12:22:19 +04:00
Alexander Udalov
4b50262ed6
Regenerate tests
2014-02-26 21:23:42 +04:00
Alexander Udalov
8425f2e668
Copy type parameters for JVM function accessors
...
Otherwise generic signature wasn't correctly written to accessors, resulting in
classfiles not being valid and javac failing to compile Java sources against
them
2014-02-26 21:22:57 +04:00
Andrey Breslav
fbdba0f48d
Test data fixed
2014-02-26 20:48:45 +04:00
Andrey Breslav
a7135fee06
Report CLASS_OBJECT_NOT_ALLOWED for local classes
2014-02-26 19:42:05 +04:00
Svetlana Isakova
71bbc62414
Merge pull request #388 from dezgeg/fix-jump-across-function-boundary
...
KT-4334: Disallow break or continue across a function boundary
2014-02-26 13:28:36 +03:00