Commit Graph

260 Commits

Author SHA1 Message Date
Luna 0453f37305 add noop, runqs support to runner 2020-06-01 22:47:21 -03:00
Luna 7f008db540 part 2 of printing commands 2020-06-01 22:45:35 -03:00
Luna b06bab9ec5 remove unecessary compileError call 2020-06-01 22:35:29 -03:00
Luna f973d6807d add basics of printing under new command structure 2020-06-01 22:35:16 -03:00
Luna 128f58c502 re-enable repl 2020-06-01 22:35:07 -03:00
Luna e71eba583e make load command own its path memory 2020-06-01 22:34:56 -03:00
Luna 9cb82e3180 remove unecessary code 2020-06-01 22:34:48 -03:00
Luna b00ab8e839 remove the big switch when printing commands 2020-06-01 22:14:12 -03:00
Luna 0b816a512e lang: remove unused declarations 2020-06-01 22:08:01 -03:00
Luna b0525f2386 add proper support on rotateCmd for lang.Command.Rotate 2020-06-01 22:06:15 -03:00
Luna 54919110a5 refactor: remove 'new' prefix from functions 2020-06-01 21:54:10 -03:00
Luna 76b353e593 remove code for old runner commands 2020-06-01 21:51:51 -03:00
Luna b238517b33 update symbols for Dyncomp 2020-06-01 21:41:10 -03:00
Luna 36937a5fde remove ParamMap creation from runner 2020-05-31 22:28:10 -03:00
Luna 72379e63ee add support for more types on lv2 parameter structs 2020-05-31 22:27:56 -03:00
Luna 690ab89cfd allow any typed command to use lv2 param parse logic 2020-05-31 22:27:38 -03:00
Luna 30da41293a fix type defs for noise cmds 2020-05-31 22:27:24 -03:00
Luna 89afa8af10 convert from ParamMap to ducktyped param struct 2020-05-31 22:27:11 -03:00
Luna 9801e303c0 flatten switch values 2020-05-31 21:55:48 -03:00
Luna 2b4f428890 fix typo 2020-05-31 21:55:44 -03:00
Luna 83996b889f make rotate not be a typed command 2020-05-31 21:55:27 -03:00
Luna 10b2c69605 fix typos 2020-05-31 21:55:22 -03:00
Luna 303a40758d make custom plugins always receive ParamMap 2020-05-31 21:55:03 -03:00
Luna 1c1e525b1d add support for plugin command types 2020-05-31 21:47:31 -03:00
Luna 1fac8c7312 fix putting KV on a string 2020-05-31 21:40:31 -03:00
Luna e8808c501b make Embed follow existing custom plugin structure 2020-05-31 21:38:18 -03:00
Luna e669b74ffb add CustomCommand function 2020-05-31 21:34:49 -03:00
Luna ca751e58f7 add draft declarations for custom commands 2020-05-31 21:33:19 -03:00
Luna 82dc99d7d5 remove unecessary switch 2020-05-31 21:26:27 -03:00
Luna d9358ed794 add lv2 parameter validation 2020-05-31 21:25:25 -03:00
Luna 8ce844ceed add validation for split/index args 2020-05-31 21:10:43 -03:00
Luna 7543ecafaa remove unused blocks of code 2020-05-31 18:30:39 -03:00
Luna 325e7b1102 add support for the rest of lv2 commands 2020-05-31 18:29:42 -03:00
Luna 0de2d05fa3 fix detune command definition 2020-05-31 17:54:43 -03:00
Luna 3a7009f9bf convert more commands to new form 2020-05-31 17:53:33 -03:00
Luna c6c31f5a60 rename NewCommand to Command 2020-05-31 17:18:36 -03:00
Luna 8e0ebbe5e0 remove old Command struct 2020-05-31 17:16:57 -03:00
Luna d09603c005 add runner support for LV2Command() spec 2020-05-31 17:11:40 -03:00
Luna 5412934f27 fix fetching of non-lv2 params 2020-05-31 17:11:32 -03:00
Luna b5512c45fb fix fetching of lv2 params 2020-05-31 17:11:26 -03:00
Luna dd1b493da2 fix typo 2020-05-31 17:11:17 -03:00
Luna dca5d7b644 parse lv2 commands' split/index automatically 2020-05-31 17:08:35 -03:00
Luna b21960d372 remove unused code off parser 2020-05-31 16:57:12 -03:00
Luna 94c9695110 add helper to make lv2 command structs 2020-05-31 16:55:50 -03:00
Luna f9c1851734 add support for generic lv2 command running 2020-05-31 15:20:19 -03:00
Luna 9c6387973f convert command list to ptr command list, fixing mem issues 2020-05-30 23:57:42 -03:00
Luna d518369314 add random debug statements 2020-05-30 23:57:34 -03:00
Luna 7d519b73b6 add runner support on command cast 2020-05-30 22:56:45 -03:00
Luna 6497fc1dd8 add split/index decls to Amp, RFlanger 2020-05-30 22:42:41 -03:00
Luna eb18d01cdd copy struct base tag into command base tag 2020-05-30 22:39:52 -03:00
Luna 47a97636cd enable command debug printing 2020-05-30 22:39:45 -03:00
Luna c3b83c3e4b replace f64 to f32 on some commands 2020-05-30 22:29:13 -03:00
Luna f20079b807 disable codepaths not supporting new commands 2020-05-30 22:25:43 -03:00
Luna 154032f9b1 revamp command structure for tags and base types 2020-05-30 22:25:30 -03:00
Luna 27f499dfbb add basics of generic command parsing 2020-05-30 17:48:14 -03:00
Luna d86e9efe43 add main command struct and make fillKeywords mostly-comptime 2020-05-30 16:57:00 -03:00
Luna e462b4e9d6 fix for latest zig 2020-05-30 15:56:58 -03:00
Luna c8f949fe96 remove embedded magick_wand in favor of cimport 2020-05-12 17:48:20 -03:00
Luna 3de84b5a23 finish arraylist updates 2020-05-12 17:48:15 -03:00
Luna 0c2cd5638e update because of arraylist api changes 2020-05-12 17:26:46 -03:00
Luna 043556e798 Update README on new env var 2020-04-10 00:20:46 -03:00
Luna 9614b96c71 Add SCRITCHER_RUNNER env var
Closes #13
2020-04-10 00:01:23 -03:00
Luna 8bb09f1573 fixes for latest zig
- arraylist breaking changes
 - mem.separate => mem.split
 - heap.page_allocator
2020-04-09 23:51:33 -03:00
Luna 8261d202bd multiple fixes for latest zig 2020-03-26 16:35:58 -03:00
Luna 08d9923e75 add saturator, vintagedelay cmd 2020-01-26 14:50:50 -03:00
Luna bc8ab98689 add multichorus cmd 2020-01-26 14:03:01 -03:00
Luna 127ea389fd add moddelay cmd 2020-01-26 02:05:43 -03:00
Luna a0a75579dd add tapedelay cmd (broken) 2020-01-26 00:28:59 -03:00
Luna 8c3c5a3ac2 add invert cmd 2020-01-26 00:13:53 -03:00
Luna 299a39fc27 add gverb cmd 2020-01-26 00:03:15 -03:00
Luna c73b7440a6 add foverdrive cmd
- lang: remove oldGetCommand
2020-01-25 23:52:22 -03:00
Luna fa8740e0db add thruzero command 2020-01-25 23:32:24 -03:00
Luna 519eb51206 remove heap allocation for RunBuffers 2020-01-25 22:46:00 -03:00
Luna 5a0e6934e7 add dyncomp cmd 2020-01-25 22:45:37 -03:00
Luna 7c4dead5cf add many experimental plugins 2020-01-25 18:52:45 -03:00
Luna 9a6caa2453 add gate cmd 2020-01-25 17:47:20 -03:00
Luna 182d368363 fix for latest zig 2020-01-14 22:31:20 -03:00
Luna a10416e56f fixes for latest zig 2019-12-08 12:14:31 -03:00
Luna 09471e564a allow args to be deinited on error, fix argAt 2019-12-02 20:13:19 -03:00
Luna 46d576fc13 image: remove expectEqual check (caused problems for rotate) 2019-11-10 13:46:48 -03:00
Luna c57c40db61 use at-as builtin 2019-11-10 13:37:59 -03:00
Luna fb0516a1db allow ppm files as inputs
- only run bmp.magicValid when path ends in bmp
 - remove uneeced header size constants
2019-11-01 21:43:45 -03:00
Luna 91de05d3b1 runner: fix for latest zig 2019-10-31 19:02:36 -03:00
Luna 430677fc07 enhance embed custom plugin
- seek to 0 on setup
 - ignore and copy original bytes if we reached end of audio file
2019-10-22 19:16:09 -03:00
Luna 1c6ef1d4d5 Revert "use sf_open_fd"
This reverts commit 6e66850d90.
2019-10-22 19:08:38 -03:00
Luna 6e66850d90 use sf_open_fd 2019-10-22 18:57:36 -03:00
Luna 612421f7b6 add embed code 2019-10-22 18:23:05 -03:00
Luna 2e27390058 add the rest for embed command
- allow any extra param as a generic to custom plugin init
2019-10-22 18:16:15 -03:00
Luna 87bab879ed add embed cmd 2019-10-22 17:08:19 -03:00
Luna bb501d9c1e repl: add output when leaving from c-d 2019-10-20 13:13:32 -03:00
Luna c75db19523 repl: ignore comments
closes #10
2019-10-20 13:12:49 -03:00
Luna cdca993048 remove 'use-after-free' 2019-10-20 11:59:15 -03:00
Luna a18809eb5b repl: handle when original file doesn't exist 2019-10-20 11:37:11 -03:00
Luna c05be26dbd runner: ignore one arg when its in repl
closes #8
2019-10-06 15:16:41 -03:00
Luna 7cf16f9ffa deinit existing_cmds (not long lived) 2019-10-06 15:12:19 -03:00
Luna 80036c4c0d fix other things related to reading scri file on repl 2019-10-06 15:07:30 -03:00
Luna 66b262beb2 repl: open file as read and append to cmds before open as write
closes #7
2019-10-06 14:39:15 -03:00
Luna cb689c3ade repl: use readline 2019-10-06 10:53:09 -03:00
Luna 8c5f42b3db add quit/q commands to repl 2019-10-05 21:44:44 -03:00
Luna f8814ca94d add assertions about seek state and seek position 2019-10-05 21:42:16 -03:00