Mercurial > octave-nkf
comparison src/ChangeLog @ 10613:e103fb2182ce
use internal variable instead of warning state to control whether to allow non-integer ranges as indices
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 07 May 2010 15:58:51 -0400 |
parents | 09e244649f50 |
children | d1194069e58c |
comparison
equal
deleted
inserted
replaced
10612:09e244649f50 | 10613:e103fb2182ce |
---|---|
1 2010-05-07 Michael Goffioul <michael.goffioul@gmail.com> | 1 2010-05-07 Michael Goffioul <michael.goffioul@gmail.com> |
2 | 2 |
3 * ov-base.h (Vsparse_auto_mutate): Add OCTINTERP_API tag. | 3 * ov-base.h (Vsparse_auto_mutate): Add OCTINTERP_API tag. |
4 | |
5 2010-05-07 John W. Eaton <jwe@octave.org> | |
6 | |
7 * octave.cc (maximum_braindamage): Set value of internal | |
8 variable Vallow_noninteger_range_as_index to true instead of | |
9 setting Octave:allow-noninteger-ranges-as-indices warning state. | |
10 * ov-range.cc (Fallow_noninteger_range_as_index): New function. | |
11 (Vallow_noninteger_range_as_index): New variable. | |
12 (octave_range::index_vector): Only allow non-integer range as | |
13 index if Vallow_noninteger_range_as_index is true. | |
14 (octave_range::bool_array_value): Move definition here from ov-range.h. | |
15 * ov-range.h (Vallow_noninteger_range_as_index): Provide decl. | |
16 * utils.cc (reset_warning_state): Delete. | |
17 (Fisindex): Temporarily set Vallow_noninteger_range_as_index | |
18 instead of changing warning state for | |
19 Octave:allow-noninteger-ranges-as-indices to "error". | |
4 | 20 |
5 2010-05-06 John W. Eaton <jwe@octave.org> | 21 2010-05-06 John W. Eaton <jwe@octave.org> |
6 | 22 |
7 * xgl2ps.c: Don't compile gl2ps.c unless we have OpenGL. | 23 * xgl2ps.c: Don't compile gl2ps.c unless we have OpenGL. |
8 From Petr Mikulik <mikulik>. | 24 From Petr Mikulik <mikulik>. |