Branch: Tag:

2000-05-01

2000-05-01 06:25:19 by Martin Nilsson <mani@lysator.liu.se>

Removed roxenlib

Rev: server/modules/graphics/cimg.pike:1.16
Rev: server/modules/graphics/counter.pike:1.33
Rev: server/modules/graphics/tablist.pike:1.45
Rev: server/modules/graphics/wiretap.pike:1.15

3:      #include <module.h>   inherit "module"; - inherit "roxenlib"; +    constant thread_safe=1;      roxen.ImageCache the_cache; - constant cvs_version="$Id: cimg.pike,v 1.15 2000/04/11 04:51:23 per Exp $"; + constant cvs_version="$Id: cimg.pike,v 1.16 2000/05/01 06:18:02 nilsson Exp $";   constant tagdesc="Provides the tag <tt>&lt;cimg&gt;</tt> that can be used "   "to convert images between different image formats.";   
46:   {    mapping a=    ([ -  "src":(args->src?fix_relative( args->src, id ):0), +  "src":(args->src?Roxen.fix_relative( args->src, id ):0),    "quant":args->quant,    "crop":args->crop,    "format":args->format,
78:    args->width = size->xsize;    args->height = size->ysize;    } -  return make_tag( "img", args ); +  return Roxen.make_tag( "img", args );   }      string tag_cimg_url( string t, mapping args, RequestID id )   {    return query_internal_location()+the_cache->store(get_my_args(args,id),id);   }