annotate NEWS @ 27832:8fd7d1d2a4ca

Read startup files from XDG_CONFIG_HOME or LOCALAPPDATA (bug #36477). * oct-env.[cc,h] (get_user_config_directory, do_get_user_config_directory): New functions. * interpreter.cc (execute_startup_files): Try to execute the octaverc file at a platform dependent location. * doc/interpreter/basics.txi: Document new location for startup file. * NEWS: Announce change.
author Mike Miller <mtmiller@octave.org>
date Wed, 06 Mar 2019 14:54:38 -0800
parents 78c171fe48fc
children 659acfaaf0c9
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
26629
2f77d977606a * NEWS: Refer to version "6" instead of "6.0".
Mike Miller <mtmiller@octave.org>
parents: 26619
diff changeset
1 Summary of important user-visible changes for version 6 (yyyy-mm-dd):
23277
df0fb2cb820b add release dates to NEWS files
John W. Eaton <jwe@octave.org>
parents: 23273
diff changeset
2 ----------------------------------------------------------------------
22586
d0e972e74851 maint: merge stable to default.
Carnë Draug <carandraug@octave.org>
parents: 22573
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
27538
7f1fbc0541bd doc: NEWS fix Markdown markup for code using "`" not "'".
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 27537
diff changeset
6 - The `intersect`, `setdiff`, `setxor`, `union`, and `unique` functions
27295
7ec25367bdc5 intersect.m: Add new option "stable" to control output ordering.
Rik <rik@octave.org>
parents: 27294
diff changeset
7 accept a new sorting option `"stable"` which will return output values
7ec25367bdc5 intersect.m: Add new option "stable" to control output ordering.
Rik <rik@octave.org>
parents: 27294
diff changeset
8 in the same order as the input, rather than in ascending order.
27291
c4f9a0f097a3 unique.m: Add new option "stable" to control output ordering.
Rik <rik@octave.org>
parents: 27274
diff changeset
9
27811
392c03df4565 NEWS: Update for 6.1 release.
Rik <rik@octave.org>
parents: 27759
diff changeset
10 - Complex RESTful web services can now be accessed by the `webread` and
392c03df4565 NEWS: Update for 6.1 release.
Rik <rik@octave.org>
parents: 27759
diff changeset
11 `webwrite` functions alongside with the `weboptions` structure. One
392c03df4565 NEWS: Update for 6.1 release.
Rik <rik@octave.org>
parents: 27759
diff changeset
12 major feature is the support for cookies to enable RESTful
392c03df4565 NEWS: Update for 6.1 release.
Rik <rik@octave.org>
parents: 27759
diff changeset
13 communication with the web service.
392c03df4565 NEWS: Update for 6.1 release.
Rik <rik@octave.org>
parents: 27759
diff changeset
14
392c03df4565 NEWS: Update for 6.1 release.
Rik <rik@octave.org>
parents: 27759
diff changeset
15 Additionally, the system web browser can be opened by the `web` function.
392c03df4565 NEWS: Update for 6.1 release.
Rik <rik@octave.org>
parents: 27759
diff changeset
16
27435
a8a5d2e8807f Produce symmetric sequences for linspace (bug #56659).
Rik <rik@octave.org>
parents: 27432
diff changeset
17 - The `linspace` function now produces symmetrical sequences when the
a8a5d2e8807f Produce symmetric sequences for linspace (bug #56659).
Rik <rik@octave.org>
parents: 27432
diff changeset
18 endpoints are symmetric. This is more intuitive and also compatible
a8a5d2e8807f Produce symmetric sequences for linspace (bug #56659).
Rik <rik@octave.org>
parents: 27432
diff changeset
19 with recent changes made in Matlab R2019b.
a8a5d2e8807f Produce symmetric sequences for linspace (bug #56659).
Rik <rik@octave.org>
parents: 27432
diff changeset
20
27491
bea2823affa4 Add new options "uppercase", "lowercase" to format() command.
Rik <rik@octave.org>
parents: 27435
diff changeset
21 - The `edit` function option `"editinplace"` now defaults to `true` and
bea2823affa4 Add new options "uppercase", "lowercase" to format() command.
Rik <rik@octave.org>
parents: 27435
diff changeset
22 the option `"home"` now defaults to the empty matrix `[]`. Files will
bea2823affa4 Add new options "uppercase", "lowercase" to format() command.
Rik <rik@octave.org>
parents: 27435
diff changeset
23 no longer be copied to the user's HOME directory for editing. The old
bea2823affa4 Add new options "uppercase", "lowercase" to format() command.
Rik <rik@octave.org>
parents: 27435
diff changeset
24 behavior can be restored by setting `"editinplace"` to `false` and
bea2823affa4 Add new options "uppercase", "lowercase" to format() command.
Rik <rik@octave.org>
parents: 27435
diff changeset
25 `"home"` to `"~/octave"`.
bea2823affa4 Add new options "uppercase", "lowercase" to format() command.
Rik <rik@octave.org>
parents: 27435
diff changeset
26
bea2823affa4 Add new options "uppercase", "lowercase" to format() command.
Rik <rik@octave.org>
parents: 27435
diff changeset
27 - The `format` command supports two new options: `uppercase` and
bea2823affa4 Add new options "uppercase", "lowercase" to format() command.
Rik <rik@octave.org>
parents: 27435
diff changeset
28 `lowercase` (default). With the default, print a lowercase 'e' for
bea2823affa4 Add new options "uppercase", "lowercase" to format() command.
Rik <rik@octave.org>
parents: 27435
diff changeset
29 the exponent character in scientific notation and lowercase 'a-f' for
bea2823affa4 Add new options "uppercase", "lowercase" to format() command.
Rik <rik@octave.org>
parents: 27435
diff changeset
30 the hex digits representing 10-15. With `uppercase`, print 'E' and
bea2823affa4 Add new options "uppercase", "lowercase" to format() command.
Rik <rik@octave.org>
parents: 27435
diff changeset
31 'A-F' instead. The previous uppercase formats, `E` and `G`, no longer
bea2823affa4 Add new options "uppercase", "lowercase" to format() command.
Rik <rik@octave.org>
parents: 27435
diff changeset
32 control the case of the output.
bea2823affa4 Add new options "uppercase", "lowercase" to format() command.
Rik <rik@octave.org>
parents: 27435
diff changeset
33
27521
37f9eb2c05e0 doc: improve format() docstring and NEWS announcement.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 27517
diff changeset
34 Additionally, the `format` command can be called with multiple options
37f9eb2c05e0 doc: improve format() docstring and NEWS announcement.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 27517
diff changeset
35 for controlling the format, spacing, and case in arbitrary order.
37f9eb2c05e0 doc: improve format() docstring and NEWS announcement.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 27517
diff changeset
36 For example:
37f9eb2c05e0 doc: improve format() docstring and NEWS announcement.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 27517
diff changeset
37
27541
5e1f2f1a7fcf NEWS: Yet more format changes for Markdown syntax.
Rik <rik@octave.org>
parents: 27539
diff changeset
38 format long e uppercase loose
27521
37f9eb2c05e0 doc: improve format() docstring and NEWS announcement.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 27517
diff changeset
39
27710
9fd8534d3607 legend.m: Code cleanup for cset c66467f74278.
Rik <rik@octave.org>
parents: 27708
diff changeset
40 Note, in the case of multiple competing format options the rightmost
9fd8534d3607 legend.m: Code cleanup for cset c66467f74278.
Rik <rik@octave.org>
parents: 27708
diff changeset
41 one is used, and, in case of an error, the previous format remains
27521
37f9eb2c05e0 doc: improve format() docstring and NEWS announcement.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 27517
diff changeset
42 unchanged.
37f9eb2c05e0 doc: improve format() docstring and NEWS announcement.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 27517
diff changeset
43
27517
85ad4689aa05 Add warning when non-scalar argument presented to ':' range operator.
Rik <rik@octave.org>
parents: 27491
diff changeset
44 - New warnings have been added about questionable uses of the colon ':'
85ad4689aa05 Add warning when non-scalar argument presented to ':' range operator.
Rik <rik@octave.org>
parents: 27491
diff changeset
45 range operator. Each has a new warning ID so that it can be disabled
85ad4689aa05 Add warning when non-scalar argument presented to ':' range operator.
Rik <rik@octave.org>
parents: 27491
diff changeset
46 if desired.
27539
207e0bc53cdd NEWS: More format changes for Markdown syntax.
Rik <rik@octave.org>
parents: 27538
diff changeset
47
27541
5e1f2f1a7fcf NEWS: Yet more format changes for Markdown syntax.
Rik <rik@octave.org>
parents: 27539
diff changeset
48 > `Octave:colon-complex-argument` : when any arg is complex
5e1f2f1a7fcf NEWS: Yet more format changes for Markdown syntax.
Rik <rik@octave.org>
parents: 27539
diff changeset
49 > `Octave:colon-nonscalar-argument` : when any arg is non-scalar
27521
37f9eb2c05e0 doc: improve format() docstring and NEWS announcement.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 27517
diff changeset
50
27537
7dc31256c5e4 Document that regexp* functions need UTF-8 encoded input (bug #35910).
Markus Mützel <markus.muetzel@gmx.de>
parents: 27522
diff changeset
51 - The `regexp` and related functions now correctly handle and *require*
7dc31256c5e4 Document that regexp* functions need UTF-8 encoded input (bug #35910).
Markus Mützel <markus.muetzel@gmx.de>
parents: 27522
diff changeset
52 strings in UTF-8 encoding. As with any other function that requires
7dc31256c5e4 Document that regexp* functions need UTF-8 encoded input (bug #35910).
Markus Mützel <markus.muetzel@gmx.de>
parents: 27522
diff changeset
53 strings to be encoded in Octave's native encoding, you can use
27539
207e0bc53cdd NEWS: More format changes for Markdown syntax.
Rik <rik@octave.org>
parents: 27538
diff changeset
54 `native2unicode` to convert from your preferred locale. For example,
27537
7dc31256c5e4 Document that regexp* functions need UTF-8 encoded input (bug #35910).
Markus Mützel <markus.muetzel@gmx.de>
parents: 27522
diff changeset
55 the copyright symbol in UTF-8 is `native2unicode (169, "latin1")`.
7dc31256c5e4 Document that regexp* functions need UTF-8 encoded input (bug #35910).
Markus Mützel <markus.muetzel@gmx.de>
parents: 27522
diff changeset
56
27832
8fd7d1d2a4ca Read startup files from XDG_CONFIG_HOME or LOCALAPPDATA (bug #36477).
Mike Miller <mtmiller@octave.org>
parents: 27822
diff changeset
57 - The startup file `octaverc` now can be located in the platform
8fd7d1d2a4ca Read startup files from XDG_CONFIG_HOME or LOCALAPPDATA (bug #36477).
Mike Miller <mtmiller@octave.org>
parents: 27822
diff changeset
58 dependent location for user local configuration files (e.g.
8fd7d1d2a4ca Read startup files from XDG_CONFIG_HOME or LOCALAPPDATA (bug #36477).
Mike Miller <mtmiller@octave.org>
parents: 27822
diff changeset
59 ${XDG_CONFIG_HOME}/octave/octaverc on Unix-like operating systems or
8fd7d1d2a4ca Read startup files from XDG_CONFIG_HOME or LOCALAPPDATA (bug #36477).
Mike Miller <mtmiller@octave.org>
parents: 27822
diff changeset
60 %LOCALAPPDATA%\octave\octaverc on Windows).
8fd7d1d2a4ca Read startup files from XDG_CONFIG_HOME or LOCALAPPDATA (bug #36477).
Mike Miller <mtmiller@octave.org>
parents: 27822
diff changeset
61
26840
c32c825ee021 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26835
diff changeset
62 #### Graphics backend
26244
58b3107a00bc Update documentation for movXXX functions (bug #48774).
Juan Pablo Carbajal <ajuanpi+dev@gmail.com>
parents: 26231
diff changeset
63
27811
392c03df4565 NEWS: Update for 6.1 release.
Rik <rik@octave.org>
parents: 27759
diff changeset
64 - The `legend` function has been entirely rewritten. This fixes a
27710
9fd8534d3607 legend.m: Code cleanup for cset c66467f74278.
Rik <rik@octave.org>
parents: 27708
diff changeset
65 number of historical bugs, but also implements new properties such as
9fd8534d3607 legend.m: Code cleanup for cset c66467f74278.
Rik <rik@octave.org>
parents: 27708
diff changeset
66 `"AutoUpdate"` and `"NumColumns"`. The gnuplot toolkit---which is no
9fd8534d3607 legend.m: Code cleanup for cset c66467f74278.
Rik <rik@octave.org>
parents: 27708
diff changeset
67 longer actively maintained---still uses the old legend function.
27708
c66467f74278 Rewrite legend (task #14243)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 27670
diff changeset
68
27811
392c03df4565 NEWS: Update for 6.1 release.
Rik <rik@octave.org>
parents: 27759
diff changeset
69 - The `axis` function was updated which resolved 10 bugs affecting
392c03df4565 NEWS: Update for 6.1 release.
Rik <rik@octave.org>
parents: 27759
diff changeset
70 axes to which `"equal"` had been applied.
392c03df4565 NEWS: Update for 6.1 release.
Rik <rik@octave.org>
parents: 27759
diff changeset
71
26840
c32c825ee021 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26835
diff changeset
72 - Graphic primitives now accept a color property value of `"none"`
c32c825ee021 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26835
diff changeset
73 which is useful when a particular primitive needs to be hidden
c32c825ee021 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26835
diff changeset
74 (for example, the Y-axis of an axes object with `"ycolor" = "none"`)
c32c825ee021 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26835
diff changeset
75 without hiding the entire primitive `"visibility" = "off"`.
26231
c36b6e371f5d isdefinite.m: Return only true or false, not -1, 0, +1 (bug #51270).
Rik <rik@octave.org>
parents: 26220
diff changeset
76
26858
0adb232f93b9 Implement axes and text "fontsmoothing" property (bug #55833).
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 26840
diff changeset
77 - A new property `"FontSmoothing"` has been added to text and axes
0adb232f93b9 Implement axes and text "fontsmoothing" property (bug #55833).
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 26840
diff changeset
78 objects that controls whether anti-aliasing is used during the
27539
207e0bc53cdd NEWS: More format changes for Markdown syntax.
Rik <rik@octave.org>
parents: 27538
diff changeset
79 rendering of characters. The default is `"on"` which produces smooth,
26915
5ef01ab5c9e5 edit.m: unset HOME directory by default (bug #41278)
Mike Miller <mtmiller@octave.org>
parents: 26858
diff changeset
80 more visually appealing text.
24927
c280560d9c96 Overhaul special functions modified by GSOC2018 project.
Rik <rik@octave.org>
parents: 24909
diff changeset
81
27125
d2d2f66e1cdc Implement figure "windowscrollwheelfcn" property for Qt toolkit (bug #56028).
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 27115
diff changeset
82 - The figure property `"windowscrollwheelfcn"`is now implemented.
27539
207e0bc53cdd NEWS: More format changes for Markdown syntax.
Rik <rik@octave.org>
parents: 27538
diff changeset
83 This makes it possible to provide a callback function to be executed
207e0bc53cdd NEWS: More format changes for Markdown syntax.
Rik <rik@octave.org>
parents: 27538
diff changeset
84 when users manipulate the mouse wheel on a given figure.
27125
d2d2f66e1cdc Implement figure "windowscrollwheelfcn" property for Qt toolkit (bug #56028).
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 27115
diff changeset
85
d2d2f66e1cdc Implement figure "windowscrollwheelfcn" property for Qt toolkit (bug #56028).
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 27115
diff changeset
86 - The figure properties `"pointer"`, `"pointershapecdata"`, and
27114
ecd36fa98a31 NEWS: Add note about implementation of pointerXXX graphic properties.
Rik <rik@octave.org>
parents: 27082
diff changeset
87 `"pointershapehotspot"` are now implemented. This makes it possible
ecd36fa98a31 NEWS: Add note about implementation of pointerXXX graphic properties.
Rik <rik@octave.org>
parents: 27082
diff changeset
88 to change the shape of the cursor (pointer in Matlab-speak) displayed
ecd36fa98a31 NEWS: Add note about implementation of pointerXXX graphic properties.
Rik <rik@octave.org>
parents: 27082
diff changeset
89 in a plot window.
ecd36fa98a31 NEWS: Add note about implementation of pointerXXX graphic properties.
Rik <rik@octave.org>
parents: 27082
diff changeset
90
27432
1e79d913baaa Change default figure property "paperpositionmode" to "auto" (bug #56916).
Rik <rik@octave.org>
parents: 27426
diff changeset
91 - The figure property `"paperpositionmode"` now has the default `"auto"`
1e79d913baaa Change default figure property "paperpositionmode" to "auto" (bug #56916).
Rik <rik@octave.org>
parents: 27426
diff changeset
92 rather than `"manual"`. This change is more intuitive and is
1e79d913baaa Change default figure property "paperpositionmode" to "auto" (bug #56916).
Rik <rik@octave.org>
parents: 27426
diff changeset
93 Matlab compatible.
1e79d913baaa Change default figure property "paperpositionmode" to "auto" (bug #56916).
Rik <rik@octave.org>
parents: 27426
diff changeset
94
26840
c32c825ee021 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26835
diff changeset
95 - The appearance of patterned lines `"LineStyle" = ":"|"--"|"-."` has
c32c825ee021 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26835
diff changeset
96 been improved for small widths (`"LineWidth"` less than 1.5 pixels)
c32c825ee021 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26835
diff changeset
97 which is a common scenario.
26126
f6f16b842d5d NEWS: Announce change to intmin, intmax, flintmax to accept a variable as input.
Rik <rik@octave.org>
parents: 26125
diff changeset
98
26840
c32c825ee021 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26835
diff changeset
99 - Printing to EPS files now uses a tight bounding box (`"-tight"`
c32c825ee021 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26835
diff changeset
100 argument to print) by default. This makes more sense for EPS
c32c825ee021 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26835
diff changeset
101 files which are normally embedded within other documents, and is
c32c825ee021 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26835
diff changeset
102 Matlab compatible. If necessary use the `"-loose"` option to
c32c825ee021 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26835
diff changeset
103 reproduce figures as they appeared in previous versions of Octave.
26126
f6f16b842d5d NEWS: Announce change to intmin, intmax, flintmax to accept a variable as input.
Rik <rik@octave.org>
parents: 26125
diff changeset
104
27114
ecd36fa98a31 NEWS: Add note about implementation of pointerXXX graphic properties.
Rik <rik@octave.org>
parents: 27082
diff changeset
105 - The following print devices are no longer officially supported: cdr,
ecd36fa98a31 NEWS: Add note about implementation of pointerXXX graphic properties.
Rik <rik@octave.org>
parents: 27082
diff changeset
106 corel, aifm, ill, cgm, hpgl, mf and dxf. A warning will be thrown
ecd36fa98a31 NEWS: Add note about implementation of pointerXXX graphic properties.
Rik <rik@octave.org>
parents: 27082
diff changeset
107 when using those devices, and the code for supporting those formats
ecd36fa98a31 NEWS: Add note about implementation of pointerXXX graphic properties.
Rik <rik@octave.org>
parents: 27082
diff changeset
108 will eventually be removed from a future version of Octave.
26838
b00bd9afbed3 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26798
diff changeset
109
b00bd9afbed3 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26798
diff changeset
110 ### Matlab compatibility
24524
a56d283ff18a Honor "interruptible" for property listeners (bug #52804).
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 24523
diff changeset
111
27226
6eb32f0aea87 Implement "legacy" flag for intersect function (bug #56592).
Rik <rik@octave.org>
parents: 27145
diff changeset
112 - The function `unique` now returns column index vectors for the second
6eb32f0aea87 Implement "legacy" flag for intersect function (bug #56592).
Rik <rik@octave.org>
parents: 27145
diff changeset
113 and third outputs. When duplicate values are present, the default
6eb32f0aea87 Implement "legacy" flag for intersect function (bug #56592).
Rik <rik@octave.org>
parents: 27145
diff changeset
114 index to return is now the `"first"` occurrence. The previous Octave
6eb32f0aea87 Implement "legacy" flag for intersect function (bug #56592).
Rik <rik@octave.org>
parents: 27145
diff changeset
115 behavior, or Matlab behavior from releases prior to R2012b, can be
6eb32f0aea87 Implement "legacy" flag for intersect function (bug #56592).
Rik <rik@octave.org>
parents: 27145
diff changeset
116 obtained by using the `"legacy"` flag.
6eb32f0aea87 Implement "legacy" flag for intersect function (bug #56592).
Rik <rik@octave.org>
parents: 27145
diff changeset
117
27237
67e5e997a3bf setdiff.m: Accept a "legacy" flag for Matlab compatibility.
Rik <rik@octave.org>
parents: 27232
diff changeset
118 - The function `setdiff` with the `"rows"` argument now returns Matlab
67e5e997a3bf setdiff.m: Accept a "legacy" flag for Matlab compatibility.
Rik <rik@octave.org>
parents: 27232
diff changeset
119 compatible results. The previous Octave behavior, or Matlab behavior
67e5e997a3bf setdiff.m: Accept a "legacy" flag for Matlab compatibility.
Rik <rik@octave.org>
parents: 27232
diff changeset
120 from releases prior to R2012b, can be obtained by using the `"legacy"`
67e5e997a3bf setdiff.m: Accept a "legacy" flag for Matlab compatibility.
Rik <rik@octave.org>
parents: 27232
diff changeset
121 flag.
67e5e997a3bf setdiff.m: Accept a "legacy" flag for Matlab compatibility.
Rik <rik@octave.org>
parents: 27232
diff changeset
122
27291
c4f9a0f097a3 unique.m: Add new option "stable" to control output ordering.
Rik <rik@octave.org>
parents: 27274
diff changeset
123 - The functions `intersect`, `setxor`, and `union` now accept a
c4f9a0f097a3 unique.m: Add new option "stable" to control output ordering.
Rik <rik@octave.org>
parents: 27274
diff changeset
124 `"legacy"` flag which changes the index values (second and third
c4f9a0f097a3 unique.m: Add new option "stable" to control output ordering.
Rik <rik@octave.org>
parents: 27274
diff changeset
125 outputs) as well as the orientation of all outputs to match Matlab
c4f9a0f097a3 unique.m: Add new option "stable" to control output ordering.
Rik <rik@octave.org>
parents: 27274
diff changeset
126 releases prior to R2012b.
27229
255f2681d224 intersect.m: Accept a "legacy" flag for Matlab compatibility.
Rik <rik@octave.org>
parents: 27226
diff changeset
127
26840
c32c825ee021 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26835
diff changeset
128 - The interpreter now supports handles to nested functions.
26341
0990e4093c25 legend.m: Deprecate numeric arguments for position.
Rik <rik@octave.org>
parents: 26324
diff changeset
129
26840
c32c825ee021 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26835
diff changeset
130 - The graphics properties `"LineWidth"` and `"MarkerSize"` are now
c32c825ee021 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26835
diff changeset
131 measured in points, *not* pixels. Compared to previous versions
c32c825ee021 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26835
diff changeset
132 of Octave, some lines and markers will appear 4/3 larger.
26175
6e1a800dd365 eliminate brace and variable expansion in PATH search code
John W. Eaton <jwe@octave.org>
parents: 26173
diff changeset
133
27419
40fc49d73ce2 Rename meta.class property to "SuperclassList" for Matlab compatibility (bug #55476).
Rik <rik@octave.org>
parents: 27295
diff changeset
134 - The meta.class property "SuperClassList" has been renamed
40fc49d73ce2 Rename meta.class property to "SuperclassList" for Matlab compatibility (bug #55476).
Rik <rik@octave.org>
parents: 27295
diff changeset
135 "Superclasslist" for Matlab compatibility. The original name will
40fc49d73ce2 Rename meta.class property to "SuperclassList" for Matlab compatibility (bug #55476).
Rik <rik@octave.org>
parents: 27295
diff changeset
136 exist as an alias until Octave version 8.1.
26838
b00bd9afbed3 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26798
diff changeset
137
27817
78435ddc9f88 Implement new function "gui_mainfcn" for Matlab compatibility (bug #44282).
Guillaume Flandin
parents: 27811
diff changeset
138 - An undocumented function `gui_mainfcn` has been added, for compatibility
78435ddc9f88 Implement new function "gui_mainfcn" for Matlab compatibility (bug #44282).
Guillaume Flandin
parents: 27811
diff changeset
139 with figures created with Matlab's Guide.
78435ddc9f88 Implement new function "gui_mainfcn" for Matlab compatibility (bug #44282).
Guillaume Flandin
parents: 27811
diff changeset
140
27141
f26b13c80e45 Implement new function "newline" for Matlab compatibility (bug #56419).
Guillaume Flandin <guillaume.offline@gmail.com>
parents: 27125
diff changeset
141 ### Alphabetical list of new functions added in Octave 6
f26b13c80e45 Implement new function "newline" for Matlab compatibility (bug #56419).
Guillaume Flandin <guillaume.offline@gmail.com>
parents: 27125
diff changeset
142
27670
a780677b845c NEWS: add commandwindow, filebrowser, commandhistory and workspace functions (bug #57213)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 27623
diff changeset
143 * `commandhistory`
a780677b845c NEWS: add commandwindow, filebrowser, commandhistory and workspace functions (bug #57213)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 27623
diff changeset
144 * `commandwindow`
a780677b845c NEWS: add commandwindow, filebrowser, commandhistory and workspace functions (bug #57213)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 27623
diff changeset
145 * `filebrowser`
27571
24618a510749 Polish implementation of is_same_file().
Rik <rik@octave.org>
parents: 27541
diff changeset
146 * `is_same_file`
27539
207e0bc53cdd NEWS: More format changes for Markdown syntax.
Rik <rik@octave.org>
parents: 27538
diff changeset
147 * `lightangle`
207e0bc53cdd NEWS: More format changes for Markdown syntax.
Rik <rik@octave.org>
parents: 27538
diff changeset
148 * `namedargs2cell`
207e0bc53cdd NEWS: More format changes for Markdown syntax.
Rik <rik@octave.org>
parents: 27538
diff changeset
149 * `newline`
27756
bd40796683d8 rescale.m: New function (bug #56639).
Christian Himpe <christian.himpe@wwu.de>
parents: 27710
diff changeset
150 * `rescale`
27539
207e0bc53cdd NEWS: More format changes for Markdown syntax.
Rik <rik@octave.org>
parents: 27538
diff changeset
151 * `rotx`
207e0bc53cdd NEWS: More format changes for Markdown syntax.
Rik <rik@octave.org>
parents: 27538
diff changeset
152 * `roty`
207e0bc53cdd NEWS: More format changes for Markdown syntax.
Rik <rik@octave.org>
parents: 27538
diff changeset
153 * `rotz`
27759
992e702ef0d7 Add stream* functions (patch #9859).
Markus Meisinger <chloros2@gmx.de>
parents: 27756
diff changeset
154 * `stream2`
992e702ef0d7 Add stream* functions (patch #9859).
Markus Meisinger <chloros2@gmx.de>
parents: 27756
diff changeset
155 * `stream3`
992e702ef0d7 Add stream* functions (patch #9859).
Markus Meisinger <chloros2@gmx.de>
parents: 27756
diff changeset
156 * `streamline`
992e702ef0d7 Add stream* functions (patch #9859).
Markus Meisinger <chloros2@gmx.de>
parents: 27756
diff changeset
157 * `streamtube`
27623
698c8b08fe8c New function uisetfont (bug #57130).
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 27571
diff changeset
158 * `uisetfont`
27539
207e0bc53cdd NEWS: More format changes for Markdown syntax.
Rik <rik@octave.org>
parents: 27538
diff changeset
159 * `verLessThan`
207e0bc53cdd NEWS: More format changes for Markdown syntax.
Rik <rik@octave.org>
parents: 27538
diff changeset
160 * `web`
207e0bc53cdd NEWS: More format changes for Markdown syntax.
Rik <rik@octave.org>
parents: 27538
diff changeset
161 * `weboptions`
207e0bc53cdd NEWS: More format changes for Markdown syntax.
Rik <rik@octave.org>
parents: 27538
diff changeset
162 * `webread`
207e0bc53cdd NEWS: More format changes for Markdown syntax.
Rik <rik@octave.org>
parents: 27538
diff changeset
163 * `webwrite`
27670
a780677b845c NEWS: add commandwindow, filebrowser, commandhistory and workspace functions (bug #57213)
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 27623
diff changeset
164 * `workspace`
27141
f26b13c80e45 Implement new function "newline" for Matlab compatibility (bug #56419).
Guillaume Flandin <guillaume.offline@gmail.com>
parents: 27125
diff changeset
165
f26b13c80e45 Implement new function "newline" for Matlab compatibility (bug #56419).
Guillaume Flandin <guillaume.offline@gmail.com>
parents: 27125
diff changeset
166
26838
b00bd9afbed3 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26798
diff changeset
167 ### Deprecated functions and properties
22586
d0e972e74851 maint: merge stable to default.
Carnë Draug <carandraug@octave.org>
parents: 22573
diff changeset
168
26840
c32c825ee021 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26835
diff changeset
169 The following functions and properties have been deprecated in Octave 6
27114
ecd36fa98a31 NEWS: Add note about implementation of pointerXXX graphic properties.
Rik <rik@octave.org>
parents: 27082
diff changeset
170 and will be removed from Octave 8 (or whatever version is the second
ecd36fa98a31 NEWS: Add note about implementation of pointerXXX graphic properties.
Rik <rik@octave.org>
parents: 27082
diff changeset
171 major release after 6):
22613
edd04ce99891 Remove functions deprecated in version 4.0.
Rik <rik@octave.org>
parents: 22586
diff changeset
172
26838
b00bd9afbed3 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26798
diff changeset
173 - 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
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 Function | Replacement
b00bd9afbed3 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26798
diff changeset
176 -----------------------|------------------
27115
8a04f5454350 Deprecate 'runtests' function (bug #56325).
Rik <rik@octave.org>
parents: 27114
diff changeset
177 `runtests` | `oruntests`
22613
edd04ce99891 Remove functions deprecated in version 4.0.
Rik <rik@octave.org>
parents: 22586
diff changeset
178
26838
b00bd9afbed3 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26798
diff changeset
179 - Properties
20484
c8ec0b72b7a6 Deprecate wavread and wavwrite.
Rik <rik@octave.org>
parents: 20466
diff changeset
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 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
182 -----------------|---------------|------------
c32c825ee021 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26835
diff changeset
183 | |
20484
c8ec0b72b7a6 Deprecate wavread and wavwrite.
Rik <rik@octave.org>
parents: 20466
diff changeset
184
19398
9e5b64b3c1fe Fix up documentation for new disable_[range,diagonal_matrix,permutation_matrix] fcns.
Rik <rik@octave.org>
parents: 19386
diff changeset
185
26840
c32c825ee021 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26835
diff changeset
186 ### 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
187
c32c825ee021 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26835
diff changeset
188 The following functions and properties were deprecated in Octave 4.4
c32c825ee021 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26835
diff changeset
189 and have been removed from Octave 6.
c32c825ee021 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26835
diff changeset
190
c32c825ee021 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26835
diff changeset
191 - Functions
c32c825ee021 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26835
diff changeset
192
c32c825ee021 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26835
diff changeset
193 Function | Replacement
c32c825ee021 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26835
diff changeset
194 ---------------------|------------------
c32c825ee021 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26835
diff changeset
195 `chop` | `sprintf` for visual results
c32c825ee021 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26835
diff changeset
196 `desktop` | `isguirunning`
c32c825ee021 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26835
diff changeset
197 `tmpnam` | `tempname`
c32c825ee021 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26835
diff changeset
198 `toascii` | `double`
c32c825ee021 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26835
diff changeset
199 `java2mat` | `__java2mat__`
19122
c43223245085 doc: Add warnings about eventual removal of inline functions.
Rik <rik@octave.org>
parents: 19119
diff changeset
200
26840
c32c825ee021 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26835
diff changeset
201 - Properties
18606
0ede4dbb37f1 Overhaul interp1, interp2, interp3 functions.
Rik <rik@octave.org>
parents: 18580
diff changeset
202
26840
c32c825ee021 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26835
diff changeset
203 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
204 ---------------------|---------------------------|-----------------------
27822
78c171fe48fc Remove deprecated graphic property "interpreter" from line, patch, surface objects.
Rik <rik@octave.org>
parents: 27817
diff changeset
205 `annotation` | `edgecolor ("rectangle")` |
78c171fe48fc Remove deprecated graphic property "interpreter" from line, patch, surface objects.
Rik <rik@octave.org>
parents: 27817
diff changeset
206 `axes` | `drawmode` |
26840
c32c825ee021 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26835
diff changeset
207 `figure` | `doublebuffer` |
c32c825ee021 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26835
diff changeset
208 | `mincolormap` |
c32c825ee021 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26835
diff changeset
209 | `wvisual` |
c32c825ee021 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26835
diff changeset
210 | `wvisualmode` |
c32c825ee021 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26835
diff changeset
211 | `xdisplay` |
c32c825ee021 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26835
diff changeset
212 | `xvisual` |
c32c825ee021 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26835
diff changeset
213 | `xvisualmode` |
27822
78c171fe48fc Remove deprecated graphic property "interpreter" from line, patch, surface objects.
Rik <rik@octave.org>
parents: 27817
diff changeset
214 `line` | `interpreter` |
78c171fe48fc Remove deprecated graphic property "interpreter" from line, patch, surface objects.
Rik <rik@octave.org>
parents: 27817
diff changeset
215 `patch` | `interpreter` |
78c171fe48fc Remove deprecated graphic property "interpreter" from line, patch, surface objects.
Rik <rik@octave.org>
parents: 27817
diff changeset
216 `surface` | `interpreter` |
26840
c32c825ee021 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26835
diff changeset
217 `text` | `fontweight` | `"demi"` and `"light"`
27822
78c171fe48fc Remove deprecated graphic property "interpreter" from line, patch, surface objects.
Rik <rik@octave.org>
parents: 27817
diff changeset
218 `uibuttongroup` | `fontweight` | `"demi"` and `"light"`
26840
c32c825ee021 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26835
diff changeset
219 `uicontrol` | `fontweight` | `"demi"` and `"light"`
c32c825ee021 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26835
diff changeset
220 `uipanel` | `fontweight` | `"demi"` and `"light"`
c32c825ee021 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26835
diff changeset
221 `uitable` | `fontweight` | `"demi"` and `"light"`
9352
b59cc3252a51 NEWS update
Jaroslav Hajek <highegg@gmail.com>
parents: 9215
diff changeset
222
26840
c32c825ee021 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26835
diff changeset
223
26838
b00bd9afbed3 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26798
diff changeset
224 ### Old release news
19965
d20dd211cc89 Enable float truncation by default for octave builds.
Rik <rik@octave.org>
parents: 19958
diff changeset
225
26840
c32c825ee021 doc: Use Markdown syntax for NEWS file and add sections.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 26835
diff changeset
226 - [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
227 - [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
228 - [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
229 - [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
230 - [Octave 1.x](etc/NEWS.1)