TODO 10 KB

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