Pavel V. Talanov
2bb647bdb8
Some magic to make test work
2012-05-25 14:45:01 +04:00
Svetlana Isakova
f03ce0795e
KT-2096 Abstract property with no type specified causes compiler to crash
...
#KT-2096 fixed
2012-05-25 14:04:32 +04:00
James Strachan
8d3aeb9e1e
made the stub DOM API public just in case
2012-05-25 10:30:13 +01:00
James Strachan
ea9267e869
added test case trying to get the document property working on JS - not quite there yet :(
2012-05-25 10:25:54 +01:00
James Strachan
b9bcfd2628
added a (disabled) test case to try out using the kotlin.browser.document property from generated JS
2012-05-24 16:59:30 +01:00
Dmitry Jemerov
2f32e9c60d
map intersection type to its common supertype
2012-05-24 17:58:00 +02:00
Dmitry Jemerov
fb5fd47591
remove try/finally which leads to masking of exceptions occurring during generation of stub class [r=max]
2012-05-24 17:34:47 +02:00
James Strachan
6b3864a12d
starting to annotate JavaScript APIs in the standard library
2012-05-24 16:18:59 +01:00
Dmitry Jemerov
05054bfa49
Ctrl-Alt-B works for Kotlin
2012-05-24 16:20:37 +02:00
Dmitry Jemerov
9015f21a29
down arrows for Kotlin classes
2012-05-24 16:20:36 +02:00
Dmitry Jemerov
4bf6a46afb
it helps to write what you read
2012-05-24 16:20:35 +02:00
Dmitry Jemerov
39fe59d40a
inheritor navigation works from Java to Kotlin
2012-05-24 16:20:35 +02:00
Dmitry Jemerov
783dbdd605
index occurrences of superclass names for Kotlin classes
2012-05-24 16:20:34 +02:00
Dmitry Jemerov
cc0a5326c3
simpler implementation of java/kotlin mirror processing in rename and find usages (KT-2078)
...
#KT-2078 fixed
2012-05-24 16:20:34 +02:00
Pavel V. Talanov
f67aaa49b7
Include test file accidentally omitted by previous commit
2012-05-24 17:37:21 +04:00
Pavel V. Talanov
b64cf035b0
!! operator
...
kotlin_lib.js modified, truthful description of MiscTest class added.
#KT-1960 fixed
2012-05-24 16:40:18 +04:00
Pavel Talanov
0fc64bb6c2
First stab at !! operator
2012-05-24 16:40:17 +04:00
James Strachan
296a5b6b6c
added a test case for using the kotlin.browser package from JS (which fails so far, but its a start ;)
2012-05-24 13:08:14 +01:00
James Strachan
ddf9101fb1
added better apidoc description
2012-05-24 13:07:28 +01:00
James Strachan
bedadb1472
added the start of an experimental browser API so we can access the browser environment from a typesafe kotlin API which can be implemented on a JVM (e.g. with JavaFX) or compiled natively to JS to reuse the browser global variables
2012-05-24 09:56:57 +01:00
Svetlana Isakova
3fe9a8beca
removed TypeUtils.FORBIDDEN constant
2012-05-24 12:34:04 +04:00
Svetlana Isakova
0fd882741b
function invocation with only type parameters prohibited
2012-05-23 22:04:22 +04:00
Svetlana Isakova
327b471eaf
"Change to function invocation" fix added
2012-05-23 21:53:17 +04:00
Svetlana Isakova
b22a7dbf99
KT-2014 Better diagnostic when using property syntax to call a method
...
#KT-2014 fixed
2012-05-23 21:53:17 +04:00
Nikolay Krasko
deb13344c0
Fix test and add special option for spacing around colon in type definitions
2012-05-23 19:29:18 +04:00
Alexander.Podkhalyuzin
48533ca8d2
Fixed KT-2072: do not suggest to use type inference in Introduce Variable in case if expression type depends on expected type.
2012-05-23 18:58:39 +04:00
Nikolay Krasko
ccb8c08684
Fix test and add special option for spacing around colon in type definitions
2012-05-23 18:44:23 +04:00
Evgeny Gerashchenko
1ff9c86083
Reverted K2JVMCompilerArguments.altHeaders->jdkHeaders usage.
2012-05-23 17:52:16 +04:00
Evgeny Gerashchenko
7b8602469e
Removed unused PathUtil.getAltHeadersRoots()
2012-05-23 17:35:24 +04:00
Evgeny Gerashchenko
bf62877e2b
Replaced Usage of PathUtil.jarFileToVirtualFile() to PathUtil.jarFileOrDirectoryToVirtualFile(), removed the former.
2012-05-23 17:35:24 +04:00
Evgeny Gerashchenko
74a63c9b9d
Added PathUtil.jarFileOrDirectoryToVirtualFile() method.
2012-05-23 17:15:43 +04:00
Evgeny Gerashchenko
30ede72c32
Fixed typo
2012-05-23 17:15:27 +04:00
Evgeny Gerashchenko
ea36cf9fb0
Reverted all changes related to renaming jdkHeaders to altHeaders.
2012-05-23 17:05:09 +04:00
Evgeny Gerashchenko
393a8a6742
Committed forgotten file for KT-2001 fix.
...
#KT-2001 fixed
2012-05-23 16:27:31 +04:00
Evgeny Gerashchenko
e2d4578c3e
Fixed KT-2001 Create warning when Kotlin runtime is outdated relative to plugin
...
#KT-2001 fixed
2012-05-23 16:25:39 +04:00
Evgeny Gerashchenko
ba435d3777
Extracted constants.
2012-05-23 16:25:39 +04:00
Evgeny Gerashchenko
c0f36d57f7
Removed unused parameter.
2012-05-23 16:25:39 +04:00
Alexander.Podkhalyuzin
b9267dc7cf
Fixed KT-2071: Cannot Introduce Variable from function literal.
2012-05-23 15:58:55 +04:00
Alexander.Podkhalyuzin
b5b9f7ba98
Fixed broken testdata.
2012-05-23 15:58:12 +04:00
Andrey Breslav
59b533ccd3
Method name fixed
2012-05-23 14:33:34 +04:00
Alexander.Podkhalyuzin
ca902799b6
Fixed wrong default setting: no space before type colon.
2012-05-23 14:24:52 +04:00
Svetlana Isakova
f58d0193eb
test for KT-1878 Support 'invoke' functions short way invocation
2012-05-23 12:50:19 +04:00
James Strachan
fc4340f0f7
#KT-2067 Fixed
2012-05-23 09:46:15 +01:00
James Strachan
939f0e9085
added drop(n) and dropWhile(predicates) for KT-2067 - also tail() now returns the usual idea of tail() - namely everything but the head - rather than just the last element. Finally added more test sample code to the kdoc
2012-05-23 09:35:16 +01:00
James Strachan
53a9fff0bc
attempt to fix compile error introduced by Stepan's refactoring
2012-05-23 09:30:03 +01:00
James Strachan
a4991534b4
added capitalize/decapitalize of strings and isUpper/LowerCase helpers to Char
2012-05-23 08:28:02 +01:00
Stepan Koltsov
6f921a63d7
fix compilation
2012-05-23 03:17:16 +04:00
Stepan Koltsov
8800e4587a
fix compilation
2012-05-23 03:01:46 +04:00
Stepan Koltsov
33a59ff5fe
Name class
...
In the most places in frontend identifier is stored in Name class, was in String.
Name has two advantages over String:
* validation: you cannot accidentally create identifier with dot, for example
* readability: if you see String, you don't now whether it is
identifier, fq name, jvm class name or something else
Name's disadvantage is (small) performance overhead. We have no value types in JVM.
2012-05-23 02:52:32 +04:00
Stepan Koltsov
c15ff2dee0
make parser test debugging friendly
2012-05-23 02:52:32 +04:00