Alexander Udalov
738a84e259
Temporary hack to migrate functions to package kotlin.jvm.functions
...
Add a file in package 'kotlin.jvm.functions' to the project and replace
explicit imports of functions 'kotlin.Function{n}' to two imports 'kotlin.*'
and 'kotlin.jvm.functions.*', so that the codebase can be compiled both by the
old and by the new compiler
2015-05-26 15:04:34 +03:00
Michael Nedzelsky
7a01ba7d7a
JS: add jsProtoBufUtil
2015-05-26 05:04:04 +03:00
Michael Nedzelsky
06af6bbd82
JS: KotlinJavascriptSerializationUtil, KotlinJavascriptSerializedResourcePaths: add some useful functions
2015-05-26 05:03:14 +03:00
Ilya Gorbunov
1cf4a407d1
JS: Provide MIN_VALUE and MAX_VALUE member constants for Double and Float companion objects.
...
JVM: Make MIN_VALUE and MAX_VALUE not an extension but member constant properties of Double and Float companion objects.
2015-05-26 00:26:19 +03:00
Alexey Tsvetkov
bd934bc3c4
Minor in JS: fixed typo in file name (abstarct->abstract)
2015-05-25 20:20:26 +03:00
Alexey Tsvetkov
fc1a1f742b
JS test: added multi-module inline tests
2015-05-25 20:20:25 +03:00
Alexey Tsvetkov
115798f584
JS test: check directives in MultipleModulesTranslationTest
2015-05-25 20:20:25 +03:00
Alexey Tsvetkov
f214c4eac7
JS test: use common dependencies.txt for MultipleModulesTranslationTest
2015-05-25 20:20:25 +03:00
Alexey Tsvetkov
b2238c0ebf
JS: search inline function in .js file corresponding to module's
...
.meta.js
2015-05-25 20:20:25 +03:00
Sergey Mashkov
fe26bd22f0
JS stubs: add URL specification
2015-05-25 14:55:47 +03:00
Pavel V. Talanov
e4c242e66b
Remove direct usages of ModuleDescriptor#getPackageFragmentProvider()
2015-05-25 13:00:16 +03:00
Sergey Mashkov
07a3233569
JS stubs: add CSSOM view specification and GEOMETRY spec
2015-05-25 12:36:42 +03:00
Ilya Gorbunov
4fd1b46e91
Refactor JS tests: unified package name, test JS specific map implementations only in JS.
...
Add required files to build StdLibTestToJSTest.
Remove tests StdLibMapJsTest and StdLibSetJsTest because they are tested elsewhere.
2015-05-24 05:07:01 +03:00
Ilya Gorbunov
4d3855a8fb
Implement missing members for sets, maps and entry of map.
...
hashCode and toString for PrimitiveHashMap, hashCode for PrimitiveHashSet.
2015-05-24 05:06:24 +03:00
Ilya Gorbunov
df6d4dc73f
Implement some of missing AbstractList methods.
...
Make ListIterator to implement kotlin.ListIterator interface.
Add TODOs and UnsupportedOperationExceptions for members left to implement.
2015-05-24 05:04:06 +03:00
Ilya Gorbunov
ebe578dbc5
Tests to ensure the behavior of the specialized empty List, Set, Map implementations is same as of non-specialized ones.
2015-05-24 05:03:46 +03:00
Ilya Gorbunov
edc471c8ec
Optimize the implementation of emptyList, emptySet and emptyMap and make them serializable.
...
Specialized implementations of singleton List, Set and Map are used in JVM.
#KT-6682 Fixed
#KT-7104 Fixed
#KT-4840 Fixed
2015-05-24 05:03:36 +03:00
Ilya Gorbunov
6516c74a1a
Revert back 2nd stage of split semantics change and restore deprecated String.split(String).
2015-05-21 23:13:16 +03:00
Michael Bogdanov
ef4981b0ef
Report error on indirect inline cycles
2015-05-21 10:06:02 +03:00
Michael Nedzelsky
bfc641caba
JS: fix tests for -meta-info
2015-05-21 02:30:57 +03:00
Michael Nedzelsky
d629271510
JS: make -meta-info cli option boolean
2015-05-21 02:30:54 +03:00
Pavel V. Talanov
cfdb1f4ec3
Refactor creation of ModuleDescriptor
...
Add storageManager to ModuleDescriptorImpl (to be used later)
Extract ModuleParameters to hold default imports and platform class map
Introduce MutableModuleContext to simplify module creation code
2015-05-20 19:45:50 +03:00
Sergey Mashkov
4695aed993
Replace trait with interfaces in JavaScript stubs
2015-05-20 14:01:03 +03:00
Alexander Udalov
bc2398cf40
JS: disable test on inheritance from function types
...
This is not yet fully supported but this test is an obstacle for the function
type refactoring
#KT-7692 Open
2015-05-19 18:46:59 +03:00
Alexander Udalov
7a1b3bfbed
JS: serialize/deserialize type annotations similarly to JVM
...
No new tests added because there are some on extension functions, which soon
will depend on type annotations to be preserved to work correctly
2015-05-19 18:46:58 +03:00
Mikhail Glukhikh
1389b62fa4
Enum entry delimiters / super constructors: a few remaining warnings removed
2015-05-19 17:07:47 +03:00
Mikhail Glukhikh
fdf0ea5546
Enum warnings fixed: deprecated delimiters, short super constructors, both in project and in libraries
2015-05-18 16:08:16 +03:00
Pavel V. Talanov
268d43d14a
Change ModuleContext#module type to ModuleDescriptor instead of ModuleDescriptorImpl
2015-05-17 18:24:50 +03:00
Pavel V. Talanov
01efbb1502
Introduce ModuleContext, ProjectContext and use it some of the APIs
2015-05-17 18:24:49 +03:00
Pavel V. Talanov
9d22a39924
Refactor: TopDownAnalysisParameters -> TopDownAnalysisMode
...
No longer implements TypeLazinessToken (was unused)
2015-05-17 18:24:49 +03:00
Pavel V. Talanov
d9c70b5927
Drop TopDownAnalysisParameters#isAnalyzingBootstrapLibrary()
2015-05-17 18:24:48 +03:00
Pavel V. Talanov
f9b6c25498
Refactor: TopDownAnalysisParameters doesn't implement GlobalContext
2015-05-17 18:24:47 +03:00
Ilya Gorbunov
f18b9caa8d
JS: Provide MIN_VALUE and MAX_VALUE member constants for Int, Long, Short and Byte companion objects.
...
JVM: Make MIN_VALUE and MAX_VALUE not an extension but member constant properties of Int, Long, Short and Byte companion objects.
2015-05-17 17:26:25 +03:00
Mikhail Glukhikh
cf741cb868
Enum parsing changed: first entries, then members. Grammar fixed accordingly.
...
A set of compiler tests and some plugin tests changed accordingly.
Compiler Kotlin code changed accordingly.
2015-05-15 16:13:27 +03:00
Sergey Mashkov
425efa3ae1
JS IDL2K move Event, EventListener and EventTarget to org.w3c.events
2015-05-14 14:19:08 +03:00
Sergey Mashkov
e9c2b33d2d
JS IDL2K use Any? type for "any" but callback functions return types that returns dynamic instead of Any?
2015-05-14 09:17:01 +03:00
Sergey Mashkov
42f1f9df03
JS Union type members should have inherit corresponding marker interface
2015-05-14 09:17:00 +03:00
Sergey Mashkov
002b26e4ed
JS IDL2K spaces in functional types
2015-05-14 09:16:59 +03:00
Sergey Mashkov
7033b27ea8
JS Changes according to review
2015-05-14 09:16:58 +03:00
Sergey Mashkov
e3ae12ed62
JS Fix build failure due to missing splitWithRegex
2015-05-14 09:16:57 +03:00
Sergey Mashkov
0ce1edd417
JS IDL2K better callbacks support + bugfixes according to review
2015-05-14 09:16:57 +03:00
Sergey Mashkov
a11e0a84b5
JS tests for addClass, removeClass, removeFromParent
2015-05-14 09:16:56 +03:00
Sergey Mashkov
bcbfa3c240
JS CSS style declarations
2015-05-14 09:16:56 +03:00
Sergey Mashkov
d24bdf5ad0
JS Introduce SVG DOM support
2015-05-14 09:16:55 +03:00
Sergey Mashkov
6366f966b7
JS Introduce typed arrays
2015-05-14 09:16:54 +03:00
Sergey Mashkov
a6bed4f623
JS Fix marker interface filtering
2015-05-14 09:16:54 +03:00
Sergey Mashkov
2e687fde6b
JS Generate DOM stubs from IDLs
2015-05-14 09:16:53 +03:00
Sergey Mashkov
6e09100877
JS IDL2K refactoring according to review discussion
2015-05-14 09:16:51 +03:00
Sergey Mashkov
4ee780ef07
JS move document/window/storage to kotlin.browser
2015-05-14 09:16:51 +03:00
Sergey Mashkov
33c1d5d2cf
JS fix tests failed due to api change
2015-05-14 09:16:50 +03:00