Mercurial > octave
changeset 26738:57702c4e37d9
maint: merge stable to default.
author | Rik <rik@octave.org> |
---|---|
date | Sat, 16 Feb 2019 17:01:21 -0800 |
parents | f85d491d2322 (current diff) 3a10bdbe6839 (diff) |
children | 0c18acaa8b58 |
files | NEWS etc/NEWS.5 scripts/plot/util/print.m |
diffstat | 5 files changed, 8 insertions(+), 12 deletions(-) [+] |
line wrap: on
line diff
--- a/etc/NEWS.5 Fri Feb 15 08:29:56 2019 -0800 +++ b/etc/NEWS.5 Sat Feb 16 17:01:21 2019 -0800 @@ -158,12 +158,6 @@ ** A new printing device is available, -ddumb, which produces ASCII art for plots. This device is only available with the gnuplot toolkit. - ** Printing to EPS files now uses a tight bounding box ("-tight" - argument to print) by default. This makes more sense for EPS - files which are normally embedded within other documents, and is - Matlab compatible. If necessary use the "-loose" option to - reproduce figures as they appeared in previous versions of Octave. - ** Specifying legend position with a numeric argument is deprecated and will be removed in Octave 7.0. Use a string argument instead.
--- a/libgui/src/variable-editor.cc Fri Feb 15 08:29:56 2019 -0800 +++ b/libgui/src/variable-editor.cc Sat Feb 16 17:01:21 2019 -0800 @@ -1609,6 +1609,8 @@ QAction *action; action = add_tool_bar_button (resource_manager::icon ("document-save"), tr ("Save"), this, SLOT (save ())); + addAction (action); + action->setShortcutContext (Qt::WidgetWithChildrenShortcut); action->setShortcuts (QKeySequence::Save); action->setStatusTip(tr("Save variable to a file"));
--- a/scripts/help/__makeinfo__.m Fri Feb 15 08:29:56 2019 -0800 +++ b/scripts/help/__makeinfo__.m Sat Feb 16 17:01:21 2019 -0800 @@ -127,10 +127,10 @@ ## Take action depending on output type switch (lower (output_type)) case "plain text" - cmd = sprintf ("%s --no-headers --no-warn --force --no-validate --output=- %s", + cmd = sprintf ('%s --no-headers --no-warn --force --no-validate --output=- "%s"', makeinfo_program (), name); case "html" - cmd = sprintf ("%s --no-headers --html --no-warn --no-validate --force --output=- %s", + cmd = sprintf ('%s --no-headers --html --no-warn --no-validate --force --output=- "%s"', makeinfo_program (), name); otherwise error ("__makeinfo__: unsupported output type: '%s'", output_type);
--- a/scripts/plot/util/print.m Fri Feb 15 08:29:56 2019 -0800 +++ b/scripts/plot/util/print.m Sat Feb 16 17:01:21 2019 -0800 @@ -189,9 +189,9 @@ ## Octave interpreter from recognizing the embedded comma (','). For example, ## by writing @w{"-S640,480"}. ## -## @item -tight -## @itemx -loose -## Force a tight or loose bounding box for EPS files. The default is tight. +## @item -loose +## @itemx -tight +## Force a tight or loose bounding box for EPS files. The default is loose. ## ## @item -@var{preview} ## Add a preview to EPS files. Supported formats are:
--- a/scripts/plot/util/private/__print_parse_opts__.m Fri Feb 15 08:29:56 2019 -0800 +++ b/scripts/plot/util/private/__print_parse_opts__.m Sat Feb 16 17:01:21 2019 -0800 @@ -64,7 +64,7 @@ arg_st.special_flag = "textnormal"; arg_st.svgconvert = false; arg_st.svgconvert_binary = __quote_path__ (__svgconv_binary__ ()); - arg_st.tight = true; + arg_st.tight = false; arg_st.use_color = 0; # 0=default, -1=mono, +1=color if (isunix ())