summaryrefslogtreecommitdiff
path: root/math/octave
AgeCommit message (Collapse)AuthorFilesLines
2020-06-02Revbump for icuadam1-2/+2
2020-05-22revbump after updating security/nettleadam1-2/+2
2020-05-21(math/octave) build fix: Remove configure.ac from SUBST_FILES.qt5-pkg-configmef1-2/+2
2020-05-06revbump after boost updateadam1-1/+2
2020-04-12octave: fix a patchadam1-6/+6
2020-04-12octave: updated to 5.2.0adam7-52/+63
Summary of bugs fixed for version 5.2.0: Improvements - Lock amd and symbfact to avoid segmentation fault with SuiteSparse - Fix segfault when calculating patch vertex normals - Fix segfault in constructing patch normals for lighting - mat2str.m: Fix for logical matrix (add `transpose`). - improve file equality check for MS Windows - ismember.m: Fix second return argument when values are complex - findobj.m: Fix typo and correctly handle numeric properties - Correctly display integer types with format hex - Cast `winqueryreg` `REG_DWORD` types to `DWORD` - Fix numerous errors in `audiowrite` / `audioread` - print.m: Pass quoted path to `octave-svgconvert` - dir.m: Fix occasionally returning incorrect folder field - Stop segfault when calling 3-input form of `diag` with cell arrays - improve message for setting breakpoint in nonexistent function - Use framebuffer object for printing invisible Qt figures on mac - Escape backslash characters in `EPS` output - Use replacement characters to display non UTF-8 strings in figures - inputrc: Add warning about modification - documentation.cc (global_search): just return if query string is empty - Default (c)transpose for old style class arrays - Always reserve at least 1 element of storage for sparse matrices - Don't segfault at exit after reading malformed HDF5 file - Fix pause() with no arguments called on Windows - refactor minimum eigenvalue index search in `qp` - qp: fix obscure corner case when calculating `qp` caused by a typo - use `std::streampos` instead of `std::ios::streampos`. - fix `pause` and `kbhit` with glibc 2.28 end-of-file state behavior - Fix return of left-handed vectors when inputs are complex - waitbar.m: Fix hang when using `createcancelbtn` property - shading.m: Fix unexpected error when multiple `hggroups` present - dec2base.m: Correctly handle zero matrix input - eliminate duplicate graphics callback object stack - Improve performance when closing figures - Reduce time to process `pkg -forge list` by 30X - Feed `fig2dev` with PDF files converted from svg - Improve error checking for `iconv_open`. - poly.m: fix the fix for input of complex conjugate pairs - mkoctfile: use the `TMPDIR` environment variable if set - line.m: Fix creation of unwanted axes - Accept 4-input form for quiver3 - pkg.m: restore installing packages from zip archives - axis.m: Fix issues with `equal` argument - ordeig.m: Do not fail on 1x1 matrices GUI - fix editors search and replace in selection - undo a complete replace all action in the editor - fix missing unlock of mutex when gui editor is not present - prevent unnamed editor tab from being closed by `rmdir` - prevent editor from closing files that are not affected by `rmdir` - fix creating keyword files for editor autocompletion - fix dock widget position when being dragged out of the main window Build system / Tests - configure: prevent overlinking when SUNDIALS is disabled - use QtCore and Qt5Gui modules instead of Qt5OpenGL - make building with Qt4 QGLWidget work again - build: adapt mk-qthelp.pl to changes in Texinfo 6.7. - BIST should not rely on the current directory to be writable. - bp-table.cc: Fix test. - maint: Make old style class tests Matlab compatible. - Add BIST tests for `unlink` Documentation - fix many spelling errors - help: improve documentation for the `startup.m` user script. - avoid conflict with @seealso macro in Texinfo 6.6 - mk-doc-cache.pk: Also translate `@seealso` here. - __makeinfo__.m: Also translate `@seealso` here - polar.m: Document that input is expected to be in radians - gallery.m: Fix typo in docstring for poisson - Add 1024x1024 Octave logo icon - add `.editorconfig` for default file encoding and indentation. - octave.doap: Copy localized (short) description over from appdata - org.octave.Octave.appdata.xml: Add German and French description - languages/*.ts: updated language files - quiver3.m: Fix texinfo typo in docstring from cset f7b10bd40045. - doc: fix `.` Operator Index entry to build with Texinfo 6.7. - doc: improve example of using global variables from oct-files. - doc: Create en-dashes and em-dashes correctly in documentation. - doc: expand `page_output_immediately` doc string, mention `page_screen_output`. - doc: Clarify documentation of `history_file` - doc: Improve documentation for `get_help_text`, `get_help_text_from_file`. - doc: Add documentation for `GNUTERM` variable used with gnuplot - doc: Improve `contour` docstring example - doc: Add example to show limitations of the given BLAS integer size. - doc: Improve documentation of sparse functions. - doc: Improve spelling of `bicgstab` - doc: Remove `Map` functions `keys`, `values`, `remove` from unimplemented list - doc: Add function index entry for alias `inverse` - add content rating declaration to AppStream metadata - doc: Remove stray semicolons from `pie`, `pie3` calling forms. - doc: Redo documentation for `rats` function. - doc: Specify `position` property for text objects is a three-element vector - doc: state that Octave can only load HDF5 files created by itself - doc: Fix names of options in `issorted` - doc: Small fixes to `mat2cell` and `polyeig` docstrings - doc: Improve example code for using `-pdflatexstandalone` - doc: Refer to "root object" rather than "root figure object". - doc: Place cross-reference from list of graphics object properties back to object - doc: document the newline character in warning messages - doc: pkg versions can be more general than "x.y.z"
2020-03-10librsvg: update bl3.mk to remove libcroco in rust casewiz1-2/+2
recursive bump for the dependency change
2020-03-08*: recursive bump for libffiwiz1-2/+2
2020-02-28have octave use arpack-ng 3.7.0 instead of arpack. This reduces testplunky1-3/+4
failures from 59 to 6 - PASS 15064 - FAIL 59 + PASS 15117 + FAIL 6 REGRESSION 1 XFAIL (reported bug) 26 SKIP (missing feature) 424
2020-01-18*: Recursive revision bump for openssl 1.1.1.jperkin1-2/+2
2020-01-12*: Recursive revbump from devel/boost-libsryoon1-2/+2
2019-12-24math/octave: remove unrecognized configure argsdbj1-4/+3
on Darwin, set --enable-link-all-dependencies
2019-12-24math/octave: add missing header for use of exit system calldbj2-1/+16
2019-11-02math: align variable assignmentsrillig1-3/+3
pkglint -Wall -F --only aligned -r Manual correction in R/Makefile.extension for the MASTER_SITES continuation line.
2019-09-18Recursive revbump from audio/pulseaudioryoon1-2/+2
2019-08-22Recursive revbump from boost-1.71.0ryoon1-2/+2
2019-08-11Bump PKGREVISIONs for perl 5.30.0wiz1-2/+2
2019-07-21*: recursive bump for gdk-pixbuf2-2.38.1wiz1-2/+2
2019-07-20*: recursive bump for nettle 3.5.1wiz1-2/+2
2019-07-01Recursive revbump from boost-1.70.0ryoon1-2/+2
2019-05-23all: replace SUBST_SED with the simpler SUBST_VARSrillig1-2/+2
pkglint -Wall -r --only "substitution command" -F With manual review and indentation fixes since pkglint doesn't get that part correct in every case.
2019-04-03Recursive revbump from textproc/icuryoon1-2/+2
2019-03-18Recursive bump for ghostscript default changegdt1-1/+2
2019-03-05Update to 5.1.0ryoon11-494/+154
Changelog: # General improvements The Octave plotting system now supports high resolution screens, i.e., those with greater than 96 DPI which are referred to as HiDPI/Retina monitors. Unicode character support for files and folders in Windows. A new core function movfun will apply a function to a sliding window of arbitrary size on a dataset and accumulate the results. Many common cases have been implemented using the naming scheme movXXX where XXX is the function that will be applied. For example, the moving average over a dataset is movmean. New moving window functions: movfun movslice movmad movmax movmean movmedian movmin movprod movstd movsum movvar The fsolve function has been tweaked to use larger step sizes when calculating the Jacobian of a function with finite differences. This leads to faster convergence. The ranks function has been recoded for performance and is now 25X faster. In addition, it now supports a third argument that specifies how to resolve the ranking of tie values. The function randi has been recoded to produce an unbiased (all results are equally likely) sample of integers. This may produce different results in existing code. If it is necessary to reproduce the exact random integer sequence as in previous versions use ri = imin + floor ((imax - imin + 1) * rand ()); The function isdefinite now returns true or false rather than -1, 0, or 1. To test for a positive semi-definite matrix (old output of 0) check whether the following two conditions hold: isdefinite (A) => 0 and isdefinite (A + 5*TOL, TOL) => 1 The intmax, intmin, and flintmax functions now accept a variable as input. Existing code to query the range of an existing variable can be simplified by removing the call to class that was previously required. For example defining the variable x = int8 (3) in the workspace, calls like range = [ intmin(class(x)), intmax(class(x)) ] can in Octave 5 be simplified to range = [ intmin(x), intmax(x) ]. The path handling functions no longer perform variable or brace expansion on path elements and Octave’s load-path is no longer subject to these expansions. A new printing device is available, "-ddumb", which produces ASCII art for plots. This device is only available with the gnuplot toolkit. # Dependencies The GUI requires Qt libraries. The minimum Qt4 version supported is Qt4.8. Qt5 of any version is preferred. The OSMesa library is no longer used. To print invisible figures when using OpenGL graphics, the Qt QOFFSCREENSURFACE feature must be available and you must use the qt graphics toolkit. The FFTW library is now required to perform FFT calculations. The FFTPACK sources have been removed from Octave. Matlab compatibility * Many improvements.
2018-12-26octave: fix building with recent Qt5adam5-31/+303
Do not look for qcollectiongenerator, it has been incorporared into qhelpgenerator.
2018-12-13revbump for boost 1.69.0adam1-2/+2
2018-12-09revbump after updating textproc/icuadam1-2/+2
2018-11-14Revbump after cairo 1.16.0 update.kleink1-2/+2
2018-11-12Recursive revbump from hardbuzz-2.1.1ryoon1-2/+2
2018-08-22Recursive bump for perl5-5.28.0wiz1-2/+2
2018-08-17math/octave: Fix CHECK_WRKREF_SKIP patternsminskim1-3/+3
2018-08-16revbump after boost-libs updateadam1-1/+2
2018-08-16octave: PRINT_PLIST_AWK to avoid a recurrence of a broken PLIST.maya1-1/+2
From wiz, thanks.
2018-08-16octave: don't make netbsd references in PLIST, accidentally went in withmaya2-33/+35
the update. skip checking for workdir references for liboctinterp which doesn't seem to actually make references (maybe it's debug info?)
2018-08-12Remove unused patches.maya3-51/+0
2018-08-12Octave: update to 4.4.1maya8-329/+368
Remove hack that had a high chance of resulting in a dysfunctional package qttools can't be a build dependency because we link against something in it. XXX pkgsrc claims this package has work directory references Summary of important user-visible changes for version 4.4 (2018-04-30): ---------------------------------------------------------------------- ** A graphical Variable Editor has been added to the GUI interface. It uses a spreadsheet-like interface for quick, intuitive editing of variables. The Variable Editor is launched by double-clicking on a variable name in the Workspace Window or by typing "openvar VARIABLE_NAME" in the Command Window. ** On systems with 64-bit pointers, --enable-64 is now the default and Octave always uses 64-bit indexing. However, if the configure script determines that the BLAS library uses 32-bit integers, then operations using the following libraries are limited to arrays with dimensions that are smaller than 2^31 elements: BLAS LAPACK QRUPDATE SuiteSparse ARPACK Additionally, the following libraries use "int" internally, so maximum problem sizes are always limited: glpk Qhull ** The octave command no longer starts the GUI by default. Most users starting Octave from a shell were expecting the command line interface, and desktop launchers already required the `--force-gui' option. With this change, desktop launchers should be modified to use the new option `--gui'. The previous `--force-gui' option will continue to work, and maps to `--gui', but it will be removed in Octave 6. ** A known bug in Qt (https://bugreports.qt.io/browse/QTBUG-55357) is addressed by limiting GUI sub-panel relocation capabilities for Qt versions in the range >= 5.6.1 and < 5.7.1. However, this may not thoroughly avoid issues on all platforms. ** A new container data type--containers.Map--is available. Map is a key/value storage container (a.k.a, a hash) that efficiently allows storing and retrieving values by name, rather than by position which is how arrays work. ** The bareword "import" is now recognized in scripts and functions. However, the functionality to import functions and classes from other namespaces into the local scope has not yet been implemented. Attempting to use "import" will provoke an error message. ** hex2num and num2hex now work for integer and char types and num2hex may optionally return a cell array of strings instead of a character array. If given a cell array of strings, hex2num now returns a numeric array of the same size as the input cell array. Previously, hex2num would accept a cell array of strings of arbitrary dimension but would always return a column vector. ** New special functions cosint, sinint, and gammaincinv have been added. ** Special functions in Octave have been rewritten for larger input domains, better accuracy, and additional options. * gammainc now accepts negative real values for X. * improved accuracy for gammainc, betainc, betaincinv, expint. * gammainc has new options "scaledlower" and "scaledupper". * betainc, betaincinv have new option "upper". ** The "names" option used in regular expressions now returns a struct array, rather than a struct with a cell array for each field. This change was made for Matlab compatibility. ** The quadcc function now uses both absolute tolerance and relative tolerance to determine the stopping criteria for an integration. To be compatible with other quadXXX functions, such as quadgk, the calling syntax has changed to quadcc (f, a, b, [AbsTol, [RelTol]]) To update existing code, change instances of RelTol to [0, RelTol]. quadcc (f, a, b, tol) => quadcc (f, a, b, [0, tol]) A warning that a single tolerance input is now interpreted as an absolute tolerance will be issued in Octave versions 4.4 and 5, after which it will be removed. The warning has ID "Octave:quadcc:RelTol-conversion" and can be disabled with warning ("off", "Octave:quadcc:RelTol-conversion") ** The qr function now returns a standard factorization unless explicitly instructed to perform an economy factorization by using a final argument of 0. ** The Qt graphics toolkit now supports offscreen printing without osmesa if Octave was built with Qt >= 5.1. ** The built-in pager for display of large data is now disabled by default. To re-enable it for every Octave session add the following to your .octaverc file: more on; ** The FLTK toolkit is no longer prioritized for development. The number of Octave Maintainers is too small to support three different graphic toolkits. New development will target the Qt toolkit. While no longer prioritized, the FLTK toolkit is not deprecated and there is no schedule for its removal. ** The graphic object property "PickableParts" has been implemented which controls whether an object can accept mouse clicks. ** The graphic object property "Interruptible" has been fully implemented which controls whether a running callback function can be interrupted by another callback function. ** The graphic object property "HitTest" has been updated to be fully compatible with Matlab. ** Text objects now implement the properties "BackgroundColor", "EdgeColor", "LineStyle", "LineWidth", and "Margin". ** An initial implementation of alpha transparency has been made for patch and surface objects. Printing to svg and pdf is supported. ** ishandle now returns true for both graphics handle objects and Java objects. The latter change was made for Matlab compatibility. Use ishghandle or isgraphics if it is important not to include Java objects. ** The pkg command now accepts a URL as an argument, allowing a valid Octave package to be installed from any remote host with one command, for example pkg install https://example.org/download/example-package.tar.gz ** The following statistical functions have been moved from core Octave to the statistics package available from Octave Forge. BASE cloglog logit prctile probit qqplot table (renamed to crosstab) DISTRIBUTIONS betacdf betainv betapdf betarnd binocdf binoinv binopdf binornd cauchy_cdf cauchy_inv cauchy_pdf cauchy_rnd chi2cdf chi2inv chi2pdf chi2rnd expcdf expinv exppdf exprnd fcdf finv fpdf frnd gamcdf gaminv gampdf gamrnd geocdf geoinv geopdf geornd hygecdf hygeinv hygepdf hygernd kolmogorov_smirnov_cdf laplace_cdf laplace_inv laplace_pdf laplace_rnd logistic_cdf logistic_inv logistic_pdf logistic_rnd logncdf logninv lognpdf lognrnd nbincdf nbininv nbinpdf nbinrnd normcdf norminv normpdf normrnd poisscdf poissinv poisspdf poissrnd stdnormal_cdf stdnormal_inv stdnormal_pdf stdnormal_rnd tcdf tinv tpdf trnd unidcdf unidinv unidpdf unidrnd unifcdf unifinv unifpdf unifrnd wblcdf wblinv wblpdf wblrnd wienrnd MODELS logistic_regression TESTS anova bartlett_test chisquare_test_homogeneity chisquare_test_independence cor_test f_test_regression hotelling_test hotelling_test_2 kolmogorov_smirnov_test kolmogorov_smirnov_test_2 kruskal_wallis_test manova mcnemar_test prop_test_2 run_test sign_test t_test t_test_2 t_test_regression u_test var_test welch_test wilcoxon_test z_test z_test_2 ** The following image functions have been moved from core Octave to the image package available from Octave Forge. ntsc2rgb rgb2ntsc ** Other new functions added in 4.4: bounds camlookat camorbit campos camroll camtarget camup camva camzoom corrcoef cosint decic erase gammaincinv getframe groot gsvd hgtransform humps integral integral2 integral3 isgraphics isstring mad ode15i ode15s openvar quad2d repelem rgb2gray rticks sinint tfqmr thetaticks vecnorm winqueryreg xticklabels xticks yticklabels yticks zticklabels zticks ** Deprecated functions. The following functions have been deprecated in Octave 4.4 and will be removed from Octave 6 (or whatever version is the second major release after 4.4): Function | Replacement ---------------------|------------------ chop | sprintf for visual results desktop | isguirunning tmpnam | tempname toascii | double java2mat | __java2mat__ ** The following functions were deprecated in Octave 4.0 and have been removed from Octave 4.4. allow_noninteger_range_as_index bicubic delaunay3 do_braindead_shortcircuit_evaluation dump_prefs find_dir_in_path finite fmod fnmatch gmap40 loadaudio luinc mouse_wheel_zoom nfields octave_tmp_file_name playaudio saveaudio setaudio syl usage ** The "Octave:undefined-return-values" warning ID is obsolete. Octave now throws an error for any attempts to assign undefined values that might be returned from functions. ** Deprecated graphics properties. The following properties or allowed corresponding values have been deprecated in Octave 4.4 and will be removed from Octave 6 (or whatever version is the second major release after 4.4): Object | Property | Value ---------------------|-------------------------|------------------- figure | doublebuffer | | mincolormap | | wvisual | | wvisualmode | | xdisplay | | xvisual | | xvisualmode | axes | drawmode | annotation | edgecolor ("rectangle") | text | fontweight | "demi" and "light" uicontrol | fontweight | "demi" and "light" uipanel | fontweight | "demi" and "light" uibuttongroup | fontweight | "demi" and "light" ** The rectangle and ellipse annotation property "edgecolor" has been deprecated and will be removed from Octave 6 (or whatever version is the second major release after 4.4). Use the property "color" instead. ** The header file oct-alloc.h has been removed along with the macros that it defined (DECLARE_OCTAVE_ALLOCATOR, DEFINE_OCTAVE_ALLOCATOR, and DEFINE_OCTAVE_ALLOCATOR2).
2018-07-20Recursive revbump from textproc/icu-62.1ryoon1-2/+2
2018-07-17Revert hard-coded PKGSRC_FORTRAN setting. g95 is perfectly fine here.joerg1-2/+1
2018-07-17octave: force gfortran, g95 is broken is most setups.maya3-3/+19
build fix for newer qt. bump PKGREVISION.
2018-07-06Recursive revbump from audio/pulseaudioryoon1-2/+2
2018-04-29revbump for boost-libs updateadam1-2/+2
2018-04-17Add p11-kit to gnutls/bl3.mk and bump dependencies.wiz1-2/+2
2018-04-16Recursive bump for new fribidi dependency in pango.wiz1-2/+2
2018-04-14revbump after icu updateadam1-2/+2
2018-03-12Recursive bumps for fontconfig and libzip dependency changes.wiz1-2/+2
2018-01-28Bump PKGREVISION for gdbm shlib major bumpwiz1-2/+2
2018-01-01Revbump after boost updateadam1-2/+2
2017-11-30Revbump after textproc/icu updateadam1-2/+2
2017-11-23recursive bump for libxkbcommon removal from at-spi2-corewiz1-2/+2
2017-09-18revbump for requiring ICU 59.xmaya1-2/+2