Mercurial > octave
view NEWS @ 28132:4cfe24f56336
add editor prefs for forcing coding standards (bug #57860, bug #57861)
* gui-preferences-ed.h: add new editor preferences for removing trailing
spaces and forcing a newline at end of the file when saving the file.
* file-editor-tab.cc (eol_string): new method for determining the
current end of line string;
(do_save_file): depending on the user preferences, rmove trailing
spaces and/or add a newline at the end before saving the file
* file-editor-tab.h: new private method eol_string
* settings-dialog.cc (settings_dialog): initialize new check boxes for
handling trailing spaces and newline at end of file with prefs from
the settings file;
(write_changed_settings): write checked states of new check boxes
into the settings file
* settings-dialog.ui: new check boxes for handling trailing spaces and
newline at end of file
author | Torsten Lilge <ttl-octave@mailbox.org> |
---|---|
date | Sat, 22 Feb 2020 17:03:01 +0100 |
parents | 42892c93bd25 |
children | 7818c5b07403 |
line wrap: on
line source
Summary of important user-visible changes for version 7 (yyyy-mm-dd): ---------------------------------------------------------------------- ### General improvements - Many functions in Octave can be called in a command form---no parentheses for invocation and no return argument assignment---or in a functional form---parentheses and '=' for assignment of return values. Command Form Example `mkdir new_directory` Function Form Example `status = mkdir ("new_directory")` Octave now handles errors that occur in a consistent manner. If called in command form and there is a failure, an error is thrown and a message printed. If called in functional form, no error or message is printed and the failure is communicated to the programmer via the output status variable. The following list of functions have been modified. * `copyfile` * `fcntl` * `fileattrib` * `kill` * `link` * `mkfifo` * `movefile` * `rename` * `rmdir` * `symlink` * `unlink` ### Graphics backend - Support for Qt4 for graphics and the GUI has been removed. ### Matlab compatibility ### Alphabetical list of new functions added in Octave 7 * `rng` ### Deprecated functions and properties The following functions and properties have been deprecated in Octave 7 and will be removed from Octave 9 (or whatever version is the second major release after 7): - Functions Function | Replacement -----------------------|------------------ | - Properties Object | Property | Value -----------------|---------------|------------ | | ### Removed functions and properties The following functions and properties were deprecated in Octave 5 and have been removed from Octave 7. - Functions Function | Replacement -------------------------|------------------ `output_max_field_width` | `output_precision` `is_keyword` | `iskeyword` - Properties Object | Property | Value -----------------|---------------|------------ `text` | `fontangle` | `"oblique"` `uibuttongroup` | `fontangle` | `"oblique"` `uicontrol` | `fontangle` | `"oblique"` `uipanel` | `fontangle` | `"oblique"` `uitable` | `fontangle` | `"oblique"` ### Old release news - [Octave 6.x](etc/NEWS.6) - [Octave 5.x](etc/NEWS.5) - [Octave 4.x](etc/NEWS.4) - [Octave 3.x](etc/NEWS.3) - [Octave 2.x](etc/NEWS.2) - [Octave 1.x](etc/NEWS.1)