James Strachan
|
2d4354af6c
|
fixed possible NPE
|
2012-05-31 09:32:03 +01:00 |
|
James Strachan
|
c4439f33f0
|
avoided JS compile barf in JS generation and fix compile error of Node vals in generated DOM API
|
2012-05-31 09:26:55 +01:00 |
|
James Strachan
|
fe68aeaa78
|
generate the Node.ELEMENT_NODE fields on the JS DOM API and refactored the kotlin.dom API so that it uses the Node.getNodeType() API rather than using "is" which is troublesome to implement on a browser/JS
|
2012-05-31 09:08:12 +01:00 |
|
Andrey Breslav
|
00cf06e4f3
|
DI: Don't call getters on non-public fields
|
2012-05-31 11:55:00 +04:00 |
|
Stepan Koltsov
|
c62193d272
|
add HashSet to mock rt.jar
it might fix tests
|
2012-05-30 23:04:56 +04:00 |
|
Andrey Breslav
|
173904d606
|
Introduced JetNamed to unify named functions and properties
|
2012-05-30 21:58:46 +04:00 |
|
Stepan Koltsov
|
22be8ad49a
|
do not include error types in hierarchy
|
2012-05-30 21:47:19 +04:00 |
|
Andrey Breslav
|
5504015025
|
Preliminary version of lazy resolve
The implementation is incomplete and thus not used anywhere other than the test
|
2012-05-30 21:09:22 +04:00 |
|
Stepan Koltsov
|
7c0b8876ca
|
fix more errors of incomplete classpath
after this commit project without JDK configured is not all red
|
2012-05-30 21:04:47 +04:00 |
|
Stepan Koltsov
|
a7aeba4e48
|
JDR: do not crash if signature references nonexistent class
|
2012-05-30 21:04:47 +04:00 |
|
Stepan Koltsov
|
3a3cbd53d8
|
JavaDescriptorResolver should not crash if there is no original for alt-header
(before this commit it crashed because package was not searched in alt-headers)
This commit makes JDR ignore alt-header if original is not found
|
2012-05-30 21:04:47 +04:00 |
|
Andrey Breslav
|
570789512f
|
Even more detailed error messages
|
2012-05-30 21:02:20 +04:00 |
|
Andrey Breslav
|
37bc10689e
|
Fix instanceof checks after introducing the TypeParameterDescriptor interface
|
2012-05-30 21:01:33 +04:00 |
|
Andrey Breslav
|
ebb0d25b17
|
Fix compilation
|
2012-05-30 20:59:25 +04:00 |
|
Andrey Breslav
|
ce96502f72
|
Make APIs available to lazy resolve
|
2012-05-30 20:57:03 +04:00 |
|
Andrey Breslav
|
d95f315e24
|
getName() always returns null for REFERENCE_EXPRESSIONs
|
2012-05-30 20:53:04 +04:00 |
|
Andrey Breslav
|
40894196bf
|
Proper rendering for modules
|
2012-05-30 20:52:00 +04:00 |
|
Stepan Koltsov
|
8611ce5773
|
KT-2047 Assertion from override resolver
#KT-2047 Fixed
|
2012-05-30 20:26:08 +04:00 |
|
James Strachan
|
3ebcb399c7
|
fixed up sample
|
2012-05-30 16:55:44 +01:00 |
|
Stepan Koltsov
|
1f5666e0e8
|
more tests in ScriptGenTest
|
2012-05-30 19:47:42 +04:00 |
|
James Strachan
|
872f08303e
|
allow the JS maven plugin to copy the kotlin JS library file - or append it
|
2012-05-30 16:43:33 +01:00 |
|
James Strachan
|
e41f59779e
|
avoid mandatory properties for optional things on the plugin
|
2012-05-30 16:43:04 +01:00 |
|
James Strachan
|
c639d598f6
|
fixed the build - whoops :)
|
2012-05-30 16:42:35 +01:00 |
|
James Strachan
|
4cff5f9759
|
modified the JS compiler so that it can have definitions and library sources specified or discovered on the classpath; so for example we can then discover the kotlin standard library kotlin that needs to be compiled; plus the JS library definitions (which map to the kotlin-lib.js file)
|
2012-05-30 15:51:08 +01:00 |
|
Stepan Koltsov
|
ae12b4e5fc
|
fix compilation
|
2012-05-30 18:49:36 +04:00 |
|
Stepan Koltsov
|
e157853468
|
test for scala-library jar resolve
scala-library descriptors does not fit in memory, so resolve it in chunks
BTW scala-library it is resolved fine
|
2012-05-30 18:47:00 +04:00 |
|
Evgeny Gerashchenko
|
b3e211a3ba
|
KT-2139 java.sql.Array inserted by completion is inserted by short name, and import is not added
#KT-2139 fixed
|
2012-05-30 18:05:49 +04:00 |
|
Nikolay Krasko
|
b767e1a8a6
|
Failure after typing empty import
|
2012-05-30 17:09:46 +04:00 |
|
Nikolay Krasko
|
251cc560aa
|
Merge pull request #60 from maxmanuylov/KT-2041
Converter for KT-2041: JetRunConfiguration should store its settings in ...
|
2012-05-30 04:05:15 -07:00 |
|
Andrey Breslav
|
69e74cb147
|
Confluence docs. Initial version
|
2012-05-30 14:41:40 +04:00 |
|
James Strachan
|
d7573b49a6
|
allow the JS compiler to take a list of files, verbose flag and a flag to indicate if a main call is required; plus added a test case to ensure we can compile some of the kotlin standard library using the K2JSCompiler directly
|
2012-05-30 11:31:35 +01:00 |
|
James Strachan
|
782773fca9
|
fixed compile errors
|
2012-05-30 11:30:36 +01:00 |
|
Nikolay Krasko
|
75277b0721
|
Add until-build attribute to generated plugin.xml
|
2012-05-30 14:20:04 +04:00 |
|
Evgeny Gerashchenko
|
e7ed224845
|
KT-2110 Some flaws in Colors & Fonts dialog
#KT-2110 fixed
|
2012-05-30 13:56:19 +04:00 |
|
James Strachan
|
e6f2f7043b
|
added more descriptive assertions if we get nulls when compiling
|
2012-05-30 10:27:10 +01:00 |
|
Maxim Manuylov
|
5bb489befb
|
Converter for KT-2041: JetRunConfiguration should store its settings in the same format as Java's ApplicationConfiguration to be able to reuse code in JPS
|
2012-05-30 00:12:02 +02:00 |
|
James Strachan
|
4ef8a3ce50
|
only log files compiled if verbose is enabled
|
2012-05-29 17:42:42 +01:00 |
|
James Strachan
|
4921aeafc3
|
refactored the maven plugin to use the vanilla K2JSCompiler directly and avoid using the K2JVMCompiler when generating JS code; also included a default LibrarySourceConfig which detects JS library code on the classpath which works nicer in maven/ant style worlds where dependencies tend to be specified rather than file paths to zip files
|
2012-05-29 17:28:15 +01:00 |
|
Nikolay Krasko
|
8daeb735e4
|
KT-1719 Navigate -> Symbol... completions are not super helpful for extension functions
#KT-1719 fixed
|
2012-05-29 18:11:36 +04:00 |
|
James Strachan
|
1a77c36040
|
got the kotlin/Dom.kt, Preconditions.kt and AbstractIterator.kt compiling as JS; needs more testing of using these APIs from JS though...
|
2012-05-29 15:02:17 +01:00 |
|
pTalanov
|
64703106ea
|
Add tests which check that web demo canvas examples compile correctly
|
2012-05-29 17:29:39 +04:00 |
|
James Strachan
|
4899c55673
|
added better diagnostic messages
|
2012-05-29 13:31:10 +01:00 |
|
James Strachan
|
35aa899cb1
|
making progress on porting kotlin/dom to JS; added AbstractList and RuntimeException/UnsupportedOperationException support to the kotlin-lib.js and fixed up a gremlin (Iterator is a trait not a class)
|
2012-05-29 12:33:34 +01:00 |
|
Nikolay Krasko
|
d759d50811
|
Change representation of extension functions
|
2012-05-29 15:03:36 +04:00 |
|
pTalanov
|
097d03ebe2
|
Initial dirty and incomplete version of JS DOM API
|
2012-05-29 14:42:44 +04:00 |
|
pTalanov
|
d822f0f410
|
Better notification message
|
2012-05-29 14:41:28 +04:00 |
|
James Strachan
|
bed2ec95d1
|
added a test case to compile some of the standard kotlin library as JS
|
2012-05-29 10:29:18 +01:00 |
|
James Strachan
|
13dfda92d1
|
added the ability to run the sample either in a web browser or in Java 7 with JavaFX and the KoolApp browser
|
2012-05-29 08:50:12 +01:00 |
|
James Strachan
|
2898abb245
|
simplified the kotlin-js-library source generation so we can selectively include some of the kotlin standard library for use in JS compilation
|
2012-05-29 08:49:36 +01:00 |
|
James Strachan
|
629f0e6f6b
|
moved JVM specific code into DomJVM.kt
|
2012-05-29 08:48:13 +01:00 |
|