Subject: CVS commit: pkgsrc/math/octave
From: Adam Ciarcinski
Date: 2022-10-24 20:02:19
Message id: 20221024180219.4B07DFA90@cvs.NetBSD.org

Log Message:
octave: updated to 7.2.0

Summary of bugs fixed for version 7.2.0 (2022-07-28):
----------------------------------------------------

For

Improvements and fixes

- Avoid out-of-bounds indexing when checking for broadcastable inplace operators
- `hdl2struct.m`: Fix saving of `uibuttongroups`
- Fix `ls` with glob patterns on Windows
- `pkg.m`: Create directory before saving file
- `nchoosek.m`: Fix freeze-up for certain integer inputs
- `nchoosek.m`: Restore fast path code for floating point inputs
- `betainc.m`: Use sophisticated technique for calculating exponents to avoid \ 
inaccuracies
- `ls.m`: Fix handling of `\` on UNIX platforms
- `findobj.m`: Fix input validation of graphics handles
- `newplot.m`: Backed out changeset fdd58773ac02
- `__print_parse_opts__.m`: Initialize variables in all cases for print warnings
- `__wglob__`: Correctly handle `.` and `..` in patterns on Windows
- `datenum.m`: Correctly handle arrays with leading singleton dimensions
- Stop incorrect error when `reset()` called on `uimenu` handle
- Emit more informative error message on empty input when setting axis limits
- `msgbox.m`: Allow "custom" `cdata` for icon
- Fix memory leak with nested functions and anonymous functions
- `__wglob__`: Retain trailing file separator on Windows
- `pkg`: Avoid error when unlinking non-existent files
- `mkoctfile.m`: Trim whitespace (newline) around system output.
- `subplot.m`: Avoid error when mixing `rcn` and `"position"` calling form
- `plot`: Deprecate using numbers to select line colors
- Don't shut down interpreter immediately on `execute`
- `isprime.m` and `__isprimelarge__.cc`: Minor performance tweaks.
- `__wglob__`: Handle patterns with UNC paths on Windows
- Change wording of error message when using a variable as function
- `inputParser.m`: Adapt for interpreter changes regarding number of output arguments
- Store token ID, not keyword ID when parsing keywords
- `canonicalize_file_name`: Do not translate mapped network drive to UNC path
- `inputParser`: Correctly handle cell default values for optional parameters
- `factor.m`: Performance tweak to avoid division in certain cases.
- Fix regression with `\color[rgb]` TeX pattern
- `regexp`: Check pattern length before accessing it
- `pkg.m`: Create `PREFIX` and `ARCHPREFIX` directories
- `pkg`: Replace `OCTAVE_HOME` in `PREFIX` and `ARCHPREFIX` independently
- `randmtzig.cc`: Add missing `#include <ctime>`
- `pkg`: Fix formatting of `copyfile` message
- `pkg`: Escape special characters in `OCTAVE_HOME` for `regexprep`

GUI

- Fix removing trailing spaces on closing a modified file
- Replace use of deprecated `QDesktopWidget` in GUI.
- Fix display in Variable Editor when `fixed_point_format` is on
- Fix file length when saving shorter content in editor

Build system / Tests

- `addpref.m`: Recode test to work with multiple running instances of Octave.
- Don't leak build directories in installed directories
- Import `hash-buffer` modules from gnulib
- Remove `.dirstamp` files from `test/` directory with `maintainer-clean` target.
- Add tests for `__FILE__` and `__LINE__`

Documentation

- `datestr.m`: Fix minor typo.
- `ls.m`: Improve wording in docstring
- `dir.m`: Clarify wildcard behavior on Windows in docstring
- `memory.m`: Redo documentation to be formatted correctly in Info output.
- Document contracted `format` arguments
- `humps.m`: Fix mismatch between TeX docstring and non-TeX docstring.
- `warning_ids.m`: Add new warning ID `"Octave:deprecated-option"`.
- `primes.m`: Move code examples before math theory.
- `primes.m`: Mark variables in docstring with `@var{}` macro.
- Rewrite section on automatic type conversions
- `subsasgn`: Correct example code

Files:
RevisionActionfile
1.233modifypkgsrc/math/octave/Makefile
1.38modifypkgsrc/math/octave/PLIST
1.65modifypkgsrc/math/octave/distinfo
1.5modifypkgsrc/math/octave/patches/patch-libgnu_stdio.in.h
1.5modifypkgsrc/math/octave/patches/patch-libinterp_dldfcn_config-module.awk
1.5modifypkgsrc/math/octave/patches/patch-libinterp_dldfcn_module.mk
1.5modifypkgsrc/math/octave/patches/patch-m4_acinclude.m4
1.2modifypkgsrc/math/octave/patches/patch-scripts_miscellaneous_unpack.m
1.2modifypkgsrc/math/octave/patches/patch-scripts_pkg_private_configure__make.m
1.1addpkgsrc/math/octave/patches/patch-Makefile.in