00001 
00002 
00003 using namespace KJS;
00004 
00005 namespace KJS {
00006 
00007 static const char ScreenTableStrings[] = {
00008     "\0"
00009     "availHeight\0"
00010     "availWidth\0"
00011     "colorDepth\0"
00012     "pixelDepth\0"
00013     "availLeft\0"
00014     "availTop\0"
00015     "height\0"
00016     "width\0"
00017 };
00018 
00019 
00020 static const struct HashEntry ScreenTableEntries[] = {
00021    { 0, 0, 0, 0, -1 },
00022    { 24, Screen::ColorDepth, DontEnum|ReadOnly, 0, 9 },
00023    { 0, 0, 0, 0, -1 },
00024    { 65, Screen::Height, DontEnum|ReadOnly, 0, 7 },
00025    { 35, Screen::PixelDepth, DontEnum|ReadOnly, 0, -1 },
00026    { 72, Screen::Width, DontEnum|ReadOnly, 0, -1 },
00027    { 56, Screen::AvailTop, DontEnum|ReadOnly, 0, 8 },
00028    { 46, Screen::AvailLeft, DontEnum|ReadOnly, 0, -1 },
00029    { 1, Screen::AvailHeight, DontEnum|ReadOnly, 0, -1 },
00030    { 13, Screen::AvailWidth, DontEnum|ReadOnly, 0, -1 }
00031 };
00032 
00033 const struct HashTable ScreenTable = { 2, 10, ScreenTableEntries, 7, ScreenTableStrings};
00034 
00035 } 
00036 
00037 using namespace KJS;
00038 
00039 namespace KJS {
00040 
00041 static const char WindowTableStrings[] = {
00042     "\0"
00043     "removeEventListener\0"
00044     "offscreenBuffering\0"
00045     "clientInformation\0"
00046     "addEventListener\0"
00047     "captureEvents\0"
00048     "clearInterval\0"
00049     "defaultStatus\0"
00050     "defaultstatus\0"
00051     "releaseEvents\0"
00052     "DOMException\0"
00053     "clearTimeout\0"
00054     "innerHeight\0"
00055     "onmousedown\0"
00056     "onmousemove\0"
00057     "onmouseover\0"
00058     "outerHeight\0"
00059     "pageXOffset\0"
00060     "pageYOffset\0"
00061     "personalbar\0"
00062     "setInterval\0"
00063     "NodeFilter\0"
00064     "innerWidth\0"
00065     "ondblclick\0"
00066     "ondragdrop\0"
00067     "onkeypress\0"
00068     "onmouseout\0"
00069     "outerWidth\0"
00070     "scrollbars\0"
00071     "setTimeout\0"
00072     "konqueror\0"
00073     "navigator\0"
00074     "onkeydown\0"
00075     "onmouseup\0"
00076     "document\0"
00077     "external\0"
00078     "location\0"
00079     "navigate\0"
00080     "onchange\0"
00081     "onresize\0"
00082     "onselect\0"
00083     "onsubmit\0"
00084     "onunload\0"
00085     "resizeBy\0"
00086     "resizeTo\0"
00087     "scrollBy\0"
00088     "scrollTo\0"
00089     "CSSRule\0"
00090     "confirm\0"
00091     "history\0"
00092     "onabort\0"
00093     "onclick\0"
00094     "onerror\0"
00095     "onfocus\0"
00096     "onkeyup\0"
00097     "onreset\0"
00098     "screenX\0"
00099     "screenY\0"
00100     "sidebar\0"
00101     "Option\0"
00102     "closed\0"
00103     "crypto\0"
00104     "frames\0"
00105     "length\0"
00106     "moveBy\0"
00107     "moveTo\0"
00108     "onblur\0"
00109     "onload\0"
00110     "onmove\0"
00111     "opener\0"
00112     "parent\0"
00113     "prompt\0"
00114     "screen\0"
00115     "scroll\0"
00116     "window\0"
00117     "Event\0"
00118     "Image\0"
00119     "Range\0"
00120     "alert\0"
00121     "close\0"
00122     "event\0"
00123     "print\0"
00124     "Node\0"
00125     "name\0"
00126     "open\0"
00127     "self\0"
00128     "top\0"
00129 };
00130 
00131 
00132 static const struct HashEntry WindowTableEntries[] = {
00133    { 207, Window::Onmouseover, DontDelete, 0, -1 },
00134    { 301, Window::Ondblclick, DontDelete, 0, -1 },
00135    { 682, Window::Blur, DontDelete|Function, 0, -1 },
00136    { 551, Window::_History, DontDelete|ReadOnly, 0, -1 },
00137    { 0, 0, 0, 0, -1 },
00138    { 1, Window::RemoveEventListener, DontDelete|Function, 3, -1 },
00139    { 0, 0, 0, 0, -1 },
00140    { 0, 0, 0, 0, -1 },
00141    { 290, Window::InnerWidth, DontDelete|ReadOnly, 0, -1 },
00142    { 463, Window::Onresize, DontDelete, 0, -1 },
00143    { 171, Window::InnerHeight, DontDelete|ReadOnly, 0, -1 },
00144    { 481, Window::Onsubmit, DontDelete, 0, -1 },
00145    { 767, Window::Close, DontDelete|Function, 0, -1 },
00146    { 0, 0, 0, 0, -1 },
00147    { 388, Window::_Navigator, DontDelete|ReadOnly, 0, 99 },
00148    { 0, 0, 0, 0, -1 },
00149    { 0, 0, 0, 0, -1 },
00150    { 666, Window::MoveBy, DontDelete|Function, 2, -1 },
00151    { 0, 0, 0, 0, -1 },
00152    { 0, 0, 0, 0, -1 },
00153    { 0, 0, 0, 0, -1 },
00154    { 0, 0, 0, 0, -1 },
00155    { 585, Window::Focus, DontDelete|Function, 0, -1 },
00156    { 0, 0, 0, 0, -1 },
00157    { 773, Window::Event, DontDelete|ReadOnly, 0, 98 },
00158    { 638, Window::Closed, DontDelete|ReadOnly, 0, 87 },
00159    { 0, 0, 0, 0, -1 },
00160    { 345, Window::OuterWidth, DontDelete|ReadOnly, 0, -1 },
00161    { 312, Window::Ondragdrop, DontDelete, 0, 109 },
00162    { 652, Window::Frames, DontDelete|ReadOnly, 0, 89 },
00163    { 0, 0, 0, 0, -1 },
00164    { 722, Window::_Screen, DontDelete|ReadOnly, 0, 100 },
00165    { 535, Window::CSSRule, DontDelete, 0, 91 },
00166    { 659, Window::Length, DontDelete|ReadOnly, 0, 92 },
00167    { 623, Window::SideBar, DontDelete|ReadOnly, 0, -1 },
00168    { 356, Window::Scrollbars, DontDelete|ReadOnly, 0, 102 },
00169    { 145, Window::DOMException, DontDelete, 0, -1 },
00170    { 0, 0, 0, 0, -1 },
00171    { 267, Window::SetInterval, DontDelete|Function, 2, -1 },
00172    { 0, 0, 0, 0, -1 },
00173    { 701, Window::Opener, DontDelete|ReadOnly, 0, -1 },
00174    { 378, Window::_Konqueror, DontDelete|ReadOnly, 0, 90 },
00175    { 785, Window::Node, DontDelete, 0, -1 },
00176    { 567, Window::Onclick, DontDelete, 0, -1 },
00177    { 158, Window::ClearTimeout, DontDelete|Function, 1, -1 },
00178    { 0, 0, 0, 0, -1 },
00179    { 255, Window::Personalbar, DontDelete|ReadOnly, 0, 93 },
00180    { 279, Window::NodeFilter, DontDelete, 0, -1 },
00181    { 21, Window::OffscreenBuffering, DontDelete|ReadOnly, 0, 97 },
00182    { 680, Window::Onblur, DontDelete, 0, -1 },
00183    { 0, 0, 0, 0, -1 },
00184    { 89, Window::ClearInterval, DontDelete|Function, 1, 113 },
00185    { 454, Window::Onchange, DontDelete, 0, -1 },
00186    { 0, 0, 0, 0, -1 },
00187    { 543, Window::Confirm, DontDelete|Function, 1, -1 },
00188    { 736, Window::_Window, DontDelete|ReadOnly, 0, -1 },
00189    { 0, 0, 0, 0, -1 },
00190    { 40, Window::ClientInformation, DontDelete|ReadOnly, 0, -1 },
00191    { 755, Window::Range, DontDelete, 0, -1 },
00192    { 517, Window::ScrollBy, DontDelete|Function, 2, -1 },
00193    { 0, 0, 0, 0, -1 },
00194    { 131, Window::ReleaseEvents, DontDelete|Function, 0, 104 },
00195    { 499, Window::ResizeBy, DontDelete|Function, 2, -1 },
00196    { 323, Window::Onkeypress, DontDelete, 0, -1 },
00197    { 645, Window::Crypto, DontDelete|ReadOnly, 0, 103 },
00198    { 715, Window::Prompt, DontDelete|Function, 2, -1 },
00199    { 0, 0, 0, 0, -1 },
00200    { 124, Window::Status, DontDelete, 0, 94 },
00201    { 0, 0, 0, 0, -1 },
00202    { 790, Window::Name, DontDelete, 0, 106 },
00203    { 508, Window::ResizeTo, DontDelete|Function, 2, -1 },
00204    { 0, 0, 0, 0, -1 },
00205    { 231, Window::PageXOffset, DontDelete|ReadOnly, 0, 114 },
00206    { 243, Window::PageYOffset, DontDelete|ReadOnly, 0, -1 },
00207    { 436, Window::_Location, DontDelete, 0, 111 },
00208    { 0, 0, 0, 0, -1 },
00209    { 0, 0, 0, 0, -1 },
00210    { 0, 0, 0, 0, -1 },
00211    { 800, Window::Self, DontDelete|ReadOnly, 0, 96 },
00212    { 743, Window::EventCtor, DontDelete, 0, 105 },
00213    { 103, Window::DefaultStatus, DontDelete, 0, 88 },
00214    { 490, Window::Onunload, DontDelete, 0, -1 },
00215    { 195, Window::Onmousemove, DontDelete, 0, -1 },
00216    { 58, Window::AddEventListener, DontDelete|Function, 3, 108 },
00217    { 427, Window::_External, DontDelete|ReadOnly, 0, -1 },
00218    { 0, 0, 0, 0, -1 },
00219    { 795, Window::Open, DontDelete|Function, 3, -1 },
00220    { 117, Window::DefaultStatus, DontDelete, 0, 95 },
00221    { 418, Window::Document, DontDelete|ReadOnly, 0, 101 },
00222    { 219, Window::OuterHeight, DontDelete|ReadOnly, 0, -1 },
00223    { 708, Window::Parent, DontDelete|ReadOnly, 0, -1 },
00224    { 607, Window::ScreenX, DontDelete|ReadOnly, 0, -1 },
00225    { 615, Window::ScreenY, DontDelete|ReadOnly, 0, 107 },
00226    { 729, Window::Scroll, DontDelete|Function, 2, 112 },
00227    { 526, Window::ScrollTo, DontDelete|Function, 2, -1 },
00228    { 673, Window::MoveTo, DontDelete|Function, 2, -1 },
00229    { 805, Window::Top, DontDelete|ReadOnly, 0, 115 },
00230    { 749, Window::Image, DontDelete|ReadOnly, 0, -1 },
00231    { 631, Window::Option, DontDelete|ReadOnly, 0, -1 },
00232    { 761, Window::Alert, DontDelete|Function, 1, -1 },
00233    { 367, Window::SetTimeout, DontDelete|Function, 2, -1 },
00234    { 75, Window::CaptureEvents, DontDelete|Function, 0, -1 },
00235    { 779, Window::Print, DontDelete|Function, 0, -1 },
00236    { 445, Window::Navigate, DontDelete|Function, 1, -1 },
00237    { 559, Window::Onabort, DontDelete, 0, -1 },
00238    { 575, Window::Onerror, DontDelete, 0, -1 },
00239    { 583, Window::Onfocus, DontDelete, 0, -1 },
00240    { 398, Window::Onkeydown, DontDelete, 0, -1 },
00241    { 591, Window::Onkeyup, DontDelete, 0, 110 },
00242    { 687, Window::Onload, DontDelete, 0, -1 },
00243    { 183, Window::Onmousedown, DontDelete, 0, -1 },
00244    { 334, Window::Onmouseout, DontDelete, 0, -1 },
00245    { 408, Window::Onmouseup, DontDelete, 0, -1 },
00246    { 694, Window::Onmove, DontDelete, 0, -1 },
00247    { 599, Window::Onreset, DontDelete, 0, -1 },
00248    { 472, Window::Onselect, DontDelete, 0, -1 }
00249 };
00250 
00251 const struct HashTable WindowTable = { 2, 116, WindowTableEntries, 87, WindowTableStrings};
00252 
00253 } 
00254 
00255 using namespace KJS;
00256 
00257 namespace KJS {
00258 
00259 static const char LocationTableStrings[] = {
00260     "\0"
00261     "hostname\0"
00262     "pathname\0"
00263     "protocol\0"
00264     "toString\0"
00265     "replace\0"
00266     "[[==]]\0"
00267     "assign\0"
00268     "reload\0"
00269     "search\0"
00270     "hash\0"
00271     "host\0"
00272     "href\0"
00273     "port\0"
00274 };
00275 
00276 
00277 static const struct HashEntry LocationTableEntries[] = {
00278    { 28, Location::ToString, DontDelete|Function, 0, -1 },
00279    { 0, 0, 0, 0, -1 },
00280    { 73, Location::Hash, DontDelete, 0, 11 },
00281    { 83, Location::Href, DontDelete, 0, 13 },
00282    { 59, Location::Reload, DontDelete|Function, 0, -1 },
00283    { 1, Location::Hostname, DontDelete, 0, -1 },
00284    { 78, Location::Host, DontDelete, 0, 14 },
00285    { 52, Location::Assign, DontDelete|Function, 1, -1 },
00286    { 0, 0, 0, 0, -1 },
00287    { 0, 0, 0, 0, -1 },
00288    { 10, Location::Pathname, DontDelete, 0, -1 },
00289    { 88, Location::Port, DontDelete, 0, 12 },
00290    { 19, Location::Protocol, DontDelete, 0, -1 },
00291    { 66, Location::Search, DontDelete, 0, -1 },
00292    { 45, Location::EqualEqual, DontDelete|ReadOnly, 0, 15 },
00293    { 37, Location::Replace, DontDelete|Function, 1, -1 }
00294 };
00295 
00296 const struct HashTable LocationTable = { 2, 16, LocationTableEntries, 11, LocationTableStrings};
00297 
00298 } 
00299 
00300 using namespace KJS;
00301 
00302 namespace KJS {
00303 
00304 static const char ExternalTableStrings[] = {
00305     "\0"
00306     "addFavorite\0"
00307 };
00308 
00309 
00310 static const struct HashEntry ExternalTableEntries[] = {
00311    { 0, 0, 0, 0, -1 },
00312    { 1, External::AddFavorite, DontDelete|Function, 1, -1 },
00313    { 0, 0, 0, 0, -1 },
00314    { 0, 0, 0, 0, -1 }
00315 };
00316 
00317 const struct HashTable ExternalTable = { 2, 4, ExternalTableEntries, 4, ExternalTableStrings};
00318 
00319 } 
00320 
00321 using namespace KJS;
00322 
00323 namespace KJS {
00324 
00325 static const char HistoryTableStrings[] = {
00326     "\0"
00327     "forward\0"
00328     "length\0"
00329     "back\0"
00330     "go\0"
00331 };
00332 
00333 
00334 static const struct HashEntry HistoryTableEntries[] = {
00335    { 0, 0, 0, 0, -1 },
00336    { 16, History::Back, DontDelete|Function, 0, 4 },
00337    { 9, History::Length, DontDelete|ReadOnly, 0, 5 },
00338    { 0, 0, 0, 0, -1 },
00339    { 1, History::Forward, DontDelete|Function, 0, -1 },
00340    { 21, History::Go, DontDelete|Function, 1, -1 }
00341 };
00342 
00343 const struct HashTable HistoryTable = { 2, 6, HistoryTableEntries, 4, HistoryTableStrings};
00344 
00345 }