Branch: Tag:

1996-12-07

1996-12-07 11:37:54 by David Hedbor <david@hedbor.org>

Makefile.in
Fixat lite buggar.


CHANGES INSTALLING README:

Uppdaterade, release specifika (speciellt INSTALLING). Måste
uppdateras innan varje ny release.


server/base_server/configuration.pike

Bignum buggade om man använde Mpz. Vet inte varför. Ett
projekt att fixa tills nästa release.

server/base_server/disk_cache.pike

Bugfixar. Funkar nu.

server/base_server/mainconfig.pike

<blockquote> nu del av BODY

server/base_server/privs.pike server/base_server/roxen.pike

Buggade vid uppgradering, eftersom roxen->variables->audit
inte fanns.

server/base_server/roxenlib.pike

Ingen aning om vad jag gjorde här...

server/base_server/config/describers.pike

Ändrade ...More till More Documentation. Snyggare så.

server/bin/garbagecollector.pike

stdin gick inte att få non-blocking. Använde
object st = File("stdin");
istället.

server/bin/install.pike

add_constant(roxen, this_object()) - privs.pike ville inte
kompilera annars.

server/etc/config.html server/etc/restart.html server/etc/welcome.html

bugfixar (blockquote...).

server/modules/filesystems/userfs.pike

bugfix i real_file - se CHANGES

server/modules/filters/htaccess.pike

Stavfel rättat + pekare till NCSAs htaccess dokumentation
adderad

server/modules/graphics/graphic_text.pike

bugfix i bevel();

server/modules/logging/home_logger.pike

bugfix, se CHANGES

server/modules/proxies/proxy.pike

bugfixar

server/modules/tags/indirect_href.pike

-stavfel, +syntax exempel

server/fonts/32/urw_itc_avant_garde-demi-r

används ju at graphics_text.pike

Rev: CHANGES:1.13
Rev: INSTALLING:1.3
Rev: Makefile.in:1.3
Rev: README:1.4
Rev: server/base_server/config/describers.pike:1.12
Rev: server/base_server/configuration.pike:1.9
Rev: server/base_server/disk_cache.pike:1.10
Rev: server/base_server/mainconfig.pike:1.26
Rev: server/base_server/privs.pike:1.2
Rev: server/base_server/roxen.pike:1.20
Rev: server/base_server/roxenlib.pike:1.6
Rev: server/bin/garbagecollector.pike:1.5
Rev: server/bin/install.pike:1.7
Rev: server/etc/config.html:1.4
Rev: server/etc/restart.html:1.6
Rev: server/etc/welcome.html:1.3
Rev: server/fonts/32/urw_itc_avant_garde-demi-r:1.1
Rev: server/modules/filesystems/userfs.pike:1.7
Rev: server/modules/filters/htaccess.pike:1.7
Rev: server/modules/graphics/graphic_text.pike:1.6
Rev: server/modules/logging/home_logger.pike:1.6
Rev: server/modules/proxies/proxy.pike:1.10
Rev: server/modules/tags/indirect_href.pike:1.5

1: - string cvs_version = "$Id: roxen.pike,v 1.19 1996/12/06 23:01:17 per Exp $"; + string cvs_version = "$Id: roxen.pike,v 1.20 1996/12/07 11:37:43 neotron Exp $";   #define IN_ROXEN   #include <module.h>   #include <variables.h>
786:   // These are here for statistics and debug reasons only.   public string status()   { -  int tmp; +  float tmp;    string res="";       if(!current_configuration)
797:    ||!current_configuration->hsent)    return "Fatal error in status(): Bignum object gone.\n";    -  tmp = (int)(current_configuration->sent->mb()/(float)(time(1)-start_time+1)* +  tmp = (current_configuration->sent->mb()/(float)(time(1)-start_time+1)*    QUERY(copies)); -  +     res = sprintf("<table><tr align=right><td><b>Sent data:</b></td><td>%.2fMB"    "</td><td>%.2f Kbit/sec</td>", -  current_configuration->sent->mb()*(float)QUERY(copies), +  current_configuration->sent->mb()*(float)(QUERY(copies)),    tmp * 8192.0);       res += sprintf("<td><b>Sent headers:</b></td><td>%.2fMB</td>",    current_configuration->hsent->mb()*(float)QUERY(copies));    -  tmp=(int)(((float)current_configuration->requests*(float)600)/ +  tmp=(((float)current_configuration->requests*(float)600)/    (float)((time(1)-start_time)+1)*QUERY(copies));       res += ("<tr align=right><td><b>Number of requests:</b></td><td>"
824:   public string full_status()   {    int tmp; -  object conf; +     string res="";    array foo = ({0.0, 0.0, 0.0, 0.0, 0});    if(!sizeof(configurations))    return "<B>No virtual servers enabled</B>\n";    -  foreach(configurations, conf) + #define conf configurations[tmp] +  for(tmp = 0; tmp < sizeof(configurations); tmp++)    { -  +  if(!conf->sent +  ||!conf->received +  ||!conf->hsent) +  continue;    foo[0]+=conf->sent->mb()/(float)(time(1)-start_time+1)*(float)QUERY(copies);    foo[1]+=conf->sent->mb()*(float)QUERY(copies);    foo[2]+=conf->hsent->mb()*(float)QUERY(copies);    foo[3]+=conf->received->mb()*(float)QUERY(copies);    foo[4]+=conf->requests * QUERY(copies);    } -  + #undef conf    for(tmp = 1; tmp < 4; tmp ++)    {    if(foo[tmp] < 1024.0)
2512:    " be removed first.",    0, cache_disabled_p);    -  globvar("cachedir", "/tmp/", "Proxy disk cache: Base Cache Dir", +  globvar("cachedir", "/tmp/roxen_cache/", +  "Proxy disk cache: Base Cache Dir",    TYPE_DIR,    "This is the base directory where cached files will reside. "    "To avoid mishaps, 'roxen_cache/' is always prepended to this "
2525:    "This is the number of directories to hash the contents of the disk "    "cache into. Changing this value currently invalidates the whole "    "cache, since the cache cannot find the old files. In the future, " -  " the cache will be recalculated when this value is changed."); +  " the cache will be recalculated when this value is changed.", +  0, cache_disabled_p);       /// End of cache variables..