Commit Graph

38 Commits

Author SHA1 Message Date
Ilya Gorbunov 35166f44ae StdLib deprecations cleanup: string operations. 2015-06-29 17:06:41 +03:00
Ilya Gorbunov f3a19ebe11 StdLib deprecations cleanup: length, size, indices and other collection operations. 2015-06-29 17:06:20 +03:00
Ilya Gorbunov 00a44f6d4f StdLib deprecations cleanup: *array -> *arrayOf, copyToArray -> toTypedArray. 2015-06-29 17:05:57 +03:00
Evgeny Gerashchenko eeeb741d42 Added test for obsolete bug and removed workaround in code. 2015-04-08 15:14:16 +03:00
Stanislav Erokhin b703f59e04 Migrate kotlin sources, maven projects and stdlib to new lambda syntax 2015-04-07 13:08:53 +03:00
Alexander Udalov 6b0fce8cd5 Unsorted replacements "jet" -> "kotlin"
#KT-2896 Fixed
2014-03-02 19:55:15 +04:00
Andrey Breslav 7c8910bef6 Wrokaround for import clash 2014-02-25 15:12:20 +04:00
Alexander Udalov 391da33c01 Don't use "jet" prefix in stdlib sources 2014-02-21 20:38:02 +04:00
Alex Tkachman 57c27bdd37 jdk annotations for some java.sql methods, related cleanup in stdlib & tests 2012-09-27 12:01:54 +02:00
Evgeny Gerashchenko 8e1323bb43 Replaced sure() invocations with '!!' operator in libraries written on Kotlin. 2012-09-17 18:00:21 +04:00
Svetlana Isakova e059f8b650 removed imports of java mapped classes
in tools code
2012-09-07 23:36:09 +04: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 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
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
Evgeny Gerashchenko 45672cf7e2 Added workaround to KT-2493 to get maven build back to life. 2012-07-23 19:21:43 +04:00
Leonid Shalupov c5e1225f1c libraries: redundant ${project.basedir} 2012-04-30 20:59:16 +04:00
Leonid Shalupov 3813e0a886 maven version = 0.1-SNAPSHOT 2012-04-12 13:03:15 +04:00
Leonid Shalupov 863042da27 maven artifacts: runtime, stdlib -> kotlin-runtime, kotlin-stdlib 2012-04-10 22:39:11 +04:00
Leonid Shalupov 50e3e01284 no dependency on external maven plugin 2012-04-04 15:43:59 +04:00
James Strachan f471c572d2 fixed up compile errors after recent visibility rule changes 2012-04-03 19:04:05 +01:00
James Strachan 3a4ed6a85f for consistency, moved extension functions on iterator/iterable/collection to the kotlin package rather than being split across kotlin and kotlin.util. Once intrinsic collections are here we could consider moving the java.util extension functions into kotlin.java.util 2012-03-26 08:59:16 +01:00
Evgeny Goldin 669c7ec326 Libraries:
- "kotlin-maven-plugin" is pulled up to the main POM
 - "testFilterIntoLinkedList" test commented out
 - stdlib - including "kotlin-runtime" respects "localKotlin" profile
2012-03-20 21:54:43 +01:00
Evgeny Goldin 178d822c89 Added "kotlin-maven-plugin" module, extracted <junit> to the parent POM scope "compile". 2012-03-19 23:19:23 +01:00
Evgeny Goldin 165a110064 Kotlin maven plugin updates:
- <groupId>com.github.goldin</groupId>
- <kotlin-maven-plugin.version>0.2.3.8</kotlin-maven-plugin.version>
- Repo is "http://evgenyg.artifactoryonline.com/evgenyg/"
2012-03-18 22:34:23 +01:00
James Strachan 7137872ede moved the jdbc string template API out of the test case :) and fix up some cruft in the API docs 2012-03-14 20:44:54 +00:00
James Strachan bcde2f9544 added hook for caching preparedStatements along with simplifying the logic of using PreparedStatements as we make the statement up front, then bind directly. Also support most of the common data types (though need more null support) 2012-03-14 18:18:46 +00:00
James Strachan e2d85427ce removed the old experiments for templating; so we now just create a StringTemplate object that can be converted to html or used with JDBC queries/statements etc 2012-03-14 16:00:11 +00:00
James Strachan 7adcecb634 removed IDEA project files from the maven build section 2012-03-14 08:42:41 +00:00
James Strachan 50a42a2f07 use service loading to detect the kunit asserter if its on the classpath 2012-03-13 11:00:16 +00:00
James Strachan 5189c6519c attempt to generate the JS kdocs; almost there but for an assertion failure here https://github.com/JetBrains/kotlin/blob/master/compiler/backend/src/org/jetbrains/jet/codegen/AnnotationCodegen.java#L80 - could be native ctor/fn related? 2012-03-13 08:43:17 +00:00
James Strachan 1700777f9b working version of templates (experiment1) and jdbc 2012-03-13 06:52:51 +00:00
James Strachan f927b38a14 added a few experimental alternatives implementations of string templates for string/html/jdbc etc for KT-1565 seems there's a few ways we could do it... 2012-03-12 20:46:57 +00:00
James Strachan e7a57612bd added a basic set of extension functions for working with JDBC in kotlin 2012-03-12 16:07:31 +00:00