Roxen.git / server / modules / graphics / cimg.pike

version» Context lines:

Roxen.git/server/modules/graphics/cimg.pike:1:   // This is a roxen module. Copyright © 1999 - 2004, Roxen IS.   //      #include <module.h>   inherit "module";   constant thread_safe=1;      roxen.ImageCache the_cache;    - constant cvs_version = "$Id: cimg.pike,v 1.78 2008/12/17 07:10:55 tomas Exp $"; + constant cvs_version = "$Id: cimg.pike,v 1.79 2009/07/08 09:31:52 anders Exp $";   constant module_type = MODULE_TAG;   constant module_name = "Graphics: Image converter";   constant module_doc = "Provides the tag <tt>&lt;cimg&gt;</tt> that can be used "   "to convert images between different image formats.";         mapping tagdocumentation()   {    Stdio.File file=Stdio.File();    if(!file->open(__FILE__,"r")) return 0;
Roxen.git/server/modules/graphics/cimg.pike:460:       class Frame    {    inherit RXML.Frame;       array do_return(RequestID id)    {    string filename = "";    mapping a = get_my_args (check_args (args), id);    -  if(a->filename && sizeof(a->filename)) -  filename = "/" + Roxen.http_encode_url(m_delete(a, "filename")); +  if(args->filename && sizeof(args->filename)) +  filename = "/" + Roxen.http_encode_url(args->filename);    result = query_absolute_internal_location(id)    + the_cache->store(a, id)    + filename    + (do_ext ? "." + a->format : "");    return 0;    }    }   }