TODO 9.3 KB

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