TODO 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302
  1. Before 4.6.2
  2. ============
  3. Due to problems in the VFS, files are not written back after being edited
  4. over VFS with an external editor.
  5. Allow pathnames starting with spaces in vfs/extfs.
  6. Hide the passwords when displaying mcvfs path names.
  7. Broken pipe warning when viewing large *.tar.gz files. Warnings should
  8. be shown before the viewer is started if possible.
  9. Cannot spell check unsaved files in the editor.
  10. Dynamic loading for libgpm, libext2fs.
  11. Check if the archive was changed for extfs, tar and cpio. Free the data
  12. associated with the old archive.
  13. Use Del to remove items from history.
  14. Ctrl-q Ctrl-m in input dialog should enter \r, not a newline.
  15. Interpret C literals in regular expressions entered by the user, e.g. \r
  16. and \0x0D.
  17. Allow entering archives in VFS by Ctrl-PgDown with non-empty command
  18. line. Right now, there is no convenient way to enter an archive when
  19. the command line is not empty.
  20. Allow switching between histories of two panels. It's convenient to
  21. change to a directory from the history of the other panel.
  22. Allow calling the directory hotlist from Copy, Move and Find File
  23. dialogs. Recent directories are the obvious candidates for copying and
  24. looking for files.
  25. Allow modifiers for keys in mc.lib, like "shift-up". Right now,
  26. modifiers can be read from the terminal (if supported), but not from the
  27. config file. This change would make it possible to use modifiers even
  28. if they can only be identified by the escape sequences.
  29. When saving config files, write to a copy, then replace the file. This
  30. would avoid the problem of partly written config files. Consider using
  31. locking of the config files.
  32. Totals are not calculated when copying or moving a single directory.
  33. Totals should only be omitted for single files.
  34. Recheck all mouse handlers, make sure that they check button number. We
  35. don't want mouse scrolling to be interpreted as mouse click.
  36. Smooth mouse scrolling on panels. Scrolling one page per step is too
  37. fast.
  38. Don't read prompt from the subshell, because it's unreliable. Interpret
  39. environment variable MC_PS1 (or PS1) in the same way as bash.
  40. Support an environment variable (also like PS1 in bash) for setting the
  41. window title.
  42. real_input_dialog_help() shouldn't use translated strings in the section
  43. names in .mc/history. Right now, mc writes separate history sections
  44. for different locales. Only input history is affected.
  45. Add "Ignore" and "Ignore all" buttons when reporting permission
  46. problems.
  47. Better date parser - don't allow seconds and year in ftp listings on the
  48. same line.
  49. Report errors in fish operations and recover from them.
  50. Allow colors to be defined in the mc.lib file. Make it possible to
  51. avoid using a super-long line to redefine all colors.
  52. Allow verbatim search in "Find File". Right now, the context is always
  53. interpreted as regular expression.
  54. Filters in the editor should operate on the open file - don't close and
  55. reopen the file. They don't work on VFS now. For example, a gzipped
  56. files on FTP cannot be edited.
  57. ftp and fish with home != '/' - readjust directory to the home.
  58. Search in the viewer should have an option for case sensitive search.
  59. Make "Find File" dialog more responsive. Keep state in a structure and
  60. preserve it when the search is suspended.
  61. Use KDGKBENT ioctl on Linux console to find the mapping for shifted
  62. functional keys. Two mappings are widely used (Shift-F1 = F11 and
  63. Shift-F1 = F13). mc should adjust the keys to the mapping.
  64. Alt-O should optionally show the current directory and move cursor down
  65. (as in older versions). Old functionality on files (go to "..") is not
  66. needed.
  67. After 4.6.2 on 4.6.x branch
  68. ===========================
  69. Make the internal editor reentrant. Add "edit menu file" to the editor
  70. menu.
  71. Safe and restore file position in the viewer.
  72. Consistent support for mc.lib.
  73. Consistent support for terminal-specific settings.
  74. New syntax for mc.ext - path check, desktop environment check. Detach X
  75. programs into a separate process group. Allow forcing the full path on
  76. local files.
  77. Click on an image doesn't always work on remote vfs - local copy may
  78. be deleted before the application has time to load it.
  79. Allow running executables from remote VFS. Possibly warn the user.
  80. Add print dialog in the internal editor.
  81. Implement logging, not just for VFS.
  82. "Find file" should remember full starting path, not "." in the history.
  83. In the 4.7 branch
  84. =================
  85. Eliminate all pipes in subshell.c, run pwd after kill. Add support for
  86. more shells (e.g. ksh).
  87. Internal terminal - no more console saving.
  88. Implement a really Advanced Chown/Chmod.
  89. Support for multi-byte charsets (e.g. UTF-8).
  90. sftp and fxp support in VFS.
  91. New listing mode keyword "time": mtime or the time (atime, ctime) used
  92. to sort files.
  93. Support for X clipboard.
  94. Provide "patch" and "diff" editors. The patch editor will automatically
  95. adjust the line numbers of the following chunks when lines are deleted
  96. or inserted at the beginning of the file.
  97. Provide context menus for files. Possible actions include: [compile],
  98. [CVS commit], [CVS diff -up], [pack], [unpack], [grep].
  99. Make mc a CVS frontend comparable to Eclipse-3.0.
  100. More standard Widgets: WTreeView, WDirectoryList, WGroupBox, WTextArea,
  101. WOpenDialog, WSaveDialog, WPrintDialog, WKeyBar.
  102. ========================================================================
  103. Everything below this point is the old TODO list. It doesn't reflect
  104. the current priorities of the developers, but may contain interesting
  105. ideas still waiting for their implementation.
  106. ========================================================================
  107. * Bugs
  108. - "Files" message flickers a lot when copying files.
  109. - Make the extfs handle re-reads.
  110. - Document (or remove) C-x C-r, C-x C-s.
  111. - Check that all the help contexts exist on the help file.
  112. - Make the buttonbar for the tree box work.
  113. - In the incremental search mode, when backspacing, select the
  114. correct file, do not stop in current file.
  115. - Make C-y yank back all the killed text at once if you've just done
  116. several kill operations in a row (C-k, M-d, etc).
  117. - In learn keys, warn the user if he is trying to
  118. i) define a same sequence as an already defined (if the keycode differs)
  119. ii) define a sequence, which is a prefix of other longer and already
  120. defined sequence
  121. * Configuration
  122. * Documentation
  123. - Convert the source mc.1 to mc.sgml and create automagically from it
  124. mc.1, mc.html, mc.hlp, mc.info, mc.tex, mc.txt etc.
  125. * Extensions
  126. - Hotlist should allow people to edit the entry (like we do in the external
  127. panelize thing).
  128. - Change ext.c to allow the %{..} to recursively expand any other %thingies.
  129. - Write a general grow_string routine. This code is used in the internal
  130. viewer and would also be used in the profile.c code.
  131. - A command to set the line length to a fixed value for viewing
  132. fixed length binary files. LIST does this with Ctrl-B and then
  133. prompts for a "record" length.
  134. - Viewer: Mark all found matches, and when 'n' is pressed go to the
  135. next page, not the next match on the same screen (when there is
  136. more than one).
  137. - In ftpfs_open, extfs_open, if we set local_filename to tmpnam, use
  138. a mechanism to set local_filename to another place on the local
  139. diskspace (this would be useful for copying, so that we would save
  140. some tmp space). This would require special care in file.c afterwards.
  141. - In Listing mode... give at least three user-definable formats
  142. (using Janne's Listing mode editor) and assign hot-keys to both
  143. standard and user defined (what about c-x f [fbl123] ?).
  144. - Shift-Home, Shift-End for the input line: home and end.
  145. - Make a mechanism to lock all the mouse events and send them to
  146. the locking widget until unlocking is done.
  147. - Sort with numerical extensions.
  148. - Allow the program to execute a command even when we are on a vfs, maybe
  149. a special box, or make subshell code ignore the change directory
  150. request. Perhaps each vfs should store a local path attached to it,
  151. like in tarfs, extfs it would be the directory which contains the
  152. topmost tararchive, in ftpfs it would be the directory which we entered
  153. to ftp from.
  154. - auto_hint_lines: a variable that would choose to use hint mode when
  155. at least auto_hint_lines are visible.
  156. - Listbox: Mouse handler for the scrollbar: this will be hard with
  157. the current approach (since the listbox scrollbar is drawn *outside*
  158. the listbox control area).
  159. - In file.c, we shouldn't need to get a full path name in order to
  160. work, we should instead canon the file name inside the tar.c (the
  161. only fs that relies on this), tar.c should know about the cwd (i
  162. think).
  163. - Panelize the selected files.
  164. - Recursive delete should (perhaps as an option) delete files just after
  165. they have been copied and not to delay deleting until everything was
  166. moved.
  167. - When copying a tree (or moving or deleting), as an option act primarily
  168. on the regular files and at the end on directories recursively, so that
  169. we get complete high parts of the tree if something fails (useful for
  170. ftpfs).
  171. - Put into a new and bigger Options/Configuration dialog all the options
  172. we have now to set using .mc/ini manually.
  173. - When after deleting there are no files in a panelized panel, restore
  174. it automagically to the real directory content.
  175. - Files/Symlink and Link should be able to do multiple links (if the
  176. target is a directory).
  177. - Directory sizes should work in background using try_channels.
  178. - Support of non-UNIX ls in ftpfs. Perhaps using an ascii configuration
  179. file similar to moxftp.
  180. - Have an option to let the user choose the preferred keybindings.
  181. Currently, only the emacs keybindings are supported, add support
  182. for Norton Commander and vi keybindings.
  183. - Find command should have a way to specify directories to skip.
  184. - Add an option that will let listboxes do incremental searches.
  185. * Optimizations and cleanup
  186. - Optimize the mcfs read and write code: make the code output 8k
  187. blocks all the time (if we have called mc_hint_readall) and probe
  188. the input for a possible cancel.
  189. - When verbose is off, remove all the clutter on the screen about
  190. the files being copied.
  191. - The viewer is calling view_update in many places, I call
  192. view_update after handling a key, should all the other
  193. view_updates be removed?
  194. - If the viewer is too slow, some caching could be done.
  195. width and cols are currently computed each time they are needed.
  196. ++ In the user menu, don't use the entries array, we can now grow
  197. dynamically. I should take a look at this one day, it's easy to
  198. fix.