shell.h File Reference

#include "frontierconfig.h"
#include "scrollbar.h"
#include "shelltypes.h"
#include "db.h"

Include dependency graph for shell.h:

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

Go to the source code of this file.

Data Structures

struct  tywindowposition
struct  tysavedfont
struct  tyselectioninfo
struct  tywindowinfo
struct  tyshellglobals

Defines

#define shellinclude
#define shellinternalerror(n, s)   shellinternalerrormessage (n)

Typedefs

typedef tywindowinfoptrwindowinfo
typedef tywindowinfo ** hdlwindowinfo
typedef boolean(* shellcallback )(void)
typedef void(* shellvoidcallback )(void)
typedef void(* shellactivatecallback )(boolean)
typedef boolean(* shellbooleancallback )(boolean)
typedef boolean(* shellexportscrapcallback )(void *, tyscraptype, Handle *, boolean *)
typedef void(* shelldisposescrapcallback )(void *)
typedef boolean(* shellscrollcallback )(tydirection, boolean, long)
typedef boolean(* shellgetundoglobalscallback )(long *)
typedef boolean(* shellsetundoglobalscallback )(long, boolean)
typedef boolean(* shellmousecallback )(Point, tyclickflags)
typedef boolean(* shellcontentsizecallback )(long *, long *)
typedef boolean(* shellcmdkeycallback )(char)
typedef boolean(* shellshortcallback )(short)
typedef boolean(* shellbuttonstatuscallback )(short, tybuttonstatus *)
typedef boolean(* shellpointcallback )(Point)
typedef boolean(* shellwindowcallback )(WindowPtr)
typedef boolean(* shellfnumcallback )(hdlfilenum)
typedef boolean(* shellloadcallback )(hdlfilenum, short)
typedef boolean(* shellloadspecialcallback )(ptrfilespec, OSType)
typedef boolean(* shellsavecallback )(ptrfilespec, hdlfilenum, short, boolean, boolean)
typedef boolean(* shellgetvariablecallback )(void *)
typedef boolean(* shellmessagecallback )(bigstring, boolean)
typedef boolean(* shellwindowinfocallback )(hdlwindowinfo)
typedef boolean(* shellwindowvisitcallback )(WindowPtr, ptrvoid)
typedef boolean(* shellzoomwindowcallback )(hdlwindowinfo, boolean)
typedef boolean(* shelldatabasecallback )(struct tydatabaserecord ***)
typedef tyshellglobalsptrcallbacks

Enumerations

enum  {
  idbadopversionnumber = 1, iderrorloadingformats, idbadtableformatsversion, idtoomanypophashtables,
  iddisposingsystemtable, idpackstackfull, idpackstackempty, idbadtempdatatype,
  idwindowzoombug, idoutlinestackfull, idopwindowopenbug, idinvalidoutline,
  idprocessstackfull, idpenstackempty, idportstackfull, idportstackempty,
  idregionstackfull, idclipstackfull, idclipstackempty, idstylestackfull,
  idstylestackempty, idscriptpoptablefailed, ideditorstackfull, idbuttonlistmissing,
  idglobalsstackfull, idtoomanykeyboardhooks, idtoomanydirtyhooks, idtoomanymenuhooks,
  idtoomanyeventhooks, idtoomanyerrorhooks, idtoomanyscraphooks, idtoomanymemoryhooks,
  idtoomanyfilehooks, idformatstackfull, idformatstackempty, idnilhashtable,
  idbadbucketliststring, iderrorloadingtable, idunsortedhashlist, idniltableaddress,
  idwpstackfull
}

Functions

void shellerrormessage (bigstring)
void shellinternalerrormessage (short)
boolean shellgetstring (short, bigstring)
boolean shellshutdown (void)
boolean shellquit (void)
void shellforcecursoradjust (void)
void shelladjustcursor (void)
void shellidle (void)
boolean shellyield (boolean)
void shellforcebackgroundtask (void)
boolean shellbackgroundtask (void)
boolean shellprocessevent (EventRecord *)
boolean shellpostevent (EventRecord *)
boolean shelleventloop (callback)
boolean shellshorteventloop (void)
boolean shellpartialeventloop (short)
void shellexitmaineventloop (void)
void shellmaineventloop (void)
boolean shellinit (void)
boolean shellstart (void)
boolean shellactivatewindow (WindowPtr, boolean)
short shellblockedevents (void)
boolean shellblocked (short)
boolean shellpushblock (short, boolean)
boolean shellpopblock (void)
boolean shelleventsblocked (void)
boolean shellblockevents (void)
boolean shellpopevents (void)
boolean shellnewcallbacks (ptrcallbacks *)
boolean shelldefaultfontroutine (void)
boolean shelldefaultsizeroutine (void)
boolean shelldefaultselectioninfo (void)
boolean shellsetglobals (WindowPtr)
boolean shellpushglobals (WindowPtr)
boolean shellpopglobals (void)
boolean shellpushwindowglobals (hdlwindowinfo)
void shellinvalidglobals (WindowPtr)
boolean shellgetfrontrootinfo (hdlwindowinfo *hinfo)
boolean shellpushconfigglobals (short)
boolean shellpushdefaultglobals (void)
boolean shellpushfrontglobals (void)
boolean shellpushrootglobals (WindowPtr)
boolean shellpushparentglobals (void)
boolean shellpushfrontrootglobals (void)
boolean shellsetsuperglobals (void)
boolean shellgetconfig (short, tyconfigrecord *)
boolean shellsetconfig (short, tyconfigrecord)
boolean shellgetundoglobals (long *)
boolean shellsetundoglobals (long, boolean)
boolean shellopenfile (ptrfilespec, boolean, WindowPtr *)
boolean shellopen (void)
void shellopeninitialfiles (void)
boolean shellopendefaultfile (void)
boolean shellsaveas (WindowPtr, ptrfilespec, boolean)
boolean shellnewfile (ptrfilespec, boolean, WindowPtr *)
boolean shellnew (void)
boolean shellsave (WindowPtr)
boolean shellrevert (WindowPtr, boolean)
boolean shellclosechildwindows (hdlwindowinfo)
boolean shellclosewindow (WindowPtr)
boolean shellcloseall (WindowPtr, boolean)
boolean shellclose (WindowPtr, boolean)
boolean shellisactive (void)
boolean shellactivate (void)
void shellhandlekeystroke (void)
boolean shellfilterscrollkey (byte)
void shellouch (void)
void shellhandledrag (EventRecord, WindowPtr)
void shellhandlemouse (void)
void shellhandlemouseup (void)
boolean shellcheckautoscroll (Point, boolean, tydirection *)
void initmouse (void)
void shellsetselectioninfo (void)
void shellsetdefaultstyle (hdlwindowinfo)
void shelldisposescrap (void)
boolean shellsetscrap (void *, tyscraptype, shelldisposescrapcallback, shellexportscrapcallback)
boolean shellgetscrap (Handle *, tyscraptype *)
boolean shellconvertscrap (tyscraptype, Handle *, boolean *)
boolean shellexportscrap (tyscraptype)
boolean shellreadscrap (void)
boolean shellwritescrap (tyscraptype)
void initscrap (void)
void shellupdatescrollbars (hdlwindowinfo)
void shellcheckdirtyscrollbars (void)
void shellsetscrollbars (WindowPtr)
void shellscroll (boolean, hdlscrollbar, short, Point)
void shellinitscroll (void)
void shellshutdownscroll (void)
void fileinit (void)
void fileshutdown (void)
void shellupdatewindow (WindowPtr)
void shellupdatecontent (Rect)
boolean shellupdatenow (WindowPtr)
void shellupdateallnow (void)
boolean shellhandleupdate (void)
void shellwindowinval (hdlwindowinfo)
void shelladjustaftergrow (WindowPtr)
void shellinvalcontent (hdlwindowinfo)
boolean shellrectneedsupdate (const Rect *)
boolean shellsetwindowchanges (hdlwindowinfo, boolean)
boolean windowsetchanges (WindowPtr, boolean)
boolean getwindowinfo (WindowPtr, hdlwindowinfo *)
boolean shellfindwindow (short, WindowPtr *, hdlwindowinfo *, Handle *)
hdlfilenum windowgetfnum (WindowPtr)
void windowsetfnum (WindowPtr, hdlfilenum)
short windowgetrnum (WindowPtr)
void windowsetrnum (WindowPtr, short)
short windowgetvnum (WindowPtr)
boolean windowsetfspec (WindowPtr, tyfilespec *)
boolean windowgetfspec (WindowPtr, tyfilespec *)
boolean windowgetpath (WindowPtr, bigstring)
void windowsetvnum (WindowPtr, short)
boolean newchildwindow (short, hdlwindowinfo, Rect *, const Rect *, bigstring, WindowPtr *)
boolean newfilewindow (ptrfilespec, hdlfilenum, short, boolean, WindowPtr *)
boolean isfilewindow (WindowPtr)
boolean shellgetwindowcenter (hdlwindowinfo, Rect *)
boolean shellgetglobalwindowrect (hdlwindowinfo, Rect *)
boolean shellgetwindowrect (hdlwindowinfo, Rect *)
boolean windowzoom (WindowPtr)
boolean shellbringtofront (hdlwindowinfo)
boolean shellsetwindowtitle (hdlwindowinfo, bigstring)
void shellgetwindowtitle (hdlwindowinfo, bigstring)
boolean getfrontwindowinfo (hdlwindowinfo *)
WindowPtr shellnextwindow (WindowPtr)
void shellcalcgrowiconrect (Rect, hdlwindowinfo)
boolean shellgettargetdata (short, WindowPtr)
boolean shellfindtargetwindow (short, WindowPtr *)
boolean shellgetexternaldata (hdlwindowinfo, void *)
boolean shellvisitwindowlayer (shellwindowvisitcallback, ptrvoid)
boolean visitownedwindows (WindowPtr, short, shellwindowvisitcallback, ptrvoid)
boolean shellvisittypedwindows (short, shellwindowvisitcallback, ptrvoid)
boolean getrootwindow (WindowPtr, hdlwindowinfo *)
boolean frontrootwindow (hdlwindowinfo *)
boolean shellfinddatawindow (Handle, hdlwindowinfo *)
WindowPtr shellfindfilewindow (ptrfilespec)
boolean shellfindnamedwindow (const bigstring, hdlwindowinfo *)
boolean shellclosedatawindow (Handle)
void shellwindowmessage (bigstring)
boolean shellsetwindowmessage (hdlwindowinfo, bigstring)
boolean shelldrawwindowmessage (hdlwindowinfo)
boolean shellfrontwindowmessage (bigstring)
boolean shellmoveandsizewindow (hdlwindowinfo, Rect)
boolean shellmovewindow (hdlwindowinfo, short, short)
boolean shellmovewindowhidden (hdlwindowinfo, short, short)
boolean shellsizewindow (hdlwindowinfo, short, short)
boolean shellsizewindowhidden (hdlwindowinfo, short, short)
boolean shellzoomwindow (hdlwindowinfo, boolean)
boolean shellgetdatabase (WindowPtr, hdldatabaserecord *)
void shellwindowmenudirty (void)

Variables

EventRecord shellevent
WindowPtr shellwindow
hdlwindowinfo shellwindowinfo
tyshellglobals shellglobals
boolean flinhibitclosedialogs
boolean flconvertingolddatabase
boolean flshellclosingall


Define Documentation

#define shellinclude
 

Definition at line 29 of file shell.h.

#define shellinternalerror n,
 )     shellinternalerrormessage (n)
 

Definition at line 533 of file shell.h.

Referenced by copyvaluedata(), disposehashtable(), langfindtargetwindow(), oppushoutline(), opunpack(), opunpacklist(), opvalidate(), opwindowopen(), popclip(), pophashtable(), poppen(), popport(), popstyle(), pushcliprgn(), pushport(), pushprocess(), pushstyle(), scriptpoptable(), shellloadbuttonlists(), shellnewcallbacks(), shellpushdirtyhook(), shellpusherrorhook(), shellpusheventhook(), shellpushfilehook(), shellpushglobals(), shellpushkeyboardhook(), shellpushmemoryhook(), shellpushmenuhook(), shellpushscraphook(), shellpushwakeuphook(), superpushclip(), tablepopformats(), tablepushformats(), tableunpackformats(), tableunpackversion1formats(), tableverbinmemory(), validate(), and wppushdata().


Typedef Documentation

typedef struct tywindowinfo ** hdlwindowinfo
 

typedef struct tyshellglobals * ptrcallbacks
 

typedef struct tywindowinfo * ptrwindowinfo
 

typedef void(* shellactivatecallback)(boolean)
 

Definition at line 290 of file shell.h.

typedef boolean(* shellbooleancallback)(boolean)
 

Definition at line 292 of file shell.h.

typedef boolean(* shellbuttonstatuscallback)(short, tybuttonstatus *)
 

Definition at line 312 of file shell.h.

typedef boolean(* shellcallback)(void)
 

Definition at line 286 of file shell.h.

typedef boolean(* shellcmdkeycallback)(char)
 

Definition at line 308 of file shell.h.

typedef boolean(* shellcontentsizecallback)(long *, long *)
 

Definition at line 306 of file shell.h.

typedef boolean(* shelldatabasecallback)(struct tydatabaserecord ***)
 

Definition at line 336 of file shell.h.

typedef void(* shelldisposescrapcallback)(void *)
 

Definition at line 296 of file shell.h.

typedef boolean(* shellexportscrapcallback)(void *, tyscraptype, Handle *, boolean *)
 

Definition at line 294 of file shell.h.

typedef boolean(* shellfnumcallback)(hdlfilenum)
 

Definition at line 318 of file shell.h.

typedef boolean(* shellgetundoglobalscallback)(long *)
 

Definition at line 300 of file shell.h.

typedef boolean(* shellgetvariablecallback)(void *)
 

Definition at line 326 of file shell.h.

typedef boolean(* shellloadcallback)(hdlfilenum, short)
 

Definition at line 320 of file shell.h.

typedef boolean(* shellloadspecialcallback)(ptrfilespec, OSType)
 

Definition at line 322 of file shell.h.

typedef boolean(* shellmessagecallback)(bigstring, boolean)
 

Definition at line 328 of file shell.h.

typedef boolean(* shellmousecallback)(Point, tyclickflags)
 

Definition at line 304 of file shell.h.

typedef boolean(* shellpointcallback)(Point)
 

Definition at line 314 of file shell.h.

typedef boolean(* shellsavecallback)(ptrfilespec, hdlfilenum, short, boolean, boolean)
 

Definition at line 324 of file shell.h.

typedef boolean(* shellscrollcallback)(tydirection, boolean, long)
 

Definition at line 298 of file shell.h.

typedef boolean(* shellsetundoglobalscallback)(long, boolean)
 

Definition at line 302 of file shell.h.

typedef boolean(* shellshortcallback)(short)
 

Definition at line 310 of file shell.h.

typedef void(* shellvoidcallback)(void)
 

Definition at line 288 of file shell.h.

typedef boolean(* shellwindowcallback)(WindowPtr)
 

Definition at line 316 of file shell.h.

typedef boolean(* shellwindowinfocallback)(hdlwindowinfo)
 

Definition at line 330 of file shell.h.

typedef boolean(* shellwindowvisitcallback)(WindowPtr, ptrvoid)
 

Definition at line 332 of file shell.h.

typedef boolean(* shellzoomwindowcallback)(hdlwindowinfo, boolean)
 

Definition at line 334 of file shell.h.


Enumeration Type Documentation

anonymous enum
 

Enumerator:
idbadopversionnumber 
iderrorloadingformats 
idbadtableformatsversion 
idtoomanypophashtables 
iddisposingsystemtable 
idpackstackfull 
idpackstackempty 
idbadtempdatatype 
idwindowzoombug 
idoutlinestackfull 
idopwindowopenbug 
idinvalidoutline 
idprocessstackfull 
idpenstackempty 
idportstackfull 
idportstackempty 
idregionstackfull 
idclipstackfull 
idclipstackempty 
idstylestackfull 
idstylestackempty 
idscriptpoptablefailed 
ideditorstackfull 
idbuttonlistmissing 
idglobalsstackfull 
idtoomanykeyboardhooks 
idtoomanydirtyhooks 
idtoomanymenuhooks 
idtoomanyeventhooks 
idtoomanyerrorhooks 
idtoomanyscraphooks 
idtoomanymemoryhooks 
idtoomanyfilehooks 
idformatstackfull 
idformatstackempty 
idnilhashtable 
idbadbucketliststring 
iderrorloadingtable 
idunsortedhashlist 
idniltableaddress 
idwpstackfull 

Definition at line 63 of file shell.h.


Function Documentation

void fileinit void   ) 
 

Definition at line 494 of file file.c.

References nil.

void fileshutdown void   ) 
 

Definition at line 502 of file file.c.

References nil.

boolean frontrootwindow hdlwindowinfo  ) 
 

Definition at line 1067 of file shellwindow.c.

References frontshellwindow(), getrootwindow(), hfirstwindow, and nil.

Referenced by browserfindwindow(), pushwindowmenuvisit(), shellcloseall(), and shellgetfrontrootinfo().

Here is the call graph for this function:

boolean getfrontwindowinfo hdlwindowinfo  ) 
 

Definition at line 345 of file shellwindow.c.

References frontshellwindow(), and getwindowinfo().

Referenced by getdefaultwindowrect(), newchildwindow(), shellwindowmenuselect(), and tablefindvisit().

Here is the call graph for this function:

boolean getrootwindow WindowPtr  ,
hdlwindowinfo
 

Definition at line 1041 of file shellwindow.c.

References getwindowinfo(), nil, and tywindowinfo::parentwindow.

Referenced by frontrootwindow(), fullpathsearch(), shelladjustmenus(), shellcloseall(), shellgetfrontrootinfo(), shellpushrootglobals(), tablesurface(), and visitownedwindows().

Here is the call graph for this function:

boolean getwindowinfo WindowPtr  ,
hdlwindowinfo
 

Definition at line 196 of file shellwindow.c.

References getwindowrefcon(), h, and nil.

Referenced by browserfindvisit(), browsernewwindow(), ccfindrootwindow(), ccwindowgetdatabase(), closewindowfile(), disposeshellwindow(), drawwindowmessage(), finddialogvisit(), findfilevisit(), findpathvisit(), findrootvisit(), findtitlevisit(), GetFrontierWindowInfo(), getfrontwindowinfo(), getrootwindow(), getwindowmessage(), isfilewindow(), langdialognewwindow(), langerrornewwindow(), loaddefaultfont(), lockwindowmessage(), menuedit(), minifindvisit(), mininewwindow(), newaboutwindow(), opedit(), pictedit(), pushwindowmenuvisit(), scriptsetdata(), setwindowmessage(), shelladjustaftergrow(), shellclose(), shellcloseall(), shellclosefilewindowvisit(), shellclosewindow(), shelldatabasesaveas(), shellfinddatavisit(), shellpopglobals(), shellpushglobals(), shellpushparentglobals(), shellsavefontresource(), shellsavewindowresource(), shellsetglobals(), shellupdatewindow(), statsnewwindow(), tableedit(), tablefindrootwindow(), visitownedwindows(), windowgetcontentrect(), windowgetfnum(), windowgetfspec(), windowgetrnum(), windowgetvnum(), windowmadechanges(), windowsetchanges(), windowsetfnum(), windowsetfspec(), windowsetrnum(), windowzoom(), wpedit(), and zoomfilewindow().

Here is the call graph for this function:

void initmouse void   ) 
 

Definition at line 523 of file shellmouse.c.

Referenced by shellinit().

void initscrap void   ) 
 

Definition at line 448 of file shellscrap.c.

References clearbytes(), getscrapcount(), initclipboard(), and shellscrap.

Referenced by appletinitmanagers(), and shellinit().

Here is the call graph for this function:

boolean isfilewindow WindowPtr   ) 
 

Definition at line 257 of file shellwindow.c.

References getwindowinfo(), and nil.

Referenced by langexternalregisterwindow(), langexternalunregisterwindow(), opverbclose(), tablesurface(), and wpclose().

Here is the call graph for this function:

boolean newchildwindow short  ,
hdlwindowinfo  ,
Rect ,
const Rect ,
bigstring  ,
WindowPtr
 

Referenced by browsernewwindow(), langdialognewwindow(), langerrornewwindow(), menuedit(), mininewwindow(), newaboutwindow(), opedit(), pictedit(), scriptzoomwindow(), statsnewwindow(), tableedit(), and wpedit().

boolean newfilewindow ptrfilespec  ,
hdlfilenum  ,
short  ,
boolean  ,
WindowPtr
 

Definition at line 1784 of file shellwindow.c.

References bigstring, clearbytes(), config, tywindowposition::configresnum, tywindowposition::ctopens, tyconfigrecord::defaultwindowrect, tywindowposition::flhidden, getfsfile(), tywindowposition::horizcurrent, tywindowposition::horizmax, tywindowposition::horizmin, iddefaultconfig, tyshellglobals::infoholder, loaddefaultfont(), loadwindowposition(), newshellwindow(), nil, popport(), pushport(), setscrollbarinfo(), shellglobals, shellsetwindowtitle(), tywindowposition::vertcurrent, tywindowposition::vertmax, tywindowposition::vertmin, and windowresetrects().

Referenced by shellnewfile(), and shellopenfile().

Here is the call graph for this function:

boolean shellactivate void   ) 
 

Definition at line 54 of file shelljuggler.c.

References activateapplication(), activMask, fldisableyield, flscriptrunning, flshellactive, langpartialeventloop(), nil, osMask, shellpartialeventloop(), and updateMask.

Referenced by landbrowsenetworkapps(), langipcrunitem(), and newmodaldialog().

Here is the call graph for this function:

boolean shellactivatewindow WindowPtr  ,
boolean 
 

Definition at line 40 of file shellactivate.c.

References tyshellglobals::activateroutine, anyscraptype, bitboolean, config, tyshellglobals::dataholder, disablescrollbar(), displayscrollbar(), drawwindowmessage(), tyconfigrecord::fleraseonresize, tywindowinfo::flwindowactive, getfrontwindow(), isdeskaccessorywindow(), isshellwindow(), NULL, popclip(), pushclip(), r, shelldrawbuttons(), shelldrawgrowicon(), shellglobals, shellpopglobals(), shellpushglobals(), shellsetscrollbars(), shellsetsuperglobals(), shellupdatenow(), shellwindowinfo, shellwindowmenudirty(), shellwritescrap(), and winrecttorect().

Referenced by handlewindoweventcommand(), shellhandleevent(), shellhandlejugglerevent(), and zoomfromorigin().

Here is the call graph for this function:

void shelladjustaftergrow WindowPtr   ) 
 

Definition at line 2172 of file shellwindow.c.

References config, tyconfigrecord::fleraseonresize, getwindowinfo(), h, NULL, tywindowinfo::oldcontentrect, r, tyshellglobals::resizeroutine, tyshellglobals::setscrollbarroutine, shellerasegrowicon(), shellerasemessagearea(), shellgetwindowrect(), shellglobals, shellupdatenow(), smashrect(), and windowresetrects().

Referenced by aboutresizeafterfontchange(), aboutzoom(), FrontierOPWndProc(), opedit(), openverb(), shellmoveandsizewindow(), shellsizewindow(), shellsizewindowhidden(), shellzoomwindow(), tableverbsetfont(), and tableverbsetsize().

Here is the call graph for this function:

void shelladjustcursor void   ) 
 

Definition at line 409 of file shell.c.

References adjustcursorlastpoint, tyshellglobals::adjustcursorroutine, beachballcursor(), cursorisarrow, equalpoints(), floverridebeachball, getmousewindowpos(), isshellwindow(), nil, pointinrect(), processbusy(), pt, rollbeachball(), setcursortype(), shellbuttonadjustcursor(), shellglobals, shellpopglobals(), shellpushglobals(), shellwindow, and shellwindowinfo.

Referenced by handlewindoweventcommand(), and shellhandlenullevent().

Here is the call graph for this function:

boolean shellbackgroundtask void   ) 
 

Definition at line 557 of file shell.c.

References tyshellglobals::backgroundroutine, flbackgroundtasksdisabled, flshellimmediatebackground, processyield(), shellforcecursoradjust(), shellglobals, shellpopglobals(), shellpushdefaultglobals(), timelastkeystroke, and timenextbackground.

Referenced by delayticks(), langexternalsearch(), and shellhandlenullevent().

Here is the call graph for this function:

boolean shellblocked short   ) 
 

Definition at line 53 of file shellblocker.c.

References blockedevents.

short shellblockedevents void   ) 
 

Definition at line 47 of file shellblocker.c.

References blockedevents.

Referenced by shellgeteventmask().

boolean shellblockevents void   ) 
 

Definition at line 96 of file shellblocker.c.

References shelleventsdisable.

Referenced by builtinvalue(), dialogsimulatehit(), langipcbreakembrace(), scriptbackgroundtask(), and tablegetwpedittext().

boolean shellbringtofront hdlwindowinfo   ) 
 

Definition at line 2904 of file shellwindow.c.

References activateapplicationwindow(), fl, iscurrentapplication(), shellunhidewindow(), and windowbringtofront().

Referenced by aboutcommand(), bringtofrontverb(), findfilevisit(), langerrorset(), langrunmodeless(), mecontinuesearch(), menuedit(), opedit(), pictedit(), scriptkeystroke(), scripttitleclick(), shellcloseall(), shellclosefilewindowvisit(), shellrevert(), shellwindowmenuselect(), startminidialog(), systemscripterrorroutine(), tableedit(), tablesurface(), tablesymbolzoomvisit(), tabletitlepopupselect(), and wpedit().

Here is the call graph for this function:

void shellcalcgrowiconrect Rect  ,
hdlwindowinfo 
 

Definition at line 735 of file shellwindow.c.

References getscrollbarwidth(), offsetrect(), and r.

Referenced by aboutresetrects(), browserresetrects(), meresetwindowrects(), shellresetwindowrects(), tablesetextrainfo(), and tableverbresetrects().

Here is the call graph for this function:

boolean shellcheckautoscroll Point  ,
boolean  ,
tydirection
 

Definition at line 474 of file shellmouse.c.

References mousecheckautoscroll(), and pt.

Here is the call graph for this function:

void shellcheckdirtyscrollbars void   ) 
 

Definition at line 60 of file shellscroll.c.

References shellpopglobals(), shellpushfrontglobals(), shellupdatescrollbars(), and shellwindowinfo.

Referenced by opinserthandle(), and shellhandlenullevent().

Here is the call graph for this function:

boolean shellclose WindowPtr  ,
boolean 
 

Definition at line 938 of file shellfile.c.

References activMask, bigstring, tyshellglobals::closeroutine, closewindowfile(), config, tyshellglobals::disposerecordroutine, disposeshellwindow(), filefrompath(), flinhibitclosedialogs, flscriptrunning, tykeystrokerecord::flshiftkey, tyconfigrecord::flstoredindatabase, getwindowinfo(), hashflushcache(), idautosave, isshellwindow(), keyboardstatus, killownedundo(), langgetuserflag(), langpartialeventloop(), longinfinity, nil, tyshellglobals::precloseroutine, savedialog(), shellcallfilehooks(), shellclearwindowdata(), shellclosechildwindows(), shellclosewindow(), shellgetwindowtitle(), shellglobals, shellpartialeventloop(), shellpopglobals(), shellpushglobals(), shellsave(), uisCloseSharedWindow(), uisIsSharedWindow(), and zoomtoorigin().

Referenced by closeabout(), closeregisteredwindowvisit(), closevalue(), closeverb(), filemenufunctionvalue(), openverb(), QueryCloseChild(), shellcloseall(), shellclosefilewindowvisit(), shellhandlemenu(), and shellhandlemouse().

Here is the call graph for this function:

boolean shellcloseall WindowPtr  ,
boolean 
 

Definition at line 1114 of file shellfile.c.

References fl, flshellclosingall, frontrootwindow(), getrootwindow(), getwindowinfo(), iddefaultconfig, nil, shellbringtofront(), shellclose(), shellclosechildwindows(), shellclosefilewindowvisit(), shellvisittypedwindows(), and uisCloseAllSharedWindows().

Referenced by filemenufunctionvalue(), langipcquitapproutine(), QueryCloseChild(), shellhandlemenu(), shellhandlemouse(), shellquit(), and shellshutdown().

Here is the call graph for this function:

boolean shellclosechildwindows hdlwindowinfo   ) 
 

Definition at line 851 of file shellfile.c.

References tyshellglobals::childcloseroutine, disposeshellwindow(), shellfirstchildwindow(), shellglobals, shellpopglobals(), and shellpushglobals().

Referenced by shellclose(), shellcloseall(), shellrevert(), and tableverbclose().

Here is the call graph for this function:

boolean shellclosedatawindow Handle   ) 
 

boolean shellclosewindow WindowPtr   ) 
 

Definition at line 899 of file shellfile.c.

References assert, tyshellglobals::childcloseroutine, disposeshellwindow(), getwindowinfo(), nil, tywindowinfo::parentwindow, shellglobals, shellhidewindow(), shellpopglobals(), and shellpushglobals().

Referenced by clearlangerrordialog(), closeownedwindowsvisit(), closewindowcommand(), langclosehiddenwindow(), langdialogdispose(), langexternaldisposevariable(), medeletelineroutine(), menuverbclose(), opoutlinetoxml(), scriptkeystroke(), scriptprocesskilled(), scripttitleclick(), shellclose(), tableclientsurface(), tableclosewindows(), tablesurface(), tabletitlepopupselect(), tableverbcontinuesearch(), and tablezoomfromhead().

Here is the call graph for this function:

boolean shellconvertscrap tyscraptype  ,
Handle ,
boolean
 

Definition at line 188 of file shellscrap.c.

References exportshellscrap(), tyscraprecord::hscrap, shellscrap, and tyscraprecord::type.

Referenced by isoutlinescrap(), langdialogpaste(), megetscraproutine(), opgetscrap(), opgetscraproutine(), pictpaste(), scriptgetscraproutine(), serviceshandlercopy(), and wppaste().

Here is the call graph for this function:

boolean shelldefaultfontroutine void   ) 
 

Definition at line 172 of file shellcallbacks.c.

References tywindowinfo::defaultfont, eraserect(), shellwindow, shellwindowinfo, and windowinval().

Referenced by shellpatchnilroutines().

Here is the call graph for this function:

boolean shelldefaultselectioninfo void   ) 
 

Definition at line 239 of file shellcallbacks.c.

References defaultselectioninfo(), and shellwindowinfo.

Referenced by minisetselectioninfo(), and shellpatchnilroutines().

Here is the call graph for this function:

boolean shelldefaultsizeroutine void   ) 
 

Definition at line 193 of file shellcallbacks.c.

References tywindowinfo::defaultsize, eraserect(), shellwindow, shellwindowinfo, and windowinval().

Referenced by shellpatchnilroutines().

Here is the call graph for this function:

void shelldisposescrap void   ) 
 

Referenced by FrontierFrameWndProc(), main(), and pastetext().

boolean shelldrawwindowmessage hdlwindowinfo   ) 
 

Definition at line 2674 of file shellwindow.c.

References drawwindowmessage().

Referenced by meupdate(), and tableupdate().

Here is the call graph for this function:

void shellerrormessage bigstring   ) 
 

Definition at line 138 of file shell.c.

References alertdialog(), flbackgroundtasksdisabled, and shellcallerrorhooks().

Referenced by ccloadspecialfile(), ccwindowstart(), dberror(), memoryerror(), opunpack(), oserror(), pictunpack(), scriptnewprocess(), shellinit(), shellinternalerrormessage(), sysfunctionvalue(), tablesavesystemtable(), threadissleeping(), volumeinfoerror(), and wpunpack().

Here is the call graph for this function:

boolean shelleventloop callback   ) 
 

Definition at line 797 of file shell.c.

References fwsNetEventCheckAndAcceptSocket(), hAccel, hwndMDIClient, NULL, shellframewindow, shellhandleevent(), shellhandlenullevent(), timelastevent, TRUE, and UINT.

Referenced by scriptdebuggereventloop(), shellmaineventloop(), and shellshorteventloop().

Here is the call graph for this function:

boolean shelleventsblocked void   ) 
 

Definition at line 90 of file shellblocker.c.

References shelleventsdisable.

Referenced by shelleventavail().

void shellexitmaineventloop void   ) 
 

Definition at line 986 of file shell.c.

References flexitmaineventloop.

Referenced by ccloadfile(), filemenufunctionvalue(), langipcquitapproutine(), and shellquit().

boolean shellexportscrap tyscraptype   ) 
 

Definition at line 310 of file shellscrap.c.

References disposehandle(), exportshellscrap(), nil, putscrap(), and textscraptype.

Referenced by FrontierFrameWndProc(), and shellwritescrap().

Here is the call graph for this function:

boolean shellfilterscrollkey byte   ) 
 

Definition at line 344 of file shellkb.c.

References chend, chhome, chpagedown, chpageup, down, longinfinity, tyshellglobals::scrollroutine, shellglobals, and up.

Referenced by opkeystroke().

boolean shellfinddatawindow Handle  ,
hdlwindowinfo
 

Definition at line 1266 of file shellwindow.c.

References finddatainfo::hdata, finddatainfo::hinfo, nil, shellfinddatavisit(), and shellvisittypedwindows().

Referenced by addmenucommandverb(), deletemenucommandverb(), initializetableoutline(), menuedit(), menuwindowopen(), mezoommenubarwindow(), opedit(), openverb(), opverbcheckwindowrect(), opverblinkcode(), opwindowopen(), opxmlensureopenwindow(), opxmlsetwindowatts(), opxmltooutline(), pictedit(), pictverbcheckwindowrect(), pictwindowopen(), scriptdebugger(), scriptgetlevelname(), scriptpushsourcecode(), systemscripterrorroutine(), tablewindowopen(), wpedit(), wpverbcheckwindowrect(), and wpwindowopen().

Here is the call graph for this function:

WindowPtr shellfindfilewindow ptrfilespec   ) 
 

Definition at line 1322 of file shellwindow.c.

References findfileinfo::fsfind, idcancoonconfig, nil, shellfindfilevisit(), shellvisittypedwindows(), and findfileinfo::wfound.

Referenced by dbopenverb(), getipcaddressvalue(), and langipchandleverb().

Here is the call graph for this function:

boolean shellfindnamedwindow const   bigstring,
hdlwindowinfo
 

Definition at line 1385 of file shellwindow.c.

References findpathvisit(), findtitlevisit(), findtitleinfo::hinfo, nil, findtitleinfo::pwindowtitle, and shellvisittypedwindows().

Referenced by getwinparam(), and stringtoaddress().

Here is the call graph for this function:

boolean shellfindtargetwindow short  ,
WindowPtr
 

Definition at line 3084 of file shellwindow.c.

References findtargetvisit(), shellvisitwindowlayer(), findtargetinfo::targetdataid, and findtargetinfo::targetwindow.

Referenced by frontmostverb(), isfrontverb(), and langfindtargetwindow().

Here is the call graph for this function:

boolean shellfindwindow short  ,
WindowPtr ,
hdlwindowinfo ,
Handle
 

Definition at line 307 of file shellwindow.c.

References h, hfirstwindow, tywindowinfo::macwindow, and nil.

Referenced by ccfunctionvalue(), findaboutwindow(), langerrorfindwindow(), shellgetfrontrootinfo(), shellhandlemenu(), and statsfindwindow().

void shellforcebackgroundtask void   ) 
 

Definition at line 547 of file shell.c.

References flshellimmediatebackground.

Referenced by addprocess(), langerrorset(), newprocessthread(), processchecktimeouts(), processscheduler(), wakeprocessthread(), and xcmdcallback().

void shellforcecursoradjust void   ) 
 

Definition at line 403 of file shell.c.

References adjustcursorlastpoint, and tyPoint::h.

Referenced by shellbackgroundtask(), shellhandlejugglerevent(), and tablepostmovecallback().

boolean shellfrontwindowmessage bigstring   ) 
 

Definition at line 3010 of file shellwindow.c.

References shellpopglobals(), shellpushfrontglobals(), and shellwindowmessage().

Referenced by windowfunctionvalue().

Here is the call graph for this function:

boolean shellgetconfig short  ,
tyconfigrecord
 

Definition at line 485 of file shellcallbacks.c.

References tyshellglobals::config, globalsarray, and shellfindcallbacks().

Referenced by ccgetwindowrect(), ccinitwindowinfo(), langdialognewwindow(), langexternalgetconfig(), menewmenurecord(), newoutlinerecord(), opverbnew(), pictgetnewwindowrect(), shellnew(), shellopen(), tableverbsetupdisplay(), and wpnewrecord().

Here is the call graph for this function:

boolean shellgetdatabase WindowPtr  ,
hdldatabaserecord
 

Definition at line 3123 of file shellwindow.c.

References fl, tyshellglobals::getdatabaseroutine, nil, opsetoutline(), outlinedata, shellglobals, shellpopglobals(), and shellpushrootglobals().

Referenced by browsergetparentspec(), initializetableoutline(), and windowfunctionvalue().

Here is the call graph for this function:

boolean shellgetexternaldata hdlwindowinfo  ,
void * 
 

Definition at line 3107 of file shellwindow.c.

References fl, tyshellglobals::getvariableroutine, nil, shellglobals, shellpopglobals(), and shellpushglobals().

Referenced by closevalue(), langpackwindowverb(), shelladjustmenus(), and systemscripterrorroutine().

Here is the call graph for this function:

boolean shellgetfrontrootinfo hdlwindowinfo hinfo  ) 
 

Definition at line 808 of file shellcallbacks.c.

References frontrootwindow(), getrootwindow(), iddefaultconfig, and shellfindwindow().

Referenced by browsernewwindow(), langdialognewwindow(), langerrornewwindow(), shellpushfrontrootglobals(), shellsetsuperglobals(), and statsnewwindow().

Here is the call graph for this function:

boolean shellgetglobalwindowrect hdlwindowinfo  ,
Rect
 

Definition at line 360 of file shellwindow.c.

References getglobalwindowrect().

Referenced by aboutresizeafterfontchange(), aboutzoom(), cccopywindowinfo(), getboundsverb(), getdefaultwindowrect(), menucheckwindowrect(), opverbcheckwindowrect(), opxmlbuildhead(), pictverbcheckwindowrect(), shellgetwindowcenter(), shellmovewindow(), shellmovewindowhidden(), shellsizewindow(), shellsizewindowhidden(), and wpverbcheckwindowrect().

Here is the call graph for this function:

boolean shellgetscrap Handle ,
tyscraptype
 

Definition at line 150 of file shellscrap.c.

References tyscraprecord::hscrap, nil, shellscrap, and tyscraprecord::type.

Referenced by browsergetscrap(), copy(), iseditscrap(), isoutlinescrap(), megetscraproutine(), paste(), scriptgetscraproutine(), tabledroppasteroutine(), tableexportvaluescrap(), tablepasteroutine(), and tableverbpaste().

boolean shellgetstring short  ,
bigstring 
 

Definition at line 132 of file shell.c.

References getstringlist(), and interfacelistnumber.

Referenced by mecmdkeypopupselect(), medisplaycmdkeypopup(), medisplayscriptbutton(), mefillcmdkeypopup(), modaldialogcallback(), postmemorymessage(), revertdialog(), scriptgetwindowtitle(), shellhandlemenu(), shellinternalerrormessage(), shellsetmenuitemstring(), and tabledrawzoombutton().

Here is the call graph for this function:

boolean shellgettargetdata short  ,
WindowPtr 
 

Definition at line 3044 of file shellwindow.c.

References fl, tyshellglobals::gettargetdataroutine, shellglobals, shellpopglobals(), and shellpushglobals().

Referenced by findtargetvisit(), and langfindtargetwindow().

Here is the call graph for this function:

boolean shellgetundoglobals long  ) 
 

Definition at line 872 of file shellcallbacks.c.

References tyshellglobals::getundoglobalsroutine, and shellglobals.

Referenced by pushundoaction().

boolean shellgetwindowcenter hdlwindowinfo  ,
Rect
 

Definition at line 395 of file shellwindow.c.

References centerrect(), r, shellgetglobalwindowrect(), and zerorect().

Referenced by langerrornewwindow(), and statsnewwindow().

Here is the call graph for this function:

boolean shellgetwindowrect hdlwindowinfo  ,
Rect
 

Definition at line 366 of file shellwindow.c.

References nil.

Referenced by frame3sides(), shelladjustaftergrow(), and shellgetbuttonsrect().

void shellgetwindowtitle hdlwindowinfo  ,
bigstring 
 

Definition at line 2946 of file shellwindow.c.

References copyheapstring(), nil, and setemptystring.

Referenced by ccsavespecialfile(), findtitlevisit(), gettitleverb(), opxmlbuildhead(), pushwindowmenuvisit(), scriptgetlevelname(), setwinvalue(), shellclose(), shellrevert(), shellsetwindowchanges(), and shellzoomwindow().

Here is the call graph for this function:

void shellhandledrag EventRecord  ,
WindowPtr 
 

Referenced by shellhandlemouse().

void shellhandlekeystroke void   ) 
 

Definition at line 241 of file shellkb.c.

References tykeystrokerecord::chkb, chspace, tyshellglobals::cmdkeyfilterroutine, fl, tykeystrokerecord::flautokey, tykeystrokerecord::flcmdkey, flouchlocked, HiWord, keyboardsetescape(), keyboardstatus, tyshellglobals::keystrokeroutine, tyEventRecord::message, tyEventRecord::modifiers, setkeyboardstatus(), shellcalleventhooks(), shellcallkeyboardhooks(), shellevent, shellglobals, shellhandlemenu(), shellpopglobals(), shellpushfrontglobals(), shellupdatemenus(), shellwindow, timelastkeystroke, and tyEventRecord::what.

Referenced by shellhandleevent().

Here is the call graph for this function:

void shellhandlemouse void   ) 
 

Definition at line 190 of file shellmouse.c.

References assert, clickcommand, clickdiscontiguous, clickextend, clicknormal, clickoption, clickwords, tyshellglobals::cmouseroutine, config, cursorisarrow, findmousewindow(), tykeystrokerecord::flcmdkey, tykeystrokerecord::flcontrolkey, tyconfigrecord::fldontconsumefrontclicks, tymouserecord::fldoubleclick, tyconfigrecord::flgrowable, tykeystrokerecord::floptionkey, tykeystrokerecord::flshiftkey, frontshellwindow(), getfrontwindow(), globaltolocalpoint(), tyPoint::h, tyEventRecord::hwnd, ismousecenterclick(), ismouseleftclick(), ismouserightclick(), ismousewheelclick(), isshellwindow(), keyboardstatus, mousedoubleclickdisable(), mousedown(), tyshellglobals::mouseroutine, mousestatus, nil, pointinrect(), tyshellglobals::rmouseroutine, setcursortype(), setkeyboardstatus(), shellbuttonhit(), shellcalleventhooks(), shellclose(), shellcloseall(), shellevent, shellglobals, shellhandledrag(), shellhandlemenu(), shellpopglobals(), shellpushglobals(), shellupdatemenus(), tyshellglobals::titleclickroutine, trackmenu(), tyPoint::v, tyEventRecord::what, tyEventRecord::when, tyEventRecord::where, windowbringtofront(), and tyshellglobals::wmouseroutine.

Referenced by shellhandleevent().

Here is the call graph for this function:

void shellhandlemouseup void   ) 
 

Definition at line 186 of file shellmouse.c.

References tyPoint::h, mouseup(), shellevent, tyPoint::v, tyEventRecord::what, tyEventRecord::when, and tyEventRecord::where.

Referenced by shellhandleevent().

Here is the call graph for this function:

boolean shellhandleupdate void   ) 
 

Definition at line 351 of file shellupdate.c.

References isshellwindow(), tyEventRecord::message, shellevent, and shellupdatewindow().

Referenced by shellhandleevent().

Here is the call graph for this function:

void shellidle void   ) 
 

Definition at line 499 of file shell.c.

References tyshellglobals::idleroutine, and shellglobals.

Referenced by handlewindoweventcommand(), and shellhandlenullevent().

boolean shellinit void   ) 
 

Definition at line 1167 of file shell.c.

References aboutsegment(), archaicsystemstring, bigstring, clearbytes(), cryptinitverbs(), dbinitverbs(), dllinitverbs(), exittooperatingsystem(), FastInitialize(), fileinit(), fileinitverbs(), flipcstarted, getstringlist(), globalsarray, gSystemVersion, htmlinitverbs(), initbitmaps(), initconfig(), initdialogs(), initerror(), initfile(), initfonts(), initfsdefault(), initlang(), initmacintosh(), initmenusystem(), initmouse(), initprocess(), initquickdraw(), initscrap(), initscripts(), initscrollbars(), initsearch(), initservices(), initsmallicons(), initstrings(), inittablestructure(), initundo(), keyboardescape(), langcallbacks, langinitverbs(), langipcinit(), langipcstart(), macmemoryconfig, mathinitverbs(), nil, noErr, notenoughmemorystring, NULL, openabout(), parsedialogstring(), tylangcallbacks::processeventcallback, quicktimeinitverbs(), regexpinitverbs(), tymemoryconfig::reserveforcode, shellerrormessage(), shellinitmemory(), shellinitmenus(), shellinitprint(), shellinitscroll(), shellinitverbs(), shellprocessevent(), showerrorandexit(), stringinitverbs(), sysbeep, windowinitverbs(), xmlinitverbs(), and zoominit().

Referenced by InitializeInstance(), and main().

Here is the call graph for this function:

void shellinitscroll void   ) 
 

Referenced by shellinit().

void shellinternalerrormessage short   ) 
 

Definition at line 190 of file shell.c.

References bigstring, internalerrorstring, nil, numbertostring(), parsedialogstring(), shellerrormessage(), and shellgetstring().

Here is the call graph for this function:

void shellinvalcontent hdlwindowinfo   ) 
 

Definition at line 76 of file shellwindow.c.

References popport(), pushport(), and smashrect().

Referenced by aboutzoom(), pictresetpicture(), and wppagesetup().

Here is the call graph for this function:

void shellinvalidglobals WindowPtr   ) 
 

boolean shellisactive void   ) 
 

Definition at line 48 of file shelljuggler.c.

References flshellactive.

Referenced by frontierfunctionvalue(), notifyuser(), and zoomrect().

void shellmaineventloop void   ) 
 

Definition at line 961 of file shell.c.

References grabthreadglobals(), initsegment(), releasethreadglobals(), shelleventloop(), shellmainbreakproc(), and shellshutdown().

Referenced by main(), and WinMain().

Here is the call graph for this function:

boolean shellmoveandsizewindow hdlwindowinfo  ,
Rect 
 

Definition at line 2216 of file shellwindow.c.

References constrainwindowrect(), moveandsizewindow(), shelladjustaftergrow(), shellpopglobals(), and shellpushglobals().

Referenced by ccwindowsetuptableview(), and shellzoomwindow().

Here is the call graph for this function:

boolean shellmovewindow hdlwindowinfo  ,
short  ,
short 
 

Definition at line 2234 of file shellwindow.c.

References constrainwindowrect(), movewindow(), offsetrect(), r, shellgetglobalwindowrect(), shellpopglobals(), and shellpushglobals().

Referenced by setboundsverb().

Here is the call graph for this function:

boolean shellmovewindowhidden hdlwindowinfo  ,
short  ,
short 
 

Definition at line 2255 of file shellwindow.c.

References constrainwindowrect(), movewindowhidden(), offsetrect(), r, shellgetglobalwindowrect(), shellpopglobals(), and shellpushglobals().

Referenced by opxmlsetwindowpositionandsize().

Here is the call graph for this function:

boolean shellnew void   ) 
 

Definition at line 744 of file shellfile.c.

References clearbytes(), tysftypelist::cttypes, tyconfigrecord::filetype, tyconfigrecord::flcreateonnew, fsname, getuntitledfilename(), iddefaultconfig, nil, sfdialog(), sfputfileverb, shellgetconfig(), shellnewfile(), and tysftypelist::types.

Referenced by ccnewobjectcommand(), shellhandlemenu(), and shellopendefaultfile().

Here is the call graph for this function:

boolean shellnewcallbacks ptrcallbacks  ) 
 

Definition at line 61 of file shellcallbacks.c.

References cteditors, globalsarray, ideditorstackfull, nil, shellinternalerror, STR_increase_cteditors, and topglobalsarray.

Referenced by aboutstart(), browserstart(), ccwindowstart(), langdialogstart(), langerrorstart(), menustart(), ministart(), opstart(), pictstart(), scriptstart(), statsstart(), tablestart(), and wpstart().

boolean shellnewfile ptrfilespec  ,
boolean  ,
WindowPtr
 

Definition at line 666 of file shellfile.c.

References boolean, closefile(), closeresourcefile(), config, deletefile(), disposeshellwindow(), error, tyconfigrecord::filecreator, tyconfigrecord::filetype, fl, tyconfigrecord::flcreateonnew, tyconfigrecord::flopenresfile, fnum, newfilewindow(), tyshellglobals::newrecordroutine, nil, opennewfile(), openresourcefile(), resourcefork, shellglobals, shellpopglobals(), shellpushdefaultglobals(), shellpushglobals(), and zoomfilewindow().

Referenced by filemenufunctionvalue(), and shellnew().

Here is the call graph for this function:

WindowPtr shellnextwindow WindowPtr   ) 
 

Definition at line 1093 of file shellwindow.c.

References getnextwindow(), isshellwindow(), and nil.

Referenced by langdialogsearch(), nextverb(), and shellvisitwindowlayer().

Here is the call graph for this function:

boolean shellopen void   ) 
 

Definition at line 276 of file shellfile.c.

References bigstring, ccfindrootwindow(), clearbytes(), clickersvisit(), tysftypelist::cttypes, defaultlistnumber, disablelangerror(), enablelangerror(), tyconfigrecord::filetype, fl, tykeystrokerecord::floptionkey, getstringlist(), getsystemtablescript(), hashtablevisit(), iddefaultconfig, idfrontierclickers, keyboardstatus, langexpandtodotparams(), nil, nonstartupfileprompt, sfdialog(), sfgetfileverb, shellgetconfig(), shellopenfile(), startupfileprompt, and tysftypelist::types.

Referenced by shellhandlemenu(), and shellopendefaultfile().

Here is the call graph for this function:

boolean shellopendefaultfile void   ) 
 

Definition at line 1271 of file shellfile.c.

References bigstring, config, defaultlistnumber, fileexists(), filegetdefaultpath(), fl, tyconfigrecord::flnewonlaunch, getapplicationfilespec(), getstringlist(), nil, optionkeydown(), setfsfile(), shellnew(), shellopen(), shellopenfile(), shellpopglobals(), shellpushdefaultglobals(), and startupfilename.

Referenced by ccloadspecialfile(), and langipcopenapproutine().

Here is the call graph for this function:

boolean shellopenfile ptrfilespec  ,
boolean  ,
WindowPtr
 

Definition at line 118 of file shellfile.c.

References bigstring, closefile(), closeresourcefile(), config, cursorisarrow, disposeshellwindow(), equalidentifiers(), error, fileresolvealias(), filetype, tyconfigrecord::filetype, findfilevisit(), fl, tyconfigrecord::flopenresfile, fnum, getfiletype(), iddefaultconfig, info, initbeachball(), lastword(), tyshellglobals::loadroutine, tyshellglobals::loadspecialroutine, newfilewindow(), nil, openfile(), openresourcefile(), resourcefork, right, setcursortype(), shellcallfilehooks(), shellglobals, shellpartialeventloop(), shellpopglobals(), shellpushdefaultglobals(), shellpushglobals(), shellvisittypedwindows(), updateMask, windowinval(), and zoomfilewindow().

Referenced by filemenufunctionvalue(), langipcopendocroutine(), openwindowsparamlinefiles(), shellopen(), and shellopendefaultfile().

Here is the call graph for this function:

void shellopeninitialfiles void   ) 
 

Referenced by shellstart().

void shellouch void   ) 
 

Definition at line 376 of file shellkb.c.

References flouchlocked, and ouch().

Referenced by opcmdmove(), opkeystroke(), and tableverbkeystroke().

Here is the call graph for this function:

boolean shellpartialeventloop short   ) 
 

Definition at line 919 of file shell.c.

References everyEvent, shellpopblock(), shellpushblock(), and shellshorteventloop().

Referenced by ccloadspecialfile(), ccpartialeventloop(), disposemodaldialog(), langpartialeventloop(), notifyuser(), osacomponentshutdown(), osapartialeventloop(), prepuserforwait(), shellactivate(), shellclose(), shellopenfile(), shellsysverbwaitroutine(), and tablefindvisit().

Here is the call graph for this function:

boolean shellpopblock void   ) 
 

Definition at line 75 of file shellblocker.c.

References blockedevents, blockstack, and topblocks.

Referenced by shellpartialeventloop().

boolean shellpopevents void   ) 
 

Definition at line 104 of file shellblocker.c.

References shelleventsdisable.

Referenced by builtinvalue(), dialogsimulatehit(), langipcbreakembrace(), scriptbackgroundtask(), and tablegetwpedittext().

boolean shellpopglobals void   ) 
 

Definition at line 667 of file shellcallbacks.c.

References tyshellglobals::dataholder, disposeshellwindow(), getwindowinfo(), globalsstack, tyshellglobals::infoholder, nil, tyshellglobals::poproutine, tyshellglobals::setglobalsroutine, shellglobals, shellsetglobals(), shellwindow, tyglobalsstack::stack, and tyglobalsstack::top.

Referenced by aboutsave(), aboutsetstatsflag(), aboutsetsuperglobals(), aboutsetthreadstring(), aboutwindowsetup(), addmenucommandverb(), browsernewwindow(), ccchildclose(), cccopywindowinfo(), ccfunctionvalue(), ccgetwindowrect(), ccmsg(), ccmsgverb(), ccnewsubwindow(), ccsubwindowclose(), ccupdatewindowinfo(), cmderrorroutine(), dbnewverb(), dbstatsmessage(), deletemenucommandverb(), detachscript(), editmenufunctionvalue(), filemenufunctionvalue(), FrontierFrameWndProc(), frontierfunctionvalue(), FrontierOPWndProc(), handlewindoweventcommand(), ismenuscriptverb(), killundovisit(), langdialogsearch(), langerrordirtyhook(), langerrorset(), langgettargetfunc(), langipchandleverb(), langrunmodeless(), mecontinuesearch(), mefindnodevisit(), menuchildclose(), menuedit(), menufunctionvalue(), menuverbfind(), mescripterrorroutine(), mescriptfontchangeroutine(), mesearchrefconroutine(), meshownode(), mesmashscriptwindow(), meunloadscript(), miniinvalicon(), mininewwindow(), minisearch(), minisetwindowmessage(), newaboutwindow(), opedit(), openverb(), opfunctionvalue(), opverbfind(), opverblinkcode(), opxmlsetwindowexpansionstate(), opxmlsetwindowverticalscrollstate(), pictfunctionvalue(), scriptdebugger(), scriptdebugtraperror(), scriptinvalbuttonsvisit(), scriptlocalsbutton(), scriptsetdata(), scripttitleclick(), scriptwindowmessage(), searchfunctionvalue(), serviceshandlercopy(), serviceshandlerpaste(), setwinvalue(), shellactivatewindow(), shelladjustcursor(), shellbackgroundtask(), shellcheckdirtyscrollbars(), shellclose(), shellclosechildwindows(), shellclosewindow(), shellfrontrootwindowmessage(), shellfrontwindowmessage(), shellgetdatabase(), shellgetexternaldata(), shellgettargetdata(), shellhandleevent(), shellhandlejugglerevent(), shellhandlekeystroke(), shellhandlemouse(), shellhandlenullevent(), shelljugglervisit(), shellmoveandsizewindow(), shellmovewindow(), shellmovewindowhidden(), shellnewfile(), shellopendefaultfile(), shellopenfile(), shellpagesetupvisit(), shellrevert(), shellsave(), shellsaveas(), shellsetscrollbars(), shellsetsuperglobals(), shellsizewindow(), shellsizewindowhidden(), shellupdatewindow(), shellzoomwindow(), startminidialog(), statscompute(), systemscripterrorroutine(), tablepastevalue(), tablesurface(), tablesymbolchangedwindowvisit(), tableverbchildclose(), tableverbsetupdisplay(), tablezoomfound(), tablezoomtoname(), windoweditcommand(), windowfunctionvalue(), windowinit(), wpedit(), wpfunctionvalue(), wpverbfind(), wpverbnew(), and zoomverb().

Here is the call graph for this function:

boolean shellpostevent EventRecord  ) 
 

Definition at line 627 of file shell.c.

References flshelleventposted, and shellevent.

Referenced by xcmdcallback().

boolean shellprocessevent EventRecord  ) 
 

Definition at line 607 of file shell.c.

References grabthreadglobals(), releasethreadglobals(), shellevent, and shellhandleevent().

Referenced by fwsbackgroundtask(), handlewindoweventcommand(), langipcbreakembrace(), osaclientidleproc(), shellinit(), WinProcessActivateAppEvent(), WinProcessActivateEvent(), WinProcessCommandEvent(), WinProcessKeyboardEvent(), WinProcessMouseEvent(), WinProcessNCActivateEvent(), WinProcessPaintEvent(), and WinProcessScrollEvent().

Here is the call graph for this function:

boolean shellpushblock short  ,
boolean 
 

Definition at line 59 of file shellblocker.c.

References blockedevents, blockstack, ctblocks, and topblocks.

Referenced by shellpartialeventloop().

boolean shellpushconfigglobals short   ) 
 

Definition at line 742 of file shellcallbacks.c.

References config, tyshellglobals::config, globalsarray, nil, shellfindcallbacks(), shellglobals, and shellpushglobals().

Referenced by shellpushdefaultglobals().

Here is the call graph for this function:

boolean shellpushdefaultglobals void   ) 
 

Definition at line 760 of file shellcallbacks.c.

References iddefaultconfig, and shellpushconfigglobals().

Referenced by dbnewverb(), shellbackgroundtask(), shellnewfile(), shellopendefaultfile(), and shellopenfile().

Here is the call graph for this function:

boolean shellpushfrontglobals void   ) 
 

Definition at line 766 of file shellcallbacks.c.

References frontshellwindow(), and shellpushglobals().

Referenced by scriptlocalsbutton(), shellcheckdirtyscrollbars(), shellfrontwindowmessage(), shellhandlejugglerevent(), shellhandlekeystroke(), shellhandlenullevent(), tablepastevalue(), tablesurface(), tablezoomfound(), and tablezoomtoname().

Here is the call graph for this function:

boolean shellpushfrontrootglobals void   ) 
 

Definition at line 829 of file shellcallbacks.c.

References shellgetfrontrootinfo(), and shellpushglobals().

Referenced by browsernewwindow(), ccmsgverb(), frontierfunctionvalue(), shellfrontrootwindowmessage(), shellhandlenullevent(), and shellpushtargetglobals().

Here is the call graph for this function:

boolean shellpushglobals WindowPtr   ) 
 

Definition at line 625 of file shellcallbacks.c.

References ctglobals, getwindowinfo(), globalsstack, idglobalsstackfull, tyshellglobals::pushroutine, shellglobals, shellinternalerror, shellsetglobals(), shellwindow, tyglobalsstack::stack, STR_globals_stack_overflow, and tyglobalsstack::top.

Referenced by aboutsave(), aboutsetstatsflag(), aboutsetsuperglobals(), aboutsetthreadstring(), addmenucommandverb(), browsernewwindow(), ccchildclose(), ccfunctionvalue(), ccgetwindowrect(), ccmsg(), ccupdatewindowinfo(), cmderrorroutine(), dbstatsmessage(), deletemenucommandverb(), detachscript(), FrontierFrameWndProc(), FrontierOPWndProc(), handlewindoweventcommand(), ismenuscriptverb(), killundovisit(), langdialogsearch(), langerrordirtyhook(), langerrorset(), langgettargetfunc(), langipchandleverb(), langrunmodeless(), mecontinuesearch(), mefindnodevisit(), menuchildclose(), menuedit(), menufunctionvalue(), menuverbfind(), mescripterrorroutine(), mesearchrefconroutine(), meshownode(), mesmashscriptwindow(), meunloadscript(), mininewwindow(), minisearch(), newaboutwindow(), opedit(), openverb(), opfunctionvalue(), opverbfind(), opverblinkcode(), pictfunctionvalue(), scriptdebugger(), scriptdebugtraperror(), scriptinvalbuttonsvisit(), scriptsetdata(), scripttitleclick(), scriptwindowmessage(), setwinvalue(), shellactivatewindow(), shelladjustcursor(), shellclose(), shellclosechildwindows(), shellclosewindow(), shellgetexternaldata(), shellgettargetdata(), shellhandleevent(), shellhandlemouse(), shelljugglervisit(), shellmoveandsizewindow(), shellmovewindow(), shellmovewindowhidden(), shellnewfile(), shellopenfile(), shellpagesetupvisit(), shellpushcancoonglobals(), shellpushconfigglobals(), shellpushfrontglobals(), shellpushfrontrootglobals(), shellpushparentglobals(), shellpushrootglobals(), shellpushtargetglobals(), shellpushwindowglobals(), shellsetscrollbars(), shellsetsuperglobals(), shellsizewindow(), shellsizewindowhidden(), shellupdatewindow(), shellzoomwindow(), systemscripterrorroutine(), tablefunctionvalue(), tablesymbolchangedwindowvisit(), tableverbchildclose(), tableverbsetupdisplay(), windoweditcommand(), windowinit(), wpedit(), wpfunctionvalue(), wpverbfind(), wpverbnew(), and zoomverb().

Here is the call graph for this function:

boolean shellpushparentglobals void   ) 
 

Definition at line 792 of file shellcallbacks.c.

References getwindowinfo(), nil, tywindowinfo::parentwindow, shellpushglobals(), and shellwindow.

Referenced by mescriptfontchangeroutine().

Here is the call graph for this function:

boolean shellpushrootglobals WindowPtr   ) 
 

Definition at line 777 of file shellcallbacks.c.

References getrootwindow(), and shellpushglobals().

Referenced by aboutwindowsetup(), cccopywindowinfo(), ccmsgverb(), ccnewsubwindow(), ccsubwindowclose(), shellgetdatabase(), shellrevert(), shellsave(), shellsaveas(), and statscompute().

Here is the call graph for this function:

boolean shellpushwindowglobals hdlwindowinfo   ) 
 

Definition at line 704 of file shellcallbacks.c.

References nil, and shellpushglobals().

Referenced by miniinvalicon(), minisetwindowmessage(), opxmlsetwindowexpansionstate(), opxmlsetwindowverticalscrollstate(), serviceshandlercopy(), serviceshandlerpaste(), and startminidialog().

Here is the call graph for this function:

boolean shellquit void   ) 
 

Definition at line 266 of file shell.c.

References nil, osacomponentverifyshutdown(), shellcloseall(), and shellexitmaineventloop().

Referenced by main(), QueryCloseAllChildren(), and shellhandlemenu().

Here is the call graph for this function:

boolean shellreadscrap void   ) 
 

Definition at line 212 of file shellscrap.c.

References closeclipboard(), tyscraprecord::count, disposehandle(), tyscraprecord::fldirty, tykeystrokerecord::floptionkey, tyscraprecord::floptionkey, getscrap(), getscrapcount(), getscraptype(), keyboardstatus, newemptyhandle(), nil, noscraptype, openclipboard(), pictscraptype, shellcallscraphooks(), shellscrap, shellsetinternalscrap(), and textscraptype.

Referenced by shelleditcommand().

Here is the call graph for this function:

boolean shellrectneedsupdate const Rect  ) 
 

Definition at line 95 of file shellwindow.c.

References nil, rectinregion(), and rgn.

Referenced by oprectneedsupdate(), shellupdatewindow(), tableupdatecoltitles(), and tableupdategridlines().

Here is the call graph for this function:

boolean shellrevert WindowPtr  ,
boolean 
 

Definition at line 1201 of file shellfile.c.

References alertstring(), bigstring, tyshellglobals::closeroutine, closewindowfile(), tyshellglobals::disposerecordroutine, disposeshellwindow(), filefrompath(), flinhibitclosedialogs, killownedundo(), tyshellglobals::loadroutine, prepuserforwait(), reopenerrorstring, revertdialog(), shellbringtofront(), shellcallfilehooks(), shellclearwindowdata(), shellclosechildwindows(), shellgetwindowtitle(), shellglobals, shellpopglobals(), shellpushrootglobals(), shellwindow, shellwindowinfo, windowgetfnum(), windowgetrnum(), and windowsetchanges().

Referenced by filemenufunctionvalue(), and shellhandlemenu().

Here is the call graph for this function:

boolean shellsave WindowPtr   ) 
 

Definition at line 777 of file shellfile.c.

References bigstring, config, equalidentifiers(), fl, tyconfigrecord::flstoredindatabase, flushvolumechanges(), getfiletype(), nil, ostype, ostypetostring(), tyshellglobals::setdatabaseroutine, shellglobals, shellpopglobals(), shellpushrootglobals(), shellsaveas(), shellsavedefaultfont(), shellsavefile(), shellsavewindowposition(), shellwindow, shellwindowmenudirty(), str_desktopscript, windowgetfnum(), windowgetfspec(), windowgetrnum(), and windowsetchanges().

Referenced by filemenufunctionvalue(), odbSaveFile(), shellclose(), and shellhandlemenu().

Here is the call graph for this function:

boolean shellsaveas WindowPtr  ,
ptrfilespec  ,
boolean 
 

Definition at line 584 of file shellfile.c.

References bigstring, config, tysftypelist::cttypes, equalidentifiers(), tyconfigrecord::filetype, fl, tyconfigrecord::flcreateonnew, fsname, getdefaultfilename(), getfsfile(), lastword(), nil, replacestring(), setfsfile(), sfdialog(), sfputfileverb, shelldatabasesaveas(), shellnormalsaveas(), shellpopglobals(), shellpushrootglobals(), shellwindow, str_desktopscript, str_normalscript, stringlength, type_desktopscript, tysftypelist::types, and windowgetfspec().

Referenced by filemenufunctionvalue(), shellhandlemenu(), and shellsave().

Here is the call graph for this function:

void shellscroll boolean  ,
hdlscrollbar  ,
short  ,
Point 
 

boolean shellsetconfig short  ,
tyconfigrecord 
 

Definition at line 498 of file shellcallbacks.c.

References tyshellglobals::config, globalsarray, and shellfindcallbacks().

Referenced by langdialognewwindow().

Here is the call graph for this function:

void shellsetdefaultstyle hdlwindowinfo   ) 
 

Definition at line 53 of file shellops.c.

References tyselectioninfo::fontstyle, normal, tywindowinfo::selectioninfo, and style.

Referenced by aboutsetstyle().

boolean shellsetglobals WindowPtr   ) 
 

Definition at line 511 of file shellcallbacks.c.

References config, tyshellglobals::config, tyshellglobals::dataholder, emptywindowlist(), getport(), getwindowinfo(), globalsarray, tyshellglobals::infoholder, nil, NULL, tyshellglobals::setglobalsroutine, setport(), shellfindcallbacks(), shellglobals, shellredostack, shellundostack, shellwindow, shellwindowinfo, and tyshellglobals::windowholder.

Referenced by shellpopglobals(), shellpushglobals(), and swapinthreadglobals().

Here is the call graph for this function:

boolean shellsetscrap void *  ,
tyscraptype  ,
shelldisposescrapcallback  ,
shellexportscrapcallback 
 

Definition at line 124 of file shellscrap.c.

References closeclipboard(), NULL, openclipboard(), pictscraptype, putscrap(), resetscrap(), shellsetinternalscrap(), and textscraptype.

Referenced by browsersetscrap(), langdialogcopy(), langerrorcopy(), mesetscraproutine(), minicopy(), opdefaultsetscraproutine(), paste(), pastetext(), pictcopy(), scriptsetscraproutine(), tablecopyroutine(), tablescraphook(), and wpsetscrap().

Here is the call graph for this function:

void shellsetscrollbars WindowPtr   ) 
 

Definition at line 77 of file shellscroll.c.

References tyshellglobals::setscrollbarroutine, shellglobals, shellpopglobals(), shellpushglobals(), shellupdatescrollbars(), and shellwindowinfo.

Referenced by shellactivatewindow().

Here is the call graph for this function:

void shellsetselectioninfo void   ) 
 

Definition at line 75 of file shellops.c.

References nil, popport(), pushport(), setfontsizestyle(), tyshellglobals::setselectioninforoutine, shellglobals, shellwindow, and shellwindowinfo.

Referenced by editmenufunctionvalue(), shellcheckfontsizestyle(), shellstyleverb(), shellverbsetselectioninfo(), wpclick(), and wpfunctionvalue().

Here is the call graph for this function:

boolean shellsetsuperglobals void   ) 
 

Definition at line 844 of file shellcallbacks.c.

References fl, tyshellglobals::setsuperglobalsroutine, shellgetfrontrootinfo(), shellglobals, shellpopglobals(), and shellpushglobals().

Referenced by ccbackground(), ccloadspecialfile(), and shellactivatewindow().

Here is the call graph for this function:

boolean shellsetundoglobals long  ,
boolean 
 

Definition at line 878 of file shellcallbacks.c.

References tyshellglobals::setundoglobalsroutine, and shellglobals.

Referenced by killactions(), popundoaction(), and undolastaction().

boolean shellsetwindowchanges hdlwindowinfo  ,
boolean 
 

Definition at line 2699 of file shellwindow.c.

References bigstring, bitboolean, fl, nil, tywindowinfo::parentwindow, pushstring(), shellgetwindowtitle(), shellsetwindowchanges(), shellwindowmenudirty(), and windowsettitle().

Referenced by langexternalsetdirty(), menuedit(), menuverbpack(), mesmashscriptwindow(), opedit(), opverbpack(), pictedit(), pictverbpack(), setdirtyverb(), shellsetwindowchanges(), tabledrivesymbolchange(), tableedit(), tablesymbolchangedwindowvisit(), tableverbpack(), windowsetchanges(), wpedit(), and wpverbpack().

Here is the call graph for this function:

boolean shellsetwindowmessage hdlwindowinfo  ,
bigstring 
 

Definition at line 2668 of file shellwindow.c.

References setwindowmessage().

Referenced by shelldefaultmsgroutine().

Here is the call graph for this function:

boolean shellsetwindowtitle hdlwindowinfo  ,
bigstring 
 

Definition at line 2929 of file shellwindow.c.

References pushstring(), setheapstring(), shellwindowmenudirty(), and windowsettitle().

Referenced by newchildwindow(), newfilewindow(), opxmlsetwindowtitle(), scriptsetdata(), settitleverb(), tableupdatewindowtitles(), and windowsetfspec().

Here is the call graph for this function:

boolean shellshorteventloop void   ) 
 

Definition at line 906 of file shell.c.

References assert, iscurrentapplication(), langipcself, shelleventloop(), and shellshortbreakproc().

Referenced by langrunmodeless(), and shellpartialeventloop().

Here is the call graph for this function:

boolean shellshutdown void   ) 
 

Definition at line 209 of file shell.c.

References anyscraptype, exittooperatingsystem(), fileshutdown(), flipcstarted, fwsNetEventQuit(), iowaClose(), langipcshutdown(), logshutdown(), nil, osacomponentshutdown(), processclose(), shellcloseall(), shellshutdownscroll(), and shellwritescrap().

Referenced by InitializeInstance(), shellmaineventloop(), and shellstart().

Here is the call graph for this function:

void shellshutdownscroll void   ) 
 

Referenced by shellshutdown().

boolean shellsizewindow hdlwindowinfo  ,
short  ,
short 
 

Definition at line 2276 of file shellwindow.c.

References config, constrainwindowrect(), fl, tyconfigrecord::flgrowable, infinity, min, r, shelladjustaftergrow(), shellgetglobalwindowrect(), shellpopglobals(), shellpushglobals(), and sizewindow().

Referenced by setboundsverb().

Here is the call graph for this function:

boolean shellsizewindowhidden hdlwindowinfo  ,
short  ,
short 
 

Definition at line 2313 of file shellwindow.c.

References config, constrainwindowrect(), fl, tyconfigrecord::flgrowable, infinity, min, r, shelladjustaftergrow(), shellgetglobalwindowrect(), shellpopglobals(), shellpushglobals(), and sizewindowhidden().

Referenced by opxmlsetwindowpositionandsize().

Here is the call graph for this function:

boolean shellstart void   ) 
 

Definition at line 997 of file shell.c.

References closeabout(), deletemenuitem(), drawmenubar(), flbackgroundtasksdisabled, keyboardescape(), landgetglobals(), macsystem7, noErr, NULL, shelladjustmenus(), shellinithandlers(), shellloadbuttonlists(), shellopeninitialfiles(), shellpatchnilroutines(), and shellshutdown().

Referenced by frontierstart(), and main().

Here is the call graph for this function:

void shellupdateallnow void   ) 
 

Definition at line 345 of file shellupdate.c.

References nil, shellvisittypedwindows(), and updatenowvisit().

Here is the call graph for this function:

void shellupdatecontent Rect   ) 
 

Definition at line 195 of file shellupdate.c.

References CopyRgn, DisposeRgn, EmptyRgn(), getport(), getupdateregion(), globaltolocalrgn(), insetrect(), NewRgn, nil, popclip(), pushcliprgn(), SectRgn, shellglobals, shellupdatescrollbars(), shellwindow, shellwindowinfo, and tyshellglobals::updateroutine.

Referenced by opupdatenow().

Here is the call graph for this function:

boolean shellupdatenow WindowPtr   ) 
 

Definition at line 298 of file shellupdate.c.

References DisposeRgn, EmptyRgn(), getupdateregion(), grabthreadglobals(), releasethreadglobals(), rgn, and shellupdatewindow().

Referenced by openabout(), opxmltooutline(), pictscroll(), scriptbutton(), shellactivatewindow(), shelladjustaftergrow(), shellclosefilewindowvisit(), updateabout(), updatenowvisit(), and updateverb().

Here is the call graph for this function:

void shellupdatescrollbars hdlwindowinfo   ) 
 

Definition at line 38 of file shellscroll.c.

References h, and setscrollbarinfo().

Referenced by opfunctionvalue(), pictfunctionvalue(), shellcheckdirtyscrollbars(), shellsetscrollbars(), shellupdatecontent(), windowfunctionvalue(), wpfunctionvalue(), wpscroll(), and wptrackclick().

Here is the call graph for this function:

void shellupdatewindow WindowPtr   ) 
 

Definition at line 84 of file shellupdate.c.

References config, DisposeRgn, drawwindowmessage(), tyconfigrecord::fldialog, tyconfigrecord::flhorizscroll, tyconfigrecord::flvertscroll, getwindowinfo(), NewRgn, nil, popclip(), popport(), pushcliprgn(), pushport(), shelldrawbuttons(), shelldrawgrowicon(), shellglobals, shellpopglobals(), shellpushglobals(), shellrectneedsupdate(), showscrollbar(), and tyshellglobals::updateroutine.

Referenced by aboutzoom(), opxmlsetwindowverticalscrollstate(), shellhandleupdate(), shellupdatenow(), and tableedit().

Here is the call graph for this function:

boolean shellvisittypedwindows short  ,
shellwindowvisitcallback  ,
ptrvoid 
 

Definition at line 1186 of file shellwindow.c.

References hfirstwindow, tywindowinfo::nextwindow, and nil.

Referenced by ccfindrootwindow(), counttypedwindows(), langdialogfindwindow(), mescripterrorroutine(), scriptinvalbuttons(), shellcloseall(), shellfinddatawindow(), shellfindfilewindow(), shellfindnamedwindow(), shellhandlejugglerevent(), shellopenfile(), shellpagesetup(), shellpushmajortype(), shellpushminortype(), shellupdateallnow(), tabledrivesymbolchange(), and tablefindrootwindow().

boolean shellvisitwindowlayer shellwindowvisitcallback  ,
ptrvoid 
 

Definition at line 1117 of file shellwindow.c.

References getfrontwindow(), isshellwindow(), nil, and shellnextwindow().

Referenced by minisearch(), and shellfindtargetwindow().

Here is the call graph for this function:

void shellwindowinval hdlwindowinfo   ) 
 

Definition at line 70 of file shellwindow.c.

References windowinval().

Referenced by claysetlinelayout(), opsettypeverb(), and updateverb().

Here is the call graph for this function:

void shellwindowmenudirty void   ) 
 

Definition at line 311 of file shellwindowmenu.c.

References flwindowmenudirty.

Referenced by handleselectwindow(), insertwindowlist(), settitleverb(), shellactivatewindow(), shelladjustmenus(), shellhidewindow(), shellsave(), shellsetwindowchanges(), shellsetwindowtitle(), shellunhidewindow(), unlinkwindowlist(), windowbringtofront(), windowsendbehind(), and windowsendtoback().

void shellwindowmessage bigstring   ) 
 

Definition at line 3003 of file shellwindow.c.

References tyshellglobals::msgroutine, and shellglobals.

Referenced by minisetwindowmessage(), scriptwindowmessage(), shellfrontrootwindowmessage(), and shellfrontwindowmessage().

boolean shellwritescrap tyscraptype   ) 
 

Definition at line 351 of file shellscrap.c.

References allscraptypes, anyscraptype, closeclipboard(), tyscraprecord::count, tyscraprecord::fldirty, tyscraprecord::fllocked, getscrapcount(), hashscraptype, tyscraprecord::hscrap, openclipboard(), pictscraptype, resetscrap(), shellexportscrap(), shellscrap, textscraptype, and tyscraprecord::type.

Referenced by FrontierFrameWndProc(), getscrapverb(), langdialogpaste(), newmodaldialog(), shellactivatewindow(), shellhandlejugglerevent(), and shellshutdown().

Here is the call graph for this function:

boolean shellyield boolean   ) 
 

Definition at line 527 of file shell.c.

References fl, flscriptrunning, langbackgroundtask(), langerrorenabled(), and processyield().

Referenced by opedit(), pictedit(), and wpedit().

Here is the call graph for this function:

boolean shellzoomwindow hdlwindowinfo  ,
boolean 
 

Definition at line 2350 of file shellwindow.c.

References bigstring, config, constraintoscreenbounds(), enforceminimumsize(), equalrects(), eraserect(), tyconfigrecord::flgrowable, tykeystrokerecord::floptionkey, tyshellglobals::getcontentsizeroutine, getglobalwindowrect(), h, infinity, insetrect(), keyboardstatus, left, max, min, normal, popstyle(), pushstyle(), tyshellglobals::scrollroutine, shelladjustaftergrow(), shellgetwindowtitle(), shellglobals, shellmoveandsizewindow(), shellpopglobals(), shellpushglobals(), shellwindowinfo, stringpixels(), systemFont, and up.

Referenced by ccwindowsetuptableview(), and shellpatchnilroutines().

Here is the call graph for this function:

boolean visitownedwindows WindowPtr  ,
short  ,
shellwindowvisitcallback  ,
ptrvoid 
 

Definition at line 1144 of file shellwindow.c.

References getrootwindow(), getwindowinfo(), hfirstwindow, and tywindowinfo::nextwindow.

Referenced by browserfindwindow(), grayownedwindows(), killownedundo(), and minifindwindow().

Here is the call graph for this function:

hdlfilenum windowgetfnum WindowPtr   ) 
 

Definition at line 409 of file shellwindow.c.

References getwindowinfo().

Referenced by ccnewrecord(), shellnormalsaveas(), shellrevert(), shellsave(), shellsavedefaultfont(), and shellsavewindowposition().

Here is the call graph for this function:

boolean windowgetfspec WindowPtr  ,
tyfilespec
 

Definition at line 488 of file shellwindow.c.

References clearbytes(), fileexists(), getfsvolume(), and getwindowinfo().

Referenced by browsernewwindow(), closewindowfile(), findfilevisit(), frontierfunctionvalue(), getfileverb(), langexternalregisterwindow(), langexternalunregisterwindow(), loaddefaultfont(), shellfindfilevisit(), shellnormalsaveas(), shellsave(), shellsaveas(), shellsavedefaultfont(), shellsavewindowposition(), and windowgetpath().

Here is the call graph for this function:

boolean windowgetpath WindowPtr  ,
bigstring 
 

Definition at line 513 of file shellwindow.c.

References filespectopath(), and windowgetfspec().

Referenced by ccsavespecialfile(), findpathvisit(), langexternalregisterwindow(), langexternalunregisterwindow(), and setwinvalue().

Here is the call graph for this function:

short windowgetrnum WindowPtr   ) 
 

Definition at line 431 of file shellwindow.c.

References getwindowinfo().

Referenced by shellnormalsaveas(), shellrevert(), shellsave(), shellsavedefaultfont(), and shellsavewindowposition().

Here is the call graph for this function:

short windowgetvnum WindowPtr   ) 
 

Definition at line 453 of file shellwindow.c.

References getwindowinfo().

Here is the call graph for this function:

boolean windowsetchanges WindowPtr  ,
boolean 
 

Definition at line 2746 of file shellwindow.c.

References bitboolean, fl, getwindowinfo(), shellcalldirtyhooks(), and shellsetwindowchanges().

Referenced by cccopywindowinfo(), ccupdatewindowinfo(), mesavescriptvisit(), minidirty(), opdirtyoutline(), pictresetpicture(), pictsetevaluate(), shelldatabasesaveas(), shellnormalsaveas(), shellrevert(), shellsave(), tabledirty(), and wpdirty().

Here is the call graph for this function:

void windowsetfnum WindowPtr  ,
hdlfilenum 
 

Definition at line 420 of file shellwindow.c.

References getwindowinfo().

Referenced by shelldatabasesaveas(), and shellnormalsaveas().

Here is the call graph for this function:

boolean windowsetfspec WindowPtr  ,
tyfilespec
 

Definition at line 470 of file shellwindow.c.

References bigstring, getfsfile(), getwindowinfo(), and shellsetwindowtitle().

Referenced by ccsavespecialfile(), shelldatabasesaveas(), and shellnormalsaveas().

Here is the call graph for this function:

void windowsetrnum WindowPtr  ,
short 
 

Definition at line 442 of file shellwindow.c.

References getwindowinfo().

Referenced by shelldatabasesaveas(), and shellnormalsaveas().

Here is the call graph for this function:

void windowsetvnum WindowPtr  ,
short 
 

boolean windowzoom WindowPtr   ) 
 

Definition at line 2087 of file shellwindow.c.

References tysearchparameters::flwindowzoomed, getwindowinfo(), h, idopenwindowscript, searchparams, shellrunwindowconfirmationscript(), showscrollbar(), and zoomwindowfromcenter().

Referenced by browsernewwindow(), langerrornewwindow(), langrunmodeless(), menuedit(), mezoomscriptwindow(), mininewwindow(), newaboutwindow(), opedit(), pictedit(), statsnewwindow(), tableedit(), and wpedit().

Here is the call graph for this function:


Variable Documentation

boolean flconvertingolddatabase
 

Definition at line 71 of file shellfile.c.

Referenced by mesaveasscriptvisit(), opverbpack(), pictverbpack(), shelldatabasesaveas(), and wpverbpack().

boolean flinhibitclosedialogs
 

Definition at line 69 of file shellfile.c.

Referenced by ccverifywindowclose(), closeownedwindowsvisit(), langexternaldisposevariable(), scriptverifycompilation(), shellclose(), and shellrevert().

boolean flshellclosingall
 

Definition at line 73 of file shellfile.c.

Referenced by agentthreadmain(), ccwindowpreclose(), and shellcloseall().

EventRecord shellevent
 

Definition at line 102 of file shell.c.

Referenced by ccloadspecialfile(), langdialogkeystroke(), langdialogmousedown(), langdialogupdate(), minimousedown(), modaldialogcallback(), shellhandleevent(), shellhandlejugglerevent(), shellhandlekeystroke(), shellhandlemouse(), shellhandlemouseup(), shellhandleupdate(), shellpostevent(), and shellprocessevent().

tyshellglobals shellglobals
 

Definition at line 110 of file shell.c.

Referenced by ccchildclose(), ccdisposefilerecord(), ccsavespecialfile(), ccupdatewindowinfo(), doreplaceallfunc(), editmenufunctionvalue(), FrontierFrameWndProc(), FrontierOPWndProc(), handlewindoweventcommand(), ismenuscriptverb(), langdialogsearch(), langgettargetfunc(), langipchandleverb(), menuchildclose(), menufunctionvalue(), minisearch(), newchildwindow(), newfilewindow(), newshellwindow(), opfunctionvalue(), pictfunctionvalue(), searchfunctionvalue(), serviceshandlercopy(), serviceshandlerpaste(), setwinvalue(), shellactivatewindow(), shelladjustaftergrow(), shelladjustcursor(), shelladjustundo(), shellbackgroundtask(), shellbuttonhit(), shellclose(), shellclosechildwindows(), shellclosewindow(), shelldatabasesaveas(), shelleditcommand(), shellfilterscrollkey(), shellgetbuttonlist(), shellgetdatabase(), shellgetexternaldata(), shellgettargetdata(), shellgetundoglobals(), shellhandlekeystroke(), shellhandlemenu(), shellhandlemouse(), shellhandlenullevent(), shellidle(), shelljugglervisit(), shellnewfile(), shellopenfile(), shellpagesetupvisit(), shellpopglobals(), shellpushcancoonglobals(), shellpushconfigglobals(), shellpushglobals(), shellrefreshbuttonstatus(), shellresetwindowrects(), shellrevert(), shellsave(), shellsavefile(), shellsetglobals(), shellsetscrollbars(), shellsetselectioninfo(), shellsetsuperglobals(), shellsetundoglobals(), shellstyleverb(), shellupdatecontent(), shellupdatewindow(), shellwindowmessage(), shellzoomwindow(), statscompute(), tablefunctionvalue(), tableverbchildclose(), windowfunctionvalue(), windowinit(), windowresetrects(), wpfunctionvalue(), and zoomverb().

WindowPtr shellwindow
 

Definition at line 104 of file shell.c.

Referenced by aboutsave(), browsergetparentspec(), browsernewwindow(), ccmsgverb(), ccsavespecialfile(), ccwindowpreclose(), copythreadglobals(), doreplaceallfunc(), filemenufunctionvalue(), frontierfunctionvalue(), getcurrentwindow(), initprocessthread(), langrunmodeless(), opgetoutinesize(), opmenuroutine(), opverbclose(), processyield(), scriptbackgroundenabled(), scriptdirtyhook(), scriptinvalbuttonsvisit(), searchfunctionvalue(), shelladjustcursor(), shelladjustmenus(), shelladjustundo(), shelldefaultfontroutine(), shelldefaultmsgroutine(), shelldefaultsizeroutine(), shelldrawbutton(), shelldrawbuttons(), shelleditcommand(), shellhandlejugglerevent(), shellhandlekeystroke(), shellhandlemenu(), shellinvalbuttons(), shellpopglobals(), shellpushglobals(), shellpushparentglobals(), shellrevert(), shellsave(), shellsaveas(), shellsetglobals(), shellsetselectioninfo(), shellupdatecontent(), swapinthreadglobals(), tableclientsurface(), tableclienttitlepopuphit(), tablesurface(), tabletitlepopupselect(), tableverbcontinuesearch(), validrect(), and wpclose().

hdlwindowinfo shellwindowinfo
 

Definition at line 106 of file shell.c.

Referenced by ccdisposefilerecord(), ccsavespecialfile(), ccwindowpreclose(), countbuttons(), frame3sides(), FrontierOPWndProc(), getbuttonwidth(), langclosehiddenwindow(), langrunmodeless(), mecontinuesearch(), mefindnodevisit(), mesmashscriptwindow(), meupdate(), serviceshandlercopy(), serviceshandlerpaste(), setwinvalue(), shellactivatewindow(), shelladjustcursor(), shelladjustmenus(), shellbuttonhit(), shellcheckdirtyscrollbars(), shellcheckfontsizestyle(), shelldefaultfontroutine(), shelldefaultmsgroutine(), shelldefaultselectioninfo(), shelldefaultsizeroutine(), shelldrawbutton(), shelldrawbuttons(), shellgetbuttonrect(), shellgetbuttonstring(), shellhandlemenu(), shellinvalbuttons(), shellrefreshbuttonstatus(), shellrevert(), shellsetglobals(), shellsetscrollbars(), shellsetselectioninfo(), shellstyleverb(), shellupdatecontent(), shellupdatemenus(), shellzoomwindow(), swapundostacks(), tablesymbolchangedwindowvisit(), tablesymbolzoomvisit(), tableupdate(), tableverbcontinuesearch(), windowfunctionvalue(), wpdrawtext(), and wpfunctionvalue().


Generated on Tue Jun 13 00:42:50 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6