Subject: CVS commit: pkgsrc/math/octave
From: Adam Ciarcinski
Date: 2024-06-08 09:10:22
Message id: 20240608071022.7563DFC74@cvs.NetBSD.org

Log Message:
octave: updated to 9.2.0

Summary of bugs fixed for version 9.2.0 (2024-06-01):

Improvements and fixes

- `hist.m`: Add input validation for `Y` restricting it to 2-D array.
   Avoid error when `Y` value range is very small.
- `cross.m`: Add input validation for `dim` restricting it to a numeric
  integer valued scalar.
- `getframe.m`: Respect pixel ratio (high DPI) of screen with figure.
- `legend.m`: Fix error if root property `"showhiddenhandles"` is \ 
`"on"`
- `savepath.m`: Correctly handle packages without binaries.
- Correctly scale figure position on screen with DPI scaling (high DPI).
- `profile ('on')` now clears any existing profile data as the documentation
  states.
- Fix segmentation fault when trying to set breakpoint in non-existent method
  of `classdef` class.
- Improve default display of `classdef` properties.
- Avoid crash with Qt6 6.7.0.
- `bar.m`: Catch input number validation error.
- Prevent OOM crash or segmentation fault in `sort ()` when `dim` equals `Inf`.
- `legend.m`: Avoid setting more colors than coordinates for `patch` objects.
- `inputParser.m`: Allow default classdef objects which overload `struct`.
- Preserve `"position"` property of figure when object is `reset()`.
- `hist.m`: Avoid error when `y` value range is very small.
- `barh`: Add input validation check for `nargin < 1`.

GUI

- Use first word for options in right-click menu of command window widget
 .
- Set `DontUseNativeDialog` flag as first property in `QFileDialog`.
- Explicitly raise non-modal message boxes ensuring visibility.
- Save and restore splitter state of documentation widget.
- Allow executing new files from built-in editor with F5.
- Allow unbinding GUI shortcuts.
- Fix restoring headers in file browser and workspace view.
- File dialogs of the built-in editor are now modal.
- Fix dragging editor from main window into floating state.

Build system / Tests

- Avoid overriding `save_*` variables from outer scope.
  This fixes an error that might have lead to overlinking of shared libraries
  (e.g., `.oct` files). Consider rebuilding shared libraries that have been
  built with Octave 9.1.0.
- Add BIST for `is_valid_file_id.m`.
- Update metainfo.xml with new fields for AppStream 1.0.
- Show result of check for `std::pmr::polymorphic_allocator` in configure
  summary.
- Run test program for polymorphic allocators if possible instead of a simple
  build check.
- Speed up BIST for the central part of `convn` with `'full'` shape.
- Require Qt Widgets module when building the GUI.
- `bug-53027.tst`: Delete temporary file after test is done.
- Avoid build error with GCC 14 when targeting Windows.
- Try to clean up after BIST also in case test failed.
- `bar.m`, `barh.m`: Add plotting BISTs.
- Check if C and Fortran compilers accept `-fexceptions` flag.
  This affects building Octave itself from sources and also how .mex or .oct
  files are built by `mex` and `mkoctfile`.

Documentation

- Describe shape of outputs for `hist`.
- Simplify programming notes for `patch` objects.
- `vecnorm.m`: Add missing parenthesis to equation in docstring.
- Add example to Minimizers section on using anonymous functions to pass
  additional arguments to functions called by minimizer functions
  (`fminsearch`, `fminbnd`, `fminunc`).
- Add application notes in `fminsearch`, `fminbnd`, `fminunc` indicating the
  preferred way to pass parameters is through anonymous functions.
- Update remaining copyright statements to 2024.
- Minor fix for `setappdata.m`.
- Section "Assignment Expressions": Use `@emph` rather than `@i` macro for
  better rendering in plaintext formats.
- Section "Running Octave": Tell new users how to start Octave on their
  computers.
- `tsearch`: Add programming note about expected performance.

Deprecated functions, properties, and operators

- `fminsearch` parameter passing:  A legacy, undocumented, and only partially
  supported syntax for passing parameters to the minimized function `fcn`
  called by `fminsearch` by appending them to the input argument list has
  functioned intermittently since Octave 4.4.0.  Due to conflicts with other
  compatibility-required input methods the documentation of this syntax was
  removed in Octave 5.1.0, and the remaining functionality will be completely
  removed in Octave 10.  The preferred method of passing parameters to any of
  the minimization functions (including `fminsearch`, `fminbnd`, and `fminunc`)
  is through the use of anonymous functions.  Specific examples of this can be
  found in the "Minimizers" section of the GNU Octave manual.

Files:
RevisionActionfile
1.257modifypkgsrc/math/octave/Makefile
1.71modifypkgsrc/math/octave/distinfo
1.8modifypkgsrc/math/octave/patches/patch-configure.ac