14764 Commits

Author SHA1 Message Date
Svetlana Isakova 8b749084b5 library changes after collections mapping 2012-09-05 18:55:16 +04:00
Svetlana Isakova a3194e9a46 removed unnecessary import jet.Iterator 2012-09-05 18:55:16 +04:00
Alexander Fedorov a245861711 skip if sources don't exists 2012-08-28 17:25:42 +04:00
Alexander Udalov d99ffbd120 jet.Annotation
Create a supertype for all Kotlin annotations, jet.Annotation.
Map java.lang.annotation.Annotation to jet.Annotation and vice versa.
Add extension function "annotationType()" to every annotation, similar to java.lang.annotation.Annotation.annotationType()
 #KT-1620 Fixed
2012-08-27 20:44:43 +04:00
Andrey Breslav c0c2ca0ac2 Report errors when iterator() returns a nullable type 2012-08-24 19:49:33 +04:00
Andrey Breslav 66faa0c03a For-loop range expression (collection) can not be null 2012-08-24 19:49:33 +04:00
Svetlana Isakova 4457c7b6ba removed 'private' modifier for local function 2012-08-23 14:55:17 +04:00
Svetlana Isakova ea611cb51d check modifiers for local declarations 2012-08-22 20:42:35 +04:00
James Strachan 1c763dabe2 uncommented test now KT-1718 is fixed 2012-08-17 10:47:29 +01:00
James Strachan 816a2598c6 fixed up the JDBC code to work with the new Iterator API 2012-08-17 10:01:08 +01:00
James Strachan ecbd4daefb avoid unnecessary verbose type parameters now the type inferencer is better 2012-08-17 09:44:52 +01:00
James Strachan a4e80c7d5d disabled failing KDocTest for now 2012-08-17 09:43:58 +01:00
Svetlana Isakova 6625c8987b removed unnecessary reference
to java.util.Iterator
2012-08-16 18:39:24 +04:00
Svetlana Isakova 396588f0c3 added jet.Iterator in import
(KT-2606 to avoid it)
2012-08-16 18:39:23 +04:00
Svetlana Isakova 77ef3d34ab not to generate extensions
to java Iterable/Iterator
2012-08-16 18:39:23 +04:00
Svetlana Isakova 266cd5d4e7 not generate methods for java Iterable/Iterator
in standard library
2012-08-16 18:39:23 +04:00
Svetlana Isakova ca6d7e643e use kotlin Iterable/Iterator
instead of java Iterable/Iterator
in Kotlin code in library
2012-08-16 18:39:23 +04:00
Svetlana Isakova e1281953e7 tests changed
val hasNext -> fun hasNext()
2012-08-16 18:39:23 +04:00
Pavel V. Talanov 358d8fe658 Use packaged js libraries from dist in maven browser-example target. 2012-08-16 15:18:00 +04:00
Pavel V. Talanov 06160d0897 Use packaged js libraries from dist in maven kotlin-js-tests-junit target. 2012-08-16 13:20:08 +04:00
Evgeny Gerashchenko 5d8de8fbd2 KT-2596 Can't use iterator in for-loop
#KT-2596 fixed
2012-08-09 19:14:31 +04:00
Evgeny Gerashchenko 1bc99ef19a KT-2579 Rename Range.minus() to reversed and make it extension
#KT-2579 fixed
2012-08-09 19:14:14 +04:00
Evgeny Gerashchenko 8084876fed Using empty ranges in downTo generator. 2012-08-09 15:13:42 +04:00
Evgeny Gerashchenko 39daa11e13 Fixed maven build. Renamed usages of upto to rangeTo. Excluded DownTo.kt from js lib compilation. 2012-08-08 17:25:43 +04:00
Evgeny Gerashchenko a4031225d0 Changed usages of upto/downto in test to rangeTo and downTo, respectively.
#KT-2519 in progress
2012-08-08 14:48:04 +04:00
Evgeny Gerashchenko 662fdca034 Added generator and generated for downTo() extension functions for numbers.
#KT-2519 in progress
2012-08-08 14:48:04 +04:00
Evgeny Gerashchenko 3dfb510a62 Regenerated JavaScript stubs. 2012-08-08 14:48:03 +04:00
James Strachan 713a2d3bf0 enabled more tests now that KT-2520 is fixed 2012-08-03 09:00:25 +01:00
James Strachan 7400a373b0 made ResultSet.map() lazy by default - to save blowing RAM by always making a List of all results 2012-08-02 12:41:52 +01:00
James Strachan 9a33ca43bb added a test case showing map() in use 2012-08-02 12:21:42 +01:00
James Strachan 7eba9c3896 let Connection.use() return a T 2012-08-02 12:06:08 +01:00
James Strachan 137eee3f45 moved the Map<String,String>.toProperties() helper function into the standard library and added a test case 2012-08-02 11:57:12 +01:00
James Strachan 94cdbb0f08 refactored tests to use the neater annotation based test functions 2012-08-02 11:45:54 +01:00
James Strachan 1a35061693 Merge pull request #116 from cy6erGn0m/3cf1fd5377f4cf6c719c93f513bbd2b96a1213b3
kotlin-jdbc: Additional extenstions to work with ResultSet
2012-08-02 03:38:06 -07:00
James Strachan f53a40d1e0 lowered the maven requirement version a little 2012-08-02 10:14:01 +01:00
Evgeny Gerashchenko ab5505eed2 Using equals to compare ranges in CollectionTest. 2012-07-31 22:15:07 +04:00
Evgeny Gerashchenko 5667e76f4f Added Int.indices extension property. 2012-07-31 22:15:07 +04:00
Evgeny Gerashchenko 69313ae3be Removed redundant null checking. 2012-07-31 22:15:07 +04:00
Evgeny Gerashchenko 2727aa7da4 Gor rid of K2JVMCompileEnvironmentConfiguration and CompileEnvironmentConfiguration. Using JetCoreEnvironment instead of K2JVMCompileEnvironmentConfiguration. 2012-07-31 16:33:44 +04:00
Evgeny Gerashchenko 33c661e7f3 Passing compiler plugins via CompilerConfiguration. 2012-07-31 16:33:44 +04:00
cy6erGn0m 3cf1fd5377 Additional methods to extract data from ResultSet and to create new connection with no DataSource 2012-07-28 00:51:08 +04:00
James Strachan 1691298539 added test case to investigate KT-2495 2012-07-26 05:06:05 -04:00
James Strachan 559cfe29c8 added test case for KT-2520 2012-07-25 05:58:09 -04:00
James Strachan 7d0b03de76 added the dom events API to the kotlin standard library and get it compiling as JS too (not unit tested yet mind you ;) 2012-07-25 02:57:53 +01:00
James Strachan b25c27bfed added first cut of the DOM events API (its not all compiling to JS yet though due to Class<T> not being supported) 2012-07-24 11:10:50 +01:00
Evgeny Gerashchenko f9b0223ab6 Using kotlin-jdk-annotations.jar from valid location in kotlin-maven-plugin. 2012-07-23 20:06:40 +04:00
Evgeny Gerashchenko 45672cf7e2 Added workaround to KT-2493 to get maven build back to life. 2012-07-23 19:21:43 +04:00
Evgeny Gerashchenko 3af9540702 Fixed compilation of kdoc. 2012-07-23 18:50:36 +04:00
Evgeny Gerashchenko 6736e3d6d6 Optimized imports in kdoc project. 2012-07-23 18:50:36 +04:00
Evgeny Gerashchenko 8124e477ce Renamed methods getUserData and putUserData to get and put, respectively. 2012-07-23 17:38:16 +04:00