| Commit | Date | |
|---|---|---|
|
[r4249]
by
david_costanzo
Fix bug #484; BYE now immediately exits when run at the top-level of a file that is loaded from the command-line. The heart of the fix is to make all primitives return an Unbound value when exiting to avoid the "you don't say what to do with" errors. The rest of the changes udpate all parts that of the code that evaluate Logo code to do so within a start_execution() and stop_execution() so that a "close" event can be sent if the application is exiting. |
2016-11-13 21:49:07 | Tree |
|
[r4248]
by
david_costanzo
Simplify the shutdown logic. Also fix a bug that caused the debug screensaver to have assert failure (the size of the wxTempDC needed to be set) |
2016-11-13 21:46:16 | Tree |
|
[r4247]
by
david_costanzo
Correct the names of global variables and a function in a comment (this was a copy&paste legacy from the OWL implementation). |
2016-11-13 04:30:57 | Tree |
|
[r4246]
by
david_costanzo
Fix a copy&paste error that prevented the second line of CSaveBeforeExitDialog from being wrapped. This didn't matter in practice because the second line is shorter than the wrap-size (at least in English) |
2016-11-13 04:28:33 | Tree |
|
[r4245]
by
david_costanzo
Add some comments to CWorkspaceEditor::OnClose() which explain why code calls endedit() twice. |
2016-11-13 04:26:34 | Tree |
|
[r4244]
by
david_costanzo
Fix a regression that was introduced by moving the delayed Close() call from the idle event to stop_execution() that made FMSLogo think that the workspace was dirty if you halted a program during its "startup" execution. Since it's common for a program to never return from its "startup", this regression made it so that FMSLogo would give a strange warning when any program was running. The fix was to restore the "IsDirty" flag in-between when a file is loaded and when its "startup" list is run, instead of after the startup list is run. |
2016-11-13 00:53:20 | Tree |
|
[r4243]
by
david_costanzo
Implement feature #33; Make it so that FMSLogo doesn't mind exiting while running and remove the "Logo doesn't like to exit while running" dialogs. This involved moving the delayed Close() invocation from the idle loop to the point where the evaluation engine has fully unwound. Then some logic was added to the OnClose() to halt the language engine if it is running. |
2016-11-12 22:37:43 | Tree |
| 2016-11-12 15:48:15 | Tree | |
|
[r4241]
by
david_costanzo
Simplify the exit path by removing prepare_to_exit(), which was legacy from UCBLogo that didn't make sense in FMSLogo and only obscured the shutdown mechanics. |
2016-11-12 00:59:29 | Tree |
|
[r4240]
by
david_costanzo
Add a regression test that actually runs BYE (by running it in a child instance) |
2016-11-12 00:54:15 | Tree |