Commit Graph

1746 Commits

Author SHA1 Message Date
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
Ilya Gorbunov 15d69499d0 Stop matching after the end of the input sequence was reached.
#KT-8763 Fixed
2015-08-11 05:11:32 +03: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
Mikhail Glukhikh bd3b5690a2 Standard annotations: must be documented 2015-08-05 18:32:12 +03:00
Sergey Mashkov 0e25a5ea82 JS: arrayToString should use toString() instead of direct join to handle nulls properly
#KT-8663 Fixed
2015-07-31 14:28:30 +03:00
Ilya Gorbunov 81cbbad1e5 Add test comparing behavior of a reversed list and a reversed view on a list. 2015-07-31 14:28:29 +03:00
Sergey Mashkov 8a0c752f99 KT-4844 Support asReversed() for lists 2015-07-31 14:28:29 +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
Dmitry Jemerov 38151d4932 remove ReadMe.md with outdated information 2015-07-28 11:12:16 +02: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 34afb450d8 List binarySearch and binarySearchBy methods and tests.
#KT-5444 Fixed
#KT-8217 Fixed
2015-07-24 04:34:56 +03:00
Ilya Gorbunov 3a7f6d7db0 Add inlineable compareValuesBy for single selector. 2015-07-24 04:34:44 +03:00
Ilya Gorbunov d831509cee Provide listOfNotNull method. 2015-07-24 04:34:31 +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 f57c207ed2 Introduce NotImplementedError instead of UnsupportedOperationException to throw from TODO function.
#KT-8153
2015-07-24 04:32:52 +03:00
Ilya Gorbunov f2716a973c TODO as a function. Add an overload with a string reason.
#KT-8153 Fixed
2015-07-24 04:30:10 +03:00
Ilya Gorbunov bfb116c0b2 Provide TODO as a substitution for not yet implemented method body.
#KT-8153
2015-07-24 04:29:31 +03:00
Ilya Gorbunov da3ec891d0 Provide unzip method for Iterables, Arrays and Sequences of pairs.
#KT-5793 Fixed
2015-07-24 04:28:57 +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 8892192e9c Generate openRange tests for compiler.
#KT-4665
2015-07-24 04:13:53 +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
Dmitry Jemerov 0ff0fc847d delete the rest of KDoc 2015-07-23 19:00:46 +02:00
Mikhail Glukhikh c3c02e49c9 Retention for 'kotlin.throws' 2015-07-22 18:58:21 +03:00