Branch: Tag:

1998-11-18

1998-11-18 04:54:36 by Per Hedbor <ph@opera.com>

Better locale support, moved parse_rxml to the configuration object, started workd on the new configuration interface

Rev: server/base_server/cache.pike:1.22
Rev: server/base_server/config/describers.pike:1.58
Rev: server/base_server/config/low_describers.pike:1.28
Rev: server/base_server/configlocale.pike:1.1
Rev: server/base_server/configuration.pike:1.167
Rev: server/base_server/fonts.pike:1.25
Rev: server/base_server/mainconfig.pike:1.116
Rev: server/base_server/module.pike:1.36
Rev: server/base_server/module_support.pike:1.19
Rev: server/base_server/roxen.pike:1.252
Rev: server/base_server/roxenlib.pike:1.89
Rev: server/base_server/roxenloader.pike:1.80
Rev: server/base_server/rxml.pike:1.1
Rev: server/base_server/wizard.pike:1.77
Rev: server/config_actions/cachestatus.pike:1.4
Rev: server/config_actions/debuginformation.pike:1.16
Rev: server/config_actions/feature_list.pike:1.4
Rev: server/config_actions/flush.pike:1.7
Rev: server/config_actions/listfonts.pike:1.4
Rev: server/config_actions/problems.pike:1.12
Rev: server/config_actions/reloadconfiginterface.pike:1.9
Rev: server/etc/include/roxen.h:1.8
Rev: server/etc/roxen_master.pike:1.49
Rev: server/modules/directories/indexfiles.pike:1.7
Rev: server/modules/filters/auto_gzip.pike:1.5
Rev: server/modules/graphics/business_graphics/business.pike:1.110
Rev: server/modules/graphics/counter.pike:1.22
Rev: server/modules/graphics/graphic_text.pike:1.156
Rev: server/modules/graphics/pimage.pike:1.12
Rev: server/modules/graphics/rimage/rimage.pike:1.8
Rev: server/modules/logging/home_logger.pike:1.19
Rev: server/modules/misc/gtext_creator.pike:1.1
Rev: server/modules/misc/language.pike:1.17
Rev: server/modules/misc/mirrorserver.pike:1.14
Rev: server/modules/proxies/ftpgateway.pike:1.26
Rev: server/modules/proxies/gopher.pike:1.15
Rev: server/modules/proxies/wais.pike:1.12
Rev: server/modules/scripting/cgi.pike:1.106
Rev: server/modules/scripting/pikescript.pike:1.30
Rev: server/modules/tags/doc/graphic_text:1.5
Rev: server/modules/tags/htmlparse.pike:1.153
Rev: server/modules/tags/lpctag.pike:1.19
Rev: server/modules/tags/wizard_tag.pike:1.18
Rev: server/protocols/ftp.pike:1.97
Rev: server/protocols/http.pike:1.121
Rev: server/start:1.54

1:   #!/bin/sh   # - # $Id: start,v 1.53 1998/11/06 02:57:53 marcus Exp $ + # $Id: start,v 1.54 1998/11/18 04:53:30 per Exp $    -  + cd `dirname $0` +    VERSION=202; BETA=.b;      # Can be set with '--config-dir=DIR'
30:   if [ "x$PIKE_MASTER" = "x" ]; then    if [ -d share/pike ]; then    # This is used with localinstall -  DEFINES="$DEFINES -Ishare/pike/include" -  PIKE_MODULE_PATH="$PIKE_MODULE_PATH:share/pike/modules" +  DEFINES="$DEFINES -I$roxendir/share/pike/include" +  PIKE_MODULE_PATH="$PIKE_MODULE_PATH:$roxendir/share/pike/modules"    fi    if [ -f lib/master.pike ]; then -  DEFINES="$DEFINES -mlib/master.pike -Ilib/include" -  PIKE_MODULE_PATH="$PIKE_MODULE_PATH:lib/modules" +  DEFINES="$DEFINES -m$roxendir/lib/master.pike -I$roxendir/lib/include" +  PIKE_MODULE_PATH="$PIKE_MODULE_PATH:$roxendir/lib/modules"    elif [ -f lib/pike/master.pike ]; then -  DEFINES="$DEFINES -mlib/pike/master.pike -Ilib/pike/include" -  PIKE_MODULE_PATH="$PIKE_MODULE_PATH:lib/pike/modules" +  DEFINES="$DEFINES -m$roxendir/lib/pike/master.pike -I$roxendir/lib/pike/include" +  PIKE_MODULE_PATH="$PIKE_MODULE_PATH:$roxendir/lib/pike/modules"    fi    export PIKE_MODULE_PATH   else
72:   if [ -d ../local/etc/. ]; then    # Extra module-path    if [ -d ../local/etc/modules/. ]; then -  DEFINES="$DEFINES -M../local/etc/modules" +  DEFINES="$DEFINES -M$roxendir/../local/etc/modules"    fi       # Extra include-path    if [ -d ../local/etc/include ]; then -  DEFINES="$DEFINES -I../local/etc/include" +  DEFINES="$DEFINES -I$roxendir/../local/etc/include"    fi       # Extra program-path -  DEFINES="$DEFINES -P../local/etc" +  DEFINES="$DEFINES -P$roxendir/../local/etc"   fi      # Extra kludge for HPUX
164:    program="$2"    shift    ;; +  '--cd') +  cd_to="$2" +  shift +  ;;    '--version')    echo Roxen Challenger 1.`expr $VERSION / 100`$BETA`expr $VERSION % 100`    exit 0
308:   }      start_roxen() { +  if [ x$DIR != xconfigurations ] ; then    args="-DROXEN $DEBUG $DEFINES $pass $program --config-dir=$DIR" -  +  else +  args="-DROXEN $DEBUG $DEFINES $pass $program" +  fi +  if [ x$cd_to != x ] ; then +  cd $cd_to +  fi    if [ "x$gdb" = "xno" ]; then    echo "PIKE_MODULE_PATH=$PIKE_MODULE_PATH"    echo Executing $pike $args $@
359:    # Signal death.    echo $$: "Roxen died of signal $exitcode. Restarting..."    else -  # Restart. Sleep a few seconds before restarting. -  echo $$: Roxen died. Restarting in 5 seconds... -  sleep 5 +  # Restart. Do not sleep a few seconds before restarting. +  echo $$: Roxen died. Restarting... +  # sleep 1    fi    done