[hackers] [blind] Add blind-repeat-tessellation || Mattias Andrée

2017-07-11 Thread git
commit 6f4d55793f88540d1b1abd7410e43da83993ad6a Author: Mattias Andrée AuthorDate: Tue Jul 11 23:27:46 2017 +0200 Commit: Mattias Andrée CommitDate: Tue Jul 11 23:27:46 2017 +0200 Add blind-repeat-tessellation Signed-off-by: Mattias Andrée diff --git a/Makefile b/Makefi

[hackers] [blind] Add blind-apply-palette and blind-colour-ciexyz always outputs all three parameters || Mattias Andrée

2017-07-11 Thread git
commit 1fdf6986e7bc23e2bdf4b2b7973652a2cb2dd3b7 Author: Mattias Andrée AuthorDate: Wed Jul 12 03:40:51 2017 +0200 Commit: Mattias Andrée CommitDate: Wed Jul 12 03:40:51 2017 +0200 Add blind-apply-palette and blind-colour-ciexyz always outputs all three parameters Signed-o

[hackers] [blind] Add blind-get-colours || Mattias Andrée

2017-07-11 Thread git
commit 975a02fba76fce7526278ea09a27cc0aae608d30 Author: Mattias Andrée AuthorDate: Wed Jul 12 02:09:03 2017 +0200 Commit: Mattias Andrée CommitDate: Wed Jul 12 02:09:03 2017 +0200 Add blind-get-colours Signed-off-by: Mattias Andrée diff --git a/Makefile b/Makefile index

[hackers] [blind] blind-spiral-gradient: fix -a || Mattias Andrée

2017-07-11 Thread git
commit e2f2b65b49d1a47b1a749c5de4b0efcfc7ebb5bc Author: Mattias Andrée AuthorDate: Tue Jul 11 19:21:08 2017 +0200 Commit: Mattias Andrée CommitDate: Tue Jul 11 19:21:08 2017 +0200 blind-spiral-gradient: fix -a Signed-off-by: Mattias Andrée diff --git a/src/blind-spiral-

[hackers] [blind] blind-spiral-gradient: set the value of the singularity to 0 || Mattias Andrée

2017-07-11 Thread git
commit 484d84596ef059463d905f07c65672b92a38a28c Author: Mattias Andrée AuthorDate: Tue Jul 11 19:18:56 2017 +0200 Commit: Mattias Andrée CommitDate: Tue Jul 11 19:18:56 2017 +0200 blind-spiral-gradient: set the value of the singularity to 0 Signed-off-by: Mattias Andrée

[hackers] [blind] blind-spiral-gradient: add -s || Mattias Andrée

2017-07-11 Thread git
commit d91c5e12a53a33d50a5a0cef41255ae5b39bd55e Author: Mattias Andrée AuthorDate: Tue Jul 11 20:26:04 2017 +0200 Commit: Mattias Andrée CommitDate: Tue Jul 11 20:26:04 2017 +0200 blind-spiral-gradient: add -s Signed-off-by: Mattias Andrée diff --git a/man/blind-spiral-

[hackers] [blind] blind-spiral-gradient: add -t || Mattias Andrée

2017-07-11 Thread git
commit e7f1780c5c05840ec3eca54b83d76c2658bf5de8 Author: Mattias Andrée AuthorDate: Tue Jul 11 21:40:43 2017 +0200 Commit: Mattias Andrée CommitDate: Tue Jul 11 21:40:43 2017 +0200 blind-spiral-gradient: add -t Signed-off-by: Mattias Andrée diff --git a/man/blind-spiral-

Re: [hackers] [scron] [PATCH 3/3] Keep existing crontab entries if loading new entries fails

2017-07-11 Thread Michael Forney
On 7/11/17, Lucas Gabriel Vuotto wrote: > I like the idea of this patch. There're two little details marked below. > >> @@ -391,7 +379,7 @@ freecte(struct ctabentry *cte, int nfields) >> } >> >> static void >> -unloadentries(void) >> +unloadentries(struct ctabentry *ctab) > > Shadowing variables

Re: [hackers] [scron] [PATCH 1/3] Just use simple linked list instead of queue.h

2017-07-11 Thread Michael Forney
On 7/11/17, Laslo Hunhold wrote: > On Mon, 10 Jul 2017 21:55:40 -0700 > Michael Forney wrote: > > Hey Michael, > > what's wrong with queue.h? The simple linked list I proposed uses the same amount of code, and is easier to understand because it isn't hidden behind a bunch of macros. What's the

Re: [hackers] [scron] [PATCH 2/3] Handle out-of-memory

2017-07-11 Thread Michael Forney
On 7/11/17, Lucas Gabriel Vuotto wrote: > This estrdup wasn't changed, potentially generating a segfault (if the codes > somehow keeps going on) at line 140 of the current, unpatched code. Whoops, good catch. > Also, I don't see the point on keeping emalloc as it is given this changes. > It shou

Re: [hackers] [scron] [PATCH 3/3] Keep existing crontab entries if loading new entries fails

2017-07-11 Thread Lucas Gabriel Vuotto
I like the idea of this patch. There're two little details marked below. > @@ -391,7 +379,7 @@ freecte(struct ctabentry *cte, int nfields) > } > > static void > -unloadentries(void) > +unloadentries(struct ctabentry *ctab) Shadowing variables is error prone. In this case, this will happen if

Re: [hackers] [scron] [PATCH 2/3] Handle out-of-memory

2017-07-11 Thread Lucas Gabriel Vuotto
This estrdup wasn't changed, potentially generating a segfault (if the codes somehow keeps going on) at line 140 of the current, unpatched code. > @@ -157,7 +149,8 @@ runjob(char *cmd) > cmd, ctime(&t)); > _exit(EXIT_FAILURE); > } else { > - je

[hackers] [quark] Make the socketfile accessible by clients || Quentin Rameau

2017-07-11 Thread git
commit 260ef0a988309bbaa1fcf96733fe1170ca738173 Author: Quentin Rameau AuthorDate: Sun Jul 9 12:09:13 2017 +0200 Commit: Laslo Hunhold CommitDate: Tue Jul 11 14:09:27 2017 +0200 Make the socketfile accessible by clients diff --git a/quark.c b/quark.c index 94532de..edf4103 100644 --

[hackers] [quark] Split synopsis to reflect the dual usage. || Quentin Rameau

2017-07-11 Thread git
commit 3b3fdd00e2558ad5e794cc87b1cf5109bc7e6ac9 Author: Quentin Rameau AuthorDate: Sun Jul 9 11:28:42 2017 +0200 Commit: Laslo Hunhold CommitDate: Tue Jul 11 14:09:27 2017 +0200 Split synopsis to reflect the dual usage. diff --git a/quark.1 b/quark.1 index f29618a..240a0e4 100644 --

[hackers] [quark] Fix the style a bit and prevent out-of-bounds index access for vhost[] || Laslo Hunhold

2017-07-11 Thread git
commit d7f5c6029e4dab604bd8fc82f747544ac4e4dc67 Author: Laslo Hunhold AuthorDate: Tue Jul 11 15:02:24 2017 +0200 Commit: Laslo Hunhold CommitDate: Tue Jul 11 15:02:24 2017 +0200 Fix the style a bit and prevent out-of-bounds index access for vhost[] diff --git a/quark.c b/quark.c ind

[hackers] [quark] Allow switching vhosts using flags and rework the usage || Laslo Hunhold

2017-07-11 Thread git
commit d3c1091669a23402196ff239507c5f845af120a6 Author: Laslo Hunhold AuthorDate: Tue Jul 11 15:02:00 2017 +0200 Commit: Laslo Hunhold CommitDate: Tue Jul 11 15:02:00 2017 +0200 Allow switching vhosts using flags and rework the usage diff --git a/quark.1 b/quark.1 index 1c133fb..fbf

[hackers] [quark] Change -U udsname to -U sockfile for clarification. || Quentin Rameau

2017-07-11 Thread git
commit e46344e449feeeb42487ce14e58a65261ef6d26e Author: Quentin Rameau AuthorDate: Tue Jul 11 13:58:55 2017 +0200 Commit: Laslo Hunhold CommitDate: Tue Jul 11 14:09:27 2017 +0200 Change -U udsname to -U sockfile for clarification. diff --git a/quark.1 b/quark.1 index f95d199..f29618

[hackers] [quark] Cleanup socket file at exit. || Quentin Rameau

2017-07-11 Thread git
commit 141bb88af14489c14bf47259b63098331f7c3076 Author: Quentin Rameau AuthorDate: Sun Jul 9 14:36:46 2017 +0200 Commit: Laslo Hunhold CommitDate: Tue Jul 11 14:09:27 2017 +0200 Cleanup socket file at exit. We can't unlink the file if it's outside the chroot, so we need to k

[hackers] [quark] Reorder config.def.h a bit || Laslo Hunhold

2017-07-11 Thread git
commit d7cf0d7f57dbd5650c5cf868eb71613f6969d757 Author: Laslo Hunhold AuthorDate: Tue Jul 11 13:52:41 2017 +0200 Commit: Laslo Hunhold CommitDate: Tue Jul 11 13:52:41 2017 +0200 Reorder config.def.h a bit diff --git a/config.def.h b/config.def.h index 963821e..0b800bf 100644 --- a/c

[hackers] [quark] Add Quentin to LICENSE || Laslo Hunhold

2017-07-11 Thread git
commit 06eba20e9d2e9f65e05c6e27c5b5d39eca7ff381 Author: Laslo Hunhold AuthorDate: Tue Jul 11 13:46:22 2017 +0200 Commit: Laslo Hunhold CommitDate: Tue Jul 11 13:46:31 2017 +0200 Add Quentin to LICENSE diff --git a/LICENSE b/LICENSE index 91ba4cb..9a3a4ad 100644 --- a/LICENSE +++ b/L

[hackers] [quark] Integrate compiled regex into vhost array || Quentin Rameau

2017-07-11 Thread git
commit e592bbc0fe71429104c1d7de8c35156185a9e13f Author: Quentin Rameau AuthorDate: Tue Jul 11 13:36:40 2017 +0200 Commit: Laslo Hunhold CommitDate: Tue Jul 11 13:45:57 2017 +0200 Integrate compiled regex into vhost array diff --git a/config.def.h b/config.def.h index 563fcb9..963821

[hackers] [quark] Style fix || Laslo Hunhold

2017-07-11 Thread git
commit 233bf68b4b9457bc4747c65038b80765a9eeb39e Author: Laslo Hunhold AuthorDate: Tue Jul 11 13:03:24 2017 +0200 Commit: Laslo Hunhold CommitDate: Tue Jul 11 13:03:24 2017 +0200 Style fix Thanks Quentin! diff --git a/quark.c b/quark.c index 8bf94ff..2b59f9d 100644 --- a/qua

[hackers] [quark] Add vhost support || Laslo Hunhold

2017-07-11 Thread git
commit 000553d8c5ff70e8eaedab0ba9604270c96eb2e5 Author: Laslo Hunhold AuthorDate: Tue Jul 11 12:34:55 2017 +0200 Commit: Laslo Hunhold CommitDate: Tue Jul 11 12:55:39 2017 +0200 Add vhost support As given in the config, we match a regex of hosts to a canonical host which

[hackers] [quark] Properly serve empty files || Laslo Hunhold

2017-07-11 Thread git
commit 9e9facc9bf884ccd95ef8341fd7dd61736796cb0 Author: Laslo Hunhold AuthorDate: Tue Jul 11 12:33:21 2017 +0200 Commit: Laslo Hunhold CommitDate: Tue Jul 11 12:33:21 2017 +0200 Properly serve empty files diff --git a/quark.c b/quark.c index 2a836b0..67b696a 100644 --- a/quark.c +++

Re: [hackers] [scron] [PATCH 1/3] Just use simple linked list instead of queue.h

2017-07-11 Thread Laslo Hunhold
On Mon, 10 Jul 2017 21:55:40 -0700 Michael Forney wrote: Hey Michael, > --- what's wrong with queue.h? With best regards Laslo Hunhold -- Laslo Hunhold