Commit Graph

28 Commits

Author SHA1 Message Date
prozessorkern 16365f341e changed heredoc support
now the input string is kept intact until the end of the input is reached
this enables the history buffer to store the complete command
Still broken:
history buffer with heredoc wont execute because the delimiter is not determined correctly
editing of multiline things
2019-07-30 23:55:12 +02:00
prozessorkern 280e512746 added basic heredoc function
Some things are broken:
navigation in multiline inputs
history buffer for multiline inputs
some things not been noticed yet
2019-07-29 01:30:16 +02:00
prozessorkern fc8a34dd1c Merge branch 'develop' into feature/add_tests_#5 2019-07-28 22:50:23 +02:00
shimatta ad60578aab Merge branch 'bugfix/#18-lengt-of-commands-not-checked' of shimatta/shellmatta into develop
fix #18 added length check in command parser
2019-07-28 22:35:47 +02:00
prozessorkern 21212d05b8 determine the length of the input command abd compare the length with the length of the known commands 2019-07-28 22:33:45 +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 e5bf8572c2 fixed broken forward cursor fix #17 2019-07-27 16:39:37 +02:00
prozessorkern d65765371b added unit tests for several util functions 2019-07-27 16:31:19 +02:00
prozessorkern f65f86d8e2 Merge branch 'develop' into feature/add_tests_#5 2019-06-27 23:00:32 +02:00
prozessorkern 5b6f2155eb parse command only until strlen(cmd) fix #16 2019-06-27 22:58:25 +02:00
prozessorkern bafc178caf finished test of itoa 2019-06-27 22:56:03 +02:00
prozessorkern 175bb7bafb Merge branch 'develop' into feature/add_tests_#5 2019-06-26 22:05:10 +02:00
prozessorkern b71f1afe11 ignore newline as first character fix #13 2019-06-26 22:00:55 +02:00
prozessorkern 0b52a2f246 use the right pointer to insert the new command fix #12 2019-06-26 21:54:15 +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
prozessorkern 4dd1b0638f fix #4 2019-06-24 23:32:40 +02:00
prozessorkern 6b1d550e6b moved all separatable functions in seperate modules. The main module shellmatta.c now only contains the interface function implementation. Work on #4 2019-06-24 23:31:26 +02:00
prozessorkern f3b03b80d3 fix #10 2019-06-24 19:00:29 +02:00
prozessorkern 8078a436e8 fixed an issue in the itoa implementation for base > 10 #10 2019-06-24 18:54:35 +02:00
prozessorkern 4546cdf9bd added own itoa function to remove snprintf - fixed a bug on the processing of key end #10 2019-06-24 18:08:24 +02:00
prozessorkern bc8a9f1dce #10 - added documentation for the new write function 2019-06-24 17:11:22 +02:00
shimatta ad7d4c39c4 Merge branch '#10_minimal_configuration_without_printf' of shimatta/shellmatta into develop 2019-06-24 17:01:52 +02:00
prozessorkern 424ca84f61 Removed all internal printf dependencies should solve #10.
Added a switch to strip the api printf implementation
Added a write function as alternative to printf.
2019-06-24 16:51:23 +02:00
prozessorkern 7344075ad1 Finished first Version
- fixed doxygen comments
- changed license to MPLv2
- fixed some functions and removed not used ones
2019-06-23 22:17:15 +02:00
prozessorkern bf7f366cb6 implemented most text based functions:
- byte wise processing and call of the command function
- history buffer
- auto complete
- edit functions (backspace, del, arrow keys, pos1, end)
2019-06-21 04:47:35 +02:00
prozessorkern 799903dcc1 added license information and started adding doxygen comments 2019-06-16 22:03:27 +02:00
prozessorkern f15b7473a9 initial commit with at least some code that does something 2019-06-10 22:34:12 +02:00
shimatta 3d60361bc5 Initial commit 2019-06-10 17:04:24 +02:00