From: Michael D. Lowis Date: Sun, 6 Jan 2019 20:10:43 +0000 (-0500) Subject: updated TODO X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=ab7fbdeaffc1f1ea20a6f868eb439b057178f3c8;p=projs%2Ftide.git updated TODO --- diff --git a/TODO.md b/TODO.md index 750bdc1..5d0835a 100644 --- a/TODO.md +++ b/TODO.md @@ -2,9 +2,6 @@ ## VERIFYING -* paste of selection doesnt occur till next event -* simultaneously write and read in tide sub commands - ## STAGING * registrar: doesnt match open windows when new file created and is then opened for edit or line number @@ -28,7 +25,6 @@ Tags: -* Kill - Kill a background command * ID - Get window id of the X window * Zerox - Create a copy of the window @@ -42,27 +38,8 @@ The Future: Maybe think about addressing these later: -* add current dir to path +* add current dir to PATH variable * add support for guidefiles * Shift+Insert should insert primary selection * Find shortcut should select previous word if current char is newline * implement command diffing logic to optimize the undo/redo log - -# Auxillary Programs - -* Visual diff tool -* Win-like terminal emulator -* File browser -* Acme-like window manager - -# Fetch Rule Syntax - -include [FILE] -set [NAME] [VALUE] -unset [NAME] [VALUE] -is [NAME] [VALUE] -isdir [VALUE] -isfile [VALUE] -findfile [VALUE] -matches [NAME] [REGEX] -exec [CMD] [ARGS...] diff --git a/inc/edit.h b/inc/edit.h index f8b80b6..b94c64c 100644 --- a/inc/edit.h +++ b/inc/edit.h @@ -174,6 +174,5 @@ struct Job { bool job_poll(int ms); void job_spawn(int fd, jobfn_t readfn, jobfn_t writefn, void* data); -void job_create(char** cmd, jobfn_t readfn, jobfn_t writefn, void* data); void job_start(char** cmd, char* data, size_t ndata, View* dest); int job_run(char** cmd); diff --git a/src/lib/job.c b/src/lib/job.c index ef8df23..6072904 100644 --- a/src/lib/job.c +++ b/src/lib/job.c @@ -8,6 +8,7 @@ #include #include #include +#include struct PipeData { char* data; @@ -17,7 +18,6 @@ struct PipeData { }; #define MAX_JOBS 256 - static struct pollfd JobFds[MAX_JOBS]; static Job* JobList = NULL; @@ -85,7 +85,6 @@ static void job_process(int fd, int events) { if (!job->readfn && !job->writefn) job_finish(job); } -#include static int job_exec(char** cmd, int* p_pid) { int pid, fds[2];