Evgeny Gerashchenko
be7989af36
Moved JVM-specific String.repeat method to StringsJVM.kt
2012-11-19 13:29:17 +04:00
Tommy Hallgren
7ccded5f6d
KT-2503 Added String.repeat method
...
#KT-2503 fixed
2012-11-17 14:43:06 +04:00
Nikolay Krasko
36d8500656
Revert explicit check for building with Java 1.6
...
#KT-2988 Fixed
2012-11-14 18:19:28 +04:00
Andrey Breslav
ec255e8342
NO_RECEIVER_PARAMETER is now simply null
2012-11-01 19:53:22 +04:00
Andrey Breslav
ce9c302fe1
KDoc migrated onto new ReceiverParameterDescriptor
2012-11-01 12:11:06 +04:00
James Strachan
0506708e70
include the maps.js standard JS file in the maven plugin (fixing up issues caused by the refactoring of kotlin_lib.js into 2 files)
2012-10-25 16:56:13 +01:00
James Strachan
c843d23416
allow the maven plugin to have its source directories to be configured on a per execution basis (e.g. so that you can have different directories for JS compilation as to JVM based compilation). Its a shame to require 2 fields for configuration; but tried all other permutations I could think of but could not figure out a cleaner way -better approaches welcome! :)
2012-10-25 10:57:31 +01:00
James Strachan
3043577949
temporarily enforce jdk 1.6 in the maven build to provide a non-confusing compile error message if someone accidentally tries to build on JDK 7 which does not yet work (see KT-2988)
2012-10-24 09:23:32 +01:00
James Strachan
ef0c8ab162
added explicit source plugin version
2012-10-24 09:08:07 +01:00
Andrey Breslav
92ef1c9417
Some 200 warnings eliminated from stdlib code
2012-10-19 16:17:51 +04:00
Andrey Breslav
a3c50fc751
assert() now works with -ea
2012-10-11 21:08:11 +04:00
Andrey Breslav
c0af93f237
orEmpty() for Array<T> fixed
2012-10-09 19:19:24 +04:00
Andrey Breslav
7d28ee4342
Nullable-specific routines now respect the fact that <T> may be instantiated with a nullable type
2012-10-09 12:58:47 +04:00
James Strachan
8a9485bd5f
added a helper method to get the child elements of an Element by name
2012-10-09 09:12:34 +01:00
James Strachan
6a59820de3
added a test case for File.relativePath() along with fixing a bug if you pass the same file as the argument; it should have returned the empty string
2012-10-09 08:36:51 +01:00
Svetlana Isakova
9d5f5f7adf
KT-2842 Function with declared non-null receiver resolves with nullable argument receiver
...
#KT-2842 fixed
2012-10-02 14:20:00 +04:00
Pavel V. Talanov
be0fca3f65
Remove references to javascript annotations from java stdlib
...
Fix annoying bad annotation in repository
2012-10-01 16:21:06 +04:00
Pavel V. Talanov
efe0c83872
Delete some strange code left (accidentally?) for the purpose of testing KT-1515.
2012-10-01 16:17:42 +04:00
Andrey Breslav
66359894ee
Additional tests for new behavior of getOrElse() and getOrPut()
2012-09-27 14:47:01 +04:00
Andrey Breslav
2a76f6df14
Compilation fixed
2012-09-27 14:35:23 +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
Andrey Breslav
c8e711f84b
getOrElse() and getOrPut() fixed to respect how maps work with nulls
2012-09-27 13:52:05 +04:00
Alex Tkachman
1b37f13a34
annotations for java.util.ServiceLoader
...
remove some unnecessary !! from stdlib
2012-09-27 06:43:13 +02:00
Alex Tkachman
804e3769ff
remove some unnecessary !! from stdlib
2012-09-26 19:19:44 +02:00
Alex Tkachman
e2d514907a
annotations for j.u.c.locks + related fixes of tests
2012-09-26 18:52:46 +02:00
Svetlana Isakova
ca2e21afc5
Pair made covariant
2012-09-26 20:39:29 +04:00
James Strachan
b5145f1a87
allow mapValues() to be used on a Map not just a MutableMap
2012-09-26 09:04:08 +01:00
Svetlana Isakova
85f3dbf4fc
added annotations for Collections and Arrays
2012-09-24 14:18:04 +04:00
James Strachan
be44702145
fixes KT-2091 allowing fold() and foldRight() to take different types of initial value and return the same typed result
2012-09-21 16:31:04 +01:00
James Strachan
e129b43a7c
disabled the helper method on JCheckBox as this either compiles or not depending on if JDK6/7 and whether a type argument must or must not be specified
2012-09-21 16:16:08 +01:00
James Strachan
b4f4927133
fix compile error
2012-09-21 15:48:15 +01:00
James Strachan
962a3d29f5
deal with null events being fired (a common way to just fire actions) and allow optional description and icon parameters to be specified
2012-09-21 15:48:01 +01:00
James Strachan
a9a7d599ca
minor rename to avoid being hidden by add method on JMenu
2012-09-21 15:47:05 +01:00
James Strachan
c325c6239d
Merge branch 'master' of github.com:JetBrains/kotlin
2012-09-21 15:24:02 +01:00
Andrey Breslav
5dc20e687f
Nullability fix for StringsJVM
2012-09-21 10:37:24 +04:00
Andrey Breslav
1a44599d7c
@Nullable/@NotNull annotations for Input/Outoput Streams and Data Input/Output
2012-09-20 20:27:37 +04:00
Andrey Breslav
2abe2e581d
AbstractStringBuilder, StringBuilder and java.io.File annotated with nullable/notnull
2012-09-20 18:12:57 +04:00
Svetlana Isakova
0ff9d95704
made Map covariant on second parameter
2012-09-19 15:31:16 +04:00
Svetlana Isakova
47769ed638
tests changed after KT-2745
...
Write exact Kotlin type (if it's mapped) in signature while generating bytecode
#KT-2745 fixed
2012-09-19 13:06:25 +04:00
Andrey Breslav
5eaa5b396b
Removing usages of tuples from test data
...
(KT-2358 Drop tuples)
#KT-2358 In progress
2012-09-18 20:27:09 +04:00
Evgeny Gerashchenko
8e1323bb43
Replaced sure() invocations with '!!' operator in libraries written on Kotlin.
2012-09-17 18:00:21 +04:00
James Strachan
475d5630ad
removed accidental cruft
2012-09-17 12:34:34 +01:00
James Strachan
65564537dd
added a bunch more swing helper methods; such as an easy function for doing the dreaded grid bag layout and helper properties so its easy to set a width or height for size/preferredSize/minimumSize/maximumSize on components
2012-09-17 12:04:42 +01:00
Alex Tkachman
a4e272d7c6
optimization of toString for primitive types and "$expr"
...
- intrinsic toString for promitive types added to stdlib
- utility method added to CodegenUtil
- optimization logic added to generation of interpolating string
2012-09-17 13:00:02 +03:00
James Strachan
fb5e2333ac
add more swing helper methods for creating menus
2012-09-14 16:34:41 +01:00
James Strachan
fdb755e2e7
update for KT-2765 so we can specify annotationPaths for kdoc too
2012-09-14 16:34:25 +01:00
James Strachan
3d66ebd0e1
added partial fix for KT-2765 so we can specify the paths to where annotations.xml files can be found
2012-09-14 15:04:09 +01:00
James Strachan
9c3d1071cd
added more DRY compareBy function and helper class
2012-09-14 12:44:09 +01:00
James Strachan
51122a288d
tried more concise comparison code
2012-09-14 12:05:06 +01:00
James Strachan
5647701c24
added a little sample test case of data classes
2012-09-14 11:19:13 +01:00