Commit Graph

17 Commits

Author SHA1 Message Date
James Strachan 7ef65c0099 moved the stdlib tests into the same directory as the stdlib, so it works a bit better with maven support in IDEA 2012-03-14 16:14:14 +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 e00cc87576 Merge pull request #19 from chirino/master
Simplify the String.toRegex extension to a single function
2012-03-13 07:13:18 -07:00
James Strachan 8d47332cd9 refactored the template experiment1 implementation to add i18n support of numbers & dates 2012-03-13 12:18:37 +00:00
Alex Tkachman c870eccc4f fix for KT-1515 wrong loading of annotations 2012-03-13 12:28:35 +02: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 897242458b added an example of a composable template 2012-03-12 12:38:17 +00:00
James Strachan d469710c7c refactored foreach() -> forEach() as per Cedric's excellent suggestion http://devnet.jetbrains.net/message/5454105#5454105 2012-03-12 12:07:38 +00:00
James Strachan 5805165793 initial spike to show how KT-1565 might look for auto-escaping of HTML/XML/JSON/JDBC/URLs etc 2012-03-12 11:51:35 +00:00
Hiram Chirino 3b85642b96 Simplify the String.toRegex extension to a single function that uses a default arg.
Also moved it to the String.kt source file that that String extension functions can be found in a single place.
2012-03-09 13:42:35 -05:00
James Strachan bdcdf93650 Merge pull request #15 from chirino/master
stdlib enhancements around String conversions.
2012-03-08 22:48:51 -08:00
Hiram Chirino dba869a49d Adding check method to stdlib as detailed in KT-1530 2012-03-08 15:11:51 -05:00
Hiram Chirino b8dda416f3 Remove functions which could conflict with the kotlin.assert function. 2012-03-08 14:42:41 -05:00
James Strachan db72208a91 refactored filterNulls() to filterNotNull() which is a clearer name - thanks Stepan! 2012-03-08 14:36:23 +00:00
Hiram Chirino c9d6b8462d KT-1530 : stdlib should include assert and require functions to simplify precondition checking 2012-03-07 13:16:02 -05:00
Andrey Breslav 0a08ac5fe8 Libraries written in Kotlin are factored out into a separate project 2012-03-06 19:00:29 +04:00