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 "XMLHttpRequest\0"
00048 "captureEvents\0"
00049 "clearInterval\0"
00050 "defaultStatus\0"
00051 "defaultstatus\0"
00052 "releaseEvents\0"
00053 "DOMException\0"
00054 "clearTimeout\0"
00055 "innerHeight\0"
00056 "onmousedown\0"
00057 "onmousemove\0"
00058 "onmouseover\0"
00059 "outerHeight\0"
00060 "pageXOffset\0"
00061 "pageYOffset\0"
00062 "personalbar\0"
00063 "setInterval\0"
00064 "NodeFilter\0"
00065 "innerWidth\0"
00066 "ondblclick\0"
00067 "ondragdrop\0"
00068 "onkeypress\0"
00069 "onmouseout\0"
00070 "outerWidth\0"
00071 "scrollbars\0"
00072 "setTimeout\0"
00073 "konqueror\0"
00074 "navigator\0"
00075 "onkeydown\0"
00076 "onmouseup\0"
00077 "document\0"
00078 "external\0"
00079 "location\0"
00080 "navigate\0"
00081 "onchange\0"
00082 "onresize\0"
00083 "onselect\0"
00084 "onsubmit\0"
00085 "onunload\0"
00086 "resizeBy\0"
00087 "resizeTo\0"
00088 "scrollBy\0"
00089 "scrollTo\0"
00090 "CSSRule\0"
00091 "confirm\0"
00092 "history\0"
00093 "onabort\0"
00094 "onclick\0"
00095 "onerror\0"
00096 "onfocus\0"
00097 "onkeyup\0"
00098 "onreset\0"
00099 "screenX\0"
00100 "screenY\0"
00101 "sidebar\0"
00102 "Option\0"
00103 "closed\0"
00104 "crypto\0"
00105 "frames\0"
00106 "length\0"
00107 "moveBy\0"
00108 "moveTo\0"
00109 "onblur\0"
00110 "onload\0"
00111 "onmove\0"
00112 "opener\0"
00113 "parent\0"
00114 "prompt\0"
00115 "screen\0"
00116 "scroll\0"
00117 "window\0"
00118 "Event\0"
00119 "Image\0"
00120 "Range\0"
00121 "alert\0"
00122 "close\0"
00123 "event\0"
00124 "print\0"
00125 "Node\0"
00126 "name\0"
00127 "open\0"
00128 "self\0"
00129 "top\0"
00130 };
00131
00132
00133 static const struct HashEntry WindowTableEntries[] = {
00134 { 222, Window::Onmouseover, DontDelete, 0, -1 },
00135 { 316, Window::Ondblclick, DontDelete, 0, -1 },
00136 { 697, Window::Blur, DontDelete|Function, 0, -1 },
00137 { 566, Window::_History, DontDelete|ReadOnly, 0, -1 },
00138 { 0, 0, 0, 0, -1 },
00139 { 1, Window::RemoveEventListener, DontDelete|Function, 3, -1 },
00140 { 0, 0, 0, 0, -1 },
00141 { 0, 0, 0, 0, -1 },
00142 { 305, Window::InnerWidth, DontDelete|ReadOnly, 0, -1 },
00143 { 478, Window::Onresize, DontDelete, 0, -1 },
00144 { 186, Window::InnerHeight, DontDelete|ReadOnly, 0, 99 },
00145 { 496, Window::Onsubmit, DontDelete, 0, -1 },
00146 { 782, Window::Close, DontDelete|Function, 0, -1 },
00147 { 0, 0, 0, 0, -1 },
00148 { 403, Window::_Navigator, DontDelete|ReadOnly, 0, 100 },
00149 { 0, 0, 0, 0, -1 },
00150 { 0, 0, 0, 0, -1 },
00151 { 681, Window::MoveBy, DontDelete|Function, 2, -1 },
00152 { 0, 0, 0, 0, -1 },
00153 { 0, 0, 0, 0, -1 },
00154 { 0, 0, 0, 0, -1 },
00155 { 0, 0, 0, 0, -1 },
00156 { 600, Window::Focus, DontDelete|Function, 0, -1 },
00157 { 0, 0, 0, 0, -1 },
00158 { 788, Window::Event, DontDelete|ReadOnly, 0, 98 },
00159 { 653, Window::Closed, DontDelete|ReadOnly, 0, 87 },
00160 { 0, 0, 0, 0, -1 },
00161 { 360, Window::OuterWidth, DontDelete|ReadOnly, 0, -1 },
00162 { 327, Window::Ondragdrop, DontDelete, 0, 110 },
00163 { 667, Window::Frames, DontDelete|ReadOnly, 0, 89 },
00164 { 0, 0, 0, 0, -1 },
00165 { 737, Window::_Screen, DontDelete|ReadOnly, 0, 101 },
00166 { 550, Window::CSSRule, DontDelete, 0, 91 },
00167 { 674, Window::Length, DontDelete|ReadOnly, 0, 92 },
00168 { 638, Window::SideBar, DontDelete|ReadOnly, 0, -1 },
00169 { 371, Window::Scrollbars, DontDelete|ReadOnly, 0, 103 },
00170 { 160, Window::DOMException, DontDelete, 0, -1 },
00171 { 0, 0, 0, 0, -1 },
00172 { 282, Window::SetInterval, DontDelete|Function, 2, -1 },
00173 { 0, 0, 0, 0, -1 },
00174 { 716, Window::Opener, DontDelete|ReadOnly, 0, -1 },
00175 { 393, Window::_Konqueror, DontDelete|ReadOnly, 0, 90 },
00176 { 800, Window::Node, DontDelete, 0, -1 },
00177 { 582, Window::Onclick, DontDelete, 0, -1 },
00178 { 173, Window::ClearTimeout, DontDelete|Function, 1, -1 },
00179 { 0, 0, 0, 0, -1 },
00180 { 270, Window::Personalbar, DontDelete|ReadOnly, 0, 93 },
00181 { 294, Window::NodeFilter, DontDelete, 0, -1 },
00182 { 21, Window::OffscreenBuffering, DontDelete|ReadOnly, 0, 97 },
00183 { 695, Window::Onblur, DontDelete, 0, -1 },
00184 { 0, 0, 0, 0, -1 },
00185 { 104, Window::ClearInterval, DontDelete|Function, 1, 114 },
00186 { 469, Window::Onchange, DontDelete, 0, -1 },
00187 { 0, 0, 0, 0, -1 },
00188 { 558, Window::Confirm, DontDelete|Function, 1, -1 },
00189 { 751, Window::_Window, DontDelete|ReadOnly, 0, -1 },
00190 { 0, 0, 0, 0, -1 },
00191 { 40, Window::ClientInformation, DontDelete|ReadOnly, 0, -1 },
00192 { 770, Window::Range, DontDelete, 0, -1 },
00193 { 532, Window::ScrollBy, DontDelete|Function, 2, -1 },
00194 { 0, 0, 0, 0, -1 },
00195 { 146, Window::ReleaseEvents, DontDelete|Function, 0, 105 },
00196 { 514, Window::ResizeBy, DontDelete|Function, 2, -1 },
00197 { 338, Window::Onkeypress, DontDelete, 0, -1 },
00198 { 660, Window::Crypto, DontDelete|ReadOnly, 0, 104 },
00199 { 730, Window::Prompt, DontDelete|Function, 2, -1 },
00200 { 0, 0, 0, 0, -1 },
00201 { 139, Window::Status, DontDelete, 0, 94 },
00202 { 0, 0, 0, 0, -1 },
00203 { 805, Window::Name, DontDelete, 0, 107 },
00204 { 523, Window::ResizeTo, DontDelete|Function, 2, -1 },
00205 { 0, 0, 0, 0, -1 },
00206 { 246, Window::PageXOffset, DontDelete|ReadOnly, 0, 115 },
00207 { 258, Window::PageYOffset, DontDelete|ReadOnly, 0, -1 },
00208 { 451, Window::_Location, DontDelete, 0, 112 },
00209 { 0, 0, 0, 0, -1 },
00210 { 0, 0, 0, 0, -1 },
00211 { 0, 0, 0, 0, -1 },
00212 { 815, Window::Self, DontDelete|ReadOnly, 0, 96 },
00213 { 758, Window::EventCtor, DontDelete, 0, 106 },
00214 { 118, Window::DefaultStatus, DontDelete, 0, 88 },
00215 { 505, Window::Onunload, DontDelete, 0, -1 },
00216 { 210, Window::Onmousemove, DontDelete, 0, -1 },
00217 { 58, Window::AddEventListener, DontDelete|Function, 3, 109 },
00218 { 442, Window::_External, DontDelete|ReadOnly, 0, -1 },
00219 { 0, 0, 0, 0, -1 },
00220 { 810, Window::Open, DontDelete|Function, 3, -1 },
00221 { 132, Window::DefaultStatus, DontDelete, 0, 95 },
00222 { 433, Window::Document, DontDelete|ReadOnly, 0, 102 },
00223 { 234, Window::OuterHeight, DontDelete|ReadOnly, 0, -1 },
00224 { 723, Window::Parent, DontDelete|ReadOnly, 0, -1 },
00225 { 622, Window::ScreenX, DontDelete|ReadOnly, 0, -1 },
00226 { 630, Window::ScreenY, DontDelete|ReadOnly, 0, 108 },
00227 { 744, Window::Scroll, DontDelete|Function, 2, 113 },
00228 { 541, Window::ScrollTo, DontDelete|Function, 2, -1 },
00229 { 688, Window::MoveTo, DontDelete|Function, 2, -1 },
00230 { 820, Window::Top, DontDelete|ReadOnly, 0, 116 },
00231 { 764, Window::Image, DontDelete|ReadOnly, 0, -1 },
00232 { 646, Window::Option, DontDelete|ReadOnly, 0, -1 },
00233 { 75, Window::XMLHttpRequest, DontDelete|ReadOnly, 0, -1 },
00234 { 776, Window::Alert, DontDelete|Function, 1, -1 },
00235 { 382, Window::SetTimeout, DontDelete|Function, 2, -1 },
00236 { 90, Window::CaptureEvents, DontDelete|Function, 0, -1 },
00237 { 794, Window::Print, DontDelete|Function, 0, -1 },
00238 { 460, Window::Navigate, DontDelete|Function, 1, -1 },
00239 { 574, Window::Onabort, DontDelete, 0, -1 },
00240 { 590, Window::Onerror, DontDelete, 0, -1 },
00241 { 598, Window::Onfocus, DontDelete, 0, -1 },
00242 { 413, Window::Onkeydown, DontDelete, 0, -1 },
00243 { 606, Window::Onkeyup, DontDelete, 0, 111 },
00244 { 702, Window::Onload, DontDelete, 0, -1 },
00245 { 198, Window::Onmousedown, DontDelete, 0, -1 },
00246 { 349, Window::Onmouseout, DontDelete, 0, -1 },
00247 { 423, Window::Onmouseup, DontDelete, 0, -1 },
00248 { 709, Window::Onmove, DontDelete, 0, -1 },
00249 { 614, Window::Onreset, DontDelete, 0, -1 },
00250 { 487, Window::Onselect, DontDelete, 0, -1 }
00251 };
00252
00253 const struct HashTable WindowTable = { 2, 117, WindowTableEntries, 87, WindowTableStrings};
00254
00255 }
00256
00257 using namespace KJS;
00258
00259 namespace KJS {
00260
00261 static const char LocationTableStrings[] = {
00262 "\0"
00263 "hostname\0"
00264 "pathname\0"
00265 "protocol\0"
00266 "toString\0"
00267 "replace\0"
00268 "[[==]]\0"
00269 "assign\0"
00270 "reload\0"
00271 "search\0"
00272 "hash\0"
00273 "host\0"
00274 "href\0"
00275 "port\0"
00276 };
00277
00278
00279 static const struct HashEntry LocationTableEntries[] = {
00280 { 28, Location::ToString, DontDelete|Function, 0, -1 },
00281 { 0, 0, 0, 0, -1 },
00282 { 73, Location::Hash, DontDelete, 0, 11 },
00283 { 83, Location::Href, DontDelete, 0, 13 },
00284 { 59, Location::Reload, DontDelete|Function, 0, -1 },
00285 { 1, Location::Hostname, DontDelete, 0, -1 },
00286 { 78, Location::Host, DontDelete, 0, 14 },
00287 { 52, Location::Assign, DontDelete|Function, 1, -1 },
00288 { 0, 0, 0, 0, -1 },
00289 { 0, 0, 0, 0, -1 },
00290 { 10, Location::Pathname, DontDelete, 0, -1 },
00291 { 88, Location::Port, DontDelete, 0, 12 },
00292 { 19, Location::Protocol, DontDelete, 0, -1 },
00293 { 66, Location::Search, DontDelete, 0, -1 },
00294 { 45, Location::EqualEqual, DontDelete|ReadOnly, 0, 15 },
00295 { 37, Location::Replace, DontDelete|Function, 1, -1 }
00296 };
00297
00298 const struct HashTable LocationTable = { 2, 16, LocationTableEntries, 11, LocationTableStrings};
00299
00300 }
00301
00302 using namespace KJS;
00303
00304 namespace KJS {
00305
00306 static const char ExternalTableStrings[] = {
00307 "\0"
00308 "addFavorite\0"
00309 };
00310
00311
00312 static const struct HashEntry ExternalTableEntries[] = {
00313 { 0, 0, 0, 0, -1 },
00314 { 1, External::AddFavorite, DontDelete|Function, 1, -1 },
00315 { 0, 0, 0, 0, -1 },
00316 { 0, 0, 0, 0, -1 }
00317 };
00318
00319 const struct HashTable ExternalTable = { 2, 4, ExternalTableEntries, 4, ExternalTableStrings};
00320
00321 }
00322
00323 using namespace KJS;
00324
00325 namespace KJS {
00326
00327 static const char HistoryTableStrings[] = {
00328 "\0"
00329 "forward\0"
00330 "length\0"
00331 "back\0"
00332 "go\0"
00333 };
00334
00335
00336 static const struct HashEntry HistoryTableEntries[] = {
00337 { 0, 0, 0, 0, -1 },
00338 { 16, History::Back, DontDelete|Function, 0, 4 },
00339 { 9, History::Length, DontDelete|ReadOnly, 0, 5 },
00340 { 0, 0, 0, 0, -1 },
00341 { 1, History::Forward, DontDelete|Function, 0, -1 },
00342 { 21, History::Go, DontDelete|Function, 1, -1 }
00343 };
00344
00345 const struct HashTable HistoryTable = { 2, 6, HistoryTableEntries, 4, HistoryTableStrings};
00346
00347 }