Commit Graph

293 Commits

Author SHA1 Message Date
Dmitry Jemerov 1523d5bcbf removing static type assertions work in progress 2015-10-12 11:11:23 +02:00
Denis Zharkov 3733d0e84f Adjust stdlib to remove/charAt transformation 2015-10-11 19:59:25 +03:00
Denis Zharkov 61459961fc Adjust stdlib to isEmpty transformation 2015-10-10 12:29:14 +03:00
Denis Zharkov 888f8cc548 Adjust stdlib to contains* transformation 2015-10-09 14:40:34 +03:00
Sergey Mashkov 2a0c1a997e IDL2K: support for operator modifier 2015-10-08 14:16:48 +03:00
Denis Zharkov 61416b3d14 Adjust stdlib to size transformation 2015-10-07 08:46:27 +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 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
Dmitry Jemerov 4ca434da54 remove support for 'trait' keyword 2015-09-22 15:00:24 +02:00
Ilya Gorbunov 439d1026bf Fix deprecations in js and java tests. 2015-09-19 05:04:41 +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 53bccec50d Capitalize copies of JVM annotations for js stdlib 2015-09-18 10:14:35 +03:00
Denis Zharkov 05eaf37123 Get rid of deprecated annotations and modifiers in js-stdlib 2015-09-18 10:14:30 +03:00
Ilya Gorbunov 909cbc6817 Eliminate deprecated language constructions from the generated code. 2015-09-17 02:41:01 +03:00
Alexander Udalov 90cef6553c Delete all references to removed package 'kotlin.modules' 2015-09-15 15:55:19 +03:00
Mikhail Glukhikh b4399b8b8b AnnotationTarget.CLASSIFIER and KotlinTarget.CLASSIFIER both dropped (second step) 2015-09-14 12:51:11 +03:00
Ilya Gorbunov 44f7b6d699 Unit testing API: better mapping on JUnit, proper formatting assertion details when message is not specified
#KT-8929 Fixed
Sensible default message for assertion methods.
#KT-8314 Fixed
Provide assertFailsWith also with KClass and reified type argument.
2015-09-08 10:26:07 +03:00
Mikhail Glukhikh 8f7b29f80a Annotation rename: target --> @Target 2015-09-07 13:42:26 +03:00
Mikhail Glukhikh eab288bdd7 annotation() now has no arguments. Syntax migration to Retention / Repeatable / MustBeDocumented combination
Deprecated test for annotation(params) completion deleted. A lot of tests changed.
2015-09-04 19:21:12 +03:00
Ilya Gorbunov c4b18d8fb8 Special case of slice for int ranges, sliceArray returning array.
#KT-8711
2015-09-02 20:22:38 +03:00
Ilya Gorbunov faa26cdb25 Introduce operations on Arrays returning Arrays: reversedArray, sortedArray.
#KT-8711
2015-09-02 20:22:27 +03:00
Ilya Gorbunov b3073dbd2d Provide lazy implementation with an external object to synchronize on. 2015-09-02 15:49:53 +03:00
Ilya Gorbunov 6f71e54268 In-place array sorting in JS. 2015-08-27 00:07:56 +03:00
Mikhail Glukhikh d6406d8d4a Annotation repetition checking with a pair of tests, some old tests changes 2015-07-28 17:13:32 +03:00
Ilya Gorbunov 877cb72ba1 Array.copyOfRange: rename from, to to fromIndex, toIndex 2015-07-24 04:35:21 +03:00
Ilya Gorbunov 12e3542bce Provide toTypedArray method for primitive arrays. 2015-07-24 04:33:55 +03:00
Ilya Gorbunov b7829d8471 JS: Make js Error to be mapped to kotlin.Throwable, inherit Exception and Error from Throwable. 2015-07-24 04:32:03 +03:00
Mikhail Glukhikh 94a00540be Targeting / retention for a set of standard annotations, some inapplicable annotation checks replaced with target check, some fixed tests 2015-07-21 15:36:53 +03:00
Ilya Gorbunov d89af24d6c Variance of arrays sorted out.
Use concat for array + 1 in JS.
2015-07-17 10:51:22 +03:00
Ilya Gorbunov 7866184eb6 Array.plus — different implementations for JVM and JS.
Array.copyOf, copyOfRange available in JS.
2015-07-17 10:51:09 +03:00
Ilya Gorbunov 5779b89ff0 Deprecations cleanup: sequence -> asSequence 2015-06-29 17:06:33 +03:00
Ilya Gorbunov d20d8e2106 2nd stage of replaceFirst semantics change: remove deprecated String.replaceFirst(String), rename replaceFirstLiteral to replaceFirst. 2015-06-24 21:48:09 +03:00
Ilya Gorbunov 249106647c 2nd stage of split semantics change: remove deprecated String.split(String), rename splitBy back to split. Provide replacement for splitBy and splitWithRegex (JS). 2015-06-24 21:48:07 +03:00
Ilya Gorbunov d04e94c826 Use NoSuchElementException instead of KeyMissingException. Deprecate KeyMissingException. 2015-06-24 21:39:40 +03:00
Sergey Mashkov ab5d8d12ea IDL2K declarations order stability 2015-06-23 17:21:13 +03:00
Sergey Mashkov 0e518e46bb JS and IDL2K: make dictionary builder functions public 2015-06-22 12:57:23 +03:00
Ilya Gorbunov 346ea28337 lazyOf to create already initialized lazy value. 2015-06-19 23:08:17 +03:00
Ilya Gorbunov 536e669023 Provide Lazy<T> in kotlin package — an interface that represents lazily computed value. Read-only properties can be delegated to lazy with the extension getter. Delegates.lazy and blockingLazy are deprecated. 2015-06-19 23:08:09 +03:00
Alexander Udalov 1a3209e1dc Drop traits with required classes
#KT-4771 Rejected
2015-06-17 16:23:58 +03:00
Sergey Mashkov 342f35fb65 IDL2K better dictionary support: generate interfaces with builder function
suppress inline warning, replace Long with Int
2015-06-17 15:26:06 +03:00
Sergey Mashkov 8238883ac4 IDL2K better dictionary support: generate interfaces with builder function 2015-06-17 15:26:06 +03:00
Sergey Mashkov c4d53e1e16 IDL2K introduce required parameters list to avoid possible ambiguous calls 2015-06-17 15:26:06 +03:00
Sergey Mashkov 2cc708c5a9 IDL2K restrict readonly attributes to vals 2015-06-17 15:26:05 +03:00
Sergey Mashkov c0c0f6152a IDL2K avoid unnecessary super() calls in secondary constructors 2015-06-17 15:26:05 +03:00
Sergey Mashkov 1a5e6634e2 JS generate new stubs with latest IDL2K 2015-06-17 15:26:04 +03:00
Sergey Mashkov 5000fe8133 IDL2K Multiple constructors (via secondary constructors when needed) 2015-06-17 15:26:03 +03:00
Sergey Mashkov 4949624a2a Revert IDL2K Multiple constructors (via secondary constructors when needed) 2015-06-15 20:17:23 +03:00
Sergey Mashkov 6d9413f02e IDL2K Multiple constructors (via secondary constructors when needed) 2015-06-15 20:15:36 +03:00