Commit graph

294 commits

Author SHA1 Message Date
ef6c68705d port to latest zig 2022-10-08 15:05:15 -03:00
6b2ce7e425 properly fix memleaks 2022-04-28 00:28:07 -03:00
2796b654e5 port main() code path to latest zig 2022-04-28 00:08:52 -03:00
1987c4d497 fix command parsing 2022-04-27 20:01:14 -03:00
5d1bcf33ee fixes for latest zig: a lot of stuff 2022-04-27 20:01:12 -03:00
c817170a04 port to latest zig: use std.log 2022-04-27 20:01:09 -03:00
268be1074c port to latest zig fs api 2022-04-27 20:01:06 -03:00
d7d4385242 fix memory leak on string arguments 2022-04-27 20:01:00 -03:00
b195577dee prevent memleaks on parse errors 2021-04-04 20:47:18 -03:00
ea3850b99d add test for parse errors 2021-04-04 18:15:42 -03:00
b28f208e65 add error for non-lv2 args not getting enough args 2021-04-04 17:56:59 -03:00
2a801a129b add note about comptime hash map 2021-04-04 17:45:14 -03:00
78cc7fab4b fix tests 2021-04-04 17:08:53 -03:00
a9e4c5823a remove implemented TODO 2021-04-03 23:22:22 -03:00
79d7e137d2 refactor into 'doRun' function 2021-04-03 23:21:50 -03:00
73c5214146 add 'help' command 2021-04-03 23:20:17 -03:00
32b01976d8 change default scri path to 'run' cli command 2021-04-03 23:05:56 -03:00
9937365433 update to latest zig 2021-04-03 22:16:04 -03:00
667e6cbdac zig fmt pass 2021-04-03 21:09:44 -03:00
2acb45fdca build.zig: fix for latest zig 2021-04-03 21:09:30 -03:00
ebf716de17 fix type for Runner.args 2020-11-08 18:47:40 -03:00
5e8093b26f free lv2 ports slice 2020-08-18 21:02:43 -03:00
7097334201 turn on gpa 2020-08-18 21:00:16 -03:00
c2834f8254 properly free Image contents 2020-08-18 21:00:07 -03:00
77cceab288 make Image free its paths 2020-08-18 20:57:33 -03:00
9527426d48 remove memleak when getting args 2020-08-18 20:54:04 -03:00
0cd47be7ac remove need to dupe strings to command structs 2020-08-18 20:53:54 -03:00
708ef45600 fix use-after-free on repl 2020-08-18 20:41:57 -03:00
f61e9b013f make CommandList free its command pointers 2020-08-18 20:40:06 -03:00
4adf80e51a fix some memory leaks 2020-08-18 17:58:04 -03:00
353d8d6947 fix for latest zig 2020-08-18 17:49:23 -03:00
8aa65958d0 cast ptr 2020-07-23 16:32:33 -03:00
fa7e993ec2 zig fmt pass 2020-07-23 16:31:32 -03:00
973d6e63c5 Merge pull request 'Better LILV/LV2 integration' (#15) from better-lilv into master
Reviewed-on: #15
2020-06-09 22:38:08 +00:00
8d312cd987 use lv2.h provided at root of /usr/include
fixes ubuntu issues
2020-06-02 22:24:43 -03:00
c80a6d0df7 fix typos and actually add dirs to step 2020-06-02 21:54:39 -03:00
0ba2c5ffcc add basics of searching for lilv 2020-06-02 21:42:26 -03:00
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