TODO 12 KB

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