tableexternal.c File Reference

#include "frontier.h"
#include "standard.h"
#include "file.h"
#include "kb.h"
#include "memory.h"
#include "ops.h"
#include "quickdraw.h"
#include "resources.h"
#include "strings.h"
#include "shell.h"
#include "shellprivate.h"
#include "shellundo.h"
#include "langinternal.h"
#include "langexternal.h"
#include "opinternal.h"
#include "tablestructure.h"
#include "tableinternal.h"
#include "tableverbs.h"
#include "wpengine.h"
#include "claybrowser.h"
#include "claybrowserstruc.h"
#include "claycallbacks.h"
#include "cancoon.h"

Include dependency graph for tableexternal.c:

Go to the source code of this file.

Data Structures

struct  tysymbolchangedinfo
struct  tyfinddatabaseinfo

Typedefs

typedef tysymbolchangedinfoptrsymbolchangedinfo

Functions

boolean tablevaltotable (tyvaluerecord val, hdlhashtable *htable, hdlhashnode hnode)
boolean tablewindowopen (hdlexternalvariable hvariable, hdlwindowinfo *hinfo)
boolean tableverbgetdisplaystring (hdlexternalvariable h, bigstring bs)
boolean tableverbgettypestring (hdlexternalvariable hvariable, bigstring bs)
static boolean tabledisposevariable (hdlexternalvariable hvariable, boolean fldisk)
boolean tableverbdispose (hdlexternalvariable hvariable, boolean fldisk)
boolean tableverbnew (hdlexternalvariable *hvariable)
boolean tableverbinmemory (hdlexternalvariable hvariable, hdlhashnode hnode)
boolean tableverbgetsize (hdlexternalvariable hvariable, long *size)
boolean tableverbisdirty (hdlexternalvariable hvariable)
boolean tableverbsetdirty (hdlexternalvariable hvariable, boolean fldirty)
boolean tableresetformatsrects (void)
boolean tableverbsetupdisplay (hdlhashtable htable, hdlwindowinfo hinfo)
boolean tableedit (hdlexternalvariable hvariable, hdlwindowinfo hparent, ptrfilespec fs, bigstring bs, rectparam rzoom)
boolean tablewindowclosed (hdlexternalvariable hvariable)
boolean tabledive (void)
boolean tableclientsurface (hdlexternalvariable hvariable)
boolean tablesurface (void)
boolean tablezoomfromtable (hdlhashtable htable)
boolean tablezoomfromhead (hdlheadrecord hnode)
static boolean finddatabasevisit (WindowPtr w, ptrvoid refcon)
static boolean tablefindrootwindow (hdlhashtable ht, hdlwindowinfo *hinfo)
static boolean opnodeistable (hdlheadrecord hnode, hdlhashtable htable)
static boolean tableupdatewindowtitles (hdlhashnode hnode, hdlhashtable intable)
static boolean tableupdateoutlinesort (hdlheadrecord hfirst, hdlhashtable htable)
static boolean opinternaldeletenodewithupdate (hdlheadrecord hnode)
static boolean tablesymbolzoomvisit (hdlheadrecord hnode, ptrvoid refcon)
static boolean tablesymbolchangedvisit (hdlheadrecord hnode, ptrvoid refcon)
static boolean tablesymbolinsertedvisit (hdlheadrecord hnode, ptrvoid refcon)
static boolean tablesymboldeletedvisit (hdlheadrecord hnode, ptrvoid refcon)
static boolean tablesymbolsresortedvisit (hdlheadrecord hnode, ptrvoid refcon)
static boolean tablesymbolchangedwindowvisit (WindowPtr w, ptrsymbolchangedinfo symbolinfo)
static boolean tabledrivesymbolchange (hdlhashtable htable, const bigstring bsname, boolean flchanged, boolean flvalue, opvisitcallback visit)
boolean tablesymbolchanged (hdlhashtable htable, const bigstring bsname, hdlhashnode hn, boolean flvalue)
boolean tablesymbolinserted (hdlhashtable htable, const bigstring bsname)
boolean tablesymboldeleted (hdlhashtable htable, const bigstring bsname)
boolean tablesymbolsresorted (hdlhashtable htable)
boolean tablezoomtoname (hdlhashtable htable, bigstring bsname)


Typedef Documentation

typedef struct tysymbolchangedinfo * ptrsymbolchangedinfo
 


Function Documentation

static boolean finddatabasevisit WindowPtr  w,
ptrvoid  refcon
[static]
 

Definition at line 751 of file tableexternal.c.

References ccwindowgetdatabase().

Referenced by tablefindrootwindow().

Here is the call graph for this function:

static boolean opinternaldeletenodewithupdate hdlheadrecord  hnode  )  [static]
 

Definition at line 891 of file tableexternal.c.

References hnode, killundo(), opafterstrucchange(), opbeforestrucchange(), opdeletenode(), opendinternalchange(), and opstartinternalchange().

Referenced by tablesymboldeletedvisit(), and tablesymbolinsertedvisit().

Here is the call graph for this function:

static boolean opnodeistable hdlheadrecord  hnode,
hdlhashtable  htable
[static]
 

Definition at line 785 of file tableexternal.c.

References claygetfilespec(), claygetinmemorydirid(), and hnode.

Referenced by tablesymboldeletedvisit().

Here is the call graph for this function:

boolean tableclientsurface hdlexternalvariable  hvariable  ) 
 

Definition at line 580 of file tableexternal.c.

References bigstring, filewindowtable, tykeystrokerecord::floptionkey, keyboardstatus, shellclosewindow(), shellwindow, tablefindvariable(), and tablezoomtoname().

Referenced by langexternalsurfacekey(), and langexternaltitleclick().

Here is the call graph for this function:

static boolean tabledisposevariable hdlexternalvariable  hvariable,
boolean  fldisk
[static]
 

Definition at line 149 of file tableexternal.c.

References tabledisposetable().

Referenced by tableverbdispose().

Here is the call graph for this function:

boolean tabledive void   ) 
 

Definition at line 558 of file tableexternal.c.

References opeditingtext(), opsettextmode(), opupdatenow(), and tablezoomfromhead().

Referenced by tablekeystrokecallback(), tableverbkeystroke(), and tablezoombuttonhit().

Here is the call graph for this function:

static boolean tabledrivesymbolchange hdlhashtable  htable,
const bigstring  bsname,
boolean  flchanged,
boolean  flvalue,
opvisitcallback  visit
[static]
 

Definition at line 1244 of file tableexternal.c.

References tysymbolchangedinfo::bsname, fl, tysymbolchangedinfo::flchanged, tysymbolchangedinfo::flfound, tysymbolchangedinfo::flvalue, tysymbolchangedinfo::hdatabase, tysymbolchangedinfo::htable, idcancoonconfig, idtableconfig, opsetoutline(), tysymbolchangedinfo::opvisitroutine, outlinedata, shellsetwindowchanges(), shellvisittypedwindows(), tablefindrootwindow(), tablegetdatabase(), and tablesymbolchangedwindowvisit().

Referenced by tablesymbolchanged(), tablesymboldeleted(), tablesymbolinserted(), tablesymbolsresorted(), and tablezoomtoname().

Here is the call graph for this function:

boolean tableedit hdlexternalvariable  hvariable,
hdlwindowinfo  hparent,
ptrfilespec  fs,
bigstring  bs,
rectparam  rzoom
 

Definition at line 431 of file tableexternal.c.

References bigstring, getwindowinfo(), HNoNode, idtableconfig, newchildwindow(), nil, tyhashtable::parenthashtable, shellbringtofront(), shellsetwindowchanges(), shellupdatewindow(), tablefindvariable(), tableverbinmemory(), tableverbsetupdisplay(), tablewindowopen(), tytableformats::windowrect, and windowzoom().

Referenced by langexternaledit(), and tablezoomfromtable().

Here is the call graph for this function:

static boolean tablefindrootwindow hdlhashtable  ht,
hdlwindowinfo hinfo
[static]
 

Definition at line 766 of file tableexternal.c.

References finddatabasevisit(), getwindowinfo(), tyfinddatabaseinfo::hdatabase, idcancoonconfig, nil, shellvisittypedwindows(), tablegetdatabase(), and tyfinddatabaseinfo::w.

Referenced by tabledrivesymbolchange().

Here is the call graph for this function:

boolean tableresetformatsrects void   ) 
 

Definition at line 346 of file tableexternal.c.

References insetrect(), oppopoutline(), oppushoutline(), opresize(), opsetdisplaydefaults(), r, tableformatswindowinfo, tablerecalccolwidths(), and windowresetrects().

Referenced by tableverbsetupdisplay().

Here is the call graph for this function:

boolean tablesurface void   ) 
 

Definition at line 613 of file tableexternal.c.

References bigstring, findinparenttable(), tykeystrokerecord::floptionkey, getrootwindow(), isfilewindow(), keyboardstatus, nil, roottable, shellbringtofront(), shellclosewindow(), shellpopglobals(), shellpushfrontglobals(), shellwindow, tablebringtofront(), tableformatswindow, tablegetlinkedhashtable(), tablemovetoname(), and tablezoomfromtable().

Referenced by tablekeystrokecallback(), tableverbkeystroke(), and tableverbtitleclick().

Here is the call graph for this function:

boolean tablesymbolchanged hdlhashtable  htable,
const bigstring  bsname,
hdlhashnode  hn,
boolean  flvalue
 

Definition at line 1299 of file tableexternal.c.

References hashlookupnode(), hnode, pophashtable(), pushhashtable(), tabledrivesymbolchange(), tablesymbolchangedvisit(), and tableupdatewindowtitles().

Referenced by ccsymbolchanged(), and tablewindowclosed().

Here is the call graph for this function:

static boolean tablesymbolchangedvisit hdlheadrecord  hnode,
ptrvoid  refcon
[static]
 

Definition at line 959 of file tableexternal.c.

References bigstring, browsergetrefcon(), browserinsertagain(), browserloadnode(), equalidentifiers(), fl, hashtablesymbolexists(), hnode, info, langexternalpleasesave(), opcollapse(), opgetheadstring(), opinternalchange(), opinvalnode(), and opsetactualheadstring().

Referenced by tablesymbolchanged().

Here is the call graph for this function:

static boolean tablesymbolchangedwindowvisit WindowPtr  w,
ptrsymbolchangedinfo  symbolinfo
[static]
 

Definition at line 1199 of file tableexternal.c.

References ccwindowgetdatabase(), nil, opvisiteverything(), outlinedata, shellpopglobals(), shellpushglobals(), shellsetwindowchanges(), shellwindowinfo, and tableformatsdata.

Referenced by tabledrivesymbolchange(), and tablezoomtoname().

Here is the call graph for this function:

boolean tablesymboldeleted hdlhashtable  htable,
const bigstring  bsname
 

Definition at line 1354 of file tableexternal.c.

References tabledrivesymbolchange(), and tablesymboldeletedvisit().

Referenced by ccsymboldeleted().

Here is the call graph for this function:

static boolean tablesymboldeletedvisit hdlheadrecord  hnode,
ptrvoid  refcon
[static]
 

Definition at line 1100 of file tableexternal.c.

References bigstring, browsergetrefcon(), equalidentifiers(), tyheadrecord::headlinkleft, hnode, info, opgetheadstring(), opinternalchange(), opinternaldeletenodewithupdate(), opinvalnode(), opnodeistable(), and opsubheadsexpanded().

Referenced by tablesymboldeleted().

Here is the call graph for this function:

boolean tablesymbolinserted hdlhashtable  htable,
const bigstring  bsname
 

Definition at line 1329 of file tableexternal.c.

References hashlookupnode(), hnode, pophashtable(), pushhashtable(), tabledrivesymbolchange(), tablesymbolinsertedvisit(), and tableupdatewindowtitles().

Referenced by ccsymbolinserted().

Here is the call graph for this function:

static boolean tablesymbolinsertedvisit hdlheadrecord  hnode,
ptrvoid  refcon
[static]
 

Definition at line 1025 of file tableexternal.c.

References assert, browserfileadded(), browsergetparentspec(), claygetfilespec(), claygetinmemorydirid(), copystring(), hnode, nil, opinternalchange(), opinternaldeletenodewithupdate(), opinvalnode(), and opsubheadsexpanded().

Referenced by tablesymbolinserted().

Here is the call graph for this function:

boolean tablesymbolsresorted hdlhashtable  htable  ) 
 

Definition at line 1368 of file tableexternal.c.

References nil, tabledrivesymbolchange(), and tablesymbolsresortedvisit().

Here is the call graph for this function:

static boolean tablesymbolsresortedvisit hdlheadrecord  hnode,
ptrvoid  refcon
[static]
 

Definition at line 1163 of file tableexternal.c.

References claygetfilespec(), claygetinmemorydirid(), hnode, opsubheadsexpanded(), and tableupdateoutlinesort().

Referenced by tablesymbolsresorted().

Here is the call graph for this function:

static boolean tablesymbolzoomvisit hdlheadrecord  hnode,
ptrvoid  refcon
[static]
 

Definition at line 911 of file tableexternal.c.

References bigstring, browsergetrefcon(), claygetfilespec(), claygetinmemorydirid(), equalidentifiers(), hnode, info, opexpand(), opgetheadstring(), opmoveto(), opsettextmode(), opsubheadsexpanded(), shellbringtofront(), and shellwindowinfo.

Referenced by tablezoomtoname().

Here is the call graph for this function:

static boolean tableupdateoutlinesort hdlheadrecord  hfirst,
hdlhashtable  htable
[static]
 

Definition at line 836 of file tableexternal.c.

References assert, bigstring, gethashkey, h, nil, opchasedown(), opdeposit(), opendinternalchange(), opfindhead(), opinvalscreenmap(), opnewscreenmap(), opstartinternalchange(), opunlink(), opvisibarcursor(), and up.

Referenced by tablesymbolsresortedvisit().

Here is the call graph for this function:

static boolean tableupdatewindowtitles hdlhashnode  hnode,
hdlhashtable  intable
[static]
 

Definition at line 794 of file tableexternal.c.

References bigstring, externalvaluetype, filewindowtable, gethashkey, hashtablevisit(), hnode, langexternalgetfullpath(), langexternalvaltotable(), langexternalwindowopen(), nil, shellsetwindowtitle(), and tyvaluerecord::valuetype.

Referenced by tablesymbolchanged(), and tablesymbolinserted().

Here is the call graph for this function:

boolean tablevaltotable tyvaluerecord  val,
hdlhashtable htable,
hdlhashnode  hnode
 

Definition at line 56 of file tableexternal.c.

References gettablevariable(), hnode, return(), and tableverbinmemory().

Here is the call graph for this function:

boolean tableverbdispose hdlexternalvariable  hvariable,
boolean  fldisk
 

Definition at line 159 of file tableexternal.c.

References HNoNode, internaltable, langexternaldisposevariable(), MEMTRACKER, nil, tabledisposevariable(), and tableverbinmemory().

Referenced by langexternaldisposevalue(), tableloadsystemtable(), and tablenewsubtable().

Here is the call graph for this function:

boolean tableverbgetdisplaystring hdlexternalvariable  h,
bigstring  bs
 

Definition at line 103 of file tableexternal.c.

References h, hashcountitems(), parsenumberstring(), tablesizestring, and tablestringlist.

Referenced by langexternalgetdisplaystring().

Here is the call graph for this function:

boolean tableverbgetsize hdlexternalvariable  hvariable,
long size
 

Definition at line 292 of file tableexternal.c.

References hashcountitems(), HNoNode, long, and tableverbinmemory().

Referenced by langexternalgetvalsize().

Here is the call graph for this function:

boolean tableverbgettypestring hdlexternalvariable  hvariable,
bigstring  bs
 

Definition at line 125 of file tableexternal.c.

References systemtabletypestring, tablegetstringlist(), tabletypestring, and xmltypestring.

Referenced by langexternaltypestring().

Here is the call graph for this function:

boolean tableverbinmemory hdlexternalvariable  hvariable,
hdlhashnode  hnode
 

Definition at line 205 of file tableexternal.c.

References BIGSTRING, bigstring, dbpopdatabase(), dbpushdatabase(), dbrefhandle(), fl, fllangerror, tyhashtable::flmayaffectdisplay, hnode, HNoNode, idniltableaddress, lang2paramerror(), langerrormessage(), langexternalfindvariable(), langexternalgetfullpath(), langtraperrors(), languntraperrors(), long, nil, nildbaddress, poptrailingchars(), shellinternalerror, tableloadingerror, and tableunpacktable().

Referenced by apptablevisit(), fullpathsearch(), gettablevalue(), tableedit(), tableloadsystemtable(), tablevaltotable(), tableverbdispose(), tableverbfind(), tableverbfindusedblocks(), tableverbgetsize(), tableverbgettimes(), tableverbmemorypack(), tableverbpack(), tableverbpacktotext(), tableverbsetdirty(), and tableverbsettimes().

Here is the call graph for this function:

boolean tableverbisdirty hdlexternalvariable  hvariable  ) 
 

Definition at line 308 of file tableexternal.c.

References tablecheckwindowrect().

Referenced by langexternalisdirty().

Here is the call graph for this function:

boolean tableverbnew hdlexternalvariable hvariable  ) 
 

Definition at line 197 of file tableexternal.c.

References tablenewtable().

Referenced by langexternalnewvalue().

Here is the call graph for this function:

boolean tableverbsetdirty hdlexternalvariable  hvariable,
boolean  fldirty
 

Definition at line 328 of file tableexternal.c.

References HNoNode, and tableverbinmemory().

Referenced by langexternalsetdirty().

Here is the call graph for this function:

boolean tableverbsetupdisplay hdlhashtable  htable,
hdlwindowinfo  hinfo
 

Definition at line 382 of file tableexternal.c.

References tyconfigrecord::defaultfont, tyconfigrecord::defaultsize, tyconfigrecord::defaultstyle, idscriptconfig, nil, r, runtimestacktable, shellgetconfig(), shellpopglobals(), shellpushglobals(), tablenewformatsrecord(), tableprepareoutline(), and tableresetformatsrects().

Referenced by ccwindowsetuptableview(), and tableedit().

Here is the call graph for this function:

boolean tablewindowclosed hdlexternalvariable  hvariable  ) 
 

Definition at line 516 of file tableexternal.c.

References bigstring, istablevariable(), nil, tablefindvariable(), and tablesymbolchanged().

Referenced by langexternalwindowclosed(), langexternalzoomfrom(), and tableverbclose().

Here is the call graph for this function:

boolean tablewindowopen hdlexternalvariable  hvariable,
hdlwindowinfo hinfo
 

Definition at line 78 of file tableexternal.c.

References nil, and shellfinddatawindow().

Referenced by langexternalvariablewindowopen(), tableedit(), and tableverbpack().

Here is the call graph for this function:

boolean tablezoomfromhead hdlheadrecord  hnode  ) 
 

Definition at line 686 of file tableexternal.c.

References bigstring, tykeystrokerecord::floptionkey, hnode, keyboardstatus, langexternalzoomfrom(), localtoglobalrect(), novaluetype, opgetnoderect(), shellclosewindow(), tableformatswindow, tablegetiteminfo(), tablepopupkinddialog(), and tyvaluerecord::valuetype.

Referenced by tabledive(), tableicon2click(), and tablemouseinline().

Here is the call graph for this function:

boolean tablezoomfromtable hdlhashtable  htable  ) 
 

Definition at line 662 of file tableexternal.c.

References bigstring, emptystring, tyhashtable::hashtablerefcon, langexternalgetfullpath(), nil, and tableedit().

Referenced by scriptlocalsbutton(), scriptzoomdotparams(), tablesurface(), tabletitlepopupselect(), and tablezoomtoname().

Here is the call graph for this function:

boolean tablezoomtoname hdlhashtable  htable,
bigstring  bsname
 

Definition at line 1374 of file tableexternal.c.

References tysymbolchangedinfo::bsname, tysymbolchangedinfo::flfound, tysymbolchangedinfo::flvalue, tysymbolchangedinfo::htable, opmoveto(), tysymbolchangedinfo::opvisitroutine, shellpopglobals(), shellpushfrontglobals(), tabledrivesymbolchange(), tablefinddatawindow(), tablemovetoname(), tablesymbolchangedwindowvisit(), tablesymbolzoomvisit(), and tablezoomfromtable().

Here is the call graph for this function:


Generated on Tue Jun 13 18:11:51 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6