Commit Graph

598 Commits

Author SHA1 Message Date
Ilya Gorbunov 1fc5c39c22 Remove overload of joinToString with 5 parameters and it's usage from java code. 2015-05-15 03:02:48 +03:00
Sergey Mashkov 771af78b06 JS fix gradle example 2015-05-14 23:51:46 +03:00
Sergey Mashkov 13a55ae72e JS use wholeText instead of replaceWholeText() in example 2015-05-14 17:30:34 +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 b34da5713d JS update IDL definitions, append source URL to downloaded file 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 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 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 47cf73d089 JS IDL2K fix bugs regarding union types and unknown types, any and so on
JS IDL2K better support for functional types and callback handlers
2015-05-14 09:16:52 +03:00
Sergey Mashkov 6e09100877 JS IDL2K refactoring according to review discussion 2015-05-14 09:16:51 +03:00
Sergey Mashkov 374dcd56f2 JS better typedefs and union-types support 2015-05-14 09:16:49 +03:00
Sergey Mashkov e487825237 JS deprecate old declarations 2015-05-14 09:16:48 +03:00
Sergey Mashkov e84aa78ac6 JS introduce marker annotation 2015-05-14 09:16:48 +03:00
Sergey Mashkov 53495fa989 JS Implement IDL2K tool and import DOM3 IDLs
JS Introduce required utility functions for DOM3
2015-05-14 09:16:46 +03:00
Ilya Gorbunov f7aa997003 Provide fast path for negative index values in elementAt.
Minor: kdoc wording.
2015-05-12 21:07:24 +03:00
Ilya Gorbunov a5ed5d4269 Generate elementAtOrNull and elementAtOrElse extension methods for iterables, collections, sequences, etc.
#KT-6952 Fixed
2015-05-12 20:08:20 +03:00
Dmitry Jemerov 2a99f757c4 replace 'trait' keyword with 'interface' in library code 2015-05-12 17:07:46 +02:00
Ilya Gorbunov 16d20ff009 Temporary add jvm.overloads annotation for generated joinToString() method.
Stdlib generator: allow to specify arbitrary annotations for all or some of generic function expansions.
2015-05-09 01:11:49 +03:00
Ilya Gorbunov d531d7130f Add an optional parameter to joinToString() and joinTo() functions: lambda function which maps the element to string.
#KT-5468 Fixed
2015-05-09 01:11:47 +03:00
Ilya Gorbunov 18f3018ce7 js.stdlib: js-only tests now included in kotlin-js-tests module. 2015-05-09 01:10:47 +03:00
Yan Zhulanow a1acc60ed3 Update Gradle API and Android Gradle plugin dependency versions in kotlin-android-extensions 2015-05-08 18:19:26 +03:00
Yan Zhulanow 77be78b627 Support Android flavors 2015-05-08 18:19:24 +03:00
Yan Zhulanow 514bc74e9c Support android.support.v4.Fragment classes 2015-05-08 18:19:22 +03:00
Dmitry Jemerov 8574c38998 fix usages of ClassKind.TRAIT in kdoc 2015-04-29 16:50:30 +02:00
Denis Zharkov fa2af69942 Drop obsolete token in KDOC 2015-04-29 14:03:11 +03:00
Natalia Ukhorskaya 4d896b47e7 kotlin-android plugin: check minimal version of android plugin 2015-04-27 16:24:51 +03:00
Natalia Ukhorskaya 88e9439d25 kotlin-android plugin: use VariantDataList instead of list of Variant.
Support junit tests
Fix sourceRoot dependencies for productFlavors
#KT-7065 Fixed
#KT-7506 Fixed
2015-04-27 16:24:51 +03:00
Natalia Ukhorskaya cb85da3162 Gradle: update kotlin-gradle-plugin dependencies 2015-04-27 16:24:50 +03:00
Natalia Ukhorskaya 2bccfa99e1 Gradle: update android test to use gradle 2.3 and android-plugin 1.1.0 2015-04-27 16:24:49 +03:00
Natalia Ukhorskaya 4265994118 Update gradle-api to 2.3 2015-04-27 16:24:49 +03:00
Natalia Ukhorskaya 8ed628cef5 Update README: how to update gradle-api.jar 2015-04-27 16:24:48 +03:00
Natalia Ukhorskaya f0e93d2df5 Gradle: Include java sources to sources, not to classpath
#KT-7503 Fixed
2015-04-27 16:24:47 +03:00
Ilya Gorbunov 7fba979372 Generate to[Primitive]Array() methods for generic arrays and collections.
#KT-4180 Fixed
2015-04-22 18:21:37 +03:00
Ilya Gorbunov d18b086113 Refactor stdlib generator engine.
Introduce special class to hold generic function properties.
2015-04-22 18:21:35 +03:00
Ilya Gorbunov 343edcf8d0 Specify explicitly when to generate platformName annotation. 2015-04-22 18:21:33 +03:00
Ilya Gorbunov 5dacb5a745 Provide average() method for iterables, sequences and arrays.
#KT-3843 Fixed
2015-04-22 18:21:29 +03:00
Ilya Gorbunov f402ae8540 Ensure families and primitives have stable order, so that the code is generated in the same order each time. 2015-04-22 18:21:26 +03:00
Ilya Gorbunov 9759be5493 Generate sum() methods for arrays, iterables and sequences of Byte and Short. These overloads got explicit platformName.
Heuristics to decide when to set platformName.
#KT-3714
2015-04-22 18:21:24 +03:00
Ilya Gorbunov ccc3646bb8 Generate coerceAtLeast, coerceAtMost and coerceIn extension functions for numbers and other Comparables. 2015-04-22 18:20:47 +03:00
Ilya Gorbunov 899a01e8c2 Rename sequence() extension to asSequence() 2015-04-22 17:57:20 +03:00
Ilya Gorbunov 9ed2cb3858 Provide zip() and merge() overloads for primitive arrays with themselves.
Better predicting size of resulting list of plus() operation.
#KT-4968 Fixed
2015-04-22 03:19:30 +03:00
Ilya Gorbunov be11394adf Rename copyToArray() to toTypedArray(). 2015-04-21 21:27:28 +03:00
Ilya Gorbunov 58310d172f Deprecate sequence implementations in favor of sequence operations. 2015-04-21 21:27:24 +03:00
Pavel V. Talanov a21abeba33 Fix kotlin-gradle-plugin to correctly process java source files
Do not remove outdirectory from cp in maven: this is needed for gradle-plugin build to see files compiled by gmaven
    this may cause problems with running mvn install without clean for kotlin
Remove special magic with groovy-output in gradle-plugin pom.xml
2015-04-16 16:40:55 +03:00