Commit Graph

4698 Commits

Author SHA1 Message Date
Stepan Koltsov 829173d5ec di: shortcut to initialize constant enum fields 2012-04-07 06:32:18 +04:00
Stepan Koltsov b596c6d81a attach asm sources to idea sdk 2012-04-07 06:32:18 +04:00
Stepan Koltsov 157633e371 useful assertions in backend 2012-04-07 06:32:17 +04:00
Stepan Koltsov 9b120184f5 make AltClassFinder parameterized
(class will be reused to find builtins)
2012-04-07 06:32:17 +04:00
Evgeny Gerashchenko 3b7b492a0b Added workspace.xml of example-vfs to .gitignore 2012-04-06 22:53:25 +04:00
Evgeny Gerashchenko 172809fa70 Changed project format for example-vfs to directory-based. 2012-04-06 22:53:25 +04:00
Evgeny Gerashchenko fab14cc398 Made example-vfs compilable and workable. 2012-04-06 22:53:25 +04:00
Evgeny Gerashchenko 77b6a5f7b1 Replaced stdlib module with corresponding library. 2012-04-06 22:53:25 +04:00
Svetlana Isakova cd1221b1b2 fix in 'protected' visibility check 2012-04-06 20:42:51 +04:00
Svetlana Isakova 63af29fedb do not create fake descriptors when override private functions 2012-04-06 20:42:51 +04:00
Svetlana Isakova 2de69d8cd8 stop resolution if ambiguity is found 2012-04-06 20:42:51 +04:00
Evgeny Gerashchenko f6d8771f79 Added vararg parameter and parameter with default value to DescriptorRendererTest. 2012-04-06 20:04:57 +04:00
Evgeny Gerashchenko 83bd57184d Added test cases for classes, its members, function and tuple types to DescriptorRendererTest. 2012-04-06 20:04:57 +04:00
Evgeny Gerashchenko da9973a822 Added rendering visibility in DescriptorRenderer. 2012-04-06 20:04:57 +04:00
Evgeny Gerashchenko c21e3b837a Added rendering annotation class. 2012-04-06 17:26:09 +04:00
Evgeny Gerashchenko 2c3ff4357e Added simple DescriptorRendererTest checking for global functions and properties. 2012-04-06 17:24:30 +04:00
Evgeny Gerashchenko 9794c0f730 Extracted getting test metadata from comment lines from LibrariesWithSourcesTest to JetTestUtils. 2012-04-06 17:22:24 +04:00
Evgeny Gerashchenko 5b7323697a Added refreshing test data dir in AbstractLibrariesTest. 2012-04-06 14:52:44 +04:00
Nikolay Krasko 4d19fd05b1 KT-1702 Renaming file causes "Operation not supported" and invalid imports
(Rename problem was caused because of invalid reference to file from package. Fix contains:
 - Change structure of references in package expression - last part is also a reference now
 - Resolve packages to expression but not to files)

  #KT-1702 fixed
2012-04-06 14:46:23 +04:00
Svetlana Isakova 1372d70466 tests for incomplete code exceptions 2012-04-06 11:56:37 +04:00
Svetlana Isakova 8d5965649b NPE on incomplete code from EA 2012-04-06 11:49:45 +04:00
James Strachan ca7ff2e2e4 fix bad pom parent 2012-04-05 18:43:48 +01:00
Evgeny Gerashchenko f0b709552a Added restoring global state after NamesHighlightingTest. 2012-04-05 21:14:11 +04:00
James Strachan 5dcd6abcf6 removed cruft from the API website generation and now have a separate JS API build (as it fails right now) 2012-04-05 16:38:51 +01:00
Evgeny Gerashchenko 9ac37f712a Fixed navigation to sources when FQ name is present in several files.
#KT-1681 fixed
2012-04-05 19:24:55 +04:00
Evgeny Gerashchenko 2da41a9e35 Added test for navigating to library sources when same function FQ name is defined in separate source files.
#KT-1681 in progress
2012-04-05 19:24:55 +04:00
Evgeny Gerashchenko 793fdd4f55 Added file to test library used in LibrariesWith[out]SourcesTests. 2012-04-05 19:24:55 +04:00
Evgeny Gerashchenko 9918e4a723 Made LibrariesWithSourcesTest possible to be executed with multi-file test library. 2012-04-05 19:24:55 +04:00
Evgeny Gerashchenko 33320075d6 Added test checking names highlighting. 2012-04-05 19:24:55 +04:00
Evgeny Gerashchenko acbeae64ee Fixed highlighting of reference to "this" and extension properties. 2012-04-05 19:24:55 +04:00
James Strachan 068b542208 fixed up readme 2012-04-05 16:22:59 +01:00
James Strachan a40f9ee9b1 refactored the maven project structure so that things are in a simpler tree structure to avoid folks getting lost 2012-04-05 16:20:06 +01:00
James Strachan 937b5ac16d added first spike of a kdoc maven plugin for generating API docs for kotlin projects 2012-04-05 15:46:01 +01:00
James Strachan 59b8829657 enabled multiple source directories 2012-04-05 15:46:01 +01:00
James Strachan 92df93a9db enabled multiple source directories in the KotlinCompiler (we should refactor later to remove src - wanted to minimise breaking things first though :) 2012-04-05 15:46:01 +01:00
Svetlana Isakova 7863b1398e Resolve invisible references and mark them 'invisible' instead of mark them 'unresolved' 2012-04-05 18:36:46 +04:00
Svetlana Isakova aa568a3ceb lost during merge commit: Highlight invisible references like unresolved 2012-04-05 18:36:46 +04:00
James Strachan 698c6cc7bc added an initial spike of a swing library for kotlin to help create swing UIs using nice kotlin builder syntax 2012-04-05 13:02:52 +01:00
James Strachan ed8836d170 refactor test case to work around a compiler bug that was failing a test 2012-04-05 12:54:51 +01:00
James Strachan fefcd1e5df added a helper method to make it really easy to create a Runnable from a function 2012-04-05 11:56:28 +01:00
James Strachan 0a7a168e0d provided a helper method to create a new TimerTask from a function block and added a simple test case for using timers 2012-04-05 08:44:01 +01:00
James Strachan 0b813e131f added simpler take() implementation 2012-04-04 19:40:40 +01:00
Evgeny Gerashchenko b4cf0bff96 Split on big fat test case in LibrariesWithSourcesTest into several smaller ones. 2012-04-04 20:25:22 +04:00
Nikolay Krasko 68312a71e3 fix tests 2012-04-04 20:18:45 +04:00
Nikolay Krasko 5312ecd8d4 Merge pull request #37 from Frostman/override-inherit-visibility
Override/Implement actions are now inherits visibility.
 #KT-1724 fixed
2012-04-04 08:42:56 -07:00
Svetlana Isakova 16c6935d91 added 'public' annotation to library functions 2012-04-04 19:19:02 +04:00
Sergey Lukjanov d4cce32008 Override/Implement actions are now inherits visibility. 2012-04-04 19:15:25 +04:00
Svetlana Isakova 0ec24f5e3d test fix 2012-04-04 19:02:26 +04:00
Svetlana Isakova c321ffe39b fix for tests to work (all library functions should be done 'public' later) 2012-04-04 19:02:26 +04:00
Svetlana Isakova 5520e1a2b0 'AbstractStringBuilder' has package private, so cannot be used in tests 2012-04-04 19:02:26 +04:00