annotate etc/NEWS.10.md @ 33200:9f97974976cd

Allow integer inputs greater than 999999 to jsonencode (bug #65447) * NEWS.10.md: Announce that integers and flints are now output without ".0" suffix. * jsonencode.cc (encode_numeric): Remove test for floating point integers being below 999999 in order to write out as integer. Add new "else if" block to process integer inputs and write them as integers. * jsonencode.cc (encode): Better comments for if/else if tree decoding input type. * jsonencode_BIST.tst: New tests for integer inputs and for flints greater than 1e6.
author Rik <rik@octave.org>
date Tue, 12 Mar 2024 21:47:48 -0700
parents 297fd823a953
children 67480f3843c7
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
32483
48023451eea9 NEWS: Update for version 10 development.
Rik <rik@octave.org>
parents:
diff changeset
1 Summary of important user-visible changes for version 10 (yyyy-mm-dd):
48023451eea9 NEWS: Update for version 10 development.
Rik <rik@octave.org>
parents:
diff changeset
2 ---------------------------------------------------------------------
48023451eea9 NEWS: Update for version 10 development.
Rik <rik@octave.org>
parents:
diff changeset
3
48023451eea9 NEWS: Update for version 10 development.
Rik <rik@octave.org>
parents:
diff changeset
4 ### General improvements
48023451eea9 NEWS: Update for version 10 development.
Rik <rik@octave.org>
parents:
diff changeset
5
32669
b18af44b044b Add new short form aliases of runtime long form options to octave.
Rik <rik@octave.org>
parents: 32660
diff changeset
6 - Three short form aliases have been added for long form options when starting
b18af44b044b Add new short form aliases of runtime long form options to octave.
Rik <rik@octave.org>
parents: 32660
diff changeset
7 `octave`.
b18af44b044b Add new short form aliases of runtime long form options to octave.
Rik <rik@octave.org>
parents: 32660
diff changeset
8 * `-e CODE` for `--eval CODE`
b18af44b044b Add new short form aliases of runtime long form options to octave.
Rik <rik@octave.org>
parents: 32660
diff changeset
9 * `-g` for `--gui`
b18af44b044b Add new short form aliases of runtime long form options to octave.
Rik <rik@octave.org>
parents: 32660
diff changeset
10 * `-G` for `--no-gui`
b18af44b044b Add new short form aliases of runtime long form options to octave.
Rik <rik@octave.org>
parents: 32660
diff changeset
11
32678
49d6ecd07a76 Rename command-line options for handling configuration files.
Rik <rik@octave.org>
parents: 32677
diff changeset
12 - Three long form options have been introduced for clarity.
49d6ecd07a76 Rename command-line options for handling configuration files.
Rik <rik@octave.org>
parents: 32677
diff changeset
13 * `--no-init-user` : Don't read user configuration files ~/.octaverc or
49d6ecd07a76 Rename command-line options for handling configuration files.
Rik <rik@octave.org>
parents: 32677
diff changeset
14 .octaverc files at startup.
49d6ecd07a76 Rename command-line options for handling configuration files.
Rik <rik@octave.org>
parents: 32677
diff changeset
15 * `--no-init-site` : Don't read site-wide configuration files at startup.
49d6ecd07a76 Rename command-line options for handling configuration files.
Rik <rik@octave.org>
parents: 32677
diff changeset
16 * `--no-init-all` : Don't read any configuration files at startup.
49d6ecd07a76 Rename command-line options for handling configuration files.
Rik <rik@octave.org>
parents: 32677
diff changeset
17
33170
82ae00b40c2c maint: strip trailing whitespace from source files
John W. Eaton <jwe@octave.org>
parents: 33160
diff changeset
18 - `nchoosek` algorithm is now ~2x faster and provides greater precision.
32926
39b341c858a7 nchoosek: Improve input validation and code clarity (bug #65238)
Rik <rik@octave.org>
parents: 32726
diff changeset
19
33199
297fd823a953 nextpow2.m: Overhaul function for improved accuracy and Matlab compatibility (bug #65441)
Rik <rik@octave.org>
parents: 33170
diff changeset
20 - `nextpow2` algorithm is now more accurate for inputs very close to a power
297fd823a953 nextpow2.m: Overhaul function for improved accuracy and Matlab compatibility (bug #65441)
Rik <rik@octave.org>
parents: 33170
diff changeset
21 of 2. The output class now matches the input class for Matlab compatibility.
297fd823a953 nextpow2.m: Overhaul function for improved accuracy and Matlab compatibility (bug #65441)
Rik <rik@octave.org>
parents: 33170
diff changeset
22 The function no longer accepts complex inputs and will emit an error for these
297fd823a953 nextpow2.m: Overhaul function for improved accuracy and Matlab compatibility (bug #65441)
Rik <rik@octave.org>
parents: 33170
diff changeset
23 inputs.
297fd823a953 nextpow2.m: Overhaul function for improved accuracy and Matlab compatibility (bug #65441)
Rik <rik@octave.org>
parents: 33170
diff changeset
24
33200
9f97974976cd Allow integer inputs greater than 999999 to jsonencode (bug #65447)
Rik <rik@octave.org>
parents: 33199
diff changeset
25 - `jsonencode` now outputs integers and floating point integers without ".0"
9f97974976cd Allow integer inputs greater than 999999 to jsonencode (bug #65447)
Rik <rik@octave.org>
parents: 33199
diff changeset
26 suffix.
9f97974976cd Allow integer inputs greater than 999999 to jsonencode (bug #65447)
Rik <rik@octave.org>
parents: 33199
diff changeset
27
32483
48023451eea9 NEWS: Update for version 10 development.
Rik <rik@octave.org>
parents:
diff changeset
28 ### Graphical User Interface
48023451eea9 NEWS: Update for version 10 development.
Rik <rik@octave.org>
parents:
diff changeset
29
48023451eea9 NEWS: Update for version 10 development.
Rik <rik@octave.org>
parents:
diff changeset
30 ### Graphics backend
48023451eea9 NEWS: Update for version 10 development.
Rik <rik@octave.org>
parents:
diff changeset
31
32587
a6b7c5620240 polar.m: Populate rtick with center value on plot creation (bug #64991)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 32583
diff changeset
32 - `polar` plots now include the center tick mark value, typically 0, in
a6b7c5620240 polar.m: Populate rtick with center value on plot creation (bug #64991)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 32583
diff changeset
33 the 'rtick' parameter when the plot is created. Subsequent modifications
32595
2cf4c5bfc410 polar.m: Tweaks to cset a6b7c5620240 (bug #64991)
Rik <rik@octave.org>
parents: 32587
diff changeset
34 to 'rtick' by the function `rticks` will only include the center tick mark
2cf4c5bfc410 polar.m: Tweaks to cset a6b7c5620240 (bug #64991)
Rik <rik@octave.org>
parents: 32587
diff changeset
35 value if it is specified.
32587
a6b7c5620240 polar.m: Populate rtick with center value on plot creation (bug #64991)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 32583
diff changeset
36
32483
48023451eea9 NEWS: Update for version 10 development.
Rik <rik@octave.org>
parents:
diff changeset
37 ### Matlab compatibility
48023451eea9 NEWS: Update for version 10 development.
Rik <rik@octave.org>
parents:
diff changeset
38
32583
c273d7fdab3a doc: Add height and width info to rows and columns docstrings (bug #64995)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 32505
diff changeset
39 - `height` and `width` are now aliases for the `rows` and `columns` functions.
c273d7fdab3a doc: Add height and width info to rows and columns docstrings (bug #64995)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 32505
diff changeset
40
32647
dfb9b770ae77 Increase default colormap size to 256 colors, add colormap BISTs (bug #65010)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 32625
diff changeset
41 - All colormaps now default to a size of 256 colors. (The previous default
dfb9b770ae77 Increase default colormap size to 256 colors, add colormap BISTs (bug #65010)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 32625
diff changeset
42 size was 64.
dfb9b770ae77 Increase default colormap size to 256 colors, add colormap BISTs (bug #65010)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 32625
diff changeset
43
32726
d970ec60aa64 griddata: Match output size to vector interpolation points. (bug #65134)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 32678
diff changeset
44 - `griddata` output size more consistently matches the input interpolation
d970ec60aa64 griddata: Match output size to vector interpolation points. (bug #65134)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 32678
diff changeset
45 points when they are input as vectors. When they are same-orientation vectors,
d970ec60aa64 griddata: Match output size to vector interpolation points. (bug #65134)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 32678
diff changeset
46 the outputs will be the same size as those vectors. When either is a row
d970ec60aa64 griddata: Match output size to vector interpolation points. (bug #65134)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 32678
diff changeset
47 vector and the other is a column vector, the interpolating points are processed
d970ec60aa64 griddata: Match output size to vector interpolation points. (bug #65134)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 32678
diff changeset
48 through meshgrid and the output is a matrix the same size as the meshgrid.
d970ec60aa64 griddata: Match output size to vector interpolation points. (bug #65134)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 32678
diff changeset
49
33088
49dec190c4da unqiue.m: Implement third output when 'stable' sort is used. (bug #65176)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 32926
diff changeset
50 - Enable the third output for `unique` with the `stable` sort option.
49dec190c4da unqiue.m: Implement third output when 'stable' sort is used. (bug #65176)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 32926
diff changeset
51
32483
48023451eea9 NEWS: Update for version 10 development.
Rik <rik@octave.org>
parents:
diff changeset
52 ### Alphabetical list of new functions added in Octave 10
48023451eea9 NEWS: Update for version 10 development.
Rik <rik@octave.org>
parents:
diff changeset
53
33129
92b8822976fe clim.m: New function identical to caxis, but more clearly named.
Rik <rik@octave.org>
parents: 33088
diff changeset
54 * `clim`
32602
65084aa09317 rticklabels.m, tticklabels.m: Add new functions. (patch #10408)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 32595
diff changeset
55 * `rticklabels`
65084aa09317 rticklabels.m, tticklabels.m: Add new functions. (patch #10408)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 32595
diff changeset
56 * `tticklabels`
65084aa09317 rticklabels.m, tticklabels.m: Add new functions. (patch #10408)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 32595
diff changeset
57
32483
48023451eea9 NEWS: Update for version 10 development.
Rik <rik@octave.org>
parents:
diff changeset
58 ### Deprecated functions, properties, and operators
48023451eea9 NEWS: Update for version 10 development.
Rik <rik@octave.org>
parents:
diff changeset
59
48023451eea9 NEWS: Update for version 10 development.
Rik <rik@octave.org>
parents:
diff changeset
60 The following functions and properties have been deprecated in Octave 10
48023451eea9 NEWS: Update for version 10 development.
Rik <rik@octave.org>
parents:
diff changeset
61 and will be removed from Octave 12 (or whatever version is the second
48023451eea9 NEWS: Update for version 10 development.
Rik <rik@octave.org>
parents:
diff changeset
62 major release after 10):
48023451eea9 NEWS: Update for version 10 development.
Rik <rik@octave.org>
parents:
diff changeset
63
48023451eea9 NEWS: Update for version 10 development.
Rik <rik@octave.org>
parents:
diff changeset
64 - Functions
48023451eea9 NEWS: Update for version 10 development.
Rik <rik@octave.org>
parents:
diff changeset
65
48023451eea9 NEWS: Update for version 10 development.
Rik <rik@octave.org>
parents:
diff changeset
66 Function | Replacement
48023451eea9 NEWS: Update for version 10 development.
Rik <rik@octave.org>
parents:
diff changeset
67 -----------------------|------------------
48023451eea9 NEWS: Update for version 10 development.
Rik <rik@octave.org>
parents:
diff changeset
68
32625
b60af3354ac3 maint: Deprecate mark_as_variable, unmark_as_variable methods for code clarity.
Rik <rik@octave.org>
parents: 32602
diff changeset
69 - Core
b60af3354ac3 maint: Deprecate mark_as_variable, unmark_as_variable methods for code clarity.
Rik <rik@octave.org>
parents: 32602
diff changeset
70
b60af3354ac3 maint: Deprecate mark_as_variable, unmark_as_variable methods for code clarity.
Rik <rik@octave.org>
parents: 32602
diff changeset
71 Function | Replacement
b60af3354ac3 maint: Deprecate mark_as_variable, unmark_as_variable methods for code clarity.
Rik <rik@octave.org>
parents: 32602
diff changeset
72 --------------------------------------|------------------
b60af3354ac3 maint: Deprecate mark_as_variable, unmark_as_variable methods for code clarity.
Rik <rik@octave.org>
parents: 32602
diff changeset
73 symbol_record_rep::mark_as_variable | symbol_record_rep::mark_variable
b60af3354ac3 maint: Deprecate mark_as_variable, unmark_as_variable methods for code clarity.
Rik <rik@octave.org>
parents: 32602
diff changeset
74 symbol_record_rep::unmark_as_variable | symbol_record_rep::unmark_variable
b60af3354ac3 maint: Deprecate mark_as_variable, unmark_as_variable methods for code clarity.
Rik <rik@octave.org>
parents: 32602
diff changeset
75 symbol_record::mark_as_variable | symbol_record::mark_variable
b60af3354ac3 maint: Deprecate mark_as_variable, unmark_as_variable methods for code clarity.
Rik <rik@octave.org>
parents: 32602
diff changeset
76 symbol_record::unmark_as_variable | symbol_record::unmark_variable
32677
03dcf031fbf3 Deprecate '--verbose' option in favor of '--init-trace'.
Rik <rik@octave.org>
parents: 32669
diff changeset
77 interpreter::verbose | interpreter::init_trace
03dcf031fbf3 Deprecate '--verbose' option in favor of '--init-trace'.
Rik <rik@octave.org>
parents: 32669
diff changeset
78 cmdline_options::verbose | cmdline_options::init_trace
32625
b60af3354ac3 maint: Deprecate mark_as_variable, unmark_as_variable methods for code clarity.
Rik <rik@octave.org>
parents: 32602
diff changeset
79
32677
03dcf031fbf3 Deprecate '--verbose' option in favor of '--init-trace'.
Rik <rik@octave.org>
parents: 32669
diff changeset
80 - A new method `rwdata ()` provides direct read/write access (a pointer) to the
32660
f53ac65ffba6 maint: New method rwdata() as clearer alternative to fortran_vec().
Rik <rik@octave.org>
parents: 32647
diff changeset
81 data in a liboctave `Array` object (or its derived classes such as `Matrix`).
f53ac65ffba6 maint: New method rwdata() as clearer alternative to fortran_vec().
Rik <rik@octave.org>
parents: 32647
diff changeset
82 Historically, the method `fortran_vec ()` provided this access, but the name
f53ac65ffba6 maint: New method rwdata() as clearer alternative to fortran_vec().
Rik <rik@octave.org>
parents: 32647
diff changeset
83 is unclear, and it is recommended to use `rwdata ()` in any new code. There
f53ac65ffba6 maint: New method rwdata() as clearer alternative to fortran_vec().
Rik <rik@octave.org>
parents: 32647
diff changeset
84 are no plans to deprecate `fortran_vec`.
f53ac65ffba6 maint: New method rwdata() as clearer alternative to fortran_vec().
Rik <rik@octave.org>
parents: 32647
diff changeset
85
32677
03dcf031fbf3 Deprecate '--verbose' option in favor of '--init-trace'.
Rik <rik@octave.org>
parents: 32669
diff changeset
86 - The `--verbose`,`-V` command-line option has been deprecated. Use
03dcf031fbf3 Deprecate '--verbose' option in favor of '--init-trace'.
Rik <rik@octave.org>
parents: 32669
diff changeset
87 `--init-trace` to print the configuration files executed during initialization.
03dcf031fbf3 Deprecate '--verbose' option in favor of '--init-trace'.
Rik <rik@octave.org>
parents: 32669
diff changeset
88
32483
48023451eea9 NEWS: Update for version 10 development.
Rik <rik@octave.org>
parents:
diff changeset
89 The following features were deprecated in Octave 8 and have been removed
48023451eea9 NEWS: Update for version 10 development.
Rik <rik@octave.org>
parents:
diff changeset
90 from Octave 10.
48023451eea9 NEWS: Update for version 10 development.
Rik <rik@octave.org>
parents:
diff changeset
91
48023451eea9 NEWS: Update for version 10 development.
Rik <rik@octave.org>
parents:
diff changeset
92 - Functions
48023451eea9 NEWS: Update for version 10 development.
Rik <rik@octave.org>
parents:
diff changeset
93
48023451eea9 NEWS: Update for version 10 development.
Rik <rik@octave.org>
parents:
diff changeset
94 Function | Replacement
48023451eea9 NEWS: Update for version 10 development.
Rik <rik@octave.org>
parents:
diff changeset
95 -----------------------|------------------
48023451eea9 NEWS: Update for version 10 development.
Rik <rik@octave.org>
parents:
diff changeset
96 shift | circshift
48023451eea9 NEWS: Update for version 10 development.
Rik <rik@octave.org>
parents:
diff changeset
97 sparse_auto_mutate | none (see below)
48023451eea9 NEWS: Update for version 10 development.
Rik <rik@octave.org>
parents:
diff changeset
98
33160
4584cb4207f1 build: Require a C++ compiler that is compliant with C++17.
Markus Mützel <markus.muetzel@gmx.de>
parents: 33129
diff changeset
99 ### Build system
4584cb4207f1 build: Require a C++ compiler that is compliant with C++17.
Markus Mützel <markus.muetzel@gmx.de>
parents: 33129
diff changeset
100
4584cb4207f1 build: Require a C++ compiler that is compliant with C++17.
Markus Mützel <markus.muetzel@gmx.de>
parents: 33129
diff changeset
101 - Octave now requires a C++ compiler that is compliant with C++17 (preferably
4584cb4207f1 build: Require a C++ compiler that is compliant with C++17.
Markus Mützel <markus.muetzel@gmx.de>
parents: 33129
diff changeset
102 with GNU extensions).
4584cb4207f1 build: Require a C++ compiler that is compliant with C++17.
Markus Mützel <markus.muetzel@gmx.de>
parents: 33129
diff changeset
103
32483
48023451eea9 NEWS: Update for version 10 development.
Rik <rik@octave.org>
parents:
diff changeset
104
48023451eea9 NEWS: Update for version 10 development.
Rik <rik@octave.org>
parents:
diff changeset
105 Summary of bugs fixed for version 10.1.0 (yyyy-mm-dd):
48023451eea9 NEWS: Update for version 10 development.
Rik <rik@octave.org>
parents:
diff changeset
106 ----------------------------------------------------
48023451eea9 NEWS: Update for version 10 development.
Rik <rik@octave.org>
parents:
diff changeset
107
48023451eea9 NEWS: Update for version 10 development.
Rik <rik@octave.org>
parents:
diff changeset
108 ### Old release news
48023451eea9 NEWS: Update for version 10 development.
Rik <rik@octave.org>
parents:
diff changeset
109
32505
fe131ab1011a NEWS: Update links to previous NEWS files.
Markus Mützel <markus.muetzel@gmx.de>
parents: 32483
diff changeset
110 - [Octave 9.x](etc/NEWS.9.md)
fe131ab1011a NEWS: Update links to previous NEWS files.
Markus Mützel <markus.muetzel@gmx.de>
parents: 32483
diff changeset
111 - [Octave 8.x](etc/NEWS.8.md)
fe131ab1011a NEWS: Update links to previous NEWS files.
Markus Mützel <markus.muetzel@gmx.de>
parents: 32483
diff changeset
112 - [Octave 7.x](etc/NEWS.7.md)
fe131ab1011a NEWS: Update links to previous NEWS files.
Markus Mützel <markus.muetzel@gmx.de>
parents: 32483
diff changeset
113 - [Octave 6.x](etc/NEWS.6.md)
fe131ab1011a NEWS: Update links to previous NEWS files.
Markus Mützel <markus.muetzel@gmx.de>
parents: 32483
diff changeset
114 - [Octave 5.x](etc/NEWS.5.md)
32483
48023451eea9 NEWS: Update for version 10 development.
Rik <rik@octave.org>
parents:
diff changeset
115 - [Octave 4.x](etc/NEWS.4)
48023451eea9 NEWS: Update for version 10 development.
Rik <rik@octave.org>
parents:
diff changeset
116 - [Octave 3.x](etc/NEWS.3)
48023451eea9 NEWS: Update for version 10 development.
Rik <rik@octave.org>
parents:
diff changeset
117 - [Octave 2.x](etc/NEWS.2)
48023451eea9 NEWS: Update for version 10 development.
Rik <rik@octave.org>
parents:
diff changeset
118 - [Octave 1.x](etc/NEWS.1)