Skip to content

Commit b386531

Browse files
Merge pull request #14 from dani007200964/dev
For Version 2.1.0
2 parents 877afe9 + 2f70c0c commit b386531

File tree

267 files changed

+18774
-5398
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

267 files changed

+18774
-5398
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
name: Bug report
3-
about: Create a report to help us improve
2+
name: 🐛 Bug report
3+
about: Report a bug in the software
44
title: ''
55
labels: bug
66
assignees: ''
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
name: 📜 Documentation problem
3+
about: Report a problem in the documentation
4+
title: ''
5+
labels: documentation
6+
assignees: ''
7+
8+
---
9+
10+
**Describe the problem**
11+
A clear and concise description of what the problem is.
12+
13+
**To Reproduce**
14+
Steps to reproduce the behavior:
15+
1. The problem is on page '...'
16+
2. The problem is on section '...'
17+
3. In the documentation there is '...' instead of '...'
18+
4. '...' is missing from '...'
19+
5. I don't understand this step or section: '...'
20+
21+
**Screenshots**
22+
If applicable, add screenshots to help explain your problem.
23+
24+
**Additional context**
25+
Add any other context about the problem here.

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
name: Feature request
3-
about: Suggest an idea for this project
2+
name: 🚀 Feature request
3+
about: Propose a new feature
44
title: ''
55
labels: enhancement
66
assignees: ''

.github/workflows/compile-examples.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424

2525
sketch-paths: |
2626
- examples/Commander_simple
27+
- examples/Commander_simple_progmem
2728
2829
compile-examples-for-esp32:
2930
runs-on: ubuntu-latest

Doc/markdown_pages/arduino_installation.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

Doc/markdown_pages/main_page.md

Lines changed: 0 additions & 38 deletions
This file was deleted.

Doxyfile

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ PROJECT_NAME = Commander-API
4848
# could be handy for archiving the generated documentation or if some version
4949
# control system is used.
5050

51-
PROJECT_NUMBER = V2.0.2
51+
PROJECT_NUMBER = V2.1.0
5252

5353
# Using the PROJECT_BRIEF tag one can provide an optional one line description
5454
# for a project that appears at the top of each page and should give viewer a
@@ -61,7 +61,7 @@ PROJECT_BRIEF = "Simple Command Parser"
6161
# pixels and the maximum width should not exceed 200 pixels. Doxygen will copy
6262
# the logo to the output directory.
6363

64-
PROJECT_LOGO = docs/images/logo.PNG
64+
PROJECT_LOGO = docs/images/logo.svg
6565

6666
# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) path
6767
# into which the generated documentation will be written. If a relative path is
@@ -505,7 +505,7 @@ EXTRACT_ALL = YES
505505
# be included in the documentation.
506506
# The default value is: NO.
507507

508-
EXTRACT_PRIVATE = NO
508+
EXTRACT_PRIVATE = YES
509509

510510
# If the EXTRACT_PRIV_VIRTUAL tag is set to YES, documented private virtual
511511
# methods of a class will be included in the documentation.
@@ -1332,7 +1332,7 @@ HTML_HEADER = docs/Style/doxygen-custom/header.html
13321332
# that doxygen normally uses.
13331333
# This tag requires that the tag GENERATE_HTML is set to YES.
13341334

1335-
HTML_FOOTER =
1335+
HTML_FOOTER = docs/Style/doxygen-custom/footer.html
13361336

13371337
# The HTML_STYLESHEET tag can be used to specify a user-defined cascading style
13381338
# sheet that is used by each HTML page. It can be used to fine-tune the look of
@@ -1374,7 +1374,9 @@ HTML_EXTRA_STYLESHEET = docs/Style/doxygen-awesome.css \
13741374
HTML_EXTRA_FILES = docs/Style/doxygen-custom/toggle-alternative-theme.js \
13751375
docs/Style/doxygen-awesome-darkmode-toggle.js \
13761376
docs/Style/doxygen-awesome-fragment-copy-button.js \
1377-
docs/Style/doxygen-awesome-paragraph-link.js
1377+
docs/Style/doxygen-awesome-paragraph-link.js \
1378+
docs/images/arduino_logo.png \
1379+
docs/images/platformio_logo.png
13781380

13791381
# The HTML_COLORSTYLE tag can be used to specify if the generated HTML output
13801382
# should be rendered with a dark or light theme. Default setting AUTO_LIGHT
@@ -2375,7 +2377,8 @@ INCLUDE_FILE_PATTERNS =
23752377
PREDEFINED = ARDUINO \
23762378
ESP32 \
23772379
ESP8266 \
2378-
ARDUINO_AVR_LEONARDO
2380+
ARDUINO_AVR_LEONARDO \
2381+
__AVR__
23792382

23802383
# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then this
23812384
# tag can be used to specify a list of macro names that should be expanded. The

README.md

Lines changed: 9 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,17 @@
11
## Commander-API library
2-
**Version V2.0.2**
2+
**Version V2.1.0**
33

44
Commander-API is a simple-to-use parser library, and you can easily use it to process character based commands and link them to a specified function. It is designed mainly to work with low memory capacity devices, for example, __small ARM or AVR processors__.
55

6-
## Changes in V2
6+
__Key changes in V2.1.0:__
7+
* AVR PROGMEM support.
8+
* Piping
9+
* Ready to use built-in commands
710

8-
Version 2.X is a more refined version of the original Commander-API. The original was working well, but it was a bit flimsy when you had to work with a huge API list.
9-
It also caused Hard-fault when the API tree was not created correctly. Besides that, if you wanted to add a new command, you had to change the header and the source
10-
file as well. The biggest problem was, that it was a C-API, so no overloading, no C++ magic.
11-
12-
The new version is designed from ground up and the main motivation was to make it as reliable as the original, but make it much simpler to use.
13-
14-
__Key changes:__
15-
* Full C++ API
16-
* Arduino compatible without any modifications
17-
* Platform-IO compatibility
18-
* Simpler usage
19-
* Better example
20-
* Low memory consumption to make it compatible with lower end devices like Arduino UNO, Nano...
21-
* Response function overload. Thanks to C++ the response function can be anything like Serial, WiFiClient...
11+
__Breaking changes in V2.1.0:__
12+
* The response channel is now uses the Stream class.
13+
This way it is more flexible and you doesn't have to
14+
create a class for every peripheral.
2215

2316
## Contributing
2417
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
2+
<!-- HTML footer for doxygen 1.9.2-->
3+
<!-- start footer part -->
4+
<!--BEGIN GENERATE_TREEVIEW-->
5+
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
6+
<ul>
7+
$navpath
8+
<li class="footer">
9+
10+
<a title="PlatformIO" href="https://registry.platformio.org/libraries/dani007200964/Commander-API">
11+
<img class="footer" src="platformio_logo.png" alt="PlatformIO" style="height:20px;width:auto;"/>
12+
</a> &nbsp;|&nbsp;
13+
14+
<a title="Arduino" href="https://www.arduino.cc/reference/en/libraries/commander-api/">
15+
<img class="footer" src="arduino_logo.png" alt="Arduino" style="height:20px;width:auto;"/>
16+
</a> &nbsp;|&nbsp;
17+
18+
<a title="Shellminator" href="https://github.com/dani007200964/Commander-API">
19+
<img class="footer" src="logo.svg" alt="Shellminator" style="height:20px;width:auto;"/>
20+
</a> &nbsp;|&nbsp;
21+
22+
<a title="Daniel Hajnal" href="mailto: [email protected]"> &copy; 2020-$year Daniel Hajnal </a> &nbsp;|&nbsp;
23+
<b>$projectname $projectnumber</b> &nbsp;|&nbsp; Generated by:
24+
<a href="http://www.doxygen.org/index.html">
25+
<img class="footer" src="$relpath^doxygen.svg" alt="doxygen"/>
26+
</a> on $date
27+
28+
<hr class="footer"/><address class="footer"><small>
29+
30+
<a title="PlatformIO" href="https://registry.platformio.org/libraries/dani007200964/Commander-API">
31+
<img class="footer" src="platformio_logo.png" alt="PlatformIO" style="height:20px;width:auto;"/>
32+
</a> &nbsp;|&nbsp;
33+
34+
<a title="Arduino" href="https://www.arduino.cc/reference/en/libraries/commander-api/">
35+
<img class="footer" src="arduino_logo.png" alt="Arduino" style="height:20px;width:auto;"/>
36+
</a> &nbsp;|&nbsp;
37+
38+
<a title="Shellminator" href="https://github.com/dani007200964/Commander-API">
39+
<img class="footer" src="logo.svg" alt="Shellminator" style="height:20px;width:auto;"/>
40+
</a> &nbsp;|&nbsp;
41+
42+
<a title="Daniel Hajnal" href="mailto: [email protected]"> &copy; 2020-$year Daniel Hajnal </a> &nbsp;|&nbsp;
43+
<b>$projectname $projectnumber</b> &nbsp;|&nbsp; Generated by:
44+
<a href="http://www.doxygen.org/index.html">
45+
<img class="footer" src="$relpath^doxygen.svg" alt="doxygen"/>
46+
</a> on $date
47+
48+
</small></address>
49+
</li>
50+
</ul>
51+
</div>
52+
<!--END GENERATE_TREEVIEW-->
53+
<!--BEGIN !GENERATE_TREEVIEW-->
54+
<hr class="footer"/><address class="footer"><small>
55+
<b>$projectname $projectnumber</b> &nbsp;|&nbsp; Updated on $date
56+
</small></address>
57+
<!--END !GENERATE_TREEVIEW-->
58+
</body>
59+
</html>

0 commit comments

Comments
 (0)