Commit Graph

3923 Commits

Author SHA1 Message Date
Natalia.Ukhorskaya da17475ae6 Pack runtime sources to separate jar 2013-09-25 14:18:41 +04:00
Natalia.Ukhorskaya 55bae03177 Don't show separator in CreateLibrary dialog when paths aren't shown 2013-09-25 14:17:40 +04:00
Alexander Udalov da1325f5cc Add a script to regenerate binary test data (jars) 2013-09-24 20:33:00 +04:00
Alexander Udalov 1de637c143 Regenerate compiled testData
Add sources and instructions to tests which had compiled jars in the testData.
PLEASE ALWAYS ADD SOURCES for tests with jars.

Delete runtime, stdlib and their sources from these jars -- PLEASE DO NOT PUT
kotlin-runtime.jar INTO TEST DATA JARS: every such jar is around 1Mb, it spoils
the repository
2013-09-24 20:32:07 +04:00
Andrey Breslav 4644858b11 @NotNull propagated to JetVisitor implementations 2013-09-24 07:05:21 -07:00
Andrey Breslav e829ef8304 JetPsiPrecedences rewritten in Kotlin 2013-09-24 07:05:20 -07:00
Andrey Breslav fc70a65f99 Support 'suppress for statement' quick fix
#KT-3319 Fixed
2013-09-24 07:05:20 -07:00
Andrey Breslav a13b66c58e 'Suppress warnings' as quick fix options
If no quick fix is available a special intention is shown
2013-09-24 06:58:41 -07:00
Andrey Breslav 97435a4266 Rename class: AbstractDiagnosticFactory -> DiagnosticFactory 2013-09-24 06:58:40 -07:00
Andrey Breslav 1948fb4c36 @Nullable/@NotNull added to various classes 2013-09-24 06:58:40 -07:00
Andrey Breslav 2d01e93fa4 Make formatter put no indent after a line break inside/after a modifier list 2013-09-24 06:58:40 -07:00
Andrey Breslav 8952365ae3 Formatter test is generated now 2013-09-24 06:58:40 -07:00
Andrey Breslav 887e4276ee getDiagnostics() in BindingContext returns Diagnostics rather than List<Diagnostic> 2013-09-24 06:58:39 -07:00
Andrey Breslav b98d05bd73 'suppress' annotation added to built-ins
#KT-3319 In Progress
2013-09-24 06:58:39 -07:00
Nikolay Krasko 286eecffc5 KT-4000 Class name completion is not available inside call expressions
#KT-4000 Fixed
2013-09-24 16:54:27 +04:00
Nikolay Krasko 24794741ff Testing auto imports work in calls
#KT-4000 In Progress
2013-09-24 16:54:26 +04:00
Nikolay Krasko 143d8d945c Rewrite isFirstPartInQualified to work properly inside call expressions
#KT-4000 In Progress
2013-09-24 16:54:25 +04:00
Nikolay Krasko ed250198d8 Revert replacing "NUMBER" to "INVOCATION_COUNT" and replace "TIME" to "INVOCATION_COUNT" 2013-09-24 16:54:25 +04:00
Zalim Bashorov d4924b58b1 JS backend: generate sourcemap in IDEA every time. 2013-09-20 17:21:15 +04:00
Natalia.Ukhorskaya f34003deac Fix exception when there is a non-configured library 2013-09-20 17:10:23 +04:00
Natalia.Ukhorskaya 9cbe0ef8c5 Fix absent UnsupportedAbiVersionNotification 2013-09-20 17:10:21 +04:00
Natalia.Ukhorskaya b0236b2dc3 Fix lexical mismatch 2013-09-19 17:55:23 +04:00
Alexey Sedunov ecab2a2039 Implement extension of method usages search to cover usages of overriding functions in Kotlin 2013-09-19 16:01:31 +04:00
Zalim Bashorov ebecc7b8ac J2K: Convert a Java code from clipboard only when paste it (to Kotlin file) instead of when copy to clipboard. 2013-09-18 21:25:09 +04:00
Alexander Udalov 43596f7450 Move utilities from 'frontend' to 'util'
They're also used in 'serialization'
2013-09-18 17:21:12 +04:00
Alexander Udalov 8e59e789dc Extract util.runtime module out of util
Cleanup module dependencies: a lot of modules depended on 'frontend.java' just
to use something from 'util' module, exported by 'frontend.java', whereas they
really need nothing from 'frontend.java'. Also 'frontend.java' just exported
'util', not using anything from it.

Create a new 'util.runtime' module, which will be available at runtime. Make
'util' export 'util.runtime' and make all modules who needed these utils depend
on 'util' directly instead of 'frontend.java'
2013-09-18 17:21:11 +04:00
Alexander Udalov 15efeaba22 Use 'generators' module and its dependencies for 'All Tests' 2013-09-18 17:21:11 +04:00
Alexander Udalov b7f1e61be9 Add JetType.isError()
Instead of ErrorUtils.isErrorType() which does several instanceof checks anyway
2013-09-18 16:41:48 +04:00
Alexander Udalov bab8fafd7b Minor, delete useless class 2013-09-18 16:41:48 +04:00
Alexander Udalov 5f930bca31 Move Renderer to org.jetbrains.jet.renderer 2013-09-18 16:41:47 +04:00
Alexander Udalov 54ee7456ce Extract LazyResolveStorageManager interface
StorageManager will be available at runtime, thus it can't depend on
BindingTrace
2013-09-18 16:40:35 +04:00
Alexander Udalov f35472414b Move FunctionDescriptorUtil out of descriptors/ 2013-09-18 16:40:35 +04:00
Alexander Udalov d0a9464504 Refactor DescriptorUtils
Remove dependency on org.jetbrains.jet.lang.psi, move utilities closer to their
usages, add NotNull annotations, fix formatting, etc.
2013-09-18 16:40:35 +04:00
Natalia.Ukhorskaya 9351369052 Check that maven module already has library in dependency
#KT-3991 Fixed
2013-09-18 15:08:47 +04:00
Natalia.Ukhorskaya 1a7a59c0a0 Change Configure Kotlin notification text 2013-09-18 15:08:46 +04:00
Natalia.Ukhorskaya e5b7ba3060 Update UI for Configure Kotlin Dialog 2013-09-18 15:08:46 +04:00
Natalia.Ukhorskaya 8cc1617790 Small improvements in Configure Kotlin dialogs 2013-09-17 18:21:53 +04:00
Natalia.Ukhorskaya 1651dbe496 Align paths in Configure Kotlin dialog 2013-09-17 18:21:52 +04:00
Natalia.Ukhorskaya dee186de08 Remove checkbox for copying js implementation files in 'Configure Kotlin as Javascript' dialog 2013-09-17 18:21:51 +04:00
Natalia.Ukhorskaya 706aa039dc Align modules in Configure Kotlin dialog 2013-09-17 18:21:50 +04:00
Natalia.Ukhorskaya 4e0449a7a4 Change separators in Configure Kotlin notification 2013-09-17 18:21:49 +04:00
Natalia.Ukhorskaya 2df11a11f2 Move kotlin file in Gradle project only under source root in same module 2013-09-17 18:21:48 +04:00
Natalia.Ukhorskaya 8a0ef93ac4 Show IncorrectSourceRootName notification for gradle project also 2013-09-17 18:21:47 +04:00
Evgeny Gerashchenko 1ed168fd14 Removed IDE templates from completion, replaced them with keywords. 2013-09-17 18:09:59 +04:00
Evgeny Gerashchenko 31a712b424 Removed IDE templates support from plugin. 2013-09-17 18:09:59 +04:00
Nikolay Krasko 4477dadcd1 Fix the end of the replaced identifier for completion with tab char
Stop removing (, ), {, }, + and so on.
2013-09-17 15:11:29 +04:00
Nikolay Krasko 839df96200 Refactoring: change test data directive 2013-09-16 17:23:28 +04:00
Nikolay Krasko 29448c149c Fix patterns - escape for the dots 2013-09-16 17:23:28 +04:00
Nikolay Krasko c2ca8b618d Order properties before keywords 2013-09-16 17:23:26 +04:00
Nikolay Krasko b0acf758bc Give more priority to declarations from the same file 2013-09-16 17:23:26 +04:00