Commit Graph

26190 Commits

Author SHA1 Message Date
Alexander Udalov 542bfab96f Don't write unnecessary information to ValueParameter proto
Flags can have a default value and the index can be trivially computed almost
all the time
2015-09-29 16:26:28 +03:00
Alexander Udalov ccf72668e0 Don't write default upper bound for type parameters in protobuf 2015-09-29 16:26:27 +03:00
Alexander Udalov 6a8d0fbd75 Introduce infrastructure to separate string table from metadata on JVM
Nothing especially helpful happens here, this is only a big refactoring
introducing a separate string array for the string table, which is currently
always empty, but will contain actual strings soon
2015-09-29 16:26:27 +03:00
Alexander Udalov 5fe958f034 Add target TYPE to JVM metadata annotations 2015-09-29 16:26:26 +03:00
Alexander Udalov 89fe54c951 Remove NameResolver#getFqName, replace with getClassId 2015-09-29 16:26:26 +03:00
Alexander Udalov 7d5bd3cf50 Simplify storage of JVM signatures in binary metadata
Store the whole method & field descriptor strings. Moving these strings to
separate annotation arguments later will allow to reuse them with the ones in
the constant pool, presumably allowing to save lots of space (up to 10%)
2015-09-29 16:26:25 +03:00
Alexander Udalov 68051fa3bb Minor, refine parameter type of StringTable#getFqNameIndex 2015-09-29 16:26:25 +03:00
Alexander Udalov 5477570066 Extract interface out of NameResolver 2015-09-29 16:26:24 +03:00
Alexander Udalov da68c4d9ee Extract interface out of StringTable
Rework SerializerExtension interface: don't pass StringTable to each method
every time, create it in each extension's constructor instead and expose to
DescriptorSerializer with an interface method
2015-09-29 16:26:24 +03:00
Alexander Udalov e749bc262d Delete deprecated Type.Constructor message, advance ABI version 2015-09-29 16:26:24 +03:00
Nikolay Krasko 42eb413066 Update since to 142.5047.6 2015-09-29 15:43:02 +03:00
Stanislav Erokhin 5a61871d4b Minor. Fix testdata. 2015-09-29 13:33:57 +03:00
Stanislav Erokhin 5adec83907 Minor. Fix util function getResolutionScope. 2015-09-29 13:33:56 +03:00
Stanislav Erokhin eb5a129253 Created util function recordScope and record scope for file and value parameters. 2015-09-29 13:33:56 +03:00
Stanislav Erokhin fd503d0367 Minor. Replaced TYPE_RESOLUTION_SCOPE to LEXICAL_SCOPE 2015-09-29 13:33:55 +03:00
Mikhail Glukhikh 3d6d527d93 Synthetic 'field' variable is no more created in extension property accessors #KT-9303 Fixed 2015-09-29 13:05:19 +03:00
Mikhail Glukhikh 7b4f18035f L-value of assignment expression can now be annotated with expression-targeted annotation #KT-9154 Fixed 2015-09-29 13:05:16 +03:00
Mikhail Glukhikh f4ccb16c2e Function expressions can be now annotated with expression-targeted annotation #KT-9323 Fixed 2015-09-29 13:05:13 +03:00
Mikhail Glukhikh 4e91f2ffb7 'open' + 'private' and 'abstract' + 'private' are now incompatible for functions and properties #KT-9324 Fixed 2015-09-29 13:05:11 +03:00
Mikhail Glukhikh 7cf2840fe5 'final' is deprecated in interfaces 2015-09-29 13:05:08 +03:00
Ilya Gorbunov a55f9feacb Mark CharSequence.iterator() with operator. 2015-09-28 21:50:54 +03:00
Nikolay Krasko e92a95eebb Fix typo in extension 2015-09-28 15:58:54 +03:00
Dmitry Kovanikov 6aa300e2d3 Minor: rename Kotlin console... action name to Kotlin REPL 2015-09-28 15:54:58 +03:00
Dmitry Kovanikov 45911cff90 Add icon to Kotlin console... action 2015-09-28 15:54:57 +03:00
Dmitry Kovanikov 84c1ac8885 KT-9262: don't show warning about non-existent location after typing ':quit' 2015-09-28 15:54:56 +03:00
Dmitry Kovanikov 2020351e2e KT-9263: don't show error message when user tries to execute command in non-existed REPL console 2015-09-28 15:54:54 +03:00
Dmitry Kovanikov 5cac0da2ba KT-9249: show text representation of first shortcut inside repl placeholder 2015-09-28 15:54:53 +03:00
Dmitry Jemerov 93e2827c1a dependency on java-i18n plugin 2015-09-28 14:49:06 +02:00
Mikhail Glukhikh 3ad628522a ReplaceWith now functions correctly in built-ins #KT-9351 Fixed 2015-09-28 15:38:05 +03:00
Dmitry Jemerov ee1175d5e5 fix 'operator' modifier inspection
#KT-9349 Fixed
2015-09-28 14:35:41 +02:00
Natalia Ukhorskaya 58796da453 Extract function: render local class with debug name only in debug mode 2015-09-28 13:51:09 +03:00
Nikolay Krasko 881f1fd75e Suppress warning in proguard about jna classes 2015-09-28 11:38:08 +03:00
Nikolay Krasko da22e40fad Update to IDEA 142.5047.6 2015-09-28 11:38:08 +03:00
Natalia Ukhorskaya aa2ca1a7d5 Add missing readAction 2015-09-28 11:38:07 +03:00
Natalia Ukhorskaya 9ab4aafa01 jna-util.jar was renamed to jna-platform.jar 2015-09-28 11:38:07 +03:00
Natalia Ukhorskaya 606cf41e2a Fix compilation errors 2015-09-28 11:38:06 +03:00
Natalia Ukhorskaya 7582f1f454 Rewrite DebuggerTests (do not use FrameTree) 2015-09-28 11:38:06 +03:00
Natalia Ukhorskaya 5c04959871 Debugger: fix evaluation for local classes
#KT-5104 Fixed
2015-09-28 09:34:54 +03:00
Natalia Ukhorskaya 4fb4e0c21f Debugger: fix exception when process is resumed during stepping 2015-09-28 09:34:53 +03:00
Michael Nedzelsky 7234bf3572 get rid of internal JvmVersion annotation in kotlin-jdbc 2015-09-27 20:37:47 +03:00
Michael Nedzelsky 0035bbba7c fix check for internal from another module in imports and file level annotations 2015-09-27 20:37:41 +03:00
Yan Zhulanow 080dcf882e Minor: fix broken tests 2015-09-26 03:29:09 +03:00
Yan Zhulanow 3be050640c Fix Method.invoke() signature 2015-09-26 03:29:03 +03:00
Ilya Gorbunov a1c3b26280 Temporary revert for M14 excluding kotlin-jdbc and kotlin-swing from maven deployment 2015-09-26 00:47:49 +03:00
Ilya Gorbunov 3f34bdf483 Make JvmVersion annotation internal for now. 2015-09-26 00:46:21 +03:00
Ilya Gorbunov ee44717a41 private -> internal where it's necessary: synchronize OperationsMapGenerated and GenerateOperationsMap. 2015-09-26 00:26:59 +03:00
Ilya Gorbunov 0a24ba77b5 Add extension operators plus and minus for FileCollection to make them resolve into gradle api, rather than collection api. 2015-09-26 00:12:31 +03:00
Ilya Gorbunov 3915cfcea6 Merge Lazy's declarations in one file. 2015-09-25 23:50:55 +03:00
Zalim Bashorov 03fe293ace Minor: fix testdata 2015-09-25 22:36:01 +03:00
Ilya Gorbunov 1145cc0d1b Lazy: changes and clarifications after code-review.
LazyThreadSafety.NONE is actually *NONE* now.
2015-09-25 21:49:49 +03:00