scripts.h File Reference

#include "op.h"

Include dependency graph for scripts.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define scriptsinclude
#define typeLAND   'LAND'

Functions

boolean scriptbuildtree (Handle, long, hdltreenode *)
boolean scriptrunstartupscripts (void)
boolean scriptrunsuspendscripts (void)
boolean scriptrunresumescripts (void)
long specialoneshotscriptsrunning (void)
boolean scriptinstallagent (hdlhashnode)
boolean scriptremoveagent (hdlhashnode)
boolean loadsystemscripts (void)
boolean runshutdownscripts (void)
boolean scriptinmenubar (void)
boolean scriptdebugger (hdltreenode)
boolean scriptkilled (void)
boolean scriptpushsourcecode (hdlhashtable, hdlhashnode, bigstring)
boolean scriptpopsourcecode (void)
boolean scriptpushtable (hdlhashtable *)
boolean scriptpoptable (hdlhashtable)
boolean scriptgetdebuggingcontext (hdlhashtable *)
void scriptunlockdebuggingcontext (void)
boolean scriptzoomwindow (Rect, Rect, hdlheadrecord, WindowPtr *)
void scriptsetcallbacks (hdloutlinerecord)
boolean scriptsetdata (WindowPtr, hdlheadrecord, hdloutlinerecord)
boolean scriptbackgroundtask (boolean)
boolean scriptgettypename (long, bigstring)
boolean scriptgetnametype (bigstring, long *)
boolean scriptstart (void)
boolean initscripts (void)


Define Documentation

#define scriptsinclude
 

Definition at line 28 of file scripts.h.

#define typeLAND   'LAND'
 

Definition at line 37 of file scripts.h.


Function Documentation

boolean initscripts void   ) 
 

Definition at line 4383 of file scripts.c.

Referenced by shellinit().

boolean loadsystemscripts void   ) 
 

Definition at line 688 of file scripts.c.

References scriptloadagents(), and scriptrunstartupscripts().

Referenced by ccinstalltablestructure().

Here is the call graph for this function:

boolean runshutdownscripts void   ) 
 

Definition at line 741 of file scripts.c.

References findnamedtable(), hashtablevisit(), nameshutdowntable, nil, runprocessvisit(), and systemtable.

Referenced by ccclose().

Here is the call graph for this function:

boolean scriptbackgroundtask boolean   ) 
 

Definition at line 3928 of file scripts.c.

References fl, flscriptresting, langdialogrunning(), processthreadcount(), processtimesliceelapsed(), processyield(), scriptbackgroundenabled(), shellblockevents(), shellpopevents(), and threadiswaiting().

Referenced by processbackgroundtask(), and scriptdebugger().

Here is the call graph for this function:

boolean scriptbuildtree Handle  ,
long  ,
hdltreenode
 

Definition at line 276 of file scripts.c.

References disposehandle(), exemptfromtmpstack(), fl, hcode, langbuildtree(), moduleop, newconstnode(), nil, osagetcode(), osascriptop, pushbinaryoperation(), and typeLAND.

Referenced by meuserselected(), scriptgetcode(), and scriptnewprocess().

Here is the call graph for this function:

boolean scriptdebugger hdltreenode   ) 
 

Definition at line 2394 of file scripts.c.

References bigstring, breakpointstring, bundleop, debuggerdata, down, flbreakpoint, fllangerror, getfrontwindow(), hnode, tysourcerecord::hnode, tysourcerecord::houtline, langgetmiscstring(), languserescaped(), left, localop, moduleop, nil, nodirection, noop, opgetnthnode(), opnestedincomment(), oppopoutline(), oppushoutline(), opshowerror(), tysourcerecord::pwindow, right, scriptbackgroundtask(), scriptdebuggereventloop(), scriptinvalbuttons(), scriptwindowmessage(), shellfinddatawindow(), shellpopglobals(), shellpushglobals(), systemscripterrorroutine(), windowbringtofront(), and zerostring.

Referenced by processdebugger(), and scriptdebugerrormessage().

Here is the call graph for this function:

boolean scriptgetdebuggingcontext hdlhashtable  ) 
 

Definition at line 2876 of file scripts.c.

References debuggerdata, nil, and scriptinvalbuttons().

Referenced by cmdtexthit(), and cmdthreadmain().

Here is the call graph for this function:

boolean scriptgetnametype bigstring  ,
long
 

Definition at line 4065 of file scripts.c.

References comparestrings(), tyfindservercallbackdata::pname, scriptfindnamevisit(), tyfindservercallbackdata::signature, and typeLAND.

Referenced by opsettypeverb().

Here is the call graph for this function:

boolean scriptgettypename long  ,
bigstring 
 

Definition at line 4012 of file scripts.c.

References copystring(), isemptystring, tyfindservercallbackdata::pname, scriptfindsubtypevisit(), setemptystring, tyfindservercallbackdata::signature, and typeLAND.

Referenced by opgettypeverb(), and scriptupdateserverpopup().

Here is the call graph for this function:

boolean scriptinmenubar void   ) 
 

Definition at line 837 of file scripts.c.

References outlineismenubarscript.

Referenced by ismenuscriptverb(), scriptclose(), scriptkeystroke(), scriptsearch(), and scripttitleclick().

boolean scriptinstallagent hdlhashnode   ) 
 

Definition at line 547 of file scripts.c.

References hcode, hnode, and scriptcompiler().

Referenced by ccagentselectvisit(), and tableundoclear().

Here is the call graph for this function:

boolean scriptkilled void   ) 
 

boolean scriptpopsourcecode void   ) 
 

Definition at line 2694 of file scripts.c.

References debuggingcurrentprocess(), langpoperrorcallback(), nil, scriptinvalbuttonsvisit(), and scriptpopsourcerecord().

Referenced by newcomponentglobals(), osahandlerunscript(), and processpopsourcecode().

Here is the call graph for this function:

boolean scriptpoptable hdlhashtable   ) 
 

Definition at line 2807 of file scripts.c.

References bigstring, BIGSTRING, currenthashtable, debuggerdata, gethashkey, hashdelete(), hnode, idscriptpoptablefailed, pophashtable(), pushhashtable(), runtimestacktable, shellinternalerror, and unchainhashtable().

Referenced by processpoptable().

Here is the call graph for this function:

boolean scriptpushsourcecode hdlhashtable  ,
hdlhashnode  ,
bigstring 
 

Definition at line 2616 of file scripts.c.

References codevaluetype, debuggingcurrentprocess(), h, hnode, tysourcerecord::hnode, tysourcerecord::houtline, isheadrecordhandle(), langfinderrorrefcon(), langpusherrorcallback(), meloadscriptoutline(), menudata, nil, opvaltoscript(), tysourcerecord::pwindow, scriptgetsourcerecord(), scriptpushsourcerecord(), shellfinddatawindow(), and systemscripterrorroutine().

Referenced by newcomponentglobals(), osahandlerunscript(), and processpushsourcecode().

Here is the call graph for this function:

boolean scriptpushtable hdlhashtable  ) 
 

Definition at line 2757 of file scripts.c.

References assert, bigstring, chainhashtable(), debuggerdata, fl, tyhashtable::fllocaltable, hashlookupnode(), hashsymbolexists(), hnode, idlocalsstack, langcheckstacklimit(), maxchainedlocals, pophashtable(), pushhashtable(), runtimestacktable, scriptgetlevelname(), and tablenewsystemtable().

Referenced by processpushtable().

Here is the call graph for this function:

boolean scriptremoveagent hdlhashnode   ) 
 

Definition at line 555 of file scripts.c.

References hcode, langexternalvaltocode(), nil, and processdisposecode().

Referenced by tableclearroutine(), and tableredoclear().

Here is the call graph for this function:

boolean scriptrunresumescripts void   ) 
 

Definition at line 670 of file scripts.c.

Referenced by shellhandlejugglerevent().

boolean scriptrunstartupscripts void   ) 
 

Definition at line 636 of file scripts.c.

References namestartuptable, and scriptrunspecialscripts().

Referenced by loadsystemscripts().

Here is the call graph for this function:

boolean scriptrunsuspendscripts void   ) 
 

Definition at line 646 of file scripts.c.

Referenced by shellhandlejugglerevent().

void scriptsetcallbacks hdloutlinerecord   ) 
 

Definition at line 3163 of file scripts.c.

References tyoutlinerecord::cmdclickcallback, scriptcmdclick(), scriptdoubleclick(), scriptgetscraproutine(), scriptsetscraproutine(), and scripttexttooutlineroutine().

Referenced by opverbsetcallbacks(), and scriptsetdata().

Here is the call graph for this function:

boolean scriptsetdata WindowPtr  ,
hdlheadrecord  ,
hdloutlinerecord 
 

Definition at line 3194 of file scripts.c.

References bigstring, eraserect(), getwindowinfo(), hnode, invalrect(), opactivate(), opdirtymeasurements(), opredrawscrollbars(), opschedulevisi(), opsetctexpanded(), tyoutlinerecord::outlinerect, popclip(), pushemptyclip(), scriptgetwindowtitle(), scriptsetcallbacks(), shellpopglobals(), shellpushglobals(), and shellsetwindowtitle().

Referenced by mesmashscriptwindow().

Here is the call graph for this function:

boolean scriptstart void   ) 
 

Definition at line 4249 of file scripts.c.

References ccdisposefilerecord(), ccsavespecialfile(), idscriptconfig, langcallbacks, loadconfigresource(), opactivate(), opbeginprint(), opcopy(), opendprint(), oppopglobals(), opprint(), oppushglobals(), opresetscrollbars(), oprmousedown(), opscroll(), opselectall(), opsetprintinfo(), opsettextmode(), outlinewindow, outlinewindowinfo, scriptadjustcursor(), scriptbutton(), scriptbuttonstatus(), scriptclear(), scriptclose(), scriptcmdkeyfilter(), tylangcallbacks::scriptcompilecallback, scriptcompiler(), scriptcut(), scriptdataholder, scriptdirtyhook(), scriptgetoutinesize(), scriptgettargetdata(), scriptgetundoglobals(), scriptgetvariable(), scriptidle(), scriptkeystroke(), scriptmousedown(), scriptpaste(), scriptresetrects(), scriptresize(), scriptruncursor(), scriptscraphook(), scriptsearch(), scriptsetfont(), scriptsetglobals(), scriptsetselectioninfo(), scriptsetsize(), scriptsetundoglobals(), scripttitleclick(), scriptupdate(), shellnewcallbacks(), shellpushdirtyhook(), and shellpushscraphook().

Referenced by frontierstart().

Here is the call graph for this function:

void scriptunlockdebuggingcontext void   ) 
 

Definition at line 2902 of file scripts.c.

References debuggerdata, tydebuggerrecord::flcontextlocked, and scriptinvalbuttons().

Referenced by cmdtexthit(), and cmdthreadmain().

Here is the call graph for this function:

boolean scriptzoomwindow Rect  ,
Rect  ,
hdlheadrecord  ,
WindowPtr
 

Definition at line 2913 of file scripts.c.

References bigstring, idscriptconfig, menuwindowinfo, newchildwindow(), and scriptgetwindowtitle().

Referenced by mezoomscriptwindow().

Here is the call graph for this function:

long specialoneshotscriptsrunning void   ) 
 

Definition at line 664 of file scripts.c.

References ctspecialprocessesrunning.

Referenced by processscheduler().


Generated on Sat Jun 10 06:13:46 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6