2330
|
1 Octave PROJECTS -*- text -*- |
|
2 =============== |
|
3 |
|
4 Check with bug-octave@bevo.che.wisc.edu for a possibly more current |
|
5 copy. Also, if you start working steadily on a project, please let |
|
6 bug-octave@bevo.che.wisc.edu know. We might have information that |
|
7 could help you; we'd also like to send you the GNU coding standards. |
|
8 |
|
9 This list is not exclusive -- there are many other things that might |
|
10 be good projects, but it might instead be something we already have, |
|
11 so check with bug-octave@bevo.che.wisc.edu before you start. |
|
12 |
|
13 --------- |
|
14 Numerical: |
|
15 --------- |
|
16 |
|
17 * Merge control stuff. |
|
18 |
|
19 * Improve logm, and sqrtm. |
|
20 |
|
21 * Improve complex mapper functions. |
|
22 |
|
23 * Make functions like gamma() return the right IEEE Inf or NaN |
|
24 values for extreme args or other undefined cases. |
|
25 |
|
26 * Handle complex values in fread and fwrite. |
|
27 |
|
28 * Support for lp_solve for linear programming problems. |
|
29 |
|
30 * Free QP solver. |
|
31 |
|
32 * Free NLP solver. |
|
33 |
|
34 * Support for sparse matrices. |
|
35 |
|
36 * Fix CollocWt to handle Laguerre polynomials. Make it easy to |
|
37 extend it to other polynomial types. |
|
38 |
3130
|
39 * Make filter faster (perhaps by calling BLAS functions). |
|
40 |
2330
|
41 * Add optional arguments to colloc so that it's not restricted to |
|
42 Legendre polynomials. |
|
43 |
|
44 * Fix eig to also be able to solve the generalized eigenvalue |
|
45 problem, and to solve for eigenvalues and eigenvectors without |
|
46 performing a balancing step first. |
|
47 |
|
48 * Move rand, eye, xpow, xdiv, etc., functions to the matrix classes. |
|
49 |
2477
|
50 * Use octave_allocator for memory management in Array classes once |
|
51 g++ supports static member templates. |
|
52 |
2330
|
53 * Implement the following functions: |
|
54 -- ppval -- cross -- dot |
|
55 |
2789
|
56 * When constructing NLConst (and other) objects, make sure that |
|
57 there are sufficient checks to ensure that the dimensions all |
|
58 conform. |
|
59 |
2439
|
60 * Allow parameters to be passed through the call to fsolve() to the |
2777
|
61 user-supplied function for Matlab compatibility. Don't place an |
2439
|
62 upper limit on the number of arguments. |
|
63 |
2330
|
64 * Check matrix classes for proper handling of empty matrices. |
|
65 |
2602
|
66 * Force all empty matrices to be 0x0 even when other dimensions have |
|
67 been speicified, for compatibility with Matlab, at least when some |
|
68 preference variable is set. |
|
69 |
2789
|
70 * Make operations with empty matrices produce empty matrices, for |
|
71 compatibility with Matlab (but only if Matlab 5 still does things |
|
72 this way). For example: [1, 2] * [] ==> []. |
|
73 |
2799
|
74 * Should any ([]) return [] or 0? What about all ([])? |
|
75 |
2330
|
76 * Improve design of ODE, DAE, classes. |
|
77 |
2439
|
78 * Make it possible to specify a time which dassl and lsode should |
|
79 not integrate past. |
|
80 |
2799
|
81 * Add interface to daspk (new version of dassl). |
|
82 |
2330
|
83 * Extend meaning of .* to include v .* M or M .* v (where v is a |
|
84 column vector with the same number of rows as M) to scale rows of |
|
85 M by elements of v. Similarly, if w is a row vector with as many |
|
86 columns as M, then either w .* M or M .* w scales the columns of |
|
87 M. |
|
88 |
2787
|
89 * Add support for +=, -=, etc. |
|
90 |
2497
|
91 * Given two vectors x and y of length m and n, implement a function |
|
92 outer (x, y, f) that returns an m-by-n matrix with entries |
|
93 f (x(i), y(j)). If f is omitted, multiplication is the default. |
2506
|
94 Should probably work for any vectors, not just if x is a column |
|
95 vector and y is a row vector. |
2497
|
96 |
2789
|
97 * Make it possible to solve b = L \ x efficiently, either by |
|
98 providing an explicit function call, or by automatically |
|
99 determining that L is triangular. If it is done automatically, |
|
100 provide some means for determining whether Octave has actually |
|
101 detected that the matrix is triangular. |
|
102 |
2799
|
103 * The polyfit function uses the economy QR factorization, but even |
|
104 that can take a lot of time for large datasets. Consider an |
|
105 option to compute the result with inv (A' * A) * A' * y or some |
|
106 other faster method.d Possibly just switch to this method if the |
|
107 dataset is larger than some value. |
|
108 |
|
109 * Consider making the behavior of the / and \ operators for |
|
110 non-square systems compatible with Matlab. |
|
111 |
2330
|
112 -------- |
|
113 Graphics: |
|
114 -------- |
|
115 |
|
116 * Make plotting with plplot work. |
|
117 |
|
118 * Fix interface with gnuplot to wait for gnuplot to output any text |
|
119 before octave returns a prompt. Possible by implementing two |
|
120 way communication between gnuplot and Octave. |
|
121 |
|
122 * Make gsave (and possibly gload) work. Implement gsave by having it |
|
123 also alter the plot command to not use temporary files (perhaps |
|
124 with some user-specified template for naming them) and then |
|
125 sending a `save' command to gnuplot. |
|
126 |
|
127 * It would be nice to be able to check that a plot is currently |
|
128 being displayed. |
|
129 |
2422
|
130 * Implement clf, gcf, get, set, orient, print, close, etc. in |
|
131 Matlab-compatible ways. |
2330
|
132 |
|
133 * Make it possible to check the current graphics terminal type. |
|
134 |
2560
|
135 * If possible, pass data to gnuplot without using temporary files. |
|
136 |
2789
|
137 * If using temporary files, delete them when gnuplot exits. |
|
138 |
2560
|
139 * If possible, pass binary data to gnuplot to speed things up. |
|
140 |
2799
|
141 * If using gnuplot, consider setting a smaller default for the |
|
142 `zero' value (e.g., set zero sqrt (realmin) or something). |
|
143 |
2330
|
144 ------- |
|
145 Strings: |
|
146 ------- |
|
147 |
2789
|
148 * Improve performance of string functions, particularly for |
|
149 searching and replacing. |
|
150 |
|
151 * Provide some regex matching functions. |
|
152 |
2330
|
153 * Convert string functions to work on string arrays. |
|
154 |
|
155 * Make find work for strings. |
|
156 |
2378
|
157 * Consider making octave_print_internal() print some sort of text |
|
158 representation for unprintable characters instead of sending them |
|
159 directly to the terminal. (But don't do this for fprintf!) |
|
160 |
|
161 * Consider changing the default value of `string_fill_char' from SPC |
|
162 to NUL. |
|
163 |
2560
|
164 * Consider making ["test", []] ==> "test", for compatibility with |
|
165 Matlab, at least when some set of preferences are set. |
|
166 |
2330
|
167 ---------------- |
|
168 Other Data Types: |
|
169 ---------------- |
|
170 |
|
171 * New types (char, short, etc.). |
|
172 |
|
173 * 3d matrix stuff. |
|
174 |
|
175 * Template functions for mixed-type ops. |
|
176 |
|
177 * Stuff for arithmetic using charMatrix, intMatrix, etc. |
|
178 |
|
179 ------------------------ |
|
180 Graphical User Interface: |
|
181 ------------------------ |
|
182 |
|
183 * In an X11 or other windowing environment, allow the user to pop up |
|
184 windows for menus and other purposes. A good place to start might |
|
185 be Tk, as long as Tcl is avoided. |
|
186 |
|
187 * Add a way to handle events, like alarms, mouse clicks, etc. |
|
188 |
|
189 ------------ |
|
190 Input/Output: |
|
191 ------------ |
|
192 |
|
193 * Make fread and fwrite work for complex data. Iostreams based |
|
194 versions of these functions would also be nice, and if you are |
|
195 working on them, it would be good to support other size |
|
196 specifications (integer*2, etc.). |
|
197 |
|
198 * Make load and save work for structures. |
|
199 |
|
200 * Make load and save look for <file>.mat if only given <file>. |
|
201 |
2799
|
202 Potential sticky points: |
|
203 |
|
204 - For load, if both foo and foo.mat exist, should it prefer foo |
|
205 or foo.mat? Should the preference depend on the arguments to |
|
206 load? I think it should only prefer .mat files if the |
|
207 -mat-binary option is supplied, or if the file foo.mat exists |
|
208 but the file foo does not. |
|
209 |
|
210 - For save, should it prefer to create foo or foo.mat? Should |
|
211 the preference depend on the arguments to save? Should the |
|
212 default_save_format imply a default preference? I think it |
|
213 should only create .mat files if it is writing Matlab |
|
214 compatible files. |
|
215 |
2330
|
216 * Move some pr-output stuff to liboctave. |
|
217 |
|
218 * Make the cutoff point for changing to packed storage a |
|
219 user-preference variable with default value 8192. |
|
220 |
|
221 * Save image data in binary format to save space. |
|
222 |
2378
|
223 * Make it possible to load other image formats (ppm, pbm, etc. would |
|
224 probably be best since there are already filters to convert to |
|
225 these formats from others.) |
|
226 |
2330
|
227 * Use HDF for binary data. |
|
228 |
2789
|
229 * Make ascii load and save work for Inf and NaN. (This is really a |
|
230 problem with the functions for reading floats in the GNU iolib.) |
2330
|
231 |
|
232 * Complain if there is not enough disk space available (I think |
|
233 there is simply not enough error checking in the code that handles |
|
234 writing data). |
|
235 |
|
236 * Make it possible to tie arbitrary input and output streams |
|
237 together, similar to the way iostreams can be tied together. |
|
238 |
3105
|
239 * Allow comments in number-only data files. |
|
240 |
2330
|
241 ----------- |
|
242 Interpreter: |
|
243 ----------- |
|
244 |
2601
|
245 * Fix the parser so that |
|
246 |
|
247 function foo () |
|
248 implicit_str_to_num_ok = 1; |
|
249 '#' + 0; |
|
250 endfunction |
|
251 |
|
252 succeeds, even when implicit_str_to_num_ok is 0 at the time the |
|
253 function is parsed. |
|
254 |
3081
|
255 * Fix the parser so that |
|
256 |
|
257 if (expr) 'this is a string' end |
|
258 |
|
259 is parsed as IF expr STRING END. |
|
260 |
2601
|
261 * Consider making x(:) work no matter what the value of |
|
262 do_fortran_indexing. |
|
263 |
2893
|
264 * For indexing operations, allow `$' to indicate the last element. |
|
265 For example, b = a (3:$, 1:$-1). This means b is a, except for |
|
266 its first 2 rows and last column. Note that `$' must be able to |
|
267 appear in arbitrarily complex expressions, so copying the the |
|
268 current implementation of `:' won't work. |
|
269 |
2569
|
270 * If foo.oct and foo.m both exist in the LOADPATH, Octave will |
|
271 always find foo.oct, even if foo.m appears earlier in the list of |
|
272 directories. This should be fixed (in the kpathsearch library) to |
|
273 find the first .oct or .m file in the path, and only prefer .oct |
|
274 over .m if both files are in the same directory. |
|
275 |
2330
|
276 * Consider grouping all preference variables in a structure instead |
|
277 of further polluting the namespace. Maybe `Octave_options.xxx'? |
|
278 |
|
279 * Rewrite functions in input.cc to do the right thing in all cases |
|
280 of using readline, forced interactive behavior, echoing of input, |
|
281 etc. |
|
282 |
|
283 * Make it possible to redefine built-in variables and functions. |
|
284 (Fix whatever it is that is happening with clear for built-in |
|
285 variables.) |
|
286 |
|
287 * Make it possible to check if a variable is complex. |
|
288 |
|
289 * Consider making linspace() and logspace() return the value |
|
290 corresponding to the first argument if the number of requested |
|
291 points is 1. |
|
292 |
|
293 * Consider allowing an arbitrary property list to be attached to any |
|
294 variable. This could be a more general way to handle the help |
|
295 string that can currently be added with `document'. |
|
296 |
|
297 * Allow more command line options to be accessible as built-in |
|
298 variables (--echo-commands, etc.). |
|
299 |
|
300 * Allow `octave -c STRING' to execute commands from STRING then |
|
301 exit. |
|
302 |
|
303 * Handle DOS style CRLFs in M files. This should probably be |
|
304 optional. |
|
305 |
|
306 * Make the interpreter run faster. |
|
307 |
|
308 * Make it possible to disable or enable all warnings on an |
|
309 individual basis from the command line or via some built-in |
|
310 structure variable. |
|
311 |
2378
|
312 * Warn about complex comparisons? Could just use double_value() or |
|
313 matrix_value() instead of explicit conversions to real types. |
|
314 |
|
315 * Make warnings also give some indication about the location of the |
|
316 code that triggers the warning. |
|
317 |
|
318 * Warn about complex comparisons? Could just use double_value() or |
|
319 matrix_value() instead of explicit conversions to real types. For |
|
320 this to really be useful, some additional information must be |
|
321 available to point to the location of the code that triggers the |
|
322 warning. |
|
323 |
2330
|
324 * Consider making it possible to have arrays of structures, and some |
|
325 way of indexing them. |
|
326 |
|
327 * Allow arbitrary lower bounds for array indexing. (Watch out for |
|
328 the additional conflict with zero-one style indexing.) |
|
329 |
|
330 * Recursive problems. |
|
331 |
|
332 * Improve the way ignore_function_time_stamp works to allow |
|
333 selecting by individual directories or functions. Also, |
|
334 optionally allow checking only once between each prompt instead of |
|
335 every time the function is called. |
|
336 |
|
337 * Make it possible to ask exist() to only look for certain classes |
|
338 of variables, functions, files, etc. rather than always looking for |
|
339 everything. |
|
340 |
|
341 * Add a command-line option to tell Octave to just do syntax |
|
342 checking and not execute statements. |
|
343 |
|
344 * Is it necessary for do_binary_op and do_unary_op to be friends of |
|
345 the tree_constant class. |
|
346 |
|
347 * Clean up symtab and variable stuff. |
|
348 |
|
349 * Input stream class for parser files -- must manage buffers for |
|
350 flex and context for global variable settings. |
|
351 |
|
352 * Make LEXICAL_ERROR have a value that is the error message for |
|
353 parse_error() to print? |
|
354 |
|
355 * Make it possible to clear dynamically loaded functions. |
|
356 |
|
357 * Add a run-time alias mechanism that would allow things like |
|
358 |
|
359 alias fun function_with_a_very_long_name |
|
360 |
|
361 so that `function_with_a_very_long_name' could be invoked as |
|
362 `fun'. |
|
363 |
|
364 * What should is_global() return when called for built-in variables? |
|
365 |
|
366 * Allow local changes to variables to be written more compactly than |
|
367 is currently possible with unwind_protect. For example, |
|
368 |
|
369 function f () |
|
370 local prefer_column_vectors = something; |
|
371 ... |
|
372 endfunction |
|
373 |
|
374 would be equivalent to |
|
375 |
|
376 function f () |
|
377 unwind_protect |
|
378 save_prefer_column_vectors = prefer_column_vectors; |
|
379 prefer_column_vectors = something; |
|
380 ... |
|
381 unwind_protect_cleanup |
|
382 prefer_column_vectors = save_prefer_column_vectors; |
|
383 end_unwind_protect |
|
384 endfunction |
|
385 |
|
386 * Fix all function files to check for bogus inputs (wrong number or |
|
387 types of input arguments, wrong number of output arguments). |
|
388 |
2789
|
389 * Reduce the memory and time required to parse very large matrix |
|
390 lists. |
|
391 |
2330
|
392 * Handle options for built-in functions more consistently. |
|
393 |
|
394 * Too much time is spent allocating and freeing memory. What can be |
|
395 done to improve performance? |
|
396 |
|
397 * Error output from Fortran code is ugly. Something should be done to |
|
398 make it look better. |
|
399 |
|
400 * It would be nice if output from the Fortran routines could be |
|
401 passed through the pager. |
|
402 |
|
403 * Attempt to recognize common subexpressions in the parser. |
|
404 |
|
405 * Remove the buffer size limit in octave_read() in input.cc. |
|
406 |
|
407 * Handle arrays with more than two dimensions. |
|
408 |
|
409 * Consider making assignment statements like |
|
410 |
|
411 M (i_idx, j_idx) = RHS |
|
412 |
|
413 produce the value of RHS instead of the value of M. |
|
414 |
|
415 * Consider making it possible to specify an empty matrix with a |
|
416 syntax like [](e1, e2). Of course at least one of the expressions |
|
417 must be zero... |
|
418 |
|
419 * Eliminate force_numeric and make_numeric functions. |
|
420 |
|
421 * Is Matrix::fortran_vec() really necessary? |
2862
|
422 |
2330
|
423 * print_usage() should set error_state in most cases? |
|
424 |
|
425 * Make statements like this |
|
426 |
|
427 foo bar baz |
|
428 |
|
429 turn into function calls like this: |
|
430 |
|
431 foo ("bar", "baz") |
|
432 |
|
433 This is pretty ugly and introduces some conflicts. |
|
434 |
|
435 * Add a command that works like bash's `builtin' command. |
|
436 |
|
437 * Handle comments in parse trees for use with the type command. |
|
438 |
2378
|
439 * Make the type command handle script files too, by just reading and |
|
440 printing them. |
|
441 |
3059
|
442 * The wich and type commands should distinguish between dynamically |
|
443 linked functions and built-in functions. For dynamically linked |
|
444 functions, the location of the .oct file should be displayed. |
|
445 |
2330
|
446 * Clean up eye, eval, feval, keyboard, input, ones, zeros. |
|
447 |
2799
|
448 * Turn off printing when evaluating expressions in an eval() |
|
449 statement, for compatibility with Matlab. |
|
450 |
2330
|
451 * It would be nice to have an interactive debugger. |
|
452 |
2378
|
453 * Make whos report total memory used by variables (and functions?). |
|
454 |
2746
|
455 * Rewrite whos and the symbol_record_info class. Write a built-in |
|
456 function that gives all the basic information, then write who and |
|
457 whos as M-files. |
2439
|
458 |
3125
|
459 * Make whos work for structure elements: |
|
460 |
|
461 prot type rows cols name |
|
462 ==== ==== ==== ==== ==== |
|
463 wd matrix m n struct.x |
|
464 |
2799
|
465 * On systems that support matherr(), make it possible for users to |
|
466 enable the printing of warning messages. |
|
467 |
2862
|
468 * Make it possible to mark variables and functions as read-only. |
|
469 |
3060
|
470 * Provide a built-in function for applying a scalar function to an |
|
471 array. Be sure to note in the manual that this is not the |
|
472 preferred way to write a function that can handle vector/matrix |
|
473 arguments because there is a significant overhead for function |
|
474 calls. If you are really looking to make a function work for |
|
475 vector/matrix arguments and you want it to run fast, you should |
|
476 write it in terms of the existing vector/matrix operators as much |
|
477 as possible. |
|
478 |
3092
|
479 * Make it possible to write a function that gets a reference to a |
|
480 matrix in memory and change one or more elements without |
|
481 generating a second copy of the data. |
|
482 |
2330
|
483 ------- |
|
484 History: |
|
485 ------- |
|
486 |
|
487 * Add an option to allow saving input from script files in the |
|
488 history list. |
|
489 |
3092
|
490 * The history command should accept two numeric arguments to |
|
491 indicate a range of history entries to display, save or read. |
|
492 |
2862
|
493 * Add an option to include information about the Octave session in |
|
494 the history list. Possibly a time/date stamp and the current |
|
495 Octave line number, appended as a comment (users should probably |
|
496 be able to control the format). |
|
497 |
2330
|
498 * Fix history problems -- core dump if multiple processes are |
|
499 writing to the same history file? |
|
500 |
|
501 ------------------------------ |
|
502 Configuration and Installation: |
|
503 ------------------------------ |
|
504 |
2473
|
505 * Handle USE_READLINE so that --enable-readline will work. |
2330
|
506 |
|
507 * Make Octave as independent of the particular readline version as |
|
508 possible. |
|
509 |
2473
|
510 * Add an --enable-pathsearch option to configure to make it possible |
|
511 to configure and run without kpathsea. |
|
512 |
2811
|
513 * Make configure take more defaults from the environment. It should |
|
514 definitely pay attention to CFLAGS, CXXFLAGS, FFLAGS, etc. |
2469
|
515 |
2330
|
516 * Should --enable-lite-kernel imply --enable-shared? |
|
517 |
3069
|
518 * Should --enable-dl imply --enable-shared? |
|
519 |
2330
|
520 * Make it possible to configure without readline. |
|
521 |
|
522 * Makefile changes: |
|
523 -- eliminate for loops |
|
524 -- define shell commands or eliminate them |
|
525 -- verify distclean |
|
526 -- consolidate targets |
|
527 |
|
528 * Make it possible to configure so that installed binaries and |
|
529 shared libraries are stripped. |
|
530 |
|
531 * Make installation of the static libraries optional. |
|
532 |
3069
|
533 * Create a docs-only distribution? |
|
534 |
2330
|
535 ------------------------------ |
|
536 Documentation and On-Line Help: |
|
537 ------------------------------ |
|
538 |
|
539 * Document new features. |
|
540 -- history-search-{back,for}ward. |
|
541 -- try/catch. |
|
542 -- Other stuff mentioned in the NEWS file. |
|
543 |
|
544 * Improve the Texinfo Documentation for the interpreter. It would |
|
545 be useful to have lots more examples, to not have so many forward |
|
546 references, and to not have very many simple lists of functions. |
|
547 |
|
548 * The docs should mention something about efficiency and that using |
|
549 array operations is almost always a good idea for speed. |
|
550 |
|
551 * Texinfo documentation for the C++ classes. |
|
552 |
|
553 * Support multiple info files, perhaps allowing one or more in each |
|
554 directory in the LOADPATH, so that local collections of M-files |
|
555 could be documented with Info. |
|
556 |
|
557 * Figure out a good way to have functions and variables documented |
|
558 in only one place. |
|
559 |
|
560 * Improve help messages for operators and keywords in help.cc. |
|
561 |
|
562 * Make index entries more consistent to improve behavior of `help -i'. |
|
563 |
|
564 * Make `help -i' try to find a whole word match first. |
|
565 |
|
566 * Allow help for local additions to be accessible with help -i. |
|
567 |
|
568 * Make the arrow keys work in the info reader. |
|
569 |
|
570 * Update Info to be based on the current Texinfo release. |
|
571 |
2378
|
572 * Should info/terminal.c include definitions for PC, BC, UP, and |
|
573 ospeed on all systems? |
|
574 |
3130
|
575 * Clean up help stuff. |
|
576 |
2330
|
577 * Demo files. |
|
578 |
|
579 * As the number of m-files with octave grows perhaps a 'Contents.m' |
|
580 file for each toolbox (directory) would be appropriate so one |
|
581 knows exactly what functions are in a toolbox with a quick look. |
|
582 It would be best to generate information for each function directly |
|
583 from the M-files, so that the information doesn't have to be |
|
584 duplicated, and will remain current if the M-files change. It |
|
585 would also be best to do as much of this as possible in an M-file, |
|
586 though I wouldn't mind adding some basic support for listing the |
|
587 names of all the directories in the LOADPATH, and the names of all |
|
588 the M-files in a given directory if that is needed. |
|
589 |
2787
|
590 Also make it possible to recursively search for Contents files: |
|
591 |
|
592 help dir -- Contents from dir |
|
593 help dir// -- Contents from dir and all its subdirectories |
|
594 help dir1/dir2 -- Contents from dir2 which is under dir1 |
|
595 |
2330
|
596 * Some sort of blurb (2-3 pages) describing Octave in a reasonably |
|
597 coherent way, where to get it etc., perhaps formatted pretty, |
|
598 i.e. not just text. Maybe start with the latest Announce file. |
|
599 |
|
600 ----- |
|
601 Tests: |
|
602 ----- |
|
603 |
|
604 * Improved set of tests: |
|
605 |
|
606 -- Tests for various functions. Would be nice to have a test file |
|
607 corresponding to every function. |
|
608 |
|
609 -- Tests for element by element operators: |
|
610 + - .* ./ .\ .^ | & < <= == >= > != ! |
|
611 |
|
612 -- Tests for boolean operators: && || |
|
613 |
|
614 -- Tests for other operators: * / \ ' .' |
|
615 |
|
616 -- Tests from bug reports. |
|
617 |
|
618 -- Tests for indexed assignment. Need to consider the following: |
|
619 o fortran-style indexing |
|
620 o zero-one indexing |
|
621 o assignment of empty matrix as well as values |
|
622 o resizing |
|
623 |
|
624 * Tests for all internal functions. |
|
625 |
|
626 ----------- |
|
627 Programming: |
|
628 ----------- |
|
629 |
|
630 * Move toward using more stuff from standard C++ library. |
|
631 |
|
632 * More C++/Fortran cleanups. |
|
633 |
|
634 * It is likely that there are still some memory leaks. Hunt then down |
|
635 and plug them. |
|
636 |
2475
|
637 * Better error messages for missing operators? |
|
638 |
|
639 * Eliminate duplicate enums in pt-exp.cc, pt-const.cc, and ov.cc. |
|
640 |
|
641 * Handle octave_print_internal() stuff at the liboctave level. Then |
|
642 the octave_value classes could just call on the print() methods |
|
643 for the underlying classes. |
|
644 |
|
645 * As much as possible, eliminate explicit checks for the types of |
|
646 octave_value objects so that user-defined types will automatically |
|
647 do the right thing in more cases. |
|
648 |
2330
|
649 * Only include config.h in files that actually need it, instead of |
|
650 including it in every .cc file. Unfortunately, this might not be |
|
651 so easy to figure out. |
|
652 |
|
653 * GNU coding standards: |
|
654 |
|
655 -- Add a `Makefile' target to the Makefiles. |
|
656 -- Comments on #else and #endif preprocessor commands. |
|
657 -- Change error message format to match standards everywhere. |
|
658 |
|
659 * Use STL stuff instead of libg++ lists, maps, and stacks. |
|
660 |
|
661 * Eliminate more global variables. |
|
662 |
|
663 * Encapsulate readline in a class. Include interface to stuff like |
|
664 blink_matching_paren. |
|
665 |
|
666 * Encapsulate resource stuff in a class. |
|
667 |
|
668 * Move procstream to liboctave. |
|
669 |
|
670 * Replace more C-style vectors with Array<T> stuff. |
|
671 |
|
672 * Use references and classes in more places. |
|
673 |
|
674 * Share more code among the various *_options functions. |
|
675 |
|
676 ------------- |
|
677 Miscellaneous: |
|
678 ------------- |
|
679 |
|
680 * Implement some functions for interprocess communication: bind, |
|
681 accept, connect, gethostbyname, etc. |
|
682 |
2454
|
683 * The installation process should also install octave.el. This |
|
684 needs to detect the appropriate Emacs binary to use to |
|
685 byte-compile the .el file. Following GNU Emacs philosophy, |
|
686 installation would be into $(prefix)/share/emacs/site-lisp by |
|
687 default, but it should be selectable. |
|
688 |
2330
|
689 * The ability to transparently handle very large files: |
|
690 |
|
691 Juhana K Kouhia <kouhia@nic.funet.fi> wrote: |
|
692 |
|
693 If I have a one-dimensional signal data with the size 400 |
|
694 Mbytes, then what are my choices to operate with it: |
|
695 |
|
696 * I have to split the data |
|
697 * Octave has a virtual memory on its own and I don't have to |
|
698 worry about the splitting. |
|
699 |
|
700 If I split the data, then my easily programmed processing |
|
701 programs will become hard to program. |
|
702 |
|
703 If possible, I would like to have the virtual memory system in |
|
704 Octave i.e. the all big files, the user see as one big array or |
|
705 such. There could be several user selectable models to do the |
|
706 virtual memory depending on what kind of data the user have (1d, |
|
707 2d) and in what order they are processed (stream or random |
|
708 access). |
|
709 |
|
710 Perhaps this can be done entirely with a library of M-files. |
|
711 |
|
712 * Add a function like strptime() which is the opposite of |
|
713 strftime(). A C version is apparently in recent releases of the |
|
714 Linux C library. |
|
715 |
2789
|
716 * Add a definition to lgrind so that it supports Octave. |
|
717 (See http://www.tex.ac.uk/tex-archive/support/lgrind/ for more |
|
718 information about lgrind.) |
|
719 |
2330
|
720 ------ |
|
721 Always: |
|
722 ------ |
|
723 |
|
724 * Squash bugs. |
|
725 |
|
726 --30-- |