Commit Graph

53 Commits

Author SHA1 Message Date
49604b874b ensure we don't step past the NUL terminator here. 2024-06-28 01:54:04 +01:00
161b1061c4 remove unnecessary args in log_trace calls
ensure we shift a char after copying next command from input buffer
2024-06-28 01:23:40 +01:00
3c46b3d9f3 Use VBVMR_GetParameterStringW instead of VBVMR_GetParameterStringA
update struct result definition

fixes bug with unknown parameters
2024-06-27 23:26:46 +01:00
accab93fba reword 2024-06-27 23:09:10 +01:00
947abb3c01 clear the input buffer before reading from stdin again 2024-06-27 23:07:29 +01:00
e06a26f87b add Build section to README. 2024-06-27 23:02:34 +01:00
25bf542b46 add conditional override var LOG_USE_COLOR to makefile 2024-06-27 22:57:35 +01:00
50271edd8f add log_trace message while traversing input buffer 2024-06-27 22:56:58 +01:00
41bf1322ac add Interactive Mode section to README. 2024-06-27 22:07:53 +01:00
f88fb9b994 pass len of input to replace_multiple_space_with_one()
add an input prompt to interactive mode
2024-06-27 22:06:15 +01:00
9191a38745 readd comment 2024-06-27 19:20:21 +01:00
1d71f38d39 add utility function replace_multiple_space_with_one()
use it to parse the interactive input
2024-06-27 19:18:28 +01:00
2dda32ead9 up clean target 2024-06-27 10:28:09 +01:00
f60fdb4ed2 rename iVMR to vmr in vmr.c
update get() prototype. no need to return pointer.
2024-06-27 10:06:22 +01:00
6567c2c610 write error messages using log_error 2024-06-27 08:27:49 +01:00
41afc099dc sleep after, set to 50ms 2024-06-27 03:39:52 +01:00
7db10650fb do..while, sleep before first call to version() 2024-06-27 03:31:26 +01:00
06df144374 fix log_trace messages 2024-06-27 03:23:48 +01:00
35ec276979 add login timeout
print the API version to info string
2024-06-27 02:51:27 +01:00
744f0d64df print float values to 1 dp 2024-06-27 02:00:17 +01:00
760924def8 upd README 2024-06-27 01:18:25 +01:00
7b7d4fc2c7 add log trace messages to vmr.c 2024-06-27 01:18:17 +01:00
0b6e0800ce default log level to LOG_WARN
write message to stderr if -D flag out of range
2024-06-27 01:17:59 +01:00
4488a386b8 move includes into header guards 2024-06-27 01:17:09 +01:00
9863ca6dca remove EOF check 2024-06-26 20:17:33 +01:00
cd11b26ad8 add -D flag to help() output 2024-06-26 19:31:08 +01:00
71e06ac646 fix script files example 2024-06-26 19:03:21 +01:00
050a4d9e60 add link to api documentation 2024-06-26 18:37:52 +01:00
694a4dbc65 add ./ 2024-06-26 18:34:05 +01:00
3f8ed17176 reword 2024-06-26 18:30:47 +01:00
1e54903318 add special thanks section to readme 2024-06-26 18:15:46 +01:00
46df232456 add set strip 0 label in example_commands 2024-06-26 17:19:33 +01:00
9b6733a7f7 add example_commands.txt
add Debug flag to Script files example
2024-06-26 17:17:11 +01:00
85a47098e1 add API Commands section to README 2024-06-26 17:13:04 +01:00
276d34feb9 add README 2024-06-26 17:00:54 +01:00
6373d78c52 print help() if only program name passed 2024-06-26 16:58:10 +01:00
7edb4df30e add logging 2024-06-26 16:44:28 +01:00
7d33496c1d make iVMR automatic 2024-06-26 06:01:01 +01:00
3e9b0e91f7 allow interactive mode to parse multiple api calls in one go 2024-06-26 05:54:13 +01:00
69d28822dd upd mdirty name too 2024-06-26 05:07:06 +01:00
f1e059c5ca rename pdirty() to is_pdirty() 2024-06-26 05:05:13 +01:00
6d583b97e1 remove MAX_LABEL_LEN, use MAX_LINE only 2024-06-26 05:00:30 +01:00
529fb413f1 implement toggle 2024-06-26 00:03:50 +01:00
41c44db837 add MAX_LABEL_LEN macro 2024-06-25 23:34:25 +01:00
304f26d64c add parse_command
implement get logic
2024-06-25 23:32:32 +01:00
e986a3e388 fix logout message 2024-06-25 20:41:17 +01:00
9046d50446 add help() 2024-06-25 20:01:38 +01:00
73b6a1d7b6 test rep value explicitly 2024-06-25 17:22:46 +01:00
45496452c5 make uninstDirKey and G_H_Module automatic 2024-06-25 17:22:33 +01:00
e7ea31eb21 check length of string for 'Q' 2024-06-25 17:08:31 +01:00