Skip to content

Commit 491cac6

Browse files
committed
API changes.
* strncpy problem fixed. * Better looking pipes. * pipe module can be optionally enabled or disabled. * Every function command has to bee a boolean return type from now. * Documentation changes. * Performance optimalizations to use less dynamic memory. * echo, env functionality improoved. * export and exportTarget commands are added to modify system variables.
1 parent 26496d2 commit 491cac6

File tree

1,142 files changed

+35390
-69584
lines changed

Some content is hidden

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

1,142 files changed

+35390
-69584
lines changed

.vscode/settings.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
"xtr1common": "cpp",
66
"compare": "cpp",
77
"utility": "cpp",
8-
"xutility": "cpp"
8+
"xutility": "cpp",
9+
"cmath": "cpp",
10+
"initializer_list": "cpp"
911
}
1012
}

CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ set( SOURCES
3737
src/Commands/Commander-API-Analog-IO-Commands.cpp
3838
src/Commands/Commander-API-System-Commands.cpp
3939
src/Commands/Commander-API-Neofetch-Command.cpp
40+
src/Commands/Commander-API-Math-Commands.cpp
4041
src/Commander-API-Commands.hpp
4142
src/Commander-API.cpp
4243
src/Commander-API.hpp
@@ -121,6 +122,7 @@ if( BUILD_EXAMPLES )
121122
add_executable( Help ${SOURCES} ${CUSTOM_COMMANDS} extras/examples_desktop/Desktop/Help/Help.cpp )
122123
add_executable( Interactive ${SOURCES} ${CUSTOM_COMMANDS} extras/examples_desktop/Desktop/Interactive/Interactive.cpp )
123124
add_executable( Neofetch ${SOURCES} ${CUSTOM_COMMANDS} extras/examples_desktop/Desktop/Neofetch/Neofetch.cpp )
125+
add_executable( Piping ${SOURCES} ${CUSTOM_COMMANDS} extras/examples_desktop/Desktop/Piping/Piping.cpp )
124126
add_executable( Systemvariables ${SOURCES} ${CUSTOM_COMMANDS} extras/examples_desktop/Desktop/Systemvariables/Systemvariables.cpp )
125127
endif()
126128
if( BUILD_WEBASSEMBLY )
@@ -154,6 +156,9 @@ if( BUILD_WEBASSEMBLY )
154156
add_executable( Neofetch ${SOURCES} ${CUSTOM_COMMANDS} extras/examples_emscripten/Emscripten/Neofetch/Neofetch.cpp )
155157
target_link_options( Neofetch PUBLIC -sNO_EXIT_RUNTIME=1 -sFORCE_FILESYSTEM=1 -sRETAIN_COMPILER_SETTINGS -sASYNCIFY )
156158

159+
add_executable( Piping ${SOURCES} ${CUSTOM_COMMANDS} extras/examples_emscripten/Emscripten/Piping/Piping.cpp )
160+
target_link_options( Piping PUBLIC -sNO_EXIT_RUNTIME=1 -sFORCE_FILESYSTEM=1 -sRETAIN_COMPILER_SETTINGS -sASYNCIFY )
161+
157162
add_executable( Systemvariables ${SOURCES} ${CUSTOM_COMMANDS} extras/examples_emscripten/Emscripten/Systemvariables/Systemvariables.cpp )
158163
target_link_options( Systemvariables PUBLIC -sNO_EXIT_RUNTIME=1 -sFORCE_FILESYSTEM=1 -sRETAIN_COMPILER_SETTINGS -sASYNCIFY )
159164

Doxyfile

Lines changed: 7 additions & 7 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.1.0
51+
PROJECT_NUMBER = V3.0.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 = C:/Users/dani0/Documents/Programok/Commander-API/docs/images/logo.svg
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
@@ -2479,7 +2479,7 @@ HAVE_DOT = YES
24792479
# Minimum value: 0, maximum value: 32, default value: 0.
24802480
# This tag requires that the tag HAVE_DOT is set to YES.
24812481

2482-
DOT_NUM_THREADS = 0
2482+
DOT_NUM_THREADS = 1
24832483

24842484
# DOT_COMMON_ATTR is common attributes for nodes, edges and labels of
24852485
# subgraphs. When you want a differently looking font in the dot files that
@@ -2551,7 +2551,7 @@ GROUP_GRAPHS = YES
25512551
# The default value is: NO.
25522552
# This tag requires that the tag HAVE_DOT is set to YES.
25532553

2554-
UML_LOOK = NO
2554+
UML_LOOK = YES
25552555

25562556
# If the UML_LOOK tag is enabled, the fields and methods are shown inside the
25572557
# class node. If there are many fields or methods and many nodes the graph may
@@ -2564,7 +2564,7 @@ UML_LOOK = NO
25642564
# Minimum value: 0, maximum value: 100, default value: 10.
25652565
# This tag requires that the tag UML_LOOK is set to YES.
25662566

2567-
UML_LIMIT_NUM_FIELDS = 10
2567+
UML_LIMIT_NUM_FIELDS = 50
25682568

25692569
# If the DOT_UML_DETAILS tag is set to NO, doxygen will show attributes and
25702570
# methods without types and arguments in the UML graphs. If the DOT_UML_DETAILS
@@ -2692,7 +2692,7 @@ INTERACTIVE_SVG = YES
26922692
# found. If left blank, it is assumed the dot tool can be found in the path.
26932693
# This tag requires that the tag HAVE_DOT is set to YES.
26942694

2695-
DOT_PATH =
2695+
DOT_PATH = "C:\Program Files\Graphviz\bin"
26962696

26972697
# The DOTFILE_DIRS tag can be used to specify one or more directories that
26982698
# contain dot files that are included in the documentation (see the \dotfile
@@ -2741,7 +2741,7 @@ PLANTUML_INCLUDE_PATH =
27412741
# Minimum value: 0, maximum value: 10000, default value: 50.
27422742
# This tag requires that the tag HAVE_DOT is set to YES.
27432743

2744-
DOT_GRAPH_MAX_NODES = 50
2744+
DOT_GRAPH_MAX_NODES = 100
27452745

27462746
# The MAX_DOT_GRAPH_DEPTH tag can be used to set the maximum depth of the graphs
27472747
# generated by dot. A depth value of 3 means that only nodes reachable from the

docs/html/Argumentbasic.html

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

0 commit comments

Comments
 (0)