Tim Bishop [Wed, 24 Mar 2004 23:56:07 +0000 (23:56 +0000)]
Add a static copy of the menu. By static I mean doesn't use SSI like the
proper menu does. This solves a handful of issues with making that image
at the top both dynamic and cacheable. Downside is we have to keep both
menu files in sync... but that's something we can cope with for now.
Tim Bishop [Wed, 24 Mar 2004 23:29:21 +0000 (23:29 +0000)]
Urg - now the image is generated using SSI the things that include the
include manually won't work. We can kludge these CGI's... but what about
the viewcvs stuff?
Tim Bishop [Wed, 24 Mar 2004 23:16:19 +0000 (23:16 +0000)]
Pretty much the last set of changes I'm going to make:
- Make top-left image more friendly to caches by randomising the URL,
rather than having the URL point to a CGI that returns a random image.
- Change the whole left side bar to use lists for the links, as they should
be, rather than lines of text seperated by <br>'s.
- Add valid XHTML and CSS logos, because we now comply.
Tim Bishop [Wed, 24 Mar 2004 20:57:27 +0000 (20:57 +0000)]
Final round of XHTML/tidy'ing CGI scripts. They both produce XHTML that
validates correctly. The code is a little better, but a touch more messy
in a few places.
Tim Bishop [Wed, 24 Mar 2004 13:11:42 +0000 (13:11 +0000)]
Make docs.cgi XHTML 1.1 compliant (and tidied up the layout).
Problem with this doc is it doesn't have a .xhtml extension, so will
always have to be served as text/html - until I come up with a solution.
Tim Bishop [Tue, 23 Mar 2004 20:22:45 +0000 (20:22 +0000)]
Move to .xhtml files instead of .shtml. They still use SSI.
We're now validating as XHTML 1.1 (or, at least we will be when I've tested
every page of the site to make sure it validates). I've put the necessary
frigs in the webserver so it returns the content-type as text/html if the
web browser doesn't make any claims to know about application/xhtml+xml
(which is the content type defined by the XHTML standards).
Tim Bishop [Fri, 16 Jan 2004 15:54:57 +0000 (15:54 +0000)]
Alter the licensing of libstatgrab. The library part is now under the
LGPL, whilst the tools/examples are under the GPL. Both licenses are
included in the distribution (and are both now in CVS). Also made a
minor alteration to the webpage where it said everything was licensed
under the GPL.
Tim Bishop [Sat, 27 Sep 2003 17:21:32 +0000 (17:21 +0000)]
Update scripts that use cvs2cl. Now using cvs2cl 2.49, still with some
custom patches (but less than before). Diff included here.
--- cvs2cl.bak Sat Sep 27 16:57:59 2003
+++ cvs2cl Sat Sep 27 17:10:55 2003
@@ -1036,7 +1036,8 @@
elsif ($No_Wrap && !$Summary)
{
$msg = &preprocess_msg_text ($msg);
- $files = wrap ("\t", "\t", "* $files");
+# tdb: no-wrap shouldn't wrap ANYTHING!
+ #$files = wrap ("\t", "\t", "* $files");
$msg =~ s/\n(.+)/\n\t$1/g;
unless ($After_Header eq " ") {
$msg =~ s/^(.+)/\t$1/g;
@@ -1328,7 +1329,8 @@
# there are multiple qunks in the first place!
if ((scalar (@qunkrefs)) > 1) {
foreach my $tag (keys (%non_unanimous_tags)) {
- my $everyone_has_this_tag = 1;
+# tdb: we don't want to have unanimous tags
+ my $everyone_has_this_tag = 0;
foreach my $qunkref (@qunkrefs) {
if ((! (defined ($$qunkref{'tags'})))
or (! (grep ($_ eq $tag, @{$$qunkref{'tags'}})))) {
@@ -1521,7 +1523,8 @@
unless ( exists $fileinfo_printed{$b} ) {
if ($fbegun) {
- $beauty .= ", ";
+# tdb: hacked to put a newline after each one
+ $beauty .= ",\n";
} else {
$fbegun = 1;
}
Tim Bishop [Wed, 4 Jun 2003 18:59:03 +0000 (18:59 +0000)]
Move bug tracking to top section, and drop sourceforge section. I hope to
have our own bug tracking soon, which would make the sourceforge pages
redundant. Whether or not we delete the project is another matter...
Tim Bishop [Mon, 12 May 2003 13:25:32 +0000 (13:25 +0000)]
Nothing changed, just wanted to log this relevant diff...
This is a diff against the latest cvs2cl, version 2.46. It makes it
work how we require for cvslog. There's no new features, it's just a
new diff covering all the previous alterations on 2.38.
Oh, and it's a unified diff, which is much more readable :-)
--- cvs2cl.orig Mon May 12 14:12:50 2003
+++ cvs2cl Mon May 12 14:13:14 2003
@@ -879,7 +879,8 @@
elsif ($No_Wrap)
{
$msg = &preprocess_msg_text ($msg);
- $files = wrap ("\t", " ", "$files");
+# tdb: no-wrap shouldn't wrap ANYTHING!
+ #$files = wrap ("\t", " ", "$files");
$msg =~ s/\n(.*)/\n\t$1/g;
unless ($After_Header eq " ") {
$msg =~ s/^(.*)/\t$1/g;
@@ -1042,7 +1043,8 @@
# Keep track of whether all the files in this commit were in the
# same directory, and memorize it if so. We can make the output a
# little more compact by mentioning the directory only once.
- if ((scalar (@qunkrefs)) > 1)
+# tdb: hacked to turn off the commondir feature
+ if ((scalar (@qunkrefs)) < 0)
{
if (! (defined ($common_dir)))
{
@@ -1086,7 +1088,8 @@
# there are multiple qunks in the first place!
if ((scalar (@qunkrefs)) > 1) {
foreach my $tag (keys (%non_unanimous_tags)) {
- my $everyone_has_this_tag = 1;
+# tdb: we don't want to have unanimous tags
+ my $everyone_has_this_tag = 0;
foreach my $qunkref (@qunkrefs) {
if ((! (defined ($$qunkref{'tags'})))
or (! (grep ($_ eq $tag, @{$$qunkref{'tags'}})))) {
@@ -1237,7 +1240,8 @@
next if (defined ($$qunkref{'printed'})); # skip if already printed
if ($fbegun) {
- $beauty .= ", ";
+# tdb: hacked to put a newline after each one
+ $beauty .= ",\n";
}
else {
$fbegun = 1;
@@ -1286,7 +1290,8 @@
# todo: still have to take care of branch_roots?
- $beauty = "* $beauty:";
+# tdb: hacked to remove the prefixed *
+ $beauty = "$beauty:";
Tim Bishop [Mon, 3 Mar 2003 15:30:59 +0000 (15:30 +0000)]
Nothing changed, I just want to log a relevant change...
This is the latest modification to cvs2cl, revision 2.38. This is an
old and outdatted version of cvs2cl, but it's what we're using right
now. I've got rid of unanimous tags in this change. The patch given
below is a complete diff from 2.38.
777c777,778
< $files = wrap ("\t", " ", "$files");
---
> # tdb: no-wrap shouldn't wrap ANYTHING!
> #$files = wrap ("\t", " ", "$files"); 934c935,936
< if ((scalar (@qunkrefs)) > 1)
---
> # tdb: hacked to turn off the commondir feature
> if ((scalar (@qunkrefs)) < 0) 978c980,981
< my $everyone_has_this_tag = 1;
---
> # tdb: we don't want to have unanimous tags
> my $everyone_has_this_tag = 0; 1126c1129,1130
< $beauty .= ", ";
---
> # tdb: hacked to put a newline after each one
> $beauty .= ",\n"; 1175c1179,1180
< $beauty = "* $beauty:";
---
> # tdb: hacked to remove the prefixed *
> $beauty = "$beauty:";