Commit Graph
100 Commits
Author SHA1 Message Date
onyx_online b35a29396b add -I flag for disabling >> on the interactive prompt
return early from parse_input() if input is a comment

add comments to example_commands.txt

upd README.

minor ver bump
2024-07-10 10:51:53 +01:00
onyx_online 39540e9c3e add pragma macros,
silences -Wcast-function-type
2024-07-09 15:57:38 +01:00
onyx_online af98dead75 swap blocks. 2024-07-09 15:11:48 +01:00
onyx_online ad91a7f4e6 log fatal exit points 2024-07-09 13:18:57 +01:00
onyx_online 8d9e70b79a patch bump 2024-07-09 13:14:52 +01:00
onyx_online d7d42e4b21 upd makefile to compile for c2x
replace fallthrough comment with fallthrough attribute
2024-07-09 12:59:46 +01:00
onyx_online babec7abbb revert func signatures, we're getting compile warnings anyway 2024-07-09 12:58:06 +01:00
onyx_online b2bdd21da5 add USAGE, OPTSTR macros
rename help() to usage()

log_warn() an unknown option

condense set_kind()
2024-07-09 12:43:32 +01:00
onyx_online 88fe1f5782 reword 2024-07-08 18:02:35 +01:00
onyx_online 82823687db minor bump 2024-07-08 18:01:10 +01:00
onyx_online 3d00c7dd4f upd parse_input() desc 2024-07-08 17:31:24 +01:00
onyx_online c95ff0e163 add :, delimiters to parse_input()
remove replace_blanks_with_single_space()
2024-07-08 17:29:23 +01:00
onyx_online 48bb15e8f2 upd util.h 2024-07-08 16:39:03 +01:00
onyx_online dc8a4036c8 upd utility functions 2024-07-08 16:01:14 +01:00
onyx_online 6b7e0afb91 add get desc 2024-07-08 08:45:14 +01:00
onyx_online 477267e278 add note about piping data to the CLI 2024-07-07 07:58:12 +01:00
onyx_online bc7568a191 bump wait after loading config by 50ms 2024-07-07 07:38:39 +01:00
onyx_online c5c9360d32 wait and then clear dirty parameters after loading a config 2024-07-07 07:01:03 +01:00
onyx_online 9ee3f42334 don't attempt to print a string result if parameter unknown 2024-07-07 06:30:20 +01:00
onyx_online 61d81b0abf fix docstring 2024-07-06 13:42:24 +01:00
onyx_online 03b45129dd fix link to Voicemeeter SDK license 2024-07-06 09:36:33 +01:00
onyx_online b4519cc2cc upd docstrings in util.c 2024-07-06 09:09:11 +01:00
onyx_online 19a3a16b74 rename vmr module to wrapper.
rename cdll module to ivmr

upd doc strings
2024-07-06 09:03:13 +01:00
onyx_online 09793afafa upd instruction for -c.
giving file name is unreliable.
2024-07-05 12:05:50 +01:00
onyx_online 8bdbfe9b04 change -p for -c, seems more intuitive 2024-07-05 11:28:29 +01:00
onyx_online f87977165a add -p flag for loading a user configuration file.
add -p explanation to README
2024-07-05 11:21:46 +01:00
onyx_online 36eadb4b58 remove func prototype 2024-07-05 10:51:26 +01:00
onyx_online 930093da7f add create_interface() to cdll.c.
Use it to initialize the dll interface and return a pointer to it.
2024-07-05 10:41:07 +01:00
onyx_online a28db25bcc define mb function pointers in the iVMR interface.
add trace logs for login, logout and mb functions
2024-07-04 12:19:04 +01:00
onyx_online 83a85fd7c5 add new typedef struct *PT_VMR
use it to pass around references to the iVMR instance
2024-07-04 09:14:14 +01:00
onyx_online f6437fcbe7 make static 2024-07-03 17:52:08 +01:00
onyx_online fb54c4a492 fixes compiler error 'Incompatible pointer types' 2024-07-03 15:25:16 +01:00
onyx_online 8aeb793a41 fixes compiler error 'Forward declaration of enums' 2024-07-03 15:24:44 +01:00
onyx_online b6b4b04a8a upd includes 2024-07-03 13:57:58 +01:00
onyx_online b7fa15d87d log_warn an incorrect -D arg.
log_fatal possible exit points.
2024-07-03 12:58:34 +01:00
onyx_online b95c40265c fix s flag in help message 2024-07-02 17:59:44 +01:00
onyx_online 4b64ae95fd add -m flag for launching macrobuttons app.
add -s flag for launching streamerview app

add -m, -s flags to Use section in README.
2024-07-02 17:49:51 +01:00
onyx_online f8d2f80cbf remove the extra call to version 2024-07-02 14:49:42 +01:00
onyx_online 4b79b7f849 add -= example to README 2024-07-02 12:00:16 +01:00
onyx_online 3ec98ea391 add note about += and -= to README
add increment/decrement instructions to example_commands
2024-07-02 11:55:34 +01:00
onyx_online faad5bc2c8 add doc comments 2024-07-02 11:15:17 +01:00
onyx_online cc0ec73ef4 fix help dialogue 2024-07-02 10:25:25 +01:00
onyx_online c45df11286 add -v flag to README use section 2024-07-02 10:24:07 +01:00
onyx_online a383aaa36b reword
add link defs
2024-07-02 10:21:37 +01:00
onyx_online 28945b72c5 modify example_commands to show multiple instructions per line
Add note in README about change.
2024-07-02 10:14:25 +01:00
onyx_online 97fc9ca9ce use strtok to walk through the input string
vflag added for extra console output (toggle, set operations)
2024-07-02 10:13:37 +01:00
onyx_online 12a55a52f2 Merge branch 'main' of https://github.com/onyx-and-iris/vmrcli 2024-07-01 07:35:35 +01:00
onyx_online d4afbfa881 upd heading 2024-07-01 07:35:32 +01:00
onyx_online ea1f05d323 remove shift one char 2024-07-01 04:43:15 +01:00
onyx_online 900ed23ebf Create LICENSE 2024-07-01 03:46:09 +01:00
onyx_online 815a19210b protect against unsafe gain changes 2024-07-01 03:40:33 +01:00
onyx_online adaf3a7837 break up long line 2024-06-29 03:08:03 +01:00
onyx_online 1199b31e2c extra X64 kinds added to enum kind
log message updated to reflect new kinds

replace_multiple_space_with_one() now returns new line length

kind_as_string() added to util.c
2024-06-29 03:05:51 +01:00
onyx_online 2740c6c82d move remove_name_in_path() into util.c
add version_as_string() to util.c
2024-06-28 03:21:38 +01:00
onyx_online 0bda368f59 add -h flag to help dialogue
add -h flag to Use section in README

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