Skip to content

Commit 206daf2

Browse files
help files 0.6.3
1 parent 9789b6e commit 206daf2

16 files changed

Lines changed: 254 additions & 8 deletions

File tree

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.6.2.0
3+
### Nelson 0.6.3.0
44

55
This is an pre-release of Nelson.
66

en/SUMMARY.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
* [exist](./core/exist.md)
3838
* [exit](./core/exit.md)
3939
* [inputname](./core/inputname.md)
40+
* [isunicodesupported](./core/isunicodesupported.md)
4041
* [license](./core/license.md)
4142
* [maxNumCompThreads](./core/maxNumCompThreads.md)
4243
* [namelengthmax](./core/namelengthmax.md)
@@ -513,6 +514,7 @@
513514
* [fwrite](./stream_manager/fwrite.md)
514515
* [load](./stream_manager/load.md)
515516
* [save](./stream_manager/save.md)
517+
* [sscanf](./stream_manager/sscanf.md)
516518

517519

518520
* [display_format](./display_format/README.md)
@@ -667,6 +669,7 @@
667669
* [console](./console/README.md)
668670
* [clc](./console/clc.md)
669671
* [input](./console/input.md)
672+
* [terminal_size](./console/terminal_size.md)
670673

671674

672675
* [gui](./gui/README.md)

en/changelogs/CHANGELOG.md

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,43 @@ 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.6.3 (2022-03-26)
8+
9+
### Changed
10+
11+
- [#596](http://github.com/Nelson-numerical-software/nelson/issues/596): Tests results display use emoji if terminal supports Unicode.
12+
13+
### Added
14+
15+
- Packaging:
16+
17+
- [#603](http://github.com/Nelson-numerical-software/nelson/issues/603): Nelson as snap package for Linux.
18+
- [#605](http://github.com/Nelson-numerical-software/nelson/issues/605): [Package request] Chocolatey package manager for Windows.
19+
- [#582](http://github.com/Nelson-numerical-software/nelson/issues/582): Nelson available as Portable apps.
20+
21+
- add information for Software Center (Linux desktop, icons).
22+
23+
- `nelson` Main script to start Nelson (superceed others scripts).
24+
25+
- `isunicodesupported` function: Detect whether the current terminal supports Unicode.
26+
27+
- `dlsym` function: search nearest symbol name if value entry is not found.
28+
29+
- `terminal_size` function:Query the size of the terminal window.
30+
31+
- [#598](http://github.com/Nelson-numerical-software/nelson/issues/598): `sscanf` function read formatted data from strings.
32+
33+
### Fixed
34+
35+
- [#599](http://github.com/Nelson-numerical-software/nelson/issues/599): `make install` step in CI for linux and MacOs.
36+
37+
- [#601](http://github.com/Nelson-numerical-software/nelson/issues/601): embed all tests on linux and macos install.
38+
739
## 0.6.2 (2022-02-26)
840

941
### Changed
1042

11-
- [#576](http://github.com/Nelson-numerical-software/nelson/issues/575): C++17 Compiler required to build Nelson.
43+
- [#576](http://github.com/Nelson-numerical-software/nelson/issues/576): C++17 Compiler required to build Nelson.
1244

1345
- [#581](http://github.com/Nelson-numerical-software/nelson/issues/581): Github CI platforms list extended (ArchLinux, Fedora, Ubuntu 18.04, MacOs BigSur).
1446

en/console/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Console
1010

1111
* [clc](clc.md) - Clear Command Window.
1212
* [input](input.md) - Display prompt and wait for user input.
13+
* [terminal_size](terminal_size.md) - Query the size of the terminal window.
1314

1415

1516

en/console/SUMMARY.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
* [console](README.md)
22
* [clc](clc.md)
33
* [input](input.md)
4+
* [terminal_size](terminal_size.md)
45

en/console/terminal_size.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
2+
3+
# terminal_size
4+
5+
Query the size of the terminal window.
6+
7+
## Syntax
8+
9+
- [r, c] = terminal_size()
10+
11+
## Output argument
12+
13+
- [r, c] - a vector: rows and columns
14+
15+
## Description
16+
17+
18+
<p><b>terminal_size()</b> returns a vector with size of the terminal window in characters (rows and columns).</p>
19+
20+
21+
## Example
22+
23+
```matlab
24+
terminal_size()
25+
```
26+
27+
## See also
28+
29+
[disp](../display_format/disp.md).
30+
## History
31+
32+
|Version|Description|
33+
|------|------|
34+
|1.0.0|initial version|
35+
36+
37+
## Author
38+
39+
Allan CORNET
40+
41+
42+

en/core/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ core functions
1616
* [exist](exist.md) - Check for the existence.
1717
* [exit](exit.md) - Exit from current Nelson application
1818
* [inputname](inputname.md) - Get variable name of function input.
19+
* [isunicodesupported](isunicodesupported.md) - Detect whether the current terminal supports Unicode.
1920
* [license](license.md) - Get license information for Nelson.
2021
* [maxNumCompThreads](maxNumCompThreads.md) - Set/Get maximum number of computional threads.
2122
* [namelengthmax](namelengthmax.md) - Return the maximum variable name length.

en/core/SUMMARY.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
* [exist](exist.md)
88
* [exit](exit.md)
99
* [inputname](inputname.md)
10+
* [isunicodesupported](isunicodesupported.md)
1011
* [license](license.md)
1112
* [maxNumCompThreads](maxNumCompThreads.md)
1213
* [namelengthmax](namelengthmax.md)

en/core/isunicodesupported.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
2+
3+
# isunicodesupported
4+
5+
Detect whether the current terminal supports Unicode.
6+
7+
## Syntax
8+
9+
- tf = isunicodesupported()
10+
11+
## Output argument
12+
13+
- tf - a logical: true or false.
14+
15+
## Description
16+
17+
18+
<p><b>isunicodesupported</b>: returns if current terminal supports Unicode.</p>
19+
<p>value returned can be overloaded if environment variable 'NELSON_TERM_IS_UNICODE_SUPPORTED' is 'TRUE'</p>
20+
21+
22+
## Example
23+
24+
```matlab
25+
isunicodesupported()
26+
```
27+
28+
## See also
29+
30+
[getnelsonmode](../engine/getnelsonmode.md).
31+
## History
32+
33+
|Version|Description|
34+
|------|------|
35+
|1.0.0|initial version|
36+
37+
38+
## Author
39+
40+
Allan CORNET
41+
42+
43+

en/dynamic_link/dlsym.md

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Loads a C/Fortran symbol for an dynamic library.
1111
## Input argument
1212

1313
- lib - a dllib handle.
14-
- symbol_name - a string: symbol to load.
14+
- symbolname - a string: symbol to load.
1515
- return_type - a string: return type of the C/Fortran function.
1616
- params_types - a cell of strings: arguments using a special syntax with differents data types.
1717

@@ -23,6 +23,34 @@ Loads a C/Fortran symbol for an dynamic library.
2323

2424

2525
<p><b>dlsym</b> retrieves the address of an exported function as an dlsym handle.</p>
26+
<p>if <b>symbolname</b> not found, nelson try to find symbol equivalent based on these rules and in this order:</p>
27+
<p>
28+
<b>_symbolname</b>
29+
</p>
30+
<p>
31+
<b>symbolname</b>
32+
</p>
33+
<p>
34+
<b>symbolname_</b>
35+
</p>
36+
<p>
37+
<b>_symbolname_</b>
38+
</p>
39+
<p>
40+
<b>_SYMBOLNAME</b>
41+
</p>
42+
<p>
43+
<b>SYMBOLNAME</b>
44+
</p>
45+
<p>
46+
<b>SYMBOLNAME_</b>
47+
</p>
48+
<p>
49+
<b>_SYMBOLNAME_</b>
50+
</p>
51+
<p>symbol name used is available in prototype field of the returned handle.</p>
52+
<p>If multiple symbol names found, an error is raised with possible names.</p>
53+
<p/>
2654
<p>Warning: Uses wrong datatype definitions a foreign function can terminate unexpectedly.</p>
2755

2856

0 commit comments

Comments
 (0)