Mercurial > octave
annotate NEWS @ 28769:903fe321649b
Add Matlab compatible wrappers for base64_encode and base64_decode.
* liboctave/util/oct-base64.cc, oct-base64.h (base64_decode_bytes): New function
to decode base64 encoded strings into bytes.
* libinterp/corefcn/data.cc (F__base64_decode_bytes__): New internal function
to decode base64 encoded strings into bytes.
* scripts/+matlab/+net/base64decode.m, scripts/+matlab/+net/base64encode.m: Add
Matlab compatible wrappers for base64_encode and __base64_decode_bytes__.
* scripts/+matlab/+net/module.mk: Add new file.
* scripts/module.mk: Include new module.mk file.
* doc/interpreter/system.txi: Add documentation for new functions to manual.
* NEWS: Announce new functions.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Tue, 22 Sep 2020 15:59:00 +0200 |
parents | 877e876338cc |
children | aab67699cbf6 |
rev | line source |
---|---|
28077
f47f9493cb37
NEWS: Update for version 7 development.
Rik <rik@octave.org>
parents:
28039
diff
changeset
|
1 Summary of important user-visible changes for version 7 (yyyy-mm-dd): |
23277
df0fb2cb820b
add release dates to NEWS files
John W. Eaton <jwe@octave.org>
parents:
23273
diff
changeset
|
2 ---------------------------------------------------------------------- |
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
|
3 |
26838
b00bd9afbed3
doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
26798
diff
changeset
|
4 ### General improvements |
b00bd9afbed3
doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
26798
diff
changeset
|
5 |
28109
42892c93bd25
NEWS: Document change in error handling of command-form functions (bug #57830).
Rik <rik@octave.org>
parents:
28107
diff
changeset
|
6 - 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
|
7 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
|
8 functional form---parentheses and '=' for assignment of return values. |
26617
98afb8bbd1f6
maint: Strip trailing whitespace from source files.
John W. Eaton <jwe@octave.org>
parents:
26422
diff
changeset
|
9 |
28762
877e876338cc
NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents:
28693
diff
changeset
|
10 **Command Form Example** |
26264
25d3e8e49d5c
randi.m: Implement rejection algorithm for unbiased results (bug #54619).
Michael Leitner
parents:
26262
diff
changeset
|
11 |
28109
42892c93bd25
NEWS: Document change in error handling of command-form functions (bug #57830).
Rik <rik@octave.org>
parents:
28107
diff
changeset
|
12 `mkdir new_directory` |
26838
b00bd9afbed3
doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
26798
diff
changeset
|
13 |
28762
877e876338cc
NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents:
28693
diff
changeset
|
14 **Function Form Example** |
26617
98afb8bbd1f6
maint: Strip trailing whitespace from source files.
John W. Eaton <jwe@octave.org>
parents:
26422
diff
changeset
|
15 |
28109
42892c93bd25
NEWS: Document change in error handling of command-form functions (bug #57830).
Rik <rik@octave.org>
parents:
28107
diff
changeset
|
16 `status = mkdir ("new_directory")` |
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
|
17 |
28109
42892c93bd25
NEWS: Document change in error handling of command-form functions (bug #57830).
Rik <rik@octave.org>
parents:
28107
diff
changeset
|
18 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
|
19 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
|
20 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
|
21 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
|
22 via the output status variable. |
27537
7dc31256c5e4
Document that regexp* functions need UTF-8 encoded input (bug #35910).
Markus Mützel <markus.muetzel@gmx.de>
parents:
27522
diff
changeset
|
23 |
28109
42892c93bd25
NEWS: Document change in error handling of command-form functions (bug #57830).
Rik <rik@octave.org>
parents:
28107
diff
changeset
|
24 The following list of functions have been modified. |
27811 | 25 |
28109
42892c93bd25
NEWS: Document change in error handling of command-form functions (bug #57830).
Rik <rik@octave.org>
parents:
28107
diff
changeset
|
26 * `copyfile` |
42892c93bd25
NEWS: Document change in error handling of command-form functions (bug #57830).
Rik <rik@octave.org>
parents:
28107
diff
changeset
|
27 * `fcntl` |
42892c93bd25
NEWS: Document change in error handling of command-form functions (bug #57830).
Rik <rik@octave.org>
parents:
28107
diff
changeset
|
28 * `fileattrib` |
42892c93bd25
NEWS: Document change in error handling of command-form functions (bug #57830).
Rik <rik@octave.org>
parents:
28107
diff
changeset
|
29 * `kill` |
42892c93bd25
NEWS: Document change in error handling of command-form functions (bug #57830).
Rik <rik@octave.org>
parents:
28107
diff
changeset
|
30 * `link` |
42892c93bd25
NEWS: Document change in error handling of command-form functions (bug #57830).
Rik <rik@octave.org>
parents:
28107
diff
changeset
|
31 * `mkfifo` |
42892c93bd25
NEWS: Document change in error handling of command-form functions (bug #57830).
Rik <rik@octave.org>
parents:
28107
diff
changeset
|
32 * `movefile` |
42892c93bd25
NEWS: Document change in error handling of command-form functions (bug #57830).
Rik <rik@octave.org>
parents:
28107
diff
changeset
|
33 * `rename` |
42892c93bd25
NEWS: Document change in error handling of command-form functions (bug #57830).
Rik <rik@octave.org>
parents:
28107
diff
changeset
|
34 * `rmdir` |
42892c93bd25
NEWS: Document change in error handling of command-form functions (bug #57830).
Rik <rik@octave.org>
parents:
28107
diff
changeset
|
35 * `symlink` |
42892c93bd25
NEWS: Document change in error handling of command-form functions (bug #57830).
Rik <rik@octave.org>
parents:
28107
diff
changeset
|
36 * `unlink` |
26126
f6f16b842d5d
NEWS: Announce change to intmin, intmax, flintmax to accept a variable as input.
Rik <rik@octave.org>
parents:
26125
diff
changeset
|
37 |
28580
c871455e20bc
NEW: Note changes in checking the number of function inputs and outputs.
John W. Eaton <jwe@octave.org>
parents:
28486
diff
changeset
|
38 - 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
|
39 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
|
40 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
|
41 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
|
42 outputs. Input validation for functions typically begins with checking |
877e876338cc
NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents:
28693
diff
changeset
|
43 the number of inputs and outputs match expectations. Existing code can |
877e876338cc
NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents:
28693
diff
changeset
|
44 be simplified by removing these checks which are now done by the |
877e876338cc
NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents:
28693
diff
changeset
|
45 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
|
46 deleted. |
877e876338cc
NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents:
28693
diff
changeset
|
47 |
877e876338cc
NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents:
28693
diff
changeset
|
48 ## Checking number of inputs |
877e876338cc
NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents:
28693
diff
changeset
|
49 if (nargin > 2) |
877e876338cc
NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents:
28693
diff
changeset
|
50 print_usage (); |
877e876338cc
NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents:
28693
diff
changeset
|
51 endif |
877e876338cc
NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents:
28693
diff
changeset
|
52 |
877e876338cc
NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents:
28693
diff
changeset
|
53 ## Checking number of outputs |
877e876338cc
NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents:
28693
diff
changeset
|
54 if (nargout > 1) |
877e876338cc
NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents:
28693
diff
changeset
|
55 print_usage (); |
877e876338cc
NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents:
28693
diff
changeset
|
56 endif |
877e876338cc
NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents:
28693
diff
changeset
|
57 |
877e876338cc
NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents:
28693
diff
changeset
|
58 - 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
|
59 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
|
60 number of digits present. For example, `0xff` creates a `uint8` value |
877e876338cc
NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents:
28693
diff
changeset
|
61 and `0xDEADBEEF` creates a `uint64` value. You may also use a suffix of |
877e876338cc
NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents:
28693
diff
changeset
|
62 the form `s8`, `s16`, `s32`, `s64`, `u8`, `u16`, `u32`, or `u64` to |
877e876338cc
NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents:
28693
diff
changeset
|
63 explicitly specify the data type to use (`u` or `s` to indicate signed |
877e876338cc
NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents:
28693
diff
changeset
|
64 or unsigned and the number to indicate the integer size). |
877e876338cc
NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents:
28693
diff
changeset
|
65 |
877e876338cc
NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents:
28693
diff
changeset
|
66 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
|
67 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
|
68 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
|
69 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
|
70 `[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
|
71 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
|
72 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
|
73 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
|
74 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
|
75 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
|
76 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
|
77 `[0x00_00_01; 0x00_01_00; 0x01_00_00]`. |
26838
b00bd9afbed3
doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
26798
diff
changeset
|
78 |
28693
2bb050267d74
maint: Remove trailing spaces from code base.
Rik <rik@octave.org>
parents:
28672
diff
changeset
|
79 - 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
|
80 `jsondecode` and `jsonencode` functions to read and write JSON data. |
26838
b00bd9afbed3
doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
26798
diff
changeset
|
81 |
28762
877e876338cc
NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents:
28693
diff
changeset
|
82 ### Graphics backend |
877e876338cc
NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents:
28693
diff
changeset
|
83 |
877e876338cc
NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents:
28693
diff
changeset
|
84 - Support for Qt4 for both graphics and the GUI has been removed. |
877e876338cc
NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents:
28693
diff
changeset
|
85 |
877e876338cc
NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents:
28693
diff
changeset
|
86 - 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
|
87 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
|
88 property which is hidden now. |
877e876338cc
NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents:
28693
diff
changeset
|
89 |
877e876338cc
NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents:
28693
diff
changeset
|
90 - 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
|
91 * `"alphamap"` (not yet implemented) |
877e876338cc
NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents:
28693
diff
changeset
|
92 * `"alphascale"` (not yet implemented) |
877e876338cc
NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents:
28693
diff
changeset
|
93 * `"colorscale"` (not yet implemented) |
877e876338cc
NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents:
28693
diff
changeset
|
94 * `"fontsizemode"` (not yet implemented) |
877e876338cc
NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents:
28693
diff
changeset
|
95 * `"innerposition"` (equivalent to `"position"`) |
877e876338cc
NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents:
28693
diff
changeset
|
96 * `"interactions"` (not yet implemented) |
877e876338cc
NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents:
28693
diff
changeset
|
97 * `"layout"` (not yet implemented) |
877e876338cc
NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents:
28693
diff
changeset
|
98 * `"legend"` (not yet implemented) |
877e876338cc
NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents:
28693
diff
changeset
|
99 * `"nextseriesindex"` (read-only, used by `scatter` graphics objects) |
877e876338cc
NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents:
28693
diff
changeset
|
100 * `"positionconstraint"` (replacement for `"activepositionproperty"` |
877e876338cc
NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents:
28693
diff
changeset
|
101 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
|
102 * `"toolbar"` (not yet implemented) |
877e876338cc
NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents:
28693
diff
changeset
|
103 * `"xaxis"` (not yet implemented) |
877e876338cc
NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents:
28693
diff
changeset
|
104 * `"yaxis"` (not yet implemented) |
877e876338cc
NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents:
28693
diff
changeset
|
105 * `"zaxis"` (not yet implemented) |
877e876338cc
NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents:
28693
diff
changeset
|
106 |
877e876338cc
NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents:
28693
diff
changeset
|
107 ### Matlab compatibility |
877e876338cc
NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents:
28693
diff
changeset
|
108 |
28210
bb929d5a34cb
griddata.m: Added support for "v4" biharmonic spline interpolation method (bug #33539).
Nicholas R. Jankowski <jankowskin@asme.org>
parents:
28171
diff
changeset
|
109 - The function `griddata` now implements the "v4" Biharmonic Spline |
bb929d5a34cb
griddata.m: Added support for "v4" biharmonic spline interpolation method (bug #33539).
Nicholas R. Jankowski <jankowskin@asme.org>
parents:
28171
diff
changeset
|
110 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
|
111 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
|
112 |
28171
a23da76e0693
Matlab compatibility fixes for coordinate transform functions (bug #57794).
Nicholas R. Jankowski <jankowskin@asme.org>
parents:
28151
diff
changeset
|
113 - Coordinate transformation functions `cart2sph`, `sph2cart`, |
28585
3623c94ad285
NEWS: Clarify some text and wrap at column 72.
Rik <rik@octave.org>
parents:
28583
diff
changeset
|
114 `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
|
115 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
|
116 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
|
117 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
|
118 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
|
119 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
|
120 vectors with rows corresponding to the input coordinate matrix. |
28143
4f1d1b1d4afc
NEWS: Add a note about ostreamtube/streamtube (bug #57471).
Markus Meisinger <chloros2@gmx.de>
parents:
28136
diff
changeset
|
121 |
28243
7739d3eb952b
NEWS: Announce support for negative numbers in dec2bin, dec2hex.
Rik <rik@octave.org>
parents:
28212
diff
changeset
|
122 - The function `dec2bin` and `dec2hex` now support negative numbers. |
25739
8eec0403a370
fminsearch.m: Update default TolFun to 1e-4 for Matlab compatibility.
Rik <rik@octave.org>
parents:
25738
diff
changeset
|
123 |
28369
248f7cc8dc74
NEWS: Announce improvements in importdata() function.
Rik <rik@octave.org>
parents:
28331
diff
changeset
|
124 - The function `importdata` now produces more compatible results when |
248f7cc8dc74
NEWS: Announce improvements in importdata() function.
Rik <rik@octave.org>
parents:
28331
diff
changeset
|
125 the file contains a 2-D text matrix. |
25867
49ffa78f9243
Use "facenormals" for flat lighting on surfaces (bug #54024).
Markus Mützel <markus.muetzel@gmx.de>
parents:
25837
diff
changeset
|
126 |
28250
afc53bd3d71b
NEWS: Announce support for uicontrol "Inactive", "Off" values of "Enable" property (bug #57128).
Rik <rik@octave.org>
parents:
28243
diff
changeset
|
127 - `uicontrol` objects now fully implement the "Off" and "Inactive" |
afc53bd3d71b
NEWS: Announce support for uicontrol "Inactive", "Off" values of "Enable" property (bug #57128).
Rik <rik@octave.org>
parents:
28243
diff
changeset
|
128 values of the "Enable" property. When the value is "Off", no |
afc53bd3d71b
NEWS: Announce support for uicontrol "Inactive", "Off" values of "Enable" property (bug #57128).
Rik <rik@octave.org>
parents:
28243
diff
changeset
|
129 interaction with the object occurs and the `uicontrol` changes color |
afc53bd3d71b
NEWS: Announce support for uicontrol "Inactive", "Off" values of "Enable" property (bug #57128).
Rik <rik@octave.org>
parents:
28243
diff
changeset
|
130 (typically to gray) to indicate it is disabled. When the value is |
afc53bd3d71b
NEWS: Announce support for uicontrol "Inactive", "Off" values of "Enable" property (bug #57128).
Rik <rik@octave.org>
parents:
28243
diff
changeset
|
131 "Inactive", the object appears normally (no change in color), but it is |
afc53bd3d71b
NEWS: Announce support for uicontrol "Inactive", "Off" values of "Enable" property (bug #57128).
Rik <rik@octave.org>
parents:
28243
diff
changeset
|
132 not possible to change the value of the object (such as modifying text |
afc53bd3d71b
NEWS: Announce support for uicontrol "Inactive", "Off" values of "Enable" property (bug #57128).
Rik <rik@octave.org>
parents:
28243
diff
changeset
|
133 in an `Edit` box or clicking on a `RadioButton`). |
25867
49ffa78f9243
Use "facenormals" for flat lighting on surfaces (bug #54024).
Markus Mützel <markus.muetzel@gmx.de>
parents:
25837
diff
changeset
|
134 |
28585
3623c94ad285
NEWS: Clarify some text and wrap at column 72.
Rik <rik@octave.org>
parents:
28583
diff
changeset
|
135 - 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
|
136 scatter graphics object. For compatibility, they return an `hggroup` of |
3623c94ad285
NEWS: Clarify some text and wrap at column 72.
Rik <rik@octave.org>
parents:
28583
diff
changeset
|
137 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
|
138 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
|
139 patch graphics objects for all graphics toolkits. |
22586
d0e972e74851
maint: merge stable to default.
Carnë Draug <carandraug@octave.org>
parents:
22573
diff
changeset
|
140 |
28314
bc904ed5aad4
saveas.m: Change default format to .ofig (bug #58391).
Guillaume Flandin <guillaume.offline@gmail.com>
parents:
28309
diff
changeset
|
141 - 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
|
142 (.ofig) rather than PDF (.pdf). |
25867
49ffa78f9243
Use "facenormals" for flat lighting on surfaces (bug #54024).
Markus Mützel <markus.muetzel@gmx.de>
parents:
25837
diff
changeset
|
143 |
28762
877e876338cc
NEWS: Update Markdown syntax and re-order items.
Rik <rik@octave.org>
parents:
28693
diff
changeset
|
144 - 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
|
145 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
|
146 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
|
147 functionality. By default, this warning is enabled. |
26185
ef0998af70f9
Change "Margin" default of text object to 3.
Rik <rik@octave.org>
parents:
26175
diff
changeset
|
148 |
28077
f47f9493cb37
NEWS: Update for version 7 development.
Rik <rik@octave.org>
parents:
28039
diff
changeset
|
149 ### Alphabetical list of new functions added in Octave 7 |
26185
ef0998af70f9
Change "Margin" default of text object to 3.
Rik <rik@octave.org>
parents:
26175
diff
changeset
|
150 |
28331
be3dab3212e9
getpixelposition.m: Implement new function (bug #58181)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents:
28323
diff
changeset
|
151 * `getpixelposition` |
28212
d052c11d47c6
Add new functions startsWith and endsWith (bug #57041).
Abdallah Elshamy <abdallah.k.elshamy@gmail.com>
parents:
28210
diff
changeset
|
152 * `endsWith` |
28615
5da49e37a6c9
New functions jsondecode and jsonencode (bug #53100).
Abdallah Elshamy <abdallah.k.elshamy@gmail.com>
parents:
28585
diff
changeset
|
153 * `jsondecode` |
5da49e37a6c9
New functions jsondecode and jsonencode (bug #53100).
Abdallah Elshamy <abdallah.k.elshamy@gmail.com>
parents:
28585
diff
changeset
|
154 * `jsonencode` |
28391
c126a60b0d52
listfonts.m: New function (bug #58476).
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents:
28386
diff
changeset
|
155 * `listfonts` |
28769
903fe321649b
Add Matlab compatible wrappers for base64_encode and base64_decode.
Markus Mützel <markus.muetzel@gmx.de>
parents:
28762
diff
changeset
|
156 * `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
|
157 * `matlab.net.base64encode` |
28372
2f571bfff344
Add "memory" function (patch #9924).
Lars Kindermann <lars.kindermann@reglos.de>
parents:
28369
diff
changeset
|
158 * `memory` |
28107
d320728d5d06
style fixes for rng; document and mention in NEWS file
John W. Eaton <jwe@octave.org>
parents:
28080
diff
changeset
|
159 * `rng` |
28212
d052c11d47c6
Add new functions startsWith and endsWith (bug #57041).
Abdallah Elshamy <abdallah.k.elshamy@gmail.com>
parents:
28210
diff
changeset
|
160 * `startsWith` |
28386
8a9a041db1dc
Add "streamribbon" function (patch #9916).
Markus Meisinger <chloros2@gmx.de>
parents:
28372
diff
changeset
|
161 * `streamribbon` |
26838
b00bd9afbed3
doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
26798
diff
changeset
|
162 |
b00bd9afbed3
doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
26798
diff
changeset
|
163 ### Deprecated functions and properties |
22586
d0e972e74851
maint: merge stable to default.
Carnë Draug <carandraug@octave.org>
parents:
22573
diff
changeset
|
164 |
28077
f47f9493cb37
NEWS: Update for version 7 development.
Rik <rik@octave.org>
parents:
28039
diff
changeset
|
165 The following functions and properties have been deprecated in Octave 7 |
f47f9493cb37
NEWS: Update for version 7 development.
Rik <rik@octave.org>
parents:
28039
diff
changeset
|
166 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
|
167 major release after 7): |
22613
edd04ce99891
Remove functions deprecated in version 4.0.
Rik <rik@octave.org>
parents:
22586
diff
changeset
|
168 |
26838
b00bd9afbed3
doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
26798
diff
changeset
|
169 - 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
|
170 |
26838
b00bd9afbed3
doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
26798
diff
changeset
|
171 Function | Replacement |
b00bd9afbed3
doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
26798
diff
changeset
|
172 -----------------------|------------------ |
28077
f47f9493cb37
NEWS: Update for version 7 development.
Rik <rik@octave.org>
parents:
28039
diff
changeset
|
173 | |
22613
edd04ce99891
Remove functions deprecated in version 4.0.
Rik <rik@octave.org>
parents:
22586
diff
changeset
|
174 |
26838
b00bd9afbed3
doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
26798
diff
changeset
|
175 - Properties |
20484 | 176 |
26840
c32c825ee021
doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
26835
diff
changeset
|
177 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
|
178 -----------------|---------------|------------ |
c32c825ee021
doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
26835
diff
changeset
|
179 | | |
20484 | 180 |
26840
c32c825ee021
doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
26835
diff
changeset
|
181 ### Removed functions and properties |
c32c825ee021
doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
26835
diff
changeset
|
182 |
28077
f47f9493cb37
NEWS: Update for version 7 development.
Rik <rik@octave.org>
parents:
28039
diff
changeset
|
183 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
|
184 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
|
185 |
c32c825ee021
doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
26835
diff
changeset
|
186 - Functions |
c32c825ee021
doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
26835
diff
changeset
|
187 |
28080
73f9fdc29baa
NEWS: Update with list of function and properties removed from version 7.
Rik <rik@octave.org>
parents:
28077
diff
changeset
|
188 Function | Replacement |
73f9fdc29baa
NEWS: Update with list of function and properties removed from version 7.
Rik <rik@octave.org>
parents:
28077
diff
changeset
|
189 -------------------------|------------------ |
73f9fdc29baa
NEWS: Update with list of function and properties removed from version 7.
Rik <rik@octave.org>
parents:
28077
diff
changeset
|
190 `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
|
191 `is_keyword` | `iskeyword` |
19122
c43223245085
doc: Add warnings about eventual removal of inline functions.
Rik <rik@octave.org>
parents:
19119
diff
changeset
|
192 |
26840
c32c825ee021
doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
26835
diff
changeset
|
193 - Properties |
18606
0ede4dbb37f1
Overhaul interp1, interp2, interp3 functions.
Rik <rik@octave.org>
parents:
18580
diff
changeset
|
194 |
28080
73f9fdc29baa
NEWS: Update with list of function and properties removed from version 7.
Rik <rik@octave.org>
parents:
28077
diff
changeset
|
195 Object | Property | Value |
73f9fdc29baa
NEWS: Update with list of function and properties removed from version 7.
Rik <rik@octave.org>
parents:
28077
diff
changeset
|
196 -----------------|---------------|------------ |
73f9fdc29baa
NEWS: Update with list of function and properties removed from version 7.
Rik <rik@octave.org>
parents:
28077
diff
changeset
|
197 `text` | `fontangle` | `"oblique"` |
73f9fdc29baa
NEWS: Update with list of function and properties removed from version 7.
Rik <rik@octave.org>
parents:
28077
diff
changeset
|
198 `uibuttongroup` | `fontangle` | `"oblique"` |
73f9fdc29baa
NEWS: Update with list of function and properties removed from version 7.
Rik <rik@octave.org>
parents:
28077
diff
changeset
|
199 `uicontrol` | `fontangle` | `"oblique"` |
73f9fdc29baa
NEWS: Update with list of function and properties removed from version 7.
Rik <rik@octave.org>
parents:
28077
diff
changeset
|
200 `uipanel` | `fontangle` | `"oblique"` |
73f9fdc29baa
NEWS: Update with list of function and properties removed from version 7.
Rik <rik@octave.org>
parents:
28077
diff
changeset
|
201 `uitable` | `fontangle` | `"oblique"` |
26838
b00bd9afbed3
doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
26798
diff
changeset
|
202 |
b00bd9afbed3
doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
26798
diff
changeset
|
203 ### Old release news |
19965
d20dd211cc89
Enable float truncation by default for octave builds.
Rik <rik@octave.org>
parents:
19958
diff
changeset
|
204 |
28077
f47f9493cb37
NEWS: Update for version 7 development.
Rik <rik@octave.org>
parents:
28039
diff
changeset
|
205 - [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
|
206 - [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
|
207 - [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
|
208 - [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
|
209 - [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
|
210 - [Octave 1.x](etc/NEWS.1) |