Commit graph

30 commits

Author SHA1 Message Date
46bc7347a7 Corrected license 2017-01-03 18:24:08 +01:00
c9356571e8 Corrected CMakeLists.txt for new directory structure. Corrected snippet for the same reason. 2017-01-03 18:21:29 +01:00
fb9be77a50 Snippet and aur PKGBUILD are now in the main repository 2016-05-29 16:45:34 +02:00
025e95c020 Added pipe support for threaded commands via the pipe() function. README updated. 2016-05-21 18:30:50 +02:00
40f2b2ee6b Corrected some memory leaks at exit due to stringToArgcArgv(). 2016-05-01 16:50:53 +02:00
dd2e2ad50b Fixed README.md 2016-04-23 13:24:50 +02:00
5d68248b18 Renamed some functions and variables in SIGINT handling. README updated. Removed "using" directives in the headers. Input, output and error streams are now fields
of  Shell. stringToArgcArgv has its own namespace.
2016-04-23 13:03:53 +02:00
f6c3135c27 Options handling rewritten with usage of popt.h. fixed #1 with stringtoargcargv.cpp. The command arguments are now passed as struct mshconsole::Params. Readme
updated in oreder to mention stringtoargcargv.cpp.
2016-04-16 19:29:51 +02:00
709a2e6c1c Continued work on options. New interface and imprementation. The new interface allows shortOptions with string values, but this is still not implemented. Added
operator for parsing elements in Datas easily. fixed #2.
2016-04-06 21:50:46 +02:00
00d937f28c Started work on automated option (flags) handling. Current code is incomplete. 2016-04-02 16:28:03 +02:00
9e5ab340d9 Added in .gitignore build directories 2016-03-20 12:04:49 +01:00
e6cf99dd92 Merge branch 'master' of https://github.com/praticamentetilde/msh-console
Merge
2016-03-18 18:50:22 +01:00
854b218cb4 Moved snippet in msh-console-snippet repository. All the code in the library is in the namespace mshconsole. Added CommandExecutor::exit() for exiting from the
shell.
2016-03-18 18:48:16 +01:00
3418ca5aac Updated README.md 2016-03-16 21:30:52 +01:00
e96a300f8e Removed old files 2016-03-16 21:20:15 +01:00
75dc64a462 Switched to cmake compilation for compiling msh-console-library as a shared library. Changed exit built-in in the
snippet: now it use std::exit().
2016-03-16 21:15:24 +01:00
161f49899d Merge branch 'master' of https://github.com/praticamentetilde/msh-console
Merge
2016-03-16 10:03:14 +01:00
66bdc4c21d Removed commands lock for one object. Added possibility to add postSetup on the shell. Added getters and setters for
the setup and the postSetup.
2016-03-16 10:01:24 +01:00
b55530d66c Created license.md licensing with the unlicense 2016-03-13 21:03:36 +01:00
13db9109d9 Command functions have now a CommandExecutor* arg, parent of Shell class. Added possibility to make a threadCommand (a built-in command that runs in his thread). 2016-03-13 17:16:34 +01:00
e9e95a519d Moved class Commands inside class Shell. Shell::loop() renamed in Shell::launch(). A Shell::launch() inside the shell setup function now causes a
ShellLaunchInSetupException
2016-03-12 18:58:01 +01:00
41f5acc37b Merge branch 'master' of https://github.com/praticamentetilde/msh-console
Merge
2016-03-11 17:46:27 +01:00
be21596994 moved all console functions in class Shell 2016-03-11 17:45:15 +01:00
34b45d76f4 Create readme.md
with credits for the code at the base
2016-03-11 16:20:26 +01:00
5445df8e3a Removed credits for moving into readme 2016-03-11 16:15:36 +01:00
6c010f3c50 All console functions previously labeled msh_* are now in Commands namespace 2016-03-11 16:13:04 +01:00
604f9cccb5 Removed .pro.user file from qtcreator 2016-03-11 15:53:51 +01:00
905766b3a9 First serious commit: added source already developed 2016-03-11 15:49:24 +01:00
ed204e9a28 setting up 2016-03-11 15:41:28 +01:00
99cb6439f8 Initial commit 2016-03-11 15:40:32 +01:00