TODO 11 KB

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