[PATCH 3/8] Skip forbidden characters.

2014-07-01 Thread zwinkau
From: Sebastian Buchwald sebastian.buchw...@kit.edu --- html.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/html.c b/html.c index 91047ad..6037eec 100644 --- a/html.c +++ b/html.c @@ -129,7 +129,8 @@ void html_txt(const char *txt) const char *t = txt;

[PATCH 6/8] only one content tag allowed, so remove the text one

2014-07-01 Thread zwinkau
From: Matthias Braun ma...@braunis.de --- ui-atom.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/ui-atom.c b/ui-atom.c index aa6a188..4d9ba00 100644 --- a/ui-atom.c +++ b/ui-atom.c @@ -75,9 +75,6 @@ static void add_entry(struct commit *commit, struct commitinfo *info, char *host

[PATCH 5/8] display updated, use urn/url for atom:id

2014-07-01 Thread zwinkau
From: Matthias Braun ma...@braunis.de --- ui-atom.c | 33 +++-- 1 file changed, 27 insertions(+), 6 deletions(-) diff --git a/ui-atom.c b/ui-atom.c index fdc5cb3..aa6a188 100644 --- a/ui-atom.c +++ b/ui-atom.c @@ -12,15 +12,13 @@ #include ui-shared.h #include

[PATCH 7/8] add link rel='self' to atom feed

2014-07-01 Thread zwinkau
From: Matthias Braun ma...@braunis.de FEED Validator recommends it. --- ui-atom.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/ui-atom.c b/ui-atom.c index 4d9ba00..6da3e36 100644 --- a/ui-atom.c +++ b/ui-atom.c @@ -150,6 +150,17 @@ void cgit_print_atom(char *tip, char *path,

[PATCH 8/8] fix html error in diff output for binary files

2014-07-01 Thread zwinkau
From: Matthias Braun ma...@braunis.de --- ui-diff.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ui-diff.c b/ui-diff.c index b80..b7bf777 100644 --- a/ui-diff.c +++ b/ui-diff.c @@ -108,6 +108,7 @@ static void print_fileinfo(struct fileinfo *info) if (info-binary) {

[PATCH 1/8] Can add diffs to Atom feed entries

2014-07-01 Thread zwinkau
From: Andreas Zwinkau zwin...@kit.edu Off by default. Set enable-atom-diff flag for repos to enable. Uses HTML5's scoped CSS feature to colorize diff deletes and inserts. Mainstream pre-HTML5 engines either ignore this or apply the style document-wide, which should not break anything. As cgit

Re: [PATCH 3/8] Skip forbidden characters.

2014-07-01 Thread John Keeping
On Tue, Jul 01, 2014 at 09:40:28AM +0200, zwin...@kit.edu wrote: From: Sebastian Buchwald sebastian.buchw...@kit.edu Why do we want to do this? Does it not break anything that uses whitespace=pre (explicitly or implicitly)? --- html.c | 9 ++--- 1 file changed, 6 insertions(+), 3