Updated TODO.
[mp-5.x.git] / TODO
blobd499927e3f727758c8387d75dcb56561a8ce1c0f
1 Minimum Profit 5 TODO / Bug List
2 ================================
4 Release Critical Bugs
5 ---------------------
7  * 1286: Add `move-to-next-section' action.
8  * 1287: Add `move-to-prev-section' action.
9  * 1289: Remember the last Makefile target (needs #1288 fixed).
10  * 1290: In the `section-list' action, select the item nearest to
11    current cursor position (needs #1288 fixed).
13 Open Bugs
14 ---------
16  * 1150: The GTK menu is not rebuilt when calling mp.update_ui().
17  * 1170: The curses driver doesn't redraw when the terminal window
18    is resized.
19  * 1176: Add interface to set the undo levels.
20  * 1189: mp.drv.form() cannot be used from the command line in win32.
21  * 1199: On GTK, the default font (Mono 12, seemingly an alias to an
22    actual font) doesn't get its width calculated correctly, so right
23    margin detection and mouse positioning doesn't work. To workaround
24    this, set mp.config.font_face (in the config file) to an existing
25    monospaced font, like "DejaVu Mono" or "Bitstream Vera Sans Mono".
26  * 1230: Action `eval_doc' seems to fail forever after an error.
27  * 1233: Document all MPSL code using mp_doccer (at least, the
28    interface functions).
29  * 1242: There cannot be two tags with the same name, as they are
30    stored as hash keys.
31  * 1249: Change TUI dialogs to be really dialogs.
32  * 1271: Section marks should be multiline.
33  * 1278: The Qt driver does not accept Qt-specific command line
34    arguments.
35  * 1282: The timer function in the Curses driver does not work
36    while pressing keys.
37  * 1285: Fix KDE build.
39 Pending Enhancements
40 --------------------
42  * 1100: Paren matching should be syntax-highlight-dependent, so that
43    HTML / XML / SGML match < > pairs.
44  * 1101: Paren matching should not be limited to just parentheses and
45    similar, but to full strings (very useful for HTML open / close tags.)
46  * 1109: Add jump to matching paren.
47  * 1183: Many actions should operate only on the selection block
48    (expand this issue).
49  * 1203: Change the drawing engine to only apply the syntax highlighting
50    regexes whenever the modified flag has changed or the viewport is
51    different.
52  * 1225: Add a regex (or similar) filter for lines. Lines matching it
53    (or not) won't appear on screen.
54  * 1275: Add a 'Writing' menu bar.
55  * 1279: Add a new visual wrap mode.
56  * 1280: Study a way to convert MP to a "portable" application, i.e.
57    to be formed by just the executable with all MPSL code embedded
58    (mainly aimed towards MS Windows).
59  * 1284: Add version control support (git, svn, etc).
61 Closed
62 ------
64  * 1103: When the end of a coloured block (for example, a comment in
65    C code) is lost below the last line, it's not coloured (this probably
66    means there should exist 'postread lines')(Fixable with special regular
67    expressions; Tue, 15 Nov 2005 13:49:45 +0100).
68  * 1114: Add delete line (Thu, 24 Nov 2005 20:12:05 +0100).
69  * 1121: Treatment of EOL in last line is uncertain
70    (Thu, 08 Dec 2005 20:01:09 +0100).
71  * 1123: When deleting the only line of a file, it gets mad
72    (Thu, 08 Dec 2005 20:09:42 +0100).
73  * 1104: When moving up / down, the X position should match the visual
74    column and not the exact one. Now, when moving among lines with a
75    different number of tabs, the cursor jumps weirdly
76    (Fri, 09 Dec 2005 10:59:01 +0100).
77  * 1105: Use a reasonable build system with config.sh
78    (Thu, 15 Dec 2005 08:32:19 +0100).
79  * 1124: Add the multi-document management (Thu, 15 Dec 2005 11:12:14 +0100).
80  * 1102: Tabs are incorrectly coloured when the cursor is over one
81    (Thu, 15 Dec 2005 12:09:35 +0100).
82  * 1122: Fix quote regexes to not match newlines
83    (Thu, 15 Dec 2005 12:36:51 +0100).
84  * 1125: Make it installable under Unix systems
85    (Mon, 19 Dec 2005 17:17:19 +0100).
86  * 1106: Add tag support (Wed, 21 Dec 2005 07:55:03 +0100).
87  * 1126: The dynamic array length in drw_as_array() is not taken
88    into account (Wed, 21 Dec 2005 18:30:22 +0100).
89  * 1127: If a double width char does not fit to the end of the line,
90    draw a single space instead (Wed, 21 Dec 2005 18:45:08 +0100).
91  * 1108: Add word wrapping (Sat, 24 Dec 2005 19:26:45 +0100).
92  * 1128: Add the -e command line switch
93    (Mon, 26 Dec 2005 19:45:20 +0100).
94  * 1119: Add learn mode (Fri, 20 Jan 2006 18:55:41 +0100).
95  * 1129: Add '+line' command line argument (Tue, 24 Jan 2006 06:22:49 +0100).
96  * 1130: When the last open file is closed (so a new, empty file is created
97    automatically), the tab files are not rebuilt (as the size of the tab set
98    is the same) (Tue, 14 Feb 2006 08:08:55 +0100).
99  * 1132: Add move word right (Mon, 20 Feb 2006 17:23:57 +0100).
100  * 1111: Add search (Tue, 21 Feb 2006 07:28:36 +0100).
101  * 1112: Add replace (Tue, 21 Feb 2006 07:48:36 +0100).
102  * 1113: Add replace all (Tue, 21 Feb 2006 08:33:02 +0100).
103  * 1133: Add replace in all documents (Tue, 21 Feb 2006 08:37:11 +0100).
104  * 1134: Add ~/.mp.mpsl (user profile) support (Tue, 28 Feb 2006 17:44:56 +0100).
105  * 1135: If ~/.mp.mpsl does not exist, aborts
106   (Tue, 11 Apr 2006 17:05:27 +0200).
107  * 1117: Add go to line (Mon, 17 Apr 2006 13:36:34 +0200).
108  * 1136: Add the 'modified' flag to documents
109    (Wed, 19 Apr 2006 08:16:37 +0200).
110  * 1145: Add tag target to the status line (Sat, 13 May 2006 09:56:37 +0200).
111  * 1118: Add move word left (Sat, 13 May 2006 12:25:01 +0200).
112  * 1107: Add ispell support (Mon, 15 May 2006 11:50:29 +0200).
113  * 1147: Add history to GTK's readline (Sun, 21 May 2006 17:33:42 +0200).
114  * 1148: Add history to win32's readline (Sun, 21 May 2006 17:48:35 +0200).
115  * 1139: Add the 'default' value to mp.drv.readline()
116    (Mon, 22 May 2006 06:10:17 +0200).
117  * 1143: Add interactive help (Tue, 23 May 2006 18:39:29 +0200).
118  * 1149: Unify mp.insert() and mp.paste(), as they do the same thing
119    (Thu, 25 May 2006 13:40:26 +0200).
120  * 1138: The call to mp.load_tags() in mp_tags.mpsl startup does not
121    work because at that time the colors are not built (so there is no
122    mp.colors.tag.attr) (Mon, 05 Jun 2006 19:25:32 +0200).
123  * 1144: Add the menu (Tue, 06 Jun 2006 19:09:38 +0200).
124  * 1146: Add 'recording macro' flag to the status line
125    (Sat, 10 Jun 2006 11:51:28 +0200).
126  * 1151: The menu should show a ? if the action doesn't exist
127    (Tue, 13 Jun 2006 16:19:05 +0200).
128  * 1152: The menu should show the bound key, if any
129    (Tue, 13 Jun 2006 16:19:11 +0200).
130  * 1154: Change syntax highlight definitions to be an array, so that
131    preference works (Tue, 27 Jun 2006 16:35:18 +0200).
132  * 1110: Add mp_templates support (Tue, 27 Jun 2006 18:18:49 +0200).
133  * 1140: Add mp.drv.list() (Closed by #1156 and #1157).
134  * 1156: Add mp.drv.list() to GTK (Tue, 04 Jul 2006 13:19:58 +0200).
135  * 1157: Add mp.drv.list() to win32 (Thu, 06 Jul 2006 13:14:14 +0200).
136  * 1141: Add complete tag support, with 'ctags' execution, asking for
137    a tag (needs #1139) and selecting from a list (needs #1140)
138    (Thu, 13 Jul 2006 13:59:02 +0200).
139  * 1142: Add symbol completion with tags (needs #1140)
140    (Thu, 13 Jul 2006 17:10:49 +0200).
141  * 1159: Do something to avoid having carriage returns in the text
142    (Mon, 17 Jul 2006 14:22:26 +0200).
143  * 1158: Fail on trying to open directories (Mon, 17 Jul 2006 15:54:25 +0200).
144  * 1160: Current opening file method (read-write mode and then stat())
145    fails opening read-only files, which is unacceptable
146    (Wed, 19 Jul 2006 13:15:07 +0200).
147  * 1153: Suppress the "File '.mp.mpsl' not found in INC" spurious
148    error message (Wed, 19 Jul 2006 18:28:09 +0200).
149  * 1161: Pressing backspace at the beggining of a document deleted
150    the first character (Wed, 19 Jul 2006 18:34:17 +0200).
151  * 1163: Add readline_password to TUI (Thu, 27 Jul 2006 10:17:54 +0200).
152  * 1164: Add readline_password to GTK (Thu, 27 Jul 2006 10:23:56 +0200).
153  * 1165: Add readline_password to Win32 (Thu, 27 Jul 2006 10:38:16 +0200).
154  * 1155: Add replace (Sat, 02 Sep 2006 11:54:06 +0200).
155  * 1167: Tags fail because mp.search() now delimits the string with /
156    (Sun, 17 Sep 2006 09:54:46 +0200).
157  * 1177: Add mp.drv.form() support to Win32 (Mon, 25 Sep 2006 19:49:29 +0200).
158  * 1178: Add mp.drv.form() support to TUI (Sat, 30 Sep 2006 08:03:10 +0200).
159  * 1115: Add password protection (Closed by #1180;
160    Mon, 02 Oct 2006 17:24:36 +0200).
161  * 1162: Add menu support to the Curses / TUI interface
162    (Mon, 02 Oct 2006 20:11:28 +0200).
163  * 1181: Search should always be positioned in the same line
164    (Mon, 02 Oct 2006 20:19:24 +0200).
165  * 1180: Prompt for a password when detecting encrypted files
166    (Thu, 12 Oct 2006 10:54:45 +0200).
167  * 1186: Password-protected files cannot be opened from the command
168    line because mp.drv.form() doesn't exist at that time
169    (Thu, 12 Oct 2006 12:23:14 +0200).
170  * 1187: Tagged words aren't coloured in the GTK driver
171    (Fri, 13 Oct 2006 17:45:56 +0200).
172  * 1188: Tagged words aren't coloured in the win32 driver
173    (Fri, 13 Oct 2006 18:02:55 +0200).
174  * 1190: Encrypted files fail opening in win32
175    (Closed by #1191; Fri, 13 Oct 2006 18:28:02 +0200).
176  * 1191: The win32 version seems to write encrypted files correctly
177    (they can be read on win32 and on unix), but can't read
178    (Fixed in MPDM; Fri, 13 Oct 2006 18:59:01 +0200).
179  * 1192: Fix password protected opening form to equal cancellation
180    if the password is empty (Fri, 13 Oct 2006 20:37:41 +0200).
181  * 1193: mp.drv.form() cannot be used from the command line in GTK,
182    dialogs are created with no fields (but password protected files
183    and tags do work) (My mistake, they work; Sat, 14 Oct 2006 09:31:57 +0200).
184  * 1131: Add move to next / previous ocurrence of character
185    (Mon, 16 Oct 2006 16:17:54 +0200).
186  * 1197: Win32 forms under Win98 don't return anything (it seems that
187    GetDlgItemTextW() is failing) (Fri, 20 Oct 2006 07:42:10 +0200).
188  * 1196: Win32 forms don't show any text under Win98 (it seems that
189    SetDlgItemTextW() is failing) (Fri, 20 Oct 2006 07:50:49 +0200).
190  * 1185: Delete '.' from INC (Fri, 03 Nov 2006 14:03:46 +0100).
191  * 1182: Add selection by moving with the shift key down
192    (Fri, 03 Nov 2006 15:48:41 +0100).
193  * 1200: Add selection by mouse dragging to GTK
194    (Fri, 03 Nov 2006 16:57:26 +0100).
195  * 1202: Block selection doesn't work well. The first mark should have
196    preference from the other (must never change in a selection
197    'session') (Fri, 03 Nov 2006 17:34:03 +0100).
198  * 1201: Add selection by mouse dragging to Win32
199    (Wed, 08 Nov 2006 18:04:03 +0100).
200  * 1116: Add grep (Tue, 14 Nov 2006 17:20:24 +0100).
201  * 1206: Add 'sync' (save all modified documents)
202    (Sun, 26 Nov 2006 12:39:07 +0100).
203  * 1207: Add 'Reopen as UTF-8' (Closed by: #1209, #1210;
204    Sun, 03 Dec 2006 20:27:28 +0100).
205  * 1208: Add 'Reopen as current locale' (Closed by: #1209, #1210;
206    Sun, 03 Dec 2006 20:27:28 +0100).
207  * 1211: Add the 'document_list' action (Fri, 12 Jan 2007 08:28:32 +0100).
208  * 1179: It doesn't work with ncurses, so stop lying about it and
209    ask for ncursesw (Thu, 18 Jan 2007 08:15:14 +0100).
210  * 1169: Port translations from mp 3.x (Thu, 18 Jan 2007 09:02:38 +0100).
211  * 1204: When toggling spelling, the document is incorrectly refreshed
212    (Mon, 22 Jan 2007 13:21:09 +0100).
213  * 1198: Add interface to active spellchecking
214    (Mon, 22 Jan 2007 13:28:36 +0100).
215  * 1210: Add interface to set the encoding
216    (Mon, 22 Jan 2007 13:35:25 +0100).
217  * 1209: Add 'Reopen' (renamed to 'Revert'; Mon, 22 Jan 2007 13:40:25 +0100).
218  * 1172: Add interface to set the word wrapping column
219    (Mon, 22 Jan 2007 14:06:09 +0100).
220  * 1173: Add interface to set the line terminator
221    (Mon, 22 Jan 2007 14:06:09 +0100).
222  * 1174: Add interface to set autoindentation.
223    (Mon, 22 Jan 2007 14:06:09 +0100).
224  * 1171: Add interface to set tab size (Mon, 22 Jan 2007 16:28:47 +0100).
225  * 1175: Add interface to set the tabs-as-spaces
226    (Mon, 22 Jan 2007 16:28:47 +0100).
227  * 1168: Port all syntax highlight definitions from mp 3.x
228    (Wed, 24 Jan 2007 17:58:36 +0100).
229  * 1212: Add mp.config.maximize support for GTK
230    (Thu, 25 Jan 2007 08:45:39 +0100).
231  * 1213: Add mp.config.maximize support for Win32
232    (Thu, 25 Jan 2007 17:12:39 +0100).
233  * 1120: Add a 'system-command' action (Fri, 02 Feb 2007 10:13:26 +0100).
234  * 1137: Word wrap counts all caracters as measuring 1 column,
235    which is stupid. This is specially true for tabs
236    (Thu, 22 Feb 2007 14:10:09 +0100).
237  * 1214: Search and replace don't replace \t, \r and such
238    (Mon, 26 Feb 2007 17:30:50 +0100).
239  * 1215: Rewrite the timer so that it's no longer an action, but
240    a specific function call (Thu, 29 Mar 2007 12:37:01 +0200).
241  * 1216: Document the new timer functionality
242    (Tue, 03 Apr 2007 16:51:06 +0200).
243  * 1217: Add 'Please wait...' messages (Thu, 19 Apr 2007 13:06:54 +0200).
244  * 1220: Tag completion seems to redraw incorrectly
245    (Thu, 10 May 2007 10:29:08 +0200).
246  * 1221: When tag completion expands to exactly one tag, redraw
247    is still incorrect (Thu, 10 May 2007 13:25:25 +0200).
248  * 1224: Also execute /etc/mp.mpsl (Tue, 22 May 2007 08:22:18 +0200).
249  * 1223: Add a mprc.mpsl.sample file (Closed by #1226;
250    Wed, 30 May 2007 13:51:51 +0200).
251  * 1226: Document the configuration values
252    (Wed, 30 May 2007 13:51:58 +0200).
253  * 1228: Add 'ctrl-a: Menu' to Curses status line
254    (Tue, 05 Jun 2007 13:49:02 +0200).
255  * 1229: The 'replace' action should use sregex() instead of an
256    ad-hoc splice() + mp.insert() (Tue, 19 Jun 2007 09:03:57 +0200).
257  * 1231: Selection from GTK lists crashes if the element have
258    changed and ENTER or Escape is pressed (Fixed by a library
259    upgrade; Fri, 29 Jun 2007 08:01:17 +0200).
260  * 1232: Update the features in the home page
261    (Wed, 29 Aug 2007 14:04:15 +0200).
262  * 1237: /etc/mp.mpsl is not being executed
263    (Wed, 12 Sep 2007 12:26:35 +0200).
264  * 1238: On win32, the 'exit' action is called twice when exiting
265    from the keystroke or the menu (but *not* when closing the
266    window) (Mon, 17 Sep 2007 14:28:28 +0200).
267  * 1234: Add support for local sessions
268    (Mon, 17 Sep 2007 17:37:41 +0200).
269  * 1184: Stop inserting the keypress if a key is not bound
270    (Mon, 17 Sep 2007 19:52:19 +0200).
271  * 1241: Implement keycode multiplexing ala Emacs
272    (Tue, 18 Sep 2007 13:25:52 +0200).
273  * 1235: Change the calling points for auto-saved sessions
274    (They are fine now; Tue, 18 Sep 2007 13:36:30 +0200).
275  * 1239: Don't save session if only unnamed files are open
276    (Thu, 20 Sep 2007 19:07:03 +0200).
277  * 1243: The new drw_search_hit() function should pass the
278    mp.last_search value through mp.prefix_regex() (or
279    mp.last_search stored as a regex) (Mon, 15 Oct 2007 14:42:17 +0200).
280  * 1246: An empty search hangs (Tue, 13 Nov 2007 13:13:02 +0100).
281  * 1245: The record macro function, when called from the menu,
282    drops the last keystroke (Thu, 22 Nov 2007 14:39:50 +0100).
283  * 1247: The menu doesn't move on the Curses version
284    (Thu, 22 Nov 2007 14:53:49 +0100).
285  * 1195: The curses menu crashes if it doesn't fit on the screen
286    (Thu, 22 Nov 2007 15:10:52 +0100).
287  * 1222: Add --help info
288    (Fri, 23 Nov 2007 13:22:05 +0100).
289  * 1240: Fix the -f (execute script) command-line argument
290    (Fri, 23 Nov 2007 13:33:11 +0100).
291  * 1219: Update the man page (Fri, 23 Nov 2007 14:16:54 +0100).
292  * 1218: Create or adapt The README file
293    (Tue, 27 Nov 2007 13:29:10 +0100).
294  * 1244: Document the data model
295    (Thu, 29 Nov 2007 07:31:47 +0100).
296  * 1250: Autoindent should be disabled while pasting
297    (Fri, 07 Dec 2007 08:14:25 +0100).
298  * 1251: In TUI's list, when the cursor is on the last element, the
299    rest of the screen is drawn in cursor color
300    (Tue, 18 Dec 2007 11:14:19 +0100).
301  * 1252: Ctrl-keys on GTK fail when caps enabled
302    (Fri, 22 Feb 2008 07:57:40 +0100).
303  * 1236: Calling with -t doesn't draw the screen if only one
304    tag is found (Mon, 25 Feb 2008 15:17:43 +0100).
305  * 1205: Copy & paste from two different instances of MP (GTK)
306    seem to fail (copying or pasting from other applications seem
307    to work) (Tue, 26 Feb 2008 07:28:50 +0100).
308  * 1253: Document the 'build' action (Thu, 13 Mar 2008 07:50:28 +0100).
309  * 1254: Sessions don't set the y position of files correctly
310    (Mon, 31 Mar 2008 17:30:18 +0200).
311  * 1255: Document change in 'grep' (Tue, 01 Jul 2008 08:05:11 +0200).
312  * 1256: Document change in 'build' (Tue, 01 Jul 2008 08:05:11 +0200).
313  * 1257: Document new builtin encoders (Tue, 01 Jul 2008 08:05:11 +0200).
314  * 1258: Document change in curses dialogs (Tue, 01 Jul 2008 08:05:11 +0200).
315  * 1262: Add text underlining to KDE4 (Sun, 31 Aug 2008 16:10:35 +0200).
316  * 1263: Add history to form() text fields in KDE4
317    (Mon, 01 Sep 2008 12:37:01 +0200).
318  * 1264: Avoid exiting if no xserver can be connected to in KDE4
319    (Tue, 02 Sep 2008 12:25:01 +0200).
320  * 1248: No localisation on Win32
321    (Tue, 07 Oct 2008 13:39:49 +0200).
322  * 1265: Fix localisation / gettext when KDE4 support is compiled
323    (Tue, 07 Oct 2008 13:39:36 +0200).
324  * 1267: Sometimes replace all hangs (Tue, 04 Nov 2008 09:19:50 +0100).
325  * 1269: Don't try to search inside the block if it's empty
326    (Wed, 21 Jan 2009 10:37:16 +0100).
327  * 1261: Apply Jeremy's function_list()
328    (Mon, 02 Feb 2009 16:10:34 +0100).
329  * 1272: Fix the `open_templates_file' action
330    (Wed, 04 Mar 2009 10:04:59 +0100).
331  * 1227: The length of an open combobox (at least under XP)
332    is ridiculous (Tue, 21 Apr 2009 12:17:22 +0200).
333  * 1194: Underlined text doesn't work under win32
334    (Tue, 21 Apr 2009 12:51:38 +0200).
335  * 1270: tools/po2mpsl.mpsl skips the last string
336    (Tue, 21 Apr 2009 17:47:42 +0200).
337  * 1274: Add interface to configure the repeated word detector
338    (Wed, 22 Apr 2009 08:52:43 +0200).
339  * 1273: mp.repeated_words() leaves the last max_dist words
340    unchecked (Tue, 28 Apr 2009 11:55:42 +0200).
341  * 1276: Fix win32 processing of Unicode characters
342    (Mon, 27 Jul 2009 16:52:20 +0200).
343  * 1277: Fix win32 window title (Tue, 28 Jul 2009 06:59:56 +0000).
344  * 1266: Add a new tab style, in which the next tab column is taken from
345    the previous line (Thu, 01 Oct 2009 10:48:37 +0200).
346  * 1268: Implement mp.timer() in the KDE4 driver
347    (Tue, 24 Nov 2009 12:50:32 +0100).
348  * 1166: Add a file open navigator to TUI
349    (Thu, 25 Nov 2010 10:33:52 +0100).
350  * 1259: Apply Jeremy's indent_block() (Wed, 31 Aug 2011 12:49:38 +0200).
351  * 1260: Apply Jeremy's outdent_block() (Wed, 31 Aug 2011 12:49:38 +0200).
352  * 1281: The multithreaded hex viewer crashes (seemingly only
353    in multicore machines)
354    (Option removed; Sat, 15 Oct 2011 09:24:16 +0200).
355  * 1283: Add Jeremy's smart-bol to the "Line options..." form
356    (Tue, 18 Oct 2011 14:42:26 +0200).
357  * 1288: Add an option to set the selected item in form lists
358    (Option already exists, you moron; Wed, 02 Nov 2011 19:49:13 +0000).
360 Email bugs to angel@triptico.com