Commit Graph

53 Commits

Author SHA1 Message Date
eknauel c83c1ff05b Repaint the result buffer after command evaluation. 2005-05-31 13:55:54 +00:00
mainzelm 8c9d2b7142 Select one but last element of history to evaluate
Fix call to make-standard-viewer
2005-05-31 13:39:40 +00:00
mainzelm c405bc02c5 Call constructor with arguments 2005-05-31 13:14:55 +00:00
eknauel 0adfc18986 Call the INPUT-BUFFER on return, thus, bring back the command history 2005-05-31 12:41:42 +00:00
eknauel 7b9b6c3e66 move the standard viewer to a seperate module 2005-05-31 11:20:20 +00:00
eknauel f964abb252 Fix broken message name 2005-05-31 07:58:28 +00:00
eknauel 345712d2da use an object-oriented approach for the plugins. deleted a lot of
cruft.  broke some plugins (such as browse-directory-list.scm)
2005-05-30 19:19:36 +00:00
eknauel 54230412f8 make it easier to abort the process of choosing a completion via the select-list 2005-05-30 15:38:13 +00:00
eknauel eeaaa729ac run init-executables-completion-set! in a seperate thread 2005-05-30 15:21:40 +00:00
eknauel 1e356587a4 Make completion work on (almost) all positions of the cursor in the
command line.
2005-05-30 14:08:41 +00:00
eknauel 09446473c8 Make completions for commands work. Infrastructure for completions of
arbitrary args.
2005-05-30 09:33:07 +00:00
eknauel b93e71736c A first step towards completion: Add completion for command plugins 2005-05-28 12:08:23 +00:00
mainzelm 03f482a04a errno-handler for evaluation of commands 2005-05-27 21:14:42 +00:00
eknauel 4a85644f58 Add a "result screen" for showing the output of external programs. 2005-05-27 16:02:39 +00:00
mainzelm cb5de42a9b Use home key to toggle mode
Adapt to interaction-0.3
2005-05-27 08:11:41 +00:00
eknauel eb5fff8905 propagate key-messages to plugin if result-buffer has focus? (didn't
work for the enter key...)
2005-05-26 11:34:35 +00:00
eknauel 83909af4ac new features for selection-lists: list length is now adjustable, may
be placed at arbitrary position in the result buffer
2005-05-25 11:36:12 +00:00
eknauel 0447ccfa3e Kill `browse-list' plugin. Introduce module `select-list', a library
for programming multi-page menus in the result-buffer. Remove the
print-object and make plugins return a function to paint the
result-buffer instead.
2005-05-25 09:44:27 +00:00
mainzelm c5447bc2cd Capture the raw continuation of the exception if evaluation fails 2005-05-24 13:56:41 +00:00
eknauel f8a30e3523 add some common commands (in terms of command-plugins) 2005-05-23 16:03:26 +00:00
eknauel bbb6ad7a0e If the user enters a command in command mode, search for command
plugins and execute it. Added a standard command plugin (which always
evaluates (directory-files) at the moment).
2005-05-23 14:52:03 +00:00
eknauel 9a038dc356 make eval look whether the command is evaluated in command oder scheme
mode
2005-05-23 13:22:16 +00:00
eknauel 75500100b3 add a command buffer mode indicator 2005-05-23 13:03:45 +00:00
eknauel 73e44b5fbd divide plugins into `view-plugins' and `command-plugins' 2005-05-23 12:47:41 +00:00
eknauel 428c9587cc A hacked beyond recognition patch: Move plugins to seperate modules,
put plugin api and registration into a module, add a new message-type,
make directory-files plugin work again, delete some hundred lines of
extremly silly code,
2005-05-22 15:05:25 +00:00
eknauel 87f701f59d select the plug-in for viewing a result by it's type. Currently only
works with processes.
2005-05-22 09:20:44 +00:00
eknauel 725e58f2a1 Clean up code releated for handling messages. Add a new plugin for
pps (portable ps)
2005-05-20 15:20:34 +00:00
eknauel 1e8cb9369c split result window into result-window and result-frame-window 2005-05-19 13:59:52 +00:00
eknauel ee148a86ab More fixes for the redrawing code 2005-05-18 18:55:51 +00:00
eknauel 59b2d3006f more debug output. Call INIT-WINDOWS! only once. 2005-05-18 15:47:28 +00:00
eknauel 75930fb753 use the tty-debug package 2005-05-18 15:25:16 +00:00
eknauel 63ed7f8aa9 code cleanup 2005-05-17 20:19:53 +00:00
eknauel 03f535f0f2 Now that we have two windows for the command buffer clearing the
window is easier
2005-05-17 15:20:41 +00:00
eknauel 3669859bb9 add window `command-frame-window' which surrounds `command-window' and
holds the border.
2005-05-17 15:02:01 +00:00
eknauel b161acf8cf small fixes for redrawing 2005-05-17 13:17:51 +00:00
eknauel 0a2c373bc0 Use sunterlib's INSPECT-EXCEPTION package for debugging. Fix a crash
when switching from result buffer to command buffer.
2005-05-17 09:22:07 +00:00
eknauel 03ffcf8280 Minor code clean-up, fix more redrawing stuff 2005-05-17 09:00:33 +00:00
eknauel 88e805e52a Fix cursor position after switching buffers 2005-05-17 08:07:23 +00:00
eknauel 31e0415c39 Keep the state of the command-buffer in a BUFFER record. (before: a
bunch of variables)
2005-05-11 13:30:51 +00:00
eknauel 1f50c28485 Fix more repainting bugs 2005-05-11 08:40:46 +00:00
eknauel ddaf279938 Fix update of cursor position in an extremly ugly faishon. 2005-05-11 08:21:02 +00:00
eknauel 7dd48a3e47 Fix repainting if buffer focus switches 2005-05-11 06:59:13 +00:00
eknauel c4ef6ed09d Change representation of ACTIVE-BUFFER 2005-05-11 06:54:03 +00:00
eknauel 2353335d5e First try to split up PAINT into multiple functions, thus, allowing to
repaint only parts of the screen. However, this commit introduces some
funny display bugs. ;-)
2005-05-10 19:37:54 +00:00
eknauel 599021b937 split PAINT into PAINT and WAIT-FOR-INPUT. Call PRINT-RESULT-BUFFER
to redraw only the result-buffer.
2005-05-10 16:06:06 +00:00
eknauel c9f6b17692 Use PageUp/PageDown for navigating the result history 2005-05-10 15:37:39 +00:00
demattia 33558ab23d added redo to shortcuts 2004-10-17 10:08:58 +00:00
demattia 06ef0c8a1f more modularityand modified shortcuts 2004-10-14 11:58:20 +00:00
demattia c41e53c747 new commands added 2004-10-10 13:22:25 +00:00
demattia b046dc8592 now using input-buffer.scm from scsh-ncurses 2004-10-06 13:00:59 +00:00