Commit Graph

217 Commits

Author SHA1 Message Date
eknauel 9b72181b54 fix `select-list-get-selection' and avoid copying the list in `elements' 2005-05-28 12:07:21 +00:00
eknauel 4e5a41db3d Maintain a completion-set for registered command-plugins 2005-05-28 12:06:13 +00:00
eknauel 59a7a3c9ae Add a package `completion-sets' and use it `nuit' and `plugin-host' 2005-05-28 12:05:33 +00:00
eknauel c2be90dba7 make the completion code work for arbitrary set of strings (called `completion-set') 2005-05-28 12:04:26 +00:00
eknauel 7337f9b451 Import orion's `file-name-completion.scm' as `complete.scm' 2005-05-28 12:03:11 +00:00
eknauel 8bf4363a26 fix type in regexp 2005-05-28 09:43:10 +00:00
mainzelm 73e5192db0 Rework display of list-of-fs-objects?
Try to figure out common parent of objects and display files relative
to this parent.
Assume path in fs-object is always absolute.
2005-05-27 21:32:21 +00:00
mainzelm 03f482a04a errno-handler for evaluation of commands 2005-05-27 21:14:42 +00:00
eknauel 407de494d4 Implement globbing (the beginnings) 2005-05-27 17:01:14 +00:00
eknauel 4a85644f58 Add a "result screen" for showing the output of external programs. 2005-05-27 16:02:39 +00:00
mainzelm 84b5fec438 + Compute file-info of fs-object lazily
+ Capture exceptions during file-info and put #f into fs-object-info
  in this case
+ Handle fs-object-info = #f in browse-directory-list
2005-05-27 09:53:06 +00:00
mainzelm d592b417e9 Make handle-fatal-error a separate structure 2005-05-27 09:47:37 +00:00
mainzelm cb5de42a9b Use home key to toggle mode
Adapt to interaction-0.3
2005-05-27 08:11:41 +00:00
eknauel db732404dd signature of MAKE-SELECT-LIST changed, adapt. 2005-05-27 08:01:24 +00:00
mainzelm f681d13f49 Add exit, make cd smarter 2005-05-26 17:39:20 +00:00
eknauel 93c6d96922 make the browse-directory-list plugin work again, i.e. rewrite it
using select-list
2005-05-26 11:35:17 +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 e549cc27ff use the new MAKE-SELECT-LIST api 2005-05-26 11:33:38 +00:00
eknauel 5e8bdf3229 change api to MAKE-SELECT-LIST 2005-05-26 11:32:51 +00:00
mainzelm 026c86a317 Use select-list in the inspector 2005-05-25 15:18:26 +00:00
eknauel 6ef959883f add functions for accessing the current selection 2005-05-25 13:48:17 +00:00
eknauel cbf39ba61e make selection-list distinguish markable and unmarkable items 2005-05-25 11:43:46 +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 4e7e1301cb Initial version of a view plugin for exception-continuations
up and down work but you cannot select other objects yet
2005-05-24 13:57:56 +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 783bad745a code for keeping command/result histories 2005-05-22 09:19:25 +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 214a66021f close the INPUT-PORT 2005-05-18 18:56:30 +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 f1880f7a1c a start script 2005-05-18 15:25:47 +00:00
eknauel 75930fb753 use the tty-debug package 2005-05-18 15:25:16 +00:00
eknauel 867852bf16 Code for printing debug messages on a pty 2005-05-18 15:24:49 +00:00
eknauel 63ed7f8aa9 code cleanup 2005-05-17 20:19:53 +00:00
mainzelm cb680b277c Remove set! on local variables. They are just ugly. 2005-05-17 20:08:39 +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 f649bb93cc use `m' and `u' for selecting/unselecting items 2005-05-17 09:56:11 +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