Stepan Koltsov
30e44fdc5f
script parameters
...
still a lot of things to do
2012-05-28 20:31:29 +04:00
Stepan Koltsov
a1714d99cf
DependencyClassByFqNameResolver
2012-05-28 17:34:44 +04:00
Svetlana Isakova
dfbd9922d9
fixes after merge
...
get rid of JetControlFlowDataTraceFactory
2012-05-28 12:32:45 +04:00
Nikolay Krasko
e946a0f908
- Out of block modification strategy for Kotlin block expression
...
- Separate project analysis for IDEA needs: headers + bodies
2012-05-27 17:39:56 +04:00
James Strachan
aecb5c72c5
code generate the JS dom.kt file so its got full W3C DOM API compatibility based on the API that ships with the JDK
2012-05-25 21:43:04 +01:00
James Strachan
adf38a0648
added a working JS test case using the standard kotlin browser API for interacting with the DOM
2012-05-25 20:38:04 +01:00
Pavel V. Talanov
2bb647bdb8
Some magic to make test work
2012-05-25 14:45:01 +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
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
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
ecc4c484a6
move NameUtils, FqName into name subpackage
2012-05-23 02:52:30 +04:00
pTalanov
6a24d0cf6d
Package .js library file into plugin
2012-05-22 17:20:50 +04:00
pTalanov
18ce0ac722
Introduce SetUpJsModuleAction
...
Refactor PathUtil
2012-05-22 13:51:48 +04:00
pTalanov
ce896f931a
Issue related to KT-1962
...
Correctly reference this object in wrapped function literal
2012-05-16 19:30:23 +04:00
pTalanov
c8fe0080c7
Fix compilation for maven build
2012-05-16 17:43:12 +04:00
pTalanov
feaf218836
Cosmetics
2012-05-16 17:43:11 +04:00
pTalanov
53ebe5325f
Move util methods from K2JSTranslator to FacadeUtils class
2012-05-16 15:18:40 +04:00
pTalanov
fe0295c7bb
Add facade method to AnalyzingFacadeForJs (for Web Demo)
2012-05-16 14:24:03 +04:00
pTalanov
82426e605d
Fix symbol in comments
2012-05-15 22:48:55 +04:00
pTalanov
6d414ba222
Mark the tests which are failing with EcmaVersion.v5 and exclude them
2012-05-15 22:20:15 +04:00
pTalanov
43c168baef
Make js.tests perform each test with different Ecma versions
...
This leads to tests failing
2012-05-15 22:20:15 +04:00
pTalanov
3bab6bee93
Make tests aware of different ecma versions
...
Introduce version parameters in relevant test methods
2012-05-15 22:20:14 +04:00
pTalanov
a9af4960cb
Introduce some convenience methods related to EcmaVersion
2012-05-15 22:20:13 +04:00
pTalanov
b75b60f710
Move EcmaVersion class to upper level
...
Extract EcmaVersion#fromString static method
2012-05-15 22:20:12 +04:00
pTalanov
b9b9e46275
Clean up and stylistic changes after merging in https://github.com/JetBrains/kotlin/pull/55
2012-05-15 22:20:11 +04:00
develar
e0be72d5b5
http://devnet.jetbrains.net/thread/436214?tstart=0
2012-05-15 22:20:10 +04:00
Evgeny Gerashchenko
554280a1b3
Changed case of file name (localParameterInCallback.kt) to fix tests.
2012-05-15 15:11:10 +04:00
pTalanov
1b516d2786
Issue related to KT-1962
2012-05-14 18:00:39 +04:00
pTalanov
9dfca4feb5
Uncomment test for KT-921
...
Minor code improvements
2012-05-05 22:17:19 +04:00
pTalanov
7b30cc3269
Minor code improvements and TODO fixes.
2012-05-05 22:03:42 +04:00
pTalanov
9a026aef3f
Refactor K2JSTranslator facade
...
Add MainFunctionNotFoundException
2012-05-05 21:57:40 +04:00
pTalanov
292d0da749
Refactor facade.
...
Add TranslationException, UnsupportedFeatureException, TranslationInternalException
2012-05-05 21:50:11 +04:00
pTalanov
1896f7250f
Refactor js.tests
...
Use Test#getName where possible
2012-05-05 20:37:02 +04:00
pTalanov
29f224b81f
EA - 35896 Case when property accessors are declared but only access level is specified
2012-05-05 19:36:22 +04:00
pTalanov
c1e4b20e38
KT-1747 Can't have main function in nested namespaces
...
#KT-1747 Fixed
2012-05-05 18:55:19 +04:00
pTalanov
869a8ab1ba
Refactoring of K2JSTranslator and neighboring classes
...
Drop GenerationUtils
Introduce MainCallParameters
Generate calls to main function together with the other code in contrast to as text afterwards
Enhance tests a bit
2012-05-05 18:50:02 +04:00
pTalanov
ea6076f638
KT-1865 Calls with default argument values are generated incorrectly
...
#KT-1865 Fixed
2012-05-05 16:51:48 +04:00
pTalanov
68680f702b
Fix a bug which caused incorrectly generated js when you call extension literal from extension function.
2012-05-05 16:51:48 +04:00
pTalanov
397928c4e4
K2JSCompiler cli:
...
Refactor.
Support zipped library sources as parameter.
Support output file path as parameter.
2012-05-04 23:15:37 +04:00
pTalanov
3e3a22a5c9
CLI refactoring.
...
Some steps towards nice K2JS cli.
2012-05-04 16:23:31 +04:00
pTalanov
be98258ffa
Change tests dependencies.
2012-05-04 16:15:03 +04:00
pTalanov
bc204c1194
Finish tests fix
2012-05-04 16:00:40 +04:00
pTalanov
5ea8e0f697
Rollback commented out code.
...
Implement a hacky solution for the new "invoke" concept.
Fix most of the tests. (apart from 3)
2012-05-04 16:00:39 +04:00
Svetlana Isakova
335f0a6b5e
'isSafeCall' method added to ResolvedCall
2012-05-03 22:02:30 +04:00
Stepan Koltsov
f4527b8167
better method name
2012-05-03 18:30:47 +04:00
Svetlana Isakova
04c2e1a64b
Fallen (because of VariableAsFunctionResolvedCall change) javascript backend tests temporary commented
2012-05-03 14:46:06 +04:00