annotate etc/NEWS.7.md @ 31390:2c037ce00450 stable release-7-3-0

Version 7.3.0 released. * configure.ac (AC_INIT): Set version to 7.3.0. (OCTAVE_MINOR_VERSION): Now 3. (OCTAVE_PATCH_VERSION): Now 0. (OCTAVE_RELEASE_DATE): Set to "2022-11-02". * org.octave.Octave.appdata.xml: Add release info for version 7.3.0. * CITATION: Update for 7.3.0. * NEWS.7.md: Update release date.
author John W. Eaton <jwe@octave.org>
date Wed, 02 Nov 2022 14:19:56 -0400
parents 94cde013cffc
children 01e9fdd57d1a
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
31390
2c037ce00450 Version 7.3.0 released.
John W. Eaton <jwe@octave.org>
parents: 31386
diff changeset
1 Summary of bugs fixed for version 7.3.0 (2022-11-02):
31059
b4a6ea55154f NEWS.7.md: Prepare NEWS file for Octave 7.2.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31054
diff changeset
2 ----------------------------------------------------
b4a6ea55154f NEWS.7.md: Prepare NEWS file for Octave 7.2.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31054
diff changeset
3
b4a6ea55154f NEWS.7.md: Prepare NEWS file for Octave 7.2.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31054
diff changeset
4 For (bug #XXXXX) see https://savannah.gnu.org/bugs/?XXXXX
b4a6ea55154f NEWS.7.md: Prepare NEWS file for Octave 7.2.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31054
diff changeset
5
b4a6ea55154f NEWS.7.md: Prepare NEWS file for Octave 7.2.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31054
diff changeset
6 ### Improvements and fixes
b4a6ea55154f NEWS.7.md: Prepare NEWS file for Octave 7.2.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31054
diff changeset
7
31279
a3ad15a21c51 NEWS.7.md: Prepare NEWS file for Octave 7.3.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31163
diff changeset
8 - `scanf`: Don't set error when reaching end of stream (bug #62723).
a3ad15a21c51 NEWS.7.md: Prepare NEWS file for Octave 7.3.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31163
diff changeset
9 - Fix duplicate names displayed with mixed `@class`/`classdef` classes (bug #62802).
a3ad15a21c51 NEWS.7.md: Prepare NEWS file for Octave 7.3.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31163
diff changeset
10 - `canonicalize_file_name`: Handle symlinks to UNC network shares (bug #62847).
a3ad15a21c51 NEWS.7.md: Prepare NEWS file for Octave 7.3.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31163
diff changeset
11 - `canonicalize_file_name`: Generalize check for mapped network drive (bug #62847).
a3ad15a21c51 NEWS.7.md: Prepare NEWS file for Octave 7.3.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31163
diff changeset
12 - `fortran_vec`: Fix instances of method chaining that may cause dangling pointer.
a3ad15a21c51 NEWS.7.md: Prepare NEWS file for Octave 7.3.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31163
diff changeset
13 - Fix wrong color in PDF printout of some LaTeX strings (bug #62884).
a3ad15a21c51 NEWS.7.md: Prepare NEWS file for Octave 7.3.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31163
diff changeset
14 - `unpack.m`: Escape backslashes in paths on Windows (bug #62888).
a3ad15a21c51 NEWS.7.md: Prepare NEWS file for Octave 7.3.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31163
diff changeset
15 - `canonicalize_file_name`: Check root of potential mapped network drive (bug #62847).
a3ad15a21c51 NEWS.7.md: Prepare NEWS file for Octave 7.3.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31163
diff changeset
16 - `nextpow2.m`: Fix for input between 0.5 and 1 (bug #62947).
a3ad15a21c51 NEWS.7.md: Prepare NEWS file for Octave 7.3.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31163
diff changeset
17 - `quad2d`: Fix unintended complex conjugate return (bug #62972).
a3ad15a21c51 NEWS.7.md: Prepare NEWS file for Octave 7.3.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31163
diff changeset
18 - Make sure we don't pass short 8.3 path to `latex` on Windows (bug #62779).
a3ad15a21c51 NEWS.7.md: Prepare NEWS file for Octave 7.3.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31163
diff changeset
19 - `canonicalize_file_name`: Trim trailing file separators from root of mapped network drive (bug #62847).
a3ad15a21c51 NEWS.7.md: Prepare NEWS file for Octave 7.3.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31163
diff changeset
20 - `imformats.m`: Fix `isa` function in return value (bug #62974).
a3ad15a21c51 NEWS.7.md: Prepare NEWS file for Octave 7.3.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31163
diff changeset
21 - `pie3`: Fix "Too many input" args error.
a3ad15a21c51 NEWS.7.md: Prepare NEWS file for Octave 7.3.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31163
diff changeset
22 - Accept negative inputs to -2^63 for `dec2bin` and `dec2hex` (bug #63089).
a3ad15a21c51 NEWS.7.md: Prepare NEWS file for Octave 7.3.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31163
diff changeset
23 - Fix incorrect `lambda` outputs for `lsqnonneg` and `pqpnonneg` (bug #63178).
31290
b8afc6e7d9b4 addtodate.m: correct for months with unequal number of days (bug #60671)
Georg Wiora <gwiora>
parents: 31279
diff changeset
24 - `addtodate.m`: Fix wrong month returned when subtracting a month from some end-of-month dates (bug #60671).
31305
3b16c2d90326 var.m: Ensure consistent NaN outputs for Inf and NaN inputs (bug #63203)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 31290
diff changeset
25 - `var.m`: Fix some Inf and NaN inputs returning 0 instead of NaN (bug #63203)
31370
80bd450892b2 var.m: Use bsxfun rather than broadcasting with vector weighting (bug #63291)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 31349
diff changeset
26 - `var.m`: Fix automatic broadcasting error for sparse and diagonal matrix inputs with vector weighting (bug #63291).
31349
9e7a7e6f54bc NEWS.7.md: Update NEWS file with recent changes for Octave 7.3.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31310
diff changeset
27 - `legend.m`: Fix error with `contour` plot containing `clabel`s (bug #63262).
9e7a7e6f54bc NEWS.7.md: Update NEWS file with recent changes for Octave 7.3.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31310
diff changeset
28 - `dec2bin.m`: Fix input validation (bug #63089).
9e7a7e6f54bc NEWS.7.md: Update NEWS file with recent changes for Octave 7.3.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31310
diff changeset
29 - `glpk.m`: Avoid using `isfinite` on potentially sparse input.
31386
94cde013cffc NEWS.7.md: Update NEWS file with recent changes for Octave 7.3.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31370
diff changeset
30 - `var.m`: Use `bsxfun` rather than broadcasting with vector weighting (bug #63291).
94cde013cffc NEWS.7.md: Update NEWS file with recent changes for Octave 7.3.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31370
diff changeset
31 - Fix out of bound indexing in in-place broadcasting operations (bug #63303).
31279
a3ad15a21c51 NEWS.7.md: Prepare NEWS file for Octave 7.3.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31163
diff changeset
32
31163
efb29ba0a667 bump stable branch version after release
John W. Eaton <jwe@octave.org>
parents: 31161
diff changeset
33 ### GUI
31310
e649aa69d5bc NEWS.7.md: Update NEWS file with recent changes for Octave 7.3.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31305
diff changeset
34 - Respect confirmation when deleting files in file browser widget (bug #63198).
31163
efb29ba0a667 bump stable branch version after release
John W. Eaton <jwe@octave.org>
parents: 31161
diff changeset
35
efb29ba0a667 bump stable branch version after release
John W. Eaton <jwe@octave.org>
parents: 31161
diff changeset
36 ### Build system / Tests
efb29ba0a667 bump stable branch version after release
John W. Eaton <jwe@octave.org>
parents: 31161
diff changeset
37
31279
a3ad15a21c51 NEWS.7.md: Prepare NEWS file for Octave 7.3.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31163
diff changeset
38 - `io.tst`: Add test case for `scanf` (bug #62723).
a3ad15a21c51 NEWS.7.md: Prepare NEWS file for Octave 7.3.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31163
diff changeset
39 - `nextpow2.m`: Add bug number tag to regression tests (bug #62947).
a3ad15a21c51 NEWS.7.md: Prepare NEWS file for Octave 7.3.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31163
diff changeset
40 - `quad2d.m`: Add BIST to cset b0e90ca8e679 (bug #62972).
31349
9e7a7e6f54bc NEWS.7.md: Update NEWS file with recent changes for Octave 7.3.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31310
diff changeset
41 - Add test for number of methods with `classdef` in @folder (bug #62802).
9e7a7e6f54bc NEWS.7.md: Update NEWS file with recent changes for Octave 7.3.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31310
diff changeset
42 - Use Autoconf macro to find `egrep` executable.
31279
a3ad15a21c51 NEWS.7.md: Prepare NEWS file for Octave 7.3.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31163
diff changeset
43
31163
efb29ba0a667 bump stable branch version after release
John W. Eaton <jwe@octave.org>
parents: 31161
diff changeset
44 ### Documentation
efb29ba0a667 bump stable branch version after release
John W. Eaton <jwe@octave.org>
parents: 31161
diff changeset
45
31279
a3ad15a21c51 NEWS.7.md: Prepare NEWS file for Octave 7.3.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31163
diff changeset
46 - `uitable.m`: Fix example code (bug #62824).
a3ad15a21c51 NEWS.7.md: Prepare NEWS file for Octave 7.3.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31163
diff changeset
47 - Clarify number of processors returned by `nproc` with hyperthreading.
a3ad15a21c51 NEWS.7.md: Prepare NEWS file for Octave 7.3.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31163
diff changeset
48 - Minor wording change to hashing documentation.
a3ad15a21c51 NEWS.7.md: Prepare NEWS file for Octave 7.3.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31163
diff changeset
49 - `lsqnonneg` and `pqpnonneg`: Document undocumented outputs.
a3ad15a21c51 NEWS.7.md: Prepare NEWS file for Octave 7.3.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31163
diff changeset
50 - `pqpnonneg.m`: Improve docstring readability.
a3ad15a21c51 NEWS.7.md: Prepare NEWS file for Octave 7.3.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31163
diff changeset
51 - `lsode`: Make TeX and non-TeX docstrings agree.
a3ad15a21c51 NEWS.7.md: Prepare NEWS file for Octave 7.3.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31163
diff changeset
52 - `curl`: Fix error in TeX docstring.
31310
e649aa69d5bc NEWS.7.md: Update NEWS file with recent changes for Octave 7.3.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31305
diff changeset
53 - Update text on function argument checking.
31386
94cde013cffc NEWS.7.md: Update NEWS file with recent changes for Octave 7.3.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31370
diff changeset
54 - `schur`: Update documentation.
31279
a3ad15a21c51 NEWS.7.md: Prepare NEWS file for Octave 7.3.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31163
diff changeset
55
31163
efb29ba0a667 bump stable branch version after release
John W. Eaton <jwe@octave.org>
parents: 31161
diff changeset
56
efb29ba0a667 bump stable branch version after release
John W. Eaton <jwe@octave.org>
parents: 31161
diff changeset
57 Summary of bugs fixed for version 7.2.0 (2022-07-28):
efb29ba0a667 bump stable branch version after release
John W. Eaton <jwe@octave.org>
parents: 31161
diff changeset
58 ----------------------------------------------------
efb29ba0a667 bump stable branch version after release
John W. Eaton <jwe@octave.org>
parents: 31161
diff changeset
59
31279
a3ad15a21c51 NEWS.7.md: Prepare NEWS file for Octave 7.3.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31163
diff changeset
60 See: https://octave.org/news/release/2022/07/28/octave-7.2.0-released.html
a3ad15a21c51 NEWS.7.md: Prepare NEWS file for Octave 7.3.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31163
diff changeset
61
31163
efb29ba0a667 bump stable branch version after release
John W. Eaton <jwe@octave.org>
parents: 31161
diff changeset
62 ### Improvements and fixes
efb29ba0a667 bump stable branch version after release
John W. Eaton <jwe@octave.org>
parents: 31161
diff changeset
63
31059
b4a6ea55154f NEWS.7.md: Prepare NEWS file for Octave 7.2.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31054
diff changeset
64 - Avoid out-of-bounds indexing when checking for broadcastable inplace operators (bug #38466).
31060
7201d9b7cea6 NEWS.7.md: Fix typo and formatting.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31059
diff changeset
65 - `hdl2struct.m`: Fix saving of `uibuttongroups` (bug #62266).
31059
b4a6ea55154f NEWS.7.md: Prepare NEWS file for Octave 7.2.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31054
diff changeset
66 - Fix `ls` with glob patterns on Windows (bug #62282).
b4a6ea55154f NEWS.7.md: Prepare NEWS file for Octave 7.2.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31054
diff changeset
67 - `pkg.m`: Create directory before saving file (bug #62303).
b4a6ea55154f NEWS.7.md: Prepare NEWS file for Octave 7.2.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31054
diff changeset
68 - `nchoosek.m`: Fix freeze-up for certain integer inputs (bug #62319).
b4a6ea55154f NEWS.7.md: Prepare NEWS file for Octave 7.2.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31054
diff changeset
69 - `nchoosek.m`: Restore fast path code for floating point inputs (bug #62319).
b4a6ea55154f NEWS.7.md: Prepare NEWS file for Octave 7.2.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31054
diff changeset
70 - `betainc.m`: Use sophisticated technique for calculating exponents to avoid inaccuracies (bug #62329).
b4a6ea55154f NEWS.7.md: Prepare NEWS file for Octave 7.2.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31054
diff changeset
71 - `ls.m`: Fix handling of `\` on UNIX platforms (bug #62282).
b4a6ea55154f NEWS.7.md: Prepare NEWS file for Octave 7.2.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31054
diff changeset
72 - `findobj.m`: Fix input validation of graphics handles (bug #62378).
b4a6ea55154f NEWS.7.md: Prepare NEWS file for Octave 7.2.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31054
diff changeset
73 - `newplot.m`: Backed out changeset fdd58773ac02 (bug #61945).
b4a6ea55154f NEWS.7.md: Prepare NEWS file for Octave 7.2.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31054
diff changeset
74 - `__print_parse_opts__.m`: Initialize variables in all cases for print warnings (bug #62287).
b4a6ea55154f NEWS.7.md: Prepare NEWS file for Octave 7.2.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31054
diff changeset
75 - `__wglob__`: Correctly handle `.` and `..` in patterns on Windows (bug #62414).
b4a6ea55154f NEWS.7.md: Prepare NEWS file for Octave 7.2.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31054
diff changeset
76 - `datenum.m`: Correctly handle arrays with leading singleton dimensions (bug #62407).
b4a6ea55154f NEWS.7.md: Prepare NEWS file for Octave 7.2.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31054
diff changeset
77 - Stop incorrect error when `reset()` called on `uimenu` handle (bug #62425).
b4a6ea55154f NEWS.7.md: Prepare NEWS file for Octave 7.2.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31054
diff changeset
78 - Emit more informative error message on empty input when setting axis limits (bug #62541).
b4a6ea55154f NEWS.7.md: Prepare NEWS file for Octave 7.2.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31054
diff changeset
79 - `msgbox.m`: Allow "custom" `cdata` for icon (bug #62445).
b4a6ea55154f NEWS.7.md: Prepare NEWS file for Octave 7.2.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31054
diff changeset
80 - Fix memory leak with nested functions and anonymous functions (bug #62459).
b4a6ea55154f NEWS.7.md: Prepare NEWS file for Octave 7.2.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31054
diff changeset
81 - `__wglob__`: Retain trailing file separator on Windows (bug #62414).
b4a6ea55154f NEWS.7.md: Prepare NEWS file for Octave 7.2.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31054
diff changeset
82 - `pkg`: Avoid error when unlinking non-existent files (bug #62436).
b4a6ea55154f NEWS.7.md: Prepare NEWS file for Octave 7.2.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31054
diff changeset
83 - `mkoctfile.m`: Trim whitespace (newline) around system output.
b4a6ea55154f NEWS.7.md: Prepare NEWS file for Octave 7.2.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31054
diff changeset
84 - `subplot.m`: Avoid error when mixing `rcn` and `"position"` calling form (bug #62526).
b4a6ea55154f NEWS.7.md: Prepare NEWS file for Octave 7.2.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31054
diff changeset
85 - `plot`: Deprecate using numbers to select line colors (bug #62470).
b4a6ea55154f NEWS.7.md: Prepare NEWS file for Octave 7.2.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31054
diff changeset
86 - Don't shut down interpreter immediately on `execute` (bug #62308).
b4a6ea55154f NEWS.7.md: Prepare NEWS file for Octave 7.2.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31054
diff changeset
87 - `isprime.m` and `__isprimelarge__.cc`: Minor performance tweaks.
31112
7060de0b45e5 NEWS.7.md: Update NEWS file with recent changes for Octave 7.2.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31071
diff changeset
88 - `__wglob__`: Handle patterns with UNC paths on Windows (bug #62576).
7060de0b45e5 NEWS.7.md: Update NEWS file with recent changes for Octave 7.2.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31071
diff changeset
89 - Change wording of error message when using a variable as function (bug #62552).
7060de0b45e5 NEWS.7.md: Update NEWS file with recent changes for Octave 7.2.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31071
diff changeset
90 - `inputParser.m`: Adapt for interpreter changes regarding number of output arguments (bug #62420).
7060de0b45e5 NEWS.7.md: Update NEWS file with recent changes for Octave 7.2.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31071
diff changeset
91 - Store token ID, not keyword ID when parsing keywords (bug #62587).
7060de0b45e5 NEWS.7.md: Update NEWS file with recent changes for Octave 7.2.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31071
diff changeset
92 - `canonicalize_file_name`: Do not translate mapped network drive to UNC path (bug #62576).
7060de0b45e5 NEWS.7.md: Update NEWS file with recent changes for Octave 7.2.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31071
diff changeset
93 - `inputParser`: Correctly handle cell default values for optional parameters (bug #62639).
7060de0b45e5 NEWS.7.md: Update NEWS file with recent changes for Octave 7.2.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31071
diff changeset
94 - `factor.m`: Performance tweak to avoid division in certain cases.
7060de0b45e5 NEWS.7.md: Update NEWS file with recent changes for Octave 7.2.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31071
diff changeset
95 - Fix regression with `\color[rgb]` TeX pattern (bug #62668).
31154
ef45a559f592 NEWS.7.md: Update NEWS file with recent changes for Octave 7.2.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31112
diff changeset
96 - `regexp`: Check pattern length before accessing it (bug #62704).
ef45a559f592 NEWS.7.md: Update NEWS file with recent changes for Octave 7.2.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31112
diff changeset
97 - `pkg.m`: Create `PREFIX` and `ARCHPREFIX` directories (bug #62681).
ef45a559f592 NEWS.7.md: Update NEWS file with recent changes for Octave 7.2.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31112
diff changeset
98 - `pkg`: Replace `OCTAVE_HOME` in `PREFIX` and `ARCHPREFIX` independently (bug #62681).
ef45a559f592 NEWS.7.md: Update NEWS file with recent changes for Octave 7.2.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31112
diff changeset
99 - `randmtzig.cc`: Add missing `#include <ctime>` (bug #62750).
ef45a559f592 NEWS.7.md: Update NEWS file with recent changes for Octave 7.2.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31112
diff changeset
100 - `pkg`: Fix formatting of `copyfile` message (bug #62769).
ef45a559f592 NEWS.7.md: Update NEWS file with recent changes for Octave 7.2.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31112
diff changeset
101 - `pkg`: Escape special characters in `OCTAVE_HOME` for `regexprep` (bug #62681).
31059
b4a6ea55154f NEWS.7.md: Prepare NEWS file for Octave 7.2.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31054
diff changeset
102
b4a6ea55154f NEWS.7.md: Prepare NEWS file for Octave 7.2.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31054
diff changeset
103 ### GUI
b4a6ea55154f NEWS.7.md: Prepare NEWS file for Octave 7.2.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31054
diff changeset
104
b4a6ea55154f NEWS.7.md: Prepare NEWS file for Octave 7.2.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31054
diff changeset
105 - Fix removing trailing spaces on closing a modified file (bug #62271).
31060
7201d9b7cea6 NEWS.7.md: Fix typo and formatting.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31059
diff changeset
106 - Replace use of deprecated `QDesktopWidget` in GUI.
31059
b4a6ea55154f NEWS.7.md: Prepare NEWS file for Octave 7.2.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31054
diff changeset
107 - Fix display in Variable Editor when `fixed_point_format` is on (bug #62544).
31112
7060de0b45e5 NEWS.7.md: Update NEWS file with recent changes for Octave 7.2.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31071
diff changeset
108 - Fix file length when saving shorter content in editor (bug #62588).
31059
b4a6ea55154f NEWS.7.md: Prepare NEWS file for Octave 7.2.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31054
diff changeset
109
b4a6ea55154f NEWS.7.md: Prepare NEWS file for Octave 7.2.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31054
diff changeset
110 ### Build system / Tests
b4a6ea55154f NEWS.7.md: Prepare NEWS file for Octave 7.2.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31054
diff changeset
111
b4a6ea55154f NEWS.7.md: Prepare NEWS file for Octave 7.2.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31054
diff changeset
112 - `addpref.m`: Recode test to work with multiple running instances of Octave.
b4a6ea55154f NEWS.7.md: Prepare NEWS file for Octave 7.2.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31054
diff changeset
113 - Don't leak build directories in installed directories (bug #62295).
b4a6ea55154f NEWS.7.md: Prepare NEWS file for Octave 7.2.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31054
diff changeset
114 - Import `hash-buffer` modules from gnulib (bug #62416).
b4a6ea55154f NEWS.7.md: Prepare NEWS file for Octave 7.2.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31054
diff changeset
115 - Remove `.dirstamp` files from `test/` directory with `maintainer-clean` target.
31112
7060de0b45e5 NEWS.7.md: Update NEWS file with recent changes for Octave 7.2.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31071
diff changeset
116 - Add tests for `__FILE__` and `__LINE__` (bug #52587).
31059
b4a6ea55154f NEWS.7.md: Prepare NEWS file for Octave 7.2.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31054
diff changeset
117
b4a6ea55154f NEWS.7.md: Prepare NEWS file for Octave 7.2.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31054
diff changeset
118 ### Documentation
b4a6ea55154f NEWS.7.md: Prepare NEWS file for Octave 7.2.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31054
diff changeset
119
31064
505ec2f4e16f NEWS.7.md: Reword note about whitespaces around operators (bug #62552).
Markus Mützel <markus.muetzel@gmx.de>
parents: 31061
diff changeset
120 - `datestr.m`: Fix minor typo.
31059
b4a6ea55154f NEWS.7.md: Prepare NEWS file for Octave 7.2.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31054
diff changeset
121 - `ls.m`: Improve wording in docstring (bug #62282).
b4a6ea55154f NEWS.7.md: Prepare NEWS file for Octave 7.2.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31054
diff changeset
122 - `dir.m`: Clarify wildcard behavior on Windows in docstring (bug #62282).
b4a6ea55154f NEWS.7.md: Prepare NEWS file for Octave 7.2.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31054
diff changeset
123 - `memory.m`: Redo documentation to be formatted correctly in Info output.
b4a6ea55154f NEWS.7.md: Prepare NEWS file for Octave 7.2.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31054
diff changeset
124 - Document contracted `format` arguments (bug #62417).
b4a6ea55154f NEWS.7.md: Prepare NEWS file for Octave 7.2.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31054
diff changeset
125 - `humps.m`: Fix mismatch between TeX docstring and non-TeX docstring.
b4a6ea55154f NEWS.7.md: Prepare NEWS file for Octave 7.2.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31054
diff changeset
126 - `warning_ids.m`: Add new warning ID `"Octave:deprecated-option"`.
b4a6ea55154f NEWS.7.md: Prepare NEWS file for Octave 7.2.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31054
diff changeset
127 - `primes.m`: Move code examples before math theory.
b4a6ea55154f NEWS.7.md: Prepare NEWS file for Octave 7.2.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31054
diff changeset
128 - `primes.m`: Mark variables in docstring with `@var{}` macro.
31112
7060de0b45e5 NEWS.7.md: Update NEWS file with recent changes for Octave 7.2.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31071
diff changeset
129 - Rewrite section on automatic type conversions (bug #62283).
31154
ef45a559f592 NEWS.7.md: Update NEWS file with recent changes for Octave 7.2.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31112
diff changeset
130 - `subsasgn`: Correct example code (bug #33221).
31059
b4a6ea55154f NEWS.7.md: Prepare NEWS file for Octave 7.2.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31054
diff changeset
131
b4a6ea55154f NEWS.7.md: Prepare NEWS file for Octave 7.2.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31054
diff changeset
132
30904
04120d65778a Version 7.1.0 released
John W. Eaton <jwe@octave.org>
parents: 30842
diff changeset
133 Summary of important user-visible changes for version 7 (2022-04-06)
30596
347dbc9049d5 bump version for first 7.1 release candidate
John W. Eaton <jwe@octave.org>
parents: 30562
diff changeset
134 --------------------------------------------------------------------
27994
f4b6b170a761 Major version and date update for Octave 5.2.0 (bug #57657).
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 27079
diff changeset
135
31059
b4a6ea55154f NEWS.7.md: Prepare NEWS file for Octave 7.2.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31054
diff changeset
136 See: https://www.gnu.org/software/octave/news/release/2022/04/06/octave-7.1.0-released.html
b4a6ea55154f NEWS.7.md: Prepare NEWS file for Octave 7.2.0.
Markus Mützel <markus.muetzel@gmx.de>
parents: 31054
diff changeset
137
26838
b00bd9afbed3 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26798
diff changeset
138 ### General improvements
b00bd9afbed3 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26798
diff changeset
139
28109
42892c93bd25 NEWS: Document change in error handling of command-form functions (bug #57830).
Rik <rik@octave.org>
parents: 28107
diff changeset
140 - Many functions in Octave can be called in a command form---no
42892c93bd25 NEWS: Document change in error handling of command-form functions (bug #57830).
Rik <rik@octave.org>
parents: 28107
diff changeset
141 parentheses for invocation and no return argument assignment---or in a
42892c93bd25 NEWS: Document change in error handling of command-form functions (bug #57830).
Rik <rik@octave.org>
parents: 28107
diff changeset
142 functional form---parentheses and '=' for assignment of return values.
25917
ba937c3dce82 Determine an object's shape by "size" (bug #51308, bug #44498, bug #43925).
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 25867
diff changeset
143
28762
877e876338cc NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents: 28693
diff changeset
144 **Command Form Example**
27811
392c03df4565 NEWS: Update for 6.1 release.
Rik <rik@octave.org>
parents: 27759
diff changeset
145
28109
42892c93bd25 NEWS: Document change in error handling of command-form functions (bug #57830).
Rik <rik@octave.org>
parents: 28107
diff changeset
146 `mkdir new_directory`
27811
392c03df4565 NEWS: Update for 6.1 release.
Rik <rik@octave.org>
parents: 27759
diff changeset
147
28762
877e876338cc NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents: 28693
diff changeset
148 **Function Form Example**
25917
ba937c3dce82 Determine an object's shape by "size" (bug #51308, bug #44498, bug #43925).
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 25867
diff changeset
149
28109
42892c93bd25 NEWS: Document change in error handling of command-form functions (bug #57830).
Rik <rik@octave.org>
parents: 28107
diff changeset
150 `status = mkdir ("new_directory")`
27811
392c03df4565 NEWS: Update for 6.1 release.
Rik <rik@octave.org>
parents: 27759
diff changeset
151
28109
42892c93bd25 NEWS: Document change in error handling of command-form functions (bug #57830).
Rik <rik@octave.org>
parents: 28107
diff changeset
152 Octave now handles errors that occur in a consistent manner. If
42892c93bd25 NEWS: Document change in error handling of command-form functions (bug #57830).
Rik <rik@octave.org>
parents: 28107
diff changeset
153 called in command form and there is a failure, an error is thrown
42892c93bd25 NEWS: Document change in error handling of command-form functions (bug #57830).
Rik <rik@octave.org>
parents: 28107
diff changeset
154 and a message printed. If called in functional form, no error or
42892c93bd25 NEWS: Document change in error handling of command-form functions (bug #57830).
Rik <rik@octave.org>
parents: 28107
diff changeset
155 message is printed and the failure is communicated to the programmer
42892c93bd25 NEWS: Document change in error handling of command-form functions (bug #57830).
Rik <rik@octave.org>
parents: 28107
diff changeset
156 via the output status variable.
27811
392c03df4565 NEWS: Update for 6.1 release.
Rik <rik@octave.org>
parents: 27759
diff changeset
157
28109
42892c93bd25 NEWS: Document change in error handling of command-form functions (bug #57830).
Rik <rik@octave.org>
parents: 28107
diff changeset
158 The following list of functions have been modified.
26617
98afb8bbd1f6 maint: Strip trailing whitespace from source files.
John W. Eaton <jwe@octave.org>
parents: 26422
diff changeset
159
28109
42892c93bd25 NEWS: Document change in error handling of command-form functions (bug #57830).
Rik <rik@octave.org>
parents: 28107
diff changeset
160 * `copyfile`
42892c93bd25 NEWS: Document change in error handling of command-form functions (bug #57830).
Rik <rik@octave.org>
parents: 28107
diff changeset
161 * `fcntl`
42892c93bd25 NEWS: Document change in error handling of command-form functions (bug #57830).
Rik <rik@octave.org>
parents: 28107
diff changeset
162 * `fileattrib`
42892c93bd25 NEWS: Document change in error handling of command-form functions (bug #57830).
Rik <rik@octave.org>
parents: 28107
diff changeset
163 * `kill`
42892c93bd25 NEWS: Document change in error handling of command-form functions (bug #57830).
Rik <rik@octave.org>
parents: 28107
diff changeset
164 * `link`
42892c93bd25 NEWS: Document change in error handling of command-form functions (bug #57830).
Rik <rik@octave.org>
parents: 28107
diff changeset
165 * `mkfifo`
42892c93bd25 NEWS: Document change in error handling of command-form functions (bug #57830).
Rik <rik@octave.org>
parents: 28107
diff changeset
166 * `movefile`
42892c93bd25 NEWS: Document change in error handling of command-form functions (bug #57830).
Rik <rik@octave.org>
parents: 28107
diff changeset
167 * `rename`
42892c93bd25 NEWS: Document change in error handling of command-form functions (bug #57830).
Rik <rik@octave.org>
parents: 28107
diff changeset
168 * `rmdir`
42892c93bd25 NEWS: Document change in error handling of command-form functions (bug #57830).
Rik <rik@octave.org>
parents: 28107
diff changeset
169 * `symlink`
42892c93bd25 NEWS: Document change in error handling of command-form functions (bug #57830).
Rik <rik@octave.org>
parents: 28107
diff changeset
170 * `unlink`
26264
25d3e8e49d5c randi.m: Implement rejection algorithm for unbiased results (bug #54619).
Michael Leitner
parents: 26262
diff changeset
171
28580
c871455e20bc NEW: Note changes in checking the number of function inputs and outputs.
John W. Eaton <jwe@octave.org>
parents: 28486
diff changeset
172 - Calling a user-defined function with too many inputs or outputs is now
28585
3623c94ad285 NEWS: Clarify some text and wrap at column 72.
Rik <rik@octave.org>
parents: 28583
diff changeset
173 an error. The interpreter makes this check automatically. If a
3623c94ad285 NEWS: Clarify some text and wrap at column 72.
Rik <rik@octave.org>
parents: 28583
diff changeset
174 function uses varargin then the check is skipped for function inputs,
3623c94ad285 NEWS: Clarify some text and wrap at column 72.
Rik <rik@octave.org>
parents: 28583
diff changeset
175 and if a function uses varargout then the check is skipped for function
28762
877e876338cc NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents: 28693
diff changeset
176 outputs. Input validation for functions typically begins with checking
29297
cff933892ec2 Deprecate '...' line continuations in double-quoted strings.
Rik <rik@octave.org>
parents: 29184
diff changeset
177 that the number of inputs and outputs match expectations. Existing code
cff933892ec2 Deprecate '...' line continuations in double-quoted strings.
Rik <rik@octave.org>
parents: 29184
diff changeset
178 can be simplified by removing these checks which are now done by the
28762
877e876338cc NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents: 28693
diff changeset
179 interpreter. Typically, code blocks like the following can simply be
877e876338cc NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents: 28693
diff changeset
180 deleted.
26838
b00bd9afbed3 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26798
diff changeset
181
28762
877e876338cc NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents: 28693
diff changeset
182 ## Checking number of inputs
877e876338cc NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents: 28693
diff changeset
183 if (nargin > 2)
877e876338cc NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents: 28693
diff changeset
184 print_usage ();
877e876338cc NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents: 28693
diff changeset
185 endif
26617
98afb8bbd1f6 maint: Strip trailing whitespace from source files.
John W. Eaton <jwe@octave.org>
parents: 26422
diff changeset
186
28762
877e876338cc NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents: 28693
diff changeset
187 ## Checking number of outputs
877e876338cc NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents: 28693
diff changeset
188 if (nargout > 1)
877e876338cc NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents: 28693
diff changeset
189 print_usage ();
877e876338cc NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents: 28693
diff changeset
190 endif
26244
58b3107a00bc Update documentation for movXXX functions (bug #48774).
Juan Pablo Carbajal <ajuanpi+dev@gmail.com>
parents: 26231
diff changeset
191
28762
877e876338cc NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents: 28693
diff changeset
192 - Binary and hexadecimal constants like `0b101` and `0xDEADBEEF` now
877e876338cc NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents: 28693
diff changeset
193 create integers (unsigned by default) with sizes determined from the
877e876338cc NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents: 28693
diff changeset
194 number of digits present. For example, `0xff` creates a `uint8` value
31061
20aa91d357be NEWS.7.md: minor correction about hexadecimal constants
Arun Giridhar <arungiridhar@gmail.com>
parents: 31060
diff changeset
195 and `0xDEADBEEF` creates a `uint32` value. You may also use a suffix of
29297
cff933892ec2 Deprecate '...' line continuations in double-quoted strings.
Rik <rik@octave.org>
parents: 29184
diff changeset
196 the form `u8`, `u16`, `u32`, `u64`, `s8`, `s16`, `s32`, or `s64` to
cff933892ec2 Deprecate '...' line continuations in double-quoted strings.
Rik <rik@octave.org>
parents: 29184
diff changeset
197 explicitly specify the data type to use (`u` or `s` to indicate unsigned
cff933892ec2 Deprecate '...' line continuations in double-quoted strings.
Rik <rik@octave.org>
parents: 29184
diff changeset
198 or signed and the number to indicate the integer size).
25091
2b8442c890d8 Fix locked GUI panels for Qt 5.6.1 through 5.7.0 series versions (bug #53409)
Daniel J Sebald <daniel.sebald@ieee.org>
parents: 25041
diff changeset
199
28762
877e876338cc NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents: 28693
diff changeset
200 Binary constants are limited to 64 binary digits and hexadecimal
877e876338cc NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents: 28693
diff changeset
201 constants are limited to 16 hexadecimal digits with no automatic
877e876338cc NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents: 28693
diff changeset
202 rounding or conversion to floating point values. Note that this may
877e876338cc NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents: 28693
diff changeset
203 cause problems in existing code. For example, an expression like
877e876338cc NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents: 28693
diff changeset
204 `[0x1; 0x100; 0x10000]` will be uint8 (because of the rules of
877e876338cc NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents: 28693
diff changeset
205 concatenating integers of different sizes) with the larger values
877e876338cc NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents: 28693
diff changeset
206 truncated (because of the saturation semantics of integer values). To
877e876338cc NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents: 28693
diff changeset
207 avoid these kinds of problems either: 1) declare the first integer to be
877e876338cc NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents: 28693
diff changeset
208 of the desired size such as `[0x1u32; 0x100; 0x10000]`, or 2) pad
877e876338cc NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents: 28693
diff changeset
209 constants in array expressions with leading zeros so that they use the
877e876338cc NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents: 28693
diff changeset
210 same number of digits for each value such as
877e876338cc NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents: 28693
diff changeset
211 `[0x00_00_01; 0x00_01_00; 0x01_00_00]`.
27864
da3c6aef85fe NEWS: L-value references are no longer allowed in anonymous functions.
Markus Mützel <markus.muetzel@gmx.de>
parents: 27855
diff changeset
212
30841
6661824a987a * NEWS.7.md: Note colon operator changes.
John W. Eaton <jwe@octave.org>
parents: 30623
diff changeset
213 - The colon operator now works for integer (int8, int16, ..., uint64)
6661824a987a * NEWS.7.md: Note colon operator changes.
John W. Eaton <jwe@octave.org>
parents: 30623
diff changeset
214 and single data types. However, only double ranges use a
6661824a987a * NEWS.7.md: Note colon operator changes.
John W. Eaton <jwe@octave.org>
parents: 30623
diff changeset
215 memory-efficient storage scheme internally. Other data types are
6661824a987a * NEWS.7.md: Note colon operator changes.
John W. Eaton <jwe@octave.org>
parents: 30623
diff changeset
216 stored as ordinary arrays.
6661824a987a * NEWS.7.md: Note colon operator changes.
John W. Eaton <jwe@octave.org>
parents: 30623
diff changeset
217
30448
7ecd07721cca doc: Increment and decrement operators must "hug" the variable they affect (bug #60882).
Markus Mützel <markus.muetzel@gmx.de>
parents: 30442
diff changeset
218 - The increment and decrement operators `++` and `--` must "hug" their
7ecd07721cca doc: Increment and decrement operators must "hug" the variable they affect (bug #60882).
Markus Mützel <markus.muetzel@gmx.de>
parents: 30442
diff changeset
219 corresponding variables. In previous versions of Octave, whitespaces
7ecd07721cca doc: Increment and decrement operators must "hug" the variable they affect (bug #60882).
Markus Mützel <markus.muetzel@gmx.de>
parents: 30442
diff changeset
220 between these operators and the variable they affect were allowed. That
7ecd07721cca doc: Increment and decrement operators must "hug" the variable they affect (bug #60882).
Markus Mützel <markus.muetzel@gmx.de>
parents: 30442
diff changeset
221 is no longer the case.
7ecd07721cca doc: Increment and decrement operators must "hug" the variable they affect (bug #60882).
Markus Mützel <markus.muetzel@gmx.de>
parents: 30442
diff changeset
222
31071
f03902a39810 NEWS.7.md: Reword note about changes to parsing command style syntax (bug #62552).
John W. Eaton <jwe@octave.org>
parents: 31064
diff changeset
223 - Parsing of command-style function calls has changed to improve
f03902a39810 NEWS.7.md: Reword note about changes to parsing command style syntax (bug #62552).
John W. Eaton <jwe@octave.org>
parents: 31064
diff changeset
224 consistency of behavior and compatibility with Matlab. This change
f03902a39810 NEWS.7.md: Reword note about changes to parsing command style syntax (bug #62552).
John W. Eaton <jwe@octave.org>
parents: 31064
diff changeset
225 affects statements that begin with binary operator expressions when the
f03902a39810 NEWS.7.md: Reword note about changes to parsing command style syntax (bug #62552).
John W. Eaton <jwe@octave.org>
parents: 31064
diff changeset
226 first operand is a plain symbol followed by a whitespace character and
f03902a39810 NEWS.7.md: Reword note about changes to parsing command style syntax (bug #62552).
John W. Eaton <jwe@octave.org>
parents: 31064
diff changeset
227 the binary operator is not followed by a whitespace character. For
f03902a39810 NEWS.7.md: Reword note about changes to parsing command style syntax (bug #62552).
John W. Eaton <jwe@octave.org>
parents: 31064
diff changeset
228 example, the statement `cmd -option` is parsed as a command-style
f03902a39810 NEWS.7.md: Reword note about changes to parsing command style syntax (bug #62552).
John W. Eaton <jwe@octave.org>
parents: 31064
diff changeset
229 function call, not a binary subtraction operation.
f03902a39810 NEWS.7.md: Reword note about changes to parsing command style syntax (bug #62552).
John W. Eaton <jwe@octave.org>
parents: 31064
diff changeset
230
f03902a39810 NEWS.7.md: Reword note about changes to parsing command style syntax (bug #62552).
John W. Eaton <jwe@octave.org>
parents: 31064
diff changeset
231 This change affects all binary operators: `+`, `-`, `*`, `/`, `\`,
f03902a39810 NEWS.7.md: Reword note about changes to parsing command style syntax (bug #62552).
John W. Eaton <jwe@octave.org>
parents: 31064
diff changeset
232 `^`, `.*`, `./`, `.\`, `.^`, `|`, `&`, `||`, `&&`, `+=`, `-=`, `*=`,
f03902a39810 NEWS.7.md: Reword note about changes to parsing command style syntax (bug #62552).
John W. Eaton <jwe@octave.org>
parents: 31064
diff changeset
233 `/=`, `\=`, `^=`, `.*=`, `./=`, `.\=`, `.^=`, `|=`, and `&=`.
f03902a39810 NEWS.7.md: Reword note about changes to parsing command style syntax (bug #62552).
John W. Eaton <jwe@octave.org>
parents: 31064
diff changeset
234
f03902a39810 NEWS.7.md: Reword note about changes to parsing command style syntax (bug #62552).
John W. Eaton <jwe@octave.org>
parents: 31064
diff changeset
235 Previous versions of Octave would attempt to determine whether the
f03902a39810 NEWS.7.md: Reword note about changes to parsing command style syntax (bug #62552).
John W. Eaton <jwe@octave.org>
parents: 31064
diff changeset
236 first operand in an expression was a variable, and if so, parse
f03902a39810 NEWS.7.md: Reword note about changes to parsing command style syntax (bug #62552).
John W. Eaton <jwe@octave.org>
parents: 31064
diff changeset
237 expressions like `var -val` as an expression. However, this attempt to
f03902a39810 NEWS.7.md: Reword note about changes to parsing command style syntax (bug #62552).
John W. Eaton <jwe@octave.org>
parents: 31064
diff changeset
238 "do the right thing" could cause trouble (for example, if a variable is
f03902a39810 NEWS.7.md: Reword note about changes to parsing command style syntax (bug #62552).
John W. Eaton <jwe@octave.org>
parents: 31064
diff changeset
239 only defined conditionally).
f03902a39810 NEWS.7.md: Reword note about changes to parsing command style syntax (bug #62552).
John W. Eaton <jwe@octave.org>
parents: 31064
diff changeset
240
f03902a39810 NEWS.7.md: Reword note about changes to parsing command style syntax (bug #62552).
John W. Eaton <jwe@octave.org>
parents: 31064
diff changeset
241 Now, parsing command-style function calls is purely based on syntax.
f03902a39810 NEWS.7.md: Reword note about changes to parsing command style syntax (bug #62552).
John W. Eaton <jwe@octave.org>
parents: 31064
diff changeset
242
f03902a39810 NEWS.7.md: Reword note about changes to parsing command style syntax (bug #62552).
John W. Eaton <jwe@octave.org>
parents: 31064
diff changeset
243 Command-style function call syntax is only allowed at the beginning
f03902a39810 NEWS.7.md: Reword note about changes to parsing command style syntax (bug #62552).
John W. Eaton <jwe@octave.org>
parents: 31064
diff changeset
244 of a statement. Expressions in other contexts are not affected, so an
f03902a39810 NEWS.7.md: Reword note about changes to parsing command style syntax (bug #62552).
John W. Eaton <jwe@octave.org>
parents: 31064
diff changeset
245 expression like `a + b +c` will not be parsed as a command-style function
f03902a39810 NEWS.7.md: Reword note about changes to parsing command style syntax (bug #62552).
John W. Eaton <jwe@octave.org>
parents: 31064
diff changeset
246 call.
f03902a39810 NEWS.7.md: Reword note about changes to parsing command style syntax (bug #62552).
John W. Eaton <jwe@octave.org>
parents: 31064
diff changeset
247
f03902a39810 NEWS.7.md: Reword note about changes to parsing command style syntax (bug #62552).
John W. Eaton <jwe@octave.org>
parents: 31064
diff changeset
248 For compatibility with Matlab, a binary expression at the beginning
f03902a39810 NEWS.7.md: Reword note about changes to parsing command style syntax (bug #62552).
John W. Eaton <jwe@octave.org>
parents: 31064
diff changeset
249 of a statement that starts with one of the symbols `I`, `i`, `J`, `j`,
f03902a39810 NEWS.7.md: Reword note about changes to parsing command style syntax (bug #62552).
John W. Eaton <jwe@octave.org>
parents: 31064
diff changeset
250 `Inf`, `inf`, `NaN`, `nan`, or `pi` is never parsed as a command-style
f03902a39810 NEWS.7.md: Reword note about changes to parsing command style syntax (bug #62552).
John W. Eaton <jwe@octave.org>
parents: 31064
diff changeset
251 function call. Octave also extends this behavior to `e`, which is not
f03902a39810 NEWS.7.md: Reword note about changes to parsing command style syntax (bug #62552).
John W. Eaton <jwe@octave.org>
parents: 31064
diff changeset
252 present as a special numeric constant in Matlab.
f03902a39810 NEWS.7.md: Reword note about changes to parsing command style syntax (bug #62552).
John W. Eaton <jwe@octave.org>
parents: 31064
diff changeset
253
f03902a39810 NEWS.7.md: Reword note about changes to parsing command style syntax (bug #62552).
John W. Eaton <jwe@octave.org>
parents: 31064
diff changeset
254 Note that full compatibility with Matlab, which does not have the
f03902a39810 NEWS.7.md: Reword note about changes to parsing command style syntax (bug #62552).
John W. Eaton <jwe@octave.org>
parents: 31064
diff changeset
255 OP= operators, would require that even `a -= b` is parsed as a
f03902a39810 NEWS.7.md: Reword note about changes to parsing command style syntax (bug #62552).
John W. Eaton <jwe@octave.org>
parents: 31064
diff changeset
256 command-style function call. As that would significantly hinder the use
f03902a39810 NEWS.7.md: Reword note about changes to parsing command style syntax (bug #62552).
John W. Eaton <jwe@octave.org>
parents: 31064
diff changeset
257 of these operators, Octave treats them as the other binary operators
f03902a39810 NEWS.7.md: Reword note about changes to parsing command style syntax (bug #62552).
John W. Eaton <jwe@octave.org>
parents: 31064
diff changeset
258 instead of providing fully compatible behavior.
31052
28d63e8bcaa7 NEWS.7.md: Add note about whitespace after inplace operators (bug #62552).
Markus Mützel <markus.muetzel@gmx.de>
parents: 31037
diff changeset
259
29916
0bf14f708dc6 NEWS: more notes about changes to mldivide.
Rik <rik@octave.org>
parents: 29914
diff changeset
260 - The `mldivide` function (i.e., the `\` operator) now uses an LU
0bf14f708dc6 NEWS: more notes about changes to mldivide.
Rik <rik@octave.org>
parents: 29914
diff changeset
261 decomposition to solve nearly singular full square matrices. This is
0bf14f708dc6 NEWS: more notes about changes to mldivide.
Rik <rik@octave.org>
parents: 29914
diff changeset
262 Matlab-compatible and yields results which more nearly minimize `norm
0bf14f708dc6 NEWS: more notes about changes to mldivide.
Rik <rik@octave.org>
parents: 29914
diff changeset
263 (A*x - b)`. Previously, Octave computed a minimum-norm solution.
26231
c36b6e371f5d isdefinite.m: Return only true or false, not -1, 0, +1 (bug #51270).
Rik <rik@octave.org>
parents: 26220
diff changeset
264
30241
ba4aebad10d1 Return logical status variable from file functions for Matlab compatibility.
Rik <rik@octave.org>
parents: 30240
diff changeset
265 - The `factor` function has been overhauled for speed. For large
30261
a49c635b179d isprime.m: Speed up for large integers using Miller-Rabin test (bug #61312).
Arun Giridhar <arungiridhar@gmail.com>
parents: 30256
diff changeset
266 inputs > 1e14, it can be up to 10,000 times faster.
23356
ef20eee0247d allow hex2num to handle integer values
John W. Eaton <jwe@octave.org>
parents: 23348
diff changeset
267
30261
a49c635b179d isprime.m: Speed up for large integers using Miller-Rabin test (bug #61312).
Arun Giridhar <arungiridhar@gmail.com>
parents: 30256
diff changeset
268 - The `isprime` function uses a new primality testing algorithm
a49c635b179d isprime.m: Speed up for large integers using Miller-Rabin test (bug #61312).
Arun Giridhar <arungiridhar@gmail.com>
parents: 30256
diff changeset
269 that is up to 50,000 times faster for inputs > 1e14.
23356
ef20eee0247d allow hex2num to handle integer values
John W. Eaton <jwe@octave.org>
parents: 23348
diff changeset
270
30016
ad6a57b215e8 betainc.m: Improve accuracy for certain special integer inputs (bug #60682).
Michele Ginesi <michele.ginesi@gmail.com>
parents: 29985
diff changeset
271 - The `betainc` function now calculates an exact output for the
ad6a57b215e8 betainc.m: Improve accuracy for certain special integer inputs (bug #60682).
Michele Ginesi <michele.ginesi@gmail.com>
parents: 29985
diff changeset
272 important special cases where a or b are 1.
27537
7dc31256c5e4 Document that regexp* functions need UTF-8 encoded input (bug #35910).
Markus Mützel <markus.muetzel@gmx.de>
parents: 27522
diff changeset
273
29856
56b3e2af0298 Add 's'=sparse attribute for whos function (bug #60687)
Rik <rik@octave.org>
parents: 29855
diff changeset
274 - The `whos` function now displays an additional attribute 's' when
56b3e2af0298 Add 's'=sparse attribute for whos function (bug #60687)
Rik <rik@octave.org>
parents: 29855
diff changeset
275 the variable is a sparse type.
27832
8fd7d1d2a4ca Read startup files from XDG_CONFIG_HOME or LOCALAPPDATA (bug #36477).
Mike Miller <mtmiller@octave.org>
parents: 27822
diff changeset
276
28693
2bb050267d74 maint: Remove trailing spaces from code base.
Rik <rik@octave.org>
parents: 28672
diff changeset
277 - As part of GSoC 2020, Abdallah K. Elshamy implemented the
28615
5da49e37a6c9 New functions jsondecode and jsonencode (bug #53100).
Abdallah Elshamy <abdallah.k.elshamy@gmail.com>
parents: 28585
diff changeset
278 `jsondecode` and `jsonencode` functions to read and write JSON data.
28039
cc0b31003932 NEWS: Add info about new pkg.m behavior.
Philip Nienhuis <prnienhuis@users.sf.net>
parents: 27995
diff changeset
279
30169
cefa5d2d30bc New class for filling and running Jupyter Notebooks.
Abdallah Elshamy <abdallah.k.elshamy@gmail.com>
parents: 30031
diff changeset
280 - As part of GSoC 2021, Abdallah K. Elshamy implemented the
30293
1a1f3ae76e74 Use underscores instead of CamelCase in jupyter_notebook classdef
Abdallah Elshamy <abdallah.k.elshamy@gmail.com>
parents: 30289
diff changeset
281 `jupyter_notebook` classdef class. This class supports running and
30169
cefa5d2d30bc New class for filling and running Jupyter Notebooks.
Abdallah Elshamy <abdallah.k.elshamy@gmail.com>
parents: 30031
diff changeset
282 filling Jupyter Notebooks using the Octave language kernel from Octave
cefa5d2d30bc New class for filling and running Jupyter Notebooks.
Abdallah Elshamy <abdallah.k.elshamy@gmail.com>
parents: 30031
diff changeset
283 itself. Making the evaluation of long-running Jupyter Notebooks on a
cefa5d2d30bc New class for filling and running Jupyter Notebooks.
Abdallah Elshamy <abdallah.k.elshamy@gmail.com>
parents: 30031
diff changeset
284 computing server without permanent browser connection possible.
28998
b3cd6eb1cca5 doc: NEWS announce "pkg test" feature (bug #41215)
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 28972
diff changeset
285
28897
6ac35698c99a NEWS: Wrap text at 72 columns for potential plaintext display.
Rik <rik@octave.org>
parents: 28884
diff changeset
286 - By default, the history file is now located at $DATA/octave/history,
6ac35698c99a NEWS: Wrap text at 72 columns for potential plaintext display.
Rik <rik@octave.org>
parents: 28884
diff changeset
287 where $DATA is a platform dependent location for (roaming) user data
29297
cff933892ec2 Deprecate '...' line continuations in double-quoted strings.
Rik <rik@octave.org>
parents: 29184
diff changeset
288 files (e.g., ${XDG_DATA_HOME} or, if that is not set, ~/.local/share on
28897
6ac35698c99a NEWS: Wrap text at 72 columns for potential plaintext display.
Rik <rik@octave.org>
parents: 28884
diff changeset
289 Unix-like operating systems or %APPDATA% on Windows).
28039
cc0b31003932 NEWS: Add info about new pkg.m behavior.
Philip Nienhuis <prnienhuis@users.sf.net>
parents: 27995
diff changeset
290
29856
56b3e2af0298 Add 's'=sparse attribute for whos function (bug #60687)
Rik <rik@octave.org>
parents: 29855
diff changeset
291 - For Octave on Windows OS, the minimum required version of the Windows
56b3e2af0298 Add 's'=sparse attribute for whos function (bug #60687)
Rik <rik@octave.org>
parents: 29855
diff changeset
292 API is now 6.1 (Windows 7 or newer).
28485
36c6bd835ec9 * NEWS: Note that dbstop can set breakpoints in classdef ctors and methods.
John W. Eaton <jwe@octave.org>
parents: 28315
diff changeset
293
29658
1564f617da7e qhull: Add note about libqhull_r to NEWS (bug #60016).
Markus Mützel <markus.muetzel@gmx.de>
parents: 29470
diff changeset
294 - The non-re-entrant version of the QHull library "libqhull" was
29914
daf351544539 NEWS: Add note about changed algorithm for mldivide.
Markus Mützel <markus.muetzel@gmx.de>
parents: 29913
diff changeset
295 deprecated upstream. Octave now (optionally) requires the re-entrant
daf351544539 NEWS: Add note about changed algorithm for mldivide.
Markus Mützel <markus.muetzel@gmx.de>
parents: 29913
diff changeset
296 version of that library "libqhull_r" instead.
28485
36c6bd835ec9 * NEWS: Note that dbstop can set breakpoints in classdef ctors and methods.
John W. Eaton <jwe@octave.org>
parents: 28315
diff changeset
297
30289
260684e7e65c NEWS: Add note about changed configure flag "--with-magick=" (bug #61481).
Markus Mützel <markus.muetzel@gmx.de>
parents: 30280
diff changeset
298 - Octave's build system no longer appends "++" to the end of the
260684e7e65c NEWS: Add note about changed configure flag "--with-magick=" (bug #61481).
Markus Mützel <markus.muetzel@gmx.de>
parents: 30280
diff changeset
299 "magick++" library name (set with the `--with-magick=` configure flag).
260684e7e65c NEWS: Add note about changed configure flag "--with-magick=" (bug #61481).
Markus Mützel <markus.muetzel@gmx.de>
parents: 30280
diff changeset
300 The real name of the "magick++" library (including any potentially
260684e7e65c NEWS: Add note about changed configure flag "--with-magick=" (bug #61481).
Markus Mützel <markus.muetzel@gmx.de>
parents: 30280
diff changeset
301 trailing "++") needs to be set in that option now.
260684e7e65c NEWS: Add note about changed configure flag "--with-magick=" (bug #61481).
Markus Mützel <markus.muetzel@gmx.de>
parents: 30280
diff changeset
302
30442
f3bf43b11a73 NEWS: Break long lines and fix typos.
Markus Mützel <markus.muetzel@gmx.de>
parents: 30441
diff changeset
303 - The `pkg update` command now accepts options that are passed to `pkg
f3bf43b11a73 NEWS: Break long lines and fix typos.
Markus Mützel <markus.muetzel@gmx.de>
parents: 30441
diff changeset
304 install` for each updated package. Specifying @option{-local} or
f3bf43b11a73 NEWS: Break long lines and fix typos.
Markus Mützel <markus.muetzel@gmx.de>
parents: 30441
diff changeset
305 @option{-global} will restrict update checks to local or global
f3bf43b11a73 NEWS: Break long lines and fix typos.
Markus Mützel <markus.muetzel@gmx.de>
parents: 30441
diff changeset
306 installed packages, respectively.
30419
420608d1d370 Enable pkg update to accept options for install (bug #56128, #60573, #60574)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 30410
diff changeset
307
29375
8f6a2f5e5934 gui: new Turkish translation
Serkan Önder <serkanonder@outlook.com>
parents: 29354
diff changeset
308 ### Graphical User Interface
28485
36c6bd835ec9 * NEWS: Note that dbstop can set breakpoints in classdef ctors and methods.
John W. Eaton <jwe@octave.org>
parents: 28315
diff changeset
309
30373
2f4cd1952f0b NEWS: change a few wordings for clarity.
Rik <rik@octave.org>
parents: 30328
diff changeset
310 - The graphical user interface is now available in Hungarian and
30240
a0bcfaf04cc1 gui: Add Hungarian translation (bug #61335).
Óvári <ovari123@zoho.com>
parents: 30238
diff changeset
311 Turkish.
28485
36c6bd835ec9 * NEWS: Note that dbstop can set breakpoints in classdef ctors and methods.
John W. Eaton <jwe@octave.org>
parents: 28315
diff changeset
312
28884
32dde927e59b NEWS: Announce tooltips on hovering variables in debug mode (bug #56990).
Markus Mützel <markus.muetzel@gmx.de>
parents: 28861
diff changeset
313 - In debug mode, symbol values are now shown in tooltips when hovering
32dde927e59b NEWS: Announce tooltips on hovering variables in debug mode (bug #56990).
Markus Mützel <markus.muetzel@gmx.de>
parents: 28861
diff changeset
314 variables in the editor panel.
24927
c280560d9c96 Overhaul special functions modified by GSOC2018 project.
Rik <rik@octave.org>
parents: 24909
diff changeset
315
30441
e9b5838722fc describe changed global shortcut preference in NEWS
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 30419
diff changeset
316 - The "Disable global shortcuts when Command Window has focus" GUI
30442
f3bf43b11a73 NEWS: Break long lines and fix typos.
Markus Mützel <markus.muetzel@gmx.de>
parents: 30441
diff changeset
317 preference under the Shortcuts tab is now disabled by default. This
f3bf43b11a73 NEWS: Break long lines and fix typos.
Markus Mützel <markus.muetzel@gmx.de>
parents: 30441
diff changeset
318 option disables keyboard shortcuts to avoid interference with readline
f3bf43b11a73 NEWS: Break long lines and fix typos.
Markus Mützel <markus.muetzel@gmx.de>
parents: 30441
diff changeset
319 key strokes in the Command Window. Unlike versions prior to Octave 7,
f3bf43b11a73 NEWS: Break long lines and fix typos.
Markus Mützel <markus.muetzel@gmx.de>
parents: 30441
diff changeset
320 this preference now also affects the Ctrl-C/V shortcuts for copy/paste.
30441
e9b5838722fc describe changed global shortcut preference in NEWS
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 30419
diff changeset
321
30623
d54eb972aebb NEWS.7.md: Announce that 'doc' now opens the doc browser even in cli mode
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 30607
diff changeset
322 - In command line mode, i.e. when Octave is started without the --gui option,
d54eb972aebb NEWS.7.md: Announce that 'doc' now opens the doc browser even in cli mode
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 30607
diff changeset
323 the doc command now opens the GUI documentation browser as a standalone widget,
d54eb972aebb NEWS.7.md: Announce that 'doc' now opens the doc browser even in cli mode
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 30607
diff changeset
324 provided that Octave was compiled with GUI support.
d54eb972aebb NEWS.7.md: Announce that 'doc' now opens the doc browser even in cli mode
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 30607
diff changeset
325
28762
877e876338cc NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents: 28693
diff changeset
326 ### Graphics backend
24927
c280560d9c96 Overhaul special functions modified by GSOC2018 project.
Rik <rik@octave.org>
parents: 24909
diff changeset
327
28762
877e876338cc NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents: 28693
diff changeset
328 - Support for Qt4 for both graphics and the GUI has been removed.
24098
71dad5be765a quadcc.cc: Use an Absolute Tolerance, as well as RelTol (Bug #46349).
Rik <rik@octave.org>
parents: 24055
diff changeset
329
29470
2ae4764180c6 Initial implementation of a LaTeX interpreter (bug #59546).
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 29395
diff changeset
330 - If a working LaTeX tool chain is found on the path, including `latex`,
29905
ad023dbe9606 Add support for ListBoxTop property of uicontrol objects (bug #60951)
Rik <rik@octave.org>
parents: 29868
diff changeset
331 `dvipng`, and `dvisvgm` binaries, then text strings can now be rendered
ad023dbe9606 Add support for ListBoxTop property of uicontrol objects (bug #60951)
Rik <rik@octave.org>
parents: 29868
diff changeset
332 properly when using the `"latex"` value for the text objects'
ad023dbe9606 Add support for ListBoxTop property of uicontrol objects (bug #60951)
Rik <rik@octave.org>
parents: 29868
diff changeset
333 `"interpreter"` property and axes objects' `"ticklabelinterpreter"`.
ad023dbe9606 Add support for ListBoxTop property of uicontrol objects (bug #60951)
Rik <rik@octave.org>
parents: 29868
diff changeset
334 Type `doc "latex interpreter"` for further info.
27708
c66467f74278 Rewrite legend (task #14243)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 27670
diff changeset
335
30253
20fd3c03fd74 Add new plot marker styles '|' and '_' (bug #61350)
Rik <rik@octave.org>
parents: 30241
diff changeset
336 - The `"Marker"` property for plot objects now accepts `|` which draws
20fd3c03fd74 Add new plot marker styles '|' and '_' (bug #61350)
Rik <rik@octave.org>
parents: 30241
diff changeset
337 a vertical line or `_` which draws a horizontal line.
27811
392c03df4565 NEWS: Update for 6.1 release.
Rik <rik@octave.org>
parents: 27759
diff changeset
338
29905
ad023dbe9606 Add support for ListBoxTop property of uicontrol objects (bug #60951)
Rik <rik@octave.org>
parents: 29868
diff changeset
339 - The `FMT` format argument for plot commands now accepts long forms for
ad023dbe9606 Add support for ListBoxTop property of uicontrol objects (bug #60951)
Rik <rik@octave.org>
parents: 29868
diff changeset
340 color names which may be more understandable than the existing
ad023dbe9606 Add support for ListBoxTop property of uicontrol objects (bug #60951)
Rik <rik@octave.org>
parents: 29868
diff changeset
341 one-letter codes. For example, the RGB value `[0 0 0]` can now be
ad023dbe9606 Add support for ListBoxTop property of uicontrol objects (bug #60951)
Rik <rik@octave.org>
parents: 29868
diff changeset
342 specified by `"black"` in addition to `"k"`.
ad023dbe9606 Add support for ListBoxTop property of uicontrol objects (bug #60951)
Rik <rik@octave.org>
parents: 29868
diff changeset
343
ad023dbe9606 Add support for ListBoxTop property of uicontrol objects (bug #60951)
Rik <rik@octave.org>
parents: 29868
diff changeset
344 - The color graphics properties, for example `"EdgeColor"` or
ad023dbe9606 Add support for ListBoxTop property of uicontrol objects (bug #60951)
Rik <rik@octave.org>
parents: 29868
diff changeset
345 `"FaceColor"`, now accept HTML specifications. An HTML specification is
ad023dbe9606 Add support for ListBoxTop property of uicontrol objects (bug #60951)
Rik <rik@octave.org>
parents: 29868
diff changeset
346 a string that begins with the character '#' and is followed by either 3
ad023dbe9606 Add support for ListBoxTop property of uicontrol objects (bug #60951)
Rik <rik@octave.org>
parents: 29868
diff changeset
347 or 6 hexadecimal digits. For example, magenta which is 100% red and
ad023dbe9606 Add support for ListBoxTop property of uicontrol objects (bug #60951)
Rik <rik@octave.org>
parents: 29868
diff changeset
348 blue values can specified by `"#FF00FF"` or `"#F0F"`.
26126
f6f16b842d5d NEWS: Announce change to intmin, intmax, flintmax to accept a variable as input.
Rik <rik@octave.org>
parents: 26125
diff changeset
349
28762
877e876338cc NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents: 28693
diff changeset
350 - The additional property `"contextmenu"` has been added to all graphics
877e876338cc NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents: 28693
diff changeset
351 objects. It is equivalent to the previously used `"uicontextmenu"`
877e876338cc NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents: 28693
diff changeset
352 property which is hidden now.
26838
b00bd9afbed3 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26798
diff changeset
353
29905
ad023dbe9606 Add support for ListBoxTop property of uicontrol objects (bug #60951)
Rik <rik@octave.org>
parents: 29868
diff changeset
354 - `uicontrol` objects now fully implement the `"Off"` and `"Inactive"`
ad023dbe9606 Add support for ListBoxTop property of uicontrol objects (bug #60951)
Rik <rik@octave.org>
parents: 29868
diff changeset
355 values of the `"Enable"` property. When the value is `"Off"`, no
ad023dbe9606 Add support for ListBoxTop property of uicontrol objects (bug #60951)
Rik <rik@octave.org>
parents: 29868
diff changeset
356 interaction with the object occurs and the `uicontrol` changes color
ad023dbe9606 Add support for ListBoxTop property of uicontrol objects (bug #60951)
Rik <rik@octave.org>
parents: 29868
diff changeset
357 (typically to gray) to indicate it is disabled. When the value is
ad023dbe9606 Add support for ListBoxTop property of uicontrol objects (bug #60951)
Rik <rik@octave.org>
parents: 29868
diff changeset
358 `"Inactive"`, the object appears normally (no change in color), but it
ad023dbe9606 Add support for ListBoxTop property of uicontrol objects (bug #60951)
Rik <rik@octave.org>
parents: 29868
diff changeset
359 is not possible to change the value of the object (such as modifying
ad023dbe9606 Add support for ListBoxTop property of uicontrol objects (bug #60951)
Rik <rik@octave.org>
parents: 29868
diff changeset
360 text in an `Edit` box or clicking on a `RadioButton`).
26126
f6f16b842d5d NEWS: Announce change to intmin, intmax, flintmax to accept a variable as input.
Rik <rik@octave.org>
parents: 26125
diff changeset
361
29905
ad023dbe9606 Add support for ListBoxTop property of uicontrol objects (bug #60951)
Rik <rik@octave.org>
parents: 29868
diff changeset
362 - The `"ListBoxTop"` property for `uicontrol` objects has been
ad023dbe9606 Add support for ListBoxTop property of uicontrol objects (bug #60951)
Rik <rik@octave.org>
parents: 29868
diff changeset
363 implemented for `set` commands.
27432
1e79d913baaa Change default figure property "paperpositionmode" to "auto" (bug #56916).
Rik <rik@octave.org>
parents: 27426
diff changeset
364
29939
00c69fbf1942 NEWS: Document change to "Title" property of generated PDF plots (bug #60998).
Rik <rik@octave.org>
parents: 29932
diff changeset
365 - The `Title` property for print formats such as PDF or SVG is now set
00c69fbf1942 NEWS: Document change to "Title" property of generated PDF plots (bug #60998).
Rik <rik@octave.org>
parents: 29932
diff changeset
366 to the title displayed on the figure window which contains the plot.
26077
31b443b5a6c1 ranks.m: Overhaul function for performance (25X) and addition of tie-breaking (bug #36372).
Dave Goel <deego3@gmail.com>
parents: 26059
diff changeset
367
28762
877e876338cc NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents: 28693
diff changeset
368 - Additional properties have been added to the `axes` graphics object:
877e876338cc NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents: 28693
diff changeset
369 * `"alphamap"` (not yet implemented)
877e876338cc NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents: 28693
diff changeset
370 * `"alphascale"` (not yet implemented)
877e876338cc NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents: 28693
diff changeset
371 * `"colorscale"` (not yet implemented)
877e876338cc NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents: 28693
diff changeset
372 * `"fontsizemode"` (not yet implemented)
877e876338cc NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents: 28693
diff changeset
373 * `"innerposition"` (equivalent to `"position"`)
877e876338cc NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents: 28693
diff changeset
374 * `"interactions"` (not yet implemented)
877e876338cc NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents: 28693
diff changeset
375 * `"layout"` (not yet implemented)
877e876338cc NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents: 28693
diff changeset
376 * `"legend"` (not yet implemented)
28897
6ac35698c99a NEWS: Wrap text at 72 columns for potential plaintext display.
Rik <rik@octave.org>
parents: 28884
diff changeset
377 * `"nextseriesindex"` (read-only, used by `scatter`
6ac35698c99a NEWS: Wrap text at 72 columns for potential plaintext display.
Rik <rik@octave.org>
parents: 28884
diff changeset
378 graphics objects)
28762
877e876338cc NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents: 28693
diff changeset
379 * `"positionconstraint"` (replacement for `"activepositionproperty"`
877e876338cc NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents: 28693
diff changeset
380 which is now a hidden property. No plans for removal.)
877e876338cc NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents: 28693
diff changeset
381 * `"toolbar"` (not yet implemented)
877e876338cc NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents: 28693
diff changeset
382 * `"xaxis"` (not yet implemented)
877e876338cc NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents: 28693
diff changeset
383 * `"yaxis"` (not yet implemented)
877e876338cc NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents: 28693
diff changeset
384 * `"zaxis"` (not yet implemented)
28315
768ae9b1a67c Produce better looking TeX superscript and subscripts (bug #58376).
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 28308
diff changeset
385
26838
b00bd9afbed3 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26798
diff changeset
386 ### Matlab compatibility
24524
a56d283ff18a Honor "interruptible" for property listeners (bug #52804).
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 24523
diff changeset
387
29111
4d8aaceb629a NEWS: Create proper double quotes for Octave properties in Markdown.
Rik <rik@octave.org>
parents: 29108
diff changeset
388 - The function `griddata` now implements the `"v4"` Biharmonic Spline
28210
bb929d5a34cb griddata.m: Added support for "v4" biharmonic spline interpolation method (bug #33539).
Nicholas R. Jankowski <jankowskin@asme.org>
parents: 28171
diff changeset
389 Interpolation method. In adddition, the function now accepts 3-D inputs
bb929d5a34cb griddata.m: Added support for "v4" biharmonic spline interpolation method (bug #33539).
Nicholas R. Jankowski <jankowskin@asme.org>
parents: 28171
diff changeset
390 by passing the data to `griddata3`.
26838
b00bd9afbed3 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26798
diff changeset
391
28171
a23da76e0693 Matlab compatibility fixes for coordinate transform functions (bug #57794).
Nicholas R. Jankowski <jankowskin@asme.org>
parents: 28151
diff changeset
392 - Coordinate transformation functions `cart2sph`, `sph2cart`,
28585
3623c94ad285 NEWS: Clarify some text and wrap at column 72.
Rik <rik@octave.org>
parents: 28583
diff changeset
393 `cart2pol`, and `pol2cart` now accept either row or column vectors for
3623c94ad285 NEWS: Clarify some text and wrap at column 72.
Rik <rik@octave.org>
parents: 28583
diff changeset
394 coordinate inputs. A single coordinate matrix with one variable per
28171
a23da76e0693 Matlab compatibility fixes for coordinate transform functions (bug #57794).
Nicholas R. Jankowski <jankowskin@asme.org>
parents: 28151
diff changeset
395 column can still be used as function input, but a single output variable
a23da76e0693 Matlab compatibility fixes for coordinate transform functions (bug #57794).
Nicholas R. Jankowski <jankowskin@asme.org>
parents: 28151
diff changeset
396 will now contain just the first output coordinate, and will no longer
28585
3623c94ad285 NEWS: Clarify some text and wrap at column 72.
Rik <rik@octave.org>
parents: 28583
diff changeset
397 return the full output coordinate matrix. Output size matches the size
3623c94ad285 NEWS: Clarify some text and wrap at column 72.
Rik <rik@octave.org>
parents: 28583
diff changeset
398 of input vectors, or in the case of an input matrix will be column
28171
a23da76e0693 Matlab compatibility fixes for coordinate transform functions (bug #57794).
Nicholas R. Jankowski <jankowskin@asme.org>
parents: 28151
diff changeset
399 vectors with rows corresponding to the input coordinate matrix.
26838
b00bd9afbed3 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26798
diff changeset
400
28243
7739d3eb952b NEWS: Announce support for negative numbers in dec2bin, dec2hex.
Rik <rik@octave.org>
parents: 28212
diff changeset
401 - The function `dec2bin` and `dec2hex` now support negative numbers.
26838
b00bd9afbed3 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26798
diff changeset
402
29983
ecbcc4647dbe factor.m: Overhaul function to support inputs > flintmax.
Rik <rik@octave.org>
parents: 29982
diff changeset
403 - The function `factor` now supports uint64 inputs larger than
ecbcc4647dbe factor.m: Overhaul function to support inputs > flintmax.
Rik <rik@octave.org>
parents: 29982
diff changeset
404 `flintmax`.
ecbcc4647dbe factor.m: Overhaul function to support inputs > flintmax.
Rik <rik@octave.org>
parents: 29982
diff changeset
405
29985
3eb6483241d0 primes.m: Overhaul function.
Rik <rik@octave.org>
parents: 29983
diff changeset
406 - The function `primes` now supports char inputs.
3eb6483241d0 primes.m: Overhaul function.
Rik <rik@octave.org>
parents: 29983
diff changeset
407
29184
dd4cb1ad9dc8 prctile.m, quantile.m: Small formatting changes to cset 7d262c7f8b1d.
Rik <rik@octave.org>
parents: 29176
diff changeset
408 - The functions `quantile` and `prctile` now permit operating on
dd4cb1ad9dc8 prctile.m, quantile.m: Small formatting changes to cset 7d262c7f8b1d.
Rik <rik@octave.org>
parents: 29176
diff changeset
409 dimensions greater than `ndims (x)`.
26838
b00bd9afbed3 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26798
diff changeset
410
29932
b39203a44db2 Call print_struct_array_contents(1) when '--traditional' option used.
Rik <rik@octave.org>
parents: 29923
diff changeset
411 - The function `iqr` now uses Matlab compatible interpolation for
30373
2f4cd1952f0b NEWS: change a few wordings for clarity.
Rik <rik@octave.org>
parents: 30328
diff changeset
412 quantile values. The dimension input now allows a vector, "all", and
2f4cd1952f0b NEWS: change a few wordings for clarity.
Rik <rik@octave.org>
parents: 30328
diff changeset
413 dimensions greater than `ndims (x)`. The function also handles
2f4cd1952f0b NEWS: change a few wordings for clarity.
Rik <rik@octave.org>
parents: 30328
diff changeset
414 `Inf` and `NaN` input values in a Matlab-compatible manner.
28143
4f1d1b1d4afc NEWS: Add a note about ostreamtube/streamtube (bug #57471).
Markus Meisinger <chloros2@gmx.de>
parents: 28136
diff changeset
415
28369
248f7cc8dc74 NEWS: Announce improvements in importdata() function.
Rik <rik@octave.org>
parents: 28331
diff changeset
416 - The function `importdata` now produces more compatible results when
248f7cc8dc74 NEWS: Announce improvements in importdata() function.
Rik <rik@octave.org>
parents: 28331
diff changeset
417 the file contains a 2-D text matrix.
25739
8eec0403a370 fminsearch.m: Update default TolFun to 1e-4 for Matlab compatibility.
Rik <rik@octave.org>
parents: 25738
diff changeset
418
30241
ba4aebad10d1 Return logical status variable from file functions for Matlab compatibility.
Rik <rik@octave.org>
parents: 30240
diff changeset
419 - The file functions `copyfile`, `mkdir`, `movefile`, `rmdir` now return
30293
1a1f3ae76e74 Use underscores instead of CamelCase in jupyter_notebook classdef
Abdallah Elshamy <abdallah.k.elshamy@gmail.com>
parents: 30289
diff changeset
420 a logical value (true/false) rather than a numeric value (1/0).
26838
b00bd9afbed3 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26798
diff changeset
421
29913
3eca54836f97 Allow 'Label' to be used as a synonym for 'Text' on uimenus (bug #60870)
Rik <rik@octave.org>
parents: 29905
diff changeset
422 - `uimenu` now accepts property `"Text"` which is identical to
3eca54836f97 Allow 'Label' to be used as a synonym for 'Text' on uimenus (bug #60870)
Rik <rik@octave.org>
parents: 29905
diff changeset
423 `"Label"`. Matlab recommends using `"Text"` in new code, although there
3eca54836f97 Allow 'Label' to be used as a synonym for 'Text' on uimenus (bug #60870)
Rik <rik@octave.org>
parents: 29905
diff changeset
424 is no announced date for deprecating `"Label"`.
26838
b00bd9afbed3 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26798
diff changeset
425
28585
3623c94ad285 NEWS: Clarify some text and wrap at column 72.
Rik <rik@octave.org>
parents: 28583
diff changeset
426 - The functions `scatter` and `scatter3` now return a handle to a
3623c94ad285 NEWS: Clarify some text and wrap at column 72.
Rik <rik@octave.org>
parents: 28583
diff changeset
427 scatter graphics object. For compatibility, they return an `hggroup` of
29111
4d8aaceb629a NEWS: Create proper double quotes for Octave properties in Markdown.
Rik <rik@octave.org>
parents: 29108
diff changeset
428 patch graphics objects when the `"gnuplot"` graphics toolkit is used. In
28762
877e876338cc NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents: 28693
diff changeset
429 previous versions of Octave, these functions returned an `hggroup` of
28585
3623c94ad285 NEWS: Clarify some text and wrap at column 72.
Rik <rik@octave.org>
parents: 28583
diff changeset
430 patch graphics objects for all graphics toolkits.
26167
247126168d23 Don't remove globals when 'clear' called without arguments (bug #39790).
Julien Bect <julien.bect@supelec.fr>
parents: 26137
diff changeset
431
29108
5fc28dab0b2b Document new long forms of color spec argument to plot.
Rik <rik@octave.org>
parents: 29071
diff changeset
432 - The functions `bar` and `barh` now handle stacked negative bar values
5fc28dab0b2b Document new long forms of color spec argument to plot.
Rik <rik@octave.org>
parents: 29071
diff changeset
433 in a Matlab-compatible manner. Negative values now stack below the zero
5fc28dab0b2b Document new long forms of color spec argument to plot.
Rik <rik@octave.org>
parents: 29071
diff changeset
434 axis independently of a positive value bars in the same stack.
5fc28dab0b2b Document new long forms of color spec argument to plot.
Rik <rik@octave.org>
parents: 29071
diff changeset
435 Previously the negative bars could overlap positive bars depending on
5fc28dab0b2b Document new long forms of color spec argument to plot.
Rik <rik@octave.org>
parents: 29071
diff changeset
436 drawing order.
28671
1f6b21015b4e NEWS: Add info about changed 'class' of inline functions (bug #59023).
Rik <rik@octave.org>
parents: 28660
diff changeset
437
29139
f5e89a80ba8c Use colors from "colormap" property for bar, barh if a "hist" option was given (bug #59589).
Rik <rik@octave.org>
parents: 29130
diff changeset
438 - The functions `bar` and `barh` now use colors from the `"ColorOrder"`
f5e89a80ba8c Use colors from "colormap" property for bar, barh if a "hist" option was given (bug #59589).
Rik <rik@octave.org>
parents: 29130
diff changeset
439 axes property rather than the `"Colormap"` figure property unless one
f5e89a80ba8c Use colors from "colormap" property for bar, barh if a "hist" option was given (bug #59589).
Rik <rik@octave.org>
parents: 29130
diff changeset
440 of the histogram options (@qcode{"hist"}, @qcode{"histc"} was specified.
22586
d0e972e74851 maint: merge stable to default.
Carnë Draug <carandraug@octave.org>
parents: 22573
diff changeset
441
28314
bc904ed5aad4 saveas.m: Change default format to .ofig (bug #58391).
Guillaume Flandin <guillaume.offline@gmail.com>
parents: 28309
diff changeset
442 - The function `saveas` now defaults to saving in Octave figure format
bc904ed5aad4 saveas.m: Change default format to .ofig (bug #58391).
Guillaume Flandin <guillaume.offline@gmail.com>
parents: 28309
diff changeset
443 (.ofig) rather than PDF (.pdf).
28671
1f6b21015b4e NEWS: Add info about changed 'class' of inline functions (bug #59023).
Rik <rik@octave.org>
parents: 28660
diff changeset
444
28762
877e876338cc NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents: 28693
diff changeset
445 - A new warning ID (`"Octave:unimplemented-matlab-functionality"`) has
877e876338cc NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents: 28693
diff changeset
446 been added which prints a warning when Octave's parser recognizes valid
28477
7ea82a190029 Add new warning ID "Octave:unimplemented-matlab-functionality".
Rik <rik@octave.org>
parents: 28391
diff changeset
447 Matlab code, but for which Octave does not yet implement the
7ea82a190029 Add new warning ID "Octave:unimplemented-matlab-functionality".
Rik <rik@octave.org>
parents: 28391
diff changeset
448 functionality. By default, this warning is enabled.
25867
49ffa78f9243 Use "facenormals" for flat lighting on surfaces (bug #54024).
Markus Mützel <markus.muetzel@gmx.de>
parents: 25837
diff changeset
449
29932
b39203a44db2 Call print_struct_array_contents(1) when '--traditional' option used.
Rik <rik@octave.org>
parents: 29923
diff changeset
450 - When Octave is started with the `--traditional` option for maximum
b39203a44db2 Call print_struct_array_contents(1) when '--traditional' option used.
Rik <rik@octave.org>
parents: 29923
diff changeset
451 compatibility the `print_struct_array_contents` internal variable is set
b39203a44db2 Call print_struct_array_contents(1) when '--traditional' option used.
Rik <rik@octave.org>
parents: 29923
diff changeset
452 to true.
25867
49ffa78f9243 Use "facenormals" for flat lighting on surfaces (bug #54024).
Markus Mützel <markus.muetzel@gmx.de>
parents: 25837
diff changeset
453
30280
7835150ba175 repelem.m: produce row output for scalar input (bug #61412)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 30278
diff changeset
454 - The function `repelem` now produces a row vector output when the input is
7835150ba175 repelem.m: produce row output for scalar input (bug #61412)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 30278
diff changeset
455 a scalar.
7835150ba175 repelem.m: produce row output for scalar input (bug #61412)
Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
parents: 30278
diff changeset
456
30410
bc0de453fb6a extend var and std with dim options (bug #58116) and weights (patch #10103)
Stefano Guidoni <ilguido@users.sf.net>
parents: 30373
diff changeset
457 - The functions `var` and `std` now accept a weight vector as input and
bc0de453fb6a extend var and std with dim options (bug #58116) and weights (patch #10103)
Stefano Guidoni <ilguido@users.sf.net>
parents: 30373
diff changeset
458 compute the weigthed variance. Dimension input now allows a vector and
bc0de453fb6a extend var and std with dim options (bug #58116) and weights (patch #10103)
Stefano Guidoni <ilguido@users.sf.net>
parents: 30373
diff changeset
459 the keyword "all".
bc0de453fb6a extend var and std with dim options (bug #58116) and weights (patch #10103)
Stefano Guidoni <ilguido@users.sf.net>
parents: 30373
diff changeset
460
28077
f47f9493cb37 NEWS: Update for version 7 development.
Rik <rik@octave.org>
parents: 28039
diff changeset
461 ### Alphabetical list of new functions added in Octave 7
25867
49ffa78f9243 Use "facenormals" for flat lighting on surfaces (bug #54024).
Markus Mützel <markus.muetzel@gmx.de>
parents: 25837
diff changeset
462
29161
b58e3a04fab3 sinpi.m, cospi.m: New trigonometric functions (bug #59615)
Rik <rik@octave.org>
parents: 29139
diff changeset
463 * `cospi`
28331
be3dab3212e9 getpixelposition.m: Implement new function (bug #58181)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 28323
diff changeset
464 * `getpixelposition`
28212
d052c11d47c6 Add new functions startsWith and endsWith (bug #57041).
Abdallah Elshamy <abdallah.k.elshamy@gmail.com>
parents: 28210
diff changeset
465 * `endsWith`
29395
4d747b196935 fill3.m: Add new function.
Markus Mützel <markus.muetzel@gmx.de>
parents: 29388
diff changeset
466 * `fill3`
28615
5da49e37a6c9 New functions jsondecode and jsonencode (bug #53100).
Abdallah Elshamy <abdallah.k.elshamy@gmail.com>
parents: 28585
diff changeset
467 * `jsondecode`
5da49e37a6c9 New functions jsondecode and jsonencode (bug #53100).
Abdallah Elshamy <abdallah.k.elshamy@gmail.com>
parents: 28585
diff changeset
468 * `jsonencode`
30293
1a1f3ae76e74 Use underscores instead of CamelCase in jupyter_notebook classdef
Abdallah Elshamy <abdallah.k.elshamy@gmail.com>
parents: 30289
diff changeset
469 * `jupyter_notebook`
28391
c126a60b0d52 listfonts.m: New function (bug #58476).
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 28386
diff changeset
470 * `listfonts`
28769
903fe321649b Add Matlab compatible wrappers for base64_encode and base64_decode.
Markus Mützel <markus.muetzel@gmx.de>
parents: 28762
diff changeset
471 * `matlab.net.base64decode`
903fe321649b Add Matlab compatible wrappers for base64_encode and base64_decode.
Markus Mützel <markus.muetzel@gmx.de>
parents: 28762
diff changeset
472 * `matlab.net.base64encode`
28372
2f571bfff344 Add "memory" function (patch #9924).
Lars Kindermann <lars.kindermann@reglos.de>
parents: 28369
diff changeset
473 * `memory`
28986
69ec8d9e769b Add function ordqz (patch #9897).
Martin Köhler <koehlerm@mpi-magdeburg.mpg.de>
parents: 28973
diff changeset
474 * `ordqz`
28107
d320728d5d06 style fixes for rng; document and mention in NEWS file
John W. Eaton <jwe@octave.org>
parents: 28080
diff changeset
475 * `rng`
29161
b58e3a04fab3 sinpi.m, cospi.m: New trigonometric functions (bug #59615)
Rik <rik@octave.org>
parents: 29139
diff changeset
476 * `sinpi`
28212
d052c11d47c6 Add new functions startsWith and endsWith (bug #57041).
Abdallah Elshamy <abdallah.k.elshamy@gmail.com>
parents: 28210
diff changeset
477 * `startsWith`
28386
8a9a041db1dc Add "streamribbon" function (patch #9916).
Markus Meisinger <chloros2@gmx.de>
parents: 28372
diff changeset
478 * `streamribbon`
29348
fe21f065fc23 turbo.m: New colormap file (bug #59998).
Christian Himpe <christian.himpe@wwu.de>
parents: 29308
diff changeset
479 * `turbo`
29308
f3272029d42c uniquetol.m: Add new function (bug #59850).
Markus Mützel <markus.muetzel@gmx.de>
parents: 29304
diff changeset
480 * `uniquetol`
29024
447beb85551d Add ytickangle and ztickangle functions (bug #59067)
Rik <rik@octave.org>
parents: 28999
diff changeset
481 * `xtickangle`
447beb85551d Add ytickangle and ztickangle functions (bug #59067)
Rik <rik@octave.org>
parents: 28999
diff changeset
482 * `ytickangle`
447beb85551d Add ytickangle and ztickangle functions (bug #59067)
Rik <rik@octave.org>
parents: 28999
diff changeset
483 * `ztickangle`
26838
b00bd9afbed3 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26798
diff changeset
484
30607
c98873eb2852 doc: Remove empty table with deprecated properties in NEWS.7.md.
Markus Mützel <markus.muetzel@gmx.de>
parents: 30601
diff changeset
485 ### Deprecated functions and operators
26185
ef0998af70f9 Change "Margin" default of text object to 3.
Rik <rik@octave.org>
parents: 26175
diff changeset
486
30607
c98873eb2852 doc: Remove empty table with deprecated properties in NEWS.7.md.
Markus Mützel <markus.muetzel@gmx.de>
parents: 30601
diff changeset
487 The following functions and operators have been deprecated in Octave 7
28077
f47f9493cb37 NEWS: Update for version 7 development.
Rik <rik@octave.org>
parents: 28039
diff changeset
488 and will be removed from Octave 9 (or whatever version is the second
f47f9493cb37 NEWS: Update for version 7 development.
Rik <rik@octave.org>
parents: 28039
diff changeset
489 major release after 7):
26185
ef0998af70f9 Change "Margin" default of text object to 3.
Rik <rik@octave.org>
parents: 26175
diff changeset
490
26838
b00bd9afbed3 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26798
diff changeset
491 - Functions
20157
e410d62ae2c8 maint: move NEWS from 45565ecec019 from the release 4.0 to 4.2.
Carnë Draug <carandraug@octave.org>
parents: 20154
diff changeset
492
30601
824c67e2bd66 doc: Use Markdown verbatim mode for functions and operators in NEWS.7.md.
Rik <rik@octave.org>
parents: 30596
diff changeset
493 Function | Replacement
824c67e2bd66 doc: Use Markdown verbatim mode for functions and operators in NEWS.7.md.
Rik <rik@octave.org>
parents: 30596
diff changeset
494 ---------------------------- |----------------------------
824c67e2bd66 doc: Use Markdown verbatim mode for functions and operators in NEWS.7.md.
Rik <rik@octave.org>
parents: 30596
diff changeset
495 `disable_diagonal_matrix` | `optimize_diagonal_matrix`
824c67e2bd66 doc: Use Markdown verbatim mode for functions and operators in NEWS.7.md.
Rik <rik@octave.org>
parents: 30596
diff changeset
496 `disable_permutation_matrix` | `optimize_permutation_matrix`
824c67e2bd66 doc: Use Markdown verbatim mode for functions and operators in NEWS.7.md.
Rik <rik@octave.org>
parents: 30596
diff changeset
497 `disable_range` | `optimize_range`
22613
edd04ce99891 Remove functions deprecated in version 4.0.
Rik <rik@octave.org>
parents: 22586
diff changeset
498
31037
39876ea8c588 warning_ids.m: Add new warning ID "Octave:deprecated-option".
Rik <rik@octave.org>
parents: 31035
diff changeset
499 For plot functions, the use of numbers to select line colors in
39876ea8c588 warning_ids.m: Add new warning ID "Octave:deprecated-option".
Rik <rik@octave.org>
parents: 31035
diff changeset
500 shorthand formats was an undocumented feature that is deprecated in
39876ea8c588 warning_ids.m: Add new warning ID "Octave:deprecated-option".
Rik <rik@octave.org>
parents: 31035
diff changeset
501 Octave 7 and will be removed from Octave 9.
39876ea8c588 warning_ids.m: Add new warning ID "Octave:deprecated-option".
Rik <rik@octave.org>
parents: 31035
diff changeset
502
30031
cf60f8f636f6 Start deprecation of Fortran exponentiation operator.
Rik <rik@octave.org>
parents: 30016
diff changeset
503 - Operators
cf60f8f636f6 Start deprecation of Fortran exponentiation operator.
Rik <rik@octave.org>
parents: 30016
diff changeset
504
cf60f8f636f6 Start deprecation of Fortran exponentiation operator.
Rik <rik@octave.org>
parents: 30016
diff changeset
505 Operator | Replacement | Description
cf60f8f636f6 Start deprecation of Fortran exponentiation operator.
Rik <rik@octave.org>
parents: 30016
diff changeset
506 ---------|-------------|------------
30601
824c67e2bd66 doc: Use Markdown verbatim mode for functions and operators in NEWS.7.md.
Rik <rik@octave.org>
parents: 30596
diff changeset
507 `**` | `^` | Matrix exponent
824c67e2bd66 doc: Use Markdown verbatim mode for functions and operators in NEWS.7.md.
Rik <rik@octave.org>
parents: 30596
diff changeset
508 `.**` | `.^` | Element-by-element exponent
824c67e2bd66 doc: Use Markdown verbatim mode for functions and operators in NEWS.7.md.
Rik <rik@octave.org>
parents: 30596
diff changeset
509 `.+` | `+` | Element-by-element addition
824c67e2bd66 doc: Use Markdown verbatim mode for functions and operators in NEWS.7.md.
Rik <rik@octave.org>
parents: 30596
diff changeset
510 `.-` | `-` | Element-by-element subtraction
20484
c8ec0b72b7a6 Deprecate wavread and wavwrite.
Rik <rik@octave.org>
parents: 20466
diff changeset
511
29297
cff933892ec2 Deprecate '...' line continuations in double-quoted strings.
Rik <rik@octave.org>
parents: 29184
diff changeset
512 - Interpreter
cff933892ec2 Deprecate '...' line continuations in double-quoted strings.
Rik <rik@octave.org>
parents: 29184
diff changeset
513
29304
01679f865fc7 Deprecate obsolete warning messages in lex.ll.
Rik <rik@octave.org>
parents: 29297
diff changeset
514 * The use of `'...'` for line continuations *inside* double-quoted
29297
cff933892ec2 Deprecate '...' line continuations in double-quoted strings.
Rik <rik@octave.org>
parents: 29184
diff changeset
515 strings has been deprecated. Use `'\'` for line continuations
29304
01679f865fc7 Deprecate obsolete warning messages in lex.ll.
Rik <rik@octave.org>
parents: 29297
diff changeset
516 inside strings instead.
28860
ba6e10c316d3 NEWS: Announce deprecation of LFLAGS (bug #59173).
Markus Mützel <markus.muetzel@gmx.de>
parents: 28671
diff changeset
517
29304
01679f865fc7 Deprecate obsolete warning messages in lex.ll.
Rik <rik@octave.org>
parents: 29297
diff changeset
518 * The use of `'\'` as a line continuation *outside* of double-quoted
01679f865fc7 Deprecate obsolete warning messages in lex.ll.
Rik <rik@octave.org>
parents: 29297
diff changeset
519 strings has been deprecated. Use `'...'` for line continuations
29297
cff933892ec2 Deprecate '...' line continuations in double-quoted strings.
Rik <rik@octave.org>
parents: 29184
diff changeset
520 instead.
cff933892ec2 Deprecate '...' line continuations in double-quoted strings.
Rik <rik@octave.org>
parents: 29184
diff changeset
521
29304
01679f865fc7 Deprecate obsolete warning messages in lex.ll.
Rik <rik@octave.org>
parents: 29297
diff changeset
522 * Any trailing whitespace after a `'\'` line continuation has been
01679f865fc7 Deprecate obsolete warning messages in lex.ll.
Rik <rik@octave.org>
parents: 29297
diff changeset
523 deprecated. Delete unnecessary trailing whitespace.
26175
6e1a800dd365 eliminate brace and variable expansion in PATH search code
John W. Eaton <jwe@octave.org>
parents: 26173
diff changeset
524
26838
b00bd9afbed3 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26798
diff changeset
525
29923
b436a01d186d also mention functions deprecated in version 6 in the NEWS file
John W. Eaton <jwe@octave.org>
parents: 29916
diff changeset
526 The following functions were deprecated in Octave 6 and will be removed
b436a01d186d also mention functions deprecated in version 6 in the NEWS file
John W. Eaton <jwe@octave.org>
parents: 29916
diff changeset
527 from Octave 8 (or whatever version is the second major release after 6):
22613
edd04ce99891 Remove functions deprecated in version 4.0.
Rik <rik@octave.org>
parents: 22586
diff changeset
528
26838
b00bd9afbed3 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26798
diff changeset
529 - Functions
20157
e410d62ae2c8 maint: move NEWS from 45565ecec019 from the release 4.0 to 4.2.
Carnë Draug <carandraug@octave.org>
parents: 20154
diff changeset
530
26838
b00bd9afbed3 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26798
diff changeset
531 Function | Replacement
b00bd9afbed3 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26798
diff changeset
532 -----------------------|------------------
27115
8a04f5454350 Deprecate 'runtests' function (bug #56325).
Rik <rik@octave.org>
parents: 27114
diff changeset
533 `runtests` | `oruntests`
22613
edd04ce99891 Remove functions deprecated in version 4.0.
Rik <rik@octave.org>
parents: 22586
diff changeset
534
29923
b436a01d186d also mention functions deprecated in version 6 in the NEWS file
John W. Eaton <jwe@octave.org>
parents: 29916
diff changeset
535 - The environment variable used by `mkoctfile` for linker flags is now
b436a01d186d also mention functions deprecated in version 6 in the NEWS file
John W. Eaton <jwe@octave.org>
parents: 29916
diff changeset
536 `LDFLAGS` rather than `LFLAGS`. `LFLAGS` was deprecated in Octave 6,
b436a01d186d also mention functions deprecated in version 6 in the NEWS file
John W. Eaton <jwe@octave.org>
parents: 29916
diff changeset
537 and a warning is now emitted if it is used, but it will continue to
b436a01d186d also mention functions deprecated in version 6 in the NEWS file
John W. Eaton <jwe@octave.org>
parents: 29916
diff changeset
538 work.
b436a01d186d also mention functions deprecated in version 6 in the NEWS file
John W. Eaton <jwe@octave.org>
parents: 29916
diff changeset
539
29949
f254c302bb9c remove JIT compiler from Octave sources
John W. Eaton <jwe@octave.org>
parents: 29939
diff changeset
540 ### Removed functions, properties, and features
26840
c32c825ee021 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26835
diff changeset
541
28077
f47f9493cb37 NEWS: Update for version 7 development.
Rik <rik@octave.org>
parents: 28039
diff changeset
542 The following functions and properties were deprecated in Octave 5
f47f9493cb37 NEWS: Update for version 7 development.
Rik <rik@octave.org>
parents: 28039
diff changeset
543 and have been removed from Octave 7.
26840
c32c825ee021 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26835
diff changeset
544
c32c825ee021 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26835
diff changeset
545 - Functions
c32c825ee021 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26835
diff changeset
546
28080
73f9fdc29baa NEWS: Update with list of function and properties removed from version 7.
Rik <rik@octave.org>
parents: 28077
diff changeset
547 Function | Replacement
73f9fdc29baa NEWS: Update with list of function and properties removed from version 7.
Rik <rik@octave.org>
parents: 28077
diff changeset
548 -------------------------|------------------
73f9fdc29baa NEWS: Update with list of function and properties removed from version 7.
Rik <rik@octave.org>
parents: 28077
diff changeset
549 `output_max_field_width` | `output_precision`
73f9fdc29baa NEWS: Update with list of function and properties removed from version 7.
Rik <rik@octave.org>
parents: 28077
diff changeset
550 `is_keyword` | `iskeyword`
19122
c43223245085 doc: Add warnings about eventual removal of inline functions.
Rik <rik@octave.org>
parents: 19119
diff changeset
551
26838
b00bd9afbed3 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26798
diff changeset
552 - Properties
20484
c8ec0b72b7a6 Deprecate wavread and wavwrite.
Rik <rik@octave.org>
parents: 20466
diff changeset
553
26840
c32c825ee021 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26835
diff changeset
554 Object | Property | Value
c32c825ee021 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26835
diff changeset
555 -----------------|---------------|------------
28080
73f9fdc29baa NEWS: Update with list of function and properties removed from version 7.
Rik <rik@octave.org>
parents: 28077
diff changeset
556 `text` | `fontangle` | `"oblique"`
73f9fdc29baa NEWS: Update with list of function and properties removed from version 7.
Rik <rik@octave.org>
parents: 28077
diff changeset
557 `uibuttongroup` | `fontangle` | `"oblique"`
73f9fdc29baa NEWS: Update with list of function and properties removed from version 7.
Rik <rik@octave.org>
parents: 28077
diff changeset
558 `uicontrol` | `fontangle` | `"oblique"`
73f9fdc29baa NEWS: Update with list of function and properties removed from version 7.
Rik <rik@octave.org>
parents: 28077
diff changeset
559 `uipanel` | `fontangle` | `"oblique"`
73f9fdc29baa NEWS: Update with list of function and properties removed from version 7.
Rik <rik@octave.org>
parents: 28077
diff changeset
560 `uitable` | `fontangle` | `"oblique"`
19122
c43223245085 doc: Add warnings about eventual removal of inline functions.
Rik <rik@octave.org>
parents: 19119
diff changeset
561
29949
f254c302bb9c remove JIT compiler from Octave sources
John W. Eaton <jwe@octave.org>
parents: 29939
diff changeset
562 - The prototype JIT compiler has been removed from Octave. Since it was
f254c302bb9c remove JIT compiler from Octave sources
John W. Eaton <jwe@octave.org>
parents: 29939
diff changeset
563 first added as part of a Google Summer of Code project in 2012, no one
f254c302bb9c remove JIT compiler from Octave sources
John W. Eaton <jwe@octave.org>
parents: 29939
diff changeset
564 has ever seriously taken on further development of it and it still does
f254c302bb9c remove JIT compiler from Octave sources
John W. Eaton <jwe@octave.org>
parents: 29939
diff changeset
565 nothing significant. It is out of date with the default interpreter
f254c302bb9c remove JIT compiler from Octave sources
John W. Eaton <jwe@octave.org>
parents: 29939
diff changeset
566 that walks the parse tree. Even though we have fixed the configure
f254c302bb9c remove JIT compiler from Octave sources
John W. Eaton <jwe@octave.org>
parents: 29939
diff changeset
567 script to disable it by default, people still ask questions about how to
f254c302bb9c remove JIT compiler from Octave sources
John W. Eaton <jwe@octave.org>
parents: 29939
diff changeset
568 build it, but it doesn’t seem that they are doing that to work on it but
f254c302bb9c remove JIT compiler from Octave sources
John W. Eaton <jwe@octave.org>
parents: 29939
diff changeset
569 because they think it will make Octave code run faster (it never did,
f254c302bb9c remove JIT compiler from Octave sources
John W. Eaton <jwe@octave.org>
parents: 29939
diff changeset
570 except for some extremely simple bits of code as examples for
f254c302bb9c remove JIT compiler from Octave sources
John W. Eaton <jwe@octave.org>
parents: 29939
diff changeset
571 demonstration purposes only). The following functions related to the
f254c302bb9c remove JIT compiler from Octave sources
John W. Eaton <jwe@octave.org>
parents: 29939
diff changeset
572 JIT compiler have also been removed: `debug_jit`, `jit_enable`,
f254c302bb9c remove JIT compiler from Octave sources
John W. Eaton <jwe@octave.org>
parents: 29939
diff changeset
573 `jit_failcnt`, and `jit_startcnt`.
26838
b00bd9afbed3 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26798
diff changeset
574
b00bd9afbed3 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26798
diff changeset
575 ### Old release news
19965
d20dd211cc89 Enable float truncation by default for octave builds.
Rik <rik@octave.org>
parents: 19958
diff changeset
576
28077
f47f9493cb37 NEWS: Update for version 7 development.
Rik <rik@octave.org>
parents: 28039
diff changeset
577 - [Octave 6.x](etc/NEWS.6)
26840
c32c825ee021 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26835
diff changeset
578 - [Octave 5.x](etc/NEWS.5)
c32c825ee021 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26835
diff changeset
579 - [Octave 4.x](etc/NEWS.4)
c32c825ee021 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26835
diff changeset
580 - [Octave 3.x](etc/NEWS.3)
26838
b00bd9afbed3 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26798
diff changeset
581 - [Octave 2.x](etc/NEWS.2)
b00bd9afbed3 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26798
diff changeset
582 - [Octave 1.x](etc/NEWS.1)