Commit Graph

44 Commits

Author SHA1 Message Date
Pavel V. Talanov d0097c85d3 Repl: enhance test framework to wait for commands to be processed, not some text to appear 2015-10-26 20:17:45 +03:00
Pavel V. Talanov 03c3fd2c2b Repl: correctly handle readLine() 2015-10-26 20:17:44 +03:00
Pavel V. Talanov 6237e516d4 Repl: fix a problem where handling an incomplete message led to xml parsing exception 2015-10-26 20:17:43 +03:00
Pavel V. Talanov e20bcbde53 Repl: keep track of command entries which were already processed
Fixes race condition
2015-10-26 20:17:43 +03:00
Pavel V. Talanov 0fe3ef7cf4 Repl: refactor ide code
More accurate class names
Move all shared state to KotlinConsoleRunner class
2015-10-26 20:17:42 +03:00
Pavel V. Talanov b5dfbcdde8 Repl, minor: extract function 2015-10-26 20:17:40 +03:00
Dmitry Jemerov d6a3870101 rename Kt to Kotlin in KtType, KtIcons 2015-10-20 16:23:31 +02:00
Dmitry Jemerov 49033e0002 rename Jet* classes to Kt* 2015-10-19 21:35:30 +02:00
Mikhail Glukhikh f61aa18a05 Code cleanup: get rid of _ (mostly renamed to arg) 2015-10-19 15:24:42 +03:00
Mikhail Glukhikh 6914d09297 Old backing field with dollar is now forbidden 2015-10-09 21:06:26 +03:00
Dmitry Jemerov c5d3673b6b change the ID of the language from "jet" to "kotlin"; rename JetLanguage to KotlinLanguage 2015-10-06 16:14:07 +02: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 Kovanikov e26fe0b080 Disable completion in repl 2015-09-22 21:11:56 +03:00
Dmitry Kovanikov 87969f1660 Minor: change repl.ideMode property name to kotlin.repl.ideMode 2015-09-22 21:11:55 +03:00
Dmitry Kovanikov 8aa701ec2d [ide-console] Minor: highlight error if its range offsets are equal 2015-09-21 14:41:37 +03:00
Dmitry Kovanikov cc2e320228 [cli-repl] More accurate line breaks handling 2015-09-21 14:41:36 +03:00
Dmitry Kovanikov ad49272b3b [ide-console] Minor: change pathSeparator variable 2015-09-21 14:41:34 +03:00
Pavel V. Talanov 30d675d49f Repl: fix paths on windows 2015-09-21 14:41:34 +03:00
Dmitry Kovanikov 3f44fe5955 [cli-repl] Optimize System.in to send "change indicator" message only when readLine is called 2015-09-21 14:41:32 +03:00
Dmitry Kovanikov 1f4fab0047 [ide-console] Add all paths of compiled module (production, test) 2015-09-21 14:41:32 +03:00
Dmitry Kovanikov 9bf0c8453d [cli-repl][ide-console] Add logging of internal errors
Rename `jvmStatic` to `@JvmStatic`
2015-09-21 14:41:30 +03:00
Dmitry Kovanikov 38285496cb [ide-console] Different refactoring
No more redundant trims and adding of line breaks
Remove concurrent map from editors
Rename IconPack to IconWithTooltip
Some minor changes
2015-09-21 14:41:30 +03:00
Dmitry Kovanikov bd52462420 [ide-console] Add tooltips to all icons 2015-09-21 14:41:29 +03:00
Dmitry Kovanikov b4224bf9f3 [ide-console][cli-repl] Add more icons for readLine commands 2015-09-21 14:41:29 +03:00
Dmitry Kovanikov 42c0396308 [cli-repl] Support readLine() during repl session 2015-09-21 14:41:27 +03:00
Dmitry Kovanikov 6d8c6857b8 [ide-console] Add folding to history commands 2015-09-21 14:41:26 +03:00
Dmitry Kovanikov 48866fbeeb [ide-console] Remove INCOMPLETE support from ide console 2015-09-21 14:41:25 +03:00
Dmitry Kovanikov fcc5fa13f3 [ide-console] Move warning messages about compilation inside consoleView 2015-09-21 14:41:25 +03:00
Dmitry Kovanikov 058b539004 [ide-console][cli-repl] Decorations for smooth console view
Icons on history commands
Linebreaks between `command-result` blocks
Exceptions stacktrace and icons
Bold invitation
2015-09-21 14:41:24 +03:00
Dmitry Kovanikov 3271fae7ac [ide-console] Show warning notification after Build and Restart action in case of failed compilation 2015-09-21 14:41:24 +03:00
Dmitry Kovanikov 43f3c9d603 [ide-console] Disable setting of moduleInfo to console editor JetFile 2015-09-21 14:41:23 +03:00
Dmitry Kovanikov 740f311af6 [test] Fix testOnRunPossibility 2015-09-21 14:41:22 +03:00
Dmitry Kovanikov 3152792860 [ide-console][bug-fixes] Disable process on closed dialog window
Fix history bugs (lost completion focus, occasional flush)
Faster incomplete icon change
Correct console window title
Other small gui decorations
2015-09-21 14:41:22 +03:00
Dmitry Kovanikov b19010184a [ide-console] String constants small refactoring 2015-09-21 14:41:21 +03:00
Dmitry Kovanikov 27e015c406 [ide-console] Add 'Build and restart' button on console toolbar; 'build and restart' warning notification for outdated classes with action link 2015-09-21 14:41:20 +03:00
Dmitry Kovanikov 5548647fd3 [ide-console] Choose module popup dialog 2015-09-21 14:41:20 +03:00
Dmitry Kovanikov a17363459a [cli-repl][ide-console] Show runtime errors in IDE console 2015-09-21 14:41:19 +03:00
Dmitry Kovanikov e23441907c [cli-repl][ide-console] Correct escaping 2015-09-21 14:41:19 +03:00
Dmitry Kovanikov e4ffe8b145 [ide-console] Load repl with module and its dependencies classpath 2015-09-21 14:41:18 +03:00
Dmitry Kovanikov cb5ff094bf [ide-console] Highlight repl process output
Add icons on gutter
Send messages to process in xml
2015-09-21 14:41:17 +03:00
Dmitry Kovanikov cb1756f5fa [cli-repl] Error render and XML-interop with IDE console 2015-09-21 14:41:17 +03:00
Dmitry Kovanikov a11f411f7d Add kotlin console repl 2015-09-21 14:41:16 +03:00