Commit Graph

40 Commits

Author SHA1 Message Date
57112fd90a added a timeout to the login method
module Util::Timeout added, prepends Base
2024-06-28 10:59:34 +01:00
42baa543fc switch send for public_send 2023-08-31 22:54:08 +01:00
85dce0061c reword docstrings 2023-08-29 14:07:52 +01:00
330a1507c9 make docstrings rdoc compatible 2023-08-29 11:21:05 +01:00
fe1de43250 add on method for registering blocks
examples updated
2023-08-18 00:27:43 +01:00
e989e72e51 move all require statements into top level file 2023-08-11 00:49:59 +01:00
b207e7cc24 test vban direction in apply() 2023-08-10 21:57:03 +01:00
10a4eade93 use array 2023-08-10 20:37:47 +01:00
2ca66a5925 raise a KeyError if the config key is invalid 2023-08-09 17:43:52 +01:00
7d25662191 remove running attr_reader 2023-08-05 23:10:51 +01:00
00cc4c9547 push @running into que when terminating threads 2023-08-03 18:45:42 +01:00
cb09e5ea2d ues catch, throw construct in clear_dirty 2023-08-02 16:37:35 +01:00
910c480efd implement sendtext (VBVMR_SetParameters) 2023-08-02 14:57:28 +01:00
209e4298aa syntax changes 2023-08-01 23:41:23 +01:00
2c5783b1a1 use 'and' control flow operator
add debug log message if caller was login method
2023-07-31 15:16:19 +01:00
45370cb234 fixes bug reading zero values.
(input with index 0, velocity 0 etc)
2023-07-29 18:11:52 +01:00
eaa9436081 mixin Callback module
observers should now be registered directly onto vm object

example updated to reflect changes
2023-07-28 18:51:15 +01:00
ce27f46a47 Mixin IRemote methods
added docstrings
2023-07-27 10:58:26 +01:00
bee166f354 prepend Util::Cache 2023-07-26 14:12:47 +01:00
dced3bc183 forward Remote args with triple dot 2023-07-25 10:03:43 +01:00
a05cf510f7 typo 2023-07-23 11:21:50 +01:00
89a9d4947c use numbered parameter in _get_levels 2023-07-22 13:26:19 +01:00
ce8c82a2ca add init_event_threads, end_event_threads
to Worker module.

run now handles init/end event threads
2023-07-21 14:37:17 +01:00
ba64d8fd4a observer alias for callback added 2023-07-20 09:50:31 +01:00
d5f1dd7814 get method added to BusMode class 2023-07-18 10:34:51 +01:00
e5be645818 fixes bug reading midi values 2023-07-18 07:30:04 +01:00
721fb53012 added delay reader method 2023-07-17 19:59:49 +01:00
2efd07b3d5 snakecase, camelcase functions moved into
Util::String

module Cache added.
2023-07-17 14:13:08 +01:00
eb4920f4a5 POTATOX64 added to KindEnum 2023-07-17 08:41:03 +01:00
ac7d9c0d03 Events::Callback now a class
on_event method renamed to trigger

events example updated to reflect changes to Events module
2023-07-17 08:34:34 +01:00
2e69321aca make register a private method 2023-07-16 22:33:50 +01:00
f14a549c03 now using standard Ruby logger module
easy_logging removed from dependencies

@configs now raises error on invalid key
2023-07-16 11:08:24 +01:00
3c59c5d41c typo fix 2023-07-15 00:16:10 +01:00
c0d2379b62 ensure we initialize comp arrays
use zip,map to calculate comps
2023-07-14 21:03:40 +01:00
4b311520d4 add FileReader class to configs.rb
handles reading from yml and storing into configs hash
2023-07-14 14:37:49 +01:00
e3b72b9c45 run files through standard 2023-07-14 11:44:49 +01:00
5cb70d3ade ldirty? added
_get_levels added

event theads now use a queue class
2023-07-14 01:49:26 +01:00
875a5b6a23 override attach_function in CBindings
rename bindings in Base class
2023-07-09 23:48:35 +01:00
abd64034b1 apply(), apply_config() implemented
version now printed in login logger.info string
2023-07-09 05:48:08 +01:00
02e4e3cd50 base class that all Remote clases will subclass
provides a wrapper around the C-API bindings
2023-07-07 02:30:49 +01:00