Commit Graph

17752 Commits

Author SHA1 Message Date
Michael Nedzelsky 2db1d128a0 JS backend: add ArrayList(Collection) into javautilCode.kt 2014-10-07 08:37:01 +04:00
Michael Nedzelsky 1e02064a5b JS backend: add javauitl.kt to bridges/_commonFiles 2014-10-07 08:36:54 +04:00
Michael Nedzelsky 04d8960a3d JS backend: add BridgeTestGenerated 2014-10-07 08:36:50 +04:00
Michael Nedzelsky 0dd17535d6 JS backend: add TARGET_BACKEND: ONLY_JVM for some tests for bridge methods 2014-10-07 08:36:46 +04:00
Michael Nedzelsky bdc4d14f33 JS backend: improve test generator, support for backend header in test files 2014-10-07 08:36:43 +04:00
Michael Nedzelsky 03f673d6cf JS backend: add NotNull and Nullable annotations 2014-10-07 08:36:27 +04:00
Michael Nedzelsky 6f1d362917 JS backend: add getPackageName to BasicTest, checkBlackBox to SingleFileTranslationTest 2014-10-07 08:36:22 +04:00
Michael Nedzelsky b84e5969e2 JS backend: fix get mangling name for generic methods with multiply upper bounds 2014-10-07 08:36:18 +04:00
Zalim Bashorov 9fabdf4587 JS backend: mangling functions for extension properties. 2014-10-06 23:18:54 +04:00
Zalim Bashorov 9b04e3e3fe JS backend: use all generic parameters in mangling 2014-10-06 23:18:54 +04:00
Zalim Bashorov 10a9c0a434 JS backend: move mangling functions to separate util class. 2014-10-06 23:18:53 +04:00
Zalim Bashorov b5ee5877ce JS backend: kotlin_lib_compiled -> stdlib. 2014-10-06 23:18:53 +04:00
Zalim Bashorov eec4bc7e04 Minor: fix compilation in IDEA 2014-10-06 23:18:53 +04:00
Zalim Bashorov 8f6b12d296 Fixed maven build 2014-10-06 23:18:53 +04:00
Zalim Bashorov 5a63e34c19 JS tests: fix testData files 2014-10-06 23:18:53 +04:00
Zalim Bashorov 9ac193407b Fixed JS test runner: save only stdlib module from run to run. 2014-10-06 23:18:53 +04:00
Zalim Bashorov 25172d797e JS tests: disable Rhino optimization by default. 2014-10-06 23:18:52 +04:00
Zalim Bashorov 20f20f9441 JS tests: refactored StdLibTestBase and derived classes. 2014-10-06 23:18:52 +04:00
Zalim Bashorov b72b036bdb JS tests: refactored BasicTest class. 2014-10-06 23:18:52 +04:00
Zalim Bashorov c8278fd887 JS backend: refactor Configs. 2014-10-06 23:18:52 +04:00
Zalim Bashorov dd1fffae40 Minor in JS tests: load and cache kotlin_lib_compiled.js 2014-10-06 23:18:52 +04:00
Zalim Bashorov ce4bbb906b JS tests: disabled linter. 2014-10-06 23:18:51 +04:00
Zalim Bashorov 36bad02e67 Minor in JS tests: cleanup RhinoFunctionResultChecker and dependent classes. 2014-10-06 23:18:51 +04:00
Zalim Bashorov 9290c3aad7 JS tests: HACK for use JsTestsAsserter in JS tests 2014-10-06 23:18:51 +04:00
Zalim Bashorov 7a51ef5723 Stdlib: fix build -- use named object instead of instance of Any because Any not mapped yet in JS backend. 2014-10-06 23:18:51 +04:00
Zalim Bashorov c142253fb9 JS stdlib: droped unnecessary jutilCode.kt 2014-10-06 23:18:51 +04:00
Zalim Bashorov 9827a5a21d Minor in JS stdlib: fix annotations.kt 2014-10-06 23:18:51 +04:00
Zalim Bashorov 23151936b6 JS stdlib: added volatile and synchronized. 2014-10-06 23:18:50 +04:00
Zalim Bashorov 80294f53ad JS stdlib: drop TuplesCode.kt -- switch to use tuples from stdlib. 2014-10-06 23:18:50 +04:00
Zalim Bashorov 0cac7c32b6 Stdlib: Deprecated.kt splitted to common and jvm parts. 2014-10-06 23:18:50 +04:00
Zalim Bashorov 3bc80a6d05 Stdlib: Char.kt splitted to common and jvm parts. 2014-10-06 23:18:50 +04:00
Zalim Bashorov d7dfbe40a4 Stdlib: moved CharSequence.size and String.size to StringJVM.kt because they are intrinsic in JS. 2014-10-06 23:18:50 +04:00
Zalim Bashorov 4ba4484683 Stdlib: moved setOf and linkedListOf from JUtilJVM.kt to JUtil.kt. 2014-10-06 23:18:49 +04:00
Zalim Bashorov 5b80eef381 Added ant step for compilation Kotlin stdlib to JS. 2014-10-06 23:18:49 +04:00
Valentin Kipyatkov 5ae756addb Quickfix to correct signature of method with 'override' to not include 'override' in signature text 2014-10-06 21:26:55 +04:00
Valentin Kipyatkov 317607db70 Corrected quickfix to correct signature of method with 'override' to:
- not loose annotations and other stuff
  - not include visibility modifiers into the name and into the code generated
2014-10-06 21:26:55 +04:00
Valentin Kipyatkov 89ea4d5a85 More quickfixes to use API for setting type ref 2014-10-06 21:26:55 +04:00
Valentin Kipyatkov d876e85eb2 Added API for changing type ref for function/variable and refactored code in some quickfixes to use it 2014-10-06 21:26:55 +04:00
Valentin Kipyatkov 2036b87ccf Deleted strange unused method 2014-10-06 21:26:55 +04:00
Evgeny Gerashchenko 6e8002138e Made Kotlin available for IDEA 140.* (trunk after 14.0) 2014-10-06 20:03:58 +04:00
Evgeny Gerashchenko dd0436cd3a Updated base URL for jb_update_continuous_local.
It wasn't updated on time when Kotlin was transferred from IDEA 13 to 14.
2014-10-06 19:17:31 +04:00
Nikolay Krasko 44b8e22bef More tests for generating methods from different caret positions 2014-10-06 17:53:10 +04:00
Nikolay Krasko 3c6566c1b1 Auto generate "after"-file if it's not present 2014-10-06 17:53:08 +04:00
Nikolay Krasko 60a7a57e65 Auto insert caret and selection to "after" file 2014-10-06 17:53:07 +04:00
Nikolay Krasko 27b654cc50 Refactoring: rename and make public 2014-10-06 17:53:05 +04:00
Nikolay Krasko c05d30de38 Refactoring: extract method 2014-10-06 17:53:03 +04:00
Nikolay Krasko 774af134fa Move caret to generated element and add selection 2014-10-06 17:53:02 +04:00
Nikolay Krasko a50720d74d Remove rest of whitespace on override or implement to insert generated at caret offset 2014-10-06 17:53:00 +04:00
Nikolay Krasko 03d1c64d27 KT-5103 No delegated members in Override/Implement
#KT-5103 Fixed
2014-10-06 17:52:41 +04:00
Nikolay Krasko a0404b11b0 Refactoring: use resolve session instead of binding context 2014-10-06 17:52:33 +04:00