TODO 11 KB

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