Pavel V. Talanov
592b0e9c37
Specify visibility in some files in jslibs
2012-07-03 21:36:04 +04:00
Pavel V. Talanov
7d29468e37
Revert: Kolya's commit to JLangIterables.kt
2012-07-03 20:42:59 +04:00
Pavel V. Talanov
dd43f6b699
Deal with absence of js library. fix K2JSMessagingTest
2012-07-03 17:58:58 +04:00
Pavel V. Talanov
508b241553
Remove dead code.
2012-07-03 17:56:22 +04:00
Pavel V. Talanov
e1ecdead75
Turn off the failing StdLibToJSTest. It fails due to some frontend bug.
2012-07-03 16:41:03 +04:00
Pavel V. Talanov
30a01a674d
Fix a problem which caused temporary variables to be created in invalid context when creating object literal.
...
Only 2 tests failing atm.
2012-07-03 15:53:16 +04:00
Pavel V. Talanov
d6ffb42497
pull https://github.com/develar/kotlin ecma5-iter3 Make most of the tests work.
...
Thanks to develar.
2012-07-03 15:27:37 +04:00
James Strachan
9b2e28c76e
fixed test case
2012-07-03 08:54:25 +01:00
James Strachan
b960bea2d9
added test cases to try reproduce yesterdays JS bug with missing "this.drop(1)" in List.tail property, found another JS compile issue...
2012-07-03 08:45:26 +01:00
James Strachan
d8d1da7334
disabled mvn compile of JS samples until we fix: java.lang.IllegalStateException: null at (5,10) in /stdlib/JUMaps.kt.jet
2012-07-03 08:12:51 +01:00
James Strachan
541f3d4e78
got more map code compiling to JS and running as unit tests
2012-07-03 07:43:15 +01:00
James Strachan
8637373aa2
disabled mvn compile of JS tests until we fix: java.lang.IllegalStateException: null at (5,10) in /stdlib/JUMaps.kt.jet
2012-07-03 07:42:21 +01:00
James Strachan
9a6477c121
added simpler natural language text sample
2012-07-03 06:52:25 +01:00
Nikolay Krasko
83d0e8ebb5
- Merge https://github.com/JetBrains/kotlin/pull/90
...
- Move introduce and remove !! call to one class
2012-07-02 20:41:18 +04:00
Sergey Lukjanov
d879827371
Test for "unnecessary non-null assertion quickfix should not displayed for 'value!!.foo()' case" has been added.
2012-07-02 20:41:17 +04:00
Pavel V. Talanov
62ff95205c
Better fix for class object's visibility problem
2012-07-02 18:09:30 +04:00
Pavel V. Talanov
4b15023aec
Turn off inlining. May be it'll help with KT-2314.
2012-07-02 17:29:10 +04:00
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