Commit Graph

174 Commits

Author SHA1 Message Date
Luna 8b67ccc1bf add printing of commands to any stream 2019-09-10 11:45:04 -03:00
Luna 736277db04 add parsing of given repl line 2019-09-08 23:28:09 -03:00
Luna 34d3b12c56 add basic main loop 2019-09-08 17:27:59 -03:00
Luna fc8dcf4583 add doRepl func 2019-09-08 17:06:19 -03:00
Luna 7e8023a383 add validation of bmp magic bytes 2019-09-08 11:55:17 -03:00
Luna b3bb56279a remove usage of command pointers for most things
this serves as a workaround for the compiler bugs found on zig trunk

 - use std.StringHashMap
2019-09-03 12:45:17 -03:00
Luna cdf2d843d2 update README 2019-08-27 14:40:41 -03:00
Luna fecd3b2e69 lang: fix RevDelay's arg count 2019-08-27 14:17:15 -03:00
Luna cfec45eb6c make internal ports a slice of Port structs 2019-08-14 22:35:22 -03:00
Luna 1d86abff5b main: use direct allocator 2019-08-14 16:11:09 -03:00
Luna a33db9f060 custom: add Write.deinit and fix WildNoise.deinit 2019-08-14 09:13:06 -03:00
Luna e142285a32 use Plugin.deinit() 2019-08-14 09:10:54 -03:00
Luna f8d8ed067d add deinit() calls to custom plugins 2019-08-14 09:10:09 -03:00
Luna 0ad1c88274 free some things in runner 2019-08-13 10:33:08 -03:00
Luna b66070c4e4 lang: use std.mem.startsWith 2019-08-13 10:19:39 -03:00
Luna b0ddb35ae9 fix mbeq arg validation 2019-08-12 13:07:06 -03:00
Luna af34f71c8f move lv2 core constants to comptime 2019-08-10 14:36:51 -03:00
Luna 0cab58429c fix std.AutoHashMap usage 2019-08-09 18:40:11 -03:00
Luna c0269ead20 image: bump BufferSize 2019-08-09 14:03:32 -03:00
Luna 99382d0a66 add better freeing procedures w/ errdefer 2019-08-09 13:55:40 -03:00
Luna 4aa9e9d7b9 runner: bump ident of load path msg 2019-08-09 11:29:10 -03:00
Luna 6fd4cd0ecd add better error messages for no cmd and unknown cmd 2019-08-09 11:28:40 -03:00
Luna a0bf1e2723 lang: do as many semantic errors as possible before ParseFail 2019-08-08 20:30:24 -03:00
Luna 90bc830a9a lang: show line where error happened 2019-08-08 20:27:24 -03:00
Luna ab2e8884b8 lang: add arg checks for the other commands 2019-08-08 20:24:25 -03:00
Luna 422cd2502c lang: add basic argument validation 2019-08-08 20:13:49 -03:00
Luna 9fd41a61bf add runner test + 'zig build test' subcommand 2019-08-08 16:48:31 -03:00
Luna 704eaac081 lang: defer deinit() on tests 2019-08-07 21:09:04 -03:00
Luna 7e6b85ef48 lang: add tests
- lang: add deinit()
2019-08-07 21:04:51 -03:00
Luna b8dcb84294 image: fix typo 2019-08-06 23:35:02 -03:00
Luna 981b52c05b lang: add hack while AutoHashMap is broken
- image: add timer for runPlugin
2019-08-06 23:34:11 -03:00
Luna fc3972d65c remove unecessary allocation in RunContext 2019-08-06 19:25:47 -03:00
Luna 75eeea14f3 add check for n_audio_out>2 2019-08-06 19:25:31 -03:00
Luna 8172066851 add write cmd
- make custom plugins return ?Plugin instead of !Plugin
2019-07-29 11:51:40 -03:00
Luna ff78044587 magick: reopen the image post MagickWriteImage 2019-07-23 18:30:16 -03:00
Luna c0b70a81b1 magick: reopen the file instead of just setting curpath 2019-07-22 22:48:37 -03:00
Luna c128960451 add rotate command to docs 2019-07-22 22:27:00 -03:00
Luna f9aa226d9e add proper arguments to rotate cmd 2019-07-22 22:22:01 -03:00
Luna 510b4d9336 rm a.bmp 2019-07-22 22:16:42 -03:00
Luna 4a49b39159 make magickSave edit Image.curpath 2019-07-22 22:15:06 -03:00
Luna e469c84d1b update README 2019-07-22 21:50:49 -03:00
Luna 6775773674 move to graphicsmagick 2019-07-22 21:50:11 -03:00
Luna 8784f3baf9 decouple magick init/save into helper functions 2019-07-22 20:37:57 -03:00
Luna 73794e1867 add magickwand load/unload 2019-07-22 20:32:50 -03:00
Luna b056a0edb3 add imagemagick linking 2019-07-22 19:28:55 -03:00
Luna 67c9f425bb add rotate cmd to lang 2019-07-22 17:04:43 -03:00
Luna 2151afb115 add roomWidth arg to reverb, update reverb docs 2019-07-15 14:21:08 -03:00
Luna 87556c5b7e simplify copyBytes excess calc and do sseek() 2019-07-15 11:26:41 -03:00
Luna c5a2e317c4 remove error part of sseek() 2019-07-15 10:58:45 -03:00
Luna d12268f028 ensure sf_seek is called on the out file in copyBytes 2019-07-15 10:53:23 -03:00