Commit Graph

12391 Commits

Author SHA1 Message Date
Andrey Breslav e8142d6464 Extract method: initApplication 2013-10-15 15:01:35 +04:00
Andrey Breslav f05f3f5686 Let the user know that class object bounds are not supported
KT-4080 Code analisys show all good, but got compile error

#KT-4080 Fixed
2013-10-15 14:45:22 +04:00
Mikhael Bogdanov 6154464050 Test framework fix: Load kotlin test classes in separate class loader 2013-10-14 17:30:27 +04:00
Nikolay Krasko 7d7352954e Fix absence of highlighting for 'as', 'in', 'is' keywords 2013-10-14 16:15:31 +04:00
Andrey Breslav 5175b8444f Build a special compiler jar for maven that contains the runtime as well 2013-10-14 14:42:26 +04:00
Andrey Breslav 765cab2283 Downloading OS-specific build of IDEA and set +x permissions 2013-10-14 14:42:25 +04:00
Andrey Breslav 6d840d4b48 Rename 2013-10-14 14:42:25 +04:00
Andrey Breslav 48052e99ae Bootstrap runtime used as an external dependency to the compiler 2013-10-14 14:42:25 +04:00
Andrey Breslav 692bdb2999 'runtime' module removed from the artifact 2013-10-14 14:42:25 +04:00
Andrey Breslav cd275fd814 'runtime' module replaced by 'kotlin-runtime' library 2013-10-14 14:42:25 +04:00
Andrey Breslav 00c375b290 Add missing annotation classes 2013-10-14 14:42:25 +04:00
Andrey Breslav d47109b928 Do not write 'jet.volatile' annotation to class files
ProGuard fails when it sees a class named 'volatile'
2013-10-14 14:42:25 +04:00
Andrey Breslav 41180d78e2 Do not fail with NPE if a class is not found in preloader 2013-10-14 14:42:25 +04:00
Andrey Breslav a6b89b8874 Add kotlin-runtime to compiler classpath 2013-10-14 14:42:25 +04:00
Andrey Breslav 60425b15e6 Support circular dependencies
We generate a module script with information on all modules in the chunk, then build the whole chunk as "one big module"
2013-10-14 14:42:24 +04:00
Andrey Breslav d5b08d4f1c Support building many modules "as one": merging all the paths etc
This is for a workaround implementation of support for mutually dependent modules
2013-10-14 14:42:24 +04:00
Alexey Sedunov eff62bfd83 KT-4008 'Replace if with when' is available but does not work 2013-10-11 17:24:07 +04:00
Erokhin Stanislav e05e616158 JS backend: fix StringBuilder append #KT-4064 Fixed 2013-10-11 15:47:43 +04:00
Erokhin Stanislav 768289b913 JS backend: fix class object in trait #KT-4062 Fixed 2013-10-11 14:44:56 +04:00
Alexander Udalov e6259deb8c Minor, use List<File> directly instead of Function0 2013-10-10 20:28:22 +04:00
Alexander Udalov 102ced153c Remove binary test data from completion tests
Delete CompileBinaryTestData script, since there are no tests with binary test
data left in the repository
2013-10-10 20:28:22 +04:00
Alexander Udalov 47ce2f7fe8 Remove binary test data for tests with broken jars 2013-10-10 20:28:22 +04:00
Alexander Udalov 475551f54a Remove binary test data for some tests
Launch CLICompiler instead to compile it
2013-10-10 20:28:22 +04:00
Alexander Udalov c936136341 Refactor CompileKotlinAgainstCustomBinariesTest
Each test now supplies its own classpath producer, which for now finds all jars
in the test data directory, but later will compile them using CLICompiler
2013-10-10 20:28:22 +04:00
Alexander Udalov 1d93ab41d2 Merge two tests with almost the same logic 2013-10-10 20:28:22 +04:00
Alexander Udalov 9e8a8e852c Refactor CompileKotlinAgainstBinariesCustomTest
Extract common logic, add NotNull annotations
2013-10-10 20:28:21 +04:00
Alexander Udalov f8201c6aa9 Refactor TopLevelMembersInvocationTest
Compile library dependencies in the test instead of storing them as jars in the
repository. Reuse MockLibraryUtil, move it from idea tests to compiler-tests
2013-10-10 20:28:21 +04:00
Alexander Udalov a2c74d4324 Refactor OverrideImplementWithLibTest
Use JdkAndMockLibraryProjectDescriptor instead of a jar file, which needs to be
regenerated every time binary format changes
2013-10-10 20:28:21 +04:00
Andrey Breslav 8424e7f5c7 Fix smoke test 2013-10-10 18:59:37 +04:00
Andrey Breslav 4bc0f8280f Rename variable 2013-10-10 17:49:17 +04:00
Andrey Breslav 68e2e9b4fc Ability to direct output of different modules to different directories 2013-10-10 17:49:17 +04:00
Andrey Breslav 2a8ebc7dbe Do not report the output twice 2013-10-10 17:49:17 +04:00
Andrey Breslav 9e0e67d19d Refactoring: common logic extracted and moved to a util class 2013-10-10 17:49:17 +04:00
Andrey Breslav d4a89d04d7 Each module carries its output directory 2013-10-10 17:49:17 +04:00
Andrey Breslav 4d482f2f14 Class file factory remembers sources for each class 2013-10-10 17:49:16 +04:00
Andrey Breslav f529e5d2aa ModuleChunks introduced 2013-10-10 17:49:16 +04:00
Mikhael Bogdanov 468e5f8945 Properly name packageFragments and packageFacade 2013-10-10 16:36:54 +04:00
Mikhael Bogdanov 8f8017981b StaticDelegationKind removed 2013-10-10 16:36:37 +04:00
Mikhael Bogdanov 89d99c6fc7 Do done on classBuilder 2013-10-10 16:35:10 +04:00
Mikhael Bogdanov bcc14effb5 NamespaceCodegen refactoring 2013-10-10 16:35:07 +04:00
Mikhael Bogdanov d4b84a8809 ScriptCodegen refactoring: unsingleton 2013-10-10 16:17:10 +04:00
Andrey Breslav 08a90ba7d4 Fixing EA-50643 - NPE: PropertyCodegen.generateBackingField
Do not return null as a method/field visitor
2013-10-10 14:06:20 +04:00
Natalia Ukhorskaya 31fa1383ba Check if gradle module has kotlin runtime classes in module classpath 2013-10-10 13:55:34 +04:00
Andrey Breslav a47d187c7a Useless method and parameter removed 2013-10-09 19:16:43 +04:00
Andrey Breslav 94ef5cb19b Rename: SIGNATURES -> LIGHT_CLASSES 2013-10-09 19:16:43 +04:00
Andrey Breslav 1819825e54 "builtins/stubs" mode removed from backend 2013-10-09 19:16:43 +04:00
Andrey Breslav 7123905e96 Support for "builtins/stubs" mode removed from cli 2013-10-09 19:16:43 +04:00
Natalia Ukhorskaya 04a5e905df Load Maven version from search.maven.org 2013-10-09 13:03:13 +04:00
Andrey Breslav 3071b58219 Use a built-in class to mitigate a naming problem in Android tests 2013-10-09 11:47:58 +04:00
Andrey Breslav 135034ea86 Use <withKotlin/> instead of a separate task 2013-10-08 21:52:09 +04:00