Debian Codegraph @

TODO

raw
1 [High Priority]
2
3 * File operations: move, copy, trashing, ...
4 Improve error handling.
5 should provide multiple destination files for recovering trashed files.
6 Check available disk size prior to moving/copying.
7 Do mounting on demand.
8 Calculate speed and show remaining time.
9
10 * Fix idle handlers with proper g_source_is_destroyed().
11
12 * File monitor:
13 Queue files which are already processed in file operations, and send
14 change notifications in timeout handlers to improve performance.
15
16 * Dnd
17 Dnd destination, drop site handling. => Almost done
18 For drag source, use file:///~/.gvfs/ rather than its original
19 URL scheme to be compatible with other programs => need more survey
20 => g_file_new_for_uri, and then g_file_get_path can return gvfs fuse path.
21 Refuse drop if the user doesn't has access to destination dir.
22 Fix incorrect drop target item of icon view mode. => done
23 Fix incorrect design of 'query-info' signal.
24 Implement XDS support => done, but in a quite dirty way.
25
26 * Thumbnails, may be cached with hash table to speed up loading.
27 Need to support external thumbnailers.
28 Thunar can directly load embedded thumbnail in jpeg files, we need that, too.
29 Size of cell renderers and ExoIconView item size must be adjusted for Thumbnail View.
30
31 * Mount volumes and mount points when needed
32 This already works with remote URLs.
33 Need to be done for removable devices. => partially done
34 Now mounting works when the user click on a volume in side pane.
35 Not available yet in computer:///
36
37 * path resolution and canonicalization: convert ../ and ./ gracefully
38 Partially done. fm_path_new_relative and fm_path_new_child handles . and ..
39 Need to show canonicalized paths in location bar.
40
41 * FmFileMenu should provide special menu items for special paths
42 For example:
43 Provide totally different menus for items in computer:///
44 Provide "Uninstall" for items in applications:/// (requires integration with package-kit)
45
46 * File searching utility => Subclass FmFolder and provide FmSearchFiles
47 The search result can be given to a GtkTreeModel for display.
48
49 * Add filter to FmFolderModel, so we can only show specific files.
50 The API can be compatible with GtkFileFilter used by GtkFileChooser.
51 The hidden parts can be stored in model->hidden GSequence.
52
53 * Select destination files when copy or move is finished.
54 Can use g_object_set_data to associate a FmFolderView with FmJob.
55
56 * Support symlink creation.
57
58 * Add reserved data members to structs to padding for future expansion.
59
60 * Use a forked version of xdg_mime included in glib/gio to do faster mime-type detection.
61
62 * Bug: clicking on detailed view's column to change sorting didn't update the sort sub menu in main menu.
63
64 * Implement our own empty trash API since delete a file in trash:/// with g_file_delete really sucks.
65
66 * Implement our own trash can since the one provided by gvfs really sucks!
67
68 * Maybe we can add a gtk+ module and register our own implementation of GtkFileChooserWidget.
69
70 * Handle self-mangled symlinks.
71
72 * Make fm_launch_paths more user-friendly so pcmanfm can use it to handle files_to_open.
73
74 * Refactor FmFolderView and make a separate class named FmListView, which
75 encapsulate a generic composite widget combining ExoIconView and GtkTreeView.
76 Then, derive FmFolderView from it.
77
78
79 [Medium Priority]
80
81 * API renaming:
82 when a returned value was allocated or ref_count is increased,
83 the API should use _dup_ rather than _get_.
84
85 currently there are inconsistent naming convention among different
86 modules. _get_for_, new_from_, _get_from_, and simply _get_ are used
87 in different places where APIs have similar behaviors.
88
89 * API redesign: maybe abstract classes like FmBasicView or FmBasicWin were needed.
90 in this way, both desktop window and folder views can have the same behavior
91 through the same interface.
92
93 example:
94 FmBasicView
95 {
96 sort();
97 show_hidden();
98 get_popup_menu_ui();
99 get_selected_files();
100 select_all();
101 }
102
103 * Better clipboard handling => almost done
104 Can we be more compatible with GNOME and XFCE?
105 Already compatible with KDE/Dolphin
106 Partially compatible with gnome and xfce.
107 Clipboard operation done by libfm doesn't seem to be noticed by
108 nautilus. Cause? maybe related to clipboard monitoring?
109
110 * Custom actions for specific file types.
111 integration with archivers is a must have, but how?
112 Maybe we can use the implementation proposed by KDE.
113 (Compress / Extract are now supported in another way.)
114
115 * GtkFileChooser style path button bar. (can take the one in gtk)
116
117 * Bring some fallback icons (application-x-generic and folder) along with
118 the package of libfm to work without icon themes.
119
120 * Warn the user for insufficient disk space before file operations.
121 GFileInfo:G_FILE_ATTRIBUTE_FILESYSTEM_FREE before calculating
122 total size, and store this value in FmFileOpsJob.
123 During calculation, if total size already exceeds free space available,
124 prompt the user, and also provide an option to skip this.
125
126 * Support "Send To..." => Need to see how thunar does this.
127
128 * Auto-mounting => partially done
129
130 * Support mount specific filesystem encoding in the future. Now we only
131 handle UTF-8 for simplicity.
132 Those settings can be stored in FmConfig?
133
134 * Inter-process config change notifications:
135 fm_config_notify should cache all notfications.
136 Then, pack all changed values in a buffer and pass it to a notifier
137 function set with fm_config_set_notify_hook.
138 fm-gtk can use this hook to send the changed values via X11
139 root window properties or dbus.
140
141 * Implement our own gio extension points to override some bad stuff in gio/gvfs.
142 Pass highest priority value to g_io_extension_point_implement() if we're
143 under LXDE might be a good idea.
144
145 * Add "Create New" to popup menu of folder. => partially done, quite dirty.
146 ==> need refactor
147
148 * Show available disk space in status bar => done, but in a slightly dirty way.
149 ==> need refactor
150
151 * While create user-custom desktop files, search for existing ones, and only
152 add new mime-types to existing user-custom desktop files to prevent creating
153 too many duplicated desktop files for the same app.
154
155
156 [Low Priority]
157
158 * Constraint memory usage of FmIcon cache. Periodically removed rarely
159 used items might be needed.
160
161 * Add FmGesture to support mouse gesture. (low priority)
162 Maybe this should in another lib to be used in other programs, too.
163
164 * Hide computer:///, network:///, and disable trash:/// if gvfs is not
165 available.
166
167 * Implement fm_list_concat_glist to add a GList* to FmList or to convert
168 a GList to FmList by fm_list_new followed by fm_list_concat_glist()
169
170 * Expose a set of dbus interfaces/services so other applications can call
171 libfm to do file operations without being linked with it.
172 Or, this should be implemented in the level of file managers, like in pcmanfm?
173 If this is going to be supported, write a freedesktop.org spec for it.
174
175 * Display tooltips for folder items
176
177 * Documentation, can be done with gtk-doc
178
179
180
181 [Very Low Priority]
182
183 * Fork gvfs to make it gnome-free.
184
185 * Add gio extension modules to override the ones provided by gvfs.
186
187 * Provide a wizard to clean temporary files from the filesystem to get more
188 usable disk space. => a disk cleaner is needed.
189 This can be showed to the user when there is not available disk space.
190
191 * Periodically remove thumbnail caches
192 Maybe it's a better idea to handle this in disk cleaner wizard.
193
194 * Enable showing .. in list view mode.
195
196 * Add a right pane to list all opened folders instead of using tabs.
197 Quite useful for wide screen and can save taskbar space.
198 Very convinient when you need to work with files in many different folders
199
200 * Support saving currently opened folders as a session, and the saved session
201 file can be loaded later by double click on it.
202 This is especially useful for developers and can be used for project management