projects
/
blerg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
6ce5fb7
)
Add license notifications to all source files
author
Chip Black
<bytex64@bytex64.net>
Sat, 8 Jan 2011 07:59:49 +0000
(
01:59
-0600)
committer
Chip Black
<bytex64@bytex64.net>
Sat, 8 Jan 2011 07:59:49 +0000
(
01:59
-0600)
26 files changed:
cgi/canned_responses.c
patch
|
blob
|
history
cgi/canned_responses.h
patch
|
blob
|
history
cgi/cgi_blerg.c
patch
|
blob
|
history
cgi/rss.c
patch
|
blob
|
history
common/app.c
patch
|
blob
|
history
common/app.h
patch
|
blob
|
history
common/auth.c
patch
|
blob
|
history
common/auth.h
patch
|
blob
|
history
common/escapery.c
patch
|
blob
|
history
common/escapery.h
patch
|
blob
|
history
common/json.c
patch
|
blob
|
history
common/json.h
patch
|
blob
|
history
database/database.c
patch
|
blob
|
history
database/database.h
patch
|
blob
|
history
database/tags.c
patch
|
blob
|
history
database/tags.h
patch
|
blob
|
history
database/util.c
patch
|
blob
|
history
database/util.h
patch
|
blob
|
history
http/canned_responses.c
patch
|
blob
|
history
http/canned_responses.h
patch
|
blob
|
history
http/http_blerg.c
patch
|
blob
|
history
tools/blergtool.c
patch
|
blob
|
history
www/css/blerg.css
patch
|
blob
|
history
www/css/doc.css
patch
|
blob
|
history
www/index.html
patch
|
blob
|
history
www/js/blerg.js
patch
|
blob
|
history
diff --git
a/cgi/canned_responses.c
b/cgi/canned_responses.c
index
2f430b1
..
fb79b6f
100644
(file)
--- a/
cgi/canned_responses.c
+++ b/
cgi/canned_responses.c
@@
-1,3
+1,6
@@
+/* Blerg is (C) 2011 The Dominion of Awesome, and is distributed under a
+ * BSD-style license. Please see the COPYING file for details.
+ */
#include <stdio.h>
#include <string.h>
#include "canned_responses.h"
#include <stdio.h>
#include <string.h>
#include "canned_responses.h"
diff --git
a/cgi/canned_responses.h
b/cgi/canned_responses.h
index
84fd56a
..
bfdafda
100644
(file)
--- a/
cgi/canned_responses.h
+++ b/
cgi/canned_responses.h
@@
-1,3
+1,6
@@
+/* Blerg is (C) 2011 The Dominion of Awesome, and is distributed under a
+ * BSD-style license. Please see the COPYING file for details.
+ */
#ifndef _CANNED_RESPONSES
#define _CANNED_RESPONSES
#ifndef _CANNED_RESPONSES
#define _CANNED_RESPONSES
diff --git
a/cgi/cgi_blerg.c
b/cgi/cgi_blerg.c
index
83dd53d
..
737910c
100644
(file)
--- a/
cgi/cgi_blerg.c
+++ b/
cgi/cgi_blerg.c
@@
-1,3
+1,6
@@
+/* Blerg is (C) 2011 The Dominion of Awesome, and is distributed under a
+ * BSD-style license. Please see the COPYING file for details.
+ */
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
diff --git
a/cgi/rss.c
b/cgi/rss.c
index
173da07
..
c35e33b
100644
(file)
--- a/
cgi/rss.c
+++ b/
cgi/rss.c
@@
-1,3
+1,6
@@
+/* Blerg is (C) 2011 The Dominion of Awesome, and is distributed under a
+ * BSD-style license. Please see the COPYING file for details.
+ */
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
diff --git
a/common/app.c
b/common/app.c
index
9d3e6cf
..
27dfb5f
100644
(file)
--- a/
common/app.c
+++ b/
common/app.c
@@
-1,3
+1,6
@@
+/* Blerg is (C) 2011 The Dominion of Awesome, and is distributed under a
+ * BSD-style license. Please see the COPYING file for details.
+ */
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
diff --git
a/common/app.h
b/common/app.h
index
e37b47a
..
d1df688
100644
(file)
--- a/
common/app.h
+++ b/
common/app.h
@@
-1,3
+1,6
@@
+/* Blerg is (C) 2011 The Dominion of Awesome, and is distributed under a
+ * BSD-style license. Please see the COPYING file for details.
+ */
#ifndef _APP_H
#define _APP_H
#ifndef _APP_H
#define _APP_H
diff --git
a/common/auth.c
b/common/auth.c
index
cdfbf85
..
7e63f96
100644
(file)
--- a/
common/auth.c
+++ b/
common/auth.c
@@
-1,3
+1,6
@@
+/* Blerg is (C) 2011 The Dominion of Awesome, and is distributed under a
+ * BSD-style license. Please see the COPYING file for details.
+ */
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
diff --git
a/common/auth.h
b/common/auth.h
index
124f014
..
d180bfd
100644
(file)
--- a/
common/auth.h
+++ b/
common/auth.h
@@
-1,3
+1,6
@@
+/* Blerg is (C) 2011 The Dominion of Awesome, and is distributed under a
+ * BSD-style license. Please see the COPYING file for details.
+ */
#ifndef _AUTH_H
#define _AUTH_H
#ifndef _AUTH_H
#define _AUTH_H
diff --git
a/common/escapery.c
b/common/escapery.c
index
27456bf
..
0aa1c34
100644
(file)
--- a/
common/escapery.c
+++ b/
common/escapery.c
@@
-1,3
+1,6
@@
+/* Blerg is (C) 2011 The Dominion of Awesome, and is distributed under a
+ * BSD-style license. Please see the COPYING file for details.
+ */
#include <string.h>
#include <stdlib.h>
#include "escapery.h"
#include <string.h>
#include <stdlib.h>
#include "escapery.h"
diff --git
a/common/escapery.h
b/common/escapery.h
index
ae74226
..
35f3fe0
100644
(file)
--- a/
common/escapery.h
+++ b/
common/escapery.h
@@
-1,3
+1,6
@@
+/* Blerg is (C) 2011 The Dominion of Awesome, and is distributed under a
+ * BSD-style license. Please see the COPYING file for details.
+ */
#ifndef _ESCAPERY_H
#define _ESCAPERY_H
#ifndef _ESCAPERY_H
#define _ESCAPERY_H
diff --git
a/common/json.c
b/common/json.c
index
6b793ab
..
5494e4a
100644
(file)
--- a/
common/json.c
+++ b/
common/json.c
@@
-1,3
+1,6
@@
+/* Blerg is (C) 2011 The Dominion of Awesome, and is distributed under a
+ * BSD-style license. Please see the COPYING file for details.
+ */
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
diff --git
a/common/json.h
b/common/json.h
index
61e396d
..
78cb4d7
100644
(file)
--- a/
common/json.h
+++ b/
common/json.h
@@
-1,3
+1,6
@@
+/* Blerg is (C) 2011 The Dominion of Awesome, and is distributed under a
+ * BSD-style license. Please see the COPYING file for details.
+ */
#ifndef _JSON_H
#define _JSON_H
#ifndef _JSON_H
#define _JSON_H
diff --git
a/database/database.c
b/database/database.c
index
585f508
..
cb5cf0c
100644
(file)
--- a/
database/database.c
+++ b/
database/database.c
@@
-1,3
+1,6
@@
+/* Blerg is (C) 2011 The Dominion of Awesome, and is distributed under a
+ * BSD-style license. Please see the COPYING file for details.
+ */
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
diff --git
a/database/database.h
b/database/database.h
index
d128869
..
4c5853e
100644
(file)
--- a/
database/database.h
+++ b/
database/database.h
@@
-1,3
+1,6
@@
+/* Blerg is (C) 2011 The Dominion of Awesome, and is distributed under a
+ * BSD-style license. Please see the COPYING file for details.
+ */
#ifndef _DATABASE_H
#define _DATABASE_H
#ifndef _DATABASE_H
#define _DATABASE_H
diff --git
a/database/tags.c
b/database/tags.c
index
356ef88
..
8386705
100644
(file)
--- a/
database/tags.c
+++ b/
database/tags.c
@@
-1,3
+1,6
@@
+/* Blerg is (C) 2011 The Dominion of Awesome, and is distributed under a
+ * BSD-style license. Please see the COPYING file for details.
+ */
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
diff --git
a/database/tags.h
b/database/tags.h
index
05b6a89
..
a75047b
100644
(file)
--- a/
database/tags.h
+++ b/
database/tags.h
@@
-1,3
+1,6
@@
+/* Blerg is (C) 2011 The Dominion of Awesome, and is distributed under a
+ * BSD-style license. Please see the COPYING file for details.
+ */
#ifndef _TAGS_H
#define _TAGS_H
#ifndef _TAGS_H
#define _TAGS_H
diff --git
a/database/util.c
b/database/util.c
index
ede0450
..
2accd5d
100644
(file)
--- a/
database/util.c
+++ b/
database/util.c
@@
-1,3
+1,7
@@
+/* Blerg is (C) 2011 The Dominion of Awesome, and is distributed under a
+ * BSD-style license. Please see the COPYING file for details.
+ */
+
#define VALID_CHAR(x) (x == ' ' || x == '\'' || x == '-' || x == '.' || (x >= '0' && x <= '9') || (x >= 'A' && x <= 'Z') || x == '_' || (x >= 'a' && x <= 'z'))
int valid_name(const char *name) {
#define VALID_CHAR(x) (x == ' ' || x == '\'' || x == '-' || x == '.' || (x >= '0' && x <= '9') || (x >= 'A' && x <= 'Z') || x == '_' || (x >= 'a' && x <= 'z'))
int valid_name(const char *name) {
diff --git
a/database/util.h
b/database/util.h
index
e046f19
..
bdac3ea
100644
(file)
--- a/
database/util.h
+++ b/
database/util.h
@@
-1
+1,9
@@
+/* Blerg is (C) 2011 The Dominion of Awesome, and is distributed under a
+ * BSD-style license. Please see the COPYING file for details.
+ */
+#ifndef _UTIL_H
+#define _UTIL_H
+
int valid_name(const char *name);
int valid_name(const char *name);
+
+#endif /* _UTIL_H */
diff --git
a/http/canned_responses.c
b/http/canned_responses.c
index
5461b46
..
ee26799
100644
(file)
--- a/
http/canned_responses.c
+++ b/
http/canned_responses.c
@@
-1,3
+1,6
@@
+/* Blerg is (C) 2011 The Dominion of Awesome, and is distributed under a
+ * BSD-style license. Please see the COPYING file for details.
+ */
#include <string.h>
#include <microhttpd.h>
#include "app.h"
#include <string.h>
#include <microhttpd.h>
#include "app.h"
diff --git
a/http/canned_responses.h
b/http/canned_responses.h
index
b04ee3e
..
7b3a0f5
100644
(file)
--- a/
http/canned_responses.h
+++ b/
http/canned_responses.h
@@
-1,3
+1,6
@@
+/* Blerg is (C) 2011 The Dominion of Awesome, and is distributed under a
+ * BSD-style license. Please see the COPYING file for details.
+ */
#ifndef _CANNED_RESPONSES
#define _CANNED_RESPONSES
#ifndef _CANNED_RESPONSES
#define _CANNED_RESPONSES
diff --git
a/http/http_blerg.c
b/http/http_blerg.c
index
6abcc11
..
1a751ac
100644
(file)
--- a/
http/http_blerg.c
+++ b/
http/http_blerg.c
@@
-1,3
+1,6
@@
+/* Blerg is (C) 2011 The Dominion of Awesome, and is distributed under a
+ * BSD-style license. Please see the COPYING file for details.
+ */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git
a/tools/blergtool.c
b/tools/blergtool.c
index
cc78c7d
..
0531858
100644
(file)
--- a/
tools/blergtool.c
+++ b/
tools/blergtool.c
@@
-1,3
+1,6
@@
+/* Blerg is (C) 2011 The Dominion of Awesome, and is distributed under a
+ * BSD-style license. Please see the COPYING file for details.
+ */
#include <stdio.h>
#include <stdlib.h>
#include "database.h"
#include <stdio.h>
#include <stdlib.h>
#include "database.h"
diff --git
a/www/css/blerg.css
b/www/css/blerg.css
index
efaec44
..
7cf15a8
100644
(file)
--- a/
www/css/blerg.css
+++ b/
www/css/blerg.css
@@
-1,3
+1,6
@@
+/* Blerg is (C) 2011 The Dominion of Awesome, and is distributed under a
+ * BSD-style license. Please see the COPYING file for details.
+ */
@font-face {
font-family: "Alte Haas Grotesk Bold";
src: url("/fonts/AlteHaasGroteskBold.ttf");
@font-face {
font-family: "Alte Haas Grotesk Bold";
src: url("/fonts/AlteHaasGroteskBold.ttf");
diff --git
a/www/css/doc.css
b/www/css/doc.css
index
ff2636c
..
de78a26
100644
(file)
--- a/
www/css/doc.css
+++ b/
www/css/doc.css
@@
-1,3
+1,6
@@
+/* Blerg is (C) 2011 The Dominion of Awesome, and is distributed under a
+ * BSD-style license. Please see the COPYING file for details.
+ */
body {
font: 14pt serif;
}
body {
font: 14pt serif;
}
diff --git
a/www/index.html
b/www/index.html
index
5bd89da
..
6b25550
100644
(file)
--- a/
www/index.html
+++ b/
www/index.html
@@
-1,4
+1,7
@@
<!DOCTYPE html>
<!DOCTYPE html>
+<!-- Blerg is (C) 2011 The Dominion of Awesome, and is distributed under a
+ BSD-style license. Please see the COPYING file for details.
+ -->
<html>
<head>
<title>Blërg!</title>
<html>
<head>
<title>Blërg!</title>
diff --git
a/www/js/blerg.js
b/www/js/blerg.js
index
7bb5fe2
..
bae782e
100644
(file)
--- a/
www/js/blerg.js
+++ b/
www/js/blerg.js
@@
-1,3
+1,7
@@
+/* Blerg is (C) 2011 The Dominion of Awesome, and is distributed under a
+ * BSD-style license. Please see the COPYING file for details.
+ */
+
// Config
var baseURL = '';
var recordTemplate = new Template(
// Config
var baseURL = '';
var recordTemplate = new Template(