Yan Zhulanow
937d1913b8
Automatically put 'operator' modifier on appropriate Java methods
2015-10-08 18:31:07 +03:00
Sergey Mashkov
2a0c1a997e
IDL2K: support for operator modifier
2015-10-08 14:16:48 +03:00
Ilya Gorbunov
352ac58ba5
Fix testData/js: replace deprecated usages: times, sortBy, reverse, splitBy.
2015-10-07 22:36:48 +03:00
Ilya Gorbunov
90e5ee8a7e
Replace KotlinPackage legacy facade with corresponding package parts.
2015-10-07 22:36:29 +03:00
Ilya Gorbunov
80e4ba8712
Replace splitBy with split
2015-10-07 22:36:27 +03:00
Ilya Gorbunov
25df3aac11
Replace parent with parentFile, relativePath with relativeTo
2015-10-07 22:36:25 +03:00
Ilya Gorbunov
3106458cc4
Replace assert with lazy assert, times with repeat.
2015-10-07 22:36:23 +03:00
Ilya Gorbunov
ec416c5210
Replace identityEqulas with ===
2015-10-07 22:36:20 +03:00
Ilya Gorbunov
37a0347669
Replace sort with sorted.
2015-10-07 22:36:16 +03:00
Mikhail Glukhikh
cba6870f52
protected & internal are now forbidden in interfaces
2015-10-07 11:57:14 +03:00
Mikhail Glukhikh
67755d7dca
Protected / final are deprecated in interfaces: scopes and call translator
2015-10-07 11:49:45 +03:00
Denis Zharkov
252c82abe3
Generate bridges for FAKE_OVERRIDE properties
...
The same way it's done for function, just call generateBridges for accessors
#KT-9442 Fixed
2015-10-07 08:46:34 +03:00
Denis Zharkov
a0e9754edc
Adjust js collections to size transformation
2015-10-07 08:46:33 +03:00
Denis Zharkov
61416b3d14
Adjust stdlib to size transformation
2015-10-07 08:46:27 +03:00
Dmitry Jemerov
c5d3673b6b
change the ID of the language from "jet" to "kotlin"; rename JetLanguage to KotlinLanguage
2015-10-06 16:14:07 +02:00
Alexander Udalov
659826d5c3
Update reservedWords JS tests after changes to callable references
2015-10-03 04:37:05 +03:00
Alexander Udalov
661f4efc68
Forbid callable references to members and extensions with empty LHS
...
This syntax is reserved to be likely used in the future as a shorthand for
"this::foo" where the resulting expression doesn't take the receiver as a
parameter but has "this" already bound to it
2015-10-03 04:37:04 +03:00
Alexander Udalov
8c0a86617a
Write JVM signatures to new protobuf messages
2015-10-03 00:59:33 +03:00
Alexander Udalov
4f21caecc4
Simplify AnnotationAndConstantLoader, use NameResolver from ProtoContainer
2015-10-03 00:59:32 +03:00
Alexander Udalov
e4090d3f30
Cleanup descriptors.proto, regenerate
...
- move enums and messages nested in Callable to top level, since they're likely
to be reused in other messages soon
- delete obsolete comments: some did not any value, some became obsolete with
custom options ("id in StringTable" -> name_id_in_table)
2015-10-02 20:30:55 +03:00
Pavel V. Talanov
76029ee9b2
Introduce JvmBuiltIns and DefaultBuiltIns, different instances of KotlinBuiltIns
...
Make KotlinBuiltIns an abstract class
JsPlatform has DefaultBuiltIns
2015-10-01 17:53:14 +03:00
Pavel V. Talanov
22e3e192ee
ModuleDescriptorImpl: remove KBI as default parameter
2015-10-01 17:53:12 +03:00
Pavel V. Talanov
537134613a
js.translator: Drop usages of KotlinBuiltIns.getInstance()
2015-10-01 17:53:09 +03:00
Pavel V. Talanov
643cb0a5d4
js.frontend: Drop usages of KotlinBuiltIns.getInstance()
2015-10-01 17:53:08 +03:00
Pavel V. Talanov
424d71e964
Remove reference to KotlinBuiltIns from CompanionObjectMapping
...
Make it a class
2015-10-01 17:51:57 +03:00
Alexander Udalov
34d14939f9
Fix build after change in property accessor names
2015-10-01 02:14:25 +03:00
Valentin Kipyatkov
5afa91d4ec
Restored back temporarily renamed properties
2015-09-30 22:50:27 +03:00
Valentin Kipyatkov
98da621ab3
Temporary rename of properties starting with "is" and used from java code (will revert back after changing accessor naming policy)
2015-09-29 18:32:23 +03:00
Alexander Udalov
3b9d90429b
Simplify local class name serialization, don't go through extension
...
Also fix it for the case of a class in a non-default package
2015-09-29 16:26:28 +03:00
Alexander Udalov
542bfab96f
Don't write unnecessary information to ValueParameter proto
...
Flags can have a default value and the index can be trivially computed almost
all the time
2015-09-29 16:26:28 +03:00
Alexander Udalov
da68c4d9ee
Extract interface out of StringTable
...
Rework SerializerExtension interface: don't pass StringTable to each method
every time, create it in each extension's constructor instead and expose to
DescriptorSerializer with an interface method
2015-09-29 16:26:24 +03:00
Zalim Bashorov
8cb87b3e49
private -> internal where it's necessary
2015-09-25 21:16:00 +03:00
Ilya Gorbunov
0c777b87ed
Add JvmMultifileClass to js as internal annotation.
2015-09-25 21:09:43 +03:00
Denis Zharkov
3f6cadf9b7
Change FUNCTION_EXPRESSION_WITH_NAME severity to ERROR
...
Also drop deprecation related parts and get rid of usages of this `feature` within testData
2015-09-25 08:29:26 +03:00
Denis Zharkov
73799e2c3c
Replace deprecated lambda syntax in testData
...
It's done with similar constructions where possible trying to preserve
intended behavior.
Some usages are removed because they test exactly the feature that
we are going to drop soon.
2015-09-25 08:29:25 +03:00
Stanislav Erokhin
cdcf9f30b7
Minor. Fix compilation.
2015-09-24 14:07:51 +03:00
Zalim Bashorov
967c8eae2e
Minor: fix testdata files which were accidentally reformatted
2015-09-23 18:18:08 +03:00
Denis Zharkov
098f5462eb
Drop inlineOptions and fix forgotten usages
2015-09-23 12:18:12 +03:00
Michael Nedzelsky
bcd85aa30d
changes some internal modifiers to public for elements which are used outside their modules
2015-09-23 07:49:17 +03:00
Alexander Udalov
93b5065cf5
Get rid of SerializationUtil, move methods to DescriptorSerializer
2015-09-22 18:22:55 +03:00
Zalim Bashorov
98867addc9
Regenerate tests for JS reserved words
2015-09-22 15:00:38 +02:00
Dmitry Jemerov
4ca434da54
remove support for 'trait' keyword
2015-09-22 15:00:24 +02:00
Mikhail Glukhikh
831df27cac
"field": refactoring, isBackingFieldReference, referencedProperty
2015-09-21 15:48:11 +03:00
Mikhail Glukhikh
a1e3471d92
"field": deprecated warnings introduced, compiler tests migrated to the new syntax
2015-09-21 15:48:00 +03:00
Mikhail Glukhikh
028e0ec59a
"field": JS translation
2015-09-21 15:47:57 +03:00
Ilya Gorbunov
439d1026bf
Fix deprecations in js and java tests.
2015-09-19 05:04:41 +03:00
Ilya Gorbunov
0e3e33e5c1
Fix deprecations in testData: js semantics.
2015-09-19 05:04:05 +03:00
Stanislav Erokhin
fb14979051
Created object java.util.Collections as workaround for js-stdlib.
2015-09-18 21:00:15 +03:00
Denis Zharkov
9dada595b6
Replace deprecated annotations with modifiers in testData
2015-09-18 10:14:41 +03:00
Denis Zharkov
53bccec50d
Capitalize copies of JVM annotations for js stdlib
2015-09-18 10:14:35 +03:00