langhtml.c File Reference

#include "frontier.h"
#include "standard.h"
#include "error.h"
#include "file.h"
#include "memory.h"
#include "ops.h"
#include "resources.h"
#include "strings.h"
#include "lang.h"
#include "langipc.h"
#include "langinternal.h"
#include "langexternal.h"
#include "langsystem7.h"
#include "langhtml.h"
#include "langwinipc.h"
#include "process.h"
#include "tableinternal.h"
#include "tablestructure.h"
#include "tableverbs.h"
#include "op.h"
#include "opinternal.h"
#include "oplist.h"
#include "opverbs.h"
#include "kernelverbs.h"
#include "kernelverbdefs.h"
#include "shell.rsrc.h"
#include "timedate.h"
#include "WinSockNetEvents.h"
#include "byteorder.h"
#include "iso8859.c"

Include dependency graph for langhtml.c:

Go to the source code of this file.

Data Structures

struct  tytokeninfo

Defines

#define fldebugwebsite   false
#define str_separatorline   BIGSTRING ("\x17<hr size=2 width=100% />\r")
#define str_macroerror   BIGSTRING ("\x20<b>[</b>Macro error: ^0<b>]</b>\r")
#define str_mailto   BIGSTRING ("\x1A<a href=\"mailto:^0\">^0</a>")
#define str_hotlink   BIGSTRING ("\x13<a href=\"^0\">^1</a>")
#define str_pagebreak   BIGSTRING ("\x05<p />")
#define str_startbold   BIGSTRING ("\x03<b>")
#define str_endbold   BIGSTRING ("\x04</b>")
#define str_default   BIGSTRING ("\x07" "default")
#define str_index   BIGSTRING ("\x05" "index")
#define str_closetag   BIGSTRING ("\x05" "</^0>")
#define flcurlybracemacros   true
#define startmacrochar   '{'
#define endmacrochar   '}'
#define flvariablemacrocharacters   true
#define maxglossarynamelength   127
#define str_no   BIGSTRING ("\x02" "no")
#define str_yes   BIGSTRING ("\x03" "yes")
#define str_adrpagetable   BIGSTRING ("\x16" "html.data.adrpagetable")
#define str_websitesdata   BIGSTRING ("\x0e" "websites.#data")
#define str_userhtmlprefs   BIGSTRING ("\x0f" "user.html.prefs")
#define str_usermacros   BIGSTRING ("\x10" "user.html.macros")
#define str_standardmacros   BIGSTRING ("\x18" "html.data.standardMacros")
#define str_tools   BIGSTRING ("\x05" "tools")
#define str_glossary   BIGSTRING ("\x08" "glossary")
#define str_images   BIGSTRING ("\x06" "images")
#define str_glosspatch   BIGSTRING ("\x0e" "[[#glossPatch ")
#define str_useglosspatcher   BIGSTRING ("\x0f" "useGlossPatcher")
#define str_renderedtext   BIGSTRING ("\x0c" "renderedtext")
#define str_iso8859map   BIGSTRING ("\x15" "html.data.iso8859.win")
#define str_template   BIGSTRING ("\x08" "template")
#define str_indirecttemplate   BIGSTRING ("\x10" "indirectTemplate")
#define str_adrobject   BIGSTRING ("\x09" "adrobject")
#define str_ftpsite   BIGSTRING ("\x07" "ftpsite")
#define str_fileextension   BIGSTRING ("\x0d" "fileextension")
#define str_maxfilenamelength   BIGSTRING ("\x11" "maxfilenamelength")
#define str_defaulttemplate   BIGSTRING ("\x0f" "defaulttemplate")
#define str_defaultfilename   BIGSTRING ("\x0f" "defaultfilename")
#define str_directivesonlyatbeginning   BIGSTRING ("\x19" "directivesOnlyAtBeginning")
#define STR_P_ERRORPAGETEMPLATE   BIGSTRING ("\x4C" "<HTML><HEAD><TITLE>^0</TITLE></HEAD><BODY><H1>^0</H1><P>^1</P></BODY></HTML>")
#define STR_P_MISSING_HOST_HEADER   BIGSTRING ("\x40" "Every HTTP/1.1 request must include a Host header")
#define STR_P_UNSUPPORTED_VERSION   BIGSTRING ("\x24" "This server does not support HTTP/^0")
#define STR_P_INVALID_URI   BIGSTRING ("\x23" "All URIs must begin with / or http:")
#define STR_P_BODY_NOT_READ   BIGSTRING ("\x22" "The request body couldn't be read.")
#define STR_P_METHOD_NOT_ALLOWED   BIGSTRING ("\x20" "^0 isn't allowed on this object.")
#define STR_P_INVALID_REQUEST_LINE   BIGSTRING ("\x1C" "The request line is invalid.")
#define STR_P_USERWEBSERVERPOSTFILTERS   BIGSTRING ("\x1A" "user.webserver.postfilters")
#define STR_P_USERWEBSERVERPREFILTERS   BIGSTRING ("\x19" "user.webserver.prefilters")
#define STR_P_USERWEBSERVERRESPONDERS   BIGSTRING ("\x19" "user.webserver.responders")
#define STR_P_PROCESSING_STARTED   BIGSTRING ("\x18" "requestProcessingStarted")
#define STR_P_WEBSERVERDATARESPONSES   BIGSTRING ("\x18" "webserver.data.responses")
#define STR_P_macrostartchars   BIGSTRING ("\x14" "macrostartcharacters")
#define STR_P_macroendchars   BIGSTRING ("\x12" "macroendcharacters")
#define STR_P_flprocessmacrosintags   BIGSTRING ("\x17" "processmacrosinhtmltags")
#define STR_P_SERVERSTRING   BIGSTRING ("\x0e" "Frontier/^0-^1")
#define STR_P_RESPONDERERROR   BIGSTRING ("\x16" "Responder method error")
 PIKE.
#define STR_P_LOGADD   BIGSTRING ("\x16" "log.addToGuestDatabase")
#define STR_P_USERWEBSERVERCONFIG   BIGSTRING ("\x15" "user.webserver.config")
#define STR_P_USERWEBSERVERPREFS   BIGSTRING ("\x14" "user.webserver.prefs")
#define STR_P_USERWEBSERVERSTATS   BIGSTRING ("\x14" "user.webserver.stats")
#define STR_P_INETDCONFIGTABLEADR   BIGSTRING ("\x13" "inetdConfigTableAdr")
#define STR_P_DEFAULTTIMEOUTSECS   BIGSTRING ("\x12" "defaultTimeoutSecs")
#define STR_P_USERINETDLISTENS   BIGSTRING ("\x12" "user.inetd.listens")
#define STR_P_WEBSERVERDISPATCH   BIGSTRING ("\x12" "webserver.dispatch")
#define STR_P_RESPONDERTABLEADR   BIGSTRING ("\x11" "responderTableAdr")
#define STR_P_POSTFILTERERROR   BIGSTRING ("\x11" "Post Filter error")
#define STR_P_PREFILTERERROR   BIGSTRING ("\x10" "Pre filter error")
#define STR_P_DEFAULTRESPONDER   BIGSTRING ("\x10" "defaultResponder")
#define STR_P_USERINETDPREFS   BIGSTRING ("\x10" "user.inetd.prefs")
#define STR_P_RESPONSEHEADERS   BIGSTRING ("\x0F" "responseHeaders")
#define STR_P_WHATWEREWEDOING   BIGSTRING ("\x0F" "whatWereWeDoing")
#define STR_P_RETURNCHUNKSIZE   BIGSTRING ("\x0F" "returnChunkSize")
#define STR_P_ADRHEADERTABLE   BIGSTRING ("\x0E" "adrHeaderTable")
#define STR_P_MAXCONNECTIONS   BIGSTRING ("\x0E" "maxConnections")
#define STR_P_REQUESTHEADERS   BIGSTRING ("\x0E" "requestHeaders")
#define STR_P_CONTENT_LENGTH   BIGSTRING ("\x0E" "Content-Length")
#define STR_P_WHATWENTWRONG   BIGSTRING ("\x0D" "whatWentWrong")
#define STR_P_100CONTINUE   BIGSTRING ("\x0C" "100-continue")
#define STR_P_RESPONSEBODY   BIGSTRING ("\x0C" "responseBody")
#define STR_P_REQUESTBODY   BIGSTRING ("\x0B" "requestBody")
#define STR_P_MAXMEMAVAIL   BIGSTRING ("\x0B" "maxMemAvail")
#define STR_P_MINMEMAVAIL   BIGSTRING ("\x0B" "minMemAvail")
#define STR_P_CONNECTION   BIGSTRING ("\x0A" "Connection")
#define STR_P_PARAMTABLE   BIGSTRING ("\x0A" "paramTable")
#define STR_P_SEARCHARGS   BIGSTRING ("\x0A" "searchArgs")
#define STR_P_FIRSTLINE   BIGSTRING ("\x09" "firstLine")
#define STR_P_CHUNKSIZE   BIGSTRING ("\x09" "chunksize")
#define STR_P_HTTP11   BIGSTRING ("\x09" "HTTP/1.1 ")
#define STR_P_CONDITION   BIGSTRING ("\x09" "condition")
#define STR_P_RESPONDER   BIGSTRING ("\x09" "responder")
#define STR_P_PATHARGS   BIGSTRING ("\x08" "pathArgs")
#define STR_P_ADRTABLE   BIGSTRING ("\x08" "adrTable")
#define STR_P_FLPARAMS   BIGSTRING ("\x08" "flParams")
#define STR_P_ENABLED   BIGSTRING ("\x07" "enabled")
#define STR_P_REQUEST   BIGSTRING ("\x07" "request")
#define STR_P_TIMEOUT   BIGSTRING ("\x07" "timeout")
#define STR_P_COOKIES   BIGSTRING ("\x07" "cookies")
#define STR_P_METHODS   BIGSTRING ("\x07" "methods")
#define STR_P_FLLEGAL   BIGSTRING ("\x07" "flLegal")
#define STR_P_FLCLOSE   BIGSTRING ("\x07" "flClose")
#define STR_P_NOWAIT   BIGSTRING ("\x06" "noWait")
#define STR_P_METHOD   BIGSTRING ("\x06" "method")
#define STR_P_EXPECT   BIGSTRING ("\x06" "Expect")
#define STR_P_STREAM   BIGSTRING ("\x06" "stream")
#define STR_P_REFCON   BIGSTRING ("\x06" "refcon")
#define STR_P_CLIENT   BIGSTRING ("\x06" "client")
#define STR_P_COOKIE   BIGSTRING ("\x06" "Cookie")
#define STR_P_SERVER   BIGSTRING ("\x06" "Server")
#define STR_P_UNKNOWN   BIGSTRING ("\x07" "UNKNOWN")
#define STR_P_THREAD   BIGSTRING ("\x06" "thread")
#define STR_P_DAEMON   BIGSTRING ("\x06" "daemon")
#define STR_P_ALLOW   BIGSTRING ("\x05" "ALLOW")
#define STR_P_CLOSE   BIGSTRING ("\x05" "close")
#define STR_P_READY   BIGSTRING ("\x05" "ready")
#define STR_P_STATS   BIGSTRING ("\x05" "stats")
#define STR_P_COUNT   BIGSTRING ("\x05" "count")
#define STR_P_CODE   BIGSTRING ("\x04" "code")
#define STR_P_HITS   BIGSTRING ("\x04" "hits")
#define STR_P_HOST   BIGSTRING ("\x04" "host")
#define STR_P_PORT   BIGSTRING ("\x04" "port")
#define STR_P_PATH   BIGSTRING ("\x04" "path")
#define STR_P_DATE   BIGSTRING ("\x04" "Date")
#define STR_P_CRLFCRLF   BIGSTRING ("\x04" "\r\n\r\n")
#define STR_P_ANY   BIGSTRING ("\x03" "any")
#define STR_P_URI   BIGSTRING ("\x03" "URI")
#define STR_P_DOLLAR_ENCODED   BIGSTRING ("\x03" "%24")
#define STR_P_CRLF   BIGSTRING ("\x02" "\r\n")
#define STR_P_COLON   BIGSTRING ("\x02" ": ")
#define STR_P_DOLLAR   BIGSTRING ("\x01" "$")
#define STR_P_SPACE   BIGSTRING ("\x01" " ")
#define STR_P_EMPTY   BIGSTRING ("\x00")
#define STR_STATUSCONTINUE   "HTTP/1.1 100 CONTINUE\r\n\r\n"
#define sizestatuscontinue   25
#define ct   ((*s).eof)
#define i   ((*s).pos)
#define ct   ((*s).eof)
#define i   ((*s).pos)
#define M_SOF0   0xC0
#define M_SOF1   0xC1
#define M_SOF2   0xC2
#define M_SOF3   0xC3
#define M_SOF5   0xC5
#define M_SOF6   0xC6
#define M_SOF7   0xC7
#define M_SOF9   0xC9
#define M_SOF10   0xCA
#define M_SOF11   0xCB
#define M_SOF13   0xCD
#define M_SOF14   0xCE
#define M_SOF15   0xCF
#define M_SOI   0xD8
#define M_EOI   0xD9
#define M_SOS   0xDA
#define M_COM   0xFE
#define str_calendartdwithinfo   BIGSTRING ("\x1f""\t\t<td^0 width=\"^1\" height=\"^2\">")
#define str_calendartdspacer   BIGSTRING ("\x21""\t\t<td^0 colspan=\"^1\">&nbsp;</td>\r")
#define str_calendartodaytemplate   BIGSTRING ("\x09""<b>^0</b>")
#define dayofweektocolumn(i, f)   ((((i) - ((f) - 1) + 6) % 7) + 1)
#define columntodayofweek(i, f)   ((((i) + ((f) - 1) - 1) % 7) + 1)
#define modern_safe_macros   1

Enumerations

enum  tyhtmlverbtoken {
  processmacrosfunc, urldecodefunc, urlencodefunc, parseargsfunc,
  iso8859encodefunc, getgifheightwidthfunc, getjpegheightwidthfunc, buildpagetablefunc,
  refglossaryfunc, getpreffunc, getonedirectivefunc, rundirectivefunc,
  rundirectivesfunc, runoutlinedirectivesfunc, cleanforexportfunc, normalizenamefunc,
  glossarypatcherfunc, expandurlsfunc, traversalskipfunc, getpagetableaddressfunc,
  htmlneutermacrosfunc, htmlneutertagsfunc, htmlcalendardrawfunc, stripmarkupfunc,
  deindexpagefunc, indexpagefunc, cleanindexfunc, unionmatchesfunc,
  mrcalendargetaddressdayfunc, mrcalendargetdayaddressfunc, mrcalendargetfirstaddressfunc, mrcalendargetfirstdayfunc,
  mrcalendargetlastaddressfunc, mrcalendargetlastdayfunc, mrcalendargetmostrecentaddressfunc, mrcalendargetmostrecentdayfunc,
  mrcalendargetnextaddressfunc, mrcalendargetnextdayfunc, mrcalendarnavigatefunc, webserverserverfunc,
  webserverdispatchfunc, webserverparseheadersfunc, webserverparsecookiesfunc, webserverbuildresponsefunc,
  webserverbuilderrorpagefunc, webservergetserverstringfunc, inetdsupervisorfunc, cthtmlverbs
}

Functions

boolean frontierversion (tyvaluerecord *v)
boolean sysos (tyvaluerecord *v)
static boolean htmlcallbackerror (bigstring bsmsg, ptrvoid perrorstring)
static boolean strongcoercetostring (tyvaluerecord *val)
static boolean langpushwithtable (hdlhashtable ht, hdlhashtable hwith)
static boolean htmlgetdefaultpagetable (hdlhashtable *hpagetable)
static boolean getoptionalpagetablevalue (hdltreenode hp1, short n, hdlhashtable *hpagetable)
static boolean htmlgetprefstable (hdlhashtable *huserprefs)
static boolean htmlgetpref (typrocessmacrosinfo *pmi, bigstring pref, tyvaluerecord *val)
static boolean htmlgetbooleanpref (typrocessmacrosinfo *pmi, bigstring pref, boolean *flpref)
static boolean htmlgetstringpref (typrocessmacrosinfo *pmi, bigstring pref, bigstring bspref)
static boolean htmlrefglossary (typrocessmacrosinfo *pmi, Handle hreference, bigstring perrorstring, Handle *hresult)
static boolean htmlcleanforexport (Handle x)
static void htmldisposemacrocontext (typrocessmacrosinfo *pmi)
static boolean htmlbuildmacrocontext (typrocessmacrosinfo *pmi)
static boolean htmlrunmacro (typrocessmacrosinfo *pmi, Handle macro, bigstring perrorstring, Handle *hresult)
static boolean htmlreportmacroerror (typrocessmacrosinfo *pmi, Handle macro, bigstring perrorstring)
static boolean isLegalURLPunctuationChar (char ch)
static boolean isAlphaChar (char ch)
static boolean processmacrosintags (typrocessmacrosinfo *pmi)
static boolean getmacrocharacters (typrocessmacrosinfo *pmi, bigstring bsstart, bigstring bsend)
static boolean processhtmltext (handlestream *s, typrocessmacrosinfo *pmi)
static boolean autoparagraphs (handlestream *s)
boolean processhtmlmacrosverb (hdltreenode hparam1, tyvaluerecord *vreturned)
static unsigned char hexchartonum (unsigned char ch)
static unsigned char numtohexchar (unsigned char ch)
static void decodehandle (Handle htext)
boolean urldecodeverb (hdltreenode hparam1, tyvaluerecord *vreturned)
static void encodehandle (Handle htext)
boolean urlencodeverb (hdltreenode hparam1, tyvaluerecord *vreturned)
static boolean nthfieldhandle (Handle htext, byte fielddelim, long fieldnum, Handle *hreturnedtext)
boolean parseargsverb (hdltreenode hparam1, tyvaluerecord *vreturned)
boolean iso8859encodeverb (hdltreenode hparam1, tyvaluerecord *vreturned)
static boolean getGifBounds (hdlfilenum fnum, unsigned short *height, unsigned short *width)
boolean getgifheightwidthverb (hdltreenode hparam1, tyvaluerecord *vreturned)
static boolean read_1_byte (hdlfilenum file_ref, unsigned char *c)
static boolean read_2_bytes (hdlfilenum file_ref, unsigned short *b)
static boolean first_marker (hdlfilenum file_ref, unsigned char *c)
static boolean next_marker (hdlfilenum file_ref, unsigned char *c)
static boolean skip_variable (hdlfilenum file_ref)
static boolean ScanJPEGHeader (hdlfilenum file_ref, unsigned short *height, unsigned short *width)
boolean getjpegheightwidthverb (hdltreenode hparam1, tyvaluerecord *vreturned)
static tyvaluetype langgetextendedvaluetype (const tyvaluerecord *val)
static boolean additemtopagetable (hdlhashtable htable, hdlhashnode hnode, hdlhashtable hpagetable)
static boolean buildpagetableverb (hdltreenode hparam1, tyvaluerecord *vreturned)
static boolean getprefverb (hdltreenode hp1, tyvaluerecord *v)
static boolean htmlrundirective (typrocessmacrosinfo *pmi, Handle s, bigstring fieldname)
static boolean rundirectiveverb (hdltreenode hp1, tyvaluerecord *v)
static boolean rundirectivesverb (hdltreenode hp1, tyvaluerecord *v)
static boolean runoutlinedirectivesverb (hdltreenode hp1, tyvaluerecord *v)
static boolean cleanforexportverb (hdltreenode hp1, tyvaluerecord *v)
static boolean glossarypatcherverb (hdltreenode hp1, tyvaluerecord *v)
static boolean expandurlsverb (hdltreenode hp1, tyvaluerecord *v)
static boolean traversalskipverb (hdltreenode hp1, tyvaluerecord *v)
static boolean getpagetableaddressverb (hdltreenode hp1, tyvaluerecord *v)
static boolean stripmarkup (handlestream *s)
static boolean parsepageaddress (bigstring bsaddress, bigstring bspage, bigstring bsparent)
static boolean isstalepageaddress (bigstring bsaddress)
static boolean cleanindextable (hdlhashtable hpages)
static boolean deindexpage (hdlhashtable hindex, bigstring bspagekey)
static boolean indexpage (bigstring bsaddress, bigstring bsurl, bigstring bstitle, handlestream *pagetext, hdlhashtable hindex, hdlhashtable hstopwords, bigstring bsparent, bigstring bspage)
static boolean stripmarkupverb (hdltreenode hp1, tyvaluerecord *v)
static boolean deindexpageverb (hdltreenode hp1, tyvaluerecord *v)
static boolean indexpageverb (hdltreenode hp1, tyvaluerecord *v)
static boolean cleanindexverb (hdltreenode hp1, tyvaluerecord *v)
static boolean unionmatchesverb (hdltreenode hp1, tyvaluerecord *v)
static boolean followaddressvalue (tyvaluerecord *v)
static boolean followaddress (tyaddress *adr)
static boolean langlookupvaluefollow (hdlhashtable ht, bigstring bs, tyvaluerecord *v, hdlhashnode *hnode)
static boolean langcallscriptwithaddress (tyaddress *adrscript, tyaddress *adrparamtable, hdlhashtable hcontext, tyvaluerecord *vreturned)
static boolean langruntextwithcontext (Handle htext, hdlhashtable hcontext, tyvaluerecord *v)
static boolean addHeaderToTable (Handle htext, long ix1, long len1, long ix2, long len2, hdlhashtable htable)
static boolean webserverparseheaders (Handle htext, hdlhashtable hheadertable, Handle *hptr)
static boolean webserverparsecookies (hdlhashtable hparamtable, tyvaluerecord *vreturn)
static boolean webservergetserverstring (tyvaluerecord *vreturn)
static boolean webserverbuilderrorpage (Handle hshort, Handle hlong, Handle *hpage)
static boolean webserverbuilderrorpagefromstrings (bigstring bsshort, bigstring bslong, Handle *hpage)
static boolean writetableitemtostreamvisit (tyvaluerecord val, ptrhandlestream sptr, bigstring bs)
static boolean webserverbuildresponse (bigstring bscode, hdlhashtable hheaderstable, Handle hbody, tyvaluerecord *vreturn)
static boolean webserveraddtoerrorlog (tyaddress *adrmethod, bigstring bstype, bigstring bserror)
static boolean webservercallfilters (tyaddress *pta, bigstring bstable, bigstring bserrortype)
static boolean webservergetrespondertableaddress (bigstring bsname, tyaddress *adr)
static boolean webserverlocaterespondercontextbuilder (hdlhashtable hpt, hdlhashtable *hnew)
static boolean webserverlocateresponder (hdlhashtable hparamtable, bigstring bs, tyaddress *adrrespondertable)
static boolean visitmethods (hdlhashnode hnode, Handle *h)
static boolean webservermethodnotallowed (hdlhashtable hmethodstable, bigstring bsmethod, tyvaluerecord *vreturn)
static boolean webservergetmethod (hdlhashtable hpt, tyaddress *adrresponder, tyaddress *adrmethod, tyvaluerecord *vreturn)
static boolean webservercallresponder (tyaddress *pta, tyaddress *adrresponder, tyvaluerecord *vreturn)
static boolean webserverdispatch (tyaddress *pta, tyvaluerecord *vreturn)
static boolean webserverreadrequest (hdlhashtable ht, Handle h, long *errorcode, bigstring bserror)
static boolean webserverprocessfirstline (hdlhashtable ht, long *errorcode, bigstring bserror)
static boolean webservermaintainstats (void)
static boolean webserverserver (tyaddress *pta, Handle hrequest, tyvaluerecord *vreturn)
static boolean inetdaddtoerrorlog (long code, bigstring bserror, hdlhashtable hparamtable)
static boolean inetdsupervisor (long stream, long refcon, tyvaluerecord *vreturn)
boolean parseaddress (Handle htext, tyvaluerecord *v)
static boolean mrcalendargetaddressday (Handle htext, unsigned long *date)
static boolean mrcalendargetaddressdayverb (hdltreenode hp1, tyvaluerecord *v)
static boolean mrcalendargetdayaddressdive (short num, tyaddress *adr, boolean flcreate, OSType idtype)
static boolean mrcalendargetdayaddress (tyaddress adrcalendar, unsigned long secs, boolean flcreate, OSType idtype, tyaddress *adr)
static boolean mrcalendargetdayaddressverb (hdltreenode hp1, tyvaluerecord *v)
static boolean findfirstnumericnodevisit (bigstring bsname, hdlhashnode nomad, tyvaluerecord val, ptrvoid refcon)
static boolean mrcalendargetfirstaddressverb (hdltreenode hp1, tyvaluerecord *v)
static boolean mrcalendargetfirstday (hdlhashtable ht, tyvaluerecord *v)
static boolean mrcalendargetfirstdayverb (hdltreenode hp1, tyvaluerecord *v)
static boolean findlastnumericnodevisit (bigstring bsname, hdlhashnode nomad, tyvaluerecord val, ptrvoid refcon)
static boolean mrcalendargetlastaddressverb (hdltreenode hp1, tyvaluerecord *v)
static boolean mrcalendargetlastday (hdlhashtable ht, tyvaluerecord *v)
static boolean mrcalendargetlastdayverb (hdltreenode hp1, tyvaluerecord *v)
static boolean mrcalendargetmostrecentaddress (tyaddress adrcalendar, unsigned long date, tyvaluerecord *v)
static boolean mrcalendargetmostrecentaddressverb (hdltreenode hp1, tyvaluerecord *v)
static boolean mrcalendargetmostrecentdayverb (hdltreenode hp1, tyvaluerecord *v)
static boolean mrcalendargetnextaddress (tyaddress adrcalendar, unsigned long date, tyvaluerecord *v)
static boolean mrcalendargetnextaddressverb (hdltreenode hp1, tyvaluerecord *v)
static boolean mrcalendargetnextdayverb (hdltreenode hp1, tyvaluerecord *v)
static boolean mrcalendarnavigateverb (hdltreenode hp1, tyvaluerecord *v)
static boolean addclassattribute (handlestream *s, Handle hcssprefix, bigstring bsname)
static boolean fillintemplate (Handle h, Handle hinsert)
static boolean addday (handlestream *s, long daynum, boolean fltoday, hdlhashtable hmonthtable, Handle hurlprefix, Handle hbgcolorattrib, Handle hcolwidth, Handle hrowheight, Handle hday, Handle hcssprefix, boolean flfirstcolumn)
static boolean getmonthstring (long ix, tyvaluerecord vlist, Handle *h)
static boolean getdayofweekstring (long ix, tyvaluerecord vlist, Handle *h)
static boolean getmonthurl (unsigned long curdate, Handle hurldelimiter, Handle hurlprefix, hdlhashtable hcalendartable, hdlhashtable *hmonthtable)
static boolean openoutertable (handlestream *s, Handle hcssprefix, Handle htableborder)
static boolean addmonthyearrow (handlestream *s, tyvaluerecord vmonthlist, unsigned long curdate, Handle hcssprefix, Handle hbgcolor, Handle hmonthyeartemplate)
static boolean adddaynamesrow (handlestream *s, Handle hcssprefix, Handle hbgcolor, Handle hcolwidth, Handle hrowheight, Handle hdaynametemplate, long firstdayofweek, tyvaluerecord vdayofweeklist)
static boolean adddayrows (handlestream *s, unsigned long curdate, long firstdayofweek, hdlhashtable hmonthtable, Handle hurlprefix, Handle hbgcolor, Handle hcolwidth, Handle hrowheight, Handle hdaytemplate, Handle hcssprefix)
static boolean htmlcalendardraw (handlestream *s, hdlhashtable hcalendartable, Handle hurlprefix, Handle hcolwidth, Handle hrowheight, Handle htableborder, Handle hbgcolor, Handle hmonthyeartemplate, Handle hdaynametemplate, Handle hdaytemplate, unsigned long curdate, Handle hurldelimiter, long firstdayofweek, tyvaluerecord vmonthlist, tyvaluerecord vdayofweeklist, Handle hcssprefix)
static boolean htmlcalendardrawverb (hdltreenode hp1, tyvaluerecord *v)
static boolean macrostablelookup (hdlhashtable ht, bigstring bs, boolean *ptrflparams)
static boolean getidentifierstring (hdltreenode hnode, bigstring bs)
static boolean issafeconstop (hdltreenode hnode)
static boolean issafeidentifier (hdltreenode hnode, hdlhashtable hmacrostable)
static boolean issafefieldop (hdltreenode hnode, hdlhashtable hmacrostable)
static boolean issafefunctionop (hdltreenode hnode, hdlhashtable hmacrostable)
static boolean issafeifop (hdltreenode hnode, hdlhashtable hmacrostable)
static boolean issafetryop (hdltreenode hnode, hdlhashtable hmacrostable)
static boolean issafebinaryop (hdltreenode hnode, hdlhashtable hmacrostable)
static boolean issafeunaryop (hdltreenode hnode, hdlhashtable hmacrostable)
static boolean issafearrayop (hdltreenode hnode, hdlhashtable hmacrostable)
static boolean issafelistop (hdltreenode hnode, hdlhashtable hmacrostable)
static boolean issaferecordop (hdltreenode hnode, hdlhashtable hmacrostable)
static boolean issafestatement (hdltreenode hnode, hdlhashtable hmacrostable)
static boolean issafestatementlist (hdltreenode hnode, hdlhashtable hmacrostable)
static boolean findtokencallback (hdlhashnode hn, ptrvoid p)
static boolean issafereturnop (hdltreenode hnode, hdlhashtable hmacrostable)
static boolean issafemacro (Handle h, long ixstart, long len, hdlhashtable hmacrostable)
static boolean neutermacros (Handle h, hdlhashtable hmacrostable)
static boolean htmlneutermacrosverb (hdltreenode hp1, tyvaluerecord *v)
static boolean incrementcounter (hdlhashtable ht, boolean flincr)
static boolean neutertags (Handle h, hdlhashtable htagstable)
static boolean htmlneutertagsverb (hdltreenode hp1, tyvaluerecord *v)
static boolean htmlfunctionvalue (short token, hdltreenode hparam1, tyvaluerecord *vreturned, bigstring bserror)
boolean htmlinitverbs (void)

Variables

static bigstring bsdebug
static boolean flpagemillfile = false
static tyvaluerecord osaval = { binaryvaluetype }
static unsigned char * bswhatwerewedoing []


Define Documentation

#define columntodayofweek i,
 )     ((((i) + ((f) - 1) - 1) % 7) + 1)
 

Definition at line 8451 of file langhtml.c.

Referenced by adddaynamesrow().

#define ct   ((*s).eof)
 

#define ct   ((*s).eof)
 

Referenced by addcomponent(), addlangcomponent(), addtodynamicarray(), addtowindowarray(), appdefaultscroll(), burntickloops(), bytestohex(), bytestohexstring(), cardToFront(), claygetfileinfo(), cleanstatic(), closeAllCardWindows(), closeIOAcomponents(), commentdelete(), countbuttons(), countCardWindows(), countdisplayedbefore(), countobjects(), counttickloops(), countwindowlist(), dbreadshadowavaillist(), dbrefhandle(), dbwriteshadowavaillist(), deleteallmenuitems(), deleteinhandle(), deletestring(), dialogscanspecialchars(), disableallmenuitems(), dropnonalphas(), enableallmenuitems(), enlargehandle(), equalidentifiers(), equalstrings(), fifcharcounter(), fillchar(), fillintarray(), fillstring(), findcomponent(), findlangcomponent(), flashrect(), fwsacceptingthreadmain(), fwsprocesspendingconnections(), getbuttonwidth(), getnextmenuitem(), getnthobject(), getprevmenuitem(), getuntitledtitle(), getwindowdata(), handlebeginswith(), handlereplaceall(), handlesearch(), hashgetstackdepth(), hextobytes(), indexwindowlist(), indynamicarray(), initCharsetsTable(), initIOAcomponents(), initlangcomponents(), inserthandleinhandle(), insertinhandle(), isallnumeric(), kbsetstatus(), landgetmenuhandles(), landinstallmenuarray(), landmenuhit(), landsystem6packallparams(), landsystem6returnmultiple(), langdeparsestring(), langgetparamcount(), langisidentifier(), loadfromhandle(), mefindinmenubar(), miniresizetextrects(), newhashtable(), opbutton(), opbuttonsattach(), opcountatlevel(), opcountheads(), opgetexpansionstateverb(), opgetlastvisiblenode(), opgetlinetext(), opgetnodeline(), opgetsiblingnumber(), ophorizscrollrecord(), opmovecursor(), oppointnode(), oprepeatedbump(), opsetctexpanded(), opsetexpansionstateverb(), opsortlevel(), opvertscrollrecord(), poptrailingwhitespace(), poptrailingwhitespacehandle(), processhtmltext(), pullstringsuffix(), removefromwindowarray(), scrollwindowverb(), setcardpopupfrommenu(), setfontpopup(), shellbuttongetoptimalwidth(), shellbuttonhit(), shellgetbuttonrect(), shellrefreshbuttonstatus(), sortobjectlist(), statscountreleasestack(), uncheckallmenuitems(), visitallmenus(), and visitCardWindows().

#define dayofweektocolumn i,
 )     ((((i) - ((f) - 1) + 6) % 7) + 1)
 

Definition at line 8450 of file langhtml.c.

Referenced by adddayrows().

#define endmacrochar   '}'
 

Definition at line 91 of file langhtml.c.

Referenced by processhtmltext().

#define flcurlybracemacros   true
 

Definition at line 89 of file langhtml.c.

#define fldebugwebsite   false
 

Definition at line 75 of file langhtml.c.

Referenced by processhtmltext().

#define flvariablemacrocharacters   true
 

Definition at line 92 of file langhtml.c.

Referenced by getmacrocharacters().

#define i   ((*s).pos)
 

#define i   ((*s).pos)
 

Referenced by addsockrecord(), addtodynamicarray(), addtowindowarray(), adjustwindowmenu(), base64decodehandle(), base64encodehandle(), breakatfirstwhitespacechar(), burntickloops(), cardToFront(), casereverser(), ccdisposerecord(), ccsavefile(), cleanstatic(), clearsockstack(), closeAllCardWindows(), closeIOAcomponents(), closelangcomponents(), colormenuhandler(), cometofront(), commentdelete(), convertFromMacExtended(), convertToMacExtended(), CopyCustomIcons(), copystring(), countbuttons(), countCardWindows(), countdisplayedbefore(), countleadingchars(), daveNetMassager(), dballocate(), dbfindpreviousavail(), dbflushheader(), Decode(), deleteallmenuitems(), DetermineAliasInfo(), dialoghasedititems(), dialogmapkeystroke(), dialogscanspecialchars(), disableallmenuitems(), disableemptymenuitems(), disposetemphandle(), dockmenudisposemenusinstack(), drawabout(), drawcolorpopup(), dropshadowrect(), editgetsize(), enableallmenuitems(), Encode(), explodeversion(), fastunicaseequalstrings(), filegetlabelinfo(), findcomponent(), findinmenu(), findlangcomponent(), findobject(), findvariablesearch(), firstword(), flashrect(), frontierExpandHandles(), fullpathstats(), fwsNetEventCloseListen(), fwsNetEventListenStream(), fwsNetEventShutdownDependentListeners(), GenerateUniqueHFSUniStr(), getbuttonwidth(), getcardrect(), GetFinderPort(), geticonrect(), getlangmenu(), getnextstyle(), getnthobject(), getnthpopupitem(), getnthstring(), getprevstyle(), getsockrecord(), getstatusbarparts(), getsystemerrorstring(), gettypelistvalue(), getwindowdata(), handlepatternmatch(), handlepoptrailingchars(), handlereplaceall(), handlesearch(), hexstringtonumber(), hmacmd5(), hmacsha1(), IACaddreplyhandler(), IACasynchinitcheck(), IACcopystring(), IACdrivefilelist(), IAChandleanswer(), idealpopupsize(), indexwindowlist(), indynamicarray(), initCharsetsTable(), initIOAcomponents(), initlangcomponents(), initmacintosh(), initstrings(), IOAcopystring(), label2index(), landdisposemenuarray(), landenablemenuarray(), landgetmenuhandles(), landinstallmenuarray(), landmenuhit(), landremovemenuarray(), landsystem6packallparams(), landsystem6unpackverb(), langbuildnamedparamlist(), langbuildparamlist(), langcommentdelete(), langfastaddresstotable(), langipcbuildparamlist(), langipccheckformulas(), langipccomplexsend(), lastword(), launchappwithdoc(), listaddvalue(), listtostring(), loadversion2cancoonfile(), main(), MD5Update(), meactivatemenus(), meallocmenuid(), mecheckformulas(), medeletemenubarentry(), medisposemenus(), mefillcmdkeypopup(), mefindinmenubar(), megetmenuindex(), memenuhit(), minidisposerecord(), minidrawpopups(), minidrawtextitems(), minifindpopup(), minifindtextobject(), miniloadstrings(), miniresizepopups(), miniresizetextrects(), minisavestrings(), myMoof(), newcancoonrecord(), oldgeticonrect(), opinvalscreenmap(), opmousedown(), opnthsubhead(), opnthsummit(), oppointnode(), oppopallhoists(), oppopupdisposemenusinstack(), opreorgcursor(), oprepeatedbump(), oprestorehoists(), oprmousedown(), opsortlevel(), opsumprevlineheights(), opupdate(), palettemousedown(), paletteselectitem(), paletteupdate(), parsedialoghandle(), parsedialogstring(), parseparamstring(), patternmatch(), pcre_get_substring_list(), pcre_maketables(), pcre_memmove(), popleadingchars(), poptrailingwhitespace(), poptrailingwhitespacehandle(), printappwindow(), processBuffer(), processhtmltext(), pushtemphandle(), releasetemphandles(), removefasthandlers(), removefromwindowarray(), scanstring(), searchhandle(), setcardpopupfrommenu(), setDefinedStatusBarParts(), setfontpopup(), setfontsizepopup(), setparseparams(), setstatusbarparts(), SHA1_Final(), SHA1_Transform(), shellbuttonhit(), shellcalldirtyhooks(), shellcallerrorhooks(), shellcalleventhooks(), shellcallfilehooks(), shellcallkeyboardhooks(), shellcallmemoryhooks(), shellcallmenuhooks(), shellcallscraphooks(), shellcallwakeuphooks(), shelldrawbuttons(), shellfindcallbacks(), shellhandlenullevent(), shellinithandlers(), shellloadbuttonlists(), shellpatchnilroutines(), shellrefreshbuttonstatus(), sortobjectlist(), stringdeletechars(), stringlessthan(), stringtodir(), stringtonumber(), sumcharwidths(), tableadjustcolwidthcallback(), tablefillkindpopup(), tablefillsortpopup(), tablefilltitlepopup(), tablefindnode(), tablepackformats(), tablerecalccolwidths(), tableunpackformats(), tableupdatecoltitles(), teststringvalue(), textfirstword(), textlastword(), textpatternmatch(), uncheckallmenuitems(), uppercasehandle(), validate(), validateobjectlist(), visitallmenus(), visitCardWindows(), visitmenuitems(), visitonemenu(), wordender(), wpapplyhtmlstyles(), X0_p2cstrcpy(), and zoomrect().

#define M_COM   0xFE
 

Definition at line 2999 of file langhtml.c.

Referenced by ScanJPEGHeader().

#define M_EOI   0xD9
 

Definition at line 2997 of file langhtml.c.

Referenced by ScanJPEGHeader().

#define M_SOF0   0xC0
 

Definition at line 2983 of file langhtml.c.

Referenced by ScanJPEGHeader().

#define M_SOF1   0xC1
 

Definition at line 2984 of file langhtml.c.

Referenced by ScanJPEGHeader().

#define M_SOF10   0xCA
 

Definition at line 2991 of file langhtml.c.

Referenced by ScanJPEGHeader().

#define M_SOF11   0xCB
 

Definition at line 2992 of file langhtml.c.

Referenced by ScanJPEGHeader().

#define M_SOF13   0xCD
 

Definition at line 2993 of file langhtml.c.

Referenced by ScanJPEGHeader().

#define M_SOF14   0xCE
 

Definition at line 2994 of file langhtml.c.

Referenced by ScanJPEGHeader().

#define M_SOF15   0xCF
 

Definition at line 2995 of file langhtml.c.

Referenced by ScanJPEGHeader().

#define M_SOF2   0xC2
 

Definition at line 2985 of file langhtml.c.

Referenced by ScanJPEGHeader().

#define M_SOF3   0xC3
 

Definition at line 2986 of file langhtml.c.

Referenced by ScanJPEGHeader().

#define M_SOF5   0xC5
 

Definition at line 2987 of file langhtml.c.

Referenced by ScanJPEGHeader().

#define M_SOF6   0xC6
 

Definition at line 2988 of file langhtml.c.

Referenced by ScanJPEGHeader().

#define M_SOF7   0xC7
 

Definition at line 2989 of file langhtml.c.

Referenced by ScanJPEGHeader().

#define M_SOF9   0xC9
 

Definition at line 2990 of file langhtml.c.

Referenced by ScanJPEGHeader().

#define M_SOI   0xD8
 

Definition at line 2996 of file langhtml.c.

Referenced by first_marker(), and ScanJPEGHeader().

#define M_SOS   0xDA
 

Definition at line 2998 of file langhtml.c.

Referenced by ScanJPEGHeader().

#define maxglossarynamelength   127
 

Definition at line 94 of file langhtml.c.

#define modern_safe_macros   1
 

Definition at line 9431 of file langhtml.c.

#define sizestatuscontinue   25
 

Definition at line 250 of file langhtml.c.

#define startmacrochar   '{'
 

Definition at line 90 of file langhtml.c.

Referenced by processhtmltext().

#define str_adrobject   BIGSTRING ("\x09" "adrobject")
 

Definition at line 118 of file langhtml.c.

Referenced by glossarypatcherverb().

#define str_adrpagetable   BIGSTRING ("\x16" "html.data.adrpagetable")
 

Definition at line 99 of file langhtml.c.

#define str_calendartdspacer   BIGSTRING ("\x21""\t\t<td^0 colspan=\"^1\">&nbsp;</td>\r")
 

Definition at line 8446 of file langhtml.c.

Referenced by adddayrows().

#define str_calendartdwithinfo   BIGSTRING ("\x1f""\t\t<td^0 width=\"^1\" height=\"^2\">")
 

Definition at line 8445 of file langhtml.c.

Referenced by adddaynamesrow().

#define str_calendartodaytemplate   BIGSTRING ("\x09""<b>^0</b>")
 

Definition at line 8448 of file langhtml.c.

Referenced by addday().

#define str_closetag   BIGSTRING ("\x05" "</^0>")
 

Definition at line 87 of file langhtml.c.

#define str_default   BIGSTRING ("\x07" "default")
 

Definition at line 84 of file langhtml.c.

Referenced by indexpage().

#define str_defaultfilename   BIGSTRING ("\x0f" "defaultfilename")
 

Definition at line 123 of file langhtml.c.

Referenced by htmlgetpref().

#define str_defaulttemplate   BIGSTRING ("\x0f" "defaulttemplate")
 

Definition at line 122 of file langhtml.c.

Referenced by htmlgetpref().

#define str_directivesonlyatbeginning   BIGSTRING ("\x19" "directivesOnlyAtBeginning")
 

Definition at line 124 of file langhtml.c.

Referenced by rundirectivesverb().

#define str_endbold   BIGSTRING ("\x04</b>")
 

Definition at line 83 of file langhtml.c.

#define str_fileextension   BIGSTRING ("\x0d" "fileextension")
 

Definition at line 120 of file langhtml.c.

Referenced by glossarypatcherverb(), and htmlgetpref().

#define str_ftpsite   BIGSTRING ("\x07" "ftpsite")
 

Definition at line 119 of file langhtml.c.

Referenced by buildpagetableverb(), and glossarypatcherverb().

#define str_glossary   BIGSTRING ("\x08" "glossary")
 

Definition at line 105 of file langhtml.c.

Referenced by traversalskipverb().

#define str_glosspatch   BIGSTRING ("\x0e" "[[#glossPatch ")
 

Definition at line 107 of file langhtml.c.

Referenced by glossarypatcherverb().

#define str_hotlink   BIGSTRING ("\x13<a href=\"^0\">^1</a>")
 

Definition at line 80 of file langhtml.c.

Referenced by glossarypatcherverb().

#define str_images   BIGSTRING ("\x06" "images")
 

Definition at line 106 of file langhtml.c.

Referenced by traversalskipverb().

#define str_index   BIGSTRING ("\x05" "index")
 

Definition at line 85 of file langhtml.c.

Referenced by indexpage().

#define str_indirecttemplate   BIGSTRING ("\x10" "indirectTemplate")
 

Definition at line 117 of file langhtml.c.

Referenced by additemtopagetable(), and htmlrundirective().

#define str_iso8859map   BIGSTRING ("\x15" "html.data.iso8859.win")
 

Definition at line 113 of file langhtml.c.

#define str_macroerror   BIGSTRING ("\x20<b>[</b>Macro error: ^0<b>]</b>\r")
 

Definition at line 78 of file langhtml.c.

#define str_mailto   BIGSTRING ("\x1A<a href=\"mailto:^0\">^0</a>")
 

Definition at line 79 of file langhtml.c.

#define str_maxfilenamelength   BIGSTRING ("\x11" "maxfilenamelength")
 

Definition at line 121 of file langhtml.c.

Referenced by htmlgetpref().

#define str_no   BIGSTRING ("\x02" "no")
 

Definition at line 96 of file langhtml.c.

Referenced by htmlgetpref().

#define STR_P_100CONTINUE   BIGSTRING ("\x0C" "100-continue")
 

Definition at line 194 of file langhtml.c.

Referenced by webserverreadrequest().

#define STR_P_ADRHEADERTABLE   BIGSTRING ("\x0E" "adrHeaderTable")
 

Definition at line 189 of file langhtml.c.

Referenced by htmlfunctionvalue().

#define STR_P_ADRTABLE   BIGSTRING ("\x08" "adrTable")
 

Definition at line 208 of file langhtml.c.

Referenced by inetdsupervisor().

#define STR_P_ALLOW   BIGSTRING ("\x05" "ALLOW")
 

Definition at line 228 of file langhtml.c.

Referenced by webservermethodnotallowed().

#define STR_P_ANY   BIGSTRING ("\x03" "any")
 

Definition at line 240 of file langhtml.c.

Referenced by webservergetmethod().

#define STR_P_BODY_NOT_READ   BIGSTRING ("\x22" "The request body couldn't be read.")
 

Definition at line 130 of file langhtml.c.

Referenced by webserverreadrequest().

#define STR_P_CHUNKSIZE   BIGSTRING ("\x09" "chunksize")
 

Definition at line 203 of file langhtml.c.

Referenced by inetdsupervisor().

#define STR_P_CLIENT   BIGSTRING ("\x06" "client")
 

Definition at line 222 of file langhtml.c.

Referenced by inetdaddtoerrorlog(), and inetdsupervisor().

#define STR_P_CLOSE   BIGSTRING ("\x05" "close")
 

Definition at line 229 of file langhtml.c.

Referenced by webserverbuildresponse().

#define STR_P_CODE   BIGSTRING ("\x04" "code")
 

Definition at line 233 of file langhtml.c.

Referenced by webservercallresponder(), and webserverdispatch().

#define STR_P_COLON   BIGSTRING ("\x02" ": ")
 

Definition at line 244 of file langhtml.c.

Referenced by writetableitemtostreamvisit().

#define STR_P_CONDITION   BIGSTRING ("\x09" "condition")
 

Definition at line 205 of file langhtml.c.

Referenced by webserverlocateresponder().

#define STR_P_CONNECTION   BIGSTRING ("\x0A" "Connection")
 

Definition at line 199 of file langhtml.c.

Referenced by webserverbuildresponse().

#define STR_P_CONTENT_LENGTH   BIGSTRING ("\x0E" "Content-Length")
 

Definition at line 192 of file langhtml.c.

Referenced by webserverbuildresponse(), webservercallresponder(), and webserverreadrequest().

#define STR_P_COOKIE   BIGSTRING ("\x06" "Cookie")
 

Definition at line 223 of file langhtml.c.

Referenced by webserverparsecookies().

#define STR_P_COOKIES   BIGSTRING ("\x07" "cookies")
 

Definition at line 213 of file langhtml.c.

Referenced by webserverparsecookies().

#define STR_P_COUNT   BIGSTRING ("\x05" "count")
 

Definition at line 232 of file langhtml.c.

Referenced by incrementcounter(), and neutertags().

#define STR_P_CRLF   BIGSTRING ("\x02" "\r\n")
 

Definition at line 243 of file langhtml.c.

Referenced by webserverbuildresponse(), webserverparseheaders(), and writetableitemtostreamvisit().

#define STR_P_CRLFCRLF   BIGSTRING ("\x04" "\r\n\r\n")
 

Definition at line 239 of file langhtml.c.

Referenced by webserverreadrequest().

#define STR_P_DAEMON   BIGSTRING ("\x06" "daemon")
 

Definition at line 227 of file langhtml.c.

Referenced by inetdsupervisor().

#define STR_P_DATE   BIGSTRING ("\x04" "Date")
 

Definition at line 238 of file langhtml.c.

Referenced by webserverbuildresponse().

#define STR_P_DEFAULTRESPONDER   BIGSTRING ("\x10" "defaultResponder")
 

Definition at line 184 of file langhtml.c.

Referenced by webserverlocateresponder().

#define STR_P_DEFAULTTIMEOUTSECS   BIGSTRING ("\x12" "defaultTimeoutSecs")
 

Definition at line 178 of file langhtml.c.

Referenced by inetdsupervisor().

#define STR_P_DOLLAR   BIGSTRING ("\x01" "$")
 

Definition at line 245 of file langhtml.c.

Referenced by webserverprocessfirstline().

#define STR_P_DOLLAR_ENCODED   BIGSTRING ("\x03" "%24")
 

Definition at line 242 of file langhtml.c.

Referenced by webserverprocessfirstline().

#define STR_P_EMPTY   BIGSTRING ("\x00")
 

Definition at line 247 of file langhtml.c.

#define STR_P_ENABLED   BIGSTRING ("\x07" "enabled")
 

Definition at line 210 of file langhtml.c.

Referenced by webserverlocateresponder().

#define STR_P_ERRORPAGETEMPLATE   BIGSTRING ("\x4C" "<HTML><HEAD><TITLE>^0</TITLE></HEAD><BODY><H1>^0</H1><P>^1</P></BODY></HTML>")
 

Definition at line 126 of file langhtml.c.

Referenced by webserverbuilderrorpage().

#define STR_P_EXPECT   BIGSTRING ("\x06" "Expect")
 

Definition at line 219 of file langhtml.c.

Referenced by webserverreadrequest().

#define STR_P_FIRSTLINE   BIGSTRING ("\x09" "firstLine")
 

Definition at line 202 of file langhtml.c.

Referenced by webserverprocessfirstline(), and webserverreadrequest().

#define STR_P_FLCLOSE   BIGSTRING ("\x07" "flClose")
 

Definition at line 216 of file langhtml.c.

Referenced by neutertags().

#define STR_P_FLLEGAL   BIGSTRING ("\x07" "flLegal")
 

Definition at line 215 of file langhtml.c.

Referenced by macrostablelookup(), and neutertags().

#define STR_P_FLPARAMS   BIGSTRING ("\x08" "flParams")
 

Definition at line 209 of file langhtml.c.

Referenced by macrostablelookup().

#define STR_P_flprocessmacrosintags   BIGSTRING ("\x17" "processmacrosinhtmltags")
 

Definition at line 142 of file langhtml.c.

Referenced by processmacrosintags().

#define STR_P_HITS   BIGSTRING ("\x04" "hits")
 

Definition at line 234 of file langhtml.c.

Referenced by webservermaintainstats().

#define STR_P_HOST   BIGSTRING ("\x04" "host")
 

Definition at line 235 of file langhtml.c.

Referenced by webserverprocessfirstline(), and webserverreadrequest().

#define STR_P_HTTP11   BIGSTRING ("\x09" "HTTP/1.1 ")
 

Definition at line 204 of file langhtml.c.

Referenced by webserverbuildresponse().

#define STR_P_INETDCONFIGTABLEADR   BIGSTRING ("\x13" "inetdConfigTableAdr")
 

Definition at line 177 of file langhtml.c.

Referenced by inetdsupervisor().

#define STR_P_INVALID_REQUEST_LINE   BIGSTRING ("\x1C" "The request line is invalid.")
 

Definition at line 132 of file langhtml.c.

Referenced by webserverprocessfirstline().

#define STR_P_INVALID_URI   BIGSTRING ("\x23" "All URIs must begin with / or http:")
 

Definition at line 129 of file langhtml.c.

Referenced by webserverprocessfirstline().

#define STR_P_LOGADD   BIGSTRING ("\x16" "log.addToGuestDatabase")
 

Definition at line 173 of file langhtml.c.

#define STR_P_macroendchars   BIGSTRING ("\x12" "macroendcharacters")
 

Definition at line 140 of file langhtml.c.

Referenced by getmacrocharacters().

#define STR_P_macrostartchars   BIGSTRING ("\x14" "macrostartcharacters")
 

Definition at line 139 of file langhtml.c.

Referenced by getmacrocharacters().

#define STR_P_MAXCONNECTIONS   BIGSTRING ("\x0E" "maxConnections")
 

Definition at line 190 of file langhtml.c.

Referenced by webservermaintainstats().

#define STR_P_MAXMEMAVAIL   BIGSTRING ("\x0B" "maxMemAvail")
 

Definition at line 197 of file langhtml.c.

Referenced by webservermaintainstats().

#define STR_P_METHOD   BIGSTRING ("\x06" "method")
 

Definition at line 218 of file langhtml.c.

Referenced by webservergetmethod(), and webserverprocessfirstline().

#define STR_P_METHOD_NOT_ALLOWED   BIGSTRING ("\x20" "^0 isn't allowed on this object.")
 

Definition at line 131 of file langhtml.c.

Referenced by webservermethodnotallowed().

#define STR_P_METHODS   BIGSTRING ("\x07" "methods")
 

Definition at line 214 of file langhtml.c.

Referenced by webservergetmethod().

#define STR_P_MINMEMAVAIL   BIGSTRING ("\x0B" "minMemAvail")
 

Definition at line 198 of file langhtml.c.

Referenced by webservermaintainstats().

#define STR_P_MISSING_HOST_HEADER   BIGSTRING ("\x40" "Every HTTP/1.1 request must include a Host header")
 

Definition at line 127 of file langhtml.c.

Referenced by webserverprocessfirstline().

#define STR_P_NOWAIT   BIGSTRING ("\x06" "noWait")
 

Definition at line 217 of file langhtml.c.

Referenced by inetdsupervisor().

#define STR_P_PARAMTABLE   BIGSTRING ("\x0A" "paramTable")
 

Definition at line 200 of file langhtml.c.

Referenced by inetdsupervisor().

#define STR_P_PATH   BIGSTRING ("\x04" "path")
 

Definition at line 237 of file langhtml.c.

Referenced by webserverprocessfirstline().

#define STR_P_PATHARGS   BIGSTRING ("\x08" "pathArgs")
 

Definition at line 207 of file langhtml.c.

Referenced by webserverprocessfirstline().

#define STR_P_PORT   BIGSTRING ("\x04" "port")
 

Definition at line 236 of file langhtml.c.

Referenced by inetdaddtoerrorlog(), and inetdsupervisor().

#define STR_P_POSTFILTERERROR   BIGSTRING ("\x11" "Post Filter error")
 

Definition at line 182 of file langhtml.c.

Referenced by webservercallresponder().

#define STR_P_PREFILTERERROR   BIGSTRING ("\x10" "Pre filter error")
 

Definition at line 183 of file langhtml.c.

Referenced by webserverdispatch().

#define STR_P_PROCESSING_STARTED   BIGSTRING ("\x18" "requestProcessingStarted")
 

Definition at line 136 of file langhtml.c.

Referenced by webserverserver().

#define STR_P_READY   BIGSTRING ("\x05" "ready")
 

Definition at line 230 of file langhtml.c.

Referenced by inetdsupervisor().

#define STR_P_REFCON   BIGSTRING ("\x06" "refcon")
 

Definition at line 221 of file langhtml.c.

Referenced by inetdsupervisor().

#define STR_P_REQUEST   BIGSTRING ("\x07" "request")
 

Definition at line 211 of file langhtml.c.

Referenced by inetdsupervisor(), and webserverreadrequest().

#define STR_P_REQUESTBODY   BIGSTRING ("\x0B" "requestBody")
 

Definition at line 196 of file langhtml.c.

Referenced by webserverreadrequest().

#define STR_P_REQUESTHEADERS   BIGSTRING ("\x0E" "requestHeaders")
 

Definition at line 191 of file langhtml.c.

Referenced by webserverlocaterespondercontextbuilder(), webserverparsecookies(), and webserverreadrequest().

#define STR_P_RESPONDER   BIGSTRING ("\x09" "responder")
 

Definition at line 206 of file langhtml.c.

Referenced by webserverdispatch().

#define STR_P_RESPONDERERROR   BIGSTRING ("\x16" "Responder method error")
 

PIKE.

Definition at line 172 of file langhtml.c.

Referenced by webservercallresponder().

#define STR_P_RESPONDERTABLEADR   BIGSTRING ("\x11" "responderTableAdr")
 

Definition at line 181 of file langhtml.c.

Referenced by webserverdispatch().

#define STR_P_RESPONSEBODY   BIGSTRING ("\x0C" "responseBody")
 

Definition at line 195 of file langhtml.c.

Referenced by htmlfunctionvalue(), webservercallresponder(), and webserverdispatch().

#define STR_P_RESPONSEHEADERS   BIGSTRING ("\x0F" "responseHeaders")
 

Definition at line 186 of file langhtml.c.

Referenced by webservercallresponder(), and webserverdispatch().

#define STR_P_RETURNCHUNKSIZE   BIGSTRING ("\x0F" "returnChunkSize")
 

Definition at line 188 of file langhtml.c.

Referenced by inetdsupervisor().

#define STR_P_SEARCHARGS   BIGSTRING ("\x0A" "searchArgs")
 

Definition at line 201 of file langhtml.c.

Referenced by webserverprocessfirstline().

#define STR_P_SERVER   BIGSTRING ("\x06" "Server")
 

Definition at line 224 of file langhtml.c.

Referenced by webserverbuildresponse().

#define STR_P_SERVERSTRING   BIGSTRING ("\x0e" "Frontier/^0-^1")
 

Definition at line 167 of file langhtml.c.

Referenced by webservergetserverstring().

#define STR_P_SPACE   BIGSTRING ("\x01" " ")
 

Definition at line 246 of file langhtml.c.

Referenced by webserverbuilderrorpagefromstrings().

#define STR_P_STATS   BIGSTRING ("\x05" "stats")
 

Definition at line 231 of file langhtml.c.

Referenced by webserverserver().

#define STR_P_STREAM   BIGSTRING ("\x06" "stream")
 

Definition at line 220 of file langhtml.c.

Referenced by inetdaddtoerrorlog(), inetdsupervisor(), webservercallresponder(), and webserverreadrequest().

#define STR_P_THREAD   BIGSTRING ("\x06" "thread")
 

Definition at line 226 of file langhtml.c.

Referenced by inetdaddtoerrorlog().

#define STR_P_TIMEOUT   BIGSTRING ("\x07" "timeout")
 

Definition at line 212 of file langhtml.c.

Referenced by inetdsupervisor(), and webserverreadrequest().

#define STR_P_UNKNOWN   BIGSTRING ("\x07" "UNKNOWN")
 

Definition at line 225 of file langhtml.c.

Referenced by webserverbuildresponse().

#define STR_P_UNSUPPORTED_VERSION   BIGSTRING ("\x24" "This server does not support HTTP/^0")
 

Definition at line 128 of file langhtml.c.

Referenced by webserverprocessfirstline().

#define STR_P_URI   BIGSTRING ("\x03" "URI")
 

Definition at line 241 of file langhtml.c.

Referenced by webserverprocessfirstline().

#define STR_P_USERINETDLISTENS   BIGSTRING ("\x12" "user.inetd.listens")
 

Definition at line 179 of file langhtml.c.

Referenced by inetdsupervisor().

#define STR_P_USERINETDPREFS   BIGSTRING ("\x10" "user.inetd.prefs")
 

Definition at line 185 of file langhtml.c.

Referenced by inetdsupervisor().

#define STR_P_USERWEBSERVERCONFIG   BIGSTRING ("\x15" "user.webserver.config")
 

Definition at line 174 of file langhtml.c.

#define STR_P_USERWEBSERVERPOSTFILTERS   BIGSTRING ("\x1A" "user.webserver.postfilters")
 

Definition at line 133 of file langhtml.c.

Referenced by webservercallresponder().

#define STR_P_USERWEBSERVERPREFILTERS   BIGSTRING ("\x19" "user.webserver.prefilters")
 

Definition at line 134 of file langhtml.c.

Referenced by webserverdispatch().

#define STR_P_USERWEBSERVERPREFS   BIGSTRING ("\x14" "user.webserver.prefs")
 

Definition at line 175 of file langhtml.c.

Referenced by webserverlocateresponder().

#define STR_P_USERWEBSERVERRESPONDERS   BIGSTRING ("\x19" "user.webserver.responders")
 

Definition at line 135 of file langhtml.c.

Referenced by webservergetrespondertableaddress(), and webserverlocateresponder().

#define STR_P_USERWEBSERVERSTATS   BIGSTRING ("\x14" "user.webserver.stats")
 

Definition at line 176 of file langhtml.c.

Referenced by webservermaintainstats().

#define STR_P_WEBSERVERDATARESPONSES   BIGSTRING ("\x18" "webserver.data.responses")
 

Definition at line 137 of file langhtml.c.

Referenced by webserverbuilderrorpagefromstrings(), and webserverbuildresponse().

#define STR_P_WEBSERVERDISPATCH   BIGSTRING ("\x12" "webserver.dispatch")
 

Definition at line 180 of file langhtml.c.

#define STR_P_WHATWENTWRONG   BIGSTRING ("\x0D" "whatWentWrong")
 

Definition at line 193 of file langhtml.c.

Referenced by inetdaddtoerrorlog().

#define STR_P_WHATWEREWEDOING   BIGSTRING ("\x0F" "whatWereWeDoing")
 

Definition at line 187 of file langhtml.c.

Referenced by inetdaddtoerrorlog().

#define str_pagebreak   BIGSTRING ("\x05<p />")
 

Definition at line 81 of file langhtml.c.

Referenced by autoparagraphs().

#define str_renderedtext   BIGSTRING ("\x0c" "renderedtext")
 

Definition at line 109 of file langhtml.c.

Referenced by glossarypatcherverb().

#define str_separatorline   BIGSTRING ("\x17<hr size=2 width=100% />\r")
 

Definition at line 77 of file langhtml.c.

#define str_standardmacros   BIGSTRING ("\x18" "html.data.standardMacros")
 

Definition at line 103 of file langhtml.c.

Referenced by htmlbuildmacrocontext().

#define str_startbold   BIGSTRING ("\x03<b>")
 

Definition at line 82 of file langhtml.c.

#define STR_STATUSCONTINUE   "HTTP/1.1 100 CONTINUE\r\n\r\n"
 

Definition at line 249 of file langhtml.c.

#define str_template   BIGSTRING ("\x08" "template")
 

Definition at line 116 of file langhtml.c.

Referenced by additemtopagetable(), and htmlrundirective().

#define str_tools   BIGSTRING ("\x05" "tools")
 

Definition at line 104 of file langhtml.c.

Referenced by htmlbuildmacrocontext(), and traversalskipverb().

#define str_useglosspatcher   BIGSTRING ("\x0f" "useGlossPatcher")
 

Definition at line 108 of file langhtml.c.

Referenced by glossarypatcherverb().

#define str_userhtmlprefs   BIGSTRING ("\x0f" "user.html.prefs")
 

Definition at line 101 of file langhtml.c.

Referenced by htmlgetprefstable().

#define str_usermacros   BIGSTRING ("\x10" "user.html.macros")
 

Definition at line 102 of file langhtml.c.

Referenced by htmlbuildmacrocontext().

#define str_websitesdata   BIGSTRING ("\x0e" "websites.#data")
 

Definition at line 100 of file langhtml.c.

Referenced by htmlgetdefaultpagetable().

#define str_yes   BIGSTRING ("\x03" "yes")
 

Definition at line 97 of file langhtml.c.

Referenced by htmlgetpref().


Enumeration Type Documentation

enum tyhtmlverbtoken
 

Enumerator:
processmacrosfunc 
urldecodefunc 
urlencodefunc 
parseargsfunc 
iso8859encodefunc 
getgifheightwidthfunc 
getjpegheightwidthfunc 
buildpagetablefunc 
refglossaryfunc 
getpreffunc 
getonedirectivefunc 
rundirectivefunc 
rundirectivesfunc 
runoutlinedirectivesfunc 
cleanforexportfunc 
normalizenamefunc 
glossarypatcherfunc 
expandurlsfunc 
traversalskipfunc 
getpagetableaddressfunc 
htmlneutermacrosfunc 
htmlneutertagsfunc 
htmlcalendardrawfunc 
stripmarkupfunc 
deindexpagefunc 
indexpagefunc 
cleanindexfunc 
unionmatchesfunc 
mrcalendargetaddressdayfunc 
mrcalendargetdayaddressfunc 
mrcalendargetfirstaddressfunc 
mrcalendargetfirstdayfunc 
mrcalendargetlastaddressfunc 
mrcalendargetlastdayfunc 
mrcalendargetmostrecentaddressfunc 
mrcalendargetmostrecentdayfunc 
mrcalendargetnextaddressfunc 
mrcalendargetnextdayfunc 
mrcalendarnavigatefunc 
webserverserverfunc 
webserverdispatchfunc 
webserverparseheadersfunc 
webserverparsecookiesfunc 
webserverbuildresponsefunc 
webserverbuilderrorpagefunc 
webservergetserverstringfunc 
inetdsupervisorfunc 
cthtmlverbs 

Definition at line 252 of file langhtml.c.


Function Documentation

static boolean addclassattribute handlestream s,
Handle  hcssprefix,
bigstring  bsname
[static]
 

Definition at line 8495 of file langhtml.c.

References BIGSTRING, writehandlestreamchar(), writehandlestreamhandle(), and writehandlestreamstring().

Referenced by addday(), adddaynamesrow(), adddayrows(), addmonthyearrow(), and openoutertable().

Here is the call graph for this function:

static boolean addday handlestream s,
long  daynum,
boolean  fltoday,
hdlhashtable  hmonthtable,
Handle  hurlprefix,
Handle  hbgcolorattrib,
Handle  hcolwidth,
Handle  hrowheight,
Handle  hday,
Handle  hcssprefix,
boolean  flfirstcolumn
[static]
 

Definition at line 8552 of file langhtml.c.

References addclassattribute(), BIGSTRING, bigstring, copyhandle(), copystring(), disposehandle(), error, fillintemplate(), gethandlesize(), hashtablesymbolexists(), insertchar(), newtexthandle(), numbertostring(), parsedialogstring(), pushhandle(), pushtexthandle(), str_calendartodaytemplate, stringlength, writehandlestreamchar(), writehandlestreamhandle(), and writehandlestreamstring().

Referenced by adddayrows().

Here is the call graph for this function:

static boolean adddaynamesrow handlestream s,
Handle  hcssprefix,
Handle  hbgcolor,
Handle  hcolwidth,
Handle  hrowheight,
Handle  hdaynametemplate,
long  firstdayofweek,
tyvaluerecord  vdayofweeklist
[static]
 

Definition at line 8858 of file langhtml.c.

References addclassattribute(), BIGSTRING, columntodayofweek, copyhandle(), disposehandle(), error, fillintemplate(), getdayofweekstring(), newtexthandle(), parsedialoghandle(), str_calendartdwithinfo, writehandlestreamhandle(), and writehandlestreamstring().

Referenced by htmlcalendardraw().

Here is the call graph for this function:

static boolean adddayrows handlestream s,
unsigned long  curdate,
long  firstdayofweek,
hdlhashtable  hmonthtable,
Handle  hurlprefix,
Handle  hbgcolor,
Handle  hcolwidth,
Handle  hrowheight,
Handle  hdaytemplate,
Handle  hcssprefix
[static]
 

Definition at line 8965 of file langhtml.c.

References addclassattribute(), addday(), bigstring, BIGSTRING, datetimetoseconds(), dayofweektocolumn, daysInMonth(), disposehandle(), newtexthandle(), numbertostring(), parsedialoghandle(), secondstodatetime(), secondstodayofweek(), str_calendartdspacer, writehandlestreamhandle(), and writehandlestreamstring().

Referenced by htmlcalendardraw().

Here is the call graph for this function:

static boolean addHeaderToTable Handle  htext,
long  ix1,
long  len1,
long  ix2,
long  len2,
hdlhashtable  htable
[static]
 

Definition at line 5208 of file langhtml.c.

References bigstring, tyvaluerecord::data, disposehandle(), hashtableassign(), hashtablelookup(), hnode, initvalue(), langassigntextvalue(), langpushlisttext(), langpushlistval(), langsymbolchanged(), tyvaluedata::listvalue, loadfromhandletohandle(), opdisposelist(), opnewlist(), texttostring(), and tyvaluerecord::valuetype.

Referenced by webserverparseheaders().

Here is the call graph for this function:

static boolean additemtopagetable hdlhashtable  htable,
hdlhashnode  hnode,
hdlhashtable  hpagetable
[static]
 

Definition at line 3256 of file langhtml.c.

References alllower(), BIGSTRING, bigstring, tyaddress::bs, copystring(), copyvaluerecord(), dbpopdatabase(), dbpushdatabase(), deletestring(), equalstrings(), exemptfromtmpstack(), gethashkey, hashtableassign(), hashtablesymbolexists(), hnode, tyaddress::ht, langassignaddressvalue(), langassignbooleanvalue(), langexternalvaltotable(), langgetextendedvaluetype(), outlinevaluetype, tyhashnode::sortedlink, str_indirecttemplate, str_template, strongcoercetostring(), tablegetdatabase(), tablevaluetype, and wordvaluetype.

Referenced by buildpagetableverb().

Here is the call graph for this function:

static boolean addmonthyearrow handlestream s,
tyvaluerecord  vmonthlist,
unsigned long  curdate,
Handle  hcssprefix,
Handle  hbgcolor,
Handle  hmonthyeartemplate
[static]
 

Definition at line 8801 of file langhtml.c.

References addclassattribute(), BIGSTRING, bigstring, disposehandle(), enlargehandle(), fillintemplate(), getmonthstring(), numbertostring(), pushtexthandle(), secondstodatetime(), writehandlestreamhandle(), and writehandlestreamstring().

Referenced by htmlcalendardraw().

Here is the call graph for this function:

static boolean autoparagraphs handlestream s  )  [static]
 

Definition at line 2206 of file langhtml.c.

References chreturn, mergehandlestreamstring(), and str_pagebreak.

Referenced by processhtmlmacrosverb().

Here is the call graph for this function:

static boolean buildpagetableverb hdltreenode  hparam1,
tyvaluerecord vreturned
[static]
 

Definition at line 3387 of file langhtml.c.

References additemtopagetable(), BIGSTRING, bigstring, tyaddress::bs, equalidentifiers(), findinparenttable(), flnextparamislast, gethashkey, gettablevalue(), getvarparam(), hashtablelookupnode(), hashtablesymbolexists(), tyaddress::ht, insertchar(), insertstring(), langassignaddressvalue(), langassignstringvalue(), roottable, setbooleanvalue(), setemptystring, tyhashnode::sortedlink, and str_ftpsite.

Referenced by htmlfunctionvalue().

Here is the call graph for this function:

static boolean cleanforexportverb hdltreenode  hp1,
tyvaluerecord v
[static]
 

Definition at line 3943 of file langhtml.c.

References flnextparamislast, getexempttextvalue(), htmlcleanforexport(), setheapvalue(), stringvaluetype, and v.

Referenced by htmlfunctionvalue().

Here is the call graph for this function:

static boolean cleanindextable hdlhashtable  hpages  )  [static]
 

Definition at line 4560 of file langhtml.c.

References bigstring, gethashkey, hashtabledelete(), isstalepageaddress(), and tyhashnode::sortedlink.

Referenced by deindexpage().

Here is the call graph for this function:

static boolean cleanindexverb hdltreenode  hp1,
tyvaluerecord v
[static]
 

Definition at line 4905 of file langhtml.c.

References deindexpage(), flnextparamislast, gettablevalue(), setbooleanvalue(), and v.

Referenced by htmlfunctionvalue().

Here is the call graph for this function:

static void decodehandle Handle  htext  )  [static]
 

Definition at line 2583 of file langhtml.c.

References gethandlesize(), hexchartonum(), moveleft(), and sethandlesize().

Referenced by parseargsverb(), and urldecodeverb().

Here is the call graph for this function:

static boolean deindexpage hdlhashtable  hindex,
bigstring  bspagekey
[static]
 

Definition at line 4588 of file langhtml.c.

References BIGSTRING, bigstring, cleanindextable(), equalstrings(), gethashkey, hashtabledelete(), hashtablesymbolexists(), langexternalvaltotable(), and tyhashnode::sortedlink.

Referenced by cleanindexverb(), deindexpageverb(), and indexpage().

Here is the call graph for this function:

static boolean deindexpageverb hdltreenode  hp1,
tyvaluerecord v
[static]
 

Definition at line 4822 of file langhtml.c.

References bigstring, deindexpage(), flnextparamislast, getstringvalue(), gettablevalue(), setbooleanvalue(), and v.

Referenced by htmlfunctionvalue().

Here is the call graph for this function:

static void encodehandle Handle  htext  )  [static]
 

Definition at line 2651 of file langhtml.c.

References gethandlesize(), moveright(), numtohexchar(), and sethandlesize().

Referenced by urlencodeverb().

Here is the call graph for this function:

static boolean expandurlsverb hdltreenode  hp1,
tyvaluerecord v
[static]
 

Definition at line 4271 of file langhtml.c.

References clearbytes(), closehandlestream(), getexempttextvalue(), openhandlestream(), processhtmltext(), setheapvalue(), stringvaluetype, and v.

Referenced by htmlfunctionvalue().

Here is the call graph for this function:

static boolean fillintemplate Handle  h,
Handle  hinsert
[static]
 

Definition at line 8516 of file langhtml.c.

References BIGSTRING, disposehandle(), newtexthandle(), and textfindreplace().

Referenced by addday(), adddaynamesrow(), and addmonthyearrow().

Here is the call graph for this function:

static boolean findfirstnumericnodevisit bigstring  bsname,
hdlhashnode  nomad,
tyvaluerecord  val,
ptrvoid  refcon
[static]
 

Definition at line 7726 of file langhtml.c.

References hnode, and isallnumeric().

Referenced by mrcalendargetfirstaddressverb(), and mrcalendargetfirstday().

Here is the call graph for this function:

static boolean findlastnumericnodevisit bigstring  bsname,
hdlhashnode  nomad,
tyvaluerecord  val,
ptrvoid  refcon
[static]
 

Definition at line 7866 of file langhtml.c.

References hnode, and isallnumeric().

Referenced by mrcalendargetlastaddressverb(), and mrcalendargetlastday().

Here is the call graph for this function:

static boolean findtokencallback hdlhashnode  hn,
ptrvoid  p
[static]
 

Definition at line 9606 of file langhtml.c.

References BIGSTRING, copystring(), and tokenvaluetype.

Referenced by issafefunctionop().

Here is the call graph for this function:

static boolean first_marker hdlfilenum  file_ref,
unsigned char *  c
[static]
 

Definition at line 3022 of file langhtml.c.

References fileread(), M_SOI, and noErr.

Referenced by ScanJPEGHeader().

Here is the call graph for this function:

static boolean followaddress tyaddress adr  )  [static]
 

Definition at line 5030 of file langhtml.c.

References addressvaluetype, getaddressvalue(), hnode, langhashtablelookup(), and tyvaluerecord::valuetype.

Referenced by inetdsupervisor(), webservercallfilters(), and webservergetmethod().

Here is the call graph for this function:

static boolean followaddressvalue tyvaluerecord v  )  [static]
 

Definition at line 5008 of file langhtml.c.

References addressvaluetype, bigstring, getaddressvalue(), hnode, langhashtablelookup(), and v.

Referenced by htmlcalendardrawverb().

Here is the call graph for this function:

boolean frontierversion tyvaluerecord v  ) 
 

Definition at line 352 of file shellsysverbs.c.

References bsfrontierversion, filegetprogramversion(), setstringvalue(), stringlength, and v.

Referenced by frontierfunctionvalue(), and webservergetserverstring().

Here is the call graph for this function:

static boolean getdayofweekstring long  ix,
tyvaluerecord  vlist,
Handle h
[static]
 

Definition at line 8711 of file langhtml.c.

References coercetostring(), copyhandle(), tyvaluerecord::data, datedayofweektostring(), langgetlistitem(), novaluetype, sethandlesize(), tyvaluedata::stringvalue, and tyvaluerecord::valuetype.

Referenced by adddaynamesrow().

Here is the call graph for this function:

static boolean getGifBounds hdlfilenum  fnum,
unsigned short height,
unsigned short width
[static]
 

Definition at line 2921 of file langhtml.c.

References fileread(), and short.

Referenced by getgifheightwidthverb().

Here is the call graph for this function:

boolean getgifheightwidthverb hdltreenode  hparam1,
tyvaluerecord vreturned
 

Definition at line 2935 of file langhtml.c.

References closefile(), coercetolist(), flnextparamislast, fnum, getfilespecvalue(), getGifBounds(), langpushlistlong(), opdisposelist(), openfile(), opnewlist(), pt, setheapvalue(), and setpointvalue().

Referenced by htmlfunctionvalue(), and stringfunctionvalue().

Here is the call graph for this function:

static boolean getidentifierstring hdltreenode  hnode,
bigstring  bs
[static]
 

Definition at line 9510 of file langhtml.c.

References bigstring, dotop, identifierop, pullstringvalue(), pushchar(), pushstring(), setemptystring, stringvaluetype, and tyvaluerecord::valuetype.

Referenced by issafefunctionop(), and issafeidentifier().

Here is the call graph for this function:

boolean getjpegheightwidthverb hdltreenode  hparam1,
tyvaluerecord vreturned
 

Definition at line 3188 of file langhtml.c.

References BIGSTRING, closefile(), coercetolist(), flnextparamislast, fnum, getfilespecvalue(), langerrormessage(), langpushlistlong(), opdisposelist(), openfile(), opnewlist(), pt, ScanJPEGHeader(), setheapvalue(), and setpointvalue().

Referenced by htmlfunctionvalue(), and stringfunctionvalue().

Here is the call graph for this function:

static boolean getmacrocharacters typrocessmacrosinfo *  pmi,
bigstring  bsstart,
bigstring  bsend
[static]
 

Definition at line 1393 of file langhtml.c.

References BIGSTRING, bstrue, copystring(), equalidentifiers(), flvariablemacrocharacters, htmlgetstringpref(), STR_P_macroendchars, and STR_P_macrostartchars.

Referenced by processhtmltext().

Here is the call graph for this function:

static boolean getmonthstring long  ix,
tyvaluerecord  vlist,
Handle h
[static]
 

Definition at line 8688 of file langhtml.c.

References coercetostring(), copyhandle(), datemonthtostring(), langgetlistitem(), novaluetype, and tyvaluerecord::valuetype.

Referenced by addmonthyearrow().

Here is the call graph for this function:

static boolean getmonthurl unsigned long  curdate,
Handle  hurldelimiter,
Handle  hurlprefix,
hdlhashtable  hcalendartable,
hdlhashtable hmonthtable
[static]
 

Definition at line 8738 of file langhtml.c.

References bigstring, findnamedtable(), insertchar(), numbertostring(), pushhandle(), pushtexthandle(), secondstodatetime(), and stringlength.

Referenced by htmlcalendardraw().

Here is the call graph for this function:

static boolean getoptionalpagetablevalue hdltreenode  hp1,
short  n,
hdlhashtable hpagetable
[static]
 

Definition at line 652 of file langhtml.c.

References flnextparamislast, gettablevalue(), htmlgetdefaultpagetable(), and langgetparamcount().

Referenced by getprefverb(), glossarypatcherverb(), rundirectivesverb(), rundirectiveverb(), and runoutlinedirectivesverb().

Here is the call graph for this function:

static boolean getpagetableaddressverb hdltreenode  hp1,
tyvaluerecord v
[static]
 

Definition at line 4350 of file langhtml.c.

References BIGSTRING, bigstring, coercetoaddress(), copyvaluerecord(), getcurrentthread(), getthreadid(), hnode, langcheckparamcount(), langfastaddresstotable(), langhashtablelookup(), numbertostring(), systemtable, and v.

Referenced by htmlfunctionvalue().

Here is the call graph for this function:

static boolean getprefverb hdltreenode  hp1,
tyvaluerecord v
[static]
 

Definition at line 3512 of file langhtml.c.

References bigstring, getoptionalpagetablevalue(), getstringvalue(), htmlgetpref(), htmlgetprefstable(), and v.

Referenced by htmlfunctionvalue().

Here is the call graph for this function:

static boolean glossarypatcherverb hdltreenode  hp1,
tyvaluerecord v
[static]
 

Definition at line 4041 of file langhtml.c.

References bigstring, BIGSTRING, tyaddress::bs, closehandlestream(), handlestream::data, tyvaluerecord::data, disposehandle(), handlestream::eof, findinparenttable(), gethandlesize(), getoptionalpagetablevalue(), hashtablelookup(), hnode, tyaddress::ht, htmlgetbooleanpref(), htmlgetprefstable(), htmlgetstringpref(), inserthandleinhandle(), langlookupaddressvalue(), langparamerror(), langsymbolchanged(), loadfromhandletohandle(), mergehandlestreamhandle(), newemptyhandle(), newtexthandle(), nthfieldhandle(), openhandlestream(), parsedialoghandle(), handlestream::pos, pushtexthandle(), setbooleanvalue(), str_adrobject, str_fileextension, str_ftpsite, str_glosspatch, str_hotlink, str_renderedtext, str_useglosspatcher, stringlength, tyvaluedata::stringvalue, textnthword(), textpatternmatch(), unknownidentifiererror, and v.

Referenced by htmlfunctionvalue().

Here is the call graph for this function:

static unsigned char hexchartonum unsigned char  ch  )  [static]
 

Definition at line 2558 of file langhtml.c.

Referenced by decode(), and decodehandle().

static boolean htmlbuildmacrocontext typrocessmacrosinfo *  pmi  )  [static]
 

Definition at line 1065 of file langhtml.c.

References addressvaluetype, BIGSTRING, bigstring, builtinstable, disposehashtable(), error, exemptfromtmpstack(), findinparenttable(), getaddressvalue(), hashtableassign(), hashtablelookup(), hnode, langfastaddresstotable(), langpushwithtable(), newhashtable(), roottable, setaddressvalue(), str_standardmacros, str_tools, str_usermacros, tablevaltotable(), and tyvaluerecord::valuetype.

Referenced by htmlrunmacro().

Here is the call graph for this function:

static boolean htmlcalendardraw handlestream s,
hdlhashtable  hcalendartable,
Handle  hurlprefix,
Handle  hcolwidth,
Handle  hrowheight,
Handle  htableborder,
Handle  hbgcolor,
Handle  hmonthyeartemplate,
Handle  hdaynametemplate,
Handle  hdaytemplate,
unsigned long  curdate,
Handle  hurldelimiter,
long  firstdayofweek,
tyvaluerecord  vmonthlist,
tyvaluerecord  vdayofweeklist,
Handle  hcssprefix
[static]
 

Definition at line 9097 of file langhtml.c.

References adddaynamesrow(), adddayrows(), addmonthyearrow(), BIGSTRING, enlargehandle(), gethandlesize(), getmonthurl(), insertinhandle(), openoutertable(), and writehandlestreamstring().

Referenced by htmlcalendardrawverb().

Here is the call graph for this function:

static boolean htmlcalendardrawverb hdltreenode  hp1,
tyvaluerecord v
[static]
 

Definition at line 9226 of file langhtml.c.

References closehandlestream(), coercetoaddress(), coercetolist(), coercetostring(), copyvaluerecord(), disposehandle(), disposehandlestream(), flnextparamislast, followaddressvalue(), getdatevalue(), getexempttextvalue(), getlongvalue(), getparamvalue(), getreadonlytextvalue(), gettablevalue(), htmlcalendardraw(), initvalue(), novaluetype, openhandlestream(), setheapvalue(), stringvaluetype, v, and tyvaluerecord::valuetype.

Referenced by htmlfunctionvalue().

Here is the call graph for this function:

static boolean htmlcallbackerror bigstring  bsmsg,
ptrvoid  perrorstring
[static]
 

Definition at line 395 of file langhtml.c.

References copystring().

Referenced by htmlrefglossary().

Here is the call graph for this function:

static boolean htmlcleanforexport Handle  x  )  [static]
 

Definition at line 978 of file langhtml.c.

References BIGSTRING, closehandlestream(), handlestream::eof, mergehandlestreamstring(), openhandlestream(), and handlestream::pos.

Referenced by cleanforexportverb(), and htmlrunmacro().

Here is the call graph for this function:

static void htmldisposemacrocontext typrocessmacrosinfo *  pmi  )  [static]
 

Definition at line 1057 of file langhtml.c.

References disposehashtable().

Here is the call graph for this function:

static boolean htmlfunctionvalue short  token,
hdltreenode  hparam1,
tyvaluerecord vreturned,
bigstring  bserror
[static]
 

Definition at line 10452 of file langhtml.c.

References tyvaluedata::addressvalue, addressvaluetype, bigstring, tyaddress::bs, bscode, buildpagetablefunc, buildpagetableverb(), cleanforexportfunc, cleanforexportverb(), cleanindexfunc, cleanindexverb(), tyvaluerecord::data, deindexpagefunc, deindexpageverb(), expandurlsfunc, expandurlsverb(), flnextparamislast, getaddressvalue(), getgifheightwidthfunc, getgifheightwidthverb(), getjpegheightwidthfunc, getjpegheightwidthverb(), getlongvalue(), getoptionalparamvalue(), getpagetableaddressfunc, getpagetableaddressverb(), getpreffunc, getprefverb(), getreadonlytextvalue(), getstringlist(), getstringvalue(), gettablevalue(), getvarparam(), glossarypatcherfunc, glossarypatcherverb(), hnode, tyaddress::ht, htmlcalendardrawfunc, htmlcalendardrawverb(), htmlneutermacrosfunc, htmlneutermacrosverb(), htmlneutertagsfunc, htmlneutertagsverb(), indexpagefunc, indexpageverb(), inetdsupervisor(), inetdsupervisorfunc, initvalue(), iso8859encodefunc, iso8859encodeverb(), langcheckparamcount(), langerrorlist, langexternalvaltotable(), langgetparamcount(), langhashtablelookup(), langsuretablevalue(), mrcalendargetaddressdayfunc, mrcalendargetaddressdayverb(), mrcalendargetdayaddressfunc, mrcalendargetdayaddressverb(), mrcalendargetfirstaddressfunc, mrcalendargetfirstaddressverb(), mrcalendargetfirstdayfunc, mrcalendargetfirstdayverb(), mrcalendargetlastaddressfunc, mrcalendargetlastaddressverb(), mrcalendargetlastdayfunc, mrcalendargetlastdayverb(), mrcalendargetmostrecentaddressfunc, mrcalendargetmostrecentaddressverb(), mrcalendargetmostrecentdayfunc, mrcalendargetmostrecentdayverb(), mrcalendargetnextaddressfunc, mrcalendargetnextaddressverb(), mrcalendargetnextdayfunc, mrcalendargetnextdayverb(), mrcalendarnavigatefunc, mrcalendarnavigateverb(), parseargsfunc, parseargsverb(), processhtmlmacrosverb(), processmacrosfunc, rundirectivefunc, rundirectivesfunc, rundirectivesverb(), rundirectiveverb(), runoutlinedirectivesfunc, runoutlinedirectivesverb(), setbooleanvalue(), setheapvalue(), STR_P_ADRHEADERTABLE, STR_P_RESPONSEBODY, tyvaluedata::stringvalue, stringvaluetype, stripmarkupfunc, stripmarkupverb(), traversalskipfunc, traversalskipverb(), unimplementedverberror, unionmatchesfunc, unionmatchesverb(), urldecodefunc, urldecodeverb(), urlencodefunc, urlencodeverb(), v, webserverbuilderrorpage(), webserverbuilderrorpagefunc, webserverbuildresponse(), webserverbuildresponsefunc, webserverdispatch(), webserverdispatchfunc, webservergetserverstring(), webservergetserverstringfunc, webserverparsecookies(), webserverparsecookiesfunc, webserverparseheaders(), webserverparseheadersfunc, webserverserver(), and webserverserverfunc.

Referenced by htmlinitverbs().

Here is the call graph for this function:

static boolean htmlgetbooleanpref typrocessmacrosinfo *  pmi,
bigstring  pref,
boolean flpref
[static]
 

Definition at line 793 of file langhtml.c.

References coercetoboolean(), and htmlgetpref().

Referenced by glossarypatcherverb(), and rundirectivesverb().

Here is the call graph for this function:

static boolean htmlgetdefaultpagetable hdlhashtable hpagetable  )  [static]
 

Definition at line 642 of file langhtml.c.

References langfastaddresstotable(), roottable, and str_websitesdata.

Referenced by getoptionalpagetablevalue().

Here is the call graph for this function:

static boolean htmlgetpref typrocessmacrosinfo *  pmi,
bigstring  pref,
tyvaluerecord val
[static]
 

Definition at line 713 of file langhtml.c.

References alllower(), BIGSTRING, bigstring, bsfalse, bstrue, copystring(), copyvaluerecord(), equalstrings(), hashtablelookup(), hnode, pullstringvalue(), setbooleanvalue(), setlongvalue(), setstringvalue(), str_defaultfilename, str_defaulttemplate, str_fileextension, str_maxfilenamelength, str_no, str_yes, and stringvaluetype.

Referenced by getprefverb(), htmlgetbooleanpref(), and htmlgetstringpref().

Here is the call graph for this function:

static boolean htmlgetprefstable hdlhashtable huserprefs  )  [static]
 

Definition at line 703 of file langhtml.c.

References langfastaddresstotable(), roottable, and str_userhtmlprefs.

Referenced by getprefverb(), glossarypatcherverb(), and rundirectivesverb().

Here is the call graph for this function:

static boolean htmlgetstringpref typrocessmacrosinfo *  pmi,
bigstring  pref,
bigstring  bspref
[static]
 

Definition at line 809 of file langhtml.c.

References coercetostring(), htmlgetpref(), and pullstringvalue().

Referenced by getmacrocharacters(), and glossarypatcherverb().

Here is the call graph for this function:

boolean htmlinitverbs void   ) 
 

Definition at line 10742 of file langhtml.c.

References htmlfunctionvalue(), idhtmlverbs, and loadfunctionprocessor().

Referenced by shellinit().

Here is the call graph for this function:

static boolean htmlneutermacrosverb hdltreenode  hp1,
tyvaluerecord v
[static]
 

Definition at line 10188 of file langhtml.c.

References disposehandle(), flnextparamislast, getexempttextvalue(), gettablevalue(), neutermacros(), setheapvalue(), stringvaluetype, and v.

Referenced by htmlfunctionvalue().

Here is the call graph for this function:

static boolean htmlneutertagsverb hdltreenode  hp1,
tyvaluerecord v
[static]
 

Definition at line 10423 of file langhtml.c.

References disposehandle(), flnextparamislast, getexempttextvalue(), gettablevalue(), neutertags(), setheapvalue(), stringvaluetype, and v.

Referenced by htmlfunctionvalue().

Here is the call graph for this function:

static boolean htmlrefglossary typrocessmacrosinfo *  pmi,
Handle  hreference,
bigstring  perrorstring,
Handle hresult
[static]
 

Definition at line 825 of file langhtml.c.

References BIGSTRING, coercetolist(), tylangcallbacks::errormessagecallback, tylangcallbacks::errormessagerefcon, exemptfromtmpstack(), fllangerror, htmlcallbackerror(), langcallbacks, langrunscript(), setheapvalue(), stringvaluetype, and strongcoercetostring().

Referenced by htmlrunmacro().

Here is the call graph for this function:

static boolean htmlreportmacroerror typrocessmacrosinfo *  pmi,
Handle  macro,
bigstring  perrorstring
[static]
 

Definition at line 1249 of file langhtml.c.

References BIGSTRING, coercetolist(), langpushlistval(), langrunscript(), setheapvalue(), setstringvalue(), and stringvaluetype.

Here is the call graph for this function:

static boolean htmlrundirective typrocessmacrosinfo *  pmi,
Handle  s,
bigstring  fieldname
[static]
 

Definition at line 3586 of file langhtml.c.

References alllower(), bigstring, chspace, equalstrings(), evaldirectiveerror, exemptfromtmpstack(), gethandlesize(), hashtableassign(), lang2paramerror(), langassignbooleanvalue(), langruntraperror(), pullfromhandle(), str_indirecttemplate, str_template, stringlength, and textfirstword().

Referenced by rundirectivesverb(), rundirectiveverb(), and runoutlinedirectivesverb().

Here is the call graph for this function:

static boolean htmlrunmacro typrocessmacrosinfo *  pmi,
Handle  macro,
bigstring  perrorstring,
Handle hresult
[static]
 

Definition at line 1139 of file langhtml.c.

References chainhashtable(), tyvaluerecord::data, disposehandle(), exemptfromtmpstack(), gethandlesize(), h, htmlbuildmacrocontext(), htmlcleanforexport(), htmlrefglossary(), ingoodthread(), langruntraperror(), newtexthandle(), popfromhandle(), pullfromhandle(), setemptystring, stringlength, tyvaluedata::stringvalue, strongcoercetostring(), texthandletostring(), and unchainhashtable().

Here is the call graph for this function:

static boolean incrementcounter hdlhashtable  ht,
boolean  flincr
[static]
 

Definition at line 10212 of file langhtml.c.

References langassignlongvalue(), langlookuplongvalue(), and STR_P_COUNT.

Here is the call graph for this function:

static boolean indexpage bigstring  bsaddress,
bigstring  bsurl,
bigstring  bstitle,
handlestream pagetext,
hdlhashtable  hindex,
hdlhashtable  hstopwords,
bigstring  bsparent,
bigstring  bspage
[static]
 

Definition at line 4653 of file langhtml.c.

References alllower(), BIGSTRING, bigstring, bundle, chspace, coercetolong(), deindexpage(), dropnonalphas(), equalstrings(), firstword(), hashtableassign(), hashtablelookup(), hashtablesymbolexists(), hnode, initvalue(), langsuretablevalue(), longvaluetype, offset, patternmatch(), poptrailingchars(), setstringwithchar, str_default, str_index, stringlength, stripmarkup(), textcountwords(), textnthword(), and texttostring().

Referenced by indexpageverb().

Here is the call graph for this function:

static boolean indexpageverb hdltreenode  hp1,
tyvaluerecord v
[static]
 

Definition at line 4846 of file langhtml.c.

References bigstring, disposehandle(), error, flnextparamislast, getexempttextvalue(), getstringvalue(), gettablevalue(), indexpage(), openhandlestream(), parsepageaddress(), setbooleanvalue(), and v.

Referenced by htmlfunctionvalue().

Here is the call graph for this function:

static boolean inetdaddtoerrorlog long  code,
bigstring  bserror,
hdlhashtable  hparamtable
[static]
 

Definition at line 7202 of file langhtml.c.

References BIGSTRING, bigstring, coercetoaddress(), disablelangerror(), enablelangerror(), getaddressvalue(), getcurrentthread(), getthreadid(), langassignlongvalue(), langassignstringvalue(), langrun(), langsuretablevalue(), langtablecopyvalue(), newtexthandle(), STR_P_CLIENT, STR_P_PORT, STR_P_STREAM, STR_P_THREAD, STR_P_WHATWENTWRONG, and STR_P_WHATWEREWEDOING.

Referenced by inetdsupervisor().

Here is the call graph for this function:

static boolean inetdsupervisor long  stream,
long  refcon,
tyvaluerecord vreturn
[static]
 

Definition at line 7254 of file langhtml.c.

References BIGSTRING, bigstring, tyaddress::bs, bserror, copystring(), tyvaluerecord::data, disablelangerror(), disposehandle(), enablelangerror(), findinparenttable(), fllangerror, followaddress(), fwsNetEventAbortStream(), fwsNetEventAddressDecode(), fwsNetEventCloseStream(), fwsNetEventGetPeerAddress(), fwsNetEventInetdRead(), fwsNetEventWriteHandleToStream(), hnode, tyaddress::ht, idinetdshutdown, inetdaddtoerrorlog(), ingoodthread(), langassignaddressvalue(), langassignbooleanvalue(), langassignlongvalue(), langassignstringvalue(), langassigntextvalue(), langcallscriptwithaddress(), langexternalvaltotable(), langfastaddresstotable(), langgetuserflag(), langhashtablelookup(), langlookupaddressvalue(), langlookupbooleanvalue(), langlookuplongvalue(), langrunstring(), langsetsymbolval(), langsymbolchanged(), langtablecopyvalue(), langtraperrors(), languntraperrors(), newemptyhandle(), numbertostring(), roottable, setbooleanvalue(), setemptystring, STR_P_ADRTABLE, STR_P_CHUNKSIZE, STR_P_CLIENT, STR_P_DAEMON, STR_P_DEFAULTTIMEOUTSECS, STR_P_INETDCONFIGTABLEADR, STR_P_NOWAIT, STR_P_PARAMTABLE, STR_P_PORT, STR_P_READY, STR_P_REFCON, STR_P_REQUEST, STR_P_RETURNCHUNKSIZE, STR_P_STREAM, STR_P_TIMEOUT, STR_P_USERINETDLISTENS, STR_P_USERINETDPREFS, tyvaluedata::stringvalue, stringvaluetype, tabledisposetable(), tablenewtablevalue(), and tyvaluerecord::valuetype.

Referenced by htmlfunctionvalue().

Here is the call graph for this function:

static boolean isAlphaChar char  ch  )  [static]
 

Definition at line 1327 of file langhtml.c.

static boolean isLegalURLPunctuationChar char  ch  )  [static]
 

Definition at line 1291 of file langhtml.c.

boolean iso8859encodeverb hdltreenode  hparam1,
tyvaluerecord vreturned
 

Definition at line 2896 of file langhtml.c.

References closehandlestream(), flnextparamislast, getexempttextvalue(), gettablevalue(), openhandlestream(), setheapvalue(), and stringvaluetype.

Referenced by htmlfunctionvalue(), and stringfunctionvalue().

Here is the call graph for this function:

static boolean issafearrayop hdltreenode  hnode,
hdlhashtable  hmacrostable
[static]
 

Definition at line 9745 of file langhtml.c.

References issafestatement(), and issafestatementlist().

Referenced by issafestatement().

Here is the call graph for this function:

static boolean issafebinaryop hdltreenode  hnode,
hdlhashtable  hmacrostable
[static]
 

Definition at line 9720 of file langhtml.c.

References issafestatement().

Referenced by issafestatement().

Here is the call graph for this function:

static boolean issafeconstop hdltreenode  hnode  )  [static]
 

Definition at line 9551 of file langhtml.c.

References assert, booleanvaluetype, charvaluetype, constop, doublevaluetype, longvaluetype, and stringvaluetype.

Referenced by issafefieldop(), and issafestatement().

static boolean issafefieldop hdltreenode  hnode,
hdlhashtable  hmacrostable
[static]
 

Definition at line 9578 of file langhtml.c.

References constop, hnode, identifierop, issafeconstop(), and issafestatement().

Referenced by issafefunctionop(), and issaferecordop().

Here is the call graph for this function:

static boolean issafefunctionop hdltreenode  hnode,
hdlhashtable  hmacrostable
[static]
 

Definition at line 9621 of file langhtml.c.

References bigstring, fieldop, findtokencallback(), getidentifierstring(), hashtablevisit(), hbuiltinfunctions, identifierop, info, isemptystring, issafefieldop(), issafestatement(), macrostablelookup(), setemptystring, and tokenvaluetype.

Referenced by issafestatement().

Here is the call graph for this function:

static boolean issafeidentifier hdltreenode  hnode,
hdlhashtable  hmacrostable
[static]
 

Definition at line 9561 of file langhtml.c.

References bigstring, getidentifierstring(), hnode, and macrostablelookup().

Referenced by issafestatement().

Here is the call graph for this function:

static boolean issafeifop hdltreenode  hnode,
hdlhashtable  hmacrostable
[static]
 

Definition at line 9689 of file langhtml.c.

References issafestatement(), and issafestatementlist().

Referenced by issafestatement().

Here is the call graph for this function:

static boolean issafelistop hdltreenode  hnode,
hdlhashtable  hmacrostable
[static]
 

Definition at line 9757 of file langhtml.c.

References issafestatementlist().

Referenced by issafestatement().

Here is the call graph for this function:

static boolean issafemacro Handle  h,
long  ixstart,
long  len,
hdlhashtable  hmacrostable
[static]
 

Definition at line 9875 of file langhtml.c.

References bigstring, bserror, ctscanchars, ctscanlines, error, fllangerror, hcode, issafestatementlist(), langbuildtree(), langdisposetree(), langtraperrors(), languntraperrors(), loadfromhandletohandle(), and moduleop.

Referenced by neutermacros().

Here is the call graph for this function:

static boolean issaferecordop hdltreenode  hnode,
hdlhashtable  hmacrostable
[static]
 

Definition at line 9768 of file langhtml.c.

References issafefieldop().

Referenced by issafestatement().

Here is the call graph for this function:

static boolean issafereturnop hdltreenode  hnode,
hdlhashtable  hmacrostable
[static]
 

Definition at line 9678 of file langhtml.c.

References issafestatement().

Referenced by issafestatement().

Here is the call graph for this function:

static boolean issafestatement hdltreenode  hnode,
hdlhashtable  hmacrostable
[static]
 

Definition at line 9788 of file langhtml.c.

References addop, andandop, arrayop, beginswithop, constop, containsop, divideop, dotop, endswithop, EQop, functionop, GEop, GTop, hnode, identifierop, ifop, issafearrayop(), issafebinaryop(), issafeconstop(), issafefunctionop(), issafeidentifier(), issafeifop(), issafelistop(), issaferecordop(), issafereturnop(), issafetryop(), issafeunaryop(), LEop, listop, LTop, modop, multiplyop, NEop, noop, notop, ororop, recordop, returnop, subtractop, tryop, and unaryop.

Referenced by issafearrayop(), issafebinaryop(), issafefieldop(), issafefunctionop(), issafeifop(), issafereturnop(), issafestatementlist(), and issafeunaryop().

Here is the call graph for this function:

static boolean issafestatementlist hdltreenode  hnode,
hdlhashtable  hmacrostable
[static]
 

Definition at line 9855 of file langhtml.c.

References hnode, and issafestatement().

Referenced by issafearrayop(), issafeifop(), issafelistop(), issafemacro(), and issafetryop().

Here is the call graph for this function:

static boolean issafetryop hdltreenode  hnode,
hdlhashtable  hmacrostable
[static]
 

Definition at line 9706 of file langhtml.c.

References issafestatementlist().

Referenced by issafestatement().

Here is the call graph for this function:

static boolean issafeunaryop hdltreenode  hnode,
hdlhashtable  hmacrostable
[static]
 

Definition at line 9734 of file langhtml.c.

References issafestatement().

Referenced by issafestatement().

Here is the call graph for this function:

static boolean isstalepageaddress bigstring  bsaddress  )  [static]
 

Definition at line 4515 of file langhtml.c.

References BIGSTRING, bigstring, disablelangerror(), enablelangerror(), fileexists(), hashtablesymbolexists(), langexpandtodotparams(), pathtofilespec(), and patternmatch().

Referenced by cleanindextable().

Here is the call graph for this function:

static boolean langcallscriptwithaddress tyaddress adrscript,
tyaddress adrparamtable,
hdlhashtable  hcontext,
tyvaluerecord vreturned
[static]
 

Definition at line 5070 of file langhtml.c.

References chainhashtable(), evaluatelist(), exemptfromtmpstack(), hashtablelookupnode(), hcode, langcompilescript(), langdisposetree(), langexternalvaltocode(), langparamerror(), newconstnode(), notfunctionerror, pophashtable(), pushfunctioncall(), pushfunctionreference(), pushhashtable(), pushvalueontmpstack(), setaddressvalue(), unchainhashtable(), and unknownfunctionerror.

Referenced by inetdsupervisor(), webservercallfilters(), webservercallresponder(), and webserverlocateresponder().

Here is the call graph for this function:

static tyvaluetype langgetextendedvaluetype const tyvaluerecord val  )  [static]
 

Definition at line 3243 of file langhtml.c.

References externalvaluetype, langexternalgettype(), and outlinevaluetype.

Referenced by additemtopagetable().

Here is the call graph for this function:

static boolean langlookupvaluefollow hdlhashtable  ht,
bigstring  bs,
tyvaluerecord v,
hdlhashnode hnode
[static]
 

Definition at line 5050 of file langhtml.c.

References addressvaluetype, bigstring, getaddressvalue(), hnode, langhashtablelookup(), and v.

Referenced by webservergetmethod().

Here is the call graph for this function:

static boolean langpushwithtable hdlhashtable  ht,
hdlhashtable  hwith
[static]
 

Definition at line 605 of file langhtml.c.

References bigstring, disposevaluerecord(), exemptfromtmpstack(), hashtableassign(), langgetwithvaluename(), langlongparamerror(), setaddressvalue(), toomanywithtableserror, and zerostring.

Referenced by htmlbuildmacrocontext(), and webserverlocaterespondercontextbuilder().

Here is the call graph for this function:

static boolean langruntextwithcontext Handle  htext,
hdlhashtable  hcontext,
tyvaluerecord v
[static]
 

Definition at line 5167 of file langhtml.c.

References chainhashtable(), exemptfromtmpstack(), langrun(), pophashtable(), pushhashtable(), pushvalueontmpstack(), unchainhashtable(), and v.

Referenced by webserverlocateresponder().

Here is the call graph for this function:

static boolean macrostablelookup hdlhashtable  ht,
bigstring  bs,
boolean ptrflparams
[static]
 

Definition at line 9466 of file langhtml.c.

References booleanvaluetype, coercetoboolean(), copyvaluerecord(), disablelangerror(), enablelangerror(), hashtablelookup(), langexternalvaltotable(), langlookupbooleanvalue(), STR_P_FLLEGAL, and STR_P_FLPARAMS.

Referenced by issafefunctionop(), and issafeidentifier().

Here is the call graph for this function:

static boolean mrcalendargetaddressday Handle  htext,
unsigned long date
[static]
 

Definition at line 7519 of file langhtml.c.

References assert, coercetolong(), datetimetoseconds(), langgetlistitem(), langgetlistsize(), parseaddress(), and tyvaluerecord::valuetype.

Referenced by mrcalendargetaddressdayverb(), and mrcalendarnavigateverb().

Here is the call graph for this function: