Commit graph

257 commits

Author SHA1 Message Date
18924adac4 Merge pull request 'Use comptime for fully declarative LV2 and Custom commands' (#14) from declarative-commands into master
Reviewed-on: #14
2020-06-02 21:37:46 +00:00
6d8614e678 revert cloned runner using parsed cmd list 2020-06-02 17:25:03 -03:00
af0ea574e1 remove default value for Runner.repl field 2020-06-02 17:16:02 -03:00
1b59705eae cloned runners inherit repl flag from parent 2020-06-02 17:15:50 -03:00
a2ea8fb53e make args live through lifetime of runner
we just assign cloned runners the args of the parent runner and don't
free the parent's, maintaining okay memory usage.
2020-06-02 17:12:34 -03:00
c78ca9dd5b refactor argument fetching for load cmd 2020-06-02 16:59:53 -03:00
dc98c7a22f use better seed 2020-06-02 16:59:36 -03:00
aeb76fe6c0 add more possibilities on temporary file paths 2020-06-02 16:35:42 -03:00
542ba75b01 make repl cloned runner run the runqs cmd 2020-06-02 16:16:49 -03:00
c7eb70a06f ignore lines without commands 2020-06-02 16:16:43 -03:00
0240b10a3c close handles while making temporary paths 2020-06-02 16:11:30 -03:00
d6c92c0231 add split and index when printing custom/lv2 cmds 2020-06-02 16:00:54 -03:00
5235482ab4 print float parameters with decimal notation 2020-06-01 23:58:56 -03:00
ee7ffd1be7 move repl commands to the heap 2020-06-01 23:10:30 -03:00
0453f37305 add noop, runqs support to runner 2020-06-01 22:47:21 -03:00
7f008db540 part 2 of printing commands 2020-06-01 22:45:35 -03:00
b06bab9ec5 remove unecessary compileError call 2020-06-01 22:35:29 -03:00
f973d6807d add basics of printing under new command structure 2020-06-01 22:35:16 -03:00
128f58c502 re-enable repl 2020-06-01 22:35:07 -03:00
e71eba583e make load command own its path memory 2020-06-01 22:34:56 -03:00
9cb82e3180 remove unecessary code 2020-06-01 22:34:48 -03:00
b00ab8e839 remove the big switch when printing commands 2020-06-01 22:14:12 -03:00
0b816a512e lang: remove unused declarations 2020-06-01 22:08:01 -03:00
b0525f2386 add proper support on rotateCmd for lang.Command.Rotate 2020-06-01 22:06:15 -03:00
54919110a5 refactor: remove 'new' prefix from functions 2020-06-01 21:54:10 -03:00
76b353e593 remove code for old runner commands 2020-06-01 21:51:51 -03:00
b238517b33 update symbols for Dyncomp 2020-06-01 21:41:10 -03:00
36937a5fde remove ParamMap creation from runner 2020-05-31 22:28:10 -03:00
72379e63ee add support for more types on lv2 parameter structs 2020-05-31 22:27:56 -03:00
690ab89cfd allow any typed command to use lv2 param parse logic 2020-05-31 22:27:38 -03:00
30da41293a fix type defs for noise cmds 2020-05-31 22:27:24 -03:00
89afa8af10 convert from ParamMap to ducktyped param struct 2020-05-31 22:27:11 -03:00
9801e303c0 flatten switch values 2020-05-31 21:55:48 -03:00
2b4f428890 fix typo 2020-05-31 21:55:44 -03:00
83996b889f make rotate not be a typed command 2020-05-31 21:55:27 -03:00
10b2c69605 fix typos 2020-05-31 21:55:22 -03:00
303a40758d make custom plugins always receive ParamMap 2020-05-31 21:55:03 -03:00
1c1e525b1d add support for plugin command types 2020-05-31 21:47:31 -03:00
1fac8c7312 fix putting KV on a string 2020-05-31 21:40:31 -03:00
e8808c501b make Embed follow existing custom plugin structure 2020-05-31 21:38:18 -03:00
e669b74ffb add CustomCommand function 2020-05-31 21:34:49 -03:00
ca751e58f7 add draft declarations for custom commands 2020-05-31 21:33:19 -03:00
82dc99d7d5 remove unecessary switch 2020-05-31 21:26:27 -03:00
d9358ed794 add lv2 parameter validation 2020-05-31 21:25:25 -03:00
8ce844ceed add validation for split/index args 2020-05-31 21:10:43 -03:00
7543ecafaa remove unused blocks of code 2020-05-31 18:30:39 -03:00
325e7b1102 add support for the rest of lv2 commands 2020-05-31 18:29:42 -03:00
0de2d05fa3 fix detune command definition 2020-05-31 17:54:43 -03:00
3a7009f9bf convert more commands to new form 2020-05-31 17:53:33 -03:00
c6c31f5a60 rename NewCommand to Command 2020-05-31 17:18:36 -03:00