# HG changeset patch # User Rik # Date 1550365281 28800 # Node ID 57702c4e37d9db94fe4e190d2dc240f4e05ab2d9 # Parent f85d491d232270ccb5fad8cf015d7a1bb5050e7f# Parent 3a10bdbe6839a5548e0d44bf640f93f001f46405 maint: merge stable to default. diff -r f85d491d2322 -r 57702c4e37d9 NEWS diff -r f85d491d2322 -r 57702c4e37d9 etc/NEWS.5 --- 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. diff -r f85d491d2322 -r 57702c4e37d9 libgui/src/variable-editor.cc --- 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")); diff -r f85d491d2322 -r 57702c4e37d9 scripts/help/__makeinfo__.m --- 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); diff -r f85d491d2322 -r 57702c4e37d9 scripts/plot/util/print.m --- 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: diff -r f85d491d2322 -r 57702c4e37d9 scripts/plot/util/private/__print_parse_opts__.m --- 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 ())