On Tue, Jul 01, 2014 at 09:40:28AM +0200, zwin...@kit.edu wrote:
> From: Sebastian Buchwald
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 deletions(-)
>
> diff --g
From: Andreas Zwinkau
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 was not prepare
From: Matthias Braun
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, int max_count,
i
From: Matthias Braun
---
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) {
htmlf("bin%
From: Matthias Braun
---
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 "ui-diff.h"
-stati
From: Matthias Braun
---
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
} else {
From: Matthias Braun
---
ui-atom.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/ui-atom.c b/ui-atom.c
index 6a6a98b..fdc5cb3 100644
--- a/ui-atom.c
+++ b/ui-atom.c
@@ -125,6 +125,7 @@ void cgit_print_atom(char *tip, char *path, int max_count,
int enable_atom_diff)
ctx.page.mimety
From: Sebastian Buchwald
---
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;
while (t && *t) {
From: Sebastian Buchwald
---
html.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/html.c b/html.c
index f0ee2d6..91047ad 100644
--- a/html.c
+++ b/html.c
@@ -193,7 +193,7 @@ void html_attr(const char *txt)
else if (c == '<')