[jira] Created: (BOO-1191) booish crashes after /help, /globals, /load and /save

View: New views
2 Messages — Rating Filter:   Alert me  

[jira] Created: (BOO-1191) booish crashes after /help, /globals, /load and /save

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

booish crashes after /help, /globals, /load and /save
-----------------------------------------------------

                 Key: BOO-1191
                 URL: http://jira.codehaus.org/browse/BOO-1191
             Project: Boo
          Issue Type: Bug
          Components: Command line tools
    Affects Versions: 0.9.1
         Environment: Windows XP SP3, CLR 2.0.50727.3082
            Reporter: Richard Hubers
            Priority: Minor
         Attachments: booish.patch

After typing /help, /globals, /load and /save, which result in a double prompt (>>>>>>), and typing 1 character, booish crashes when the Backspace key is pressed.

I tracked this down to \src\Boo.Lang.Interpreter\InteractiveInterpreter2.boo: in the TryRunCommand() method all invocations of ConsolePrintPrompt() can be removed, because ConsoleLoopEval(), which invokes TryRunCommand(), also invokes ConsolePrintPrompt(), hence the double prompt. Because of this double prompt the length of the line being edited is miscalculated.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Closed: (BOO-1191) booish crashes after /help, /globals, /load and /save

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/BOO-1191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rodrigo B. de Oliveira closed BOO-1191.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: 0.9.3

Fixed in rev. 3427. Thanks for the patch!

> booish crashes after /help, /globals, /load and /save
> -----------------------------------------------------
>
>                 Key: BOO-1191
>                 URL: http://jira.codehaus.org/browse/BOO-1191
>             Project: Boo
>          Issue Type: Bug
>          Components: Command line tools
>    Affects Versions: 0.9.1
>         Environment: Windows XP SP3, CLR 2.0.50727.3082
>            Reporter: Richard Hubers
>            Priority: Minor
>             Fix For: 0.9.3
>
>         Attachments: booish.patch
>
>
> After typing /help, /globals, /load and /save, which result in a double prompt (>>>>>>), and typing 1 character, booish crashes when the Backspace key is pressed.
> I tracked this down to \src\Boo.Lang.Interpreter\InteractiveInterpreter2.boo: in the TryRunCommand() method all invocations of ConsolePrintPrompt() can be removed, because ConsoleLoopEval(), which invokes TryRunCommand(), also invokes ConsolePrintPrompt(), hence the double prompt. Because of this double prompt the length of the line being edited is miscalculated.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email