Commit Graph

69 Commits

Author SHA1 Message Date
Luna 0f6ac055a4 remove extra newlines from log calls 2022-10-08 15:14:56 -03:00
Luna 2796b654e5 port main() code path to latest zig 2022-04-28 00:08:52 -03:00
Luna 5d1bcf33ee fixes for latest zig: a lot of stuff 2022-04-27 20:01:12 -03:00
Luna c817170a04 port to latest zig: use std.log 2022-04-27 20:01:09 -03:00
Luna 9937365433 update to latest zig 2021-04-03 22:16:04 -03:00
Luna 5e8093b26f free lv2 ports slice 2020-08-18 21:02:43 -03:00
Luna c2834f8254 properly free Image contents 2020-08-18 21:00:07 -03:00
Luna 77cceab288 make Image free its paths 2020-08-18 20:57:33 -03:00
Luna 353d8d6947 fix for latest zig 2020-08-18 17:49:23 -03:00
Luna fa7e993ec2 zig fmt pass 2020-07-23 16:31:32 -03:00
Luna dc98c7a22f use better seed 2020-06-02 16:59:36 -03:00
Luna aeb76fe6c0 add more possibilities on temporary file paths 2020-06-02 16:35:42 -03:00
Luna 0240b10a3c close handles while making temporary paths 2020-06-02 16:11:30 -03:00
Luna 89afa8af10 convert from ParamMap to ducktyped param struct 2020-05-31 22:27:11 -03:00
Luna 303a40758d make custom plugins always receive ParamMap 2020-05-31 21:55:03 -03:00
Luna e462b4e9d6 fix for latest zig 2020-05-30 15:56:58 -03:00
Luna 0c2cd5638e update because of arraylist api changes 2020-05-12 17:26:46 -03:00
Luna 8261d202bd multiple fixes for latest zig 2020-03-26 16:35:58 -03:00
Luna 519eb51206 remove heap allocation for RunBuffers 2020-01-25 22:46:00 -03:00
Luna 182d368363 fix for latest zig 2020-01-14 22:31:20 -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 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 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 f8814ca94d add assertions about seek state and seek position 2019-10-05 21:42:16 -03:00
Luna 49cc7221b0 fix some clones, finish list of commands for printer 2019-09-10 22:00:07 -03:00
Luna 84d582cfd1 image: open curpath instead of path when cloning 2019-09-10 21:35:22 -03:00
Luna 67c42e39d4 add cloning of Runner and Image + basic Runner REPL logic 2019-09-10 21:31:23 -03:00
Luna 7e8023a383 add validation of bmp magic bytes 2019-09-08 11:55:17 -03:00
Luna cfec45eb6c make internal ports a slice of Port structs 2019-08-14 22:35:22 -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 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 90bc830a9a lang: show line where error happened 2019-08-08 20:27:24 -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 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 c0b70a81b1 magick: reopen the file instead of just setting curpath 2019-07-22 22:48:37 -03:00
Luna 6775773674 move to graphicsmagick 2019-07-22 21:50:11 -03:00
Luna 73794e1867 add magickwand load/unload 2019-07-22 20:32:50 -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
Luna 8c2bbee372 make copyBytes allocate its own buffer 2019-07-14 19:01:50 -03:00
Luna b59f937d00 decomission getEndPos() in favor of SF_INFO.frames 2019-07-14 18:54:48 -03:00