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