--- - branch: MAIN date: Wed May 31 21:37:51 UTC 2023 files: - new: '1.243' old: '1.242' path: pkgsrc/math/octave/Makefile pathrev: pkgsrc/math/octave/Makefile@1.243 type: modified - new: '1.40' old: '1.39' path: pkgsrc/math/octave/PLIST pathrev: pkgsrc/math/octave/PLIST@1.40 type: modified - new: '1.67' old: '1.66' path: pkgsrc/math/octave/distinfo pathrev: pkgsrc/math/octave/distinfo@1.67 type: modified - new: '1.2' old: '1.1' path: pkgsrc/math/octave/patches/patch-Makefile.in pathrev: pkgsrc/math/octave/patches/patch-Makefile.in@1.2 type: modified - new: '1.6' old: '1.5' path: pkgsrc/math/octave/patches/patch-m4_acinclude.m4 pathrev: pkgsrc/math/octave/patches/patch-m4_acinclude.m4@1.6 type: modified id: 20230531T213751Z.06dc128a9f999b651e4f963814fe54f65e753478 log: "octave: updated to 8.2.0\n\nSummary of bugs fixed for version 8.2.0 (2023-04-13):\n----------------------------------------------------\n\n### Improvements and fixes\n- `pr-output.cc`: Fix output for `format native-bit`\n- Fix evaluation of `&` and `|` expressions in conditional contexts (bug\n #63935).\n- Avoid clang warning about very unlikely buffer overflow.\n- `mpoles.m`: Overhaul function and use absolute tolerance for zero poles\n\n- `perms.m`: Change `\"unique\"` output order to reverse lexicographic to\n match non-unique order\n- Remove trailing `'\\r'` from curl dir list\n- `fopen`: Use \"UTF-8\" as default encoding for `fopen`\n- Don't use encoding facet when writing bytes to stream\n- `fopen`, `unicode2native`: Fix converting the encoding of short char\n arrays with invalid UTF-8\n- `fopen`: Try to gather complete UTF-8 surrogates when converting\n encoding\n- Fix display of scalar complex variables with mixed `Inf`/`NaN` and\n floating point values\n- `fopen`: Do not convert encoding for file streams with libc++\n\n### GUI\n- Speedup loading and saving preferences dialog\n\n### Build system / Tests\n- `inpolygon.m`: Fix demo code\n- `if.tst`: New test for bug #63935.\n- `acinclude.m4`: Correct typo in `#define PCRE2_CODE_UNIT_WIDTH`.\n- `lu`: Add self-test with complex valued input.\n- Disable visibility flags by default\n- Check whether using STL from LLVM or Apple\n\n### Documentation\n- Improve documentation for `linspace` and `logspace` functions.\n- Correct and improve documentation for `sparse()` function.\n\nSummary of important user-visible changes for version 8 (2023-03-07):\n--------------------------------------------------------------------\n\n### General improvements\n\n- Octave's libraries are now built using symbol visibility by default.\n That means that fewer symbols are exported from these libraries.\n \ Configure with `--disable-lib-visibility-flags` to export all symbols\n (as in previous versions).\n\n- `filter` is now 5X faster, which also speeds up `deconv`, `fftfilt`\n and `arma_rnd` by the same amount.\n\n- `integral` can now return a second argument containing the error\n estimate from the underlying integrator.\n\n- `perms` now accepts a second argument \"unique\" to return only unique\n permutations for inputs with repeated elements. It is faster and\n takes less memory to call `perms ('aaaabbbbcccc', \"unique\")` than to\n call `unique (perms ('aaaabbbbcccc'), \"rows\")`.\n\n- `quadgk` can now accept the `ArrayValued` input parameter to handle\n array-valued input functions.\n\n- `delaunayn` now has consistent trivial simplex checking and removal\n for all input dimensions, simplex checking 3D inputs is now\n vectorized, and >3D simplex checking performance has been improved.\n \ Simplexes points are now ordered so they will all have positive\n outward normal vectors. Input type checking has also been added for\n improved error handling.\n\n- `factor` now factorizes all 64-bit integers in roughly the same time.\n Previously, the product of two large primes took much longer to factorize\n than highly composite inputs.\n\n- `Refine` option is now implemented in functions `ode45`, `ode23`,\n \ and `ode23s`.\n\n- Octave is now compatible with PCRE2 (UTF-8). PCRE2 is preferred over PCRE\n if both are installed. Configure with `--without-pcre2` if you prefer Octave\n to use PCRE in this case.\n\n- `mean` now internally processes data as type double to reduce likelihood of\nhitting overflow or precision limits with other types\n\n### Graphical User Interface\n\n- The GUI has a dark style and several new icons in toolbars for better\n visibility and higher contrast.\n\n- A new terminal widget has been added for the GUI. It is still experimental\n \ and is disabled by default. It can be enabled with the command line\n parameter `--experimental-terminal-widget`.\n\n- More fonts for the documentation browser are included.\n\n### Graphics backend\n\n- When printing, the option `-svgconvert` is now the default. If you want to\nuse the more limited EPS-based tool chain (the former default)—e.g., if\nyou encounter inaccurate image rendering—you can pass the `-nosvgconvert`\noption to the `print` function.\n\n- Additional properties have been added to the `figure` graphics object:\n * `\"innerposition\"` (equivalent to `\"position\"`)\n * `\"windowstate\"` (not yet implemented)\n\n- Legend now features a new property `\"itemhitfcn\"`, allowing the\n execution of a callback function when a legend item is clicked.\n\n### Matlab compatibility\n\n- `inline` functions now support all Matlab methods. The performance\n of `inline` functions has also been improved.\n\n- `sub2ind` now supports index values outside of the size specified by\n the subscripts.\n\n- `cylinder` now accepts a scalar for the radius argument.\n\n- `clock` now has an optional second output `ISDST` which indicates if\n Daylight Savings Time is in effect for the system's time zone.\n\n- `print` now accepts option `-image` to specify the \"opengl\" renderer\n \ and `-vector` to specify the \"painters\" renderer.\n\n- `format` now accepts the option \"default\", which is equivalent to\n calling `format` without any options to reset the default state.\n\n- `quadgk` now stops iterating when `error <= tolerance` while the previous\n condition was `error < tolerance`.\n\n- `mean` now accepts vector dimensions and options to handle `NaN` values.\n The option `\"a\"` (arithmetic mean), `\"g\"` (geometric mean), and `\"h\"`\n (harmonic mean) are no longer accepted, only the arithmetic mean is computed.\n For the geometric and harmonic mean, please use respective functions\n `geomean` and `harmmean` from the Octave Statistics package.\n\n- `var` and `std` now optionally output a second argument containing the mean\n or weighted mean.\n\n- `integral` can now accept the 'ArrayValued' option in combination with\n 'RelTol' and 'WayPoints'.\n\n- File system operations that remove files (e.g., `unlink` or `rmdir`) now also\n \ remove files that have their read-only file attribute set on Windows.\n\n- The default state for certain graphics properties has been made\n consistent with Matlab.\n\n Object | Property | Default State\n ------------|------------------|------------\n \ figure | \"dockcontrols\" | \"on\"\n\n- `ode45`, `ode23`, and `ode23s` have improved results for options `Events`,\n `OutputFcn`, and `Refine`, along with corrected orientation of struct\n outputs.\n\n- *Early notice of future breaking changes*: Due to many user requests that\n Octave should have a Matlab-compatible string class, there is work under way\n to implement a string class that will differ from a vector of characters. In\n Octave, single-quoted character arrays are currently compatible with Matlab,\n but double-quoted forms are not. Currently in Octave, both 'foo' and \"foo\"\n are largely interchangeable, barring certain escape sequence interpretations\n such as \"\\n\" (converted to a single newline character) as opposed to '\\n'\n (two separate characters). Matlab窶å\x86± single-quoted character arrays and\n double-quoted strings do not process backslash escape sequences, unlike many\n other languages, and those escape sequences are instead processed by\n individual functions such as `fprintf`.\n\n Octave's behavior is likely to change in future as a consequence of\n implementing Matlab-style string syntax. For example, 'foo' will remain a\n three-element character vector, but \"foo\" will become a single-element string\n object. Some backslash escape sequences are likely to differ from their\n current Octave behavior, but will achieve greater Matlab compatibility. The\n exact implementation is a work in progress, and may or may not include\n methods of preserving backward compatibility.\n\n \ *What this means for user code*: If your code currently relies on\n double-quoted strings (e.g., \"foo\") representing character vectors as\n opposed to string objects, and if you intend to update to a future version of\n Octave incorporating the above changes, then consider replacing all\n double-quoted strings with single-quoted strings in your code over time\n (e.g., replace \"foo\" with 'foo'). Single-quoted strings are expected to\n retain current behavior. Further, if your code relies on backslash escape\n sequence interpretation in double-quoted strings (except for special cases\n like the `printf` family), that code may need to change as well.\n\n### Alphabetical list of new functions added in Octave 8\n\n* `clearAllMemoizedCaches`\n* `matlab.lang.MemoizedFunction`\n* `memoize`\n* `normalize`\n* `pagectranspose`\n* `pagetranspose`\n* `uifigure`\n\n### Deprecated functions, properties, and operators\n\nThe following functions and properties have been deprecated in Octave 8\nand will be removed from Octave 10 (or whatever version is the second\nmajor release after 8):\n\n- Functions\n\n Function | Replacement\n -----------------------|------------------\n \ shift | circshift\n sparse_auto_mutate | none (see below)\n\n- The `sparse_auto_mutate` function no longer has any effect on Octave's\n behavior. Previously, after calling `sparse_auto_mutate (true)`,\n \ Octave would automatically convert sparse matrices to full when a\n sparse matrix required more memory than simply using full matrix\n storage. This setting was `false` by default for compatibility with\n Matlab. Now you must manually convert to full storage when desired.\n\n- Properties\n\n The following property names are discouraged, but there is no fixed\n date for their removal.\n\n Object \ | Property | Replacement\n -----------------|-------------|------------\n \ uimenu | label | text\n uimenu | callback \ | menuselectedfcn\n\nThe following functions were deprecated in Octave 6 and have been removed\nfrom Octave 8.\n\n- Functions\n\n Function | Replacement\n \ -------------|------------\n runtests | oruntests\n\n- The environment variable used by `mkoctfile` for linker flags is now\n `LDFLAGS` rather than `LFLAGS`. `LFLAGS` was deprecated in Octave 6,\n and will be removed in a future version of Octave.\n\nSummary of bugs fixed for version 8.1.0 (2023-01-22):\n----------------------------------------------------\n\n- Improved input validation and/or output handling for `poly`, `pinv`, `patch`,\n \ `fill`, `fill3`, `qp`, `datevec`, `textscan`, `sub2ind`, `qr`, `airy`,\n `regexp`, `dec2bin`, `dec2hex`, `mean`, and many others.\n- Improved performance for `complex`, `fftw`, `delaunayn`, `isfield`, `tsearch`,\n sparse matrix exponentiation, other sparse operations, and many others.\n- Overhauled `@audiorecorder` and `@audioplayer` classes.\n" module: pkgsrc subject: 'CVS commit: pkgsrc/math/octave' unixtime: '1685569071' user: adam