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