Just a little correction at the it.po file.
[midnight-commander.git] / src / TODO
blob98aeb31287840debab7afcadff4926596476752f
1 Before 4.6.1
2 ============
4 Cannot spell check unsaved files in the editor.
6 Dynamic loading for libgpm, libext2fs.
8 Check if the archive was changed for extfs, tar and cpio.  Free the data
9 associated with the old archive.
11 Use Del to remove items from history.
13 Ctrl-q Ctrl-m in input dialog should enter \r, not a newline.
15 Interpret C literals in regular expressions entered by the user, e.g. \r
16 and \0x0D.
18 Changing directory while in the editor shouldn't affect the path where
19 the editor saves its files.
21 Allow entering archives in VFS by Ctrl-PgDown with non-empty command
22 line.  Right now, there is no convenient way to enter an archive when
23 the command line is not empty.
25 Allow switching between histories of two panels.  It's convenient to
26 change to a directory from the history of the other panel.
28 Allow calling the directory hotlist from Copy, Move and Find File
29 dialogs.  Recent directories are the obvious candidates for copying and
30 looking for files.
32 Allow modifiers for keys in mc.lib, like "shift-up".  Right now,
33 modifiers can be read from the terminal (if supported), but not from the
34 config file.  This change would make it possible to use modifiers even
35 if they can only be identified by the escape sequences.
37 When saving config files, write to a copy, then replace the file.  This
38 would avoid the problem of partly written config files.  Consider using
39 locking of the config files.
41 Totals are not calculated when copying or moving a single directory. 
42 Totals should only be omitted for single files.
44 Add support for mouse wheel with gpm.  Latest versions of gpm (1.20)
45 have mose wheel support.
47 Recheck all mouse handlers, make sure that they check button number.  We
48 don't wan't mouse scrolling to be interpreted as mouse click.
50 Smooth mouse scrolling on panels.  Scrolling one page per step is too
51 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.
56 Support an environment variable (also like PS1 in bash) for setting the
57 window title.
59 real_input_dialog_help() shouldn't use translated strings in the section
60 names in .mc/history.  Right now, mc writes separate history sections
61 for different locales.  Only input history is affected.
63 Hard links in cpio archives have 0 length.
65 Add "Ignore" and "Ignore all" buttons when reporting permission
66 problems.
68 Better date parser - don't allow seconds and year in ftp listings on the
69 same line.
71 Report errors in fish operations and recover from them.
73 Allow colors to be defined in the mc.lib file.  Make it possible to
74 avoid using a superlong line to redefine all colors.
76 Use separate colors for hotkeys in error dialogs.
78 Allow verbatim search in "Find File".  Right now, the context is always
79 interpreted as regular expression.
81 Filters in the editor should operate on the open file - don't close and
82 reopen the file.  They don't work on VFS now.  For example, a gzipped
83 files on FTP cannot be edited.
85 ftp and fish with home != '/' - readjust directory to the home.
87 Search in the viewer should have an option for case sensitive search.
89 Make "Find File" dialog more responsive.  Keep state in a structure and
90 preserve it when the search is suspended.
92 Lock files in the editor to prevent opening them more than once.  Warn
93 user when opening locked file.
95 Use KDGKBENT ioctl on Linux console to find the mapping for shifted
96 functional keys.  Two mappings are widely used (Shift-F1 = F11 and
97 Shift-F1 = F13).  mc should adjust the keys to the mapping.
101 After 4.6.1 on 4.6.x branch
102 ===========================
104 Consistent support for mc.lib.
106 Consistent support for terminal-specific settings.
108 New syntax for mc.ext - path check, desktop environment check.  Detach X
109 programs into a separate process group.  Allow forcing the full path on
110 local files.
112 Click on a png image doesn't always work on remote vfs - local copy may
113 be deleted before the application has time to load it.
115 Allow running executables from remote VFS.  Possibly warn the user.
117 Add print dialog in the internal editor.
119 Implement logging, not just for VFS.
121 "Find file" should remember full stating path, not "." in the history.
123 chdir to '~' doesn't work.
126 In the 4.7 branch
127 =================
129 Eliminate all pipes in subshell.c, run pwd after kill.  Add support for
130 more shells (e.g. ksh).
132 Internal terminal - no more console saving.
134 Implement a really Advanced Chown/Chmod.
136 Support for multi-byte charsets (e.g. UTF-8).
138 sftp and fxp support in VFS.
140 New listing mode keyword "time": mtime or the time (atime, ctime) used
141 to sort files.
143 Support for X clipboard.
146 ========================================================================
147 Everything below this point is the old TODO list.  It doesn't reflect
148 the current priorities of the developers, but may contain interesting
149 ideas still waiting for their implementation.
150 ========================================================================
153 * Bugs
155   - "Files" message flickers a lot when copying files.
157   - Make the extfs handle re-reads.
159   - Document (or remove) C-x C-r, C-x C-s.
161   - Check that all the help contexts exist on the help file.
163   - Make the buttonbar for the tree box work.
165   - In the incremental search mode, when backspacing, select the
166     correct file, do not stop in current file.
168   - Make C-y yank back all the killed text at once if you've just done
169     several kill operations in a row (C-k, M-d, etc).
171   - In learn keys, warn the user if he is trying to
172     i) define a same sequence as an already defined (if the keycode differs)
173     ii) define a sequence, which is a prefix of other longer and already
174         defined sequence
176 * Configuration 
178 * Documentation
180   - Convert the source mc.1 to mc.sgml and create automagically from it
181     mc.1, mc.html, mc.hlp, mc.info, mc.tex, mc.txt etc.
183 * Extensions
185    - Hotlist should allow people to edit the entry (like we do in the external
186      panelize thing).
188    - Change ext.c to allow the %{..} to recursively expand any other %thingies.
190    - Write a general grow_string routine.  This code is used in the internal
191      viewer and would also be used in the profile.c code.
193    -  A command to set the line length to a fixed value for viewing
194       fixed length binary files. LIST does this with Ctrl-B and then
195       prompts for a "record" length.
197    - Viewer: Mark all found matches, and when 'n' is pressed go to the
198      next page, not the next match on the same screen (when there is
199      more than one).
201   - In ftpfs_open, extfs_open, if we set local_filename to tmpnam, use
202     a mechanism to set local_filename to another place on the local
203     diskspace (this would be useful for copying, so that we would save
204     some tmp space). This would require special care in file.c afterwards.
206   - In Listing mode... give at least three user-definable formats
207     (using Janne's Listing mode editor) and assign hot-keys to both
208     standard and user defined (what about c-x f [fbl123] ?).
210   - Shift-Home, Shift-End for the input line: home and end.
212   - Make a mechanism to lock all the mouse events and send them to
213     the locking widget until unlocking is done.
215   - Sort with numerical extensions.
217   - Allow the program to execute a command even when we are on a vfs, maybe
218     a special box, or make subshell code ignore the change directory
219     request. Perhaps each vfs should store a local path attached to it,
220     like in tarfs, extfs it would be the directory which contains the
221     topmost tararchive, in ftpfs it would be the directory which we entered
222     to ftp from.
224   - auto_hint_lines: a variable that would choose to use hint mode when
225     at least auto_hint_lines are visible.
227   - Listbox: Mouse handler for the scrollbar: this will be hard with
228     the current approach (since the listbox scrollbar is drawn *outside*
229     the listbox control area).
231   - In file.c, we shouldn't need to get a full path name in order to
232     work, we should instead canon the file name inside the tar.c (the
233     only fs that relies on this), tar.c should know about the cwd (i
234     think).
236   - Panelize the selected files.
238   - Recursive delete should (perhaps as an option) delete files just after
239     they have been copied and not to delay deleting until everything was
240     moved.
242   - When copying a tree (or moving or deleting), as an option act primarily
243     on the regular files and at the end on directories recursively, so that
244     we get complete high parts of the tree if something fails (useful for
245     ftpfs).
247   - Put into a new and bigger Options/Configuration dialog all the options
248     we have now to set using .mc/ini manually.
250   - When after deleting there are no files in a panelized panel, restore
251     it automagically to the real directory content.
253   - Files/Symlink and Link should be able to do multiple links (if the
254     target is a directory).
256   - Directory sizes should work in background using try_channels.
258   - Support of non-UNIX ls in ftpfs. Perhaps using an ascii configuration
259     file similar to moxftp.
261   - Have an option to let the user choose the preferred keybindings.
262     Currently, only the emacs keybindings are supported, add support
263     for Norton Commander and vi keybindings.
265   - Find command should have a way to specify directories to skip.
267   - Add an option that will let listboxes do incremental searches.
269 * Optimizations and cleanup
271   - Optimize the mcfs read and write code: make the code output 8k
272     blocks all the time (if we have called mc_hint_readall) and probe
273     the input for a possible cancel.
275   - When verbose is off, remove all the clutter on the screen about
276     the files being copied.
278   - The viewer is calling view_update in many places, I call
279     view_update after handling a key, should all the other
280     view_updates be removed?
282   - If the viewer is too slow, some caching could be done.
283     width and cols are currently computed each time they are needed.
285  ++ In the user menu, don't use the entries array, we can now grow
286     dynamically.  I should take a look at this one day, it's easy to
287     fix.