Pavel V. Talanov
da24b36071
Turn on tests.
2012-07-02 17:29:09 +04:00
Pavel V. Talanov
5004b2e01b
Separate library files which contain code and those which declarations only. Fixes builder test/
2012-07-02 17:29:08 +04:00
Pavel V. Talanov
96b6f0955e
Remove profiling configuration.
2012-07-02 17:29:07 +04:00
Pavel V. Talanov
53e77abefc
Fix most of the tests. Turn off 3 of the tests temporarily.
2012-07-02 17:29:07 +04:00
Pavel V. Talanov
187c90ed3b
Update for the previous fix for class object's visibility.
2012-07-02 17:29:06 +04:00
Pavel V. Talanov
3504106981
JsTests speed up: Analyze standard library only once.
2012-07-02 17:29:05 +04:00
Pavel V. Talanov
2975cda4d6
Fix a bug which caused class object's visibility to be ignored
2012-07-02 17:29:04 +04:00
Pavel V. Talanov
9878b60462
Fix KotlinLibTest and remove redundant tests.
2012-07-02 17:29:03 +04:00
Pavel V. Talanov
49c6555e5e
JsTests speed up: cash the scope with Kotlin library. Refactor CodeGenerator class.
...
About 10% speed up (not much but still...)
2012-07-02 17:29:02 +04:00
Nikolay Krasko
72271cbdd4
Allow store nullable qualified names in object stubs
2012-07-02 17:16:09 +04:00
Nikolay Krasko
de4e302578
Index package-level properties
2012-07-02 15:16:49 +04:00
James Strachan
3a196d6718
Merge pull request #88 from zolotov/fix-reverse-and-sort-for-lists
...
Fix reverse and sort functions for lists
2012-07-02 03:42:05 -07:00
James Strachan
0da54aac1c
added a sample natural language test case as per this discussion http://devnet.jetbrains.net/thread/437088?tstart=0
2012-06-30 10:16:02 +01:00
James Strachan
63e0f169fc
re-enabled compiling to JS test cases now we've fixed the compilation of the latest comparator based standard library code
2012-06-29 23:13:05 +01:00
Nikolay Krasko
e06e5198ed
Do not show classes in file node by default in project view
2012-06-29 19:40:58 +04:00
Nikolay Krasko
c44ee27d9e
Add information to plugin.xml about another stub index
2012-06-29 19:04:53 +04:00
Nikolay Krasko
5f2c22f944
Remove endless recursive call
2012-06-29 18:23:55 +04:00
Nikolay Krasko
ce283d038a
Declaration providers on stubs
2012-06-29 18:07:04 +04:00
Nikolay Krasko
ede771935f
Stub for object
2012-06-29 14:27:46 +04:00
Nikolay Krasko
fed9df9858
Add qualified name to top level functions stub
2012-06-29 14:19:44 +04:00
Stepan Koltsov
2f64000917
repl: -classpath argument
2012-06-28 19:38:45 +04:00
Stepan Koltsov
cd1211fcb3
repl: multiline
2012-06-28 19:38:44 +04:00
Stepan Koltsov
dbc0d3c4e0
repl: better command parsing
2012-06-28 19:38:44 +04:00
Stepan Koltsov
c0e8f3b911
repl: load command
2012-06-28 19:38:44 +04:00
Nikolay Krasko
a0bbf24709
Add isAnnotation to class stub
2012-06-28 16:46:30 +04:00
develar
77320e07f2
ArrayList improvements:
...
1) remove must compare object using Kotlin.equals (the same as in contains)
2) use ArrayIterator instead of ListIterator (perfomance)
3) remove duplicated code (refactor)
4) toArray
5) fix "add((index, item)" — correct translation to JavaScript "addAt"
2012-06-28 11:13:48 +04:00
develar
07ae3afc95
update rhino 1.7R4
2012-06-28 10:30:36 +04:00
develar
1041837122
implement comparator more correct, so, we can get rid of skipSeal flag for std classes
2012-06-28 10:30:16 +04:00
develar
4ce4cdfbd5
when translator: don't add break after return
2012-06-28 10:29:00 +04:00
develar
d6c725bcd9
classes declaration:
...
fix: class of the same unqualified name in package inside module (see MultiFileTest.testClassOfTheSameNameInAnotherPackage)
We don't ever try to use meaningful var name for temp class declaration — we remember about incremental compilation inline final class declaration don't generate scope function if we don't need it
failed and fixed test: fast fix Kt817 (we must investigate, actually, it seems dart ast bug — we must have ability to declare name in our scope without check the same name in the parent scope)
perfomance: delete ClassSortingUtils, we don't need it
2012-06-28 10:28:33 +04:00
develar
e83879e6f3
ExtensionFunctionCalledFromFor
2012-06-28 09:57:20 +04:00
develar
2c3f3d2960
partially implement KT-2310 (only cache call result)
2012-06-28 09:57:20 +04:00
develar
8d764af432
KT-2154
2012-06-28 09:57:20 +04:00
develar
9443007dc3
support multiple source roots
2012-06-28 09:57:20 +04:00
develar
63e41b771f
KT-2298 js inter-module communication
2012-06-28 09:57:19 +04:00
develar
622235b172
test for KT-2219
2012-06-28 09:57:19 +04:00
develar
4158a7bf5d
ability to skip lint test
2012-06-28 09:57:19 +04:00
develar
2108c08b2a
test for KT-2177 and jslint
2012-06-28 09:57:18 +04:00
develar
39fe690ec8
js enumerable for ecma5
2012-06-28 09:57:18 +04:00
develar
3e491ba7f1
https://developer.mozilla.org/en/JSON (cherry picked from commit f91d3a8)
2012-06-28 09:57:18 +04:00
develar
06ecb45004
js compiler: module dependency
2012-06-28 09:57:18 +04:00
develar
cd067cb32c
createNamespace: don't produce empty object literal if properties are empty or empty function if there is no initializer
2012-06-28 09:57:17 +04:00
develar
c7c7fda31e
typo: Initalizers -> Initializers
2012-06-28 09:57:17 +04:00
develar
47a8ff060d
KT-2137 console
2012-06-28 09:57:17 +04:00
develar
99614d5e14
don't enclose function if it is not necessary
2012-06-28 09:57:17 +04:00
develar
4d1c70d265
document reason why we don't declare ecma 5 property name as obfuscatable
...
use standard backing field name prefix for ecma 5 (was: _, must be: $)
2012-06-28 09:57:17 +04:00
develar
073fb6c499
print ecma version if test failed
2012-06-28 09:57:16 +04:00
Nikolay Krasko
66984a5f23
Fix test with file rename
2012-06-28 00:48:44 +04:00
Nikolay Krasko
4a0b13d11e
KT-2254 Incorrect indentation after = in val:
...
#KT-2254 fixed
2012-06-27 21:01:55 +04:00
Natalia.Ukhorskaya
d308311aeb
Revert commit 0e07358362
2012-06-27 18:17:13 +04:00