Skip to content

Commit 3cca73e

Browse files
v0.7.2
1 parent 993723c commit 3cca73e

28 files changed

Lines changed: 84 additions & 36 deletions

en/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
![banner](banner_homepage.png)
22

3-
### Nelson 0.7.1.0
3+
### Nelson 0.7.2.0
44

55
This is an pre-release of Nelson.
66

en/changelogs/CHANGELOG.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,27 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
66

7+
## 0.7.2 (2023-02-27)
8+
9+
### Changed
10+
11+
- cmake project reworked. It should be easier to package Nelson on linux platforms (Thanks to @JohanMabille)
12+
- Debian package generated (beta - feedback welcome).
13+
- `modulepath` reworked and extended.
14+
- C++ API: `IsCellOfStrings(ArrayOf)` replaced by `ArrayOf::isCellArrayOfCharacterVectors()`
15+
- C++ API: header `CheckHelpers.hpp` replaced by `InputOutputArgumentsCheckers.hpp`
16+
- C++ API: `ToCellStringAsColumn` replaced by `ArrayOf::toCellArrayOfCharacterColumnVectors`
17+
- `api_nelson` methods moved to type modules
18+
- Remove internal circular dependency about error and warning.
19+
- Exports minimum headers in package.
20+
21+
### Fixed
22+
23+
- `disp`, `display` did no more support overloading.
24+
- `image` did not save all values for `XData` and `YData`.
25+
- Github CI Monterey and Ubuntu 22.04 (dependencies install) fixed.
26+
- some warnings.
27+
728
## 0.7.1 (2023-01-29)
829

930
### Added

en/core/sha256.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,15 @@ R = sha256(["Hello"; "World"])
3838
```
3939

4040
```matlab
41-
R = sha256([modulepath('matio'), '/tests/mat/test_char_array_unicode_7.4_GLNX86.mat'])
41+
R = sha256([modulepath('matio', 'tests'), '/mat/test_char_array_unicode_7.4_GLNX86.mat'])
4242
```
4343

4444
```matlab
45-
R = sha256([modulepath('matio'), '/tests/mat/test_char_array_unicode_7.4_GLNX86.mat'], '-file')
45+
R = sha256([modulepath('matio', 'tests'), '/mat/test_char_array_unicode_7.4_GLNX86.mat'], '-file')
4646
```
4747

4848
```matlab
49-
R = sha256([modulepath('matio'), '/tests/mat/test_char_array_unicode_7.4_GLNX86.mat'], '-string')
49+
R = sha256([modulepath('matio', 'tests'), '/mat/test_char_array_unicode_7.4_GLNX86.mat'], '-string')
5050
```
5151

5252
## History

en/dynamic_link/dlcall.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ C or Fortran Foreign function call.
2323
## Examples
2424

2525
```matlab
26-
lib = dlopen([modulepath(nelsonroot(),'dynamic_link','bin'), '/libnlsDynamic_link', getdynlibext()]);
26+
lib = dlopen([modulepath('nelson', 'builtin'), '/libnlsDynamic_link', getdynlibext()]);
2727
V = double([1 2;3 4]);
2828
% C prototype:
2929
% int dynlibTestMultiplyDoubleArrayWithReturn(double *x, int size)

en/dynamic_link/dlclose.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Removes dllib object.
2020
## Example
2121

2222
```matlab
23-
path_ref = [modulepath(nelsonroot(),'dynamic_link','bin'), '/libnlsDynamic_link', getdynlibext()];
23+
path_ref = modulepath('dynamic_link', 'builtin');
2424
lib = dlopen(path_ref)
2525
isvalid(lib)
2626
dlclose(lib); // or delete(lib)

en/dynamic_link/dllibinfo.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Returns list of available symbols in an shared library.
2121
## Example
2222

2323
```matlab
24-
lib = dlopen([modulepath(nelsonroot(),'dynamic_link','bin'), '/libnlsDynamic_link', getdynlibext()])
24+
lib = dlopen(modulepath('dynamic_link', 'builtin'))
2525
c = dllibinfo(lib)
2626
```
2727

en/dynamic_link/dllibisloaded.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Checks if shared library is loaded.
2323
## Example
2424

2525
```matlab
26-
path_1 = [modulepath(nelsonroot(),'dynamic_link','bin'), '/libnlsDynamic_link', getdynlibext()];
26+
path_1 = modulepath('dynamic_link', 'builtin');
2727
r = dllibisloaded(path_1)
2828
lib1 = dlopen(path_1);
2929
[r, lib2] = dllibisloaded(path_1)

en/dynamic_link/dlopen.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Loads an dynamic library.
2525
## Example
2626

2727
```matlab
28-
path_1 = [modulepath(nelsonroot(),'dynamic_link','bin'), '/libnlsDynamic_link', getdynlibext()];
28+
path_1 = modulepath('dynamic_link', 'builtin');
2929
lib1 = dlopen(path_1)
3030
isvalid(lib1)
3131
dlclose(lib1)

en/dynamic_link/dlsym.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Loads a C/Fortran symbol for an dynamic library.
5353
## Examples
5454

5555
```matlab
56-
lib = dlopen([modulepath(nelsonroot(),'dynamic_link','bin'), '/libnlsDynamic_link', getdynlibext()]);
56+
lib = dlopen(modulepath('dynamic_link', 'builtin'));
5757
V = double([1 2;3 4]);
5858
% C prototype:
5959
% int dynlibTestMultiplyDoubleArrayWithReturn(double *x, int size)

en/dynamic_link/libpointer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ NLSDYNAMIC_LINK_IMPEXP double *multiplicationDoubleByReference(double *x)
4242
```matlab
4343
x = 133.3;
4444
xPtr = libpointer('doublePtr', x);
45-
path_ref = [modulepath(nelsonroot(),'dynamic_link','bin'), '/libnlsDynamic_link', getdynlibext()];
45+
path_ref = modulepath('dynamic_link', 'builtin');
4646
lib = dlopen(path_ref);
4747
f = dlsym(lib, 'multiplicationDoubleByReference', 'libpointer', {'doublePtr'});
4848
[r1, r2] = dlcall(f, xPtr);

0 commit comments

Comments
 (0)