Commit Graph

21 Commits

Author SHA1 Message Date
prozessorkern d7962a54dc added busy mode and test
a command can now return SHELLMATTA_BUSY
This will be passed back to the caller of processData
afterwards the instance has to be called with the same parameters
The shellmatta will then just call the busy command until it finishes
as soon as the command returns != SHELLMATTA_BUSY the instance will continue processing the rest of the input data
2020-03-28 11:26:50 +01:00
prozessorkern 3b99ad2a56 fix #43 added a config interface to change the newline character expected 2020-03-27 18:35:07 +01:00
prozessorkern c2e4324236 bugfix - now stdin returns 0 if the heredoc body is empty 2020-03-26 05:55:38 +01:00
prozessorkern 17bb88d292 changed heredoc to exchange data via a stdin like interface with a read function fix #39 2020-03-22 20:37:08 +01:00
prozessorkern 2d130e2ee1 added long option parser fix #1 2020-03-22 18:57:31 +01:00
prozessorkern ecc43307af added first working option parser for short options 2020-03-16 22:08:06 +01:00
prozessorkern 60c4c7dadd added basic interface of the shellmatta option parser + started adding a test module 2020-03-08 22:02:51 +01:00
prozessorkern 2921f9791b fix #15 added an api to control mode and echo + fixed the implementation and added tests 2020-03-08 19:56:42 +01:00
prozessorkern bf1d91eca7 close #14 - added a resetShell api function + fixed some problems 2020-03-01 21:07:08 +01:00
prozessorkern d2617a4f86 close #31 - made all command parameter except the command name optional + added and fixed tests 2020-03-01 18:45:30 +01:00
prozessorkern c04accdb55 close #30 added overwritable help command parameter and fixed some compiler issues (some of them only appeared when compiling with optimization) 2020-03-01 17:53:27 +01:00
prozessorkern d1649e5e86 added remove api + small integratio test close #9 2020-02-03 21:35:20 +01:00
prozessorkern 34ec2d9b45 removed \e from sourcecode and testcases 2020-02-03 20:45:19 +01:00
prozessorkern 11bf2d2671 added some testcases
+ adapted makefile to delete coverage data from former runs
2019-12-05 22:55:28 +01:00
Stefan Strobel fe3c1e3a43 Added dummy testcases to integrate all source files into coverage meassurement 2019-12-05 17:55:03 +01:00
Stefan Strobel 3194012bae got rid of compiler warnings 2019-12-05 14:39:26 +01:00
prozessorkern 33e4e20474 added integration test for heredoc parsing 2019-07-30 23:55:46 +02:00
prozessorkern 5ff3bfa12e added some integration tests
to test the integrated shellmatta using only the external api
2019-07-28 22:28:54 +02:00
prozessorkern d65765371b added unit tests for several util functions 2019-07-27 16:31:19 +02:00
prozessorkern bafc178caf finished test of itoa 2019-06-27 22:56:03 +02:00
prozessorkern adcce55e83 added makefile to build an example, the documentation and the tests. Startet implementing Tests. 2019-06-25 23:37:13 +02:00