Branch: Tag:

1997-11-10

1997-11-10 13:24:29 by Mirar (Pontus Hagland) <pike@sort.mirar.org>

doc update

Rev: src/modules/Image/doc/Image.GIF.html:1.5
Rev: src/modules/Image/doc/Image.colortable.html:1.9
Rev: src/modules/Image/doc/Image.html:1.16
Rev: src/modules/Image/doc/Image.image.html:1.18
Rev: src/modules/Image/image.c:1.58
Rev: src/modules/Image/mkwmml.pike:1.2

1: - /* $Id: mkwmml.pike,v 1.1 1997/11/10 05:41:13 mirar Exp $ */ + /* $Id: mkwmml.pike,v 1.2 1997/11/10 13:24:23 mirar Exp $ */      import Stdio;   import Array;
236:    return names;   }    + string *nice_order(string *arr) + { +  sort(map(arr,replace,({"_","`"}),({"ÿ","þ"})), +  arr); +  return arr; + }      string addprefix(string suffix,string prefix)   {
266:       f->write("<dt><encaps>NAME</encaps><dd>\n");    -  foreach (names,n) +  foreach (nice_order(names),n)    f->write("\t<tt>"+n+"</tt><br>\n");       f->write("<p>\n");
309:    if (arg->desc)    {    f->write("\t<tr align=left><td valign=top>\n" -  +rarg+"\t\t<tt>" +  +fixdesc(rarg+"\t\t<tt>"    +arg->args*"</tt><br>\n\t\t<tt>" -  +"</tt></td>\n" +  +"</tt></td>\n",prefix,arg->_line)    +"\t<td valign=bottom>"    +fixdesc(arg->desc,prefix,arg->_line)    +"</td></tr>\n\n");
374:    foreach (huh->methods,method)    method_names|=(method->names=get_method_names(method->decl));    -  method_names_arr=sort(indices(method_names)); +  method_names_arr=nice_order(indices(method_names));       // alphabetically   
391:    if (method_names[method_name])    stderr->write("failed to find "+method_name+" again, wierd...\n");    } -  -  foreach(huh->methods,mapping child) -  { -  document(child,prefix,prefix,f); +     } -  } +        if (huh->classes)    { -  foreach(indices(huh->classes),string n) +  foreach(nice_order(indices(huh->classes)),string n)    {    f->write("\n\n\n<section title=\""+prefix+n+"\">\n");    document(huh->classes[n],
411:       if (huh->modules)    { -  foreach(indices(huh->modules),string n) +  foreach(nice_order(indices(huh->modules)),string n)    {    f->write("\n\n\n<section title=\""+prefix+n+"\">\n");    document(huh->modules[n],