Releases: geospace-code/matlab-stdlib
add numerous functions, remove WSL functions
distinguish absolute() and resolve()
add get_shell(), handle2filename(), hard_link_count(), is_rosetta(), root(), root_name(), file_size(), drop_slash(), is_prefix(), cpu_arch(), os_version(), java_vendor()
ci: add jobs without Java VM "-nojvm"
CI: auto-publish inline documentation
benchmark Java vs. non-Java under example/ directory
all functions default to not use Java, except functions that are only implemented in Java
Most functions GNU Octave compatible
Numerous speed and correctness improvements
CI: test java/non-java for each function so capable.
Remove WSL functions
Test:implement with parameterization for best practice
remove absolute_path() -- use resolve(). Add new functions.
Add functions
- get_username()
- get_owner()
- null_file()
- is_regular_file()
- hostname()
- getpid()
- get_permissions()
- java_version()
- java_api()
canonical(), resolve() add option expand_tilde (default true)
remove absolute_path() that duplicated resolve() functionality
use non-deprecated Java methods if available in JRE
add documentation for selecting JRE (optional)
v5.3.0
Full Changelog: v5.2.1...v5.3.0
add HDF4 h4{size,exists,variables}
remove h5ndims, ncndims
flatten namespace
speedup functions
- h5exists, ncexists: 2x-100x speedup
- stem, read_symlink: string Posix output
- use isSymbolicLink, createSymbolicLink if available.
add numerous functions
add is_symlink, create_symlink, read_symlink.
ncsave: require dimensions for non-scalar
add sys.cpu_count, touch, get_modtime, set_modtime, relative_to(), proximate_to, is_subdir, filesystem_type()
is_absolute_path => is_absolute
require scalar non-empty inputs, add functions
add exists()
, is_readable()
, is_writable()
, sys.cpu_load()
, sys.ram_free()
, sys.ram_total()
all using Java internal to Matlab.
require scalar non-empty inputs to simplify internal code.
add several functions, distinguish canonical from resolve, bugfixes
add function fileio.{parent,stem,filename,suffix,join}
distinguish function fileio.canonical()
which returns relative path if not exist from fileio.resolve()
that always returns absolute path--if not exist, absolute based on cwd.
expanduser
: ignore inputs like ~abc
subprocess_run
: correct high level interface nargout and improve test
absolute("") = ""
Internals use posix filesep "/" throughout
Test: shortname: test with Matlab exe so it's always present (vs. notepad)
Java-based functions, add normalize
- add normalize() function
- use mostly Java-based internal functions for fileio
remove redundant code
v4.10.1 remove redundant code
improve tests and correctness. Add several stdlib.* aliases
v4.10.0 ci: add R2023a