Commit Graph

783 Commits

Author SHA1 Message Date
Ilya Gorbunov faa26cdb25 Introduce operations on Arrays returning Arrays: reversedArray, sortedArray.
#KT-8711
2015-09-02 20:22:27 +03:00
Ilya Gorbunov 89df3925fa Unify operations on Array<T> and Array<out T> (copyOf, copyOfRange) which return the same type as the receiver. 2015-09-02 20:21:20 +03:00
Yan Zhulanow acbc39bf9f Minor: move kapt-related stuff to AnnotationProcessingManager 2015-09-02 15:53:15 +03:00
Yan Zhulanow b044e4be07 Minor: remove code duplication 2015-09-02 15:53:15 +03:00
Yan Zhulanow 39d7e98775 kapt: Support Kotlin code generation 2015-09-02 15:53:14 +03:00
Yan Zhulanow edb35ae6ce kapt: Fix sequential builds (KT-8733) 2015-09-02 15:53:14 +03:00
Ilya Gorbunov 84d3d42e05 Replace deprecated reverse method usages. 2015-08-27 11:45:44 +03:00
Ilya Gorbunov ca798d8d71 Rename reverse to reversed.
#KT-8171
2015-08-27 11:45:30 +03:00
Ilya Gorbunov 5a474adf59 Unify selector parameter names. 2015-08-27 00:09:57 +03:00
Ilya Gorbunov 521e0b679d Rename sortedDescendingBy to sortedByDescending 2015-08-27 00:08:50 +03:00
Ilya Gorbunov 6f71e54268 In-place array sorting in JS. 2015-08-27 00:07:56 +03:00
Ilya Gorbunov 8d481fc611 Deprecate all sort methods and provide sorted ones.
#KT-4903
2015-08-27 00:07:43 +03:00
Michael Nedzelsky f42a589ddc enable testKotlinOnlyDaemonMemory 2015-08-19 09:02:07 +03:00
Sergey Mashkov 77a8eddb2a Selenium tests module pom.xml: module shouldn't depend to kotlin-js-library as it makes IDEA
detect it as a JavaScript module
2015-08-14 18:51:52 +03:00
Sergey Mashkov 3a323d562d Selenium longer per-test timeout 2015-08-14 18:51:50 +03:00
ligee d75bece6d0 Minor: moving a pom autogenerated by maven shade plugin to ignored targets dir 2015-08-12 17:03:09 +02:00
ligee 0c84648b6a Minor: style fixes after review 2015-08-11 17:22:50 +02:00
ligee 961905a8da Disabling gradle daemon test as unsafe, adding gradle wrapper 2.4, fixing maven build test
(cherry picked after edit from commit 703d71d)
2015-08-11 13:19:03 +02:00
ligee 43aaacaa06 Fixing source build script search, attempt to fix KT-8705
(cherry picked from commit 89c5885)
2015-08-11 13:18:19 +02:00
ligee 05e8a080a9 Refactoring test base class to support gradle options and daemon stopping, implementing daemon build test with memory check
(cherry picked from commit a28ce9e)
2015-08-11 13:17:28 +02:00
ligee 97bc3005f4 Some more minor fixes after review
(cherry picked from commit 1ffdeff)
2015-08-11 13:16:08 +02:00
ligee c2c1fb2d0a moving embeddable compiler jar creation to libraries/maven, using maven-shade-plugin instead of jarjar; configuring more relocations of 3-party libs
(cherry picked from commit c905770)
2015-08-11 13:16:07 +02:00
ligee 5b9094301c Fixing minor issues after review
(cherry picked from commit 928769e)
2015-08-11 13:16:07 +02:00
ligee 0a9f98545b Dropping custom classloading again, now without creating a transparent one, restoring cleanup for gradle <2.4 to minimize leaks under daemon, adding diagnostics
(cherry picked from commit a3b7be4)
2015-08-11 13:16:00 +02:00
ligee 3b322520bd Using isolated classloader again, but as a singleton; regular compiler jar instead of embeddable; more logging
(cherry picked from commit 6801d8a)
2015-08-11 13:15:24 +02:00
ligee ee73373441 Implementing simple classloading for plugin core, since embeddable compiler allows it 2015-08-11 13:15:23 +02:00
ligee d08570b8a8 Adding new target - embeddable compiler (after jarjar), using it in the gradle plugin
(cherry picked from commit bf4b26f)
2015-08-11 13:15:23 +02:00
Zalim Bashorov bfa44af76b Make SeleniumQUnit more robust by using per test timeout instead of per all tests. 2015-08-10 17:57:53 +03:00
Sergey Mashkov 8353b4d3e8 Maven: integration test should remove escape sequences from build log 2015-07-30 19:20:30 +03:00
Alexander Udalov 9991d45a15 Fix maven plugin test, properties -> memberProperties 2015-07-30 15:19:43 +03:00
Sergey Mashkov 16ec066437 Maven: integration test should aomit downloading/downloaded messages even if they are printed with no log level 2015-07-28 18:24:21 +03:00
Sergey Mashkov 8b358558c9 Maven: integration test should escape compiler version 2015-07-28 18:04:00 +03:00
Sergey Mashkov 3c3e1a0a52 Maven: eliminate warning classpath entry doesn't exist. Fix integration test 2015-07-28 17:46:15 +03:00
Sergey Mashkov 82165d2a93 Maven: Introduce test for plugin output
Use mvn integration-test to run tests
2015-07-28 13:37:33 +03:00
Sergey Mashkov 015ac0cd5b Maven: take logger every time
The root cause of problem is that we take logger at too early stage so there is initial bootstrap maven logger that is replaced by plexus container via injector at later initialization stage. We have to use injected logger rather than initial bootstrap logger. At the same time there is no actual performance advantage to have LOG field because of JIT inliner will inline getLog() body anyway.

#KT-8630 Fixed
2015-07-28 13:37:23 +03:00
Ilya Gorbunov 2f1c8a3dfa Remove special case of generation for numeric and toPrimitiveArrays. 2015-07-27 19:02:49 +03:00
Ilya Gorbunov dd71cbb96e Accept more generic ranges in contains. 2015-07-27 19:02:47 +03:00
Ilya Gorbunov e127e234f8 Stdlib Generators: add generic ranges, allow specify concrete primitive for generic, render types in receiver. 2015-07-27 19:02:45 +03:00
Ilya Gorbunov 065945176e Use bare types in check and remove unneeded cast after.
Do not check whether a sequence is actually a collection or list.
2015-07-24 04:35:45 +03:00
Ilya Gorbunov e799c92131 Accept more generic range for coerceIn. 2015-07-24 04:35:33 +03:00
Ilya Gorbunov 877cb72ba1 Array.copyOfRange: rename from, to to fromIndex, toIndex 2015-07-24 04:35:21 +03:00
Ilya Gorbunov aeb7666578 Provide binarySearch with comparator for arrays. 2015-07-24 04:35:08 +03:00
Ilya Gorbunov 46858ddabd Allow to specify optional from and to indices for filling an array.
#KT-8382 Fixed
2015-07-24 04:34:19 +03:00
Ilya Gorbunov c1975d0b2e Array.fill returns Unit since it's an in-place array operation.
Revised #KT-4760
2015-07-24 04:34:07 +03:00
Ilya Gorbunov 12e3542bce Provide toTypedArray method for primitive arrays. 2015-07-24 04:33:55 +03:00
Ilya Gorbunov f604eef2fe Undeprecate find(predicate) and generate it for all collection-like types. Provide findLast(predicate).
Drop deprecated method findNot and extension properties first, last, head, tail
#KT-5185 Fixed
2015-07-24 04:28:46 +03:00
Ilya Gorbunov 1cc94f92e2 Also generate contains for meaningless combinations of types to prevent mistakenly using contains from an Iterable.
#KT-6361
2015-07-24 04:28:34 +03:00
Ilya Gorbunov b7fbb60db4 Generate contains function for all combinations of primitive numeric ranges and arguments.
#KT-6361
2015-07-24 04:14:06 +03:00
Ilya Gorbunov 71f3e3049a Provide until function to construct integer ranges with an end being excluded from range.
#KT-4665 Fixed
2015-07-24 04:13:41 +03:00
Ilya Gorbunov 808170a84b Generate range downTos with templates DSL 2015-07-24 04:13:29 +03:00