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